/* ===== DESIGN SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #E31837;
    --secondary: #002F6C;
    --accent: #D4AF37;
    --product-color: #007BFF;
    --green: #16a34a;
    --dark: #0f172a;
    --surface: #f8fafc;
    --border: #e2e8f0;
    --text: #1e293b;
    --text-muted: #64748b;
    --font: 'Inter', 'Open Sans', sans-serif;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
    --shadow: 0 4px 16px rgba(0, 0, 0, .08), 0 2px 6px rgba(0, 0, 0, .04);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, .10), 0 8px 16px rgba(0, 0, 0, .06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased
}

body {
    font-family: var(--font);
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    padding-top: 60px
}

h1,
h2,
h3 {
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2
}

a {
    color: inherit;
    text-decoration: none
}

/* ===== TOPBAR ===== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--dark);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center
}

.topbar .logo img {
    height: 40px;
    display: block
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .85);
    font-size: .84rem;
    font-weight: 500;
    padding: 7px 10px;
    gap: 6px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .06);
    letter-spacing: .01em;
    transition: all .2s
}

.back-btn:hover {
    background: rgba(255, 255, 255, .13);
    color: #fff
}

.back-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0
}

/* ===== HEADER CART ===== */
.header-cart {
    display: flex;
    justify-content: flex-end;
}

.cart-btn {
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.cart-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.cart-btn svg {
    width: 22px;
    height: 22px;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--dark);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 11px 20px;
    font-size: .8rem;
    color: var(--text-muted);
    max-width: 100%
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6px
}

.breadcrumb a {
    color: var(--secondary);
    font-weight: 600
}

.breadcrumb a:hover {
    text-decoration: underline
}

.breadcrumb-sep {
    color: #cbd5e1;
    font-size: .75rem
}

.breadcrumb-current {
    color: var(--text-muted);
    font-weight: 500
}

/* ===== PRODUCT HERO ===== */
.product-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 20px 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px
}

@media(min-width:800px) {
    .product-hero {
        grid-template-columns: 1.1fr 1fr;
        align-items: start;
        gap: 48px
    }
}

/* ===== GALLERY ===== */
.gallery {
    display: block;
    width: 100%;
    position: relative;
    z-index: 0
}

@media(min-width:800px) {
    .gallery {
        position: sticky;
        top: 76px
    }
}

.main-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    aspect-ratio: 1/1;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    border: 1px solid var(--border)
}

.main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block
}

.thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    width: 100%;
    scrollbar-width: none
}

.thumbs::-webkit-scrollbar {
    display: none
}

.thumb {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: var(--surface);
    transition: border-color .18s, opacity .18s;
    flex-shrink: 0;
    opacity: .7
}

.thumb:hover {
    opacity: 1
}

.thumb.active {
    border-color: var(--product-color);
    opacity: 1
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block
}

/* ===== PRODUCT INFO ===== */
.badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: .71rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: .07em;
    text-transform: uppercase
}

.badge-secondary {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-size: .71rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: .05em;
    border: 1px solid #fcd34d
}

.product-category {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 8px
}

.product-title {
    font-size: clamp(1.55rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.12;
    margin-bottom: 6px
}

.product-sub {
    font-size: .95rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    font-weight: 500
}

/* STARS */
.stars {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px
}

.stars-visual {
    display: flex;
    gap: 2px
}

.star-icon {
    width: 16px;
    height: 16px;
    fill: #f59e0b
}

.stars-label {
    font-size: .82rem;
    color: var(--text-muted);
    font-weight: 500
}

.stars-score {
    font-weight: 700;
    color: var(--text)
}

/* PRICE */
.price-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    margin-bottom: 20px
}

.price-was {
    font-size: .88rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 4px
}

.price-discount-tag {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    font-size: .72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: .04em
}

.price-now {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--green);
    line-height: 1;
    letter-spacing: -.02em
}

.price-note {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px
}

.price-note svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--text-muted)
}

/* INCLUDES */
.includes-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 18px
}

.includes-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px
}

.includes-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

.includes-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px
}

.includes-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text)
}

.includes-list .check-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--green)
}

/* FEATURES PILLS */
.features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 13px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text)
}

.feature-pill svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--secondary)
}

/* CTA */
.cta-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px
}

@keyframes subtlePulse {

    0%,
    100% {
        box-shadow: 0 6px 24px rgba(22, 163, 74, .28)
    }

    50% {
        box-shadow: 0 10px 32px rgba(22, 163, 74, .45)
    }
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 17px 24px;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 6px 24px rgba(22, 163, 74, .28);
    animation: subtlePulse 2.4s ease-in-out infinite;
    transition: transform .15s
}

.btn-primary:hover {
    animation: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 32px rgba(22, 163, 74, .38)
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .9rem;
    color: var(--secondary);
    background: #fff;
    border: 1.5px solid var(--border);
    transition: all .18s
}

.btn-secondary:hover {
    border-color: var(--product-color);
    background: #f0f7ff;
    color: var(--product-color)
}

.btn-secondary svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0
}

/* TRUST BADGES */
.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 0
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center
}

.trust-item svg {
    width: 22px;
    height: 22px;
    color: var(--secondary)
}

.trust-item span {
    font-size: .73rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.3
}

/* ===== CONTENT AREA ===== */
.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 64px
}

.section-block {
    margin-bottom: 40px
}

.section-block h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px
}

.section-block h2::before {
    content: '';
    display: block;
    width: 3px;
    height: 18px;
    background: var(--product-color);
    border-radius: 2px;
    flex-shrink: 0
}

.section-block p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 12px;
    font-size: .94rem
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem
}

.specs-table tr {
    border-bottom: 1px solid var(--border)
}

.specs-table tr:last-child {
    border-bottom: none
}

.specs-table td {
    padding: 11px 4px
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--text-muted);
    width: 42%
}

.specs-table td:last-child {
    font-weight: 600;
    color: var(--text)
}

/* FAQ */
.faq-list {
    list-style: none
}

.faq-item {
    border-bottom: 1px solid var(--border)
}

.faq-item:first-child {
    border-top: 1px solid var(--border)
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 0;
    font-family: var(--font);
    font-size: .92rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1.4
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform .2s
}

.faq-item.open .faq-icon {
    transform: rotate(45deg)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease
}

.faq-item.open .faq-a {
    max-height: 300px
}

.faq-a-inner {
    padding: 0 0 18px;
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.65
}

/* ===== DIVIDER ===== */
.section-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 40px 0
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .45);
    text-align: center;
    padding: 28px 16px;
    font-size: .8rem
}

footer a {
    color: rgba(255, 255, 255, .6)
}

footer a:hover {
    color: #fff
}