@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:wght@200..800&family=Outfit:wght@100..900&display=swap');

:root {
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', 'Plus Jakarta Sans', sans-serif;

    /* Theme colors - Dark Mode Default */
    --bg-main: #07080d;
    --bg-card: rgba(20, 22, 33, 0.65);
    --bg-card-hover: rgba(30, 33, 50, 0.85);
    --border-color: rgba(212, 175, 55, 0.15);
    --border-hover: rgba(212, 175, 55, 0.45);
    --text-primary: #ffffff;
    --text-secondary: #a0a7c4;
    --text-muted: #646a86;
    
    --color-gold: #d4af37;
    --color-gold-hover: #ffd700;
    --color-gold-glow: rgba(212, 175, 55, 0.35);
    --color-electric: #00d4ff;
    --color-electric-glow: rgba(0, 212, 255, 0.4);
    --color-success: #10b981;
    --color-danger: #ef4444;
    --color-white: #ffffff;
    --color-warm-white: #fefdfb;
    --color-soft-grey: #121420;

    /* Live preview values, set by JS */
    --light-brightness: 0.8;
    --light-color-rgb: 253, 203, 110; 
}

[data-theme="light"] {
    --bg-main: #fcfbfa;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --border-color: rgba(184, 134, 11, 0.18);
    --border-hover: rgba(184, 134, 11, 0.48);
    --text-primary: #12131a;
    --text-secondary: #4d5269;
    --text-muted: #8c92ad;
    
    --color-gold: #b8860b;
    --color-gold-hover: #996515;
    --color-gold-glow: rgba(184, 134, 11, 0.2);
    --color-electric: #0070f3;
    --color-electric-glow: rgba(0, 112, 243, 0.2);
    --color-soft-grey: #f4f3f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

html, body {
    overflow-x: hidden;
    width: 100%;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 212, 255, 0.03) 0%, transparent 45%);
    background-attachment: fixed;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Global Navigation Header */
header.header-nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(var(--bg-main) == #07080d ? 7 : 252, var(--bg-main) == #07080d ? 8 : 251, var(--bg-main) == #07080d ? 13 : 250, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-bulb {
    width: 32px;
    height: 32px;
    fill: var(--color-gold);
    filter: drop-shadow(0 0 6px var(--color-gold-glow));
    animation: pulseGlow 3s infinite alternate;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-text span {
    color: var(--color-gold);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.search-box {
    position: relative;
    width: 280px;
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 2.5rem;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: var(--color-soft-grey);
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
    transition: all 0.3s;
}

.search-box input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 10px var(--color-gold-glow);
}

.voice-search-btn {
    position: absolute;
    right: 0.9rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 5;
}

.search-box svg {
    position: absolute;
    left: 0.9rem;
    width: 16px;
    height: 16px;
    stroke: var(--text-muted);
    fill: none;
}

.nav-btn {
    position: relative;
    padding: 0.5rem;
    border-radius: 50%;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-btn:hover {
    color: var(--color-gold);
    background: var(--color-soft-grey);
}

.nav-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.nav-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-gold);
    color: #000;
    font-weight: 700;
    font-size: 0.7rem;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle svg {
    display: block;
}

.theme-toggle .sun-icon {
    display: none;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

/* Tab Views Container */
.view-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    min-height: calc(100vh - 180px);
}

.shop-view {
    display: none;
}

.shop-view.active-view {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

/* Home Hero Section */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.hero-text {
    padding-right: 2rem;
}

.hero-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-text h1 span {
    color: var(--color-gold);
    position: relative;
    display: inline-block;
}

.hero-text h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--color-gold-glow);
    z-index: -1;
}

.hero-subheading {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), #b8860b);
    color: #000;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px var(--color-gold-glow);
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-gold-glow);
    color: #000;
}

.btn-secondary {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.85rem 2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--color-soft-grey);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

/* ============================================================
   INTERACTIVE LIGHT VISUALIZER
   ============================================================ */

/* Widget wrapper: groups image + controls as one unit */
.visualizer-widget {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
}

/* Image area */
.visualizer-container-premium {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-bottom: none;
    flex-shrink: 0;
}

.visualizer-bg-room {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    filter: brightness(0.62) contrast(1.08);
}

.visualizer-glow-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: var(--light-brightness);
    background: radial-gradient(circle at 50% 28%, rgba(var(--light-color-rgb), 0.8) 0%, rgba(var(--light-color-rgb), 0.35) 45%, transparent 70%);
    transition: opacity 0.2s ease-out;
}

.visualizer-hanging-lamp {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lamp-cord {
    width: 2px;
    height: 90px;
    background: #555;
}

.lamp-fixture {
    width: 60px;
    height: 38px;
    background: linear-gradient(to right, #1e1e1e, #d4af37, #1e1e1e);
    clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
    border-bottom: 2px solid var(--color-gold);
}

.lamp-bulb {
    width: 32px;
    height: 50px;
    background: rgba(var(--light-color-rgb), calc(0.2 + var(--light-brightness) * 0.8));
    border-radius: 50% 50% 35% 35%;
    margin-top: -2px;
    position: relative;
    box-shadow: 0 0 calc(var(--light-brightness) * 40px) rgba(var(--light-color-rgb), 0.95);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    transition: background 0.2s, box-shadow 0.2s;
}

.lamp-bulb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(var(--light-color-rgb), 1);
}

/* Live badge top-right of image */
.viz-live-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.viz-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    animation: viz-dot-pulse 1.8s ease-in-out infinite;
}

@keyframes viz-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

