/* Family1st GPS – Product Page Stylesheet */
/* Dark theme matching index_v3.html design language */
/* ================================================= */

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

/* ── CSS Variables (matching index_v3) ── */
:root {
    --bg-primary: #000;
    --bg-secondary: #0a0a0a;
    --bg-card: rgba(255, 255, 255, .03);
    --bg-card-hover: rgba(255, 255, 255, .06);
    --bg-glass: rgba(255, 255, 255, .05);
    --border-subtle: rgba(255, 255, 255, .08);
    --border-hover: rgba(255, 255, 255, .15);
    --text-primary: #fff;
    --text-secondary: rgba(255, 255, 255, .7);
    --text-muted: rgba(255, 255, 255, .45);
    --accent-blue: #3b82f6;
    --accent-blue-glow: rgba(59, 130, 246, .3);
    --accent-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body {
    font-family: var(--font);
    /* background: var(--bg-primary); */
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: clip;
}

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

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

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

button {
    font-family: var(--font);
}

/* ── Animations ── */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, .2);
    }

    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, .4);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}

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

.stagger-1 {
    transition-delay: .1s;
}

.stagger-2 {
    transition-delay: .2s;
}

.stagger-3 {
    transition-delay: .3s;
}

.stagger-4 {
    transition-delay: .4s;
}

.stagger-5 {
    transition-delay: .5s;
}

.stagger-6 {
    transition-delay: .6s;
}

/* ── Scrollbar ── */
/* ::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.2); } */

/* ── Utilities ── */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex {
    display: flex;
}

.gap-3 {
    gap: 0.75rem;
}

/* ════════════════════════════════════════════
   HEADER (matching index_v3 exactly)
   ════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background .3s;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--accent-gradient);
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #fff;
}

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

.logo-text span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ════════════════════════════════════════════
   BREADCRUMB
   ════════════════════════════════════════════ */
.page-breadcrumb {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-subtle);
    padding-top: 72px;
    /* offset for fixed header */
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    font-size: 0.8125rem;
    color: #64748b;
}

.breadcrumb-list a {
    transition: color .3s;
}

.breadcrumb-list a:hover {
    color: var(--accent-blue);
}

.breadcrumb-current {
    color: #0f172a;
    font-weight: 500;
}

/* ════════════════════════════════════════════
   PRODUCT HERO
   ════════════════════════════════════════════ */
.product-hero {
    background: var(--bg-primary);
    padding: 3rem 0 4rem;
    position: relative;
}

.product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, .08) 0%, transparent 70%);
    pointer-events: none;
}

/* Two-column grid */
.product-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .product-hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .product-hero__grid {
        gap: 4rem;
    }
}

/* ── Product Gallery ── */
.product-gallery {
    text-align: center;
}

@media (min-width: 768px) {
    .product-gallery {
        position: sticky;
        top: 5rem;
    }
}

.product-gallery__frame {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
    position: relative;
}

.product-gallery__frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* Gallery layout (thumbs + main) */
.product-gallery {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    position: sticky;
    top: 5rem;
    align-self: flex-start;
}

.product-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

.product-gallery__thumb {
    padding: 0;
    border: 2px solid var(--border-subtle);
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    background: none;
    transition: border-color .3s;
}

.product-gallery__thumb:hover {
    border-color: var(--border-hover);
}

.product-gallery__thumb.is-active {
    border-color: var(--accent-blue);
}

.product-gallery__thumb img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.product-gallery__frame {
    flex: 1;
    min-width: 0;
    position: relative;
}

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

@media (max-width: 640px) {
    .product-gallery {
        flex-direction: column-reverse;
        position: static;
    }

    .product-gallery__thumbs {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Product badge overlay */
.product-badge {
    position: absolute;
    font-size: 0.75rem;
    font-weight: 600;
    padding: .375rem .875rem;
    border-radius: 9999px;
    background: rgba(59, 130, 246, .15);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, .3);
    backdrop-filter: blur(10px);
    z-index: 2;
    top: 1rem;
    left: 1rem;
}

/* ── Product Info ── */
.product-info {
    color: var(--text-primary);
}

.product-info__title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -.02em;
}

