@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-primary: #F9F8F6;
    --bg-secondary: #FFFFFF;
    --color-dark: #1A1A1A;
    --color-dark-muted: #333333;
    --color-muted: #767676;
    --color-muted-light: #EBEAE6;
    --color-accent: #C5A880;
    --color-accent-light: #F2EDE4;
    --color-white: #FFFFFF;
    --color-success: #5F8575;
    --color-error: #B85A5A;
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.02);
    --shadow-md: 0 12px 32px rgba(26, 26, 26, 0.04);
    --shadow-lg: 0 24px 64px rgba(26, 26, 26, 0.08);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.06);
    
    /* Borders & Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-full: 9999px;
    --border-color: rgba(26, 26, 26, 0.08);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-elastic: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: var(--transition-fast);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--color-muted-light);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: var(--transition-smooth);
}

.header-wrapper.scrolled {
    padding: 16px 0;
    background: rgba(249, 248, 246, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-dark);
}

.logo span {
    color: var(--color-accent);
}

/* Nav Menu Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition-smooth);
}

.nav-link.active {
    color: var(--color-dark);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-dark);
}

.nav-link:hover::after {
    width: 100%;
}

/* Action Controls */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    position: relative;
}

.action-btn:hover {
    background: var(--color-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-secondary);
    transition: var(--transition-elastic);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    z-index: 110;
}

@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-smooth);
        z-index: 105;
        padding: 40px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: block;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 130px;
    padding-bottom: 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: stretch;
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Left Card */
.hero-left-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 620px;
    border: 1px solid var(--border-color);
}

.hero-left-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: var(--transition-smooth);
}

.hero-left-card:hover .hero-left-bg {
    transform: scale(1.05);
}

.hero-card-header {
    position: relative;
    z-index: 2;
    padding: 32px;
    display: flex;
    gap: 12px;
}

.badge {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.badge:hover {
    background: var(--color-dark);
    color: var(--color-white);
}

.hero-card-footer {
    position: relative;
    z-index: 2;
    padding: 40px 32px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
}

.hero-card-title {
    color: var(--color-white);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-card-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    max-width: 380px;
}

.hero-card-btn {
    align-self: flex-start;
    background: var(--color-white);
    color: var(--color-dark);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
}

.hero-card-btn i {
    transition: var(--transition-fast);
}

.hero-card-btn:hover {
    background: var(--color-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

.hero-card-btn:hover i {
    transform: translateX(4px);
}

/* Right Content Area */
.hero-right-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

/* Top Intro Typography Grid */
.hero-intro {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .hero-intro {
        grid-template-columns: 1fr;
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--color-dark);
    line-height: 1.1;
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 40px;
    }
}

.hero-intro-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 12px;
}

.hero-text {
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.7;
}

.btn-primary {
    align-self: flex-start;
    background: transparent;
    border: 1px solid var(--color-dark);
    color: var(--color-dark);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--color-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Bottom Grid for Cards */
.hero-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 576px) {
    .hero-bottom-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Cards */
.hero-small-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.hero-small-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: var(--transition-smooth);
}

.hero-small-card:hover .hero-small-bg {
    transform: scale(1.05);
}

.hero-small-header {
    position: relative;
    z-index: 2;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-arrow {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.hero-small-card:hover .btn-arrow {
    background: var(--color-white);
    color: var(--color-dark);
    transform: rotate(45deg);
}

.hero-small-footer {
    position: relative;
    z-index: 2;
    padding: 24px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    margin-top: auto;
}

.hero-small-title {
    color: var(--color-white);
    font-size: 20px;
    font-weight: 700;
}

/* ==========================================================================
   CATEGORIES SECTION
   ========================================================================== */
.categories-section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-title-wrap {
    max-width: 600px;
}

.section-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 8px;
}

.section-title {
    font-size: 40px;
    letter-spacing: -1px;
}

@media (max-width: 576px) {
    .section-title {
        font-size: 30px;
    }
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 380px;
    background: var(--color-dark);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

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

.category-card:hover .category-img {
    transform: scale(1.05);
    opacity: 0.7;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(26,26,26,0.1) 0%, rgba(26,26,26,0.85) 100%);
    color: var(--color-white);
    z-index: 2;
}

.category-meta {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent-light);
    font-weight: 500;
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.category-card:hover .category-count {
    color: var(--color-accent);
}

.category-count i {
    transition: var(--transition-smooth);
}

.category-card:hover .category-count i {
    transform: translateX(6px);
}

/* ==========================================================================
   PRODUCTS SECTION (CURATED COLLECTION)
   ========================================================================== */
.products-section {
    padding: 60px 0;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-muted);
    white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Card */
.product-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-img-wrap {
    position: relative;
    background: var(--bg-primary);
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

/* Hover Quick Actions */
.product-actions {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    padding: 16px;
    display: flex;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-smooth);
}

.product-card:hover .product-actions {
    bottom: 0;
}

.quick-add-btn {
    background: var(--color-dark);
    color: var(--color-white);
    width: 80%;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 13px;
    box-shadow: var(--shadow-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

.wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    box-shadow: var(--shadow-sm);
    z-index: 5;
}

.wishlist-btn:hover {
    color: var(--color-error);
    transform: scale(1.1);
}

.wishlist-btn.active {
    color: var(--color-error);
    background: var(--color-white);
}

/* Product Content */
.product-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.product-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    font-weight: 700;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #F39C12;
}

.product-rating span {
    color: var(--color-muted);
    margin-left: 4px;
}

.product-price-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
}

/* ==========================================================================
   INTERACTIVE ROOM SECTION
   ========================================================================== */
.room-section {
    padding: 60px 0;
}

.room-display {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 650px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.room-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hotspots overlay */
.hotspot {
    position: absolute;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 10;
}

.hotspot-trigger {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: var(--color-white);
    border: 3px solid var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-elastic);
}

.hotspot-trigger::before {
    content: '';
    position: absolute;
    width: 250%;
    height: 250%;
    border-radius: var(--radius-full);
    border: 2px dashed rgba(255, 255, 255, 0.7);
    animation: hotspotPulse 3s infinite linear;
}

.hotspot-trigger i {
    font-size: 10px;
    color: var(--color-dark);
    transition: var(--transition-fast);
}

.hotspot:hover .hotspot-trigger {
    transform: scale(1.15);
    background: var(--color-dark);
}

.hotspot:hover .hotspot-trigger i {
    color: var(--color-white);
    transform: rotate(45deg);
}

/* Hotspot Card Overlay */
.hotspot-card {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    width: 240px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--transition-fast), transform 0.3s var(--transition-elastic);
    z-index: 15;
}