/* ─── Controls Panel Below Image ─── */
.visualizer-controls-below {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Top row: power + presets */
.viz-ctrl-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.viz-power-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.viz-ctrl-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Color preset buttons */
.viz-presets {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.viz-preset-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
    /* Expand tap area without changing visual size */
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.viz-preset-btn:hover,
.viz-preset-btn.active {
    transform: scale(1.18);
    border-color: var(--color-gold);
    box-shadow: 0 0 10px var(--color-gold-glow);
}

/* Power toggle switch */
.switch-container {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    cursor: pointer;
    flex-shrink: 0;
}

.switch-input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.switch-slider {
    position: absolute;
    inset: 0;
    background: var(--border-color);
    border-radius: 26px;
    transition: background 0.3s;
}

.switch-slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.switch-input:checked + .switch-slider {
    background: var(--color-gold);
}

.switch-input:checked + .switch-slider::before {
    transform: translateX(20px);
}

/* ─── Sliders Row ─── */
.viz-sliders-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.viz-slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.viz-slider-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.viz-slider-icon {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: var(--color-gold);
    stroke-width: 2;
    stroke-linecap: round;
    flex-shrink: 0;
}

.viz-slider-header label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    cursor: pointer;
}

.viz-val-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-gold);
    background: var(--color-gold-glow);
    padding: 0.1rem 0.45rem;
    border-radius: 8px;
    white-space: nowrap;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.viz-slider-track {
    position: relative;
}

.viz-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    border: none;
    /* iOS Safari: allow horizontal drag without triggering page scroll */
    touch-action: pan-x;
}

.viz-range-bright {
    background: linear-gradient(to right, rgba(212,175,55,0.15) 0%, var(--color-gold) 80%);
}

.viz-range-temp {
    background: linear-gradient(to right, #FDCB6E 0%, #FEF3C7 40%, #BAE6FD 75%, #DBEAFE 100%);
}

.viz-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--color-gold);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25), 0 0 8px var(--color-gold-glow);
    transition: transform 0.15s, box-shadow 0.15s;
}

.viz-range::-webkit-slider-thumb:hover,
.viz-range:active::-webkit-slider-thumb {
    transform: scale(1.2);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3), 0 0 14px var(--color-gold-glow);
}

.viz-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--color-gold);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.viz-slider-marks {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    padding: 0 2px;
}

/* ─── Old overlay hidden ─── */
.visualizer-controls-overlay,
.slider-group-premium,
.visualizer-power-switch {
    display: none;
}

/* Category Grid Section */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.category-scroll-container {
    width: 100%;
    overflow-x: auto;
    padding: 0.5rem 0.25rem 2rem 0.25rem;
    margin-bottom: 2.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-electric) transparent;
}

.category-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.category-scroll-container::-webkit-scrollbar-thumb {
    background: var(--color-electric);
    border-radius: 10px;
}

.category-grid-container {
    display: flex;
    gap: 1.5rem;
    width: max-content;
}

.category-card {
    position: relative;
    width: 240px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-card-img-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.category-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 50%, rgba(15, 23, 42, 0.92) 100%);
    transition: opacity 0.35s ease;
}

.category-icon-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-svg-icon {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 0 6px rgba(255, 107, 0, 0.4));
}

.category-card-content {
    position: relative;
    z-index: 3;
    padding: 1.25rem;
    margin-top: auto;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.category-title {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
}

.category-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.category-count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.category-arrow-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 48px;
    min-height: 48px;
}

.category-arrow-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 2.2;
    stroke-linecap: round;
}

/* Hover & Active States */
.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.25), 0 0 25px rgba(255, 107, 0, 0.35);
    border-color: var(--color-electric);
}

.category-card:hover .category-card-img {
    transform: scale(1.1);
}

.category-card:hover .category-icon-badge {
    background: #0F172A;
    border-color: var(--color-electric);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.6);
    transform: scale(1.1) rotate(4deg);
}

.category-card:hover .category-arrow-btn {
    background: var(--color-electric);
    transform: translateX(4px);
}

.category-card.active {
    border-color: var(--color-electric);
    box-shadow: 0 0 25px rgba(255, 107, 0, 0.5);
}

.category-card.active .category-icon-badge {
    background: var(--color-electric);
    border-color: #FFFFFF;
}

/* Room filters tab selector */
.room-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.room-tab {
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}

.room-tab:hover, .room-tab.active {
    background: var(--color-gold);
    color: #000;
    border-color: var(--color-gold);
    box-shadow: 0 4px 12px var(--color-gold-glow);
}

/* Product list Grid styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-badge-discount {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #fff;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 10;
}

.wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
    background: rgba(10, 11, 16, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
    z-index: 10;
}

.wishlist-btn:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
}

.wishlist-btn.active {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    fill: #ef4444;
}

.product-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f111a;
}

[data-theme="light"] .product-img-wrapper {
    background: #f7f6f0;
}

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

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

.quick-view-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    padding: 0.85rem;
    display: flex;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .quick-view-overlay {
    transform: translateY(0);
}

.btn-quickview {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-quickview:hover {
    color: var(--color-gold);
}

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-brand {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-gold);
    margin-bottom: 0.35rem;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-ratings {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.rating-stars {
    color: var(--color-gold);
}

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

.product-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.product-price-section {
    display: flex;
    flex-direction: column;
}

.price-actual {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-original {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.btn-add-cart-quick {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-soft-grey);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-add-cart-quick:hover {
    background: var(--color-gold);
    color: #000;
    border-color: var(--color-gold);
    box-shadow: 0 4px 10px var(--color-gold-glow);
}

.btn-add-cart-quick svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Brands Carousel section */
.brands-row {
    margin-bottom: 5rem;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.brands-scroller {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.brands-track {
    display: flex;
    gap: 3.5rem;
    width: max-content;
    animation: scrollTrack 25s linear infinite;
}

.brand-logo-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    letter-spacing: -0.5px;
    user-select: none;
    transition: all 0.3s;
}

.brand-logo-item:hover {
    color: var(--color-gold);
    opacity: 1;
}

/* Deals Banner Section */
.deals-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

.deals-banner {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.deals-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212,175,55,0.1), transparent);
    z-index: 1;
}

