@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
    /* Refined Professional Palette */
    --primary-color: #1a1a1a; /* Richer Black */
    --accent-color: #d4af37;  /* Classic Metallic Gold */
    --accent-glow: rgba(212, 175, 55, 0.3);
    --bg-color: #ffffff;
    --bg-secondary: #fcfbf7;  /* High-end off-white */
    --text-color: #1a1a1a;
    --text-mid: #555555;
    --text-light: #888888;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-premium: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 20px 50px rgba(0,0,0,0.05);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-blur: blur(12px);

    /* Fluid Typography System */
    --h1-size: clamp(2.5rem, 5vw + 1rem, 5rem);
    --h2-size: clamp(2rem, 4vw + 1rem, 3rem);
    --h3-size: clamp(1.5rem, 3vw + 1rem, 2.2rem);
    --body-text: clamp(1rem, 1.5vw + 0.5rem, 1.15rem);
    --small-text: clamp(0.85rem, 1vw + 0.5rem, 1rem);

    /* Global Spacing / Padding */
    --spacing-sm: clamp(10px, 2vw, 20px);
    --spacing-md: clamp(20px, 4vw, 40px);
    --spacing-lg: clamp(40px, 8vw, 80px);
    --spacing-xl: clamp(60px, 12vw, 120px);
}

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

body {
    font-family: var(--font-body);
    font-size: var(--body-text);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

html {
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
}

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

ul {
    list-style: none;
}

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

/* Typography Utilities */
.text-accent { color: var(--accent-color); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    min-height: 48px; /* Touch-safe */
    font-size: var(--small-text);
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

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

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

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

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

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 8%;
    z-index: 1000;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    /* Subtle gradient: ensures nav is ALWAYS legible on any hero image */
    background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, transparent 100%);
}

.navbar.scrolled {
    padding: 16px 8%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.logo a {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-color) !important;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.logo a span {
    color: #ffffff; /* White 'BRAND' on hero, will stay as contrast */
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* When scrolled: logo text darkens for white background */
.navbar.scrolled .logo a span {
    color: var(--primary-color);
    text-shadow: none;
}

.logo a:hover {
    transform: scale(1.04);
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
}

.nav-links {
    display: flex;
    gap: 50px;
}

.nav-links a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.95); /* WHITE on hero/dark bg */
    text-shadow: 0 1px 8px rgba(0,0,0,0.5); /* Soft shadow for max legibility */
    position: relative;
    padding-bottom: 8px;
    transition: all var(--transition-fast);
}

/* When scrolled: switch to dark text on white background */
.navbar.scrolled .nav-links a {
    color: var(--primary-color) !important;
    text-shadow: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color) !important;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    letter-spacing: 2.8px;
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    text-shadow: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, rgba(212,175,55,0));
    transition: width 0.4s ease;
}

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

.nav-actions {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-actions a {
    color: rgba(255, 255, 255, 0.9); /* White icons on hero */
    font-size: 1.3rem;
    transition: transform 0.3s ease, color 0.3s ease;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* When scrolled: gold icons on white background */
.navbar.scrolled .nav-actions a {
    color: var(--accent-color);
    text-shadow: none;
}

.nav-actions a:hover {
    transform: translateY(-2px);
    color: var(--accent-color) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #1a1a1a url('assets/images/hero_luxury.png?v=4') center/cover no-repeat;
    min-height: 100vh;
    width: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-color);
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: var(--small-text);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    display: block;
    color: var(--accent-color);
}

.hero-title {
    font-size: var(--h1-size);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--bg-color);
    text-shadow: 0 10px 30px rgba(0,0,0,0.2);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: var(--body-text);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    opacity: 0.9;
    font-weight: 300;
}

/* --- Sections Common --- */
.section-padding {
    padding: var(--spacing-xl) 0; /* use container for X padding */
}

.section-title {
    font-size: var(--h2-size);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(140px, 40vw, 280px), 1fr));
    gap: var(--spacing-md);
    width: 100%;
}

/* Home Page Swipeable Slider (Mobile & Desktop) */
#home-product-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Smooth iOS scrolling */
    gap: 20px;
    padding-bottom: 20px;
}

/* Hide scrollbar for a cleaner look */
#home-product-container::-webkit-scrollbar {
    display: none;
}
#home-product-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#home-product-container .product-card {
    flex: 0 0 calc(100% - 40px); /* Show one card with a little peek of the next */
    max-width: 320px;
    scroll-snap-align: center;
}

@media (min-width: 768px) {
    #home-product-container .product-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}
@media (min-width: 1024px) {
    #home-product-container .product-card {
        flex: 0 0 calc(25% - 20px);
    }
}

.product-card {
    background-color: #fff;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1.5px solid rgba(212, 175, 55, 0.2); /* Soft luxury gold frame */
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.12); /* Gold tinted glow */
}

.product-image-wrap {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-secondary);
    aspect-ratio: 3/4; /* Professional Fashion Ratio */
    border-radius: 10px;
}

/* --- Sale System Enhancements --- */
.sale-badge {
    position: absolute;
    top: 15px;
    right: 15px; /* Adjust according to RTL if needed, but flex dictates flow */
    background: #ff3b30;
    color: white;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 6px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 59, 48, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

body.rtl .sale-badge {
    right: auto;
    left: 15px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
    margin-right: 8px;
}

.new-price {
    color: #ff3b30;
    font-weight: 700;
}
/* ------------------------------- */

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0, 0, 0.2, 1);
}

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

