/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
    --primary-color: #0f172a;    /* Premium Slate */
    --accent-color: #2563eb;     /* Professional Blue */
    --accent-hover: #1d4ed8;
    --text-main: #334155;        /* Slate 700 */
    --text-muted: #64748b;       /* Slate 500 */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;         /* Soft slate bg */
    --bg-grey-block: #f1f5f9;    /* For about us / contact us block */
    --border-color: #e2e8f0;     /* Slate 200 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 8px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   RESET & GLOBAL STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--accent-hover);
}

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

ul, ol {
    list-style: none;
}

button, input {
    font-family: inherit;
    border: none;
    outline: none;
}

/* ==========================================
   TOP HEADER
   ========================================== */
.top-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-color);
}

/* Search Group */
.search-group {
    flex: 1;
    max-width: 600px;
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: visible; /* Dropdown must overflow */
    position: relative;
    background-color: var(--bg-white);
    transition: var(--transition-smooth);
}

.search-group:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Categories Dropdown */
.category-dropdown-container {
    position: relative;
    border-right: 1px solid var(--border-color);
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: var(--bg-light);
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

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

.arrow-icon {
    width: 14px;
    height: 14px;
    transition: var(--transition-smooth);
}

.category-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 200px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 200;
}

.category-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.category-item {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--bg-light);
}

.category-item:last-child {
    border-bottom: none;
}

.category-item:hover {
    background-color: var(--bg-light);
    color: var(--accent-color);
}

/* Search Bar */
.search-bar {
    display: flex;
    flex: 1;
    align-items: center;
}

.search-bar input {
    width: 100%;
    min-width: 0;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    color: var(--text-main);
    background: transparent;
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    flex-shrink: 0;
}

.search-btn:hover {
    background-color: var(--accent-hover);
}

.search-icon {
    width: 16px;
    height: 16px;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.lang-btn:hover, .lang-btn.active {
    color: var(--accent-color);
    background-color: rgba(37, 99, 235, 0.08);
}

.lang-separator {
    color: var(--border-color);
    font-size: 0.8rem;
    user-select: none;
}


/* ==========================================
   NAVIGATION MENU
   ========================================== */
.nav-menu {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    z-index: 90;
    position: relative;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem 0;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-hover);
}

.nav-link.active {
    border-bottom-color: var(--accent-color);
}

/* Mega Menu Dropdown Setup */
.dropdown-trigger {
    position: relative;
}

.dropdown-trigger .arrow-icon {
    width: 12px;
    height: 12px;
}

.dropdown-trigger:hover .arrow-icon {
    transform: rotate(180deg);
}

/* Mega Menu Panel */
.mega-menu {
    position: absolute;
    top: 100%;
    left: -150px;
    width: 900px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 150;
    padding: 1.5rem 2rem;
}

.dropdown-trigger:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mega-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.column-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 0.5rem;
}

.column-title a:hover {
    color: var(--accent-color);
}

.mega-products {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mega-product-item {
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}

.mega-product-item:hover {
    background-color: rgba(37, 99, 235, 0.08);
}

.mega-product-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem;
}

.mega-product-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    transition: var(--transition-smooth);
}

.mega-product-item:hover .mega-product-img {
    transform: scale(1.05);
}

.mega-product-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
}

.mega-product-link:hover .mega-product-title {
    color: var(--accent-hover);
    text-decoration: underline;
}

.mega-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

.view-all-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
}

.view-all-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}


/* ==========================================
   HERO CAROUSEL
   ========================================== */
.carousel-section {
    position: relative;
    background-color: var(--primary-color);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 520px; /* Golden banner ratio */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 10;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 20;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Captions Overlays */
.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.6) 100%);
    z-index: 21;
}

.carousel-caption {
    position: absolute;
    bottom: 12%;
    left: 8%;
    right: 8%;
    color: var(--bg-white);
    z-index: 30;
    max-width: 600px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s ease 0.3s, opacity 0.6s ease 0.3s;
}

.carousel-slide.active .carousel-caption {
    transform: translateY(0);
    opacity: 1;
}

.carousel-caption h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
    font-size: 1.15rem;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 35;
    backdrop-filter: blur(4px);
}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--bg-white);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-control svg {
    width: 20px;
    height: 20px;
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 35;
}

.indicator {
    width: 24px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.indicator.active {
    background-color: var(--bg-white);
    width: 36px;
}


/* ==========================================
   PRODUCT EXHIBITION ZONE (Amazon style grid)
   ========================================== */
.products-section {
    padding: 4rem 1.5rem;
    background-color: var(--bg-white);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Main categories layout - PC displays 3 columns horizontally */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.category-block-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.category-block-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Sub-grid under each category (Amazon style card lists) */
.products-subgrid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.product-img-wrapper {
    width: 90px;
    height: 90px;
    background-color: var(--bg-light);
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #f1f5f9;
}

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

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

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.stars {
    color: #f59e0b; /* Golden Yellow */
    font-size: 0.9rem;
    letter-spacing: -1px;
}

.rating-count {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ==========================================
   ABOUT & CONTACT SECTION (Grey Block)
   ========================================== */
.about-contact-section {
    background-color: var(--bg-grey-block);
    padding: 4rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.about-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.block-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    position: relative;
}

.about-content {
    font-size: 1rem;
    color: var(--text-main);
    text-align: justify;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-item span {
    line-height: 1.4;
}


/* ==========================================
   FOOTER
   ========================================== */
.main-footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.9;
}


/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--accent-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    z-index: 99;
}

.back-to-top:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}


/* ==========================================
   MOBILE CONTROLS & DRAWER BASE STYLES
   ========================================== */
.mobile-controls {
    display: none;
}

.mobile-ctrl-btn {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.mobile-ctrl-btn:hover {
    color: var(--accent-hover);
}

.control-icon {
    width: 22px;
    height: 22px;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-2xl);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.drawer-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: -0.5px;
}

.drawer-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem;
    transition: var(--transition-smooth);
}

