/* ============================================
   SDOBA Shop — Design System
   ============================================ */

/* --- HSL Design Tokens (Light) --- */
:root {
    --sh-primary-h: 16;
    --sh-primary-s: 25%;
    --sh-primary-l: 18%;
    --sh-primary: hsl(var(--sh-primary-h), var(--sh-primary-s), var(--sh-primary-l));
    --sh-primary-light: hsl(var(--sh-primary-h), 20%, 30%);

    --sh-accent-h: 28;
    --sh-accent-s: 100%;
    --sh-accent-l: 45%;
    --sh-accent: hsl(var(--sh-accent-h), var(--sh-accent-s), var(--sh-accent-l));
    --sh-accent-hover: hsl(var(--sh-accent-h), 100%, 50%);
    --sh-accent-light: hsl(var(--sh-accent-h), 90%, 95%);

    --sh-bg: hsl(30, 20%, 98%);
    --sh-card-bg: #ffffff;
    --sh-text: hsl(20, 10%, 13%);
    --sh-text-muted: hsl(20, 6%, 46%);
    --sh-border: hsl(30, 12%, 90%);

    --sh-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    --sh-shadow-lg: 0 30px 60px -15px rgba(0, 0, 0, 0.12);
    --sh-glass-bg: rgba(255, 255, 255, 0.82);
    --sh-glass-border: rgba(255, 255, 255, 0.35);

    --sh-radius: 24px;
    --sh-radius-sm: 14px;
    --sh-radius-pill: 999px;

    --sh-safe-top: env(safe-area-inset-top, 0px);

    /* transitions */
    --sh-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --sh-ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Dark Mode --- */
[data-theme="dark"] {
    --sh-primary: hsl(30, 15%, 88%);
    --sh-primary-light: hsl(30, 12%, 72%);

    --sh-accent: hsl(32, 95%, 52%);
    --sh-accent-hover: hsl(32, 100%, 58%);
    --sh-accent-light: hsl(32, 40%, 18%);

    --sh-bg: hsl(24, 12%, 10%);
    --sh-card-bg: hsl(24, 10%, 14%);
    --sh-text: hsl(30, 15%, 90%);
    --sh-text-muted: hsl(30, 8%, 55%);
    --sh-border: hsl(24, 8%, 22%);

    --sh-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
    --sh-shadow-lg: 0 30px 60px -15px rgba(0, 0, 0, 0.45);
    --sh-glass-bg: rgba(20, 16, 12, 0.78);
    --sh-glass-border: rgba(255, 255, 255, 0.08);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--sh-bg);
    color: var(--sh-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.4s var(--sh-ease), color 0.4s var(--sh-ease);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    margin: 0;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

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

/* --- Animations --- */
@keyframes shFadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes shFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes shScaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes shBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}
@keyframes shConfettiFall {
    0%   { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(105vh) rotate(720deg); opacity: 0; }
}

/* Scroll-reveal utility — hidden by default, animated when .revealed */
.sh-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--sh-ease), transform 0.7s var(--sh-ease);
}
.sh-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.sh-reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s var(--sh-ease), transform 0.5s var(--sh-ease);
}
.sh-reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.sh-reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.08s; }
.sh-reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.16s; }
.sh-reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.24s; }
.sh-reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.32s; }
.sh-reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.40s; }
.sh-reveal-stagger.revealed > * { opacity: 0; transform: translateY(24px); }
.sh-reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   NAVBAR
   ============================================ */
.sh-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: calc(18px + var(--sh-safe-top)) 0 18px;
    z-index: 1000;
    transition: all 0.4s var(--sh-ease);
    background: transparent;
}

.sh-nav.scrolled {
    background: var(--sh-glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: calc(12px + var(--sh-safe-top)) 0 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid var(--sh-glass-border);
}

.sh-nav .sh-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Logo */
.sh-logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 4vw, 1.7rem);
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: color 0.3s var(--sh-ease), text-shadow 0.3s var(--sh-ease);
}

.sh-nav.scrolled .sh-logo {
    color: var(--sh-primary);
    text-shadow: none;
}

