/* =============================================
   Store Smartphone BR — Main CSS
   Paleta: Roxo (#7c3aed / #6d28d9) + Branco
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:       #7c3aed;
  --purple-dark:  #6d28d9;
  --purple-light: #8b5cf6;
  --purple-pale:  #ede9fe;
  --purple-glow:  #7c3aed33;
  --white:        #ffffff;
  --gray-50:      #f9fafb;
  --gray-100:     #f3f4f6;
  --gray-200:     #e5e7eb;
  --gray-400:     #9ca3af;
  --gray-600:     #4b5563;
  --gray-800:     #1f2937;
  --green:        #10b981;
  --red:          #ef4444;
  --yellow:       #f59e0b;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 40px rgba(124,58,237,.15);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--gray-50); color: var(--gray-800); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; }
input, select, textarea { font-family: inherit; }

/* CONTAINER */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* TOPBAR */
.topbar { background: var(--purple-dark); color: #fff; font-size: 12px; padding: 7px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px; }

/* HEADER */
.header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 200; }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 14px 20px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { font-size: 28px; }
.logo-name { font-size: 18px; font-weight: 800; color: var(--purple); display: block; }
.logo-br { font-size: 11px; font-weight: 700; background: var(--purple); color: #fff; padding: 1px 6px; border-radius: 4px; }
.search-form { flex: 1; display: flex; max-width: 520px; border: 2px solid var(--gray-200); border-radius: 50px; overflow: hidden; transition: border-color .2s; }
.search-form:focus-within { border-color: var(--purple); }
.search-form input { flex: 1; border: none; outline: none; padding: 10px 16px; font-size: 14px; background: transparent; }
.search-form button { background: var(--purple); color: #fff; border: none; padding: 0 18px; font-size: 16px; transition: background .2s; }
.search-form button:hover { background: var(--purple-dark); }
.cart-btn { display: flex; align-items: center; gap: 6px; background: var(--purple-pale); color: var(--purple); padding: 9px 16px; border-radius: 50px; font-weight: 600; font-size: 14px; position: relative; transition: background .2s; }
.cart-btn:hover { background: var(--purple); color: #fff; }
.cart-badge { background: var(--red); color: #fff; font-size: 11px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: absolute; top: -4px; right: -4px; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 22px; color: var(--gray-600); padding: 4px; }

/* MAIN NAV */
.main-nav { background: var(--purple); }
.main-nav-inner { display: flex; gap: 0; overflow-x: auto; }
.main-nav a { color: rgba(255,255,255,.85); font-size: 13px; font-weight: 500; padding: 12px 16px; white-space: nowrap; transition: all .2s; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-highlight { color: #fde68a !important; font-weight: 700; }
.nav-highlight-sale { color: #6ee7b7 !important; font-weight: 700; }

/* FLASH */
.flash { padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 500; }
.flash-success { background: #d1fae5; color: #065f46; border-bottom: 2px solid #10b981; }
.flash-error { background: #fee2e2; color: #991b1b; border-bottom: 2px solid var(--red); }
.flash button { background: none; border: none; font-size: 16px; cursor: pointer; color: inherit; }

/* HERO */
.hero { background: linear-gradient(135deg, #1a0533 0%, var(--purple-dark) 50%, var(--purple-light) 100%); color: #fff; padding: 80px 0; min-height: 500px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero .container { display: flex; align-items: center; gap: 60px; position: relative; z-index: 1; }
.hero-content { flex: 1; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.15); color: #fde68a; border: 1px solid rgba(255,255,255,.2); padding: 5px 14px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.hero-content h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero-content h1 span { color: #fde68a; }
.hero-content p { font-size: 17px; color: rgba(255,255,255,.85); max-width: 460px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; }
.hero-stats div { text-align: center; }
.hero-stats strong { display: block; font-size: 24px; font-weight: 800; color: #fde68a; }
.hero-stats span { font-size: 12px; color: rgba(255,255,255,.7); }
.hero-image { flex-shrink: 0; width: 320px; display: flex; justify-content: center; }
.hero-phone-mockup { position: relative; }
.phone-glow { width: 260px; height: 260px; background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%); border-radius: 50%; }
.floating-cards { position: absolute; top: 10px; right: -20px; display: flex; flex-direction: column; gap: 8px; }
.float-card { background: rgba(255,255,255,.95); color: var(--purple-dark); font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 50px; box-shadow: 0 4px 15px rgba(0,0,0,.2); white-space: nowrap; animation: floatUp 3s ease-in-out infinite; }
.float-card:nth-child(2) { animation-delay: .5s; }
.float-card:nth-child(3) { animation-delay: 1s; }
@keyframes floatUp { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; gap: 6px; background: var(--purple); color: #fff; padding: 12px 28px; border-radius: 50px; font-weight: 700; font-size: 15px; transition: all .2s; box-shadow: 0 4px 15px var(--purple-glow); }
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 6px 25px var(--purple-glow); }
.btn-outline { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.15); color: #fff; border: 2px solid rgba(255,255,255,.4); padding: 11px 28px; border-radius: 50px; font-weight: 700; font-size: 15px; transition: all .2s; backdrop-filter: blur(10px); }
.btn-outline:hover { background: rgba(255,255,255,.25); }
.btn-link { color: var(--purple); font-weight: 600; font-size: 14px; }
.btn-link:hover { text-decoration: underline; }
.btn-cart { flex: 1; background: var(--purple); color: #fff; padding: 9px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; transition: background .2s; }
.btn-cart:hover { background: var(--purple-dark); }
.btn-detail { padding: 9px 14px; border: 2px solid var(--purple-pale); color: var(--purple); border-radius: 8px; font-size: 13px; font-weight: 600; transition: all .2s; white-space: nowrap; }
.btn-detail:hover { background: var(--purple-pale); }

/* BRANDS STRIP */
.brands-strip { background: #fff; border-bottom: 1px solid var(--gray-200); padding: 14px 0; }
.brands-strip .container { display: flex; align-items: center; gap: 20px; overflow-x: auto; }
.brands-strip p { color: var(--gray-400); font-size: 12px; white-space: nowrap; font-weight: 500; }
.brands-list { display: flex; gap: 8px; flex-wrap: wrap; }
.brands-list a { background: var(--gray-100); color: var(--gray-600); padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; transition: all .2s; }
.brands-list a:hover { background: var(--purple); color: #fff; }

/* BENEFITS */
.benefits { padding: 48px 0; background: #fff; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefit-card { text-align: center; padding: 28px 20px; border-radius: var(--radius); border: 1px solid var(--gray-200); transition: all .25s; }
.benefit-card:hover { border-color: var(--purple); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.benefit-icon { font-size: 36px; margin-bottom: 14px; }
.benefit-card h3 { font-size: 15px; font-weight: 700; color: var(--gray-800); margin-bottom: 6px; }
.benefit-card p { font-size: 13px; color: var(--gray-400); }

/* SECTIONS */
.products-section { padding: 60px 0; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.section-header h2 { font-size: 26px; font-weight: 800; color: var(--gray-800); }
.section-header p { color: var(--gray-400); font-size: 14px; margin-top: 4px; }

/* PRODUCT GRID */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); overflow: hidden; position: relative; transition: all .3s; }
.product-card:hover { box-shadow: 0 12px 40px rgba(124,58,237,.15); transform: translateY(-6px); border-color: var(--purple-light); }
.product-img-wrap { display: block; aspect-ratio: 1; overflow: hidden; background: var(--gray-50); display: flex; align-items: center; justify-content: center; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform .4s; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.no-img { font-size: 60px; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; background: var(--gray-100); }
.product-info { padding: 16px; }
.product-brand { font-size: 11px; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: .5px; }
.product-info h3 { font-size: 14px; font-weight: 600; color: var(--gray-800); margin: 4px 0 6px; line-height: 1.4; }
.product-info h3 a:hover { color: var(--purple); }
.product-rating { font-size: 12px; color: var(--yellow); margin-bottom: 8px; }
.product-rating small { color: var(--gray-400); }
.product-pricing { margin-bottom: 12px; }
.old-price { font-size: 12px; color: var(--gray-400); text-decoration: line-through; display: block; }
.price { font-size: 20px; font-weight: 800; color: var(--purple-dark); display: block; }
.installments { font-size: 11px; color: var(--gray-400); }
.product-actions { display: flex; gap: 8px; align-items: center; }

/* BADGES */
.badge-featured, .badge-new, .badge-sale, .badge-sale-lg {
  position: absolute; z-index: 2; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 50px;
}
.badge-featured { top: 10px; left: 10px; background: var(--purple); color: #fff; }
.badge-new { top: 10px; left: 10px; background: var(--green); color: #fff; }
.badge-sale { top: 10px; right: 10px; background: var(--red); color: #fff; }
.badge-sale-lg { top: 16px; right: 16px; background: var(--red); color: #fff; font-size: 14px; padding: 6px 14px; border-radius: 50px; }

/* PROMO BANNER */
.promo-banner { background: linear-gradient(135deg, var(--purple-dark), var(--purple-light)); padding: 60px 0; }
.promo-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; color: #fff; }
.promo-tag { display: inline-block; background: rgba(255,255,255,.2); color: #fde68a; padding: 5px 14px; border-radius: 50px; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.promo-inner h2 { font-size: 32px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.promo-inner p { font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 24px; }
.promo-pix { text-align: center; background: rgba(255,255,255,.15); border-radius: var(--radius-lg); padding: 32px 40px; flex-shrink: 0; }
.pix-icon { font-size: 48px; margin-bottom: 8px; }
.promo-pix strong { display: block; font-size: 22px; font-weight: 800; }
.promo-pix span { font-size: 13px; color: rgba(255,255,255,.8); }

/* TESTIMONIALS */
.testimonials { padding: 60px 0; background: var(--gray-50); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--gray-200); box-shadow: var(--shadow); }
.testi-stars { color: var(--yellow); font-size: 18px; margin-bottom: 12px; }
.testimonial-card p { color: var(--gray-600); font-size: 14px; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testi-author strong { font-size: 14px; color: var(--gray-800); }
.testi-author { color: var(--gray-400); font-size: 13px; }

/* FOOTER */
.footer { background: #1a0533; color: #d1d5db; padding: 60px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo span { font-size: 28px; }
.footer-logo strong { display: block; color: #fff; font-size: 16px; }
.footer-logo small { color: #9ca3af; font-size: 12px; }
.footer-col p { font-size: 14px; line-height: 1.7; color: #9ca3af; margin-bottom: 16px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col a { display: block; color: #9ca3af; font-size: 14px; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--purple-light); }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a { display: inline-block; background: rgba(255,255,255,.08); padding: 6px 12px; border-radius: 6px; font-size: 12px; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-icon { background: rgba(255,255,255,.08); color: #d1d5db; font-size: 12px; padding: 6px 10px; border-radius: 6px; }
.security-badges { display: flex; flex-direction: column; gap: 6px; }
.security-badges span { font-size: 13px; color: var(--green); }
.footer-bottom { background: rgba(0,0,0,.3); margin-top: 40px; padding: 16px 0; text-align: center; }
.footer-bottom p { font-size: 12px; color: #6b7280; }

/* SHOP LAYOUT (listing page) */
.page-content { padding: 40px 0 80px; }
.breadcrumb { font-size: 13px; color: var(--gray-400); margin-bottom: 24px; }
.breadcrumb a { color: var(--gray-400); } .breadcrumb a:hover { color: var(--purple); }
.page-title { font-size: 28px; font-weight: 800; color: var(--gray-800); margin-bottom: 24px; }
.page-title small { font-size: 16px; font-weight: 400; color: var(--gray-400); }
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.filters-sidebar { }
.filters-sidebar h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--gray-400); margin: 20px 0 10px; }
.filters-sidebar h3:first-child { margin-top: 0; }
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-link { font-size: 14px; color: var(--gray-600); padding: 7px 12px; border-radius: 8px; transition: all .2s; }
.filter-link:hover, .filter-link.active { background: var(--purple-pale); color: var(--purple); font-weight: 600; }
.shop-header { margin-bottom: 20px; font-size: 14px; color: var(--gray-400); }
.shop-header strong { color: var(--purple); }
.empty-state { text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--radius-lg); border: 2px dashed var(--gray-200); }
.empty-state p { color: var(--gray-400); font-size: 18px; margin-bottom: 20px; }
.empty-state.large .empty-icon { font-size: 64px; margin-bottom: 16px; }
.empty-state.large h2 { font-size: 22px; margin-bottom: 8px; }

/* PRODUCT DETAIL PAGE */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.product-gallery { }
.main-image { border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-50); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gray-200); position: relative; margin-bottom: 12px; }
.main-image img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.no-img-large { font-size: 80px; }
.thumbnails { display: flex; gap: 8px; }
.thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 2px solid var(--gray-200); cursor: pointer; background: var(--gray-50); padding: 4px; transition: border-color .2s; }
.thumb.active, .thumb:hover { border-color: var(--purple); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-detail-brand { font-size: 12px; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.product-detail-title { font-size: 26px; font-weight: 800; color: var(--gray-800); line-height: 1.3; margin-bottom: 12px; }
.rating-summary { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.stars-big { color: var(--yellow); font-size: 18px; }
.rating-num { font-weight: 700; color: var(--gray-800); }
.rating-count { font-size: 14px; color: var(--gray-400); }
.sold-count { font-size: 13px; color: var(--green); font-weight: 600; }
.product-variants { display: flex; gap: 16px; margin-bottom: 16px; font-size: 14px; color: var(--gray-600); }
.detail-pricing { margin-bottom: 20px; }
.detail-old-price { font-size: 15px; color: var(--gray-400); text-decoration: line-through; }
.detail-price { font-size: 36px; font-weight: 900; color: var(--purple-dark); line-height: 1.1; }
.pix-price { font-size: 16px; color: var(--green); font-weight: 600; margin: 6px 0 4px; padding: 8px 14px; background: #d1fae5; border-radius: 8px; display: inline-block; }
.installments-detail { font-size: 14px; color: var(--gray-600); }
.stock-info { margin-bottom: 20px; font-size: 14px; font-weight: 600; }
.in-stock { color: var(--green); }
.out-stock { color: var(--red); }

/* QTY + ADD TO CART */
.add-cart-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.qty-selector label { font-size: 14px; font-weight: 600; color: var(--gray-800); display: block; margin-bottom: 6px; }
.qty-control { display: flex; align-items: center; gap: 0; border: 2px solid var(--gray-200); border-radius: 10px; overflow: hidden; width: fit-content; }
.qty-control button { background: var(--gray-100); border: none; width: 40px; height: 40px; font-size: 20px; font-weight: 700; color: var(--gray-600); transition: background .2s; }
.qty-control button:hover { background: var(--purple-pale); color: var(--purple); }
.qty-control input { border: none; outline: none; width: 52px; text-align: center; font-size: 16px; font-weight: 700; }
.qty-control.small { font-size: 14px; }
.qty-control.small button { width: 32px; height: 32px; font-size: 16px; }
.qty-control.small input { width: 42px; font-size: 14px; }
.btn-add-cart { background: var(--purple); color: #fff; padding: 14px 24px; border-radius: 12px; font-size: 16px; font-weight: 700; transition: all .2s; box-shadow: 0 4px 15px var(--purple-glow); }
.btn-add-cart:hover { background: var(--purple-dark); transform: translateY(-2px); }
.btn-buy-now { background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; padding: 14px 24px; border-radius: 12px; font-size: 16px; font-weight: 700; text-align: center; transition: all .2s; }
.btn-buy-now:hover { transform: translateY(-2px); filter: brightness(1.1); }
.detail-guarantees { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guarantee-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; }
.guarantee-item span { font-size: 22px; }
.guarantee-item strong { display: block; font-size: 13px; color: var(--gray-800); }
.guarantee-item small { color: var(--gray-400); }

/* PRODUCT TABS */
.product-tabs { margin-top: 40px; }
.tabs-nav { display: flex; border-bottom: 2px solid var(--gray-200); gap: 0; overflow-x: auto; }
.tab-btn { background: none; border: none; padding: 14px 24px; font-size: 15px; font-weight: 600; color: var(--gray-400); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .2s; white-space: nowrap; }
.tab-btn.active, .tab-btn:hover { color: var(--purple); border-bottom-color: var(--purple); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-body { padding: 32px 0; }
.tab-body p { color: var(--gray-600); font-size: 15px; line-height: 1.8; margin-bottom: 12px; }
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table tr:nth-child(even) { background: var(--gray-50); }
.specs-table th { text-align: left; padding: 12px 16px; color: var(--gray-600); font-weight: 600; width: 35%; }
.specs-table td { padding: 12px 16px; color: var(--gray-800); font-weight: 500; }

/* REVIEWS */
.rating-overview { display: flex; gap: 40px; align-items: center; padding: 32px; background: var(--gray-50); border-radius: var(--radius-lg); margin-bottom: 32px; }
.rating-big { text-align: center; }
.rating-number-big { font-size: 64px; font-weight: 900; color: var(--purple-dark); line-height: 1; display: block; }
.rating-big span { font-size: 14px; color: var(--gray-400); }
.rating-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.bar-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gray-600); }
.bar { flex: 1; height: 8px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--yellow); border-radius: 4px; }
.reviews-list { display: flex; flex-direction: column; gap: 24px; }
.review-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-meta strong { display: block; font-size: 15px; color: var(--gray-800); }
.review-date { margin-left: auto; font-size: 12px; color: var(--gray-400); }
.review-text { color: var(--gray-600); font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.review-helpful { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-400); }
.review-helpful button { background: var(--gray-100); border: none; padding: 4px 10px; border-radius: 20px; font-size: 12px; cursor: pointer; }
.review-helpful button:hover { background: var(--purple-pale); color: var(--purple); }

/* SHIPPING TAB */
.shipping-info h3 { font-size: 18px; margin-bottom: 20px; }
.shipping-options { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.ship-option { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 18px 20px; }
.ship-icon { font-size: 28px; flex-shrink: 0; }
.ship-option div { flex: 1; }
.ship-option strong { display: block; font-size: 15px; color: var(--gray-800); }
.ship-option p { font-size: 13px; color: var(--gray-400); }
.ship-price { font-weight: 700; color: var(--gray-800); white-space: nowrap; }
.ship-price.free { color: var(--green); }
.ship-note { font-size: 13px; color: var(--gray-400); background: var(--gray-50); padding: 10px 14px; border-radius: 8px; }
.related-products { margin-top: 60px; }
.related-products h2 { font-size: 22px; font-weight: 800; margin-bottom: 24px; }

/* CART */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; align-items: center; }
.cart-item-img { width: 80px; height: 80px; border-radius: 10px; background: var(--gray-50); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-brand { font-size: 11px; font-weight: 700; color: var(--purple); text-transform: uppercase; }
.cart-item-info h3 { font-size: 15px; font-weight: 600; color: var(--gray-800); margin: 4px 0 6px; }
.cart-item-price { font-size: 14px; color: var(--gray-400); }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.qty-form { }
.cart-subtotal { font-size: 18px; font-weight: 700; color: var(--purple-dark); }
.btn-remove { background: none; border: 1px solid var(--gray-200); padding: 6px 10px; border-radius: 8px; font-size: 16px; transition: all .2s; }
.btn-remove:hover { background: #fee2e2; border-color: var(--red); }
.cart-summary { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 100px; }
.cart-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; font-size: 15px; padding: 8px 0; border-bottom: 1px solid var(--gray-100); }
.summary-pix { display: flex; justify-content: space-between; font-size: 15px; padding: 10px 12px; background: #d1fae5; border-radius: 8px; color: #065f46; font-weight: 600; margin: 8px 0; }
.summary-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 800; padding: 16px 0 20px; }
.installments-summary { font-size: 13px; color: var(--gray-400); text-align: center; margin-bottom: 16px; }
.free-text { color: var(--green); font-weight: 700; }
.btn-checkout { display: block; background: var(--purple); color: #fff; padding: 15px; border-radius: 12px; font-size: 16px; font-weight: 700; text-align: center; transition: background .2s; margin-bottom: 12px; box-shadow: 0 4px 15px var(--purple-glow); }
.btn-checkout:hover { background: var(--purple-dark); }
.btn-continue { display: block; text-align: center; color: var(--purple); font-size: 14px; font-weight: 600; padding: 10px; }
.secure-badge { text-align: center; font-size: 13px; color: var(--green); margin-top: 12px; }

/* CHECKOUT */
.checkout-steps { display: flex; align-items: center; justify-content: center; margin-bottom: 40px; gap: 0; }
.step { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--gray-400); }
.step.active { color: var(--purple); }
.step span { width: 30px; height: 30px; border-radius: 50%; background: var(--gray-200); color: var(--gray-400); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.step.active span { background: var(--purple); color: #fff; }
.step-line { flex: 1; height: 2px; background: var(--gray-200); max-width: 80px; margin: 0 8px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.checkout-form-wrap { display: flex; flex-direction: column; gap: 24px; }
.checkout-section { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; }
.checkout-section h3 { font-size: 17px; font-weight: 700; margin-bottom: 20px; color: var(--gray-800); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gray-600); }
.form-group input, .form-group select, .form-group textarea {
  border: 2px solid var(--gray-200); border-radius: 10px; padding: 10px 14px; font-size: 14px; transition: border-color .2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--purple); }

/* PAYMENT TABS */
.payment-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.payment-tabs input[type=radio] { display: none; }
.payment-tab { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 16px 20px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--gray-600); min-width: 100px; text-align: center; transition: all .2s; position: relative; }
.payment-tab:hover { border-color: var(--purple); color: var(--purple); }
.payment-tabs input[type=radio]:checked + .payment-tab { border-color: var(--purple); background: var(--purple-pale); color: var(--purple); }
.pay-tab-icon { font-size: 24px; }
.pay-tab-badge { position: absolute; top: -8px; right: -8px; background: var(--green); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 50px; }
.pay-info { margin-top: 4px; }
.pay-info.hidden { display: none; }

/* PIX INFO */
.pix-info-box { display: flex; gap: 28px; align-items: flex-start; padding: 24px; background: var(--gray-50); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); }
.pix-qr { flex-shrink: 0; }
.qr-placeholder { width: 130px; height: 130px; background: #fff; border: 2px solid var(--gray-200); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 28px; gap: 4px; text-align: center; color: var(--gray-400); }
.qr-placeholder small { font-size: 11px; }
.pix-details h4 { font-size: 15px; font-weight: 700; color: var(--gray-800); margin-bottom: 12px; }
.pix-details ol { padding-left: 18px; font-size: 13px; color: var(--gray-600); line-height: 2; }
.pix-key-display { margin-top: 12px; font-size: 13px; background: #fff; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--gray-200); }
.pix-key-display small { color: var(--gray-400); display: block; margin-bottom: 2px; }
.pix-discount-badge { margin-top: 10px; background: #d1fae5; color: #065f46; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 8px; }
.card-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card-form .form-group.full { grid-column: 1 / -1; }
.card-notice { grid-column: 1 / -1; font-size: 12px; color: var(--gray-400); }
.boleto-info p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* CEP */
.cep-wrap { position: relative; display: flex; align-items: center; }
.cep-wrap input { width: 100%; padding-right: 36px; }
.cep-spinner, .cep-ok, .cep-err { position: absolute; right: 12px; font-size: 15px; display: none; pointer-events: none; }
.cep-hint { font-size: 12px; color: var(--gray-400); margin-top: 4px; display: block; }

/* CHECKOUT SUMMARY */
.checkout-summary { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 100px; }
.checkout-summary h3 { font-size: 17px; font-weight: 700; margin-bottom: 20px; }
.checkout-item { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13px; }
.checkout-item img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--gray-50); }
.no-img-sm { width: 44px; height: 44px; background: var(--gray-100); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.checkout-item div { flex: 1; }
.checkout-item div span { display: block; color: var(--gray-800); font-weight: 600; }
.checkout-item div small { color: var(--gray-400); }
.checkout-item strong { color: var(--purple-dark); font-weight: 700; }
.checkout-totals { border-top: 1px solid var(--gray-200); padding-top: 16px; margin: 16px 0; }
.pix-row { font-size: 14px; }
.btn-checkout-submit { width: 100%; background: var(--purple); color: #fff; padding: 15px; border-radius: 12px; font-size: 16px; font-weight: 700; border: none; cursor: pointer; transition: background .2s; margin-top: 16px; box-shadow: 0 4px 15px var(--purple-glow); }
.btn-checkout-submit:hover { background: var(--purple-dark); }

/* SUCCESS PAGE */
.success-page { max-width: 680px; margin: 0 auto; text-align: center; padding: 40px 20px; }
.success-icon { font-size: 72px; margin-bottom: 16px; }
.success-page h1 { font-size: 28px; font-weight: 800; color: var(--gray-800); margin-bottom: 10px; }
.success-page > p { font-size: 15px; color: var(--gray-600); margin-bottom: 32px; }
.order-summary-box { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 32px; }
.pix-payment-box { background: linear-gradient(135deg, #f0fdf4, #d1fae5); border: 1px solid #6ee7b7; border-radius: var(--radius-lg); padding: 32px; margin-bottom: 32px; }
.pix-payment-box h3 { font-size: 20px; font-weight: 700; color: #065f46; margin-bottom: 20px; }
.pix-qr-big { margin-bottom: 20px; }
.qr-code-sim { font-size: 48px; margin-bottom: 8px; }
.pix-key-box label { font-size: 13px; font-weight: 600; color: var(--gray-600); display: block; margin-bottom: 6px; }
.pix-copy-row { display: flex; gap: 8px; }
.pix-copy-row input { flex: 1; border: 2px solid #6ee7b7; border-radius: 10px; padding: 10px 14px; font-size: 14px; background: #fff; outline: none; text-align: center; font-weight: 600; }
.btn-copy { background: var(--green); color: #fff; padding: 10px 20px; border-radius: 10px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; }
.pix-amount-box { margin: 16px 0 10px; font-size: 14px; color: #065f46; }
.pix-amount-box strong { font-size: 28px; font-weight: 800; display: block; }
.pix-amount-box small { color: #6ee7b7; }
.pix-expiry { font-size: 13px; color: var(--red); font-weight: 600; }
.boleto-box, .card-success-box { background: var(--gray-50); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 32px; }
.boleto-box h3, .card-success-box h3 { font-size: 18px; margin-bottom: 10px; }
.success-next-steps { margin: 32px 0; text-align: left; }
.success-next-steps h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; text-align: center; }
.steps-timeline { display: flex; gap: 0; }
.step-item { flex: 1; text-align: center; position: relative; }
.step-item::after { content: ''; position: absolute; top: 15px; left: 50%; width: 100%; height: 2px; background: var(--gray-200); z-index: 0; }
.step-item:last-child::after { display: none; }
.step-item span { width: 32px; height: 32px; border-radius: 50%; background: var(--gray-200); color: var(--gray-400); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; position: relative; z-index: 1; }
.step-item.active span { background: var(--purple); color: #fff; }
.step-item strong { font-size: 13px; color: var(--gray-800); display: block; }
.step-item p { font-size: 12px; color: var(--gray-400); }
.success-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ERROR PAGE */
.error-page { text-align: center; padding: 80px 20px; }
.error-code { font-size: 120px; font-weight: 900; color: var(--purple); line-height: 1; opacity: .2; }
.error-page h1 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.error-page p { color: var(--gray-400); margin-bottom: 32px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .search-form { order: 3; width: 100%; max-width: 100%; }
  .mobile-menu-btn { display: block; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav-inner { flex-direction: column; }
  .main-nav a { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero .container { flex-direction: column; text-align: center; }
  .hero-image { display: none; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters-sidebar { display: flex; flex-wrap: wrap; gap: 16px; }
  .filters-sidebar h3 { width: 100%; }
  .filter-group { flex-direction: row; flex-wrap: wrap; }
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .detail-guarantees { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .steps-timeline { flex-direction: column; gap: 12px; }
  .step-item::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .promo-inner { flex-direction: column; text-align: center; }
  .payment-tabs { justify-content: center; }
  .pix-info-box { flex-direction: column; align-items: center; text-align: center; }
  .rating-overview { flex-direction: column; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-info { padding: 10px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .card-form { grid-template-columns: 1fr; }
}