@media (min-width: 640px) {
    .product-info__title {
        font-size: 2.5rem;
    }
}

/* Rating */
.product-info__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.product-info__rating .stars {
    display: flex;
    gap: 2px;
}

.product-info__rating .star {
    width: 1.125rem;
    height: 1.125rem;
    color: #facc15;
}

.product-info__rating .rating-count {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Price */
.product-info__price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.product-info__price .price-value {
    font-size: 2.75rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-info__price .price-sub {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Tagline */
.product-info__tagline {
    font-size: 0.875rem;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 1.5rem;
}

/* Description */
.product-info__description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

/* Feature bullets */
.product-info__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-info__features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.product-info__features li::before {
    content: '';
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2310b981' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center;
}

/* ── Cart Actions ── */
.product-info__cart-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

/* Qty selector */
.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-glass);
}

.qty-btn {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.15s;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, .1);
}

.qty-value {
    width: 3rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Add to cart button */
.add-to-cart-btn,
.btn--primary.btn--large {
    flex: 1;
    min-width: 180px;
    padding: 0.875rem 2rem;
    font-size: 1.0625rem;
    font-weight: 700;
    background: var(--accent-gradient);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: 0 4px 15px var(--accent-blue-glow);
    transition: all .3s cubic-bezier(.16, 1, .3, 1);
    font-family: var(--font);
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::before,
.btn--primary.btn--large::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .2), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.add-to-cart-btn:hover::before,
.btn--primary.btn--large:hover::before {
    opacity: 1;
}

.add-to-cart-btn:hover,
.btn--primary.btn--large:hover {
    box-shadow: 0 8px 30px var(--accent-blue-glow);
    transform: translateY(-2px);
}

/* Disclaimer */
.product-info__disclaimer {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Best For box */
.product-info__best-for {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    transition: border-color .3s;
}

.product-info__best-for:hover {
    border-color: var(--border-hover);
}

.best-for__title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-blue);
    margin-bottom: 0.25rem;
}

.best-for__text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ════════════════════════════════════════════
   PRODUCT BENEFITS / TRUST BAR
   ════════════════════════════════════════════ */
.product-benefits {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    border-top: 1px solid var(--border-subtle);
    padding: 1.5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 1rem;
    transition: all .4s cubic-bezier(.16, 1, .3, 1);
}

.benefit-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, .1);
}

.benefit-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, .1);
    border-radius: 50%;
    color: var(--accent-blue);
}

.benefit-card__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.benefit-card__title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
}

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

/* ════════════════════════════════════════════
   PRODUCT DETAILS (Why Buy + Specs sidebar)
   ════════════════════════════════════════════ */
.product-details {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.product-details__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .product-details__grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 3rem;
        align-items: start;
    }
}

/* Section title (used across sections) */
.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    letter-spacing: -.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* Reasons list */
.reasons-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reasons-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.reasons-list__num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 50%;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-blue-glow);
}

/* ── Sidebar ── */
.product-details__sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Specs block */
.specs-block {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: border-color .3s;
}