.hotspot-card::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.75) transparent transparent;
}

.hotspot.active .hotspot-card {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
}

.hotspot-card-img {
    height: 120px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.hotspot-card-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.hotspot-card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.hotspot-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-dark);
    padding-bottom: 2px;
}

.hotspot-card-btn:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Animations */
@keyframes hotspotPulse {
    0% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.8;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: rotate(360deg) scale(1.3);
        opacity: 0;
    }
}

/* ==========================================================================
   CART DRAWER & BACKDROP
   ========================================================================== */
.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 999;
}

.cart-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100vh;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

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

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

.cart-title {
    font-size: 20px;
    font-weight: 700;
}

.cart-close-btn {
    font-size: 20px;
    color: var(--color-muted);
}

.cart-close-btn:hover {
    color: var(--color-dark);
}

.cart-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Empty State */
.cart-empty {
    text-align: center;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--color-muted);
}

.cart-empty i {
    font-size: 48px;
    color: var(--color-muted-light);
}

/* Cart Item */
.cart-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 700;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    width: fit-content;
    margin-top: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.qty-val {
    padding: 0 8px;
    font-size: 13px;
    font-weight: 600;
}

.cart-item-remove {
    color: var(--color-muted);
    font-size: 16px;
    align-self: flex-start;
    padding-top: 4px;
}

.cart-item-remove:hover {
    color: var(--color-error);
}

/* Cart Footer */
.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: var(--color-muted);
}

.cart-summary-line.total {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
}

.btn-checkout {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-align: center;
}

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

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--color-accent);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 280px;
}

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

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-btn:hover {
    background: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.footer-col-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-link:hover {
    color: var(--color-white);
    padding-left: 4px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input-wrap {
    position: relative;
}

.newsletter-input {
    width: 100%;
    padding: 16px 48px 16px 20px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--color-white);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--transition-fast);
}

.newsletter-input:focus {
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.08);
}

.newsletter-submit {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-submit:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ==========================================================================
   CATEGORY CATALOG SECTION
   ========================================================================== */
.catalog-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.category-row {
    margin-bottom: 64px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-row.category-hidden {
    display: none;
    opacity: 0;
    transform: translateY(30px);
}

.category-row.category-reveal {
    display: block;
    animation: fadeInUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.category-row-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .category-row-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .category-line {
        width: 100%;
        height: 1px;
    }
}

.category-info {
    flex-shrink: 0;
    max-width: 500px;
}

.category-row-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
    color: var(--color-dark);
}

.category-row-desc {
    font-size: 14px;
    color: var(--color-muted);
}

.category-line {
    flex-grow: 1;
    height: 1px;
    background: var(--border-color);
}

.load-more-cats-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-load-more {
    padding: 14px 32px;
    border-radius: var(--radius-full);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--color-dark);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
}

