/* ============================================
   Elements - CSS Principal (Mobile-First)
   ============================================ */

/* --- Variables --- */
:root {
    --color-primary: #5223DE;
    --color-primary-hover: #4019B5;
    --color-sale: #F26F21;
    --color-sale-hover: #D45E19;
    --color-text: #1A1A1A;
    --color-text-secondary: #666666;
    --color-text-light: #999999;
    --color-bg: #FFFFFF;
    --color-bg-gray: #F5F5F5;
    --color-bg-dark: #1A1A1A;
    --color-border: #E5E5E5;
    --color-green: #2E7D32;
    --color-unavailable: #888888;
    --color-whatsapp: #25D366;
    --color-footer-bg: #000000;
    --color-footer-border: #3b3b3b;
    --font-primary: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --header-height: 56px;
    --fab-bottom: 24px;
    --fab-right: 16px;
    --container-max: 1400px;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

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

body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-height);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.page-wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body.no-scroll {
    overflow: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-pill {
    border-radius: var(--radius-lg);
    padding: 14px 32px;
}

.btn-full {
    width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
    transition: box-shadow 0.3s;
}

.header.scrolled {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-text);
    border-radius: 50%;
    transition: background 0.2s;
}

.header-btn:hover {
    background: var(--color-bg-gray);
}

.header-nav {
    display: none;
}

.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-logo img {
    height: 20px;
    width: auto;
}

.header-cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--color-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.2s, transform 0.2s;
}

.cart-count.visible {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   MOBILE NAV
   ============================================ */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    overflow: hidden;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    background: var(--color-bg);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav-overlay.open .mobile-nav {
    transform: translateX(0);
}

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

.mobile-nav-header .mobile-nav-logo {
    height: 16px;
    max-height: 16px;
    width: auto;
    max-width: none;
}

.mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.mobile-nav-link {
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s;
}

.mobile-nav-link:hover {
    background: var(--color-bg-gray);
}

/* ============================================
   CART DRAWER
   ============================================ */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    overflow: hidden;
}

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

.cart-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 360px;
    max-width: 90vw;
    background: var(--color-bg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer-overlay.open .cart-drawer {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
}

.cart-drawer-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.cart-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--color-text-secondary);
}

.cart-empty p {
    margin-bottom: 16px;
}

.cart-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--color-border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cart-drawer-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.cart-drawer-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--color-bg-gray);
}

.cart-drawer-item-info {
    flex: 1;
}

.cart-drawer-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-drawer-item-price {
    font-size: 14px;
    color: var(--color-sale);
    font-weight: 700;
}

.cart-drawer-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.remove-btn {
    color: var(--color-text-light);
    font-size: 12px;
    text-decoration: underline;
    margin-top: 4px;
}

/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero-section {
    margin-bottom: 24px;
}

.hero-carousel {
    position: relative;
    background: var(--color-bg-dark);
    overflow: hidden;
}

.hero-slides {
    position: relative;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.hero-slide-link {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.hero-slide-bg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Hero video slide */
.hero-video-desktop {
    display: none;
}

.hero-video-mobile {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
}

.hero-dot.active {
    background: #fff;
    color: var(--color-bg-dark);
    border-color: #fff;
}

/* ============================================
   CATEGORY GRID
   ============================================ */
.categories-section {
    padding: 0 16px 24px;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1.1;
    display: block;
}

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

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 16px;
    flex-direction: column;
}

.category-name {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

/* ============================================
   BANNER SECTIONS
   ============================================ */
.banner-section {
    padding: 0 16px 24px;
}

.banner-dark {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg-dark);
}

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

/* ============================================
   PRODUCT SECTIONS
   ============================================ */
.product-section {
    padding: 0 0 32px;
}

.product-section-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    padding: 0 20px 20px;
    color: var(--color-text);
}

.product-carousel {
    position: relative;
    overflow: clip;
}

.product-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
    scrollbar-width: none;
}

.product-carousel-track::-webkit-scrollbar {
    display: none;
}

/* --- Product Card --- */
.product-card {
    flex: 0 0 75%;
    max-width: 320px;
    scroll-snap-align: start;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg);
    transition: box-shadow 0.2s;
}