.deals-banner-content {
    position: relative;
    z-index: 2;
}

.deals-banner h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.deals-banner p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.countdown-timer {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.countdown-box {
    background: var(--color-soft-grey);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 65px;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown-box .count-num {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1.1;
}

.countdown-box .count-lbl {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.deals-side {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.deals-side h4 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.deals-side span {
    color: var(--color-gold);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: block;
}

/* Why Choose Us Icons section */
.features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

@media (max-width: 900px) {
    .features-row {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .features-row {
        grid-template-columns: 1fr;
    }
}

.feature-box {
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 20px;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-soft-grey);
    border: 1px solid var(--border-color);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
}

.feature-icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.feature-box h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Customer Reviews Carousel */
.testimonials-section {
    margin-bottom: 5rem;
}

.carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.reviews-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review-slide {
    min-width: 100%;
    padding: 2.5rem;
    text-align: center;
}

.review-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), #8a6d1c);
    color: #000;
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    border: 2px solid var(--border-color);
}

.review-quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

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

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--color-gold);
    width: 20px;
    border-radius: 4px;
}

/* Inspiration Gallery */
.inspiration-section {
    margin-bottom: 5rem;
}

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

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

.inspiration-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 260px;
    border: 1px solid var(--border-color);
}

.inspiration-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.inspiration-item:hover img {
    transform: scale(1.06);
}

.inspiration-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 70%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.inspiration-overlay h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.inspiration-overlay span {
    font-size: 0.8rem;
    color: var(--color-gold);
}

/* Blog Section */
.blog-section {
    margin-bottom: 5rem;
}

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

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

.blog-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-img-wrapper {
    height: 200px;
    background: #0d0f17;
}

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

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.75rem;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.blog-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.btn-blog-read {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.btn-blog-read:hover {
    color: var(--color-gold-hover);
}

/* Global Footer Styles */
footer.global-footer {
    background: var(--color-soft-grey);
    border-top: 1px solid var(--border-color);
    padding: 5rem 2rem 2rem 2rem;
    color: var(--text-secondary);
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto 4rem auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

.footer-brand-col h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-brand-col h3 span {
    color: var(--color-gold);
}

.footer-brand-col p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.social-icon:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul a {
    font-size: 0.85rem;
    transition: color 0.3s;
}

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

.footer-newsletter h4 {
    margin-bottom: 1rem;
}

.footer-newsletter p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--color-gold);
}

.newsletter-form button {
    background: var(--color-gold);
    color: #000;
    font-weight: 700;
    padding: 0 1.25rem;
    border-radius: 20px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

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

/* Product Detail Page View Layout */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

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

.product-gallery-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.large-image-frame {
    border-radius: 20px;
    overflow: hidden;
    height: 480px;
    border: 1px solid var(--border-color);
    background: #0d0f17;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .large-image-frame {
    background: #f7f6f0;
}

.large-image-frame img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s;
}

.large-image-frame.zoomed img {
    transform: scale(1.6);
    cursor: zoom-out;
}

.btn-360-trigger {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    background: rgba(0,0,0,0.7);
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-360-trigger:hover {
    background: var(--color-gold);
    color: #000;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.75rem;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    background: #0d0f17;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .thumb-item {
    background: #f7f6f0;
}

.thumb-item img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.thumb-item.active {
    border-color: var(--color-gold);
    box-shadow: 0 0 8px var(--color-gold-glow);
}

.product-info-block {
    display: flex;
    flex-direction: column;
}

.p-meta-brand {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 1.5px;
}

.p-detail-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.p-rating-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.p-rating-stars {
    color: var(--color-gold);
}

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

.p-price-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.p-price-actual {
    font-size: 2.2rem;
    font-weight: 800;
}

.p-price-original {
    font-size: 1.3rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.p-price-discount {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.p-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.p-quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.p-quantity-selector span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.p-qty-btn-group {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    overflow: hidden;
    background: var(--color-soft-grey);
}

.p-qty-btn-group button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-primary);
}

.p-qty-btn-group button:hover {
    background: rgba(255,255,255,0.05);
}

.p-qty-val {
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.p-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.p-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.p-feature-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-gold);
    flex-shrink: 0;
}

/* Tabs Panel under Product Detail */
.product-tabs-block {
    margin-bottom: 5rem;
}

.tabs-header-bar {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.tab-link-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
}

.tab-link-btn.active {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

.tab-content-panel {
    display: none;
    line-height: 1.6;
    color: var(--text-secondary);
}

.tab-content-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

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

.specs-table td {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
}

.specs-table td.spec-lbl {
    font-weight: 700;
    color: var(--text-primary);
    width: 30%;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--color-soft-grey);
}

.faq-item.active .faq-answer {
    padding: 1.25rem;
    max-height: 300px;
    border-top: 1px solid var(--border-color);
}

/* Review submission form styles */
.reviews-tab-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .reviews-tab-container {
        grid-template-columns: 1fr;
    }
}

.review-list-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.single-review-card {
    padding: 1.25rem;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.single-review-hdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.single-review-usr {
    font-weight: 700;
    font-size: 0.9rem;
}

.single-review-comment {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.review-form-block h4 {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.review-input-group {
    margin-bottom: 1.25rem;
}

.review-input-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.review-input-group input, .review-input-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: var(--color-soft-grey);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    outline: none;
}

.review-input-group input:focus, .review-input-group textarea:focus {
    border-color: var(--color-gold);
}

.stars-rating-select {
    display: flex;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 1.4rem;
}

.stars-rating-select span {
    cursor: pointer;
}

.stars-rating-select span.hovered, .stars-rating-select span.selected {
    color: var(--color-gold);
}

/* Cart & Checkout View Layouts */
.cart-checkout-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 900px) {
    .cart-checkout-layout {
        grid-template-columns: 1fr;
    }
}

.cart-items-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    background: #0d0f17;
}

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