.specs-block:hover {
    border-color: var(--border-hover);
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.specs-list__row:last-child {
    border-bottom: none;
}

.specs-list__row:nth-child(even) {
    background: rgba(255, 255, 255, .02);
    margin: 0 -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 4px;
}

.specs-list__row dt {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.specs-list__row dd {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    text-align: right;
}

/* Box contents */
.box-contents {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: border-color .3s;
}

.box-contents:hover {
    border-color: var(--border-hover);
}

.box-contents__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.box-contents__list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.box-contents__list li:last-child {
    border-bottom: none;
}

.box-contents__list li::before {
    content: '';
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233b82f6' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center;
}

/* ── Buy box (compact sidebar version) ── */
.buy-box {
    border-radius: var(--radius-lg);
}

.buy-box--compact {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 1.75rem;
    transition: border-color .3s;
}

.buy-box--compact:hover {
    border-color: var(--border-hover);
}

.buy-box__price {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.buy-box__sub {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

/* Sidebar add to cart */
.buy-box .btn--primary {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 700;
    background: var(--accent-gradient);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: 0 4px 15px var(--accent-blue-glow);
    transition: all .3s cubic-bezier(.16, 1, .3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.buy-box .btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .2), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.buy-box .btn--primary:hover::before {
    opacity: 1;
}

.buy-box .btn--primary:hover {
    box-shadow: 0 8px 30px var(--accent-blue-glow);
    transform: translateY(-2px);
}

/* ════════════════════════════════════════════
   RELATED PRODUCTS
   ════════════════════════════════════════════ */
.related-products {
    padding: 4rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.related-products .section-title {
    margin-bottom: 2.5rem;
}

.related-products__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 768px) {
    .related-products__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Product card */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .4s cubic-bezier(.16, 1, .3, 1);
    height: 100%;
}

.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .5);
}

.product-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.product-card__image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #0a0a0a, #151515);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

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

.product-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.product-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
}

.product-card__rating .stars {
    color: #facc15;
    font-size: 1rem;
}

.product-card__rating .rating-count {
    color: var(--accent-blue);
    font-weight: 600;
}

.product-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.product-card__price .price-value {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-card__price .price-sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ════════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════════ */
.cta-section {
    padding: 6rem 1.5rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, .12), transparent 70%);
    pointer-events: none;
}

.cta-inner {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -.02em;
}

@media (min-width: 640px) {
    .cta-section h2 {
        font-size: 3rem;
    }
}

.cta-section p {
    margin-top: 1.25rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.cta-buttons {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #111;
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    transition: all .3s cubic-bezier(.16, 1, .3, 1);
    text-decoration: none;
    font-family: var(--font);
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
}












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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'DM Sans', sans-serif;
    /* background: #0a0a0f; */
    color: #e0e0e6;
    line-height: 1.6;
    overflow-x: clip;
}

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

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

ul,
ol {
    list-style: none;
}

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

input {
    font-family: inherit;
}

/* ===== UTILITY ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ===== GRADIENT HELPERS ===== */
.gradient-text {
    background: #0f172a;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-btn {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gradient-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

/* ===== GLASS ===== */
.glass {
    background: rgb(192 174 174 / 15%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s;
    border: none;
    text-decoration: none;
    gap: 8px;
}
.nav-cta .btn-primary {
    border-radius: 999px;
}
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    padding: .625rem 1.25rem;
    font-size: .875rem !important;
    position: relative;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, .3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, .03);
}

.btn-outline-blue {
    background: transparent;
    border: 1px solid rgba(59, 130, 246, .3);
    color: var(--accent-blue);
}

.btn-outline-blue:hover {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, .05);
}

.btn-white {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #000;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 1rem;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, .15);
}

.btn-outline-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
}

.btn-outline-white:hover {
    border-color: rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .05);
}

.btn-shop {
    padding: 10px 20px;
    font-size: .85rem;
    border-radius: 10px;
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}

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

.reveal-delay-1 {
    transition-delay: .1s;
}

.reveal-delay-2 {
    transition-delay: .2s;
}

.reveal-delay-3 {
    transition-delay: .3s;
}

.reveal-delay-4 {
    transition-delay: .4s;
}

.reveal-delay-5 {
    transition-delay: .5s;
}

.reveal-delay-6 {
    transition-delay: .6s;
}


/* ===== 2. HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    background: #fff;
    position: relative;
    /* overflow:hidden breaks position:sticky for the gallery */
    overflow-x: clip;
    overflow-y: visible;
    padding-top: 72px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 40%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    /* Top-align columns so the tall text column sets row height; gallery can stick for that span */
    align-items: start;
    padding: 60px 0;
}

.hero-text {
    order: 1;
}

.hero-visual {
    order: 2;
    position: sticky;
    top: 88px;
    align-self: start;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 16px;
    color: #475569;
    max-width: 480px;
    margin-bottom: 28px;
    line-height: 1.7;
}

