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

:root {
    /*
      TouchQube theme tokens -- Futuristic dark / neon-glass theme
      NOTE: We keep existing routes/JS/IDs intact and style them here.
    */
    --background: 224 47% 5%;
    --foreground: 210 40% 96%;

    /* Brand (electric cyan) */
    --primary: 189 94% 50%;
    --primary-foreground: 224 47% 6%;
    --primary-light: 189 94% 16%;
    --primary-dark: 189 90% 38%;

    /* Supporting (electric violet) */
    --accent: 271 91% 65%;
    --accent-foreground: 0 0% 100%;
    --muted: 222 32% 14%;
    --muted-foreground: 215 20% 68%;

    /* Utility Colors */
    --card: 222 45% 8%;
    --card-foreground: 210 40% 96%;
    --border: 217 40% 24%;
    --input: 217 33% 16%;
    --ring: 189 94% 50%;

    /* Nav/Footer */
    --nav-bg-alpha: 0.86;
    --app-nav-height: 4.5rem;
    --app-nav-logo-height: calc(var(--app-nav-height) - 1rem);

    /* Animation Variables */
    --animate-duration: 0.25s;
    --animate-easing: cubic-bezier(0.2, 0.8, 0.2, 1);

    --radius: 0.9rem;
    --product-model-stage-bg: #2f343b;
    --product-model-stage-glow: rgba(148, 163, 184, 0.22);

    /* Futuristic glass + glow tokens */
    --glass-bg: rgba(13, 20, 36, 0.68);
    --glass-bg-strong: rgba(9, 14, 26, 0.85);
    --glass-border: rgba(103, 232, 249, 0.16);
    --glow-cyan: 0 0 24px rgba(34, 211, 238, 0.35);
    --glow-violet: 0 0 24px rgba(167, 139, 250, 0.3);
    --font-display: 'Space Grotesk', 'Poppins', 'Inter', system-ui, sans-serif;
}

/* Base Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: hsl(var(--background));
    background-image:
        radial-gradient(circle at 12% 8%, rgba(56, 189, 248, 0.10), transparent 32%),
        radial-gradient(circle at 88% 18%, rgba(167, 139, 250, 0.09), transparent 34%),
        radial-gradient(circle at 50% 92%, rgba(34, 211, 238, 0.07), transparent 38%),
        linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
    background-size: auto, auto, auto, 44px 44px, 44px 44px;
    background-attachment: fixed;
    color: hsl(var(--foreground));
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.5;
    overflow-x: hidden;
}

/* Custom scrollbar + selection for the futuristic theme */
::selection {
    background: rgba(34, 211, 238, 0.35);
    color: #f8fafc;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: hsl(var(--background)); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, hsl(var(--primary) / 0.6), hsl(var(--accent) / 0.6));
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, hsl(var(--primary)), hsl(var(--accent)));
}

.shop-home {
    --home-nav-offset: var(--app-nav-height);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

/* Tailwind-missing utility aliases used across templates (Tailwind CDN v2 won't include these custom names) */
.font-playfair { font-family: var(--font-display); }
.bg-background { background-color: hsl(var(--background)); }
.text-primary { color: hsl(var(--primary)); }
.bg-primary { background-color: hsl(var(--primary)); }
.border-primary { border-color: hsl(var(--primary)); }

/* ------------------------------------------------------------------ */
/* Futuristic glass / glow utilities                                   */
/* ------------------------------------------------------------------ */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.glow-text {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.25));
}

.neon-ring {
    box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.18), var(--glow-cyan);
}

