﻿/* Reset e Variáveis */
        :root {
            --primary: #000000;
            --secondary: #ff6fa3;
            --accent: #ffcc66;
            --light: #ffffff;
            --dark: #000000;
            --gray: #f5f5f5;
            --text: #333333;
            --shadow: 0 8px 30px rgba(0,0,0,0.12);
            --radius: 12px;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Inter', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
        }
        
        body {
            background-color: var(--light);
            color: var(--text);
            -webkit-font-smoothing: antialiased;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            width: 94%;
            margin: 0 auto;
            padding: 0 16px;
        }
        
        /* Header */
        header {
            background: var(--primary);
            color: var(--light);
            padding: 12px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        
        .header-content {
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            gap: 10px;
        }
        
        .logo {
            font-weight: 800;
            font-size: 1.5rem;
            letter-spacing: 0.5px;
        }

        .logo-img-link {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        .logo-img {
            height: 36px;
            width: auto;
            max-width: 140px;
            object-fit: contain;
        }
        
        .logo span {
            color: var(--accent);
        }

        .product-rating {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 2px 4px;
            font-size: 0.82rem;
            font-weight: 600;
            color: #f59e0b;
            margin: 4px 0 2px;
        }

        .product-rating i {
            font-size: 0.75rem;
        }

        .product-rating-meta {
            color: #6b7280;
            font-weight: 500;
            font-size: 0.72rem;
            margin-left: 4px;
        }

        .product-weekly-sales {
            font-size: 0.75rem;
            font-weight: 600;
            color: #16a34a;
            margin-bottom: 6px;
        }

        .trust-bar {
            display: none;
            background: #111827;
            color: rgba(255, 255, 255, 0.92);
            font-size: 0.68rem;
            font-weight: 600;
            padding: 7px 10px;
            text-align: center;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 4px 6px;
            line-height: 1.35;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .trust-bar i {
            font-size: 0.65rem;
            opacity: 0.85;
        }

        .trust-bar-sep {
            opacity: 0.45;
        }

        .cart-coupon-timer {
            margin: 0;
            padding: 10px 16px;
            background: #fff7ed;
            color: #9a3412;
            font-size: 0.82rem;
            text-align: center;
            border-bottom: 1px solid #fed7aa;
        }

        .cart-coupon-timer.hidden {
            display: none;
        }

        .cart-abandon-toast {
            position: fixed;
            left: 12px;
            right: 12px;
            bottom: 88px;
            z-index: 850;
            background: #1f2937;
            color: #f9fafb;
            padding: 12px 14px;
            border-radius: 12px;
            font-size: 0.85rem;
            text-align: center;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
            opacity: 0;
            transform: translateY(12px);
            transition: opacity 0.35s ease, transform 0.35s ease;
            pointer-events: none;
        }

        .cart-abandon-toast.show {
            opacity: 1;
            transform: translateY(0);
        }

        .cart-abandon-toast.hidden {
            display: none;
        }

        .sticky-checkout-btn {
            display: none;
            position: fixed;
            left: 12px;
            right: 12px;
            bottom: max(12px, env(safe-area-inset-bottom));
            z-index: 800;
            padding: 14px 16px;
            border: none;
            border-radius: 12px;
            background: linear-gradient(90deg, #eb2498, #d91a82);
            color: #fff;
            font-weight: 800;
            font-size: 0.95rem;
            box-shadow: 0 6px 20px rgba(235, 36, 152, 0.45);
            cursor: pointer;
        }

        .sticky-checkout-btn.hidden {
            display: none;
        }

        .sticky-checkout-btn #sticky-checkout-timer {
            display: inline-block;
            margin-left: 6px;
            padding: 2px 8px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 6px;
            font-size: 0.82rem;
        }

        body.has-sticky-checkout {
            padding-bottom: 72px;
        }

        body.has-sticky-checkout .shop-social-proof {
            bottom: 88px;
        }

        .cart-summary {
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px dashed #e5e5e5;
        }

        .cart-summary-row {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            margin-bottom: 6px;
            color: var(--text);
        }

        .cart-summary-original {
            text-decoration: line-through;
            color: #888;
        }

        .cart-summary-discount {
            color: #16a34a;
            font-weight: 600;
        }

        .cart-price-line {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .cart-price-original {
            text-decoration: line-through;
            color: #888;
            font-size: 0.85rem;
        }

        .shop-social-proof {
            position: fixed;
            bottom: 20px;
            left: 20px;
            z-index: 900;
            pointer-events: none;
            display: flex;
            flex-direction: column-reverse;
            align-items: flex-start;
        }

        .shop-social-proof .social-proof-toast {
            background-color: rgba(30, 41, 59, 0.92);
            backdrop-filter: blur(5px);
            color: white;
            padding: 12px 16px;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 10px 20px rgba(0,0,0,0.2);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: opacity 0.5s ease-out, transform 0.5s ease-out;
            opacity: 0;
            transform: translateY(20px) scale(0.95);
            margin-top: 10px;
            width: fit-content;
            max-width: 320px;
        }

        .shop-social-proof .social-proof-toast.show {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
        
        .search-bar {
            min-width: 0;
            width: 100%;
            max-width: 200px;
            margin: 0 auto;
            justify-self: center;
            position: relative;
        }

        .header-cart {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            flex-shrink: 0;
            justify-self: end;
        }
        
        .search-bar input {
            width: 100%;
            padding: 8px 34px 8px 12px;
            border-radius: 20px;
            border: none;
            background: rgba(255,255,255,0.1);
            color: var(--light);
            font-size: 0.82rem;
        }
        
        .search-bar input::placeholder {
            color: rgba(255,255,255,0.7);
        }
        
        .search-bar i {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255,255,255,0.7);
            font-size: 0.85rem;
        }
        
        .cart-btn {
            position: relative;
            cursor: pointer;
            color: var(--light);
            font-size: 1.3rem;
            background: transparent;
            border: none;
            padding: 0;
        }
        
        .cart-count {
            position: absolute;
            top: -8px;
            right: -12px;
            background: var(--secondary);
            color: var(--light);
            border-radius: 50%;
            width: 22px;
            height: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.8rem;
        }
        
        /* Hero Section */
        .hero {
            margin: 20px 0;
            background: linear-gradient(135deg, rgba(0,0,0,0.03), rgba(255,255,255,0));
            border-radius: var(--radius);
            padding: 30px;
            display: flex;
            gap: 30px;
            align-items: center;
            box-shadow: var(--shadow);
            min-height: 320px;
            overflow: hidden;
        }
        
        .hero-content {
            flex: 1;
        }
        
        .hero-title {
            font-size: 2.2rem;
            color: var(--dark);
            margin-bottom: 10px;
            line-height: 1.2;
        }
        
        .hero-subtitle {
            color: var(--text);
            margin-bottom: 20px;
            font-size: 1.1rem;
        }
        
        .cta-buttons {
            display: flex;
            gap: 12px;
            align-items: center;
        }
        
        .btn {
            padding: 12px 24px;
            border-radius: 28px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-size: 0.95rem;
        }
        
        .btn-primary {
            background: var(--primary);
            color: var(--light);
            box-shadow: 0 8px 18px rgba(0,0,0,0.18);
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 20px rgba(0,0,0,0.2);
        }
        
        .btn-secondary {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--dark);
        }
        
        .btn-secondary:hover {
            background: rgba(0,0,0,0.05);
        }
        
        .hero-image {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
        }
        
        .hero-image img {
            width: 100%;
            max-width: 500px;
            height: auto;
            border-radius: var(--radius);
            box-shadow: 0 10px 30px rgba(0,0,0,0.18);
        }
        
        /* Filtros */
        .filters {
            margin: 30px 0;
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }
        
        .filter-group {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        
        .filter-label {
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        .filter-select {
            padding: 8px 16px;
            border-radius: 20px;
            border: 1px solid #e0e0e0;
            background: var(--light);
            font-size: 0.9rem;
            cursor: pointer;
        }
        
        /* Seções de Produtos */
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 40px 0 20px;
        }
        
        .section-title {
            color: var(--dark);
            font-size: 1.6rem;
            font-weight: 800;
        }
        
        .view-all {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .carousel-hint {
            text-align: center;
            color: var(--dark);
            font-size: 0.9rem;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        
        .carousel-hint i {
            animation: bounce 2s infinite;
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateX(0);}
            40% {transform: translateX(5px);}
            60% {transform: translateX(3px);}
        }
        
        .products-carousel-container {
            position: relative;
            margin-bottom: 40px;
        }
        
        .products-carousel {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            gap: 20px;
            padding: 12px 0 24px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        
        .products-carousel::-webkit-scrollbar {
            display: none;
        }
        
        /* Cartões de Produto */
        .product-card {
            flex: 0 0 auto;
            width: 260px;
            background: var(--light);
            border-radius: 14px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            scroll-snap-align: start;
        }
        
        .product-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 18px 40px rgba(0,0,0,0.16);
        }

        .product-card.is-sold-out {
            opacity: 0.92;
        }

        .product-card.is-sold-out:hover {
            transform: none;
            box-shadow: var(--shadow);
        }

        .sold-out-badge {
            position: absolute;
            left: 8px;
            top: 8px;
            background: #1f2937;
            color: #fff;
            padding: 5px 10px;
            border-radius: 6px;
            font-weight: 800;
            font-size: 0.68rem;
            letter-spacing: 0.06em;
            z-index: 3;
            text-transform: uppercase;
        }

        .product-image.is-sold-out::after {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(255, 255, 255, 0.55);
            pointer-events: none;
        }

        .product-image.is-sold-out {
            position: relative;
        }

        .product-card.is-sold-out .add-to-cart {
            background: #9ca3af;
            cursor: not-allowed;
            pointer-events: none;
        }

        .product-card.is-sold-out .size-select {
            opacity: 0.55;
            pointer-events: none;
        }

        .size-select option:disabled {
            color: #9ca3af;
        }
        
        .discount-badge {
            position: absolute;
            right: 8px;
            top: 8px;
            background: linear-gradient(90deg, #ff3333, #ff6666);
            color: var(--light);
            padding: 3px 6px;
            border-radius: 999px;
            font-weight: 700;
            font-size: 0.6rem;
            box-shadow: 0 3px 8px rgba(255,51,51,0.18);
            z-index: 2;
            letter-spacing: 0.3px;
        }
        
        .product-image {
            height: 250px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #fafafa;
            cursor: pointer;
        }
        
        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            transition: transform 0.6s ease;
            padding: 16px;
        }
        
        .product-card:hover .product-image img {
            transform: scale(1.05);
        }
        
        .product-info {
            padding: 16px;
        }
        
        .product-title {
            font-weight: 700;
            color: var(--dark);
            font-size: 1rem;
            margin-bottom: 6px;
            line-height: 1.3;
        }
        
        .product-description {
            font-size: 0.85rem;
            color: var(--text);
            margin-bottom: 10px;
            line-height: 1.4;
        }
        
        .price-container {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }
        
        .current-price {
            font-weight: 900;
            color: #ff6b00;
            font-size: 1.15rem;
        }
        
        .original-price {
            font-size: 0.9rem;
            color: #777;
            text-decoration: line-through;
        }
        
        .size-selector {
            margin-bottom: 12px;
        }
        
        .size-selector select {
            width: 100%;
            padding: 8px 12px;
            border-radius: 8px;
            border: 1px solid #e0e0e0;
            background-color: var(--light);
            font-size: 0.9rem;
            color: var(--dark);
            cursor: pointer;
        }
        
        .product-actions {
            display: flex;
            gap: 12px;
        }
        
        .add-to-cart {
            background: linear-gradient(90deg, var(--secondary), #ff9dc6);
            color: var(--light);
            padding: 9px 14px;
            border-radius: 999px;
            border: none;
            font-weight: 800;
            cursor: pointer;
            width: 100%;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }
        
        .add-to-cart:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(255,111,163,0.3);
        }
        
        /* Footer */
        footer {
            margin-top: 60px;
            padding: 40px 0;
            background: var(--gray);
            color: var(--text);
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        
        .footer-section h3 {
            margin-bottom: 16px;
            font-size: 1.1rem;
            color: var(--dark);
        }
        
        .footer-section ul {
            list-style: none;
        }
        
        .footer-section li {
            margin-bottom: 8px;
        }
        
        .footer-section a {
            color: var(--text);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-section a:hover {
            color: var(--primary);
        }
        
        .copyright {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid #e0e0e0;
            font-size: 0.9rem;
            color: #777;
        }
        
        /* Modal do Carrinho */
        .overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.45);
            z-index: 1200;
            display: none;
        }
        
        .overlay.active {
            display: block;
        }
        
        .cart-modal {
            position: fixed;
            top: 0;
            right: -50%;
            width: 50%;
            height: 100vh;
            background: var(--light);
            box-shadow: -6px 0 30px rgba(0,0,0,0.18);
            z-index: 1300;
            transition: right 0.32s cubic-bezier(.2,.9,.3,1);
            display: flex;
            flex-direction: column;
            border-top-left-radius: 16px;
            border-bottom-left-radius: 16px;
        }
        
        .cart-modal.active {
            right: 0;
        }
        
        .cart-header {
            padding: 18px;
            background: var(--primary);
            color: var(--light);
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: sticky;
            top: 0;
            z-index: 10;
            border-top-left-radius: 16px;
        }
        
        .cart-body {
            padding: 18px;
            flex: 1;
            overflow: auto;
        }
        
        .cart-item {
            display: flex;
            gap: 12px;
            align-items: center;
            padding: 12px;
            border-radius: 10px;
            background: var(--light);
            margin-bottom: 12px;
            box-shadow: 0 6px 16px rgba(0,0,0,0.04);
        }
        
        .cart-item img {
            width: 80px;
            height: 70px;
            object-fit: contain;
            border-radius: 8px;
            background: #fafafa;
        }
        
        .cart-item-info {
            flex: 1;
        }
        
        .cart-item-info h4 {
            font-size: 0.98rem;
            margin-bottom: 6px;
        }
        
        .cart-price {
            color: var(--dark);
            font-weight: 800;
        }
        
        .quantity-controls {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
        }
        
        .quantity-controls button {
            width: 30px;
            height: 30px;
            border-radius: 8px;
            border: none;
            background: #f0f0f0;
            cursor: pointer;
            font-weight: 700;
        }
        
        .remove-btn {
            background: transparent;
            border: none;
            color: #c94b4b;
            cursor: pointer;
            margin-top: 8px;
            font-size: 0.85rem;
        }

        .quantity-controls .remove-btn {
            width: auto;
            height: auto;
            border-radius: 0;
            background: transparent;
            font-weight: 700;
        }
        
        .cart-footer {
            padding: 18px;
            border-top: 1px solid #f0f0f0;
            position: sticky;
            bottom: 0;
            background: var(--light);
            box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
            border-bottom-left-radius: 16px;
        }
        
        .checkout-btn {
            width: 100%;
            padding: 12px;
            border-radius: 12px;
            border: none;
            background: var(--primary);
            color: var(--light);
            font-weight: 900;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .checkout-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.2);
        }
        
        .checkout-note {
            font-size: 0.9rem;
            color: var(--text);
            margin-top: 8px;
            text-align: center;
        }

        .cart-close {
            background: transparent;
            border: none;
            color: #fff;
            font-size: 22px;
            cursor: pointer;
            line-height: 1;
        }

        .cart-total-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .cart-total-label {
            font-weight: 800;
        }

        .cart-total-value {
            font-weight: 900;
            color: var(--dark);
        }
        
        /* Modal de Zoom para Imagens */
        .zoom-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1400;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        
        .zoom-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .zoom-content {
            max-width: 90vw;
            max-height: 90vh;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .zoom-content img {
            max-width: 90vw;
            max-height: 85vh;
            width: auto;
            height: auto;
            object-fit: contain;
            border-radius: 8px;
            display: block;
        }
        
        .close-zoom {
            position: absolute;
            top: -40px;
            right: 0;
            background: transparent;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
        }
        
        /* Responsividade */
        @media (max-width: 1024px) {
            .cart-modal {
                width: 60%;
                right: -60%;
            }
        }
        
        @media (max-width: 768px) {
            .trust-bar {
                display: flex;
            }

            .sticky-checkout-btn:not(.hidden) {
                display: block;
            }

            .cart-modal {
                width: 75%;
                right: -75%;
            }
            
            .hero {
                flex-direction: column;
                min-height: auto;
            }
            
            .hero-title {
                font-size: 1.8rem;
            }
            
            .header-content {
                grid-template-columns: auto 1fr auto;
                gap: 8px;
            }

            .search-bar {
                max-width: min(160px, 36vw);
            }

            .search-bar input {
                padding: 7px 30px 7px 10px;
                font-size: 0.78rem;
            }

            .search-bar input::placeholder {
                font-size: 0.78rem;
            }
            
            .filters {
                flex-direction: column;
                align-items: flex-start;
            }
        }
        
        @media (max-width: 720px) {
            .cart-modal {
                width: 85%;
                right: -85%;
            }
            
            .product-card {
                width: 220px;
            }
            
            .product-image {
                height: 210px;
            }
        }
        
        /* Promo Timer Bar */
        .promo-timer-bar {
            background: linear-gradient(90deg, #ff6b00, #ff4500);
            color: #fff;
            text-align: center;
            padding: 9px 16px;
            font-weight: 700;
            font-size: 0.92rem;
            letter-spacing: 0.3px;
        }

        .promo-timer-bar span {
            font-size: 1rem;
            font-weight: 900;
            letter-spacing: 1px;
        }

        /* Last Units Badge */
        .last-units-badge {
            position: absolute;
            left: 8px;
            top: 8px;
            background: linear-gradient(90deg, #ff4500, #ff6b00);
            color: #fff;
            padding: 3px 8px;
            border-radius: 999px;
            font-weight: 700;
            font-size: 0.62rem;
            z-index: 3;
            box-shadow: 0 2px 6px rgba(255,69,0,0.35);
        }

        /* Cart timer in button */
        .checkout-btn .btn-timer {
            font-size: 0.8rem;
            opacity: 0.9;
            font-weight: 700;
            margin-left: 4px;
        }

        @media (max-width: 480px) {
            .cart-modal {
                width: 90%;
                right: -90%;
            }
            
            .product-card {
                width: 200px;
            }
            
            .product-image {
                height: 190px;
            }
            
            .product-info {
                padding: 12px;
            }
            
            .hero-title {
                font-size: 1.6rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: stretch;
            }
            
            .btn {
                text-align: center;
            }
        }
