/* ===== MEN Power V2 - Global Styles ===== */
@font-face {
    font-family: 'Montserrat';
    src: url('/men-power-v2/public/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/men-power-v2/public/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/men-power-v2/public/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
}

:root {
    --red: #E30613;
    --red-dark: #b8050f;
    --red-glow: rgba(227, 6, 19, 0.4);
    --dark: #0a0a0a;
    --dark-2: #141414;
    --dark-3: #1a1a1a;
    --dark-4: #222;
    --white: #fff;
    --gray: #aaa;
    --font: 'Montserrat', sans-serif;
    --radius: 12px;
    --transition: .3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--dark) url('/men-power-v2/public/img/background_page.png') no-repeat center center fixed;
    background-size: cover;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.fw-bold {
    font-weight: 700;
}

.mt-1 {
    margin-top: 8px;
}

/* ===== HEADER ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #ffffff 0%, #ffe6e6 15%, #ff6666 40%, var(--red) 70%, var(--red) 100%);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.main-header.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    height: 80px;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.phone-link:hover {
    color: var(--red);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.social-links a:hover {
    border-color: var(--red);
    color: var(--red);
    transform: scale(1.1);
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
    font-weight: 800;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--dark-2);
    z-index: 999;
    flex-direction: column;
}

.mobile-nav a {
    padding: 16px 40px;
    border-bottom: 1px solid var(--dark-4);
    font-weight: 600;
    color: var(--white);
}

.mobile-nav.open {
    display: flex;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    position: relative;
}

.hero-slider .swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 100%, transparent 100%, transparent 100%, transparent 100%);
}

.hero-slide .slide-content {
    position: relative;
    z-index: 2;
    padding: 0 80px;
    max-width: 700px;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
}

.hero-slide h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 40px var(--red-glow);
}

.hero-slide .btn-hero {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(to right, #ffffff, #999999);
    color: var(--dark);
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    transition: var(--transition);
}

.hero-slide .btn-hero:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--red-glow);
}

.swiper-pagination-bullet {
    background: var(--white) !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--red) !important;
    opacity: 1;
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: #555;
    max-width: 600px;
}

.section-dark {
    background: var(--dark-2);
}

.section-red {
    background: var(--red);
}

/* ===== WHO WE ARE (Home) ===== */
.who-we-are-section {
    padding-top: 100px;
    padding-bottom: 40px;
}

.who-we-are-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.who-we-are-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.who-we-are-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red);
    background: rgba(227, 6, 19, 0.08);
    padding: 8px 18px;
    border-radius: 50px;
    width: fit-content;
    border: 1px solid rgba(227, 6, 19, 0.15);
}

.who-we-are-section .section-title {
    font-size: 48px;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 0;
}

.who-we-are-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray);
    max-width: 520px;
}

.btn-who-we-are {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: transparent;
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    border: 2px solid var(--red);
    border-radius: 50px;
    transition: var(--transition);
    width: fit-content;
    margin-top: 8px;
}

.btn-who-we-are:hover {
    background: var(--red);
    color: var(--white);
    transform: translateX(6px);
    box-shadow: 0 8px 30px var(--red-glow);
}

.btn-who-we-are i {
    transition: transform 0.3s ease;
}

.btn-who-we-are:hover i {
    transform: translateX(4px);
}

.who-we-are-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.who-we-are-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.who-we-are-image:hover img {
    transform: scale(1.05);
}

.who-we-are-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.15) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.who-we-are-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.who-we-are-badge img {
    height: 40px;
    width: auto;
}

.who-we-are-badge span {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.product-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #e0e0e0;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--red);
    box-shadow: 0 20px 60px rgba(227, 6, 19, 0.15);
}

.product-card .card-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
}

.product-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .card-image img {
    transform: scale(1.08);
}

.product-card .card-body {
    padding: 20px;
}

.product-card .card-category {
    font-size: 12px;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.product-card .card-title {
    font-size: 16px;
    font-weight: 700;
    margin-top: 6px;
    color: #1a1a1a;
}

.product-card .card-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--red);
    margin-top: 8px;
}

/* ===== CATEGORY PILLS CONTAINER ===== */
.category-pills-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.category-scroll-btn {
    background: var(--white);
    border: 1px solid #d0d0d0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    z-index: 2;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.category-scroll-btn:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.category-scroll-btn.left {
    margin-right: 12px;
}

.category-scroll-btn.right {
    margin-left: 12px;
}