.cart-item-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.cart-item-brand {
    font-size: 0.75rem;
    color: var(--color-gold);
    font-weight: 600;
    text-transform: uppercase;
}

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

.cart-item-remove {
    color: var(--text-muted);
    padding: 0.5rem;
}

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

.checkout-forms-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.checkout-step-card {
    padding: 2rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.checkout-step-hdr {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkout-step-hdr .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-gold);
    color: #000;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.checkout-step-hdr h3 {
    font-size: 1.25rem;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.checkout-form-grid .full-w {
    grid-column: span 2;
}

.checkout-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.checkout-input-wrapper label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.checkout-input-wrapper input, .checkout-input-wrapper select {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--color-soft-grey);
    color: var(--text-primary);
    outline: none;
}

.checkout-input-wrapper input:focus, .checkout-input-wrapper select:focus {
    border-color: var(--color-gold);
}

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

.gateway-option {
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    background: var(--color-soft-grey);
}

.gateway-option.active {
    border-color: var(--color-gold);
    background: rgba(212,175,55,0.05);
}

.gateway-option input {
    accent-color: var(--color-gold);
}

.gateway-lbl {
    font-weight: 700;
    font-size: 0.9rem;
}

/* Order Summary box right column */
.order-summary-card {
    padding: 2rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 90px;
}

.order-summary-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.summary-rows {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.summary-row.total-row {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    border-top: 1px solid var(--border-color);
    padding-top: 0.85rem;
}

.promo-coupon-section {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.promo-coupon-section input {
    flex-grow: 1;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--color-soft-grey);
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
}

.btn-promo-apply {
    background: var(--color-gold);
    color: #000;
    font-weight: 700;
    padding: 0.6rem 1.25rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.summary-active-coupon {
    font-size: 0.8rem;
    color: var(--color-success);
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.3);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.btn-coupon-remove {
    color: var(--color-danger);
    font-weight: 700;
}

.btn-checkout-place {
    width: 100%;
    margin-top: 1rem;
}

/* User Account View Styling */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
}

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

.account-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.account-sidebar-btn {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-align: left;
    transition: all 0.3s;
}

.account-sidebar-btn:hover, .account-sidebar-btn.active {
    background: var(--color-soft-grey);
    color: var(--color-gold);
}

.account-sidebar-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.account-profile-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.account-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), #8a6d1c);
    color: #000;
    font-weight: 800;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

.account-details h3 {
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
}

.account-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.account-panels-container {
    display: flex;
    flex-direction: column;
}

.account-panel-view {
    display: none;
}

.account-panel-view.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.wallet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.wallet-card {
    padding: 2rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 150px;
}

.wallet-card h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.wallet-balance {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-gold);
}