.drawer-close-btn:hover {
    color: var(--text-main);
}

.drawer-links {
    list-style: none;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.drawer-link {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.drawer-link:hover, .drawer-link.active {
    color: var(--accent-hover);
    padding-left: 8px;
}

.drawer-footer {
    margin-top: auto;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-light);
}

.drawer-lang-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.drawer-lang-switcher .lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

.drawer-lang-switcher .lang-btn.active {
    color: var(--accent-color);
    background-color: rgba(37, 99, 235, 0.08);
}

body.no-scroll {
    overflow: hidden;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */

/* Tablet view (Under 1024px) */
@media (max-width: 1024px) {
    .mega-menu {
        width: 700px;
        left: -180px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr; /* Switch to vertical blocks */
        gap: 3rem;
    }

    .carousel-container {
        height: 400px;
    }

    .carousel-caption h2 {
        font-size: 2.2rem;
    }
    
    .about-contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Mobile View (Under 768px) */
@media (max-width: 768px) {
    .top-header {
        position: sticky;
        top: 0;
        z-index: 990;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        gap: 0;
    }

    .logo {
        text-align: left;
        justify-content: flex-start;
        display: flex;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .logo-link span {
        font-size: 1.15rem;
    }

    /* Hide Desktop Language Switcher and Desktop Navigation */
    .language-switcher,
    .nav-menu {
        display: none !important;
    }

    /* Show Mobile Controls */
    .mobile-controls {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
    }

    /* Mobile Search Group Styling (Slides down below header) */
    .search-group {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-width: 100%;
        background-color: var(--bg-white);
        padding: 0.6rem 1rem;
        border: none;
        border-bottom: 2px solid var(--border-color);
        border-radius: 0;
        box-shadow: var(--shadow-md);
        z-index: 95;
    }

    .top-header.search-active .search-group {
        display: flex;
        animation: slideDown 0.25s ease-out;
    }

    .carousel-container {
        height: 280px;
    }

    .carousel-caption {
        bottom: 8%;
        left: 5%;
        right: 5%;
    }

    .carousel-caption h2 {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .carousel-control {
        width: 36px;
        height: 36px;
    }

    .carousel-control.prev {
        left: 10px;
    }

    .carousel-control.next {
        right: 10px;
    }

    .indicator {
        width: 12px;
        height: 3px;
    }

    .indicator.active {
        width: 20px;
    }

    .products-section {
        padding: 2.5rem 1rem;
    }

    .about-contact-section {
        padding: 2.5rem 1rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 38px;
        height: 38px;
    }
}

/* ==========================================
   PRODUCT DETAIL PAGE SPECIFIC STYLES
   ========================================== */
.breadcrumbs-section {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
}

.breadcrumbs-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumbs-container a {
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.breadcrumbs-container a:hover {
    color: var(--accent-color);
}

.breadcrumbs-container .separator {
    color: var(--border-color);
    user-select: none;
}

.breadcrumbs-container .current {
    color: var(--primary-color);
    font-weight: 500;
}

/* Detail Main Layout */
.product-detail-main {
    padding: 3rem 1.5rem;
    background-color: var(--bg-white);
}

.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
}

/* Left: Gallery */
.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-img-wrapper {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
    overflow: hidden;
}

.main-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.thumbs-list {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    background-color: var(--bg-light);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item:hover, .thumb-item.active {
    border-color: var(--accent-color);
    opacity: 0.9;
}

/* Right: Info */
.detail-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.detail-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.detail-highlights-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.detail-highlights-box .box-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.4;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.detail-actions {
    margin-top: auto;
}

.inquiry-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    width: 100%;
    max-width: 320px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.inquiry-btn-large:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.inquiry-btn-large .mail-icon {
    width: 20px;
    height: 20px;
}

/* Specifications Table */
.product-specs-section {
    padding: 3rem 1.5rem;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.specs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.specs-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.table-wrapper {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table tr:nth-child(even) {
    background-color: var(--bg-light);
}

.spec-label {
    width: 30%;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: rgba(15, 23, 42, 0.02);
    border-right: 1px solid var(--border-color);
}

.spec-val {
    padding: 1rem 1.5rem;
    color: var(--text-main);
}

/* Inquiry Form Section */
.inquiry-form-section {
    padding: 4rem 1.5rem;
    background-color: var(--bg-white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.inquiry-form {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group:last-of-type {
    margin-bottom: 0;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input, .form-group textarea {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-white);
    color: var(--text-main);
    transition: var(--transition-smooth);
    width: 100%;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: none;
}

.form-alert {
    display: none;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.form-alert.success {
    display: block;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.form-alert.show {
    animation: slideDown 0.3s ease;
}

.form-submit-wrapper {
    text-align: right;
    margin-top: 1.5rem;
}

.submit-btn {
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 0.85rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Detail Responsive Adjustments */
@media (max-width: 968px) {
    .detail-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .main-img-wrapper {
        height: 350px;
    }
    
    .inquiry-btn-large {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .breadcrumbs-section {
        padding: 0.6rem 1rem;
    }
    
    .product-detail-main {
        padding: 2rem 1rem;
    }
    
    .detail-title {
        font-size: 1.8rem;
    }
    
    .form-group-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .inquiry-form {
        padding: 1.5rem;
    }
    
    .spec-label {
        width: 40%;
        padding: 0.75rem 1rem;
    }
    
    .spec-val {
        padding: 0.75rem 1rem;
    }
}