.sh-logo img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Nav Links */
.sh-nav-links {
    display: flex;
    gap: clamp(6px, 1.5vw, 18px);
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.sh-nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 16px;
    border-radius: var(--sh-radius-pill);
    transition: all 0.3s var(--sh-ease);
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.sh-nav.scrolled .sh-nav-links a {
    color: var(--sh-primary);
    background: rgba(0, 0, 0, 0.04);
}

.sh-nav-links a:hover,
.sh-nav-links a:focus,
.sh-nav-links a.active,
.sh-nav.scrolled .sh-nav-links a:hover,
.sh-nav.scrolled .sh-nav-links a:focus,
.sh-nav.scrolled .sh-nav-links a.active {
    background: var(--sh-accent);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Theme Toggle Button */
.sh-theme-toggle {
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(4px);
    border: none;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s var(--sh-ease);
    flex-shrink: 0;
}

.sh-nav.scrolled .sh-theme-toggle {
    color: var(--sh-primary);
    background: rgba(0, 0, 0, 0.04);
}

.sh-theme-toggle:hover {
    background: var(--sh-accent);
    color: #ffffff;
    transform: scale(1.1);
}

/* ============================================
   HERO
   ============================================ */
.sh-hero {
    min-height: 40vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(20, 14, 10, 0.45), rgba(20, 14, 10, 0.65)), url('/static/images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    position: relative;
    padding: 100px 20px 60px;
}

.sh-hero--full {
    min-height: 100vh;
    min-height: 650px;
}

.sh-hero h1 {
    font-size: clamp(2.8rem, 8vw, 4.5rem);
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    animation: shFadeInUp 1s ease-out;
    line-height: 1.08;
    letter-spacing: -1px;
}

.sh-hero-tagline {
    display: block;
    margin-top: 10px;
    font-size: clamp(1rem, 2.6vw, 1.35rem);
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.sh-hero p {
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    max-width: 620px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    font-weight: 300;
    animation: shFadeInUp 1.15s ease-out;
    color: rgba(255, 255, 255, 0.92);
}

/* Hero glassmorphic card (for index) */
.sh-hero-glass {
    max-width: 900px;
    padding: 55px 40px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    animation: shFadeInUp 1.2s var(--sh-ease-bounce);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    margin: 0 20px;
}

/* CTA Buttons */
.sh-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.sh-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 36px;
    background: var(--sh-accent);
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--sh-radius-pill);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s var(--sh-ease);
    box-shadow: 0 8px 20px hsla(var(--sh-accent-h), 80%, 40%, 0.3);
    border: 2px solid var(--sh-accent);
}

.sh-cta:hover, .sh-cta:focus {
    background: var(--sh-accent-hover);
    border-color: var(--sh-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px hsla(var(--sh-accent-h), 80%, 40%, 0.4);
    color: #ffffff;
}

.sh-cta--outline {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border: 2px solid #ffffff;
    color: #ffffff;
    box-shadow: none;
}

.sh-cta--outline:hover {
    background: #ffffff;
    color: var(--sh-primary);
}

/* ============================================
   SECTIONS
   ============================================ */
.sh-section {
    padding: 80px 0;
}

.sh-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.sh-section-title h2 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--sh-primary);
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.sh-section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    background: var(--sh-accent);
    border-radius: 2px;
}

/* ============================================
   CARDS
   ============================================ */
.sh-card {
    background: var(--sh-card-bg);
    border-radius: var(--sh-radius);
    overflow: hidden;
    box-shadow: var(--sh-shadow);
    border: 1px solid var(--sh-border);
    transition: transform 0.4s var(--sh-ease), box-shadow 0.4s var(--sh-ease);
}

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

/* ============================================
   FEATURE CARDS (index "Why Choose Us")
   ============================================ */
.sh-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.sh-feature-card {
    text-align: center;
    padding: 44px 28px;
    background: var(--sh-card-bg);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
    transition: all 0.4s var(--sh-ease);
    border: 1px solid var(--sh-border);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.sh-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, hsla(var(--sh-accent-h), 60%, 50%, 0.06), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s var(--sh-ease);
}

.sh-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sh-shadow-lg);
}

.sh-feature-card:hover::before { opacity: 1; }

.sh-feature-icon {
    font-size: 2.8rem;
    color: var(--sh-accent);
    margin-bottom: 22px;
    display: inline-block;
    transition: transform 0.4s var(--sh-ease-bounce);
}

.sh-feature-card:hover .sh-feature-icon {
    transform: scale(1.12);
}

.sh-feature-card h3 {
    font-size: 1.5rem;
    color: var(--sh-primary);
    margin-bottom: 12px;
}