.product-action {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-action {
    opacity: 1;
}

.product-action .btn {
    width: 90%;
    padding: 13px 20px;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    font-weight: 700;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.product-action .btn.quick-add {
    background: var(--accent-color);
    color: var(--primary-color);
}

.product-action .btn:not(.quick-add) {
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
}

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

.product-info {
    padding: 20px 10px 10px;
    text-align: center;
}

.product-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.product-price {
    display: inline-block;
    padding: 6px 14px;
    background: #fdfaf4;
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.product-price .old-price {
    font-size: 0.85em;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px; /* For RTL spacing */
}

.product-price .new-price {
    color: #ff3b30;
    font-weight: 800;
}

/* --- Products Page Filters --- */
.filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* ensures layout doesn't break on resize */
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid #eee;
}

.category-filters {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color var(--transition-fast);
    position: relative;
}

.filter-btn.active, .filter-btn:hover {
    color: var(--primary-color);
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent-color);
}

.sort-select {
    padding: 8px 15px;
    font-family: var(--font-body);
    border: 1px solid #ddd;
    outline: none;
    cursor: pointer;
}

/* --- Product Details Page --- */
.product-details {
    padding-top: 150px;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

.details-image {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-secondary);
}

.details-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.details-info {
    flex: 1;
    min-width: 300px;
}

.details-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.details-price {
    font-size: 1.8rem;
    color: var(--accent-color);
    font-weight: 400;
    margin-bottom: 30px;
}

.details-desc {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.details-options {
    margin-bottom: 40px;
}

.options-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.size-selector {
    display: flex;
    gap: 15px;
}

.size-btn {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    background: none;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
}

.size-btn:hover, .size-btn.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.add-to-cart-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
}

.qty-btn {
    width: 40px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

.qty-input {
    width: 50px;
    height: 50px;
    border: none;
    text-align: center;
    font-family: var(--font-body);
    font-size: 1.1rem;
    outline: none;
}

.btn-add {
    flex: 1;
    height: 50px;
    font-size: 1rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 80px 5% 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 300px), 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-col h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.footer-col h4 {
    color: var(--bg-color);
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: #999;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: #999;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #777;
    font-size: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE DESIGN SYSTEM
   Breakpoints: 
     - Desktop:  > 1024px  (default styles)
     - Tablet:   769px – 1024px
     - Mobile:   ≤ 768px
     - Small:    ≤ 480px
   ============================================================ */

/* --- Cart & Checkout Specifics --- */
.section-subtitle {
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.payment-title {
    margin: 40px 0 20px;
    font-family: var(--font-body);
    font-weight: 600;
}

.payment-icons {
    margin-left: auto;
    display: flex;
    gap: 8px;
    opacity: 0.6;
}

.payment-icons i {
    font-size: 1.4rem;
}

.cc-display {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
}

.cc-label {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 20px;
}

.cc-label-small {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-bottom: 8px;
}

.cc-number-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.cc-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.cc-input {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 3px;
}

.cc-input-small {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}

.payment-info-box {
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.vodafone-box { background: #f8f8f8; }
.instapay-box { background: #f0f4ff; }
.paypal-box { background: #fff7e6; }
.cod-box { background: #f0fdf4; }

.info-icon-large {
    font-size: 3rem;
    margin-bottom: 15px;
}

.vodafone-box .info-icon-large { color: #e60000; }
.instapay-box .info-icon-large { color: #1a56db; }
.paypal-box .info-icon-large { color: #003087; }
.cod-box .info-icon-large { color: #16a34a; }

.payment-info-box h3 { margin-bottom: 10px; }
.payment-info-box p { color: var(--text-light); margin-bottom: 20px; }

.centered-input {
    text-align: center;
    font-size: 1.2rem;
}

.cod-fee-info {
    color: #d97706;
    margin-top: 15px !important;
    font-size: 0.9rem;
}

.success-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.success-description {
    color: var(--text-light);
    margin-bottom: 40px;
}

.summary-card-title {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .cc-display {
        padding: 20px;
    }
    .cc-input {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    .success-title {
        font-size: 2rem;
    }
}

/* --- Global Overflow Protection --- */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

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

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* --- Product Details Specifics --- */
.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.product-highlights {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.highlight-list {
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.highlight-list i {
    width: 20px;
}

.suggested-products-section {
    background-color: var(--bg-secondary);
}

@media (max-width: 768px) {
    .product-highlights {
        margin-top: 30px;
    }
}

/* --- Contact Page Specifics --- */
.contact-page-main {
    padding-top: 100px;
}

.contact-page-header {
    padding-bottom: 50px;
}

.contact-page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-page-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.follow-us {
    margin-top: 50px;
}

.follow-us h3 {
    margin-bottom: 20px;
}

.social-icons-large {
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
}

.form-grid {
    display: flex;
    gap: 20px;
}

.form-grid .form-group {
    flex: 1;
}

.btn-full {
    width: 100%;
}

@media (max-width: 768px) {
    .contact-page-main {
        padding-top: 80px;
    }
    .contact-page-header h1 {
        font-size: 2.2rem;
    }
    .form-grid {
        flex-direction: column;
        gap: 0;
    }
}

/* ========== TABLET (≤ 1024px) ========== */
@media (max-width: 1024px) {

    /* Navbar */
    .nav-links {
        gap: 25px;
    }
    .nav-links a {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }
    .logo a {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    /* Hero */
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    .hero-content {
        max-width: 650px;
    }

    /* Sections */
    .section-padding {
        padding: 70px 5%;
    }
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 45px;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 30px;
    }

    /* Product Details */
    .product-details {
        flex-direction: column;
        gap: 40px;
        padding-top: 120px;
    }
    .details-title {
        font-size: 2.4rem;
    }
    .details-price {
        font-size: 1.5rem;
    }
    .details-image {
        min-width: unset;
        width: 100%;
    }
    .details-info {
        min-width: unset;
        width: 100%;
    }

    /* Cart Layout */
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .order-summary-card {
        position: static;
    }

    /* Contact Section */
    .contact-section {
        gap: 40px;
    }
    .contact-form-wrapper {
        padding: 35px;
    }

    /* Footer */
    .footer {
        padding: 60px 5% 30px;
    }
    .footer-content {
        gap: 30px;
    }

    /* Checkout Stepper */
    .checkout-stepper {
        gap: 10px;
    }
    .step {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    /* Filters */
    .filters-bar {
        flex-wrap: wrap;
        gap: 15px;
    }
    .category-filters {
        flex-wrap: wrap;
        gap: 12px;
    }

    /* Old whatsapp-float removed */
}

/* ========== MOBILE (≤ 768px) ========== */
@media (max-width: 768px) {

    /* --- Mobile Navigation Drawer --- */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 80vw;
        height: 100vh;
        height: 100dvh;
        background-color: var(--bg-color);
        display: flex !important;
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        padding: 40px 20px;
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links.active a, .nav-links a {
        font-size: 1.25rem;
        font-weight: 700;
        letter-spacing: 1px;
        padding: 12px 25px;
        color: var(--primary-color) !important;
        text-shadow: none !important;
        border-radius: 12px;
        width: 100%;
        text-align: center;
        background: rgba(0,0,0,0.02);
        border: 1px solid rgba(0,0,0,0.05);
    }
    .nav-links.active a:hover, .nav-links a:hover {
        background: var(--accent-color);
        color: #fff !important;
        transform: translateY(-2px);
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    .menu-toggle span {
        width: 28px;
        height: 2.5px;
        border-radius: 2px;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    /* Navbar */
    .navbar {
        padding: 15px 4% !important;
    }
    .logo a {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    .nav-actions {
        gap: 18px;
    }
    .nav-actions a {
        font-size: 1.15rem;
    }

    /* Hero */
    .hero {
        height: 85vh;
        min-height: 500px;
    }
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2.5px;
        margin-bottom: 15px;
    }
    .hero-content {
        max-width: 90%;
        padding: 0 15px;
    }

    /* Buttons – Touch Friendly */
    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Section Spacing - better mobile fit */
    .section-padding {
        padding: 40px 15px; /* Tighter padding on mobile */
    }
    .container {
        padding-left: 5px;
        padding-right: 5px;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    .section-title::after {
        width: 45px;
        bottom: -10px;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .product-title {
        font-size: 0.95rem;
    }
    .product-price {
        font-size: 1rem;
    }
    .product-action {
        padding: 10px 0;
    }
    .product-action .btn {
        font-size: 0.8rem;
        padding: 10px 16px;
        min-height: 40px;
    }

    /* Product Details */
    .product-details {
        padding-top: 100px;
        flex-direction: column;
        gap: 30px;
    }
    .details-title {
        font-size: 2rem;
    }
    .details-price {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    .details-desc {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .details-image, .details-info {
        min-width: unset;
        width: 100%;
    }
    .size-selector {
        flex-wrap: wrap;
    }
    .size-btn {
        width: 48px;
        height: 48px;
    }
    .add-to-cart-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    .quantity-selector {
        width: 100%;
        justify-content: center;
    }
    .qty-btn {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    .qty-input {
        width: 60px;
        height: 48px;
        font-size: 1.15rem;
    }
    .btn-add {
        width: 100%;
        height: 52px;
    }

    /* Filters */
    .filters-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .category-filters {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    .filter-btn {
        font-size: 0.9rem;
        padding: 8px 12px;
        min-height: 44px;
    }
    .sort-select {
        width: 100%;
        padding: 12px 15px;
        font-size: 1rem;
        min-height: 48px;
    }

    /* Advanced Filters (products page inline styles override) */
    .advanced-filters {
        flex-direction: column !important;
        gap: 20px !important;
        align-items: stretch !important;
    }
    .price-filter {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    .price-filter label {
        margin-right: 0 !important;
    }
    .price-filter input {
        width: 100% !important;
    }
    .color-filter {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Cart Page */
    .cart-page-container {
        padding: 110px 4% 60px;
    }
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .cart-items-main {
        padding: 20px;
    }
    .cart-table-header {
        display: none;
    }
    .cart-item-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 0;
    }
    .cart-item-row .item-info {
        gap: 15px;
    }
    .cart-item-row .item-img {
        width: 70px;
        height: 90px;
    }
    .order-summary-card {
        position: static;
        padding: 25px;
    }

    /* Checkout Stepper */
    .checkout-stepper {
        flex-direction: row;
        gap: 0;
        margin-bottom: 30px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .step {
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    /* Payment Methods */
    .payment-option {
        padding: 15px;
        gap: 12px;
    }
    .payment-option label {
        font-size: 0.95rem;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    /* Cart Sidebar */
    .cart-sidebar {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }

    /* Contact Page */
    .contact-section {
        flex-direction: column;
        gap: 30px;
    }
    .contact-info, .contact-form-wrapper {
        min-width: unset;
        width: 100%;
    }
    .contact-form-wrapper {
        padding: 25px;
    }

    /* Footer */
    .footer {
        padding: 50px 4% 25px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-col h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    .footer-links {
        align-items: center;
    }
    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 20px;
    }
    .footer-bottom p {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .footer-bottom a {
        margin-left: 0 !important;
    }

    /* Old whatsapp-float removed */

    /* Form Controls */
    .form-control {
        padding: 13px;
        font-size: 1rem;
    }

    /* Admin Login */
    .admin-login-box {
        padding: 35px 25px !important;
        margin: 15px;
        max-width: calc(100% - 30px) !important;
    }
}

/* ========== SMALL MOBILE (≤ 480px) ========== */
@media (max-width: 480px) {

    /* Hero */
    .hero {
        height: 75vh;
        min-height: 420px;
    }
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }
    .hero-content .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    /* Sections */
    .section-padding {
        padding: 30px 10px;
    }
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    /* Product Grid – Desktop/Tablet usually 4 columns, mobile 2 columns */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: none;
        margin: 0 auto;
    }

    /* Product Details */
    .details-title {
        font-size: 1.6rem;
    }
    .details-price {
        font-size: 1.25rem;
    }
    .details-desc {
        font-size: 0.95rem;
    }

    /* Cart */
    .cart-page-container {
        padding: 100px 3% 40px;
    }
    .cart-items-main {
        padding: 15px;
    }
    .order-summary-card {
        padding: 20px;
    }
    .cart-item-row .item-img {
        width: 55px;
        height: 70px;
    }

    /* Checkout Stepper */
    .step {
        font-size: 0.7rem;
        padding: 8px 8px;
    }

    /* Contact */
    .contact-form-wrapper {
        padding: 20px 15px;
    }
    .contact-info .info-item {
        gap: 12px;
        margin-bottom: 20px;
    }

    /* Footer */
    .footer-col h3 {
        font-size: 1.2rem;
    }

    /* Buttons */
    .btn {
        padding: 12px 22px;
        font-size: 0.85rem;
    }

    /* Cart Sidebar */
    .cart-header {
        padding: 20px;
    }
    .cart-items-container {
        padding: 15px;
    }
    .cart-footer {
        padding: 20px;
    }

    /* Promo Banner (home page) */
    .section-padding.text-center p {
        font-size: 1.2rem !important;
        padding: 0 10px;
    }

    /* Admin Dashboard Header */
    header[style*="background-color: var(--primary-color)"] {
        flex-direction: column !important;
        gap: 15px;
        text-align: center;
        padding: 15px 4% !important;
    }

    /* Admin Table Responsive */
    .admin-table thead {
        display: none;
    }
    .admin-table tbody tr {
        display: flex;
        flex-direction: column;
        padding: 15px;
        gap: 8px;
        border-bottom: 2px solid #eee;
    }
    .admin-table tbody td {
        padding: 5px 10px !important;
        text-align: left !important;
    }

    /* Admin Modal */
    .modal-content {
        padding: 25px 20px !important;
        margin: 10px;
        max-height: 85vh;
    }
}

/* ========== EXTRA SMALL (≤ 360px) ========== */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.7rem;
    }
    .logo a {
        font-size: 1.3rem;
        letter-spacing: 1.5px;
    }
    .nav-actions {
        gap: 12px;
    }
    .section-title {
        font-size: 1.35rem;
    }
    .details-title {
        font-size: 1.4rem;
    }
    .step {
        font-size: 0.65rem;
        padding: 6px 6px;
    }
}

/* --- Promo Banner --- */
.promo-banner {
    background-color: var(--bg-secondary);
    margin-top: 40px;
}

.promo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .promo-text {
        font-size: 1.2rem;
    }
}

/* --- Footer Socials --- */
.footer-socials {
    display: flex;
    gap: 25px;
    font-size: 1.4rem;
    margin-top: 20px;
}

.footer-socials a {
    color: var(--bg-color);
    opacity: 0.6;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-socials {
        justify-content: center;
    }
}

/* --- Products Page Specifics --- */
.secondary-nav {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    padding: 15px 5% !important;
}

.products-page-main {
    padding-top: 100px;
}

.collection-header {
    text-align: center;
    margin-bottom: 50px;
}

.collection-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.collection-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.filters-container {
    margin-bottom: 40px;
}

.advanced-filters {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.price-filter {
    display: flex;
    align-items: center;
}

.price-filter label {
    font-size: 0.9rem;
    margin-right: 15px;
    white-space: nowrap;
}

.price-filter .form-control {
    width: 130px;
    text-align: center;
    margin-bottom: 0;
    padding: 8px 12px;
    height: auto;
}

.filter-label {
    font-size: 0.9rem;
    margin-right: 15px;
}

.color-swatches-grid {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.pagination-container {
    text-align: center;
    margin-top: 60px;
}

.pagination-controls {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.p-btn {
    padding: 10px 15px !important;
}

.p-info {
    font-family: var(--font-body);
    font-weight: 500;
}

@media (max-width: 768px) {
    .collection-header h1 {
        font-size: 2.2rem;
    }
    .products-page-main {
        padding-top: 80px;
    }
}

/* --- Filter Swetches --- */
.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #ccc;
    position: relative;
    transition: transform var(--transition-fast);
}

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

.color-swatch.active::after {
    content: '';
    position: absolute;
    top: -4px; right: -4px; bottom: -4px; left: -4px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
}

.color-swatch[data-color="white"] {
    border: 1px solid #eee;
}

/* --- Contact Form Styles --- */
.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-info .info-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.contact-info h3 {
    margin-bottom: 10px;
}

.contact-info p {
    color: var(--text-light);
}

.contact-form-wrapper {
    flex: 1.5;
    min-width: 300px;
    background-color: var(--bg-secondary);
    padding: 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-fast);
    background-color: var(--bg-color);
}

.form-control:focus {
    border-color: var(--primary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* --- Shopping Cart Sidebar --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-slow);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

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

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.cart-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f5f5f5;
}

.cart-item-image {
    width: 80px;
    height: 110px;
    overflow: hidden;
    background: var(--bg-secondary);
}

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

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.cart-item-variant {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.cart-item-price {
    font-weight: 500;
    color: var(--primary-color);
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
}

.cart-item-qty button {
    width: 25px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.cart-item-qty span {
    width: 30px;
    text-align: center;
    font-size: 0.9rem;
}

.remove-item {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.remove-item:hover {
    color: #ff4444;
}

.cart-footer {
    padding: 30px;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.cart-subtotal .price {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.3rem;
}

.btn-checkout {
    width: 100%;
    padding: 18px;
}

/* --- Cart Badge --- */
.nav-actions .cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

/* --- Full Cart Page --- */
.cart-page-container {
    padding: 150px 5% 100px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
    align-items: start;
}

.cart-items-main {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
}

.cart-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #fafafa;
}

.cart-item-row .item-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-item-row .item-img {
    width: 60px;
    height: 80px;
    background: #f9f9f9;
}

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

.order-summary-card {
    background: var(--bg-secondary);
    padding: 40px;
    position: sticky;
    top: 120px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--text-light);
}

.summary-total {
    border-top: 1px solid #ddd;
    margin-top: 20px;
    padding-top: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* --- Checkout Flow --- */
.checkout-stepper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.step {
    padding: 10px 20px;
    border-bottom: 2px solid #eee;
    color: var(--text-light);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.step.active {
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.checkout-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.checkout-section.active {
    display: block;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 30px 0;
}

.payment-option {
    border: 1px solid #eee;
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all var(--transition-fast);
}

.payment-option:hover {
    border-color: var(--accent-color);
}

.payment-option input {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-color);
}

.payment-option label {
    cursor: pointer;
    font-weight: 500;
}

.payment-subform {
    display: none;
    animation: fadeIn 0.4s ease;
}

.payment-subform.active {
    display: block;
}

.success-state {
    text-align: center;
    padding: 60px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #e6fffa;
    color: #38b2ac;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 30px;
}

/* Legacy WhatsApp Float Styles Removed */


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

/* Responsive */
@media (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .order-summary-card {
        position: static;
    }
}

@media (max-width: 600px) {
    .cart-table-header {
        display: none;
    }
    .cart-item-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
/* --- Admin Specific Styles --- */
.admin-login-body {
    background-color: var(--primary-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100vh !important;
    color: var(--bg-color) !important;
    margin: 0;
}

.admin-login-card {
    background-color: #1a1a1a;
    padding: 60px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 450px;
    text-align: center;
    border: 1px solid #333;
    border-top: 3px solid var(--accent-color);
}

.admin-login-card h1 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
    color: var(--accent-color);
    font-weight: 400;
    letter-spacing: 2px;
}

.admin-login-card p.subtitle {
    color: #999;
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.admin-login-card .form-group {
    text-align: left;
    margin-bottom: 25px;
}

.admin-login-card label {
    color: #ccc;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.admin-login-card .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
    color: #fff;
    padding: 15px;
}

.admin-login-card .form-control:focus {
    border-color: var(--accent-color);
    background: rgba(255,255,255,0.08);
}

.admin-login-card .error-message {
    color: #ff4d4d;
    margin-bottom: 20px;
    display: none;
    font-size: 0.9rem;
}

.admin-nav {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-nav .logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

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

.admin-nav-links {
    display: flex;
    gap: 20px;
}

.admin-nav-links a {
    color: var(--bg-color);
    text-decoration: none;
    transition: color 0.3s;
}

.admin-nav-links a:hover {
    color: var(--accent-color);
}

.admin-main {
    padding: 60px 4%;
}

.admin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-table-wrapper {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table thead {
    background-color: #fafafa;
    border-bottom: 2px solid #eee;
}

.admin-table th {
    padding: 20px;
    font-weight: 600;
}

.admin-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.admin-table tr:hover {
    background-color: #fdfdfd;
}

.admin-table .actions {
    text-align: right;
}

@media (max-width: 768px) {
    .admin-login-card {
        padding: 40px 25px;
    }
}
/* --- Floating Communication Buttons --- */
.floating-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}
/* --- Floating Communication Buttons UI --- */
.floating-buttons-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px; /* Comfortable spacing */
    z-index: 10000;
}

.floating-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.whatsapp-float {
    background-color: #25D366;
}

.facebook-float {
    background-color: #1877F2;
}

@media (max-width: 768px) {
    .floating-buttons-container {
        bottom: 20px;
        right: 20px;
        gap: 20px;
    }
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}
/* --- Pagination --- */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
}

.pagination-btn {
    padding: 12px 30px;
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--accent-color);
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #ddd;
}

/* --- Product Gallery & Colors --- */
.details-image-gallery {
    flex: 1;
    min-width: 450px;
}

.main-image-container {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnails-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumb-item {
    width: 80px;
    height: 100px;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
    padding: 5px;
    background: #fff;
}

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

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

.color-selector {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.color-swatch-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #eee;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    background: #fff;
    overflow: hidden;
}

.color-swatch-btn.active {
    border-color: var(--accent-color);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.color-swatch-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


@media (max-width: 992px) {
    .details-image-gallery {
        min-width: unset;
        width: 100%;
    }
    .main-image-container {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .main-image-container {
        height: 380px;
        padding: 10px;
    }
    .thumb-item {
        width: 60px;
        height: 80px;
    }
}

/* ============================================================
   ADMIN PREMIUM UI - MODERN LUXURY REDESIGN
   ============================================================ */

/* 1. Root & Base for Admin */
#admin-body {
    background: #f8fafc !important;
    min-height: 100vh;
}

/* 2. Navigation - Glassmorphic */
.admin-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-nav .logo span {
    font-size: 0.8rem;
    background: var(--accent-color);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    letter-spacing: 1px;
}

.admin-nav-links {
    display: flex;
    gap: 15px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-item:not(.logout) {
    color: var(--text-color);
    border: 1px solid #e2e8f0;
}

.nav-item:not(.logout):hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(212, 175, 55, 0.05);
}

.nav-item.logout {
    color: #ef4444;
    border: 1px solid #fee2e2;
}

.nav-item.logout:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

/* 3. Main Container */
.admin-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 5%;
}

.admin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.admin-title-group h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.admin-subtitle {
    color: #64748b;
    font-size: 1rem;
}

.btn-premium {
    background: linear-gradient(135deg, #111 0%, #333 100%);
    color: #fff;
    border-radius: 10px;
    padding: 12px 28px;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    background: var(--accent-color);
}

/* 4. Stats Row */
.admin-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-body);
}

/* 5. Table Card */
.admin-table-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    overflow: hidden;
}

.table-card-header {
    padding: 25px 30px;
    border-bottom: 1px solid #f1f5f9;
}

.table-card-header h3 {
    font-size: 1.3rem;
}

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

.admin-table th {
    background: #f8fafc;
    padding: 18px 30px;
    text-align: left;
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.admin-table td {
    padding: 20px 30px;
    border-bottom: 1px solid #f8fafc;
    vertical-align: middle;
}

.product-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.table-img {
    width: 50px;
    height: 65px;
    border-radius: 8px;
    object-fit: cover;
    background: #f8fafc;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.category-badge {
    padding: 4px 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: capitalize;
    font-weight: 500;
}

.price-td {
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-body);
}

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.action-btn.edit {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
}

.action-btn.edit:hover {
    background: var(--accent-color);
    color: #fff;
}

.action-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.action-btn.delete:hover {
    background: #ef4444;
    color: #fff;
}

/* 6. Modal Redesign */
.premium-modal {
    max-width: 800px !important;
    padding: 0 !important;
    border-radius: 25px !important;
    overflow: hidden;
    background: #fff !important;
}

.modal-header {
    background: #f8fafc;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eff2f6;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close-btn:hover {
    color: #64748b;
}

.premium-form {
    padding: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.full-width {
    grid-column: span 2;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-section label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.form-section input, 
.form-section select, 
.form-section textarea {
    padding: 12px 18px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-section input:focus, 
.form-section select:focus, 
.form-section textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.image-upload-label {
    cursor: pointer;
}

.upload-placeholder {
    height: 180px;
    border: 2px dashed #e2e8f0;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #94a3b8;
    transition: all 0.3s ease;
    overflow: hidden;
}

.upload-placeholder:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(212, 175, 55, 0.02);
}

.file-input-hidden {
    display: none;
}

.size-tags-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.size-tag {
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.size-tag i {
    cursor: pointer;
    color: #94a3b8;
}

.size-input-group {
    display: flex;
    gap: 10px;
}

.size-input-group input {
    flex: 1;
}

.size-input-group button {
    width: 50px;
    border-radius: 12px;
    border: none;
    background: #f1f5f9;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.size-input-group button:hover {
    background: var(--accent-color);
    color: #fff;
}

.modal-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eff2f6;
}

.btn-save {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    padding: 16px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
    }
    .admin-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* --- Luxurious Search Styling --- */
.search-input-wrapper {
    position: relative;
    width: 100%;
    margin: 15px 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.search-input-wrapper i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #d4af37; /* Luxury Gold */
    font-size: 1.1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 2;
}

.search-input-wrapper input {
    width: 100%;
    padding: 15px 20px 15px 50px !important;
    border-radius: 50px; /* Sophisticated Pill Shape */
    border: 1px solid rgba(212, 175, 55, 0.15); /* Very subtle gold border */
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.5px;
    outline: none;
}

.search-input-wrapper input::placeholder {
    color: #aaa;
    font-style: italic;
    opacity: 0.7;
}

.search-input-wrapper input:focus {
    border-color: #d4af37;
    background: #fff;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.12); /* Brighter gold shadow */
    transform: translateY(-2px);
}

.search-input-wrapper:focus-within i {
    color: #b8860b; /* Darker gold on focus */
    transform: translateY(-50%) scale(1.1);
}

.search-options {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .filters-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }
    .search-input-wrapper {
        width: 320px;
        margin: 0;
    }
}
/* --- Reveal Animations --- */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

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

@keyframes shine {
    0% { background-position: -100px; }
    100% { background-position: 200px; }
}

/* --- Premium Backgrounds --- */
.bg-gold-tint { background-color: var(--bg-secondary); }
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
}
/* --- New Luxury Sections Styling --- */
.section-subtitle {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

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

/* Hero Upgrade */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left to show more of the model/background */
    padding-left: 10%;
    background-image: url('assets/images/hero_luxury.png'); /* Restored Premium Image */
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: left;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-title {
    font-size: 5rem !important;
    color: #fff !important;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-outline-white {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.btn-outline-white:hover {
    background: #fff;
    color: #000;
}

/* Philosophy */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

.luxury-features {
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

.luxury-features li {
    margin-bottom: 15px;
    font-weight: 500;
}

.luxury-features i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-slow);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
}

.stars {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.client-name {
    display: block;
    margin-top: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

/* --- Luxury Overrides --- */
:root {
    --primary-color: #1A1A1A;
    --accent-color: #D4AF37;
    --accent-hover: #B8860B;
    --bg-secondary: #FAF7F2;
    --transition-slow: 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.15);
}

html {
    scroll-behavior: smooth;
}

/* Custom Luxury Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease, opacity 0.3s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
}

body:hover .custom-cursor {
    opacity: 1;
}

/* Section Subtitle Utility */
.section-subtitle {
    text-align: center;
}

/* Navbar Shrink on Scroll */
.navbar.scrolled {
    padding: 15px 8%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* --- Modal System (Size Guide) --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 4000;
    transition: all 0.3s ease;
}
.modal-overlay.active { display: flex; }

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    padding: 50px 40px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    overflow-y: auto;
    max-height: 85vh;
}

.close-modal {
    position: absolute;
    top: 25px; right: 25px;
    font-size: 2.2rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
    transition: color 0.3s ease;
}
.close-modal:hover { color: var(--accent-color); }

.size-guide-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}
.size-guide-table th, .size-guide-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}
.size-guide-table th { background: var(--bg-secondary); color: var(--primary-color); font-weight: 600; }

/* Language Switcher */
.nav-actions { display: flex; align-items: center; gap: 20px; }
.lang-toggle {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 15px;
    border: 1.5px solid var(--accent-color);
    border-radius: 30px;
    background: transparent;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.lang-toggle:hover { background: var(--accent-color); color: #fff; }

/* Arabic Layout (RTL) */
body.rtl { direction: rtl; text-align: right; }
.rtl .navbar, .rtl .nav-links, .rtl .footer-content, .rtl .hero-content { text-align: right; }
.rtl .nav-links { flex-direction: row-reverse; }
.rtl .hero { justify-content: flex-end; padding-left: 0; padding-right: 10%; }
.rtl .hero-overlay { background: linear-gradient(-90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); }
.rtl .modal-content { text-align: right; }
.rtl .close-modal { left: 25px; right: auto; }
.rtl i.fa-check { margin-left: 10px; margin-right: 0; }

/* Gifting Options */
.gift-service-box {
    background: #fdfaf4;
    border: 1px dashed var(--accent-color);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
}
.gift-checkbox-row {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    font-weight: 600;
    color: #4a4a4a;
    font-size: 1.1rem;
}
.gift-checkbox-row i { color: var(--accent-color); font-size: 1.5rem; }
.gift-message-input {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    display: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    resize: none;
}
.gift-message-input.active { display: block; animation: fadeUp 0.4s ease; }

/* WhatsApp Button - Ultra Luxury UI */
.btn-luxury-wa {
    background: linear-gradient(45deg, #25D366, #128C7E, #25D366);
    background-size: 200% auto;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.2) !important;
    padding: 20px 35px !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px;
    border-radius: 60px !important;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    cursor: pointer;
    text-transform: uppercase;
    animation: luxuryShimmer 3s infinite linear;
}

@keyframes luxuryShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-luxury-wa:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.6);
    filter: brightness(1.1);
}

.btn-luxury-wa i {
    font-size: 1.8rem;
    animation: waTilt 1s infinite alternate;
}

@keyframes waTilt {
    from { transform: rotate(-10deg); }
    to { transform: rotate(10deg); }
}

/* Quantity Scrutiny */
.qty-btn {
    border: 1px solid #e0dfd5;
    background: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.qty-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.qty-input {
    width: 70px;
    text-align: center;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Cleanup */
.packaging-spotlight, .packaging-grid, .packaging-image, .packaging-text { display: none !important; }

/* Hero Refinement */
.hero {
    justify-content: flex-start;
    padding-left: 10% !important;
}
.rtl .hero { justify-content: flex-end; padding-right: 10% !important; padding-left: 0 !important; }

/* --- Cart & Checkout Page --- */
.cart-page-container { padding: 120px 8% 80px; background: #fff; min-height: 100vh; }
.checkout-stepper { display: flex; justify-content: center; gap: 40px; margin-bottom: 60px; font-family: var(--font-heading); font-weight: 500; font-size: 1.1rem; color: #ccc; }
.checkout-stepper .step.active { color: var(--accent-color); border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; }

.cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: start; }
.checkout-section { display: none; }
.checkout-section.active { display: block; animation: fadeUp 0.6s ease; }

.cart-table-header { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 40px; padding: 20px 0; border-bottom: 2px solid #000; font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1.5px; }
.cart-table-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 40px; align-items: center; padding: 30px 0; border-bottom: 1px solid #eee; }
.cell-product { display: flex; align-items: center; gap: 20px; }
.cell-product img { border-radius: 10px; }
.cell-product h4 { font-family: var(--font-heading); margin-bottom: 5px; }
.cell-product p { color: #888; font-size: 0.9rem; }

.qty-controls { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 8px; width: fit-content; }
.qty-controls button { width: 35px; height: 35px; border: none; background: transparent; cursor: pointer; transition: 0.3s; }
.qty-controls button:hover { background: #f5f5f5; color: var(--accent-color); }
.qty-controls span { padding: 0 15px; font-weight: 600; }

.remove-item-icon { background: none; border: none; color: #ccc; cursor: pointer; transition: 0.3s; font-size: 1.1rem; }
.remove-item-icon:hover { color: #ff4d4d; }

.order-summary-card { background: var(--bg-secondary); padding: 40px; border-radius: 20px; position: sticky; top: 120px; }
.summary-card-title { font-family: var(--font-heading); margin-bottom: 30px; font-size: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 1rem; color: #555; }
.summary-total { margin-top: 25px; padding-top: 25px; border-top: 1px solid #ddd; font-weight: 700; color: #000; font-size: 1.3rem; }

/* Shipping Form */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; }
.form-control { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 10px; font-family: var(--font-body); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Success State */
.success-state { text-align: center; padding: 100px 0; max-width: 600px; margin: 0 auto; }
.success-icon { width: 80px; height: 80px; background: #25D366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; font-size: 2.5rem; }
.success-title { font-size: 2.5rem; margin-bottom: 15px; }

/* WhatsApp Checkout UI */
.whatsapp-checkout-notice {
    display: flex;
    align-items: center;
    gap: 25px;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    padding: 30px;
    border-radius: 20px;
    margin-top: 30px;
    animation: fadeUp 0.6s ease;
}

.wa-notice-icon {
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.wa-notice-text h3 {
    font-family: var(--font-heading);
    margin-bottom: 5px;
    color: #166534;
}

.wa-notice-text p {
    font-size: 0.95rem;
    color: #15803d;
    line-height: 1.5;
}

/* WhatsApp Button Variant */
.btn-whatsapp-confirm {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #fff !important;
    border: none !important;
    font-size: 1.2rem !important;
    padding: 20px !important;
    width: 100%;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.3) !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btn-whatsapp-confirm:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px rgba(37, 211, 102, 0.5) !important;
}

@media (max-width: 992px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-table-header { display: none; }
    .cart-table-row { grid-template-columns: 1fr; gap: 20px; text-align: center; }
    .cell-product { flex-direction: column; }
    .qty-controls { margin: 10px auto; }
}

/* ============================================================
   GLOBAL LUXURY ANIMATIONS (CRITICAL VISIBILITY)
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none; /* Prevent interaction while invisible */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Fallback: if JS fails, show products after 2 seconds anyway */
@keyframes forceReveal { to { opacity: 1; transform: translateY(0); } }
.reveal:not(.active) { animation: forceReveal 0.5s 2.5s forwards; }

/* ============================================================
   FLOATING ACTION BUTTONS (FAB)
   ============================================================ */
.fab-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

/* RTL Adjustment for FAB */
body.rtl .fab-container {
    right: auto;
    left: 25px;
}

.fab-item {
    width: 50px; /* Reduced from 60px */
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem; /* Reduced from 1.8rem */
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.fab-wa { background: linear-gradient(135deg, #25D366, #128C7E); }
.fab-fb { background: linear-gradient(135deg, #1877F2, #165ab7); }

.fab-item:hover {
    transform: scale(1.15) rotate(10deg);
}

.fab-item::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.5;
    z-index: -1;
    animation: fabPulse 2s infinite;
}

@keyframes fabPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================================
   VARIANTS & ENHANCEMENTS
   ============================================================ */

/* Color Swatches */
.color-selector {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.color-swatch {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.color-swatch.active {
    border-color: var(--primary-color, #D4AF37);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.color-swatch.active::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1px solid var(--primary-color, #D4AF37);
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
    from { transform: scale(1); opacity: 0.5; }
    to { transform: scale(1.05); opacity: 0.8; }
}

/* Size Buttons */
.size-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
    background: #f9f9f9;
    border-color: #eee;
    color: #bbb;
}

.size-btn.disabled:hover {
    background: #f9f9f9;
    color: #bbb;
}

/* Image Transitions */
#main-product-img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.image-fade-scale {
    opacity: 0;
    transform: scale(0.95);
}

/* Custom Color Enhancements */
.color-swatch {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.custom-anim {
    animation: fadeInColor 0.4s ease-out;
}

@keyframes fadeInColor {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.custom-color-label {
    font-size: 0.5rem;
    font-weight: 600;
    color: #444;
    line-height: 1.1;
    word-break: break-word;
    padding: 2px;
}
