/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #EDEDED;
  color: #222;
  overflow-x: hidden;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }

/* =============================================
   APP BANNER
   ============================================= */
.app-banner {
  background: #1a1a1a;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.app-banner-inner { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.app-banner-logo { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; background: white; padding: 2px; flex-shrink: 0; }
.app-banner-text { min-width: 0; }
.app-banner-text strong { display: block; font-size: 11.5px; font-weight: 600; color: #fff; line-height: 1.3; }
.app-banner-text span { font-size: 11px; color: #aaa; }
.app-banner-btn {
  background: #3483FA;
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  background: #FFE600;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.header-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
}
.header-logo {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: white;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.logo-img { width: 100%; height: 100%; object-fit: contain; }
.header-search { flex: 1; min-width: 0; }
.search-bar {
  background: white;
  border-radius: 6px;
  display: flex; align-items: center;
  padding: 0 10px;
  height: 36px;
  gap: 6px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}
.search-input { border: none; outline: none; flex: 1; font-size: 14px; color: #333; background: transparent; }
.search-input::placeholder { color: #bbb; }
.header-icons { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.icon-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; color: #333; position: relative;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.icon-btn:active { background: rgba(0,0,0,0.08); }
.cart-badge {
  position: absolute; top: 2px; right: 2px;
  background: #e00; color: white;
  font-size: 9px; font-weight: 700;
  width: 15px; height: 15px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.header-location {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 14px 8px;
  font-size: 12.5px; color: #333;
  border-top: 1px solid rgba(0,0,0,0.05);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.header-location:active { background: rgba(0,0,0,0.04); }
.header-location strong { font-weight: 600; }

/* =============================================
   CEP MODAL
   ============================================= */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  display: flex; align-items: flex-end; justify-content: center;
  backdrop-filter: blur(2px);
  animation: fadeIn 0.2s;
}
.modal-box {
  background: white;
  border-radius: 16px 16px 0 0;
  width: 100%; max-width: 500px;
  padding: 20px;
  animation: slideUp 0.25s ease;
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal-header h3 { font-size: 17px; font-weight: 600; }
.modal-close { font-size: 22px; color: #888; line-height: 1; padding: 2px 6px; border-radius: 50%; }
.modal-close:hover { background: #f0f0f0; }

.cep-input-wrap {
  display: flex; align-items: center;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 0 10px;
  height: 44px;
  gap: 8px;
  transition: border-color 0.2s;
}
.cep-input-wrap:focus-within { border-color: #3483FA; }
.cep-input { flex: 1; border: none; outline: none; font-size: 15px; color: #222; }
.cep-search-btn {
  background: #3483FA;
  width: 32px; height: 32px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cep-result { margin-top: 12px; padding: 12px; background: #F0F8FF; border-radius: 8px; font-size: 13px; color: #333; line-height: 1.6; }
.cep-result strong { color: #222; font-weight: 600; }
.cep-error { margin-top: 12px; font-size: 13px; color: #e00; text-align: center; }

/* =============================================
   SIDE MENU
   ============================================= */
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 150;
  animation: fadeIn 0.2s;
}
.side-menu {
  position: fixed; top: 0; right: -280px;
  width: 280px; height: 100vh;
  background: white;
  z-index: 160;
  overflow-y: auto;
  transition: right 0.3s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}
.side-menu.open { right: 0; }
.side-menu-header {
  background: #FFE600;
  padding: 16px 14px;
  display: flex; align-items: center; gap: 10px;
  position: relative;
}
.side-logo { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; background: white; padding: 2px; }
.side-menu-header span { font-size: 13px; font-weight: 500; flex: 1; }
.side-close { font-size: 22px; color: #555; line-height: 1; padding: 2px 6px; }
.side-links { list-style: none; padding: 8px 0; }
.side-links li a {
  display: block; padding: 14px 18px;
  font-size: 15px; color: #222;
  border-bottom: 1px solid #f2f2f2;
  transition: background 0.15s;
}
.side-links li a:active { background: #f7f7f7; }

/* =============================================
   MAIN
   ============================================= */
.main { background: white; }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  padding: 10px 14px;
  font-size: 11.5px;
  color: #3483FA;
  display: flex; flex-wrap: wrap; gap: 4px;
  background: white;
  border-bottom: 1px solid #f0f0f0;
}
.breadcrumb span { color: #aaa; }
.breadcrumb a { color: #3483FA; }

/* =============================================
   PRODUCT META
   ============================================= */
.product-meta { padding: 14px 14px 0; }
.meta-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.meta-condition { font-size: 12px; color: #555; }
.meta-sep { color: #ccc; }
.meta-sold { font-size: 12px; color: #555; }
.meta-rating-wrap { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.stars-row { display: flex; gap: 1px; }
.star { font-size: 13px; color: #ccc; }
.star.on { color: #F5A623; }
.star.half { color: #F5A623; opacity: 0.5; }
.stars-row.big .star { font-size: 18px; }

.rating-num { font-size: 13px; font-weight: 600; color: #333; }
.rating-cnt { font-size: 12px; color: #777; }

/* =============================================
   BADGES
   ============================================= */
.product-badges { display: flex; align-items: center; gap: 8px; padding: 10px 14px 0; }
.badge-hot {
  background: #FF6900;
  color: white;
  font-size: 10.5px; font-weight: 700;
  padding: 3px 8px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: 0.2px;
}
.badge-rank { color: #3483FA; font-size: 12px; font-weight: 500; }

/* =============================================
   PRODUCT TITLE
   ============================================= */
.product-title { font-size: 16px; font-weight: 400; line-height: 1.45; color: #222; padding: 10px 14px 0; }

/* =============================================
   GALLERY
   ============================================= */
.gallery-wrap {
  position: relative;
  background: #FFFFFF;
  margin-top: 14px;
  border-top: 1px solid #EFEFEF;
  border-bottom: 1px solid #EFEFEF;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.gallery-top-bar {
  position: absolute; top: 10px; left: 14px; right: 14px;
  display: flex; justify-content: space-between; align-items: flex-start;
  z-index: 10; pointer-events: none;
}
.gallery-counter {
  background: rgba(0,0,0,0.45);
  color: white; font-size: 12px; font-weight: 500;
  padding: 3px 10px; border-radius: 20px;
  backdrop-filter: blur(4px);
}
.gal-btn {
  width: 36px; height: 36px;
  background: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  pointer-events: auto;
  transition: transform 0.15s, box-shadow 0.15s;
}
.gal-btn:active { transform: scale(0.92); }
.fav-btn.active svg { fill: #FF4B4B; stroke: #FF4B4B; }
.share-btn {
  position: absolute; bottom: 52px; right: 12px;
  z-index: 10;
}

.gallery-slider {
  position: relative;
  touch-action: pan-y;
  min-height: 280px;
}
.gal-slide {
  display: none;
  padding: 28px 24px;
  align-items: center;
  justify-content: center;
}
.gal-slide.active { display: flex; animation: fadeSlide 0.3s ease; }
.gal-slide img {
  max-height: 280px; max-width: 100%;
  object-fit: contain; margin: 0 auto;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}

.gallery-dots {
  display: flex; justify-content: center; gap: 5px;
  padding: 10px 0 12px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #CCC; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex; align-items: center; justify-content: center;
  font-size: 6px; color: #999;
}
.dot.play { width: 16px; background: #DDD; font-size: 7px; border-radius: 4px; }
.dot.active { background: #3483FA; transform: scale(1.25); }
.dot.active.play { color: white; }

/* Thumbnails */
.thumb-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 14px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.thumb-strip::-webkit-scrollbar { display: none; }
.thumb {
  flex: 1;
  min-width: 30px;
  max-width: 56px;
  aspect-ratio: 1;
  height: auto;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  background: #FFFFFF;
  scroll-snap-align: start;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.thumb.active { border-color: #3483FA; }

/* =============================================
   SECTION BLOCKS
   ============================================= */
.section-block {
  padding: 16px 14px;
  border-bottom: 8px solid #EDEDED;
}
.link-blue { color: #3483FA; font-size: 13px; }
.link-blue:hover { text-decoration: underline; }
.link-blue.small { font-size: 12px; }

/* =============================================
   COLOR
   ============================================= */
.color-label { font-size: 13px; color: #555; display: block; margin-bottom: 10px; }
.color-label strong { color: #222; font-weight: 600; }
.color-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.cswatch {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid #CCC;
  transition: transform 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.cswatch.active {
  transform: scale(1.15);
  box-shadow: 0 0 0 3px white, 0 0 0 5px #3483FA;
}

/* =============================================
   PRICE
   ============================================= */
.price-block { border-bottom: 1px solid #F0F0F0 !important; }
.price-old { font-size: 13px; color: #999; text-decoration: line-through; margin-bottom: 2px; }
.price-old sup { font-size: 9px; }
.price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.price-main { font-size: 32px; font-weight: 400; color: #222; line-height: 1; }
.price-int { font-size: 32px; font-weight: 400; }
.disc-tag {
  background: #00A650;
  color: white; font-size: 12px; font-weight: 700;
  padding: 3px 8px; border-radius: 20px;
}
.price-install { font-size: 13px; color: #555; margin-bottom: 6px; }
.price-install sup { font-size: 9px; }

/* =============================================
   SHIPPING
   ============================================= */
.shipping-block { border-bottom: 1px solid #F0F0F0 !important; }
.shipping-free-tag {
  display: inline-block;
  background: #00A650;
  color: white; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 4px;
  margin-bottom: 14px; letter-spacing: 0.2px;
}
.shipping-row {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 14px;
}
.shipping-row:last-child { margin-bottom: 0; }
.ship-fast { color: #00A650; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.ship-sub { font-size: 12.5px; color: #555; margin-bottom: 3px; }
.ship-free-label { color: #00A650; font-weight: 600; }

/* =============================================
   STOCK
   ============================================= */
.stock-block { border-bottom: 1px solid #F0F0F0 !important; }
.stock-label { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.stock-sub { font-size: 12.5px; color: #555; margin-bottom: 10px; }
.full-badge { color: #3483FA; font-weight: 700; }
.qty-btn {
  width: 100%; padding: 12px 14px;
  background: #F7F7F7; border-radius: 8px;
  border: 1px solid #E8E8E8;
  font-size: 14px; color: #222;
  display: flex; align-items: center; justify-content: space-between;
  text-align: left;
}
.qty-btn:active { background: #EFEFEF; }

/* Qty Modal */
.qty-modal-box { border-radius: 16px 16px 0 0; text-align: center; }
.qty-picker { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 20px 0; }
.qty-dec, .qty-inc {
  width: 40px; height: 40px; border-radius: 50%;
  background: #f0f0f0; font-size: 22px; font-weight: 300; color: #3483FA;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #E0E0E0;
}
#qtyDisplay { font-size: 22px; font-weight: 600; min-width: 30px; text-align: center; }
.qty-confirm {
  width: 100%; padding: 14px;
  background: #3483FA; color: white;
  font-size: 15px; font-weight: 600;
  border-radius: 8px; margin-top: 4px;
}

/* =============================================
   CTA BUTTONS
   ============================================= */
.cta-block { display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid #F0F0F0 !important; }
.btn-primary {
  width: 100%; padding: 15px;
  background: #3483FA; color: white;
  font-size: 15px; font-weight: 600; border-radius: 8px;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary:active { background: #2968d1; }
.btn-primary.ai-btn { width: auto; padding: 13px 24px; display: flex; align-items: center; gap: 8px; justify-content: center; }
.btn-secondary {
  width: 100%; padding: 14px;
  background: #EAF1FF; color: #3483FA;
  font-size: 15px; font-weight: 600; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.btn-secondary:active { background: #D5E6FF; }

/* =============================================
   SELLER INFO
   ============================================= */
.seller-block { font-size: 14px; border-bottom: 1px solid #F0F0F0 !important; }
.seller-badge { font-size: 12.5px; color: #555; margin-top: 3px; }
.sep-dot { margin: 0 4px; }

/* =============================================
   TRUST
   ============================================= */
.trust-block { display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid #F0F0F0 !important; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: #444; }

/* =============================================
   BOTTOM ACTIONS
   ============================================= */
.bottom-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 0; border-bottom: 8px solid #EDEDED !important;
}
.bottom-action-btn {
  display: flex; align-items: center; gap: 6px;
  color: #3483FA; font-size: 14px; font-weight: 500;
  padding: 0 20px;
  -webkit-tap-highlight-color: transparent;
}
.bottom-action-btn:active { opacity: 0.7; }
.bottom-div { width: 1px; height: 20px; background: #E0E0E0; }

/* =============================================
   OTHER OPTIONS
   ============================================= */
.section-title { font-size: 16px; font-weight: 600; color: #222; margin-bottom: 14px; }
.other-options {}
.option-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.option-price { font-size: 20px; font-weight: 500; color: #222; }
.option-tag {
  display: flex; align-items: center; gap: 4px;
  border: 1px solid #CCC; border-radius: 20px;
  padding: 5px 12px; font-size: 12.5px; color: #555;
}

/* =============================================
   SPECS MINI
   ============================================= */
.specs-list { list-style: none; }
.specs-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px; color: #444;
  display: flex; align-items: center; gap: 8px;
}
.specs-list li::before { content: "·"; color: #999; font-size: 16px; }

/* =============================================
   PRODUCT PHOTOS GRID
   ============================================= */
.photos-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 10px;
  scrollbar-width: none;
  margin-bottom: 4px;
}
.photos-grid::-webkit-scrollbar { display: none; }
.photo-item {
  flex: 0 0 150px;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  background: #F7F7F7;
  scroll-snap-align: start;
}
.link-row-btn {
  width: 100%; padding: 14px 16px;
  background: #F7F7F7; border-radius: 8px;
  border: 1px solid #E8E8E8;
  font-size: 14px; color: #3483FA; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between;
}
.link-row-btn:active { background: #EFEFEF; }

/* =============================================
   DESCRIÇÃO
   ============================================= */
.descricao-text p { font-size: 14px; color: #444; line-height: 1.6; margin-bottom: 12px; }
.descricao-text ul { margin: 8px 0 12px 18px; }
.descricao-text ul li { font-size: 14px; color: #444; margin-bottom: 4px; }
.desc-toggle {
  display: flex; align-items: center; gap: 6px;
  color: #3483FA; font-size: 13.5px; font-weight: 500;
  margin-top: 4px;
}
#descArrow { transition: transform 0.25s; }
#descArrow.open { transform: rotate(180deg); }

/* =============================================
   SPEC TABLE
   ============================================= */
.spec-sub-title { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 10px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.spec-table tr:nth-child(odd) td { background: #F7F7F7; }
.spec-table td { padding: 11px 12px; font-size: 13.5px; color: #444; vertical-align: top; }
.spec-table td:first-child { color: #555; width: 45%; }

/* =============================================
   PAYMENT ICONS
   ============================================= */
.payment-icons { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.payment-icon { border-radius: 4px; overflow: hidden; }

/* =============================================
   PERGUNTAS
   ============================================= */
.perguntas-block { display: flex; flex-direction: column; gap: 12px; }

/* =============================================
   REVIEWS
   ============================================= */
.reviews-summary { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 18px; }
.reviews-score { text-align: center; flex-shrink: 0; }
.score-big { font-size: 44px; font-weight: 300; color: #222; line-height: 1; }
.score-count { font-size: 12px; color: #777; margin-top: 4px; }
.rating-bars { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.bar-row { display: flex; align-items: center; gap: 6px; }
.bar-row > span { font-size: 12px; color: #555; min-width: 8px; }
.bar-bg { flex: 1; height: 6px; background: #E8E8E8; border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; background: #333; border-radius: 3px; transition: width 0.4s; }
.star-sm { font-size: 11px; color: #F5A623; }

.cat-ratings { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; padding: 14px; background: #F7F7F7; border-radius: 8px; }
.cat-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #444; }

/* Review Photos Strip */
.review-photos-title { font-size: 14px; font-weight: 600; color: #222; margin-bottom: 10px; }
.review-photos-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; scrollbar-width: none; }
.review-photos-strip::-webkit-scrollbar { display: none; }
.review-photo-item { position: relative; flex-shrink: 0; width: 90px; height: 90px; border-radius: 8px; overflow: hidden; }
.review-photo-item img { width: 100%; height: 100%; object-fit: cover; }
.review-stars-sm { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.55); color: white; font-size: 11px; text-align: center; padding: 3px; }

.ai-summary { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #3483FA; margin-bottom: 6px; }
.ai-summary-text { font-size: 13.5px; color: #444; line-height: 1.5; margin-bottom: 16px; }

.reviews-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.review-highlight-title { font-size: 15px; font-weight: 600; color: #222; }
.filter-btn { display: flex; align-items: center; gap: 5px; font-size: 13px; color: #3483FA; border: 1.5px solid #3483FA; border-radius: 20px; padding: 5px 12px; }
.review-count-text { font-size: 12px; color: #777; margin-bottom: 14px; }

.review-card { padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.review-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.review-date { font-size: 12px; color: #999; }
.review-photos-mini { display: flex; gap: 5px; margin-bottom: 8px; }
.review-photos-mini img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.review-text { font-size: 13.5px; color: #333; line-height: 1.5; margin-bottom: 8px; }
.helpful-btn { font-size: 12.5px; color: #555; border: 1px solid #DDD; border-radius: 20px; padding: 5px 14px; }
.helpful-btn:active { background: #F5F5F5; }

/* =============================================
   RELATED
   ============================================= */
.related-products { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.related-products::-webkit-scrollbar { display: none; }
.related-card {
  flex-shrink: 0; width: 175px;
  background: white; border: 1px solid #E8E8E8;
  border-radius: 10px; padding: 12px;
  overflow: hidden;
}
.related-card img { width: 100%; height: 130px; object-fit: cover; border-radius: 6px; margin-bottom: 8px; }
.related-name { font-size: 12px; color: #333; line-height: 1.4; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-old { font-size: 11px; color: #999; text-decoration: line-through; }
.related-price { font-size: 14px; font-weight: 500; color: #222; display: flex; align-items: baseline; gap: 5px; }
.related-price sup { font-size: 10px; }
.disc-tag-sm { font-size: 11px; background: transparent; color: #00A650; font-weight: 600; padding: 0; }
.related-install { font-size: 11.5px; color: #555; margin-top: 2px; }
.related-ship { font-size: 11.5px; color: #555; margin-top: 4px; }
.related-ship.green { color: #00A650; }

/* =============================================
   SELLER PROFILE
   ============================================= */
.seller-profile { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.seller-logo { width: 48px; height: 48px; border-radius: 50%; object-fit: contain; background: #FFF7CC; padding: 4px; }
.seller-info { flex: 1; }
.seller-name { font-size: 16px; font-weight: 600; color: #222; }
.seller-stats { font-size: 12px; color: #777; margin-top: 2px; }
.follow-btn {
  border: 1.5px solid #3483FA; color: #3483FA;
  font-size: 13.5px; font-weight: 600;
  padding: 7px 18px; border-radius: 6px;
  transition: all 0.2s;
}
.follow-btn.following {
  background: #3483FA; color: white;
}

/* Pergunta Modal */
.pergunta-textarea {
  width: 100%; border: 1.5px solid #ddd; border-radius: 8px;
  padding: 12px; font-size: 14px; font-family: inherit;
  resize: none; outline: none; color: #222; line-height: 1.5;
  transition: border-color 0.2s;
}
.pergunta-textarea:focus { border-color: #3483FA; }
.pergunta-char { font-size: 11.5px; color: #aaa; text-align: right; margin: 4px 0 14px; }
.pergunta-actions { display: flex; flex-direction: column; gap: 10px; }
.pergunta-wpp-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25D366; color: white;
  font-size: 14px; font-weight: 600;
  padding: 13px; border-radius: 8px;
  width: 100%;
}
.pergunta-send-btn { margin: 0; }
.modal-body { padding-top: 4px; }

/* Share Modal */
.share-options {
  display: flex; justify-content: space-around;
  padding: 10px 0 6px;
}
.share-option-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; color: #444; font-weight: 500;
  padding: 12px 14px; border-radius: 12px;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.share-option-btn:active { background: #f5f5f5; }
.seller-badge-platinum {
  display: flex; align-items: center; gap: 5px;
  width: 100%;
  color: #00A650; font-size: 13px; font-weight: 600;
}
.seller-metrics { display: flex; gap: 0; width: 100%; justify-content: space-around; text-align: center; padding: 14px 0; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; }
.metric { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.metric-val { font-size: 14px; font-weight: 700; color: #222; }
.metric-lbl { font-size: 11px; color: #777; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: white; border-top: 8px solid #EDEDED; padding: 20px 14px 32px; }
.footer-app { display: flex; align-items: center; gap: 10px; background: #FFE600; padding: 14px; border-radius: 8px; margin-bottom: 20px; }
.footer-logo { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; background: white; padding: 2px; }
.footer-app span { font-size: 13.5px; font-weight: 500; color: #333; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; margin-bottom: 20px; }
.footer-links a { font-size: 13.5px; color: #333; }
.footer-links a:hover { color: #3483FA; }
.footer-bottom { font-size: 11px; color: #999; line-height: 1.6; border-top: 1px solid #f0f0f0; padding-top: 14px; }

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: rgba(30,30,30,0.92);
  color: white; padding: 10px 22px;
  border-radius: 24px; font-size: 14px; font-weight: 500;
  z-index: 999; white-space: nowrap;
  backdrop-filter: blur(6px);
  animation: toastIn 0.25s ease;
}
@keyframes toastIn { from { opacity:0; transform: translateX(-50%) translateY(10px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }

/* =============================================
   CART DRAWER
   ============================================= */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 150;
  animation: fadeIn 0.2s;
}
.cart-drawer {
  position: fixed; top: 0; right: -320px;
  width: 300px; max-width: 92vw; height: 100vh;
  background: white;
  z-index: 160;
  display: flex; flex-direction: column;
  transition: right 0.3s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.18);
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
  background: #FFE600;
  padding: 16px 14px;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.cart-drawer-header h3 { font-size: 17px; font-weight: 700; color: #222; }
.cart-drawer-close { font-size: 26px; color: #555; line-height: 1; padding: 2px 6px; border-radius: 50%; }
.cart-drawer-close:active { background: rgba(0,0,0,0.08); }
.cart-drawer-body {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 12px;
}
.cart-empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: #999; padding: 40px 0;
  text-align: center;
}
.cart-empty svg { opacity: 0.35; }
.cart-empty p { font-size: 14px; }
.cart-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px; border-radius: 10px;
  background: #F7F7F7; border: 1px solid #EFEFEF;
}
.cart-item-img {
  width: 60px; height: 60px; border-radius: 7px;
  object-fit: cover; background: white; flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 12.5px; color: #333; line-height: 1.35; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-price { font-size: 14px; font-weight: 700; color: #222; }
.cart-item-qty { font-size: 12px; color: #777; margin-top: 2px; }
.cart-item-remove {
  background: none; border: none; color: #bbb; font-size: 20px; line-height: 1;
  padding: 2px 4px; border-radius: 50%; cursor: pointer; flex-shrink: 0;
  align-self: flex-start; margin-top: -2px;
  transition: color 0.15s;
}
.cart-item-remove:active { color: #e00; }
.cart-drawer-footer {
  padding: 14px;
  border-top: 1px solid #EAEAEA;
  flex-shrink: 0;
}
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; font-weight: 700; color: #222;
  margin-bottom: 12px;
}
.cart-checkout-btn { margin: 0; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes slideUp { from { transform: translateY(40px); opacity:0; } to { transform: translateY(0); opacity:1; } }

/* =============================================
   SAFE AREA
   ============================================= */
@supports (padding-top: env(safe-area-inset-top)) {
  .header { padding-top: env(safe-area-inset-top); }
}
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
}

/* =============================================
   MAX WIDTH (para telas grandes)
   ============================================= */
@media (min-width: 600px) {
  .app-banner, .header-top, .header-location,
  .main, .footer, .side-menu {
    max-width: 480px;
  }
  .header { display: flex; flex-direction: column; align-items: center; }
  .header-top, .header-location { width: 480px; }
  body { display: flex; flex-direction: column; align-items: center; background: #DEDEDE; }
  .app-banner { max-width: 480px; width: 100%; }
  .main { width: 100%; max-width: 480px; box-shadow: 0 0 20px rgba(0,0,0,0.08); }
  .footer { width: 100%; max-width: 480px; }
}