.product-info__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.product-info__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #334155;
    margin-bottom: 0.5rem;
}

.product-info__features li::before {
    content: "";
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2310b981' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center;
}

.hero-price {
    font-size: 2.5rem;
    font-weight: 900;
    /* margin-bottom: 20px; */
}

.hero-price span {
    font-size: 2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
}

.qty-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #334155;
    background: #f8fafc;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e2e8f0;
}

.qty-value {
    width: 40px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.hero-atc {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    /* margin-bottom: 12px; */
}

.stars-gold {
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.rating-text {
    font-size: 0.9rem;
    color: #2563eb;
}

.hero-disclaimer {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

/* Hero image */
.hero-img-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-img-main {
    width: 100%;
    max-width: 460px;
    border-radius: 20px;
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero-thumbs {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 24px;
    background: rgb(97 91 91 / 48%);
    padding: 8px 14px;
    border-radius: 9999px;

}

.hero-thumb {
    width: 52px;
    height: 52px;
    border-radius: 9999px;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.6;
    cursor: pointer;
    transition: width 0.4s cubic-bezier(.16, 1, .3, 1), opacity 0.3s, border-color 0.3s;
    flex-shrink: 0;
    padding: 0;
    background: none;

}

.hero-thumb.is-active {
    opacity: 1;
    width: 100px;
    border-color: #fff;
    border-radius: 9999px;
}

.hero-thumb:hover {
    opacity: 0.85;
}

.hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9999px;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-price {
        font-size: 2rem;
    }
}

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

    .hero-text {
        order: 2;
        text-align: center;
    }

    .hero-visual {
        order: 1;
        position: static;
        top: auto;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-rating {
        justify-content: center;
    }

    .hero-disclaimer {
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .hero-price {
        font-size: 1.75rem;
    }

    .hero-atc {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

/* ===== 3. TRUST BAR ===== */
.trust-bar {
    background: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
}

.trust-bar-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    color: #3b82f6;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .trust-bar-grid {
        gap: 20px;
    }

    .trust-item {
        font-size: 0.78rem;
        gap: 6px;
    }

    .trust-item svg {
        width: 16px;
        height: 16px;
    }
}

@media (min-width: 768px) {
    .benefits-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    /* border: 1px solid #e2e8f0; */
    border-radius: 1rem;
    padding: 0.75rem;
}

.benefit-card:hover {
    /* transform: translateY(-3px); */
    border: 1px solid #e2e8f0;
    /* box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .5); */
}

.benefit-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #dbeafe; */
    border-radius: 0.75rem;
    color: #2563eb;
}

.benefit-card__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.benefit-card__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.125rem;
}

.benefit-card__sub {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}

/* ===== 4. FEATURE SHOWCASE ===== */
.features-section {
    padding: 60px 0 20px;
}

.features-section .section-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #3b82f6;
    margin-bottom: 12px;
}

.features-section .section-heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 80px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 60px 0;
}

.feature-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-row.reverse .feature-visual {
    order: -1;
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-circle svg {
    width: 56px;
    height: 56px;
    color: #fff;
}

.feature-icon-circle.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

.feature-icon-circle.cyan {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.3);
}

.feature-icon-circle.purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
}

.feature-icon-circle.emerald {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3);
}

.feature-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.feature-content p {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.7;
    max-width: 440px;
}

@media (max-width: 768px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0;
        text-align: center;
    }

    .feature-row.reverse .feature-visual {
        order: 0;
    }

    .feature-content p {
        margin: 0 auto;
    }

    .features-section .section-heading {
        font-size: 1.8rem;
        margin-bottom: 48px;
    }
}

/* ===== 5. SPECS + BOX ===== */
.specs-section {
    padding: 80px 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.spec-card {
    border-radius: 20px;
    padding: 40px;
}

.spec-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 28px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgb(84 80 80 / 24%);
    font-size: 0.92rem;
}

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

.spec-label {
    color: #64748b;
}

.spec-value {
    color: #0f172a;
    font-weight: 600;
}