/* ===== CATEGORY PILLS ===== */
.category-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-grow: 1;
}

.category-pills::-webkit-scrollbar {
    display: none;
}

.category-pill {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #d0d0d0;
    color: #333;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.category-pill:hover,
.category-pill.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* ===== PRODUCT DETAIL (Tokopedia style) ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-top: 100px;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 16px;
    border: 1px solid #e0e0e0;
}

.gallery-main img,
.gallery-main video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #d0d0d0;
    transition: var(--transition);
    background: #f5f5f5;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--red);
}

.gallery-thumb img,
.gallery-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.product-info .price {
    font-size: 32px;
    font-weight: 900;
    color: var(--red);
    margin-bottom: 20px;
}

.product-info .description {
    color: #444;
    line-height: 1.8;
    margin-bottom: 24px;
}

.product-info .specs {
    margin-top: 16px;
}

.product-info .specs h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.marketplace-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-marketplace {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-tokopedia {
    background: #42b549;
    color: var(--white);
}

.btn-shopee {
    background: #ee4d2d;
    color: var(--white);
}

.btn-marketplace:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ===== GALLERY ===== */
.gallery-type-tabs {
    display: flex;
    gap: 8px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.gallery-type-tab {
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid #d0d0d0;
    color: #555;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.gallery-type-tab:hover {
    background: rgba(227, 6, 19, 0.08);
    border-color: var(--red);
    color: var(--red);
}

.gallery-type-tab.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.gallery-cat-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: var(--dark-3);
    cursor: pointer;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay i {
    font-size: 36px;
    color: var(--white);
}

.video-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--red);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ===== PROFILE PAGE ===== */
.profile-hero {
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.profile-hero h1 {
    position: relative;
    z-index: 2;
    font-size: 56px;
    font-weight: 900;
    color: var(--white);
}

.profile-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
}

.profile-content h2 {
    font-size: 32px;
    color: var(--red);
    margin-bottom: 20px;
}

.profile-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
}

/* ===== ABOUT PAGE (fullscreen) ===== */
.about-page {
    min-height: 100vh;
}

.about-hero {
    height: 45vh;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    padding-top: 100px;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.8));
}

.about-hero .badge {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-hero .badge img {
    height: 50px;
}

.about-hero .badge span {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.about-section {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-grid h2 {
    font-size: 48px;
    font-weight: 900;
    color: var(--red);
}

.about-grid p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 16px;
    font-weight: normal;
}

.about-image-section {
    width: 100%;
    min-height: 50vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.about-image-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

.partners-section {
    padding: 60px 40px;
    background: var(--dark-2);
}

.partners-section h2 {
    text-align: center;
    font-size: 32px;
    color: var(--red);
    margin-bottom: 40px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-card {
    width: 150px;
    text-align: center;
}

.partner-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 8px;
    border-radius: 8px;
    background: var(--white);
    padding: 10px;
}

.partner-card span {
    font-size: 13px;
    font-weight: 600;
}

.cs-section {
    padding: 60px 40px;
    background-image: url('../img/background_cs.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cs-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.cs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cs-card {
    background: var(--red);
    color: var(--white);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.cs-card:hover {
    filter: brightness(1.1);
    transform: translateY(-4px);
}

.cs-card .city {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cs-card .phone {
    font-size: 16px;
    margin-top: 10px;
}

.cs-card .phone a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    color: var(--dark);
    font-weight: 700;
    font-size: 14px;
    border-radius: 50px;
    transition: var(--transition);
    text-decoration: none;
}

.cs-card .phone a:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cs-card .address {
    font-size: 13px;
    color: var(--white);
    margin-top: 10px;
    line-height: 1.5;
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.main-footer {
    background-image: url('../img/background_footer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
}

.main-footer .footer-cta {
    text-align: center;
    padding: 60px 40px;
}

.footer-cta h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-cta p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    color: var(--dark);
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    transition: var(--transition);
}

.cta-phone .phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--dark);
    color: var(--white);
    border-radius: 50%;
    font-size: 16px;
}

.cta-phone:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    padding: 60px 40px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--white);
    font-size: 13px;
    color: var(--white);
}

/* ===== PAGINATION ===== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.pagination {
    display: flex;
    gap: 6px;
    list-style: none;
    align-items: center;
}

.pagination li a,
.pagination li span {
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid #d0d0d0;
    min-width: 36px;
    min-height: 36px;
    line-height: 1;
}

.pagination li a svg,
.pagination li span svg {
    display: block;
    width: 16px;
    height: 16px;
}

.pagination li.active span {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.pagination li a:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.pagination li.disabled span {
    opacity: 0.4;
    cursor: not-allowed;
    color: #999;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img,
.lightbox video {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: var(--white);
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10000;
}

/* ===== CHAT WIDGET ===== */
.chat-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9990;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red) 0%, #ff4444 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(227, 6, 19, 0.45);
    transition: transform .3s ease, box-shadow .3s ease;
    animation: fabPulse 2s infinite;
}