.product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.product-card-link {
    display: block;
}

.product-card-image {
    background: var(--color-bg-gray);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
}

.product-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-card-info {
    padding: 16px;
}

.product-card-name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--color-text);
}

.product-card-old-price {
    display: block;
    font-size: 13px;
    color: var(--color-text-light);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.product-card-price {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--color-sale);
    margin-bottom: 4px;
}

.product-card-pix {
    display: block;
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 2px;
}

.product-card-installments {
    display: block;
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

/* --- Badges --- */
.product-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-lg);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.badge-launch {
    background: var(--color-primary);
    color: #fff;
}

.badge-sale {
    background: var(--color-sale);
    color: #fff;
}

.badge-unavailable {
    background: var(--color-unavailable);
    color: #fff;
}

.badge-feature {
    background: var(--color-primary);
    color: #fff;
}

/* --- Color Swatches --- */
.product-card-colors {
    display: flex;
    gap: 8px;
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s;
}

.color-swatch:hover {
    border-color: var(--color-text);
}

.color-swatch.crossed::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -2px;
    right: -2px;
    height: 2px;
    background: #D32F2F;
    transform: rotate(-45deg);
}

/* --- Carousel Arrow --- */
.carousel-arrow {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: box-shadow 0.2s;
}

.carousel-arrow:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-arrow-next {
    right: 12px;
}

/* ============================================
   FEATURE BANNERS
   ============================================ */
.feature-banners-section {
    padding: 0 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-banner {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: block;
    aspect-ratio: 16 / 10;
}

.feature-banner img,
.feature-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    color: #fff;
    text-align: right;
}

.feature-banner-overlay h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-banner-overlay p {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.9;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
    padding: 40px 20px;
}

.faq-container {
    /* Mobile: stacked layout */
}

.faq-left {
    margin-bottom: 24px;
}

.faq-support-text {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.faq-support-btn {
    display: inline-flex;
}

.faq-title {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--color-text);
}

.faq-list {
    background: var(--color-bg-gray);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(0,0,0,0.03);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 20px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* .faq-support removed - now using .faq-left */

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-footer-bg);
    color: #fff;
    padding: 32px 20px 24px;
}

.footer-section {
    border-bottom: 1px solid var(--color-footer-border);
}