.orders-history-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.order-history-item {
    padding: 1.5rem;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.order-history-hdr {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.order-id-lbl {
    font-weight: 700;
}

.order-date-lbl {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.order-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.order-status-badge.pending {
    background: rgba(245,158,11,0.15);
    color: #f59e0b;
}

.order-status-badge.delivered {
    background: rgba(16,185,129,0.15);
    color: var(--color-success);
}

.order-history-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

.order-total-lbl {
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-invoice-download {
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-invoice-download:hover {
    color: var(--color-gold-hover);
}

/* Admin Dashboard View Styling */
.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-sidebar-btn {
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.3s;
}

.admin-sidebar-btn:hover, .admin-sidebar-btn.active {
    background: var(--color-soft-grey);
    color: var(--color-gold);
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

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

.admin-stat-card {
    padding: 1.5rem;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.admin-stat-card h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.admin-stat-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.admin-stat-card .trend-pos {
    color: var(--color-success);
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

/* Admin Custom SVG Chart Styling */
.chart-container-premium {
    padding: 2rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.svg-chart-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
}

.svg-chart-wrapper svg {
    width: 100%;
    height: 100%;
}

.chart-bar {
    fill: var(--color-gold);
    opacity: 0.85;
    transition: height 0.5s ease, y 0.5s ease, fill 0.3s;
}

.chart-bar:hover {
    fill: var(--color-gold-hover);
    opacity: 1;
    filter: drop-shadow(0 0 8px var(--color-gold-glow));
}

.chart-grid-line {
    stroke: var(--border-color);
    stroke-width: 1;
}

.chart-text {
    fill: var(--text-muted);
    font-size: 11px;
}

/* Admin tables & lists styling */
.admin-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow-x: auto;
    margin-top: 1.5rem;
}

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

.admin-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    background: var(--color-soft-grey);
}

.admin-table td {
    padding: 1.25rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

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

.admin-table tr:hover {
    background: rgba(255,255,255,0.015);
}

.admin-action-btn-group {
    display: flex;
    gap: 0.5rem;
}

.btn-admin-action {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.btn-admin-action:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: var(--color-soft-grey);
}

.btn-admin-action.delete:hover {
    border-color: var(--color-danger);
    color: var(--color-danger);
    background: rgba(239, 68, 68, 0.1);
}

.admin-panel-hdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.admin-form-block {
    padding: 2rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

/* Modals overlays styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: fadeIn 0.3s ease forwards;
}

.modal-content-box {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-soft-grey);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close-btn:hover {
    color: var(--text-primary);
    border-color: var(--color-gold);
}

/* 360 viewer modal custom elements */
.viewer-360-container {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    background: #000;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-360-img {
    height: 85%;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

.viewer-360-hint {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    pointer-events: none;
}

/* GST Invoice Print Frame view styling */
.invoice-print-frame {
    padding: 2rem;
    background: #fff;
    color: #000;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border-radius: 12px;
}

.invoice-hdr {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #000;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.invoice-logo-title {
    font-size: 1.8rem;
    font-weight: 800;
}

.invoice-meta {
    text-align: right;
    font-size: 0.85rem;
    line-height: 1.5;
}

.invoice-billing-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.invoice-bill-title {
    font-weight: 700;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.35rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.invoice-table th {
    background: #f0f0f0;
    color: #000;
    border: 1px solid #ddd;
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
    text-align: left;
}

.invoice-table td {
    border: 1px solid #ddd;
    padding: 0.85rem;
    font-size: 0.85rem;
}

.invoice-totals-table {
    width: 300px;
    margin-left: auto;
    margin-bottom: 2rem;
}

.invoice-totals-table tr td {
    padding: 0.5rem;
    font-size: 0.9rem;
}

.invoice-totals-table tr td:last-child {
    text-align: right;
    font-weight: 700;
}

.invoice-footer-notes {
    border-top: 1px solid #ccc;
    padding-top: 1rem;
    font-size: 0.8rem;
    text-align: center;
    color: #555;
}

.btn-invoice-print-act {
    background: #000;
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    margin-top: 1.5rem;
    display: inline-block;
    transition: all 0.3s;
}

.btn-invoice-print-act:hover {
    background: #d4af37;
    color: #000;
}

/* WhatsApp Floating chat widget */
.whatsapp-widget-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.whatsapp-badge-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.whatsapp-badge-icon:hover {
    transform: scale(1.1);
}

.whatsapp-badge-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.whatsapp-chat-box {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    display: none;
    flex-direction: column;
}

.whatsapp-chat-box.active {
    display: flex;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.whatsapp-box-hdr {
    background: #075e54;
    color: #fff;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.whatsapp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #128c7e;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-status-info h4 {
    font-size: 0.9rem;
    color: #fff;
}

.whatsapp-status-info span {
    font-size: 0.7rem;
    color: #c4ebe6;
}

.whatsapp-box-body {
    padding: 1.25rem;
    background: #ece5dd;
    color: #000;
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

[data-theme="light"] .whatsapp-box-body {
    background: #e5ddd5;
}

.wa-msg {
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    font-size: 0.8rem;
    max-width: 85%;
    line-height: 1.4;
}

.wa-msg.inbound {
    background: #fff;
    align-self: flex-start;
}

.wa-msg.outbound {
    background: #e2f7cb;
    align-self: flex-end;
}

.whatsapp-box-footer {
    padding: 0.75rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
    display: flex;
    gap: 0.5rem;
}

.whatsapp-box-footer input {
    flex-grow: 1;
    padding: 0.5rem 0.85rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--color-soft-grey);
    color: var(--text-primary);
    font-size: 0.8rem;
    outline: none;
}

.btn-wa-send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #128c7e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Toast alert notification styling */
.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast-message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    background: rgba(18, 20, 30, 0.95);
    border-left: 4px solid var(--color-gold);
    color: var(--text-primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInLeft 0.3s ease-out forwards;
}

.toast-message.success {
    border-left-color: var(--color-success);
}

.toast-message.danger {
    border-left-color: var(--color-danger);
}

/* Standard animation frames */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInLeft {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes pulseGlow {
    from { filter: drop-shadow(0 0 2px var(--color-gold-glow)); }
    to { filter: drop-shadow(0 0 8px var(--color-gold-glow)); }
}

@keyframes scrollTrack {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Compare Tray & Matrix styling */
#compare-tray {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    height: 80px;
    background: rgba(18, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#compare-tray.active {
    bottom: 0;
}

.compare-items-list {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.compare-tray-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.compare-tray-item-remove {
    cursor: pointer;
    color: var(--color-danger);
    font-weight: 700;
}

.compare-matrix-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    color: var(--text-primary);
}

.compare-matrix-table th, .compare-matrix-table td {
    padding: 1rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.compare-matrix-table th {
    background: rgba(255,255,255,0.03);
    font-family: var(--font-primary);
    color: var(--color-gold);
}

.compare-matrix-table tr td:first-child {
    font-weight: 700;
    text-align: left;
    background: rgba(255,255,255,0.02);
}

/* Voice Search overlay styling */
.voice-search-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}

.voice-mic-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212,175,55,0.1);
    border: 2px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    cursor: pointer;
}

.voice-mic-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--color-gold);
}

.voice-mic-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(212,175,55,0.2);
    animation: voiceRadar 1.5s infinite ease-out;
}

@keyframes voiceRadar {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.voice-soundwave {
    display: flex;
    gap: 6px;
    height: 40px;
    align-items: center;
    margin: 1.5rem 0;
}

.voice-wave-bar {
    width: 4px;
    height: 10px;
    background: var(--color-gold);
    border-radius: 2px;
    animation: waveBounce 0.8s ease-in-out infinite alternate;
}

.voice-wave-bar:nth-child(2) { animation-delay: 0.15s; }
.voice-wave-bar:nth-child(3) { animation-delay: 0.3s; }
.voice-wave-bar:nth-child(4) { animation-delay: 0.45s; }
.voice-wave-bar:nth-child(5) { animation-delay: 0.6s; }

@keyframes waveBounce {
    0% { height: 10px; }
    100% { height: 35px; }
}

/* Multi-Facet Filter styling */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.filter-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-group-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    accent-color: var(--color-gold);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* Brand Directory & Inspiration View */
.brands-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.brand-directory-card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.brand-directory-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.brand-directory-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.brand-directory-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.view-brand-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-electric);
}

.inspiration-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.inspiration-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
}

.inspiration-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.inspiration-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.inspiration-details h4 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    color: var(--color-gold);
}

.inspiration-details p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.inspiration-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-electric);
    cursor: pointer;
    margin-top: 0.5rem;
}

@media (max-width: 992px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    .filter-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}

/* ============================================================
   MOBILE NAVIGATION - HAMBURGER + DRAWER
   ============================================================ */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.hamburger-btn:hover {
    background: var(--color-soft-grey);
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Overlay backdrop */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Slide-in Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 88vw);
    height: 100dvh;
    background: var(--bg-main);
    border-left: 1px solid var(--border-color);
    z-index: 1600;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

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

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

.mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav-close:hover {
    background: var(--color-soft-grey);
    color: var(--color-gold);
}

/* Mobile search in drawer */
.mobile-search-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 1.25rem;
    padding: 0.7rem 1rem;
    background: var(--color-soft-grey);
    border: 1px solid var(--border-color);
    border-radius: 30px;
}

.mobile-search-box input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.mobile-search-box input::placeholder {
    color: var(--text-muted);
}

/* Mobile nav links */
.mobile-nav-links {
    list-style: none;
    padding: 0.5rem 0;
    flex: 1;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s;
    gap: 0.75rem;
    min-height: 52px;
    text-decoration: none;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--color-gold);
    background: var(--color-soft-grey);
    padding-left: 1.75rem;
}

.mobile-nav-footer {
    padding: 1.5rem 1.25rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.mobile-nav-theme-btn {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--color-soft-grey);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    min-height: 48px;
    transition: all 0.2s;
}

.mobile-nav-theme-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* ============================================================
   TABLET - 1024px
   ============================================================ */
@media (max-width: 1024px) {
    .header-container {
        padding: 1rem 1.5rem;
    }

    .search-box {
        width: 200px;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a {
        font-size: 0.88rem;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .view-container {
        padding: 2rem 1.5rem;
    }
}

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

    /* Header */
    .header-container {
        padding: 0.875rem 1rem;
    }

    nav[aria-label="Main Navigation"] {
        display: none;
    }

    .search-box {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    /* Hide desktop-only nav actions except badges + hamburger */
    .nav-btn.theme-toggle,
    #nav-compare-btn {
        display: none;
    }

    /* Brand logo shrink */
    .brand-text {
        font-size: 1.3rem;
    }

    .logo-bulb {
        width: 26px;
        height: 26px;
    }

    /* View container */
    .view-container {
        padding: 1.25rem 1rem;
    }

    /* Hero */
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    .hero-text {
        padding-right: 0;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .hero-subheading {
        font-size: 0.95rem;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Visualizer widget — image shorter on tablet */
    .visualizer-container-premium {
        height: 300px;
    }

    .visualizer-controls-below {
        padding: 1rem 1.25rem;
        gap: 1rem;
    }

    .viz-sliders-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .viz-ctrl-top-row {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.6rem;
    }

    /* Category cards */
    .category-card {
        width: 175px;
        height: 220px;
    }

    /* Room selector */
    .room-selector {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-start;
    }

    .room-tab {
        font-size: 0.8rem;
        padding: 0.5rem 0.9rem;
    }

    /* Product grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-card {
        min-height: auto;
    }

    .product-img-wrapper {
        height: 160px;
    }

    .product-title {
        font-size: 0.9rem;
    }

    .product-content {
        padding: 0.875rem;
    }

    /* Filter sidebar */
    .filter-sidebar {
        display: none;
    }

    /* Deals section */
    .deals-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .countdown-grid {
        gap: 0.75rem;
    }

    .countdown-box {
        min-width: 60px;
        padding: 0.75rem;
    }

    .count-num {
        font-size: 1.8rem;
    }

    /* Features row */
    .features-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .feature-box {
        padding: 1.25rem 1rem;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Account / Info layout */
    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-sidebar-nav {
        display: flex;
        overflow-x: auto;
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.75rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .account-sidebar-btn {
        scroll-snap-align: start;
        flex-shrink: 0;
        white-space: nowrap;
        padding: 0.6rem 1rem;
        font-size: 0.82rem;
        border-radius: 30px;
        border: 1px solid var(--border-color);
        min-height: 40px;
    }

    .account-sidebar-btn.active {
        background: var(--color-gold);
        color: #000;
        border-color: var(--color-gold);
    }

    /* Admin layout */
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 0.5rem;
        padding: 0.75rem;
        scroll-snap-type: x mandatory;
    }

    .admin-sidebar-btn {
        scroll-snap-align: start;
        flex-shrink: 0;
        white-space: nowrap;
        border-radius: 30px;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        border: 1px solid var(--border-color);
        min-height: 40px;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Cart / Checkout layout */
    .cart-checkout-layout {
        grid-template-columns: 1fr;
    }

    /* Modal responsiveness */
    .modal-box {
        width: 95vw;
        padding: 1.5rem;
        max-height: 90dvh;
        overflow-y: auto;
        border-radius: 20px;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    /* Table responsiveness */
    .admin-data-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 0.8rem;
    }

    /* Compare tray */
    .compare-tray {
        bottom: 0;
        border-radius: 20px 20px 0 0;
        padding: 1rem;
    }

    /* Toast notifications */
    .toast-container {
        bottom: 80px;
        right: 1rem;
        left: 1rem;
        align-items: stretch;
    }

    .toast-notification {
        width: 100%;
    }

    /* WhatsApp badge */
    .whatsapp-badge {
        bottom: 80px;
        right: 1rem;
    }

    /* Checkout form */
    .checkout-form-grid {
        grid-template-columns: 1fr;
    }

    /* Deals timer */
    .deals-timer-section {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

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

    .view-container {
        padding: 1rem 0.75rem;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-tagline {
        font-size: 0.75rem;
    }

    .section-header h2 {
        font-size: 1.35rem;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    /* Single column products on very small screens */
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* Category cards slightly smaller */
    .category-card {
        width: 155px;
        height: 200px;
    }

    .category-title {
        font-size: 1rem;
    }

    /* Features single column */
    .features-row {
        grid-template-columns: 1fr;
    }

    /* Hero CTA stack */
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        max-width: 280px;
    }

    /* Visualizer compact */
    .visualizer-container-premium {
        height: 240px;
        border-radius: 16px 16px 0 0;
    }

    .visualizer-controls-below {
        grid-template-columns: auto 1fr 1fr;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }

    /* Product action buttons */
    .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .product-actions button {
        width: 100%;
    }

    /* Admin stats 1 column */
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    /* Modals full screen on tiny devices */
    .modal-box {
        width: 100vw;
        min-height: 70dvh;
        border-radius: 20px 20px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        margin: 0;
    }

    /* Checkout steps */
    .checkout-steps {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    /* Footer compact */
    .footer-brand-col h3 {
        font-size: 1.35rem;
    }

    /* Header brand text */
    .brand-text {
        font-size: 1.15rem;
    }

    .logo-bulb {
        width: 22px;
        height: 22px;
    }

    /* Nav badges */
    .nav-badge {
        width: 14px;
        height: 14px;
        font-size: 0.6rem;
    }
}

/* ============================================================
   MOBILE BOTTOM NAV BAR
   ============================================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 900;
    padding: 0 0.5rem;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.mobile-bottom-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 56px;
    min-height: 52px;
    border-radius: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0.4rem;
    position: relative;
}

.mobile-bottom-nav-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: all 0.2s;
}

.mobile-bottom-nav-btn .mobile-badge {
    position: absolute;
    top: 4px;
    right: 8px;
    background: var(--color-gold);
    color: #000;
    font-weight: 700;
    font-size: 0.58rem;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-bottom-nav-btn.active,
.mobile-bottom-nav-btn:hover {
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.08);
}

.mobile-bottom-nav-btn.active svg {
    filter: drop-shadow(0 0 4px var(--color-gold-glow));
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }

    /* Add padding to main so content isn't hidden behind bottom nav */
    main.view-container {
        padding-bottom: calc(64px + 1rem + env(safe-area-inset-bottom, 0px));
    }

    footer {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }
}

/* ============================================================
   TOUCH TARGETS - Accessibility (all interactive elements ≥ 48px)
   ============================================================ */
@media (max-width: 768px) {
    button,
    a,
    .nav-btn,
    .room-tab,
    .filter-option,
    .category-card,
    .product-card,
    .account-sidebar-btn,
    .admin-sidebar-btn,
    .wishlist-btn,
    .btn-add-cart-quick,
    .hamburger-btn {
        min-height: 48px;
        min-width: 48px;
    }

    .product-card {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.15);
    }

    .product-card:active,
    .category-card:active,
    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    select,
    textarea {
        min-height: 48px;
        font-size: 16px !important; /* prevent iOS auto-zoom on focus */
    }
}

/* ============================================================
   LANDSCAPE MOBILE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .visualizer-container-premium {
        height: 200px;
    }

    .visualizer-controls-below {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .viz-sliders-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }

    .mobile-nav-drawer {
        overflow-y: auto;
    }
}

/* ============================================================
   MOBILE FIXES & FILTER PANEL
   ============================================================ */

/* Prevent overflow-x from blocking drawer animation */
body {
    overflow-x: clip; /* use clip instead of hidden for fixed children */
}

/* Mobile filter toggle button */
.mobile-filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.25rem;
    background: var(--color-soft-grey);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1.25rem;
    transition: all 0.2s;
    min-height: 44px;
}

.mobile-filter-toggle-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.mobile-filter-active-count {
    background: var(--color-gold);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile filter sidebar becomes bottom sheet */
.filter-sidebar.mobile-open {
    display: block !important;
    position: fixed;
    bottom: 64px; /* above bottom nav */
    left: 0;
    right: 0;
    max-height: 70dvh;
    overflow-y: auto;
    z-index: 1200;
    border-radius: 20px 20px 0 0;
    border: 1px solid var(--border-color);
    border-bottom: none;
    animation: slideUpFadeIn 0.3s ease forwards;
    padding: 1.5rem;
}

@keyframes slideUpFadeIn {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Mobile filter overlay */
.mobile-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
}

.mobile-filter-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Fix: hero-subheading not wrapping properly on small screens */
@media (max-width: 768px) {
    .mobile-filter-toggle-btn {
        display: flex;
    }

    /* Fix hero text align when centered */
    .hero-text {
        order: 1;
    }
    .visualizer-container-premium {
        order: 2;
    }

    /* Fix section header overflow */
    .section-header h2 {
        word-break: break-word;
    }

    /* Fix product grid cards not equal height */
    .products-grid {
        align-items: start;
    }

    /* Countdown box fix */
    .count-label {
        font-size: 0.6rem;
    }

    /* Fix deals section text */
    .deals-text h2 {
        font-size: 1.4rem;
    }

    /* Bottom nav z-index above compare tray */
    .mobile-bottom-nav {
        z-index: 950;
    }

    /* Compare tray above bottom nav */
    .compare-tray {
        bottom: 64px !important;
    }

    /* Whatsapp widget above bottom nav */
    .whatsapp-widget-container {
        bottom: 74px !important;
    }

    /* Fix inspiration grid on mobile */
    .inspiration-grid {
        grid-template-columns: 1fr !important;
    }

    /* Fix blog grid */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Fix reviews tab container */
    .reviews-tab-container {
        grid-template-columns: 1fr;
    }

    /* Checkout steps overflow */
    .checkout-steps {
        overflow-x: auto;
        flex-direction: row;
        padding-bottom: 0.5rem;
    }

    .checkout-step {
        flex-shrink: 0;
    }

    /* Info / Help sections */
    .info-section {
        padding: 2rem 1rem;
    }
}

/* Fix: filter sidebar close handle for mobile */
.filter-sidebar.mobile-open::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    margin: -0.5rem auto 1.25rem;
}

/* Fix: visualizer on very small screens */
@media (max-width: 380px) {
    .visualizer-container-premium {
        height: 200px;
    }

    .visualizer-controls-below {
        padding: 0.75rem 0.85rem;
        gap: 0.75rem;
    }

    .viz-preset-btn {
        width: 24px;
        height: 24px;
    }

    .hero-text h1 {
        font-size: 1.55rem;
    }
}

/* Fix: category scroll track appearance */
@media (max-width: 768px) {
    .categories-scroll-row::-webkit-scrollbar {
        height: 3px;
    }

    .categories-scroll-row::-webkit-scrollbar-track {
        background: transparent;
    }
    
    /* Subtle scroll indicator dots */
    .categories-section-wrapper {
        position: relative;
    }
}

/* Fix: product card actions always visible on touch devices */
@media (hover: none) {
    .product-actions {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fix: modal close button larger touch target */
@media (max-width: 768px) {
    .modal-close-btn {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Fix: nav badge not visible over small buttons */
    .nav-btn {
        position: relative;
    }

    /* Fix: quantity selector too small on mobile */
    .qty-selector {
        min-height: 40px;
    }

    .qty-btn {
        min-width: 36px;
        min-height: 36px;
    }
}

/* ==========================================================================
   EXPRESS ONE-PAGE CHECKOUT STYLES
   ========================================================================== */

/* Trust Header Bar */
.checkout-trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    padding: 0.85rem 1.25rem;
    margin-bottom: 2rem;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
}

.trust-badge-item svg {
    width: 18px;
    height: 18px;
    fill: var(--color-gold);
    flex-shrink: 0;
}

.checkout-header-title {
    margin-bottom: 2rem;
}

.checkout-header-title h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.checkout-header-title p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Layout */
.cart-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: start;
}

.checkout-forms-block {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.checkout-step-card {
    padding: 1.75rem;
    border-radius: 18px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.checkout-step-hdr {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkout-step-hdr .step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-gold);
    color: #000;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-step-hdr h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Validation & Field Messages */
.checkout-error-banner {
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid var(--color-danger);
    color: var(--color-danger);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.req-star {
    color: var(--color-danger);
    font-weight: 700;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.checkout-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.checkout-input-wrapper.full-w {
    grid-column: span 2;
}

.checkout-input-wrapper label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
}

.checkout-input-wrapper input,
.checkout-input-wrapper select {
    width: 100%;
    height: 48px;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-color);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-input-wrapper input:focus,
.checkout-input-wrapper select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.checkout-input-wrapper input.input-invalid,
.checkout-input-wrapper select.input-invalid {
    border-color: var(--color-danger) !important;
    background: rgba(220, 53, 69, 0.04);
}

.field-error-msg {
    font-size: 0.75rem;
    color: var(--color-danger);
    display: none;
    margin-top: 0.15rem;
}

.checkout-input-wrapper input.input-invalid + .field-error-msg,
.checkout-input-wrapper select.input-invalid + .field-error-msg {
    display: block;
}

.checkout-checkbox-lbl {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.checkout-checkbox-lbl input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-gold);
    cursor: pointer;
}

/* Payment Cards Grid */
.payment-method-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pay-card-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1.5px solid var(--border-color);
    background: var(--bg-surface);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pay-card-option:hover {
    border-color: var(--color-gold-muted);
}

.pay-card-option.active {
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.06);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.12);
}

.pay-card-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-gold);
    cursor: pointer;
}

.pay-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pay-card-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--color-gold);
}

.pay-card-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex-grow: 1;
}

.pay-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
}

.pay-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.pay-badges {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.35rem;
}

.badge-mini {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    background: var(--border-color);
    color: var(--text-color);
}

.badge-mini.gold {
    background: rgba(212, 175, 55, 0.2);
    color: var(--color-gold);
}

.checkout-ssl-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.checkout-ssl-note svg {
    width: 16px;
    height: 16px;
    fill: var(--color-success);
    flex-shrink: 0;
}

/* Order Summary Sticky Panel */
.sticky-summary-panel {
    position: sticky;
    top: 100px;
    padding: 1.75rem;
    border-radius: 18px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1.25rem 0;
}

/* Place Order Submit Button */
.btn-checkout-place {
    width: 100%;
    height: 54px;
    margin-top: 1.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    transition: all 0.2s ease;
}

.btn-checkout-place:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
}

