/* ============================================
   KWAI SHOP - STYLES
   Página de Produto Estilo Kwai Shop
   ============================================ */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores Principais */
    --primary-orange: #ff5e29;
    --primary-red: #e63946;
    --primary-green: #16a34a;
    --primary-dark: #1a1a2e;
    
    /* Cores de Fundo */
    --bg-white: #ffffff;
    --bg-gray: #f5f5f5;
    --bg-light-green: #ecfdf5;
    --bg-light-red: #fef2f2;
    --bg-light-orange: #fff7ed;
    
    /* Cores de Texto */
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    
    /* Cores de Borda */
    --border-light: #e5e7eb;
    --border-medium: #d1d5db;
    
    /* Gradientes */
    --gradient-orange: linear-gradient(135deg, #ff5e29 0%, #ff5e29 100%);
    --gradient-flash: linear-gradient(90deg, #ff5e29 0%, #ff5e29 100%);
    
    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Tamanhos */
    --header-height: 56px;
    --footer-height: 100px;
    --max-width: 480px;
    
    /* Transições */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-gray);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container Principal */
.main-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: var(--header-height);
    padding-bottom: var(--footer-height);
    background-color: var(--bg-white);
    min-height: 100vh;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    height: var(--header-height);
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

.header-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color var(--transition-fast);
}

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

.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #ff5e29;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ============================================
   CARROSSEL DE PRODUTO
   ============================================ */
.product-carousel {
    background-color: var(--bg-white);
    padding-bottom: 16px;
}

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform var(--transition-normal);
}

.carousel-slide {
    width: 25%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ff5e29;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    opacity: 0.9;
}

.carousel-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
    left: 12px;
}

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

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background-color: var(--text-primary);
    transform: scale(1.2);
}

/* ============================================
   OFERTA RELÂMPAGO
   ============================================ */
.flash-sale {
    background: #ff5e29;
    overflow: hidden;
}

.flash-sale-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: white;
    gap: 8px;
}

.flash-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.flash-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.flash-title {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.flash-timer {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-align: right;
    flex-shrink: 1;
    min-width: 0;
}

.flash-timer span {
    font-family: 'Inter', monospace;
    font-weight: 700;
    letter-spacing: 1px;
}

.price-section {
    background-color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.price-current {
    font-size: 28px;
    font-weight: 800;
    color: #ff5e29;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.price-coupon {
    color: #9ca3af;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.price-coupon svg {
    width: 18px;
    height: 18px;
}

.price-original {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 400;
    flex-shrink: 0;
}

.price-discount {
    background-color: #ff5e29;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
    gap: 4px;
    margin-left: auto;
}

.price-discount svg {
    flex-shrink: 0;
}

/* ============================================
   SELETOR DE COR
   ============================================ */
.color-section {
    padding: 16px;
    background-color: var(--bg-white);
}

.section-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.color-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 4px;
}

.color-option {
    flex: 0 0 auto;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
    background-color: var(--bg-white);
}

.color-option:hover {
    border-color: var(--border-medium);
}

.color-option.active {
    border-color: #ff5e29;
    background-color: #fff8f5;
}

.color-option img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 8px;
}

.color-option span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.2;
}

/* ============================================
   BANNER CUPOM/DESCONTO CLICÁVEL
   ============================================ */
.coupon-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 16px 16px;
    padding: 12px 16px;
    background-color: #fff5f0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.coupon-banner:hover {
    background-color: #ffe8de;
}

.coupon-banner-icon {
    flex-shrink: 0;
}

.coupon-banner span {
    flex: 1;
    color: #ff5e29;
    font-size: 14px;
    font-weight: 600;
}

.coupon-banner-arrow {
    flex-shrink: 0;
    opacity: 0.7;
}

/* ============================================
   INFORMAÇÕES DO PRODUTO
   ============================================ */