.footer-section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.footer-plus {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.footer-section.open .footer-plus {
    transform: rotate(45deg);
}

.footer-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.footer-section.open .footer-section-content {
    max-height: 500px;
}

.footer-section-content a,
.footer-section-content p {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.footer-section-content a:hover {
    color: #fff;
}

.footer-payment-text {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* Footer App */
.footer-app {
    padding: 24px 0;
    border-bottom: 1px solid var(--color-footer-border);
}

.footer-app-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-app-badges {
    display: flex;
    gap: 10px;
}

.app-badge svg {
    border-radius: 6px;
    border: 1px solid var(--color-footer-border);
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0 0;
    text-align: center;
}

.footer-copyright {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    margin-bottom: 16px;
}

.footer-divider {
    width: 40px;
    height: 1px;
    background: var(--color-footer-border);
    margin: 0 auto 16px;
}

.footer-tagline {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-footer-border);
    color: #fff;
    transition: background 0.2s, border-color 0.2s;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

/* ============================================
   FABs
   ============================================ */
.fab-container {
    position: fixed;
    bottom: var(--fab-bottom);
    right: var(--fab-right);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.fab-whatsapp {
    background: var(--color-whatsapp);
}

.fab-gift {
    background: var(--color-bg-dark);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
}

/* ============================================
   RESPONSIVE - Tablet (768px+)
   ============================================ */
@media (min-width: 768px) {
    .categories-section {
        padding: 0 24px 32px;
    }

    .categories-grid {
        gap: 16px;
    }

    .product-card {
        flex: 0 0 45%;
        max-width: 380px;
    }

    .product-section-title {
        font-size: 28px;
        padding: 0 24px 24px;
    }

    .product-carousel-track {
        padding: 0 24px;
    }

    .banner-section {
        padding: 0 24px 32px;
    }

    .feature-banners-section {
        padding: 0 24px 32px;
        flex-direction: row;
    }

    .feature-banner {
        flex: 1;
    }

    .hero-slide-link {
        aspect-ratio: 4 / 3;
    }

    .hero-dots {
        gap: 10px;
        padding: 20px 0 28px;
    }

    .hero-dot {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .faq-section {
        padding: 48px 24px;
    }

    .footer {
        padding: 40px 24px 32px;
    }
}

/* ============================================
   RESPONSIVE - Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    /* --- Header Desktop Nav --- */
    :root {
        --header-height: 64px;
    }

    .header-container {
        max-width: var(--container-max);
        padding: 0 40px;
    }

    .header-logo {
        position: static;
        transform: none;
        margin-right: 32px;
        flex-shrink: 0;
    }

    .header-logo img {
        height: 24px;
    }

    .header-nav {
        display: flex;
        align-items: center;
        gap: 28px;
        flex: 1;
    }

    .header-nav a {
        font-size: 13px;
        font-weight: 600;
        color: var(--color-text);
        letter-spacing: 0.3px;
        transition: color 0.2s;
        white-space: nowrap;
        position: relative;
    }

    .header-nav a::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--color-primary);
        transform: scaleX(0);
        transition: transform 0.2s;
    }

    .header-nav a:hover {
        color: var(--color-primary);
    }

    .header-nav a:hover::after {
        transform: scaleX(1);
    }

    #menuToggle {
        display: none;
    }

    /* --- Hero Desktop --- */
    .hero-section {
        margin-bottom: 48px;
        padding: 0 40px;
    }

    .hero-carousel {
        border-radius: var(--radius-md);
        max-width: var(--container-max);
        margin: 0 auto;
    }

    .hero-slide-link {
        aspect-ratio: 16 / 7;
    }

    .hero-video-desktop {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-video-mobile {
        display: none;
    }

    /* --- Categories Desktop --- */
    .categories-section {
        padding: 0 40px 48px;
        max-width: var(--container-max);
        margin: 0 auto;
    }

    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }

    .category-card {
        aspect-ratio: 3 / 4;
    }

    .category-name {
        font-size: 18px;
    }

    .category-overlay {
        padding: 20px;
    }

    /* --- Banners Desktop --- */
    .banner-section-biotipo {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 0 40px 48px;
    }

    .banner-section {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 0 40px 48px;
    }

    .banner-dark {
        border-radius: var(--radius-lg);
    }

    .banner-img {
        transition: transform 0.5s ease;
    }

    .banner-dark:hover .banner-img {
        transform: scale(1.03);
    }

    /* --- Product Sections Desktop --- */
    .product-section {
        padding: 0 0 56px;
        max-width: var(--container-max);
        margin: 0 auto;
    }

    .product-section-title {
        font-size: 30px;
        padding: 0 40px 32px;
        max-width: 700px;
        line-height: 1.25;
        font-weight: 400;
    }

    .product-carousel {
        overflow: clip;
        position: relative;
    }

    .product-carousel-track {
        padding: 0 40px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 24px;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .product-carousel-track::-webkit-scrollbar {
        display: none;
    }

    .product-card {
        flex: 0 0 calc(25% - 18px);
        max-width: 340px;
        scroll-snap-align: start;
        transition: box-shadow 0.3s ease, transform 0.3s ease;
    }

    .product-card-image {
        aspect-ratio: 1 / 1;
        padding: 24px;
    }

    .product-card:hover {
        box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        transform: translateY(-4px);
    }

    .carousel-arrow {
        display: flex;
        top: 40%;
        width: 44px;
        height: 44px;
    }

    .product-card-name {
        font-size: 15px;
    }

    .product-card-price {
        font-size: 22px;
    }

    .product-card-info {
        padding: 16px 20px 20px;
    }

    /* --- Feature Banners Desktop --- */
    .feature-banners-section {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 0 40px 48px;
        gap: 24px;
    }

    .feature-banner {
        border-radius: var(--radius-lg);
    }

    .feature-banner img,
    .feature-banner video {
        transition: transform 0.5s ease;
    }

    .feature-banner:hover img,
    .feature-banner:hover video {
        transform: scale(1.05);
    }

    .feature-banner-overlay {
        padding: 32px;
    }

    .feature-banner-overlay h3 {
        font-size: 22px;
    }

    .feature-banner-overlay p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* --- FAQ Desktop --- */
    .faq-section {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 80px 40px;
    }

    .faq-container {
        display: grid;
        grid-template-columns: 1fr 1.6fr;
        gap: 60px;
        align-items: start;
    }

    .faq-left {
        position: sticky;
        top: 100px;
        margin-bottom: 0;
    }

    .faq-title {
        font-size: 36px;
        font-family: var(--font-primary);
        font-weight: 400;
        font-style: normal;
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .faq-support-text {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px 24px;
    }

    .faq-answer p {
        padding: 0 24px 20px;
        font-size: 15px;
    }

    /* --- Footer Desktop --- */
    .footer {
        max-width: none;
        padding: 48px 40px 32px;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 32px 40px;
        max-width: var(--container-max);
        margin: 0 auto;
    }

    .footer-section {
        border-bottom: none;
    }

    .footer-section-content {
        max-height: none;
        overflow: visible;
    }

    .footer-plus {
        display: none;
    }

    .footer-section-toggle {
        cursor: default;
        padding: 0 0 12px;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .footer-section-content a,
    .footer-section-content p {
        font-size: 13px;
        padding: 5px 0;
    }

    .footer-app {
        border-bottom: none;
        padding: 0;
    }

    .footer-bottom {
        max-width: var(--container-max);
        margin: 32px auto 0;
        padding-top: 24px;
        border-top: 1px solid var(--color-footer-border);
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 16px;
    }

    .footer-copyright {
        margin-bottom: 0;
        font-size: 12px;
    }

    .footer-divider {
        display: none;
    }

    .footer-tagline {
        margin-bottom: 0;
    }

    .footer-social {
        gap: 16px;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
    }

    .footer-social a:hover {
        transform: scale(1.1);
    }

    /* --- FABs Desktop --- */
    .fab-container {
        --fab-right: 32px;
        --fab-bottom: 32px;
    }
}

/* ============================================
   RESPONSIVE - Large Desktop (1200px+)
   ============================================ */
@media (min-width: 1200px) {
    body {
        font-size: 16px;
    }

    .product-section-title {
        font-size: 32px;
        font-weight: 400;
        font-style: italic;
        font-family: var(--font-display);
    }

    .categories-grid {
        gap: 24px;
    }

    .product-card {
        max-width: 360px;
    }
}

/* ============================================
   RESPONSIVE - Ultra Wide (1440px+)
   ============================================ */
@media (min-width: 1440px) {
    .hero-slide-link {
        aspect-ratio: 21 / 9;
        max-height: 580px;
    }
}

/* ============================================
   Product Page (.prod-*)
   ============================================ */

/* --- S1: Trust Bar --- */
.prod-trust-bar {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.prod-trust-bar::-webkit-scrollbar {
    display: none;
}

.prod-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.prod-trust-icon {
    flex-shrink: 0;
    color: var(--color-text);
}

.prod-trust-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.prod-trust-text strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
}

.prod-trust-text span {
    font-size: 13px;
    color: var(--color-text-secondary);
}

/* --- S2: Product Gallery --- */
.prod-gallery {
    position: relative;
    background: var(--color-bg);
}

.prod-gallery-thumbs {
    display: none;
}

.prod-gallery-thumb {
    width: 72px;
    height: 72px;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    object-fit: cover;
    transition: border-color 0.2s;
}

.prod-gallery-thumb.active {
    border-color: var(--color-primary);
}

.prod-gallery-viewport {
    position: relative;
    overflow: hidden;
}

.prod-gallery-zoom {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text);
    cursor: pointer;
}

.prod-gallery-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 6px 14px;
    background: var(--color-green);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.prod-gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.prod-gallery-track::-webkit-scrollbar {
    display: none;
}

.prod-gallery-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    padding: 20px;
}

.prod-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.prod-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px 16px;
    flex-wrap: wrap;
}

.prod-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 0;
    transition: background 0.2s;
}