.btn-load-more:hover {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-load-more i {
    transition: var(--transition-smooth);
}

.btn-load-more:hover i {
    transform: translateY(4px);
}

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

/* ==========================================================================
   PRODUCT DETAIL PAGE SECTION
   ========================================================================= */
.main-content-area {
    padding-top: 130px;
    padding-bottom: 80px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-muted);
    margin-bottom: 40px;
}

.breadcrumbs a {
    color: var(--color-muted);
}

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

.breadcrumbs i {
    font-size: 10px;
    color: var(--color-muted-light);
}

.breadcrumbs span {
    color: var(--color-dark);
    font-weight: 500;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    margin-bottom: 80px;
}

@media (max-width: 991px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Gallery Styles */
.product-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-wrap {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

#main-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.thumbnail-gallery-list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.thumb-gallery-btn {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    outline: 1px solid var(--border-color);
    background: var(--bg-secondary);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.thumb-gallery-btn:hover {
    outline-color: var(--color-dark);
    transform: translateY(-2px);
}

.thumb-gallery-btn.active {
    border-color: var(--color-dark);
    outline: none;
    box-shadow: var(--shadow-md);
}

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

/* Info Column Styles */
.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-detail-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    font-weight: 700;
}

.product-detail-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--color-dark);
}

@media (max-width: 576px) {
    .product-detail-title {
        font-size: 32px;
    }
}

.product-detail-rating-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

.product-detail-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #F39C12;
}

.rating-value {
    color: var(--color-dark);
    font-weight: 600;
    margin-left: 6px;
}

.review-count {
    color: var(--color-muted);
}

.product-detail-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-dark);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.product-detail-stock {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-success);
    display: flex;
    align-items: center;
    gap: 8px;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-success);
    display: inline-block;
    animation: hotspotPulse 2s infinite;
}

.product-detail-desc {
    font-size: 16px;
    color: var(--color-muted);
    line-height: 1.7;
}

.product-detail-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-detail-features li {
    font-size: 15px;
    color: var(--color-dark-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-detail-features li i {
    color: var(--color-success);
    font-size: 16px;
}

/* Interactive Color Swatches */
.options-selector-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.options-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-dark);
}

.color-swatches {
    display: flex;
    gap: 12px;
}

.color-swatch-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    outline: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.color-swatch-btn:hover {
    transform: scale(1.1);
}

.color-swatch-btn.active {
    outline: 2px solid var(--color-dark);
    transform: scale(1.1);
}

/* Purchase Section Row */
.purchase-actions-row {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .purchase-actions-row {
        flex-direction: column;
    }
}

.detail-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    width: fit-content;
}

@media (max-width: 576px) {
    .detail-qty-control {
        width: 100%;
        justify-content: space-between;
    }
}

.detail-qty-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--color-dark);
}

.detail-qty-btn:hover {
    color: var(--color-accent);
}

.detail-qty-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    outline: none;
    -moz-appearance: textfield;
}

.detail-qty-input::-webkit-outer-spin-button,
.detail-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-add-to-cart-primary {
    flex-grow: 1;
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.btn-add-to-cart-primary:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Specifications Tab Accordion */
.accordion-panel-wrap {
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-trigger {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    text-align: left;
}

.accordion-trigger i {
    font-size: 14px;
    color: var(--color-muted);
    transition: var(--transition-smooth);
}

.accordion-item.active .accordion-trigger i {
    transform: rotate(180deg);
    color: var(--color-dark);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    opacity: 1;
    padding-bottom: 24px;
}

.accordion-content p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.6;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px dashed var(--color-muted-light);
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--color-dark-muted);
    width: 35%;
}

.specs-table td:last-child {
    color: var(--color-muted);
}

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

/* Related section spacing */
.related-products-section {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

/* Not Found 404 Styles */
.not-found-wrapper {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.not-found-content {
    text-align: center;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.not-found-icon {
    font-size: 64px;
    color: var(--color-accent);
}

.not-found-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
}

.not-found-desc {
    font-size: 16px;
    color: var(--color-muted);
    line-height: 1.6;
}

.footer-contact-link:hover {
    color: var(--color-white) !important;
}