.btn-spinner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.spinner-svg {
    width: 22px;
    height: 22px;
    animation: rotateSpinner 1s linear infinite;
}

.spinner-svg .path {
    stroke: #000;
    stroke-linecap: round;
    animation: dashSpinner 1.5s ease-in-out infinite;
}

@keyframes rotateSpinner {
    100% { transform: rotate(360deg); }
}

@keyframes dashSpinner {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .cart-checkout-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .checkout-form-grid {
        grid-template-columns: 1fr;
    }

    .checkout-input-wrapper.full-w {
        grid-column: span 1;
    }

    .checkout-trust-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .sticky-summary-panel {
        position: static;
    }

    .mobile-checkout-sticky-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--bg-surface);
        border-top: 1px solid var(--border-color);
        padding: 0.75rem 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }

    .sticky-bar-info {
        display: flex;
        flex-direction: column;
    }

    .sticky-bar-lbl {
        font-size: 0.75rem;
        color: var(--text-muted);
    }

    .sticky-bar-price {
        font-size: 1.2rem;
        font-weight: 800;
        color: var(--color-gold);
    }

    .sticky-bar-btn {
        height: 48px;
        padding: 0 1.5rem;
        font-size: 0.95rem;
        font-weight: 800;
        border-radius: 10px;
        flex-grow: 1;
        max-width: 220px;
    }

    /* Add space at bottom of cart-checkout-view to avoid overlay by mobile sticky bar */
    #cart-checkout-view {
        padding-bottom: 90px;
    }
}