.prod-gallery-dot.active {
    background: var(--color-text);
}

/* --- S3: Product Info --- */
.prod-info {
    padding: 24px 20px 0;
}

.prod-info-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.prod-info-title {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

.prod-share-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    margin-top: 2px;
}

.prod-info-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prod-info-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--color-text-secondary);
    text-decoration: underline;
    margin-bottom: 20px;
}

.prod-info-more svg {
    flex-shrink: 0;
}

/* --- S4: Price Block --- */
.prod-price {
    padding: 20px 20px 0;
    border-top: 1px solid var(--color-border);
}

.prod-price-old {
    display: block;
    font-size: 14px;
    color: var(--color-text-light);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.prod-price-pix {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.prod-price-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
}

.prod-price-label {
    font-size: 14px;
    color: var(--color-text);
}

.prod-price-installments {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.prod-price-parcelas {
    display: inline-block;
    font-size: 13px;
    color: var(--color-text-secondary);
    text-decoration: underline;
    margin-bottom: 8px;
}

/* --- S5: Product Options --- */
.prod-options {
    padding: 20px;
}

.prod-option-group {
    margin-bottom: 24px;
}

.prod-option-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 10px;
}

/* Color Swatches */
.prod-color-swatches {
    display: flex;
    gap: 10px;
}

.prod-color-swatch {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s;
}

.prod-color-swatch.active {
    border-color: var(--color-text);
}

.prod-color-swatch.crossed {
    cursor: not-allowed;
    opacity: 0.6;
}

.prod-color-swatch.crossed::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, transparent 45%, #E74C3C 45%, #E74C3C 55%, transparent 55%);
}