.sh-feature-card p {
    color: var(--sh-text-muted);
    font-size: 1rem;
    margin: 0;
}

/* ============================================
   LOCATION
   ============================================ */
.sh-location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--sh-card-bg);
    border-radius: var(--sh-radius);
    overflow: hidden;
    box-shadow: var(--sh-shadow);
    border: 1px solid var(--sh-border);
}

.sh-location-info {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.sh-info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.sh-info-icon {
    width: 50px;
    height: 50px;
    background: var(--sh-accent-light);
    color: var(--sh-accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: all 0.35s var(--sh-ease-bounce);
}

.sh-info-item:hover .sh-info-icon {
    background: var(--sh-accent);
    color: #ffffff;
    transform: scale(1.08) rotate(4deg);
}

.sh-info-text h3 {
    font-size: 1.1rem;
    color: var(--sh-primary);
    margin-bottom: 4px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.sh-info-text p {
    color: var(--sh-text-muted);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.sh-location-map {
    width: 100%;
    height: 100%;
    min-height: 380px;
    position: relative;
}

.sh-location-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(8%) contrast(1.03);
}

/* ============================================
   STATS
   ============================================ */
.sh-stats {
    padding: 70px 0;
    background: var(--sh-primary);
    background-image: radial-gradient(circle at top right, var(--sh-primary-light), var(--sh-primary));
    color: #ffffff;
}

[data-theme="dark"] .sh-stats {
    background: hsl(24, 10%, 8%);
    background-image: radial-gradient(circle at top right, hsl(24, 8%, 14%), hsl(24, 10%, 8%));
}

.sh-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 36px;
    text-align: center;
}

.sh-stat h3 {
    font-size: 3.2rem;
    margin-bottom: 8px;
    color: var(--sh-accent);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.sh-stat p {
    font-size: 1rem;
    opacity: 0.88;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.sh-footer {
    padding: 44px 0;
    text-align: center;
    background: hsl(16, 30%, 10%);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.92rem;
}

[data-theme="dark"] .sh-footer {
    background: hsl(24, 12%, 6%);
}

.sh-footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: #ffffff;
    margin-bottom: 16px;
    display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .sh-location-wrapper { grid-template-columns: 1fr; }
    .sh-location-map { height: 400px; }
}

@media (max-width: 768px) {
    .sh-hero--full { background-attachment: scroll; }
    .sh-hero-glass { padding: 36px 20px; }

    .sh-nav .sh-container {
        flex-direction: column;
        gap: 12px;
        padding: 0 14px;
    }

    .sh-logo { justify-content: center; }

    .sh-nav-links {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .sh-location-info { padding: 36px 22px; }
}

@media (max-width: 480px) {
    .sh-hero h1 { font-size: 2.4rem; }
    .sh-hero p { font-size: 1rem; }
    .sh-cta-group { flex-direction: column; width: 100%; }
    .sh-cta { width: 100%; }
    .sh-nav-links { gap: 6px; }
    .sh-nav-links a { padding: 6px 11px; font-size: 0.82rem; }
    .sh-stat h3 { font-size: 2.6rem; }
}

/* ============================================
   IN STOCK / MENU SWITCH
   ============================================ */
.shop-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: -40px auto 28px;
    padding: 8px;
    background: var(--sh-card-bg);
    border: 1px solid var(--sh-border);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
    position: relative;
    z-index: 10;
}

.shop-mode {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 18px;
    color: var(--sh-text);
    text-decoration: none;
    transition: background 0.2s var(--sh-ease);
}

.shop-mode:hover,
.shop-mode:focus-visible {
    background: hsla(var(--sh-accent-h), 100%, 50%, 0.06);
}

.shop-mode.active {
    background: hsla(var(--sh-accent-h), 100%, 50%, 0.12);
    box-shadow: inset 0 0 0 2px var(--sh-accent);
}

.shop-mode i {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--sh-accent);
}

.shop-mode strong {
    display: block;
    font-size: 1.1rem;
    color: var(--sh-primary);
}

.shop-mode small {
    display: block;
    margin-top: 2px;
    font-size: 0.88rem;
    line-height: 1.35;
    color: var(--sh-text-muted);
}

@media (max-width: 560px) {
    .shop-modes { margin-bottom: 20px; }
    .shop-mode { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; }
    .shop-mode i { font-size: 1.2rem; }
    .shop-mode strong { font-size: 1rem; }
    .shop-mode small { font-size: 0.8rem; }
}

/* ============================================
   PRODUCT QUICK VIEW
   ============================================ */
.quick-view-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.quick-view-content {
    background: var(--sh-card-bg);
    border-radius: var(--sh-radius);
    width: 90%;
    max-width: 900px;
    display: flex;
    overflow: hidden;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s;
    box-shadow: var(--sh-shadow-lg);
    border: 1px solid var(--sh-border);
}

.qv-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sh-text);
}