.chat-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(227, 6, 19, 0.6);
}

.chat-fab.hidden {
    transform: scale(0);
    pointer-events: none;
}

@keyframes fabPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(227, 6, 19, 0.45); }
    50% { box-shadow: 0 6px 36px rgba(227, 6, 19, 0.7); }
}

.chat-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9991;
    width: 380px;
    max-height: 600px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0) translateY(40px);
    transform-origin: bottom right;
    opacity: 0;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
    pointer-events: none;
}

.chat-widget.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--red) 0%, #c00510 100%);
    color: var(--white);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.chat-header h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.chat-status {
    font-size: 11px;
    opacity: .85;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4cff4c;
    display: inline-block;
    animation: dotBlink 1.5s infinite;
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

.chat-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-lang-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-family: var(--font);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    letter-spacing: .5px;
}

.chat-lang-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-lang-toggle i {
    font-size: 12px;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 480px;
    background: #f7f7f8;
}

.chat-body::-webkit-scrollbar {
    width: 4px;
}

.chat-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.6;
    max-width: 88%;
    animation: bubbleIn .3s ease;
    word-break: break-word;
}

@keyframes bubbleIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-bubble.bot {
    background: var(--white);
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.chat-bubble.user {
    background: linear-gradient(135deg, var(--red), #ff4444);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-step {
    display: none;
}

.chat-step.active {
    display: block;
    animation: bubbleIn .3s ease;
}

.chat-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.chat-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.chat-field label i {
    color: var(--red);
    margin-right: 4px;
}

.chat-field input,
.chat-field select,
.chat-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 13px;
    color: #333;
    background: #fafafa;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    resize: none;
}

.chat-field input:focus,
.chat-field select:focus,
.chat-field textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
    background: #fff;
}

.chat-submit-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--red), #ff4444);
    color: var(--white);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .2s, box-shadow .2s;
}

.chat-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.35);
}

.chat-submit-btn.small {
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 10px;
    margin-top: 8px;
}

.chat-options-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-option-btn {
    padding: 10px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    background: var(--white);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    text-align: left;
    transition: all .2s;
}

.chat-option-btn:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(227, 6, 19, 0.04);
    transform: translateX(4px);
}

.chat-qa-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 13px;
    outline: none;
    background: #fafafa;
    transition: border-color .2s;
}

.chat-qa-input:focus {
    border-color: var(--red);
    background: #fff;
}

.chat-end-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #25d366, #128c48);
    color: var(--white);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.chat-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

.chat-wa-btn i {
    font-size: 20px;
}

.chat-reset-btn {
    padding: 10px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    background: var(--white);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all .2s;
}

.chat-reset-btn:hover {
    border-color: var(--red);
    color: var(--red);
}

/* Chat widget mobile */
@media (max-width: 480px) {
    .chat-widget {
        width: calc(100vw - 24px);
        right: 12px;
        bottom: 12px;
        max-height: 85vh;
        border-radius: 16px;
    }

    .chat-fab {
        bottom: 18px;
        right: 18px;
        width: 54px;
        height: 54px;
        font-size: 22px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .product-detail {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: relative;
        top: auto;
    }

    .gallery-main {
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-main img,
    .gallery-main video {
        touch-action: pan-y;
        pointer-events: none;
    }

    .gallery-thumbs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }

    .gallery-thumb {
        flex-shrink: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .who-we-are-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .who-we-are-section .section-title {
        font-size: 38px;
    }

    .who-we-are-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }

    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .header-contact {
        display: none;
    }

    .hero-slide h1 {
        font-size: 36px;
    }

    .hero-slide .slide-content {
        padding: 0 30px;
    }

    .section {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .who-we-are-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .who-we-are-section .section-title {
        font-size: 28px;
    }

    .who-we-are-text {
        font-size: 14px;
    }

    .btn-who-we-are {
        padding: 12px 28px;
        font-size: 14px;
    }
}