/* Quantity */
.prod-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 30px;
    overflow: hidden;
}

.prod-qty-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    font-size: 18px;
}

.prod-qty-input {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-text);
    -moz-appearance: textfield;
    background: none;
}

.prod-qty-input::-webkit-outer-spin-button,
.prod-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Add to Cart */
.prod-add-cart {
    width: 100%;
    padding: 20px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 24px;
}

.prod-add-cart:hover {
    background: var(--color-primary-hover);
}

/* Share */
.prod-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.prod-share-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--color-text);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

/* CEP */
.prod-cep {
    padding-top: 4px;
}

.prod-cep-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.prod-cep-row {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}

.prod-cep-input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-primary);
    color: var(--color-text);
}

.prod-cep-input::placeholder {
    color: var(--color-text-light);
}

.prod-cep-btn {
    padding: 14px 24px;
    background: var(--color-text);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-primary);
    cursor: pointer;
    letter-spacing: 0.5px;
}

.prod-cep-help {
    font-size: 13px;
    color: var(--color-text-secondary);
    text-decoration: underline;
}

/* --- S6: Bundle --- */
.prod-bundle {
    padding: 40px 20px;
}

.prod-bundle-title {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--color-text);
}

.prod-bundle-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

.prod-bundle-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.prod-bundle-img {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

.prod-bundle-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.prod-bundle-empty {
    background: var(--color-bg-gray);
}

.prod-bundle-plus {
    font-size: 20px;
    color: var(--color-text-light);
}

.prod-bundle-price-label {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.prod-bundle-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}

.prod-bundle-btn {
    width: 80%;
    padding: 16px;
    background: var(--color-bg-gray);
    color: var(--color-text-light);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: not-allowed;
}

/* --- S7: Lifestyle Banner --- */
.prod-lifestyle {
    padding: 16px 20px 0;
}

.prod-lifestyle-img {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
}

/* --- S8: Feature Cards --- */
.prod-features {
    padding: 32px 0 32px 20px;
    overflow: hidden;
}

.prod-features-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-right: 20px;
    -webkit-overflow-scrolling: touch;
}

.prod-features-track::-webkit-scrollbar {
    display: none;
}

.prod-feature-card {
    flex: 0 0 75%;
    scroll-snap-align: start;
    background: #efefef;
    border-radius: var(--radius-md);
    overflow: hidden;
    padding-bottom: 20px;
}

.prod-feature-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.prod-feature-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e5e5;
}

.prod-feature-title {
    font-size: 16px;
    font-weight: 700;
    padding: 16px 16px 8px;
    color: var(--color-text);
}

.prod-feature-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-secondary);
    padding: 0 16px;
}

/* --- S9: Long Description --- */
.prod-description {
    padding: 32px 20px;
}

.prod-desc-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: 16px;
}