/* ------------------------------------------------------------------ */
/* Tailwind gray/white utility overrides for the dark theme            */
/* (Tailwind CDN classes used directly in some templates; these rules  */
/*  win by source order so the whole site reads as one dark theme.)    */
/* ------------------------------------------------------------------ */
.bg-white { background-color: rgba(15, 23, 42, 0.72) !important; }
.bg-gray-50 { background-color: hsl(var(--background)) !important; }
.bg-gray-100 { background-color: rgba(30, 41, 59, 0.6) !important; }
.bg-black { background-color: #050810 !important; }
.bg-slate-50 { background-color: rgba(30, 41, 59, 0.5) !important; }

.text-gray-900 { color: #f1f5f9 !important; }
.text-gray-800 { color: #e2e8f0 !important; }
.text-gray-700 { color: #cbd5e1 !important; }
.text-gray-600 { color: #94a3b8 !important; }
.text-gray-500 { color: #94a3b8 !important; }
.text-gray-400 { color: #64748b !important; }
.text-gray-300 { color: #cbd5e1 !important; }
.text-gray-200 { color: #e2e8f0 !important; }
.hover\:text-gray-900:hover { color: #f8fafc !important; }
.hover\:text-gray-700:hover { color: #e2e8f0 !important; }

.border-gray-300 { border-color: rgba(148, 163, 184, 0.3) !important; }
.border-gray-200 { border-color: rgba(148, 163, 184, 0.22) !important; }
.border-slate-200 { border-color: rgba(148, 163, 184, 0.25) !important; }
.border-gray-800 { border-color: rgba(255, 255, 255, 0.08) !important; }
.hover\:border-gray-400:hover { border-color: rgba(103, 232, 249, 0.55) !important; }

.hover\:bg-gray-50:hover { background-color: rgba(56, 189, 248, 0.08) !important; }
.hover\:bg-gray-100:hover { background-color: rgba(56, 189, 248, 0.12) !important; }
.hover\:bg-gray-700:hover { background-color: rgba(255, 255, 255, 0.1) !important; }

.bg-green-100 { background-color: rgba(34, 197, 94, 0.16) !important; }
.text-green-800 { color: #4ade80 !important; }
.text-green-600 { color: #4ade80 !important; }
.bg-yellow-100 { background-color: rgba(250, 204, 21, 0.16) !important; }
.text-yellow-900 { color: #fde047 !important; }
.text-yellow-500, .text-yellow-400 { color: #fbbf24 !important; }
.text-red-600 { color: #fb7185 !important; }
.text-red-400 { color: #fb7185 !important; }
.text-sky-700 { color: #67e8f9 !important; }
.text-sky-600 { color: #38bdf8 !important; }

/* Tailwind-style slash opacity classes used in [`index.html`](shopapp/templates/index.html:1) */
.bg-primary\/20 { background-color: hsl(var(--primary) / 0.2); }
.bg-accent\/20 { background-color: hsl(var(--accent) / 0.2); }
.bg-primary\/10 { background-color: hsl(var(--primary) / 0.1); }
.bg-accent\/10 { background-color: hsl(var(--accent) / 0.1); }

/* App chrome */
.app-nav {
    background:
        linear-gradient(180deg, rgba(6, 10, 20, 0.94) 0%, rgba(6, 10, 20, 0.82) 100%);
    border-bottom: 1px solid rgba(103, 232, 249, 0.18);
    box-shadow: 0 1px 0 rgba(103, 232, 249, 0.12), 0 18px 40px rgba(2, 6, 23, 0.45);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    overflow: visible;
}

.app-nav-shell {
    position: relative;
}

.app-nav-row {
    height: var(--app-nav-height);
    overflow: visible;
}

.app-nav-row--primary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}

.app-nav-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-height: var(--app-nav-height);
    overflow: visible;
    text-decoration: none;
}

.app-nav-logo {
    display: block;
    width: auto;
    max-width: min(12rem, 28vw);
    height: auto;
    max-height: var(--app-nav-logo-height);
    object-fit: contain;
    object-position: left center;
}

.app-nav-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    color: rgba(248, 250, 252, 0.96);
}

.app-nav-brand-title {
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.app-nav-brand-subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(191, 219, 254, 0.84);
}

.app-nav-links {
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 0.55rem;
    padding: 0.38rem;
    min-width: 0;
    white-space: nowrap;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.app-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.35rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    color: rgba(103, 232, 249, 0.18);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.app-nav-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
}

.app-nav-link-label {
    display: inline-block;
}

.app-nav-link:hover {
    background: rgba(34, 211, 238, 0.14);
    color: #67e8f9;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.25);
    transform: translateY(-1px);
}

.app-nav-actions {
    gap: 0.65rem;
}

.app-nav-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(241, 245, 249, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-nav-icon-button:hover {
    background: rgba(34, 211, 238, 0.14);
    border-color: rgba(103, 232, 249, 0.55);
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.app-main-shell {
    padding-top: calc(var(--app-nav-height) + 1rem);
}

.app-footer {
    background: #030712;
    border-top: 1px solid rgba(103, 232, 249, 0.16);
    box-shadow: 0 -1px 0 rgba(103, 232, 249, 0.1);
}

/* Links / focus */
a { text-underline-offset: 3px; }
*:focus-visible {
    outline: 2px solid hsl(var(--ring) / 0.6);
    outline-offset: 2px;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
}

/* Modern button primitives (used by legacy templates like cart/payment) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.05rem;
    border-radius: calc(var(--radius) - 0.25rem);
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--animate-duration) var(--animate-easing),
                box-shadow var(--animate-duration) var(--animate-easing),
                background-color var(--animate-duration) var(--animate-easing),
                border-color var(--animate-duration) var(--animate-easing),
                color var(--animate-duration) var(--animate-easing);
}

.btn:active { transform: translateY(1px); }

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
    color: hsl(var(--primary-foreground));
    box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.25), 0 10px 26px rgba(34, 211, 238, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.4), 0 0 28px rgba(34, 211, 238, 0.45);
    transform: translateY(-1px);
}

.btn-outline {
    background: rgba(15,23,42,0.7);
    color: hsl(var(--foreground));
    border-color: hsl(var(--border));
}

.btn-outline:hover {
    border-color: hsl(var(--ring) / 0.6);
    color: #67e8f9;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.2);
}

.from-primary-light {
    --tw-gradient-from: hsl(var(--primary-light));
    --tw-gradient-to: hsla(var(--primary-light), 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

/* Promo Section */
#promo {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.home-nav-spacer {
    height: var(--home-nav-offset, 5rem);
}

.shop-home #promo,
.shop-home #home {
    scroll-margin-top: calc(var(--home-nav-offset, 5rem) + 1rem);
}

.promo-slider {
    display: grid;
    width: 100%;
    height: auto;
}

.promo-slide {
    grid-area: 1 / 1;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.18), transparent 58%),
        linear-gradient(180deg, #0c1524 0%, rgba(56,189,248,0.16) 100%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
}

.promo-slide-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(42rem, 70vh);
    object-fit: contain;
    object-position: center;
}

.promo-slide.active {
    opacity: 1;
}

/* Introduction Section */
#home {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 1rem 0 0.5rem;
    margin: 0;
    overflow: hidden;
}

#home .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.shop-home-hero {
    min-height: clamp(28rem, 74vh, 44rem);
}

.shop-home-hero-shell {
    width: min(100%, 88rem);
}

.shop-home-hero-grid {
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
}

.shop-home-hero-copy {
    max-width: 40rem;
}

.shop-home-hero-copy h1 {
    font-size: clamp(2.6rem, 6vw, 5.25rem);
    line-height: 0.94;
}

.shop-home-hero-copy p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
}

.shop-home-hero-media {
    min-width: 0;
}

.shop-home-hero-image-frame {
    padding: clamp(1rem, 2.5vw, 2rem);
}

.shop-home-hero-image {
    display: block;
    width: 100%;
    height: clamp(18rem, 40vw, 30rem);
    object-fit: cover;
}

/* Product Sections */
.product-section {
    padding: 3rem 0;
    margin: 0;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.slider-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: hsl(var(--muted-foreground));
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dots button.active {
    background-color: hsl(var(--primary));
    transform: scale(1.2);
}

/* Hover Effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.smart-advantage-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(125, 211, 252, 0.26), transparent 28%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.18), transparent 30%),
        linear-gradient(180deg, #0b1220 0%, #0f1b2e 100%);
    border-top: 1px solid rgba(186, 230, 253, 0.9);
    border-bottom: 1px solid rgba(186, 230, 253, 0.9);
}

.smart-advantage-shell {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 8rem);
    border: 1px solid rgba(148, 200, 255, 0.3);
    border-radius: 2rem;
    background: rgba(15,23,42,0.72);
    box-shadow: 0 26px 80px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
}

.smart-advantage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 1.5rem;
    align-items: start;
}

.sa-copy,
.sa-panel {
    position: relative;
    min-height: 100%;
}

.sa-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.10);
    color: #67e8f9;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
}

.sa-kicker::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.12);
}

.sa-title {
    margin-top: 1rem;
    font-size: clamp(2.2rem, 5vw, 4.35rem);
    line-height: 0.95;
    color: #f1f5f9;
    max-width: 11ch;
}

.sa-subtitle {
    margin-top: 1rem;
    max-width: 48rem;
    font-size: clamp(1rem, 1.8vw, 1.22rem);
    line-height: 1.75;
    color: #94a3b8;
}

.sa-feature-grid {
    margin-top: 2.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.sa-feature-card {
    position: relative;
    min-height: 4.15rem;
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding: 0.8rem 1rem;
    border-radius: 1.4rem;
    background: linear-gradient(180deg, rgba(15,23,42,0.96) 0%, rgba(15,23,42,0.8) 100%);
    border: 1px solid rgba(186, 230, 253, 0.95);
    box-shadow: 0 18px 44px rgba(14, 116, 144, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.sa-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.75);
    box-shadow: 0 24px 54px rgba(37, 99, 235, 0.14);
}

.sa-feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(34,211,238,0.14), rgba(56,189,248,0.16));
    color: #67e8f9;
    font-weight: 700;
    font-size: 0.92rem;
}

.sa-feature-card p {
    margin-top: 0;
    font-size: 0.98rem;
    line-height: 1.45;
    color: #f1f5f9;
    font-weight: 600;
}

.sa-panel {
    min-height: 100%;
    padding: 1.5rem;
    border-radius: 1.75rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.88) 100%);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}

.sa-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 26%),
        linear-gradient(135deg, rgba(14, 165, 233, 0.06), transparent 40%);
    pointer-events: none;
}

.sa-panel-top {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.sa-stat-card,
.sa-display-card,
.sa-story-card,
.sa-bottom-note {
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.34);
    border-radius: 1.25rem;
}

.sa-stat-card {
    padding: 1rem;
}

.sa-stat-value {
    display: block;
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #f8fafc;
}

.sa-stat-label {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.84rem;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.84);
}

.sa-display-card {
    grid-column: 1 / -1;
    padding: 1rem;
}

.sa-display-label {
    display: block;
    color: #bae6fd;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.sa-display-screen {
    margin-top: 0.85rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.sa-display-screen span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.15rem;
    padding: 0.75rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.18), rgba(191, 219, 254, 0.08));
    color: #f8fafc;
    font-size: 0.84rem;
    font-weight: 600;
    text-align: center;
}

.sa-story-slider {
    position: relative;
    margin-top: 1rem;
    overflow: hidden;
}

.sa-story-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.sa-story-slide {
    flex: 0 0 100%;
    min-width: 100%;
    opacity: 0.55;
    transform: scale(0.985);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.sa-story-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.sa-story-card {
    min-height: 15.5rem;
    padding: 1rem 1rem 1.05rem;
    color: rgba(226, 232, 240, 0.94);
}

.sa-story-chip {
    display: inline-flex;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.14);
    color: #7dd3fc;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sa-story-title {
    margin-top: 0.85rem;
    color: #f8fafc;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.sa-story-card p {
    margin-top: 0.8rem;
    line-height: 1.7;
    font-size: 0.96rem;
}

.sa-bottom-note {
    min-height: 15.5rem;
    padding: 1rem 1.05rem;
    color: rgba(103, 232, 249, 0.18);
}

.sa-bottom-title {
    display: block;
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 700;
}

.sa-bottom-note p {
    margin-top: 0.45rem;
    font-size: 0.93rem;
    line-height: 1.7;
}

.sa-story-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.sa-story-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.28);
    background: rgba(15, 23, 42, 0.54);
    color: #e0f2fe;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.sa-story-nav:hover {
    transform: translateY(-2px);
    border-color: rgba(125, 211, 252, 0.7);
    background: rgba(14, 165, 233, 0.22);
}

.sa-story-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1;
}

.sa-story-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    border: 0;
    background: rgba(148, 163, 184, 0.55);
    transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}

.sa-story-dot.is-active {
    width: 2rem;
    background: linear-gradient(135deg, #38bdf8, #60a5fa);
}

.sa-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(14px);
    pointer-events: none;
    opacity: 0.7;
}

.sa-orb-one {
    top: 8%;
    left: -4rem;
    width: 14rem;
    height: 14rem;
    background: rgba(125, 211, 252, 0.35);
    animation: floatOrbit 11s ease-in-out infinite;
}

.sa-orb-two {
    right: -3rem;
    bottom: 6%;
    width: 11rem;
    height: 11rem;
    background: rgba(96, 165, 250, 0.28);
    animation: floatOrbit 13s ease-in-out infinite reverse;
}

.sa-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: var(--sa-delay, 0ms);
}

.sa-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatOrbit {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -14px, 0) scale(1.05);
    }
}

@media (max-width: 1100px) {
    .smart-advantage-section {
        min-height: auto;
    }

    .smart-advantage-shell {
        min-height: auto;
    }

    .smart-advantage-grid {
        grid-template-columns: 1fr;
    }

    .sa-title {
        max-width: none;
    }
}

@media (max-width: 720px) {
    .smart-advantage-shell {
        padding: 1.15rem;
        border-radius: 1.5rem;
    }

    .sa-feature-grid,
    .sa-panel-top,
    .sa-display-screen {
        grid-template-columns: 1fr;
    }

    .sa-feature-card {
        min-height: 9.5rem;
    }

    .sa-orb-one,
    .sa-orb-two {
        width: 8rem;
        height: 8rem;
    }

    .sa-story-card,
    .sa-bottom-note {
        min-height: 17rem;
    }

    .sa-story-controls {
        gap: 0.65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sa-reveal,
    .sa-feature-card,
    .sa-orb-one,
    .sa-orb-two,
    .sa-story-track,
    .sa-story-slide,
    .sa-story-nav,
    .sa-story-dot {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

.pd-page-shell {
    background:
        radial-gradient(circle at top left, rgba(125, 211, 252, 0.16), transparent 24%),
        linear-gradient(180deg, #0b1220 0%, #0c1524 100%);
}

.pd-gallery-card,
.pd-summary-card,
.pd-info-card,
.pd-model-card,
.pd-spec-card,
.pd-advantage-card,
.pd-faq-card,
.pd-related-card {
    border-radius: 1.5rem;
    border: 1px solid rgba(103, 232, 249, 0.16);
    background: rgba(15,23,42,0.96);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.pd-gallery-card {
    position: relative;
    overflow: hidden;
    min-height: 28rem;
}

.pd-gallery-glow {
    position: absolute;
    top: -3rem;
    right: -2rem;
    width: 12rem;
    height: 12rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 70%);
    pointer-events: none;
}

.pd-thumb-card {
    border: 1px solid rgba(103, 232, 249, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.6);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pd-thumb-card:hover {
    transform: translateY(-2px);
    border-color: rgba(14, 165, 233, 0.8);
    box-shadow: 0 14px 28px rgba(14, 116, 144, 0.10);
}

.pd-mini-card {
    padding: 1rem;
    border-radius: 1.2rem;
    background: rgba(15,23,42,0.86);
    border: 1px solid rgba(186, 230, 253, 0.9);
    box-shadow: 0 14px 30px rgba(14, 116, 144, 0.06);
}

.pd-mini-card strong {
    display: block;
    margin-top: 0.35rem;
    color: #f1f5f9;
    line-height: 1.45;
    font-size: 0.98rem;
}

.pd-mini-label {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #67e8f9;
}

.pd-summary-wrap {
    position: relative;
}

.pd-summary-card {
    padding: 1.5rem;
    position: sticky;
    top: 5.75rem;
}

.pd-kicker {
    display: inline-flex;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.10);
    color: #67e8f9;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.pd-title {
    margin-top: 0.9rem;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.02;
    color: #f1f5f9;
}

.pd-subtitle {
    margin-top: 1rem;
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
}

.pd-meta-row {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
}

.pd-status-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-weight: 600;
}

.pd-status-instock {
    background: rgba(34,197,94,0.16);
    color: #4ade80;
}

.pd-status-outstock {
    background: rgba(244,63,94,0.16);
    color: #f87171;
}

.pd-status-tax {
    background: rgba(34,211,238,0.14);
    color: #67e8f9;
}

.pd-highlight-grid {
    margin-top: 1.35rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.pd-highlight-card {
    display: flex;
    gap: 0.95rem;
    align-items: center;
    min-height: 3.5rem;
    padding: 0.65rem 0.95rem;
    border-radius: 1.1rem;
    background: linear-gradient(180deg, #0b1220, #0f1b2e);
    border: 1px solid rgba(186, 230, 253, 0.9);
}

.pd-highlight-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.6rem;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.95rem;
    background: linear-gradient(135deg, rgba(56,189,248,0.16), rgba(34,211,238,0.14));
    color: #67e8f9;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.pd-highlight-card span {
    color: #f1f5f9;
    font-weight: 600;
    line-height: 1.35;
    font-size: 0.96rem;
}

.pd-price-panel {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #082f49 0%, #0f172a 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.pd-price {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.pd-price-strike {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: line-through;
}

.pd-save-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
    font-size: 0.82rem;
    font-weight: 700;
}

.pd-purchase-box {
    margin-top: 1.4rem;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: #0b1220;
    border: 1px solid rgba(103, 232, 249, 0.18);
}

.pd-purchase-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.pd-purchase-label {
    display: block;
    color: #f1f5f9;
    font-size: 0.95rem;
    font-weight: 700;
}

.pd-purchase-note {
    margin-top: 0.2rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.pd-purchase-info {
    margin-top: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
    color: #94a3b8;
    font-size: 0.88rem;
}

.pd-purchase-info i,
.pd-purchase-info .icon {
    color: #38bdf8;
    margin-right: 0.35rem;
}

.pd-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: #0b1220;
    border: 1px solid rgba(191, 219, 254, 0.75);
    color: #f1f5f9;
    font-weight: 500;
    line-height: 1.55;
}

.pd-info-card {
    padding: 1.5rem;
}

.pd-overview-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.10);
    color: #67e8f9;
    font-size: 0.8rem;
    font-weight: 700;
}

.pd-overview-card {
    padding: 1rem 1.05rem;
    border-left: 4px solid #38bdf8;
    border-radius: 0 1rem 1rem 0;
    background: linear-gradient(180deg, #0b1220 0%, #0f1b2e 100%);
}

.pd-spec-card {
    padding: 1.5rem;
    background: linear-gradient(180deg, #082f49 0%, #0f172a 100%);
    color: white;
}

.pd-model-card {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem;
    align-items: center;
    overflow: hidden;
}

.pd-model-card-banner {
    grid-template-columns: 1fr;
}

.pd-model-copy {
    max-width: 32rem;
}

.pd-model-kicker {
    display: inline-flex;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.10);
    color: #67e8f9;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.pd-model-title {
    margin-top: 1rem;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    color: #f1f5f9;
}

.pd-model-text {
    margin-top: 0.9rem;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.75;
}

.pd-model-stage {
    position: relative;
    min-height: 28rem;
    border-radius: 1.35rem;
    background:
        radial-gradient(circle at top, var(--product-model-stage-glow), transparent 32%),
        linear-gradient(180deg, #434a53 0%, var(--product-model-stage-bg) 100%);
    border: 1px solid rgba(100, 116, 139, 0.65);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.pd-model-stage-banner {
    min-height: 42rem;
}

.pd-model-stage-secondary {
    min-height: 24rem;
}

.pd-model-viewer {
    width: 100%;
    height: 100%;
    min-height: 28rem;
    --poster-color: transparent;
    background: transparent;
}

.pd-model-viewer-banner {
    min-height: 42rem;
}

.pd-model-viewer-secondary {
    min-height: 24rem;
}

.home-product-3d-shell {
    display: grid;
    gap: 1rem;
}

.home-product-3d-banner-stage,
.home-product-3d-secondary-stage {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(100, 116, 139, 0.55);
    background:
        radial-gradient(circle at top, rgba(148, 163, 184, 0.24), transparent 34%),
        linear-gradient(180deg, #434a53 0%, #2f343b 100%);
}

.home-product-3d-banner-stage {
    min-height: 28rem;
    border-radius: 1.75rem;
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.18);
}

.home-product-3d-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(11rem, 1fr);
    overflow-x: auto;
    gap: 0;
    border-radius: 1.35rem;
    border: 1px solid rgba(100, 116, 139, 0.45);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.10);
}

.home-product-3d-secondary-stage {
    min-height: 11rem;
    border-radius: 0;
    border: 0;
    border-right: 1px solid rgba(148, 163, 184, 0.28);
}

.home-product-3d-secondary-stage:last-child {
    border-right: 0;
}

.home-product-3d-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
    background: transparent;
}

.home-product-3d-banner-viewer {
    min-height: 28rem;
}

.home-product-3d-secondary-viewer {
    min-height: 11rem;
}

.home-product-3d-poster {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #dbeafe;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.home-index-product-header {
    max-width: none;
    margin-bottom: 0.2rem;
}

.home-index-product-shell {
    width: min(100%, 96rem);
    padding-inline: clamp(1rem, 2vw, 2rem);
}

.home-index-showcase {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(16rem, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.home-index-showcase--full {
    grid-template-columns: minmax(0, 1fr);
}

.home-index-showcase-main {
    display: grid;
    gap: 0.8rem;
    min-width: 0;
}

.home-index-product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.home-index-product-kicker,
.home-index-product-stock {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-index-product-kicker {
    background: rgba(14, 165, 233, 0.12);
    color: #67e8f9;
}

.home-index-product-stock {
    background: rgba(15, 23, 42, 0.08);
    color: #cbd5e1;
}

.home-index-product-title {
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.9rem);
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: #f1f5f9;
    max-width: 18ch;
}

.home-index-product-description {
    margin-top: 0.45rem;
    max-width: 62rem;
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
    line-height: 1.68;
    color: #94a3b8;
}

.home-index-media-block {
    width: 100%;
    min-width: 0;
}

.home-index-product-details {
    max-width: 62rem;
    display: grid;
    gap: 0.95rem;
    padding-top: 0.15rem;
}

.home-index-price-panel {
    display: grid;
    gap: 0.55rem;
}

.home-index-price-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.home-index-price-current {
    font-size: clamp(2rem, 3vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #f1f5f9;
}

.home-index-price-original {
    font-size: 1.1rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
}

.home-index-price-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.home-index-price-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.46rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15,23,42,0.72);
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
}

.home-index-cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.home-index-action-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    min-height: 5rem;
    padding: 1rem 1.15rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    text-align: left;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-index-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
}

.home-index-action-card--primary {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
    border-color: rgba(29, 78, 216, 0.28);
    color: #f8fafc;
}

.home-index-action-card--secondary {
    background: linear-gradient(180deg, rgba(15,23,42,0.96) 0%, rgba(15,23,42,0.82) 100%);
    color: #f1f5f9;
}

.home-index-action-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.home-index-action-caption {
    font-size: 0.82rem;
    line-height: 1.42;
    opacity: 0.8;
}

.home-index-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.home-index-rating-copy {
    margin-left: 0.35rem;
    font-size: 0.92rem;
    color: #94a3b8;
}

.home-index-feature-wrap {
    display: grid;
    gap: 1rem;
}

.home-index-feature-pane {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.8rem;
    align-self: stretch;
    width: 100%;
    padding: 0.95rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: linear-gradient(180deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.72) 100%);
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.08);
    min-height: 100%;
}

.home-index-feature-pane-list {
    display: grid;
    align-content: stretch;
    gap: 0.5rem;
    min-height: 0;
    height: 100%;
}

.home-index-feature-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f1f5f9;
}

.home-index-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.home-index-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 0.62rem;
    min-height: 0;
    padding: 0.76rem 0.82rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: linear-gradient(180deg, rgba(15,23,42,0.94) 0%, rgba(15,23,42,0.78) 100%);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    color: #f1f5f9;
    font-size: 0.9rem;
    line-height: 1.42;
}

.home-index-feature-card--pane {
    min-height: 100%;
    padding: 0.76rem 0.82rem;
    border-radius: 0.95rem;
}

.home-index-feature-icon {
    flex: 0 0 0.62rem;
    width: 0.62rem;
    height: 0.62rem;
    margin-top: 0.34rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.pd-model-browser {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 12rem;
    gap: 1rem;
    align-items: stretch;
}

.pd-model-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pd-model-tab {
    width: 100%;
    text-align: left;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(103, 232, 249, 0.22);
    background: linear-gradient(180deg, #0b1220 0%, #0f1b2e 100%);
    color: #f1f5f9;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pd-model-tab:hover,
.pd-model-tab.is-active {
    transform: translateY(-2px);
    border-color: rgba(14, 165, 233, 0.8);
    box-shadow: 0 14px 28px rgba(14, 116, 144, 0.10);
}

.pd-model-tab-label {
    display: block;
    font-weight: 700;
}

.pd-model-tab-meta {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.78rem;
    color: #94a3b8;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pd-model-guide {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(15,23,42,0.94);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
    color: #f1f5f9;
    font-weight: 600;
}

.pd-model-guide.is-hidden {
    display: none;
}

.pd-model-guide i,
.pd-model-guide .icon {
    color: #0ea5e9;
    animation: pd-model-guide-wave 1.4s ease-in-out infinite;
}

@keyframes pd-model-guide-wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

.pd-model-screen-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.pd-model-screen-hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.pd-model-screen-hotspot.is-hidden {
    opacity: 0;
}

.pd-model-hotspot {
    position: relative;
    display: block;
    width: 0;
    height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    transition: opacity 0.2s ease;
}

.pd-model-hotspot:not([data-visible]) {
    opacity: 0;
    pointer-events: none;
}

.pd-model-hotspot[data-visible] {
    opacity: 1;
}

.pd-model-hotspot:hover {
    z-index: 4;
}

.pd-model-hotspot-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 0.9rem;
    height: 0.9rem;
    flex: 0 0 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.14);
    transform: translate(-50%, -50%);
}

.pd-model-hotspot-card {
    position: absolute;
    top: 0;
    display: inline-flex;
    flex-direction: column;
    min-width: 10rem;
    max-width: 16rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.95rem;
    background: rgba(15,23,42,0.94);
    border: 1px solid rgba(186, 230, 253, 0.9);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
    text-align: left;
    transform: translateY(-50%);
}

.pd-model-hotspot[data-label-side="right"] .pd-model-hotspot-card,
.pd-model-screen-hotspot[data-label-side="right"] .pd-model-hotspot-card {
    left: 6rem;
}

.pd-model-hotspot[data-label-side="left"] .pd-model-hotspot-card,
.pd-model-screen-hotspot[data-label-side="left"] .pd-model-hotspot-card {
    right: 6rem;
}

.pd-model-hotspot-card strong {
    color: #f1f5f9;
    font-size: 0.84rem;
    line-height: 1.2;
}

.pd-model-hotspot-card small {
    margin-top: 0.2rem;
    color: #94a3b8;
    font-size: 0.74rem;
    line-height: 1.45;
}

.pd-model-poster {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #67e8f9;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pd-spec-row {
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pd-spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pd-spec-row dt {
    color: #7dd3fc;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pd-spec-row dd {
    margin-top: 0.38rem;
    color: rgba(241, 245, 249, 0.92);
    line-height: 1.55;
    font-size: 0.95rem;
}

.pd-advantage-card {
    padding: 1.5rem;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.pd-advantage-card:hover,
.pd-related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.55);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.pd-faq-card {
    padding: 1.5rem;
}

.pd-faq-item {
    border: 1px solid rgba(103, 232, 249, 0.18);
    border-radius: 1rem;
    background: #0b1220;
    padding: 0.2rem 0;
}

.pd-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1rem 0.95rem;
    font-weight: 700;
    color: #f1f5f9;
    position: relative;
}

.pd-faq-item summary::-webkit-details-marker {
    display: none;
}

.pd-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 0.95rem;
    color: #38bdf8;
    font-size: 1.15rem;
}

.pd-faq-item[open] summary::after {
    content: "-";
}

.pd-faq-item p {
    padding: 0 1rem 1rem;
    color: #94a3b8;
    line-height: 1.7;
    font-size: 0.95rem;
}

.pd-related-card {
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

@media (max-width: 1024px) {
    .pd-summary-card {
        position: static;
    }
}

@media (max-width: 720px) {
    .pd-highlight-grid {
        grid-template-columns: 1fr;
    }

    .pd-price-panel,
    .pd-purchase-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .pd-gallery-card {
        min-height: 22rem;
    }

    .pd-model-card {
        grid-template-columns: 1fr;
    }

    .pd-model-browser {
        grid-template-columns: 1fr;
    }

    .pd-model-tabs {
        flex-direction: row;
        overflow-x: auto;
    }

    .pd-model-tab {
        min-width: 10rem;
    }

    .pd-model-stage,
    .pd-model-viewer {
        min-height: 22rem;
    }

    .pd-model-stage-banner,
    .pd-model-viewer-banner {
        min-height: 26rem;
    }

    .home-product-3d-banner-stage,
    .home-product-3d-banner-viewer {
        min-height: 20rem;
    }

    .home-index-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-index-product-title {
        max-width: 100%;
    }

    .home-index-product-shell {
        width: 100%;
        padding-inline: 1rem;
    }

    .home-index-showcase {
        grid-template-columns: 1fr;
    }

    .home-index-cta-row {
        grid-template-columns: 1fr;
    }

    .home-index-feature-pane {
        width: 100%;
    }

    .home-product-3d-strip {
        grid-auto-columns: minmax(9rem, 72vw);
    }

    .home-product-3d-secondary-stage,
    .home-product-3d-secondary-viewer {
        min-height: 10rem;
    }
}

/* Auth modal */
.auth-modal-panel {
    background: linear-gradient(180deg, #0b1220 0%, #0f1b2e 100%);
    border: 1px solid rgba(147, 197, 253, 0.5);
    box-shadow: 0 24px 64px rgba(37, 99, 235, 0.16);
}

.auth-input {
    width: 100%;
    border: 1px solid rgba(56,189,248,0.35);
    border-radius: 0.75rem;
    background-color: #0f1b2e;
    color: #f1f5f9;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.auth-input::placeholder {
    color: #94a3b8;
}

.auth-input:focus {
    border-color: #60a5fa;
    background-color: #0b1220;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
    outline: none;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .shop-home {
        --home-nav-offset: var(--app-nav-height);
    }

    #promo {
        min-height: 0;
    }

    .app-nav-logo-link {
        gap: 0.45rem;
    }

    .app-nav-logo {
        max-width: min(9.5rem, 34vw);
        max-height: calc(var(--app-nav-height) - 1.15rem);
    }

    .app-nav-actions {
        gap: 0.5rem;
    }

    .app-nav-icon-button {
        width: 2.55rem;
        height: 2.55rem;
    }

    .app-main-shell {
        padding-top: calc(var(--app-nav-height) + 0.6rem);
    }

    #home {
        min-height: auto;
        padding: 1.5rem 0 1rem;
    }

    .shop-home-hero {
        min-height: auto;
    }

    .shop-home-hero-shell {
        width: 100%;
    }

    .shop-home-hero-grid {
        gap: 1.5rem;
    }

    .shop-home-hero-copy {
        text-align: center;
        max-width: 100%;
    }

    .shop-home-hero-copy h1 {
        font-size: clamp(2.15rem, 9vw, 3.35rem);
    }

    .shop-home-hero-copy p {
        max-width: 100%;
    }

    .shop-home-hero-copy > div:last-child,
    #hero-slider-controls {
        justify-content: center;
    }

    .shop-home-hero-image-frame {
        padding: 0.85rem;
        border-radius: 1.5rem;
    }

    .shop-home-hero-image {
        height: clamp(14rem, 62vw, 22rem);
    }
}

@media (max-width: 1080px) {
    .app-nav-links {
        gap: 0.35rem;
        padding: 0.3rem;
    }

    .app-nav-link {
        padding: 0.52rem 0.8rem;
        font-size: 0.88rem;
    }
}

@media (max-width: 920px) {
    .app-nav-link {
        width: 2.45rem;
        min-width: 2.45rem;
        padding: 0.55rem;
        gap: 0;
    }

    .app-nav-link-label {
        display: none;
    }
}

@media (max-width: 720px) {
    .app-nav-link--guides {
        display: none;
    }
}

/* Videos stays visible a little longer than Guides on narrow screens. */
@media (max-width: 480px) {
    .app-nav-link--videos {
        display: none;
    }
}

@media (max-width: 560px) {
    .app-nav-shell {
        padding-inline: 0.85rem;
    }

    .app-nav-row--primary {
        gap: 0.55rem;
    }

    .app-nav-link--products {
        display: none;
    }
}

@media (max-width: 420px) {
    .app-nav-link--home {
        display: none;
    }
}

/* Remove all default spacing for sections */
section {
    margin: 0;
    padding: 0;
}

/* Force remove any unwanted margins */
.m-0 {
    margin: 0 !important;
}

.p-0 {
    padding: 0 !important;
}

/* Fix for Tailwind container */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}
/* Profile Side Pane */
#profile-side-pane {
    background-color: hsl(var(--background));
    border-left: 1px solid hsl(var(--border));
}

#profile-side-pane h2 {
    color: hsl(var(--foreground));
}

#profile-side-pane .form-label {
    color: hsl(var(--foreground));
    font-weight: 500;
}

#profile-side-pane .form-control {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 0.35rem);
    padding: 0.5rem 1rem;
    color: hsl(var(--foreground));
}

#profile-side-pane .btn-primary {
    background-color: hsl(var(--primary));
    border-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-weight: 500;
}

#profile-side-pane .btn-primary:hover {
    background-color: hsl(var(--primary-dark));
    border-color: hsl(var(--primary-dark));
}
/* Profile Page Styles */
.profile-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(15,23,42,0.78);
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.10);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid hsl(var(--border));
    padding-bottom: 1rem;
}

.profile-logo {
    width: 80px;
    height: auto;
    margin-right: 1.5rem;
}

.profile-header h1 {
    font-size: 2.5rem;
    color: hsl(var(--foreground));
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.profile-section {
    background-color: hsl(var(--card));
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}

.profile-section h2 {
    font-size: 1.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
    border-bottom: 1px solid hsl(var(--border));
    padding-bottom: 0.5rem;
}

.user-details p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 1.25rem;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 0.35rem);
    background-color: rgba(15,23,42,0.9);
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 4px hsl(var(--ring) / 0.18);
}