.qv-close:hover {
    background: var(--sh-accent);
    color: #fff;
}

.qv-image {
    width: 50%;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .qv-image {
    background: hsl(24, 8%, 12%);
}

.qv-gallery {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.qv-gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.qv-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.qv-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qv-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.45);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
}

.qv-gallery-btn:hover {
    background: var(--sh-accent);
    transform: translateY(-50%) scale(1.1);
}

.qv-gallery-btn.prev { left: 12px; }
.qv-gallery-btn.next { right: 12px; }

.qv-gallery-btn.hidden { display: none; }

.qv-gallery-dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
    z-index: 5;
}

.qv-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    padding: 0;
}

.qv-gallery-dot.active {
    background: #fff;
    transform: scale(1.35);
}

.qv-gallery-counter {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 99px;
    backdrop-filter: blur(4px);
    z-index: 5;
}

.qv-details {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .quick-view-content {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* On phones the button sits on top of the photo */
    .qv-close {
        background: rgba(0, 0, 0, 0.45);
        color: #fff;
        backdrop-filter: blur(4px);
    }

    .qv-image {
        width: 100%;
        height: 300px;
    }

    .qv-details {
        width: 100%;
        padding: 24px;
    }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    max-width: 380px;
    width: calc(100% - 48px);
    display: block;
    background: var(--sh-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--sh-glass-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.18),
                0 0 0 1px rgba(255, 255, 255, 0.06);
    opacity: 0;
    -webkit-transform: translate3d(0, 24px, 0) scale(0.96);
    transform: translate3d(0, 24px, 0) scale(0.96);
    -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    will-change: opacity, transform;
}

[data-theme="dark"] .cookie-banner {
    background: hsla(24, 10%, 12%, 0.92);
    border-color: hsla(30, 10%, 25%, 0.5);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.45),
                0 0 0 1px rgba(255, 255, 255, 0.04);
}

.cookie-banner--visible {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
    transform: translate3d(0, 0, 0) scale(1);
    pointer-events: auto;
}

.cookie-banner--hiding {
    opacity: 0;
    -webkit-transform: translate3d(0, 16px, 0) scale(0.98);
    transform: translate3d(0, 16px, 0) scale(0.98);
    pointer-events: none;
    -webkit-transition: opacity 0.35s ease, -webkit-transform 0.35s ease;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-banner__icon {
    font-size: 2rem;
    margin-bottom: 12px;
    animation: shBounce 2s ease-in-out infinite;
    color: var(--sh-accent);
}

.cookie-banner__body {
    margin-bottom: 16px;
}

.cookie-banner__text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--sh-text-muted);
    margin: 0 0 8px;
}

.cookie-banner__link {
    margin: 0;
}

.cookie-banner__link a {
    color: var(--sh-accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s var(--sh-ease);
}

.cookie-banner__link a:hover {
    color: var(--sh-accent-hover);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
}

.cookie-banner__btn {
    flex: 1;
    padding: 10px 18px;
    border: none;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--sh-ease);
}

.cookie-banner__btn--accept {
    background: var(--sh-accent);
    color: #ffffff;
    box-shadow: 0 4px 14px hsla(var(--sh-accent-h), 80%, 40%, 0.3);
}

.cookie-banner__btn--accept:hover {
    background: var(--sh-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px hsla(var(--sh-accent-h), 80%, 40%, 0.4);
}

.cookie-banner__btn--decline {
    background: transparent;
    color: var(--sh-text-muted);
    border: 1px solid var(--sh-border);
}

.cookie-banner__btn--decline:hover {
    background: var(--sh-border);
    color: var(--sh-text);
    transform: translateY(-2px);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .cookie-banner {
        bottom: 12px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
        padding: 20px;
        border-radius: 16px;
    }

    .cookie-banner__actions {
        flex-direction: column;
        gap: 8px;
    }
}

/* ============================================
   SHARED JS HELPERS — embedded via <script>
   ============================================ */