.box-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.92rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 12px;
}

.box-list li:last-child {
    border-bottom: none;
}

.box-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    flex-shrink: 0;
}

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

    .spec-card {
        padding: 28px;
    }
}

/* ===== 6. REASONS GRID ===== */
.reasons-section {
    padding: 20px 0;
}

.reasons-section .section-heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 60px;
}

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

.reason-card {
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: transparent;
}

.reason-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .5);
}

.reason-num {
    font-size: 2.5rem;
    font-weight: 900;
    display: block;
    margin-bottom: 16px;
}

.reason-text {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
}

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

    .reasons-section .section-heading {
        font-size: 1.8rem;
    }
}

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

/* ===== 7. TESTIMONIAL ===== */
.testimonial-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.testimonial-quote {
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.3rem;
    letter-spacing: 4px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .testimonial-quote {
        font-size: 1.3rem;
    }
}

/* ===== 8. STICKY BOTTOM BAR ===== */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 998;
    background: rgba(10, 10, 15, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 14px 0;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    overflow: hidden;
    box-sizing: border-box;
}

.sticky-bar.is-visible {
    transform: translateY(0);
}

.sticky-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

.sticky-info {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.sticky-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.sticky-price {
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sticky-atc {
    padding: 12px 32px;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .sticky-bar {
        padding: 10px 0;
    }

    .sticky-bar .container {
        width: 100%;
        max-width: 100%;
        gap: 10px;
        padding: 0 12px;
        flex-wrap: nowrap;
    }

    .sticky-info {
        flex: 0 1 auto;
        min-width: 0;
        gap: 8px;
        justify-content: flex-start;
        overflow: hidden;
    }

    .sticky-name {
        display: none;
    }

    .sticky-price {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #sticky-add-to-cart-form {
        flex: 1 1 auto;
        display: flex !important;
        margin: 0 !important;
        min-width: 0;
        max-width: 100%;
    }

    .sticky-atc {
        flex: 1 1 auto;
        width: 70%;
        max-width: 70%;
        padding: 12px 14px;
        font-size: 0.9rem;
        white-space: nowrap;
        min-width: 0;
        margin-left: auto;
    }
}

/* ===== 9. RELATED PRODUCTS ===== */
.related-section {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.related-section .section-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 48px;
}

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

.related-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
}

.related-card-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.related-card-body {
    padding: 20px;
}

.related-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.related-card-rating {
    font-size: 0.82rem;
    color: #2563eb;
    margin-bottom: 8px;
}

.related-card-rating .stars-sm {
    color: #f59e0b;
}

.related-card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
}

/* ===== 10. CTA ===== */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.05));
}

.cta-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, .12), transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.05rem;
    color: #475569;
    margin-bottom: 36px;
}

.cta-checkout {
    display: inline-block;
    padding: 18px 48px;
    font-size: 1.05rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    position: relative;
    overflow: hidden;
    color: #000;
}

@media (max-width: 640px) {
    .cta-section h2 {
        font-size: 1.75rem;
    }
}










/* ---------- nav ---------- */
:root {
    --bg: #FAF7F2;
    --bg-tint: #F3EEE5;
    --ink: #15151F;
    --ink-2: #3D3D55;
    --muted: #7A7A92;
    --line: #E8E2D5;
    --card: #FFFFFF;
    --chip: #EEF0FF;
    --chip-ink: #4A5BFF;

    --accent-a: #5B6CFF;
    --accent-b: #8B5CF6;
    --accent-grad: linear-gradient(120deg, var(--accent-a) 0%, var(--accent-b) 100%);

    --warm: #FFB74D;
    /* map pin yellow */
    --mint: #2FBE8F;
    --coral: #FF6B5B;

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(20, 20, 40, .04), 0 2px 8px rgba(20, 20, 40, .04);
    --shadow-md: 0 2px 6px rgba(20, 20, 40, .05), 0 12px 32px rgba(20, 20, 40, .06);
    --shadow-lg: 0 10px 40px rgba(91, 108, 255, .12), 0 30px 80px rgba(20, 20, 40, .08);

    --maxw: 1240px;
    --pad: clamp(20px, 4vw, 48px);
}