.btn-profile {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
    color: hsl(var(--primary-foreground));
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: calc(var(--radius) - 0.25rem);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-profile:hover {
    filter: brightness(0.98);
}

.link-profile {
    color: #38bdf8;
    text-decoration: none;
}

.link-profile:hover {
    text-decoration: underline;
}

.feedback-message {
    margin-top: 1rem;
    font-size: 0.9rem;
}
.address-card {
    background-color: rgba(15,23,42,0.6);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid rgba(148,163,184,0.25);
}

.address-actions {
    margin-top: 1rem;
}

.link-profile-delete {
    color: #fb7185;
    text-decoration: none;
    margin-left: 1rem;
}

.link-profile-delete:hover {
    text-decoration: underline;
}
#profile-popup {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.18);
    width: 400px;
    z-index: 1000;
    color: hsl(var(--foreground));
}

.profile-popup-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(148,163,184,0.18);
}

.profile-popup-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.profile-popup-body {
    padding: 1rem;
}

.profile-popup-body p {
    margin: 0 0 0.5rem;
}

.profile-popup-footer {
    padding: 1rem;
    border-top: 1px solid rgba(148,163,184,0.18);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-profile-secondary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.5rem;
    margin-top: 0.5rem;
    background-color: rgba(15,23,42,0.75);
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 0.35rem);
    font-weight: 500;
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-profile-secondary:hover {
    background-color: rgba(15,23,42,0.95);
}
/* Checkout Page Enhancements */
/* Do not override the global `.container` sizing here; keep checkout max-width local. */
.checkout-max {
    max-width: 1200px;
}

