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

:root {
  --black: #1d1d1f;
  --dark: #121212;
  --gray: #6e6e73;
  --light-gray: #f5f5f7;
  --border: #d2d2d7;
  --accent: #0071e3;
  --white: #fff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --bottom-bar: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  font-size: 14px;
  line-height: 1.5;
  padding-bottom: var(--bottom-bar);
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, a { -webkit-tap-highlight-color: transparent; }

/* ANNOUNCEMENT BAR */
.ann-bar {
  background: #000;
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 8px 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.ann-msg { display: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 270px; }
.ann-msg.active { display: block; }
.ann-msg a { color: #ffb700; font-weight: 600; }
.ann-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; padding: 10px; opacity: 0.8; line-height: 0;
}
.ann-btn.prev { left: 0; }
.ann-btn.next { right: 0; }

/* HEADER */
.header {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  padding: 8px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.h-hamburger {
  width: 44px; height: 44px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.h-hamburger span { display: block; width: 18px; height: 1.5px; background: var(--dark); border-radius: 2px; }
.h-logo {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.h-logo-istore img { height: 24px; width: auto; display: block; }
.h-logo-div { width: 1px; height: 20px; background: var(--border); }
.h-logo-apple svg { height: 17px; width: auto; display: block; }
.h-actions { display: flex; align-items: center; gap: 0; }
.h-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark); position: relative;
}
.cart-badge {
  position: absolute; top: 6px; right: 4px;
  background: var(--accent); color: #fff;
  border-radius: 50%; width: 16px; height: 16px;
  font-size: 9px; font-weight: 700;
  display: none; align-items: center; justify-content: center;
}
.cart-badge.show { display: flex; }

/* DRAWER */
.drawer-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 300;
}
.drawer-overlay.open { display: block; }
.drawer {
  position: fixed; top: 0; left: -100%;
  width: 82%; max-width: 300px; height: 100%;
  background: var(--white); z-index: 400;
  overflow-y: auto; transition: left 0.3s ease;
  padding-bottom: 40px;
}
.drawer.open { left: 0; }
.drawer-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.drawer-hd img { height: 22px; }
.drawer-x { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--dark); }
.drawer-search {
  margin: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 8px 10px; background: var(--light-gray);
}
.drawer-search input { border: none; background: none; font-size: 14px; width: 100%; outline: none; font-family: var(--font); }
.drawer-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; font-size: 15px; font-weight: 500;
  color: var(--dark); border-bottom: 1px solid #f0f0f0;
}
.drawer-div { height: 8px; background: var(--light-gray); }
.drawer-sec .drawer-row { font-weight: 400; color: var(--gray); font-size: 14px; }
.drawer-acc {
  margin: 14px 16px; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 10px;
}
.drawer-acc span { font-size: 14px; font-weight: 500; }

/* LOB STRIPE */
.lob-stripe {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 10px 0; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.lob-stripe::-webkit-scrollbar { display: none; }
.lob-inner { display: flex; padding: 0 10px; min-width: max-content; }
.lob-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 0 10px; min-width: 76px; border-bottom: 2px solid transparent;
}
.lob-item.active { border-bottom-color: var(--dark); }
.lob-img { width: 48px; height: 48px; object-fit: contain; }
.lob-badge { font-size: 9px; font-weight: 700; color: #bf4800; text-transform: uppercase; }
.lob-name { font-size: 10.5px; font-weight: 500; color: var(--dark); text-align: center; line-height: 1.2; }
.lob-price { font-size: 9.5px; color: var(--gray); text-align: center; }
.lob-end { display: flex; align-items: center; padding: 0 12px; min-width: 88px; }
.lob-end a { font-size: 11.5px; color: var(--accent); font-weight: 500; display: flex; align-items: center; gap: 4px; }

/* PRODUCT TITLE */
.prod-title-block { padding: 14px 16px 6px; }
.badge-novo {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 9px; font-weight: 700; padding: 2px 7px;
  border-radius: 3px; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 6px;
}
.prod-title-block h1 { font-size: 21px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 6px; }
.prod-meta { font-size: 11px; color: var(--gray); display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.energy-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--gray); }
.energy-row img { height: 28px; }
.energy-row a { color: var(--accent); }