.logo-new {
    max-width: 50%;
}

.footer-logo-new {
    max-width: 50%;
    filter: brightness(0) invert(1);
}

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
    background: rgba(250, 247, 242, .82);
    border-bottom: 1px solid rgba(232, 226, 213, .6);
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: 'Instrument Serif', serif;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.brand .pin {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    background: var(--warm);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    margin: 0 5px 8px 3px;
    box-shadow: 0 2px 6px rgba(255, 183, 77, .35);
}

.brand .pin::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.brand sup {
    font-size: 14px;
    vertical-align: super;
    margin-left: 2px;
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-link {
    padding: 8px 14px;
    border-radius: var(--r-pill);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    transition: background .15s, color .15s;
}

.nav-link:hover {
    background: var(--bg-tint);
    color: var(--ink);
}

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cart-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tint);
    display: grid;
    place-items: center;
    position: relative;
}

.cart-btn:hover {
    background: white;
}

.cart-btn .count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--coral);
    color: white;
    font-size: 10px;
    font-weight: 700;
    display: grid;
    place-items: center;
}


/* Mobile header: logo, cart, Activate, (spacer), hamburger — links in overlay */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-mobile-spacer {
    display: none;
}

.nav-menu-toggle svg {
    color: #000;
}

.nav-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
}

.nav-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.nav-menu-toggle .nav-icon-close {
    display: none;
}

.nav.is-open .nav-menu-toggle .nav-icon-menu {
    display: none;
}

.nav.is-open .nav-menu-toggle .nav-icon-close {
    display: block;
}

.nav-backdrop {
    display: none;
}

@media (min-width: 901px) {
    .nav-inner {
        display: flex;
        align-items: center;
        gap: clamp(12px, 2vw, 28px);
    }

    .nav .nav-links {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: clamp(8px, 1.5vw, 24px);
    }
}

@media (max-width: 900px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
      }
  
      body {
        padding-top: var(--nav-offset, 64px);
      }
      
    .nav-menu-toggle {
        display: inline-flex;
        order: 4;
    }

    .nav-inner {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        padding: 10px 10px;
    }

    .nav .brand {
        flex-shrink: 0;
        order: 1;
        font-size: 24px;
    }

    .nav .brand .logo-new {
        max-width: 171px;
        width: auto;
        height: 39px;
        object-fit: contain;
    }

    .nav-mobile-spacer {
        display: block;
        flex: 1 1 auto;
        min-width: 8px;
        order: 2;
    }

    .nav-cta {
        flex-shrink: 0;
        gap: 18px;
        order: 3;
    }

    .nav-cta .btn-sm {
        padding: 8px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    .nav-cta .cart-btn {
        width: 36px;
        height: 36px;
    }

    .nav-cta .cart-btn svg {
        width: 16px;
        height: 16px;
    }

    .nav .nav-links {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--nav-offset, 64px);
        /* bottom: 0; */
        z-index: 200;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 12px 20px 24px;
        margin: 0;
        background: #fff;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition: transform 0.28s ease;
        overflow-y: auto;
        visibility: hidden;
        pointer-events: none;
    }

    .nav.is-open .nav-links {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav .nav-links .nav-link {
        padding: 16px 12px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        font-size: 16px;
        border-radius: 0;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        top: var(--nav-offset, 64px);
        z-index: 199;
        background: rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s;
        pointer-events: none;
    }

    .nav.is-open .nav-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.nav-menu-open {
        overflow: hidden;
    }
}

@media (max-width: 380px) {
    .nav-inner {
        gap: 4px;
    }

    .nav .brand .logo-new {
        max-width: 110px;
        height: 28px;
    }

    .nav-cta {
        gap: 4px;
    }

    .nav-cta .btn-sm {
        padding: 7px 10px;
        font-size: 12px;
    }
}