#checkout-form .address-card {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

#checkout-form .address-card:hover {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary-light) / 0.2);
}

#checkout-form input[type="radio"]:checked + label {
    font-weight: bold;
}

.order-summary-bill {
    background-color: #0b1220;
    border: 1px solid rgba(148,163,184,0.25);
    border-radius: 0.5rem;
    padding: 1.5rem;
}
/* Checkout Page Redesign */
.address-card.selected {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary-light) / 0.3);
}

.btn-profile {
    display: inline-block;
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
    color: hsl(var(--primary-foreground));
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.2s;
}

.btn-profile:hover {
    filter: brightness(0.98);
}
/* Checkout Page Redesign - Final */
.order-summary-table th, .order-summary-table td {
    padding: 0.75rem;
}

.order-summary-table th {
    border-bottom: 2px solid hsl(var(--primary));
}

.order-summary-table td {
    border-bottom: 1px solid rgba(148,163,184,0.25);
}

.order-summary-table th:not(:first-child),
.order-summary-table td:not(:first-child) {
    border-left: 2px solid hsl(var(--primary));
}

.address-card.selected {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary-light) / 0.3);
    box-shadow: 0 0 0 4px hsl(var(--primary) / 0.16);
}
.btn-profile-danger {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 16px;
    font-size: 14px;
    color: #fff;
    background-color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-profile-danger:hover {
    background-color: #c82333;
}
.pin-input {
    display: flex;
    justify-content: space-between;
    width: 220px; /* Adjust width as needed */
    margin: 20px auto;
}

.pin-input input {
    width: 30px;
    height: 40px;
    text-align: center;
    font-size: 1.5rem;
    border: 1px solid hsl(var(--border));
    border-radius: 5px;
    margin: 0 5px;
    -webkit-text-security: disc; /* Mask the input */
    -moz-webkit-text-security: disc;
    -moz-text-security: disc;
}

.pin-input input:focus {
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 4px hsl(var(--ring) / 0.18);
    outline: none;
}

/* ------------------------------------------------------------------ */
/* Cart + payment legacy pages (non-Tailwind templates)                */
/* ------------------------------------------------------------------ */

.cart-page,
.payment-page,
.confirmation-page {
    padding: 2.5rem 0;
}

.cart-page h1,
.payment-page h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cart-container,
.checkout-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.25rem;
}

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