.product-info {
    padding: 0 16px 16px;
    background-color: var(--bg-white);
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.product-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.product-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

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

.stars {
    display: flex;
}

.star {
    color: #fbbf24;
    font-size: 14px;
}

.star.half {
    background: linear-gradient(90deg, #fbbf24 50%, #d1d5db 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rating-value {
    font-weight: 700;
    color: var(--text-primary);
}

.rating-count {
    color: var(--text-muted);
    font-size: 13px;
}

.sold-count {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
    font-size: 13px;
}

.sold-count svg {
    flex-shrink: 0;
}

.shipping-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.truck-icon {
    color: #374151;
    flex-shrink: 0;
}

.shipping-free {
    background-color: #ff5e29;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

.shipping-time {
    color: var(--text-secondary);
    font-size: 13px;
}

/* ============================================
   CARD PROTEÇÃO DO CLIENTE
   ============================================ */
.protection-card {
    margin: 0 16px 16px;
    padding: 14px 16px;
    background-color: var(--bg-light-green);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.protection-card:hover {
    background-color: #dcfce7;
}

.protection-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.protection-icon {
    flex-shrink: 0;
}

.protection-title {
    flex: 1;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
}

.protection-arrow {
    flex-shrink: 0;
}

.protection-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.protection-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.protection-item span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ============================================
   SEÇÃO DE CONFIANÇA
   ============================================ */
.trust-section {
    padding: 16px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.trust-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.trust-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.trust-status {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
}

.trust-bar {
    height: 6px;
    background-color: var(--border-light);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}

.trust-bar-fill {
    width: 95%;
    height: 100%;
    background: linear-gradient(90deg, #fbbf24 0%, #f97316 50%, #ef4444 100%);
    border-radius: 3px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.seller-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.verified-badge {
    background-color: var(--bg-light-green);
    color: var(--primary-green);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.seller-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: var(--bg-light-green);
    color: var(--primary-green);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.seller-time-badge svg {
    width: 12px;
    height: 12px;
}

.seller-time {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ============================================
   CARD DA LOJA
   ============================================ */
.store-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
    cursor: pointer;
}

.store-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--bg-gray);
}

.store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-info {
    flex: 1;
}

.store-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.store-products,
.store-since {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.follow-btn {
    background-color: var(--bg-white);
    border: 1px solid var(--border-medium);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.follow-btn.following {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

/* ============================================
   SEÇÃO DE AVALIAÇÕES
   ============================================ */
.reviews-section {
    padding: 16px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.reviews-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.reviews-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-big {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.stars-big {
    color: #fbbf24;
    font-size: 16px;
}

/* Card de Review */
.review-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.reviewer-stars {
    color: #fbbf24;
    font-size: 12px;
}

.reviewer-meta {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.follow-btn-sm {
    background-color: var(--bg-white);
    border: 1px solid var(--border-medium);
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

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

.follow-btn-sm.following {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.review-text {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.review-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

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

.review-actions {
    display: flex;
    gap: 16px;
}

.like-btn,
.dislike-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 13px;
    padding: 4px;
    transition: color var(--transition-fast);
}

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

.like-btn:hover svg {
    stroke: var(--primary-green);
}

.like-btn.active {
    color: var(--primary-green);
}

.like-btn.active svg {
    stroke: var(--primary-green);
    fill: var(--primary-green);
}

.dislike-btn:hover {
    color: #ef4444;
}

.dislike-btn:hover svg {
    stroke: #ef4444;
}

.dislike-btn.active {
    color: #ef4444;
}

.dislike-btn.active svg {
    stroke: #ef4444;
    fill: #ef4444;
}

.like-count {
    color: var(--text-secondary);
    font-weight: 600;
}

.like-btn.active .like-count {
    color: var(--primary-green);
}

.dislike-count {
    color: var(--text-secondary);
    font-weight: 600;
}

.dislike-btn.active .dislike-count {
    color: #ef4444;
}

.see-more-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color var(--transition-fast);
    margin-bottom: 24px;
}

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

/* Distribuição das Avaliações */
.ratings-distribution {
    margin-top: 16px;
}

.ratings-distribution h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.rating-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.rating-stars {
    width: 80px;
    color: #fbbf24;
    font-size: 12px;
}

.rating-label {
    flex: 1;
    font-size: 13px;
    color: var(--text-secondary);
}

.rating-count-dist {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================
   SOBRE O PRODUTO
   ============================================ */
.about-product {
    padding: 16px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.about-product h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.about-icon {
    font-size: 20px;
}

.about-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.about-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.features-grid h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Guia de Tamanhos */
.size-guide {
    margin-bottom: 24px;
}

.size-guide h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.size-guide > p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.size-table th,
.size-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.size-table th {
    font-weight: 600;
    color: var(--text-primary);
    background-color: var(--bg-gray);
}

.size-table td {
    color: var(--text-secondary);
}

/* Especificações Técnicas */
.specs-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.specs-list {
    margin-bottom: 16px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.spec-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.spec-content {
    flex: 1;
}

.spec-content strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

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

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.info-box.security {
    background-color: var(--bg-light-green);
}

.info-box.comfort {
    background-color: #fff5f0;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-content {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.5;
}

.info-content strong {
    display: block;
    margin-bottom: 4px;
}

/* ============================================
   FOOTER LINKS
   ============================================ */
.footer-links {
    padding: 16px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.footer-links h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.footer-links li:last-child {
    border-bottom: none;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-orange);
}

/* ============================================
   GARANTIAS
   ============================================ */
.guarantees-section {
    padding: 16px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.guarantees-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.guarantee-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    flex-shrink: 0;
}

/* ============================================
   BANNER KWAI GUARANTEE
   ============================================ */
.kwai-guarantee-banner {
    position: fixed;
    bottom: 76px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    padding: 8px 16px;
    background-color: var(--bg-light-green);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 99;
    border-top: 1px solid #d1fae5;
    border-bottom: 1px solid #d1fae5;
}

.kwai-guarantee-banner svg {
    flex-shrink: 0;
}

.kwai-guarantee-banner span {
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

/* ============================================
   FOOTER FIXO
   ============================================ */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    background-color: var(--bg-white);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
    border-top: 1px solid var(--border-light);
}

.footer-buy-group {
    display: flex;
    flex: 1;
    border-radius: 14px;
    overflow: hidden;
    height: 56px;
}

.footer-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 4px 10px;
    height: 56px;
    transition: color var(--transition-fast);
}

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

.footer-btn svg {
    width: 24px;
    height: 24px;
}

.footer-btn span {
    font-size: 10px;
    font-weight: 500;
}

.footer-cart-btn {
    width: 60px;
    height: 56px;
    border-radius: 0;
    background-color: #fff5f0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff5e29;
    transition: background-color var(--transition-fast);
    flex-shrink: 0;
}

.footer-cart-btn:hover {
    background-color: #ffe8de;
}

.buy-now-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: #ff5e29;
    border: none;
    border-radius: 0;
    padding: 10px 24px;
    height: 56px;
    cursor: pointer;
    transition: opacity var(--transition-fast);
    text-align: center;
}

.buy-now-btn:hover {
    opacity: 0.9;
}

.buy-now-text {
    color: white;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.buy-now-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

/* ============================================
   MODAIS
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-white);
    width: 100%;
    max-width: var(--max-width);
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    background-color: var(--bg-white);
    z-index: 10;
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Wrapper scrollável para conteúdo do modal */
.modal-scrollable {
    overflow-y: auto;
    flex: 1;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border-medium);
    background: var(--bg-white);
    cursor: pointer;
    font-size: 18px;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.modal-close:hover {
    background-color: var(--bg-gray);
    color: var(--text-primary);
    border-color: #9ca3af;
}

/* Modal de Compra */
.modal-body-scroll {
    overflow-y: auto;
    flex: 1;
    padding-bottom: 10px;
}

.modal-product {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-carousel {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.modal-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.modal-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary-orange);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.modal-carousel-btn.prev {
    left: -40px;
}

.modal-carousel-btn.next {
    right: -40px;
}

.modal-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 12px;
}

.modal-dot {
    width: 8px;
    height: 4px;
    background-color: #ddd;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.modal-dot.active {
    width: 24px;
    background-color: var(--primary-orange);
}

.modal-title {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    padding: 0 20px;
    margin-top: 12px;
    color: var(--text-primary);
    width: 100%;
}

.modal-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    padding: 0 20px;
    margin-bottom: 12px;
    width: 100%;
}

.modal-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0 20px;
    margin-bottom: 12px;
    width: 100%;
}

.badge-free-shipping {
    background-color: #ff5e29;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
}

.badge-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #fef2f2;
    color: #ff5e29;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
}

.stock-dot {
    width: 8px;
    height: 8px;
    background-color: #ff5e29;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.modal-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    width: 100%;
}

.modal-price-current {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-orange);
}

.modal-price-original {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.modal-price-discount {
    background-color: #fef2f2;
    color: #ff5e29;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}

.modal-options {
    padding: 0 20px 10px;
    width: 100%;
}

.modal-option-group {
    margin-bottom: 20px;
}

.modal-option-group label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.modal-option-group label strong {
    color: var(--text-primary);
}

.modal-color-options {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.modal-color-option {
    flex: 0 0 auto;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
    background-color: var(--bg-white);
}

.modal-color-option:hover {
    border-color: var(--border-medium);
}

.modal-color-option.active {
    border-color: #ff5e29;
    background-color: #fff8f5;
}

.modal-color-option img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 8px;
}

.modal-color-option span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.modal-size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-size-btn {
    min-width: 50px;
    padding: 10px 16px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-size-btn:hover {
    border-color: var(--border-medium);
}

.modal-size-btn.active {
    border-color: var(--primary-orange);
    background-color: rgba(255, 107, 53, 0.05);
    color: var(--primary-orange);
}

.modal-actions {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
    background: var(--bg-white);
}

.modal-cancel-btn {
    padding: 14px;
    background-color: var(--bg-gray);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.modal-cancel-btn:hover {
    background-color: var(--border-light);
}

.modal-confirm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: #ff5e29;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: opacity var(--transition-fast);
}

.modal-confirm-btn:hover {
    opacity: 0.9;
}

/* Modal de Política */
.modal-policy {
    max-height: 60vh;
}

.policy-list {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.policy-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.policy-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.policy-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.policy-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ============================================
   MODAL PROTEÇÃO DO CLIENTE
   ============================================ */
.modal-protection {
    max-height: 85vh;
}

.modal-header-protection {
    background-color: #ecfdf5;
    padding: 16px 20px;
}

.modal-header-protection h2 {
    color: #166534;
}

.protection-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.protection-separator {
    color: #9ca3af;
    font-size: 18px;
}

.protection-shield-inline {
    width: 44px;
    height: 44px;
    background-color: #86efac;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px #dcfce7;
}

.protection-shield-big {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background-color: #86efac;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px #dcfce7;
}

.protection-modal-content {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    background-color: #ecfdf5;
}

.protection-section {
    padding: 16px 20px;
    border-bottom: 1px solid #d1fae5;
}

.protection-section:last-child {
    border-bottom: none;
}

.protection-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.protection-section-header svg {
    stroke: #16a34a;
}

.protection-section-header h4 {
    color: #166534;
    font-size: 15px;
    font-weight: 700;
}

.protection-section p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 8px;
}

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

.security-certs {
    margin: 12px 0;
}

.security-certs h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cert-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cert-badge {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid;
}

.cert-badge.mastercard {
    color: #dc2626;
    border-color: #dc2626;
    background-color: white;
}

.cert-badge.visa {
    color: #1e40af;
    border-color: #1e40af;
    background-color: white;
}

.privacy-link {
    margin-top: 12px;
}

.privacy-link a,
.how-to-link {
    color: #2563eb;
    text-decoration: underline;
}

.how-to-link {
    display: inline-block;
    font-size: 13px;
    margin-top: 4px;
}

/* Modal da Loja */
.modal-store {
    max-height: 50vh;
}

.store-modal-content {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.store-badges {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 16px;
}

.verified-badge-lg {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-light-green);
    color: var(--primary-green);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.partner-badge-lg {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: var(--bg-light-green);
    color: var(--primary-green);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.partner-badge-lg svg {
    width: 12px;
    height: 12px;
}

.store-modal-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.store-modal-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.store-modal-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-modal-details h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.store-modal-details p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 2px 0;
}

/* ============================================
   MODAL DESCONTOS E OFERTAS
   ============================================ */
.modal-discounts {
    max-height: 85vh;
}

.discounts-content {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
}

/* Banner Principal */
.discount-main-banner {
    background-color: #fff5f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.discount-main-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.discount-main-badge {
    background-color: #ff5e29;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.discount-main-new {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ff5e29;
    font-size: 12px;
    font-weight: 500;
}

.discount-main-title {
    color: #ff5e29;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.discount-main-desc {
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 8px;
}

.discount-main-validity {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 8px;
}

.discount-main-terms {
    color: var(--text-secondary);
    font-size: 12px;
}

.discount-main-terms a {
    color: #3b82f6;
    text-decoration: none;
}

.discount-main-terms a:hover {
    text-decoration: underline;
}

/* Título Cupons */
.coupons-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

/* Card de Cupom */
.coupon-card {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.coupon-card.disabled {
    opacity: 0.6;
}

.coupon-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.coupon-tag {
    background-color: #ff5e29;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

.coupon-source {
    color: var(--text-secondary);
    font-size: 12px;
}

.coupon-not-applicable {
    margin-left: auto;
    background-color: #fee2e2;
    color: #ef4444;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
}

.coupon-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.coupon-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.coupon-percent {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.coupon-condition {
    font-size: 13px;
    color: var(--text-primary);
}

.coupon-validity {
    font-size: 12px;
    color: var(--text-muted);
}

.coupon-terms {
    font-size: 12px;
    color: var(--text-secondary);
}

.coupon-terms a {
    color: #3b82f6;
    text-decoration: none;
}

.coupon-terms a:hover {
    text-decoration: underline;
}

.coupon-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.coupon-btn.applied {
    background-color: #ff5e29;
    color: white;
}

.coupon-btn.unavailable {
    background-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 480px) {
    .header {
        max-width: 100%;
    }
    
    .main-content {
        max-width: 100%;
    }
    
    .fixed-footer {
        max-width: 100%;
    }
    
    .kwai-guarantee-banner {
        max-width: 100%;
    }
    
    .modal-content {
        max-width: 100%;
    }
}

/* Telas menores que 400px */
@media (max-width: 400px) {
    .flash-sale-header {
        padding: 10px 12px;
        gap: 6px;
    }
    
    .flash-title {
        font-size: 12px;
    }
    
    .flash-timer {
        font-size: 12px;
    }
    
    .flash-icon {
        width: 14px;
        height: 14px;
    }
    
    .fixed-footer {
        padding: 8px 10px;
        gap: 6px;
    }
    
    .footer-btn {
        padding: 4px 8px;
    }
    
    .footer-btn span {
        font-size: 9px;
    }
    
    .footer-cart-btn {
        width: 50px;
    }
    
    .buy-now-btn {
        padding: 8px 12px;
    }
    
    .buy-now-text {
        font-size: 14px;
    }
    
    .buy-now-timer {
        font-size: 10px;
    }
    
    .kwai-guarantee-banner {
        font-size: 12px;
        padding: 8px 12px;
        bottom: 72px;
    }
}

/* Telas menores que 375px */
@media (max-width: 375px) {
    .flash-sale-header {
        padding: 8px 10px;
        gap: 4px;
    }
    
    .flash-title {
        font-size: 11px;
        letter-spacing: 0.3px;
    }
    
    .flash-timer {
        font-size: 11px;
    }
    
    .flash-icon {
        width: 12px;
        height: 12px;
    }
    
    .fixed-footer {
        padding: 6px 8px;
        gap: 4px;
    }
    
    .footer-btn {
        padding: 4px 6px;
    }
    
    .footer-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .footer-btn span {
        font-size: 8px;
    }
    
    .footer-cart-btn {
        width: 45px;
        height: 50px;
    }
    
    .footer-cart-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .footer-buy-group {
        height: 50px;
    }
    
    .buy-now-btn {
        padding: 6px 10px;
        height: 50px;
    }
    
    .buy-now-text {
        font-size: 13px;
    }
    
    .buy-now-timer {
        font-size: 9px;
        gap: 2px;
    }
    
    .buy-now-timer svg {
        width: 10px;
        height: 10px;
    }
    
    .kwai-guarantee-banner {
        font-size: 11px;
        padding: 6px 10px;
        bottom: 66px;
    }
    
    .kwai-guarantee-banner svg {
        width: 14px;
        height: 14px;
    }
}

/* Telas menores que 360px */
@media (max-width: 360px) {
    .flash-sale-header {
        padding: 8px 8px;
        gap: 4px;
    }
    
    .flash-title {
        font-size: 10px;
        letter-spacing: 0.2px;
    }
    
    .flash-timer {
        font-size: 10px;
    }
    
    .flash-icon {
        width: 11px;
        height: 11px;
    }
    
    .fixed-footer {
        padding: 6px 6px;
        gap: 3px;
    }
    
    .footer-btn {
        padding: 3px 5px;
    }
    
    .footer-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .footer-btn span {
        font-size: 8px;
    }
    
    .footer-cart-btn {
        width: 40px;
        height: 48px;
    }
    
    .footer-cart-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .footer-buy-group {
        height: 48px;
        border-radius: 10px;
    }
    
    .buy-now-btn {
        padding: 5px 8px;
        height: 48px;
    }
    
    .buy-now-text {
        font-size: 12px;
    }
    
    .buy-now-timer {
        font-size: 8px;
        gap: 2px;
    }
    
    .buy-now-timer svg {
        width: 8px;
        height: 8px;
    }
    
    .kwai-guarantee-banner {
        font-size: 10px;
        padding: 5px 8px;
        bottom: 62px;
    }
    
    .kwai-guarantee-banner svg {
        width: 12px;
        height: 12px;
    }
}

/* Telas menores que 320px */
@media (max-width: 320px) {
    .flash-sale-header {
        padding: 6px 6px;
        gap: 3px;
    }
    
    .flash-title {
        font-size: 9px;
        letter-spacing: 0;
    }
    
    .flash-timer {
        font-size: 9px;
    }
    
    .flash-icon {
        width: 10px;
        height: 10px;
    }
    
    .fixed-footer {
        padding: 5px 5px;
        gap: 2px;
    }
    
    .footer-btn {
        padding: 2px 4px;
    }
    
    .footer-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .footer-btn span {
        font-size: 7px;
    }
    
    .footer-cart-btn {
        width: 36px;
        height: 44px;
    }
    
    .footer-cart-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .footer-buy-group {
        height: 44px;
        border-radius: 8px;
    }
    
    .buy-now-btn {
        padding: 4px 6px;
        height: 44px;
    }
    
    .buy-now-text {
        font-size: 11px;
    }
    
    .buy-now-timer {
        font-size: 7px;
        gap: 1px;
    }
    
    .buy-now-timer svg {
        width: 7px;
        height: 7px;
    }
    
    .kwai-guarantee-banner {
        font-size: 9px;
        padding: 4px 6px;
        bottom: 56px;
    }
    
    .kwai-guarantee-banner svg {
        width: 10px;
        height: 10px;
    }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.flash-timer {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.review-card {
    animation: slideUp 0.3s ease-out;
}

/* Scrollbar customizada */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Scrollbar discreta nos modais */
.modal-content ::-webkit-scrollbar {
    width: 4px;
}

.modal-content ::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content ::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

/* ============================================
   MODAL DE CHAT
   ============================================ */
.modal-chat {
    max-width: 100%;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

.chat-back-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-primary);
}

.chat-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ff5e29;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-profile-info {
    flex: 1;
}

.chat-profile-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.verified-icon {
    flex-shrink: 0;
}

.chat-profile-status {
    font-size: 11px;
    color: var(--text-secondary);
}

.chat-header-actions {
    display: flex;
    gap: 8px;
}

.chat-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--text-secondary);
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background-color: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-time {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 85%;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-message.bot .chat-bubble {
    background-color: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-bottom-left-radius: 4px;
}

.chat-message.user .chat-bubble {
    background-color: #ff5e29;
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-options {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border-light);
}

.chat-options-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.chat-option-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    text-align: left;
    transition: background-color 0.2s;
}

.chat-option-btn:last-child {
    border-bottom: none;
}

.chat-option-btn:hover {
    background-color: #f9fafb;
}

.chat-option-btn::after {
    content: '›';
    font-size: 18px;
    color: var(--text-muted);
}

.chat-footer-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ============================================
   MODAL PROMOCIONAL DE NATAL
   ============================================ */
.promo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 16px;
}

.promo-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.promo-modal {
    background: linear-gradient(180deg, #fff5f0 0%, #ffffff 100%);
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    padding: 24px 20px;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.promo-modal-overlay.active .promo-modal {
    transform: scale(1);
}

.promo-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: background 0.2s;
    z-index: 10;
}

.promo-close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
}

.promo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.promo-badge {
    background: #ff5e29;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.promo-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 8px 0 4px;
}

.promo-subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.promo-banner-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

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

.promo-gifts {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.gift-box {
    width: 110px;
    height: 130px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid transparent;
}

.gift-box:hover {
    transform: scale(1.05);
}

.gift-box.selected {
    border-color: #ff5e29;
    box-shadow: 0 0 20px rgba(255, 94, 41, 0.5);
}

.gift-box .gift-closed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.gift-box.opened .gift-closed {
    opacity: 0;
    transform: scale(0.5);
}

.gift-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a1810 0%, #1a0f0a 100%);
}

.gift-reveal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gift-box.opened .gift-reveal {
    opacity: 1;
    animation: revealPrize 0.6s ease-out;
}

@keyframes revealPrize {
    0% { 
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

.promo-instruction {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #ff5e29;
    margin-bottom: 12px;
}

.promo-cta-btn {
    width: 100%;
    background: #ff5e29;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.promo-cta-btn:hover {
    background: #e54d1b;
    transform: scale(1.02);
}

.promo-disclaimer {
    text-align: center;
    font-size: 12px;
    color: #999;
}

/* Responsividade do modal promocional */
@media (max-width: 400px) {
    .promo-modal {
        padding: 20px 16px;
    }
    
    .promo-title {
        font-size: 24px;
    }
    
    .promo-badge {
        font-size: 12px;
        padding: 8px 18px;
    }
    
    .gift-box {
        width: 95px;
        height: 110px;
    }
    
    .promo-instruction {
        font-size: 16px;
    }
    
    .promo-cta-btn {
        font-size: 16px;
        padding: 14px 20px;
    }
}

@media (max-width: 350px) {
    .promo-gifts {
        gap: 6px;
    }
    
    .gift-box {
        width: 85px;
        height: 100px;
    }
    
    .promo-title {
        font-size: 22px;
    }
}