/* ---------- footer ---------- */
footer {
    padding: 80px 0 32px;
    color: rgba(255, 255, 255, .72);
    background: #0b0b15;
    margin-top: 80px;
}

footer .wrap {
    color: rgba(255, 255, 255, .72);
}

.ft-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

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

.ft-brand .brand {
    color: white;
    margin-bottom: 16px;
}

.ft-brand .brand .pin::after {
    background: #0b0b15;
}

.ft-brand p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.ft-col h4 {
    color: white;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.ft-col a,
.ft-col .line {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .6);
}

.ft-col a:hover {
    color: white;
}

.ft-apps {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.ft-apps .app {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .15);
    font-size: 12px;
    color: rgba(255, 255, 255, .85);
}

.ft-apps .app:hover {
    border-color: white;
    color: white;
}

.ft-bot {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, .4);
}


/* ===== SLIDE CART DRAWER ===== */
.slide-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 1099;
}

.slide-cart-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.slide-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    color: #0f172a;
    box-shadow: -8px 0 30px rgba(15, 23, 42, .18);
    transform: translateX(100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1100;
    overflow-x: hidden;
}

.slide-cart.is-open {
    transform: translateX(0);
}

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

.slide-cart__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    gap: 12px;
}

.slide-cart__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
    min-width: 0;
    overflow-wrap: anywhere;
}

.slide-cart__close {
    background: none;
    border: none;
    color: #0f172a;
    padding: 6px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    cursor: pointer;
    flex: 0 0 auto;
}

.slide-cart__close:hover {
    background: #f1f5f9;
}

.slide-cart__body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 24px;
}

.slide-cart__empty {
    text-align: center;
    color: #64748b;
    padding: 0px 0;
}
.slide-cart__empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem 1rem;
  }
  .slide-cart__empty-icon {
    display: block;
    flex-shrink: 0;
  }

.slide-cart__items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.slide-cart__item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.slide-cart__item:last-child {
    border-bottom: 0;
}

.slide-cart__item-img {
    min-width: 0;
}

.slide-cart__item-img img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
    max-width: 100%;
}

.slide-cart__item-info {
    min-width: 0;
}

.slide-cart__item-name {
    font-size: .95rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 4px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.slide-cart__item-price {
    font-size: .85rem;
    color: #475569;
    margin: 0 0 8px;
}

.slide-cart__item-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.slide-cart__qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    border: none;
    cursor: pointer;
    flex: 0 0 auto;
}

.slide-cart__qty-btn:hover {
    background: #e2e8f0;
}

.slide-cart__qty-val {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    color: #0f172a;
}

.slide-cart__remove {
    margin-left: 8px;
    background: none;
    border: none;
    color: #ef4444;
    font-size: .8rem;
    cursor: pointer;
    padding: 4px 6px;
}

.slide-cart__remove:hover {
    text-decoration: underline;
}

.slide-cart__item-line {
    font-weight: 700;
    color: #0f172a;
    align-self: start;
    white-space: nowrap;
}

.slide-cart__footer {
    border-top: 1px solid #e2e8f0;
    padding: 20px 24px;
    background: #fff;
}

.slide-cart__subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    gap: 8px;
}

.slide-cart__shipping-note {
    font-size: .8rem;
    color: #64748b;
    margin: 0 0 14px;
}

.slide-cart__checkout {
    display: block;
    width: 100%;
    padding: 14px 20px;
    text-align: center;
    font-size: 1rem;
}

body.cart-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .slide-cart {
        width: 100%;
    }

    .slide-cart__header {
        padding: 16px;
    }

    .slide-cart__body {
        padding: 14px 16px;
    }

    .slide-cart__footer {
        padding: 16px;
    }

    .slide-cart__item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 10px;
    }

    .slide-cart__item-img img {
        width: 56px;
        height: 56px;
    }

    .slide-cart__item-line {
        grid-column: 2 / 3;
        justify-self: start;
        margin-top: 4px;
    }

    .slide-cart__remove {
        margin-left: 0;
    }

    .slide-cart__item-controls {
        gap: 4px;
    }
}