.cart-items,
.cart-summary,
.checkout-form,
.order-summary,
.confirmation-box {
    background: rgba(15,23,42,0.82);
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.10);
    overflow: hidden;
}

.cart-items { padding: 1rem; }

.cart-items table { width: 100%; border-collapse: collapse; }
.cart-items th {
    text-align: left;
    font-size: 0.85rem;
    color: hsl(var(--muted-foreground));
    padding: 0.75rem 0.75rem;
    border-bottom: 1px solid hsl(var(--border));
}

.cart-items td {
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid hsl(var(--border));
    vertical-align: middle;
}

.cart-items .product-info { display: flex; align-items: center; gap: 0.75rem; }
.cart-items .product-info img {
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
    object-fit: cover;
    border: 1px solid hsl(var(--border));
}

.cart-items input[type="number"] {
    width: 84px;
    padding: 0.5rem 0.6rem;
    border-radius: 0.65rem;
    border: 1px solid hsl(var(--border));
    background: rgba(15,23,42,0.92);
}

.remove-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid hsl(var(--border));
    background: rgba(15,23,42,0.9);
}

.remove-btn:hover { border-color: hsl(var(--ring) / 0.55); }

.cart-summary,
.checkout-form,
.order-summary { padding: 1rem; }

.cart-summary h2,
.checkout-form h2,
.order-summary h2 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; }
.summary-row.total {
    border-top: 1px solid hsl(var(--border));
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    font-weight: 700;
}

.cart-actions { display: flex; gap: 0.75rem; margin-top: 1rem; }
.checkout-btn { width: 100%; margin-top: 1rem; }

.coupon { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.coupon input {
    flex: 1;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border));
    background: rgba(15,23,42,0.92);
}

.empty-cart {
    padding: 3rem 1rem;
    text-align: center;
    background: rgba(15,23,42,0.78);
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
}

.empty-cart i,
.empty-cart .icon { font-size: 2.25rem; color: hsl(var(--muted-foreground)); }
.empty-cart h2 { margin-top: 0.75rem; }

/* ------------------------------------------------------------------ */
/* Product listing grid card (products.html)                           */
/* ------------------------------------------------------------------ */
.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    overflow: hidden;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(103, 232, 249, 0.45);
    box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.2), 0 24px 60px rgba(34, 211, 238, 0.18);
}

.product-card-media {
    position: relative;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(9, 14, 26, 0.6) 100%);
}

/* Inline SVG icons (replaces Font Awesome webfont). Sized/aligned to match FA's own
   default icon box so no layout shifted when swapping <i class="fa-*"> for these. */
.icon {
    display: inline-block;
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    overflow: visible;
    vertical-align: -0.125em;
}