/* IMAGE CAROUSEL */
.carousel { position: relative; width: 100%; overflow: hidden; }
.c-track { display: flex; transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1); will-change: transform; }
.c-slide { min-width: 100%; aspect-ratio: 1; background: var(--light-gray); overflow: hidden; }
.c-slide img { width: 100%; height: 100%; object-fit: cover; }
.c-prev, .c-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.88); border-radius: 50%;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  z-index: 10; box-shadow: 0 1px 6px rgba(0,0,0,0.15);
}
.c-prev { left: 10px; }
.c-next { right: 10px; }
.c-counter {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.5); color: #fff; font-size: 11px;
  padding: 3px 10px; border-radius: 20px; font-weight: 500;
}

/* PRODUCT INFO */
.prod-info { padding: 14px 16px 20px; }

.price-main { font-size: 23px; font-weight: 600; color: var(--dark); }
.price-label { font-size: 11px; color: var(--gray); margin-top: 2px; }
.price-label a { color: var(--accent); }

.fin-row {
  background: var(--light-gray); border-radius: 10px;
  padding: 10px 12px; margin: 10px 0 14px;
  font-size: 12px; color: var(--gray);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.fin-row strong { color: var(--dark); }
.fin-row a { color: var(--accent); }

/* PAYMENT */
.pay-section { margin-bottom: 14px; }
.pay-label { font-size: 11px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 8px; }
.pay-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-badge {
  display: flex; align-items: center; gap: 5px;
  border: 1.5px solid var(--border); border-radius: 7px;
  padding: 5px 10px; font-size: 11px; font-weight: 600;
  background: var(--white); color: var(--dark);
}
.p-mb { border-left: 3px solid #003189; }
.p-mbway { border-left: 3px solid #e30613; }
.p-klarna { border-left: 3px solid #ffb3c7; }
.p-card { border-left: 3px solid #1a1f71; }

.info-box {
  border-radius: 10px; padding: 10px 12px; margin-bottom: 10px;
  font-size: 11.5px; display: flex; align-items: flex-start; gap: 8px;
}
.info-box.mb { background: #f0f4ff; border: 1.5px solid #c5d3f5; color: #003189; }
.info-box.mbway { background: #fff0f1; border: 1.5px solid #ffc5c8; color: #c0001a; }
.info-box p { margin-top: 2px; color: var(--gray); font-size: 11px; }

/* OPTION BLOCKS */
.opt-block { margin-bottom: 16px; }
.opt-label { font-size: 13px; font-weight: 600; margin-bottom: 10px; color: var(--dark); }
.opt-label span { font-weight: 400; color: var(--gray); }

.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer; outline-offset: 2px;
}
.swatch.active { border-color: var(--dark); outline: 2.5px solid var(--dark); }
.swatch.disabled { opacity: 0.3; cursor: not-allowed; }

.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 9px 14px; font-size: 13px; font-weight: 500;
  cursor: pointer; background: var(--white); color: var(--dark);
  min-height: 40px; touch-action: manipulation;
}
.pill.active { background: var(--dark); border-color: var(--dark); color: #fff; }
.pill.disabled { color: var(--border); cursor: not-allowed; position: relative; overflow: hidden; }
.pill.disabled::after { content: ''; position: absolute; top: 50%; left: 8px; right: 8px; height: 1px; background: var(--border); }

/* CHARGER */
.charger-box {
  background: #fff8ec; border: 1px solid #fde0a0; border-radius: 10px;
  padding: 10px 12px; margin-bottom: 14px;
  font-size: 12px; color: #7a5c00; display: flex; align-items: center; gap: 8px;
}

/* QUANTITY */
.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.qty-lbl { font-size: 13px; font-weight: 600; }
.qty-ctrl { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-btn { width: 40px; height: 40px; font-size: 20px; display: flex; align-items: center; justify-content: center; touch-action: manipulation; }
.qty-btn:active { background: var(--light-gray); }
.qty-val { width: 40px; text-align: center; font-size: 14px; font-weight: 600; border-left: 1px solid var(--border); border-right: 1px solid var(--border); line-height: 40px; }
.qty-note { font-size: 11px; color: var(--gray); }

/* SHIPPING */
.ship-note {
  text-align: center; font-size: 12px; color: var(--gray);
  padding: 8px 0 12px; border-bottom: 1px solid var(--border); margin-bottom: 12px;
}
.ship-note a { color: var(--accent); }

/* AVAIL */
.avail {
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 14px;
  display: flex; align-items: flex-start; gap: 10px;
}
.avail-txt .t { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.avail-txt .s { font-size: 11.5px; color: var(--gray); line-height: 1.4; }
.avail-txt .c { font-size: 12px; color: var(--accent); margin-top: 4px; display: block; }

/* SERVICE ACCORDION */
.svc-acc { border-top: 1px solid var(--border); }
.svc-item { border-bottom: 1px solid var(--border); }
.svc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; font-size: 14px; font-weight: 600;
  background: none; border: none; cursor: pointer; color: var(--dark); text-align: left;
}
.svc-trigger .ico { font-size: 18px; color: var(--gray); transition: transform 0.2s; flex-shrink: 0; }
.svc-trigger.open .ico { transform: rotate(180deg); }
.svc-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.svc-body.open { max-height: 160px; }
.svc-inner { padding: 0 0 14px; font-size: 13px; color: var(--gray); line-height: 1.5; }
.svc-inner a { color: var(--accent); display: block; margin-top: 6px; font-weight: 500; }

/* SHARE */
.share-row {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 0 4px; border-top: 1px solid var(--border); margin-top: 8px;
  font-size: 13px; color: var(--gray);
}
.share-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 15px; cursor: pointer; touch-action: manipulation;
}

/* STICKY BOTTOM BAR */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--border);
  padding: 10px 16px; z-index: 150;
  display: flex; align-items: center; gap: 10px;
}
.sticky-price-wrap { flex: 1; min-width: 0; }
.sticky-p { font-size: 17px; font-weight: 600; color: var(--dark); }
.sticky-m { font-size: 11px; color: var(--gray); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-m a { color: var(--accent); }
.btn-atc {
  background: var(--dark); color: #fff; border: none;
  border-radius: 980px; padding: 13px 18px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  cursor: pointer; touch-action: manipulation; flex-shrink: 0;
}
.btn-atc:active { background: #333; }

/* PRICE DATE NOTE */
.price-note { background: var(--light-gray); padding: 14px 16px; font-size: 11px; color: var(--gray); line-height: 1.5; border-top: 1px solid var(--border); }

/* FOOTER */
footer { background: var(--light-gray); border-top: 1px solid var(--border); }
.f-acc-item { border-bottom: 1px solid var(--border); }
.f-acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; font-size: 12px; font-weight: 700;
  background: none; border: none; cursor: pointer; color: var(--dark);
  text-align: left; text-transform: uppercase; letter-spacing: 0.4px;
}
.f-acc-btn .caret { font-size: 16px; color: var(--gray); transition: transform 0.2s; }
.f-acc-btn.open .caret { transform: rotate(180deg); }
.f-acc-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.f-acc-body.open { max-height: 350px; }
.f-acc-inner { padding: 0 16px 14px; }
.f-acc-inner a { display: block; font-size: 13px; color: var(--gray); padding: 5px 0; }

.f-bottom { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.f-logos { display: flex; gap: 12px; align-items: center; }
.f-logos img { height: 26px; width: auto; }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; }
.f-pay { display: flex; gap: 6px; flex-wrap: wrap; }
.f-pay img { height: 22px; width: auto; }
.f-copy { font-size: 11px; color: var(--gray); }

/* MODAL */
.modal-ov {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.85); z-index: 500;
  align-items: center; justify-content: center;
}
.modal-ov.open { display: flex; }
.modal-wrap { width: 90vw; max-height: 90vh; position: relative; }
.modal-wrap img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.modal-x {
  position: absolute; top: -12px; right: -12px;
  width: 30px; height: 30px; background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; cursor: pointer; font-weight: 700; color: var(--dark);
}

/* TOAST */
.toast {
  position: fixed;
  bottom: calc(var(--bottom-bar) + 12px);
  left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--dark); color: #fff;
  padding: 11px 18px; border-radius: 980px;
  font-size: 13px; font-weight: 500; z-index: 999;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none; white-space: nowrap;
  max-width: 88vw; overflow: hidden; text-overflow: ellipsis;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* BOTÃO COMPRAR AGORA INLINE */
.btn-buy-inline {
  width: 100%;
  background: linear-gradient(135deg, #ff4d00 0%, #ff0040 100%);
  color: #fff; border: none; border-radius: 980px;
  padding: 15px 20px; font-size: 15px; font-weight: 700;
  cursor: pointer; margin: 10px 0 16px;
  box-shadow: 0 4px 18px rgba(255, 0, 64, 0.35);
  font-family: var(--font); touch-action: manipulation;
  display: block; letter-spacing: -0.1px;
}
.btn-buy-inline:active { transform: scale(0.98); }

/* TRUST BADGES */
.trust-row { display:flex; gap:6px; margin:10px 0 14px; flex-wrap:wrap; }
.trust-item {
  display:flex; align-items:center; gap:5px;
  background:#f5f5f7; border:1px solid var(--border);
  border-radius:8px; padding:6px 10px;
  font-size:11px; color:var(--dark); font-weight:500;
}

/* SOCIAL PROOF */
.social-proof { background:#f5f5f7; border-radius:12px; padding:14px; margin:12px 0; }
.stars { font-size:16px; color:#FFB800; letter-spacing:1px; margin-bottom:4px; }
.reviews-txt { font-size:12px; color:var(--gray); margin-bottom:10px; }
.quote-card {
  background:#fff; border:1px solid var(--border); border-radius:8px;
  padding:10px 12px; margin-bottom:7px;
  font-size:12px; color:var(--dark); line-height:1.5; font-style:italic;
}
.quote-card:last-child { margin-bottom:0; }
.quote-card span { display:block; margin-top:4px; font-style:normal; font-weight:600; color:var(--gray); font-size:11px; }

/* PROMO BANNER */
.promo-banner {
  background: linear-gradient(135deg, #ff4d00 0%, #ff0040 100%);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 14px;
  display: flex; align-items: flex-start; gap: 10px;
  box-shadow: 0 4px 16px rgba(255,0,64,0.25);
  animation: pulseBorder 2s ease-in-out infinite;
}
@keyframes pulseBorder {
  0%, 100% { box-shadow: 0 4px 16px rgba(255,0,64,0.25); }
  50% { box-shadow: 0 4px 24px rgba(255,0,64,0.5); }
}
.promo-fire { font-size: 24px; flex-shrink: 0; line-height: 1; }
.promo-text { flex: 1; }
.promo-title { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 0.4px; }
.promo-title strong { color: #fff; font-size: 14px; }
.promo-sub { font-size: 13px; color: #fff; margin: 3px 0; line-height: 1.4; }
.promo-counter { font-size: 11.5px; color: rgba(255,255,255,0.85); margin-top: 4px; }
.promo-counter strong { color: #fff; font-size: 14px; }

/* PROMO PRICE */
.price-promo { font-size: 30px; font-weight: 700; color: #00a854; letter-spacing: -0.5px; }
.price-original { font-size: 16px; color: var(--gray); text-decoration: line-through; }
.price-savings { background: #e8f9f0; color: #007a3d; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.price-shipping-line { font-size: 13px; color: var(--dark); margin: 4px 0 2px; }
.sticky-promo { font-size: 10px; color: #00a854; font-weight: 600; margin-top: 1px; }

@media (min-width: 600px) {
  .product-page-wrap { max-width: 480px; margin: 0 auto; }
}