.prod-desc-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.prod-desc-image {
    margin: 24px 0;
    text-align: center;
}

.prod-desc-image img {
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.prod-desc-materials {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 16px;
}

.prod-desc-material {
    flex: 1;
    font-size: 12px;
    line-height: 1.4;
    color: var(--color-text-secondary);
}

.prod-desc-material strong {
    display: block;
    font-size: 13px;
    color: var(--color-text);
    margin-bottom: 2px;
}

.prod-desc-material small {
    display: block;
    font-size: 11px;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.prod-desc-badges {
    display: flex;
    gap: 8px;
}

.prod-desc-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-text);
    background: var(--color-bg-gray);
    border-radius: 6px;
    padding: 8px 10px;
    line-height: 1.2;
}

.prod-desc-badge strong {
    font-size: 20px;
    color: var(--color-primary);
}

.prod-desc-visual {
    margin-top: 24px;
}

.prod-desc-visual img {
    max-height: 400px;
    object-fit: contain;
    margin: 0 auto;
}

/* --- S10: Safety --- */
.prod-safety {
    padding: 40px 20px;
}

.prod-safety-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 16px;
}

.prod-safety-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.prod-badge-nr17 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #EDE7F6;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 800;
    border-radius: 8px;
}

.prod-badge-bifma {
    font-size: 24px;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: 2px;
}

.prod-safety-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
}

.prod-safety-text strong {
    font-weight: 700;
}

/* --- S11: Specification Tabs --- */
.prod-specs {
    padding: 40px 20px;
}

.prod-specs-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0;
}

.prod-specs-tab {
    padding: 12px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-primary);
    color: var(--color-text-light);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.prod-specs-tab.active {
    color: var(--color-text);
    border-bottom-color: var(--color-text);
}

.prod-specs-panel {
    display: none;
}

.prod-specs-panel.active {
    display: block;
}

.prod-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.prod-specs-item {
    padding: 14px 16px;
    background: var(--color-bg);
}

.prod-specs-item:nth-child(odd) {
    background: var(--color-bg-gray);
}

.prod-specs-item:nth-child(even) {
    background: var(--color-bg-gray);
}

.prod-specs-grid .prod-specs-item:nth-child(4n+1),
.prod-specs-grid .prod-specs-item:nth-child(4n+2) {
    background: var(--color-bg-gray);
}

.prod-specs-grid .prod-specs-item:nth-child(4n+3),
.prod-specs-grid .prod-specs-item:nth-child(4n+4) {
    background: var(--color-bg);
}

.prod-specs-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.prod-specs-value {
    display: block;
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.prod-specs-manual {
    padding: 20px 16px;
    font-size: 14px;
    color: var(--color-text-light);
}

/* --- S12: Reviews --- */
.prod-reviews {
    padding: 40px 20px;
}

.prod-reviews-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}

.prod-reviews-empty {
    font-size: 15px;
    color: var(--color-text-secondary);
    text-align: center;
    padding: 24px 0;
}

/* --- Sticky Bar --- */
.prod-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--color-bg);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.prod-sticky-price {
    display: flex;
    flex-direction: column;
}

.prod-sticky-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
}

.prod-sticky-label {
    font-size: 11px;
    color: var(--color-text-secondary);
}

.prod-sticky-btn {
    padding: 14px 24px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-primary);
    cursor: pointer;
    white-space: nowrap;
}

.prod-sticky-btn:hover {
    background: var(--color-primary-hover);
}

.prod-sticky-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prod-sticky-thumb {
    display: none;
}

.prod-sticky-meta {
    min-width: 0;
}

.prod-sticky-name {
    display: none;
}

.prod-sticky-installments {
    display: none;
}

.prod-sticky-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prod-sticky-qty {
    display: none;
}

.prod-sticky-qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    color: var(--color-text);
    font-family: var(--font-primary);
}

.prod-sticky-qty-value {
    font-size: 15px;
    font-weight: 600;
    min-width: 28px;
    text-align: center;
}

/* Adjust FAB position when sticky bar is visible */
.prod-sticky.visible ~ .fab-container {
    bottom: 80px;
}

/* Hide gift FAB on product page */
body:has(.prod-trust-bar) .fab-gift {
    display: none;
}

/* ============================================
   Product Page Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    /* Trust Bar - 4 items in a row */
    .prod-trust-bar {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 20px 40px;
        overflow: visible;
        scroll-snap-type: none;
        justify-content: center;
        gap: 40px;
    }

    .prod-trust-item {
        flex: 0 0 auto;
        padding: 0;
    }

    /* Product Top - Two Column Layout */
    .prod-top {
        display: grid;
        grid-template-columns: 55% 45%;
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 0 40px;
        gap: 40px;
        align-items: start;
    }

    /* Gallery with Thumbnails */
    .prod-gallery {
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }

    .prod-gallery-thumbs {
        display: flex;
        flex-direction: column;
        gap: 8px;
        overflow-y: auto;
        max-height: 600px;
        scrollbar-width: thin;
    }

    .prod-gallery-viewport {
        border-radius: var(--radius-md);
    }

    .prod-gallery-dots {
        display: none;
    }

    .prod-gallery-zoom {
        bottom: 16px;
        right: 16px;
        top: auto;
        left: auto;
    }

    /* Product Details - Sticky */
    .prod-details {
        position: sticky;
        top: calc(var(--header-height) + 20px);
        align-self: start;
    }

    .prod-info {
        padding: 0;
    }

    .prod-info-title {
        font-size: 26px;
    }

    .prod-info-desc {
        -webkit-line-clamp: 4;
    }

    .prod-price {
        padding: 20px 0 0;
    }

    .prod-price-value {
        font-size: 28px;
    }

    .prod-options {
        padding: 20px 0;
    }

    .prod-add-cart {
        border-radius: var(--radius-md);
    }

    .prod-share {
        padding-bottom: 20px;
    }

    .prod-cep {
        padding-top: 0;
    }

    /* Bundle */
    .prod-bundle {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 48px 40px;
    }

    /* Lifestyle Banner */
    .prod-lifestyle {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 24px 40px 0;
    }

    .prod-lifestyle-img {
        border-radius: var(--radius-lg);
    }

    /* Feature Cards - 4 Column Grid */
    .prod-features {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 48px 40px;
        overflow: visible;
    }

    .prod-features-track {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        overflow: visible;
        scroll-snap-type: none;
        padding-right: 0;
    }

    .prod-feature-card {
        flex: none;
        width: auto;
    }

    .prod-feature-title {
        font-size: 18px;
    }

    .prod-feature-desc {
        font-size: 14px;
    }

    /* Description - 2 Column Layout */
    .prod-description {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 64px 40px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: start;
    }

    .prod-desc-title {
        font-size: 28px;
        font-family: var(--font-display);
    }

    .prod-desc-text {
        font-size: 15px;
    }

    .prod-desc-visual {
        margin-top: 0;
        position: sticky;
        top: calc(var(--header-height) + 40px);
    }

    .prod-desc-visual img {
        max-height: none;
        width: 100%;
    }

    /* Safety - Centered */
    .prod-safety {
        max-width: 900px;
        margin: 0 auto;
        text-align: center;
        padding: 64px 40px;
    }

    .prod-safety-title {
        font-size: 36px;
    }

    .prod-safety-badges {
        justify-content: center;
    }

    .prod-safety-text {
        font-size: 17px;
        max-width: 800px;
        margin: 0 auto;
    }

    /* Specs Tabs */
    .prod-specs {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 48px 40px;
    }

    /* Reviews */
    .prod-reviews {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 48px 40px;
    }

    .prod-reviews-title {
        font-size: 26px;
    }

    /* Sticky Bar - Expanded */
    .prod-sticky {
        padding: 12px 40px;
    }

    .prod-sticky-thumb {
        display: block;
        width: 48px;
        height: 48px;
        object-fit: contain;
        border: 1px solid var(--color-border);
        border-radius: 6px;
        flex-shrink: 0;
    }

    .prod-sticky-meta {
        flex: 1;
    }

    .prod-sticky-name {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: var(--color-text);
    }

    .prod-sticky-price {
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
    }

    .prod-sticky-value {
        font-size: 16px;
    }

    .prod-sticky-label {
        font-size: 12px;
    }

    .prod-sticky-installments {
        display: block;
        font-size: 12px;
        color: var(--color-text-secondary);
    }

    .prod-sticky-actions {
        gap: 16px;
    }

    .prod-sticky-qty {
        display: flex;
        align-items: center;
        gap: 4px;
    }
}

/* ============================================
   Category Page (.cat-*)
   ============================================ */

.cat-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 20px;
    font-size: 13px;
    color: var(--color-text-light);
}

.cat-breadcrumb a {
    color: var(--color-text-secondary);
    text-decoration: none;
}

.cat-breadcrumb svg {
    flex-shrink: 0;
    color: var(--color-text-light);
}

.cat-breadcrumb span {
    color: var(--color-text);
}

.cat-header {
    padding: 0 20px 16px;
}

.cat-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
}

.cat-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 60px 20px;
    text-align: center;
}

.cat-empty p {
    font-size: 15px;
    color: var(--color-text-secondary);
}

.cat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 20px 32px;
}

.cat-card {
    display: flex;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    padding: 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: box-shadow 0.2s;
}

.cat-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.cat-card-unavailable {
    opacity: 0.6;
}

.cat-card-image {
    flex: 0 0 120px;
    aspect-ratio: 1;
    background: #f8f8f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cat-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.cat-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cat-card-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: 4px;
}

.cat-card-old-price {
    font-size: 12px;
    color: var(--color-text-light);
    text-decoration: line-through;
}

.cat-card-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
}

.cat-card-pix {
    font-size: 11px;
    color: var(--color-text-secondary);
}

.cat-card-installments {
    font-size: 11px;
    color: var(--color-text-light);
}

.cat-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.cat-card-badges .badge {
    font-size: 10px;
    padding: 2px 6px;
}

.cat-card-colors {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.color-swatch-sm {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    position: relative;
}

.color-swatch-sm.crossed::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: linear-gradient(135deg, transparent 40%, #E74C3C 40%, #E74C3C 60%, transparent 60%);
    border-radius: 50%;
}

@media (min-width: 600px) {
    .cat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cat-card {
        flex-direction: column;
    }
    .cat-card-image {
        flex: none;
        width: 100%;
        aspect-ratio: 1;
    }
}

/* ============================================
   Cart Page (.cart-page-*)
   ============================================ */

.cart-page {
    padding: 24px 20px;
    min-height: 60vh;
}

.cart-page-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 24px;
}

.cart-page-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 60px 0;
    text-align: center;
}

.cart-page-empty svg {
    color: var(--color-border);
}

.cart-page-empty p {
    font-size: 16px;
    color: var(--color-text-secondary);
}

.cart-page-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.cart-page-item {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.cart-page-item-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: #f8f8f8;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-page-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.cart-page-item-info {
    flex: 1;
    min-width: 0;
}

.cart-page-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}

.cart-page-item-color {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 6px;
}

.cart-page-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.cart-page-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-page-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 24px;
}

.cart-page-qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    font-size: 16px;
}

.cart-page-qty-val {
    width: 32px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.cart-page-remove {
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    font-family: var(--font-primary);
}

.cart-page-remove:hover {
    color: #E74C3C;
}

.cart-page-summary {
    background: var(--color-bg-gray);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.cart-page-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.cart-page-row-discount {
    color: var(--color-green);
}

.cart-page-row-total {
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--color-border);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
}

.cart-page-row-total .cart-page-row-value {
    color: var(--color-primary);
}

.cart-page-row-installments {
    font-size: 12px;
    color: var(--color-text-light);
    text-align: right;
    padding: 4px 0 0;
}

.cart-page-cta {
    width: 100%;
    padding: 18px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    font-family: var(--font-primary);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
}

.cart-page-cta:hover {
    background: var(--color-primary-hover);
}

.cart-page-continue {
    display: block;
    text-align: center;
    font-size: 14px;
    color: var(--color-text-secondary);
    text-decoration: underline;
}

/* ============================================
   SUCCESS PAGE
   ============================================ */

.success-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    min-height: 50vh;
}

.success-icon {
    margin-bottom: 24px;
}

.success-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 12px;
}

.success-text {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    max-width: 400px;
    line-height: 1.5;
}

.success-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-primary);
}

.success-btn:hover {
    background: var(--color-primary-hover);
}
