/* Worten × Pneus Pirelli — folha de estilos das páginas de loja
   (início, escolha do aro, escolha da medida e página de produto).
   Paleta e componentes do template Worten (loja.css / produto.css). */
:root {
  --worten-red: #CC0033;
  --worten-red-dark: #a80029;
  --worten-dark: #1a1a1a;
  --worten-yellow: #FFD600;
  --border: #e8e8e8;
  --green: #00a650;
  --bg: #f2f2f2;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  color: var(--worten-dark);
}
.app {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  background: var(--bg);
  box-shadow: 0 0 40px rgba(0,0,0,0.08);
  position: relative;
}
.app.pd { background: #fff; padding-bottom: 76px; }

/* ========== HEADER ========== */
.header {
  background: var(--worten-red);
  padding: 0 12px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.header .logo { height: 20px; width: auto; display: block; }
.back-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: 50%; text-decoration: none;
}
.back-btn:active { background: rgba(255,255,255,0.15); }
.header-right { display: flex; align-items: center; gap: 16px; }
.hdr-icon { display: flex; position: relative; text-decoration: none; }
.cart-badge {
  position: absolute; top: -6px; right: -8px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--worten-yellow); color: var(--worten-dark);
  font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; display: none;
}
.cart-badge.on { display: block; }
.hamburger { width: 22px; height: 16px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; }
.hamburger span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 1px; }

/* ========== MENU LATERAL ========== */
.wnav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; transition: opacity 0.25s; z-index: 9998;
}
.wnav-overlay.open { opacity: 1; visibility: visible; }
.wnav {
  position: fixed; top: 0; left: 0; bottom: 0; width: 82%; max-width: 320px;
  background: #fff; z-index: 9999; transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column; overflow-y: auto;
  box-shadow: 2px 0 18px rgba(0,0,0,0.25);
}
.wnav.open { transform: none; }
.wnav-head { background: var(--worten-red); padding: 0 16px; height: 56px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.wnav-head svg { height: 20px; width: auto; }
.wnav-close { color: #fff; font-size: 28px; line-height: 1; background: none; border: 0; cursor: pointer; padding: 0 4px; }
.wnav-section { font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: #8a8a8a; padding: 16px 16px 6px; font-weight: 700; }
.wnav-link {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  color: var(--worten-dark); text-decoration: none; font-size: 14.5px; border-bottom: 1px solid #f0f0f0;
}
.wnav-link svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--worten-red); }
.wnav-link.current { background: #fff0f3; font-weight: 700; box-shadow: inset 3px 0 0 var(--worten-red); }
.wnav-foot { margin-top: auto; padding: 16px; border-top: 1px solid #eee; font-size: 11px; color: #999; text-align: center; }

/* ========== INÍCIO: LISTA DE AROS (estrutura do funil original) ========== */
.main-content { width: 100%; padding: 16px 12px; flex: 1; }
h1.section-title { font-size: 18px; font-weight: 600; color: #333; margin-bottom: 12px; padding-left: 4px; }
.section-hint { font-size: 12.5px; color: #666; margin: -6px 0 12px; padding-left: 4px; line-height: 1.4; }
.product-list { display: flex; flex-direction: column; gap: 12px; }
.product-item {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; padding: 18px 16px; text-decoration: none; color: #333;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.15); border-radius: 6px;
  transition: transform 0.1s, box-shadow 0.1s;
}
.product-item:active { background: #f9f9f9; transform: scale(0.98); box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); }
.product-left { display: flex; align-items: center; gap: 16px; }
.image-container { width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; }
.product-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-info { display: flex; flex-direction: column; gap: 4px; }
.product-name { font-size: 14px; font-weight: 400; line-height: 1.25; color: rgba(0,0,0,0.9); }
.product-name strong { font-weight: 700; font-size: 15px; }
.shipping-info { font-size: 12px; color: var(--green); font-weight: 500; display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.full-badge { font-weight: 900; font-style: italic; display: inline-flex; align-items: center; color: var(--green); }
.full-icon { font-size: 10px; margin-left: 1px; }
.arrow-icon { color: var(--worten-red); font-size: 16px; font-weight: 900; }

/* ========== PÁGINA DO ARO: grelha de medidas (estrutura do funil original) ========== */
.back-link-wrapper { padding: 12px 16px 8px; }
.back-link { text-decoration: none; color: var(--worten-dark); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.arrow-back { font-size: 12px; }
.category-info { padding: 0 16px; margin-bottom: 4px; }
.cat-title { font-size: 18px; font-weight: 600; color: #333; margin-bottom: 2px; }
.cat-count { font-size: 12px; color: #888; }
.filter-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; margin-bottom: 8px; }
.filter-btn { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #333; font-weight: 500; cursor: pointer; }
.sort-btn { display: flex; align-items: center; gap: 4px; font-size: 14px; color: #333; cursor: pointer; }
.view-options { display: flex; gap: 15px; align-items: center; }
.view-icon { font-size: 18px; cursor: pointer; color: #ccc; transition: color 0.2s; }
.view-icon.active { color: #333; }
.product-grid { display: grid; gap: 12px; padding: 0 12px 30px; transition: all 0.3s ease; }
.product-grid.grid-view { grid-template-columns: 1fr 1fr; }
.product-grid.list-view { grid-template-columns: 1fr; }
.product-card {
  background: #fff; border-radius: 6px; padding: 16px 10px; display: flex; flex-direction: column;
  text-decoration: none; color: inherit; box-shadow: 0 1px 3px rgba(0,0,0,0.12); position: relative;
}
.card-col-left { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; }
.card-col-right { display: flex; flex-direction: column; width: 100%; }
.product-grid.list-view .product-card { flex-direction: row; align-items: flex-start; padding: 16px; gap: 16px; }
.product-grid.list-view .card-col-left { width: 35%; align-items: center; }
.product-grid.list-view .card-col-right { width: 65%; align-items: flex-start; justify-content: space-between; }
.img-wrapper { width: 100%; height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.prod-img { max-width: 98%; max-height: 100%; object-fit: contain; }
.promo-desc { font-size: 12px; color: #333; margin-bottom: 4px; font-weight: 400; text-align: center; }
.product-grid.list-view .promo-desc { text-align: left; margin-top: 0; }
.price-tag { font-size: 22px; font-weight: 400; color: #333; margin-bottom: 2px; line-height: 1; text-align: center; }
.product-grid.list-view .price-tag { text-align: left; }
.installments { font-size: 12px; color: var(--green); font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; margin-bottom: 10px; }
.product-grid.list-view .installments { justify-content: flex-start; }
.card-mini-icon { font-size: 10px; }
.btn-buy {
  display: none; width: 100%; background: var(--worten-red); color: #fff; border: none; padding: 10px 0;
  border-radius: 4px; font-size: 13px; font-weight: 600; text-transform: uppercase; cursor: pointer; margin-top: 10px; font-family: inherit;
}
.btn-buy:active { background: var(--worten-red-dark); }
.product-grid.list-view .btn-buy { display: block; }

/* carrossel de vantagens */
.info-carousel-section { background: #fff; padding: 30px 0 20px; margin-top: 10px; text-align: center; border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; overflow: hidden; }
.carousel-track { display: flex; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 10px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.slide-item { flex: 0 0 100%; width: 100%; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 20px; }
.slide-icon { font-size: 32px; color: var(--worten-red); margin-bottom: 15px; border: 1px solid #e0e0e0; padding: 15px; border-radius: 50%; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; }
.slide-title { font-size: 18px; color: #333; margin-bottom: 10px; font-weight: 500; }
.slide-text { font-size: 13px; color: #999; line-height: 1.4; max-width: 300px; margin-bottom: 15px; }
.slide-link { font-size: 13px; color: var(--worten-red); text-decoration: none; font-weight: 500; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.carousel-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: #e0e0e0; cursor: pointer; transition: background 0.3s; animation: none; }
.carousel-dots .dot.active { background: var(--worten-red); }

/* gavetas de filtro e ordenação */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
body.drawer-active .drawer-overlay { opacity: 1; visibility: visible; }
body.drawer-active { overflow: hidden; }
.side-drawer, .bottom-drawer { background: #fff; z-index: 201; transition: transform 0.3s cubic-bezier(0.25,1,0.5,1); display: flex; flex-direction: column; position: fixed; }
.side-drawer { top: 0; left: 0; width: 85%; max-width: 320px; height: 100%; transform: translateX(-100%); }
.bottom-drawer { bottom: 0; left: 0; width: 100%; max-height: 80vh; transform: translateY(100%); border-top-left-radius: 16px; border-top-right-radius: 16px; }
.side-drawer.open { transform: translateX(0); }
.bottom-drawer.open { transform: translateY(0); }
.drawer-header, .sort-header { display: flex; align-items: center; padding: 16px; border-bottom: 1px solid #eee; background: #fff; }
.sort-header { justify-content: space-between; padding: 16px 20px; }
.close-drawer-btn { font-size: 24px; color: #333; cursor: pointer; margin-right: 20px; width: 24px; text-align: center; }
.drawer-title, .sort-title { font-size: 18px; font-weight: 500; color: #333; }
.sort-close { font-size: 20px; color: #333; cursor: pointer; padding: 5px; }
.drawer-content, .sort-list { flex: 1; overflow-y: auto; }
.filter-list-header { padding: 20px 16px 10px; font-size: 12px; font-weight: 700; color: #999; text-transform: uppercase; }
.filter-group { border-bottom: 1px solid #f5f5f5; }
.filter-group-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 16px; font-size: 16px; color: #333; cursor: pointer; }
.filter-options { display: none; padding-bottom: 10px; }
.filter-group.expanded .filter-options { display: block; }
.filter-option-item { padding: 10px 16px 10px 32px; font-size: 14px; color: #666; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.filter-option-item.selected { color: var(--worten-red); font-weight: 500; }
.filter-radio { width: 16px; height: 16px; border: 2px solid #ccc; border-radius: 50%; display: inline-block; }
.filter-option-item.selected .filter-radio { border-color: var(--worten-red); background: var(--worten-red); box-shadow: inset 0 0 0 3px #fff; }
.sort-item { padding: 16px 20px; font-size: 16px; color: #333; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.sort-item.selected { color: var(--worten-red); background: #fff0f3; font-weight: 500; }
.check-icon { display: none; color: var(--worten-red); }
.sort-item.selected .check-icon { display: block; }

/* ========== TIMER ========== */
.timer-bar { background: var(--worten-red); padding: 10px 16px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; margin: 12px 12px 0; }
.timer-bar .label { color: #fff; font-size: 13px; font-weight: 700; }
.timer-bar .timer { color: #fff; font-size: 13px; font-weight: 600; opacity: 0.9; }
.timer-bar .dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: pulse 1s ease infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ========== TÍTULOS / BREADCRUMB ========== */
.sec { padding: 16px 12px 6px; }
.sec h2 { font-size: 17px; font-weight: 800; }
.sec p { font-size: 12.5px; color: #666; margin-top: 2px; }
.crumbs { padding: 10px 12px 0; font-size: 11.5px; color: #888; }
.crumbs a { color: #888; text-decoration: none; }
.crumbs b { color: var(--worten-dark); font-weight: 600; }

/* ========== CONFIANÇA ========== */
.trust { margin: 12px 12px 0; background: #fff; border-radius: 8px; padding: 4px 12px; }
.trust-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #f0f0f0; font-size: 12.5px; color: #333; }
.trust-row:last-child { border-bottom: 0; }
.trust-row svg { flex-shrink: 0; color: var(--worten-red); }
.trust-row b { display: block; font-size: 13px; color: var(--worten-dark); }
.pay-logos { display: flex; justify-content: center; gap: 22px; padding: 14px; background: #fff; border-radius: 8px; margin: 12px 12px 0; }
.pay-logos img { height: 28px; width: auto; }

/* ========== FOOTER ========== */
.store-footer { padding: 20px 16px 24px; text-align: center; margin-top: 8px; }
.store-footer p { font-size: 11px; color: #aaa; line-height: 1.5; }
.store-footer .links { margin-bottom: 8px; }
.store-footer .links a { color: #777; text-decoration: none; font-size: 11px; margin: 0 5px; }

/* ========== CONFIGURADOR "PNEUS PARA O SEU CARRO" ========== */
.psc-card { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); padding: 16px 14px 14px; margin: 12px 12px 0; overflow: hidden; }
.psc-title { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.psc-title svg { color: var(--worten-red); flex-shrink: 0; }
.psc-sub { font-size: 12.5px; color: #666; margin: 4px 0 12px; line-height: 1.4; }
.psc-sel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.psc-sel-grid select:last-child { grid-column: 1 / -1; }
.psc-sel-grid select {
  width: 100%; border: 1.5px solid #ddd; border-radius: 6px; background: #fff; padding: 12px 10px;
  font-size: 14px; color: #333; outline: none; appearance: none; -webkit-appearance: none; font-family: inherit;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.psc-sel-grid select:focus { border-color: var(--worten-red); box-shadow: 0 0 0 3px rgba(204,0,51,0.14); }
.psc-sel-grid select:disabled { background-color: #f5f5f5; color: #aaa; }
.psc-loading { display: none; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #777; padding: 14px 0 4px; }
.psc-loading i { width: 16px; height: 16px; border: 2px solid #f0c4cf; border-top-color: var(--worten-red); border-radius: 50%; animation: pscSpin 0.8s linear infinite; }
.psc-avail { display: none; align-items: center; gap: 11px; background: #fff0f3; border-left: 3px solid var(--worten-red); border-radius: 6px; padding: 11px 13px; margin-top: 12px; animation: pscPop 0.45s cubic-bezier(0.34,1.4,0.64,1) both; }
.psc-av-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--worten-red); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; animation: pscRing 0.9s ease 0.25s both; }
.psc-av-model { font-size: 14px; font-weight: 700; line-height: 1.3; }
.psc-av-sub { font-size: 12px; color: #777; margin-top: 1px; }
.psc-result { display: none; }
.psc-offer-top { display: flex; gap: 14px; align-items: center; margin-top: 14px; animation: pscFadeUp 0.45s ease 0.05s both; }
.psc-offer-top.swapping { animation: pscSwap 0.4s cubic-bezier(0.22,1,0.36,1); }
.psc-swap-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--worten-yellow); color: var(--worten-dark); font-size: 10px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; margin-left: 6px; white-space: nowrap; opacity: 0; }
.psc-swap-badge.show { animation: pscBadge 1.8s ease forwards; }
.psc-img { width: 92px; height: 92px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.psc-img img { max-width: 100%; max-height: 100%; object-fit: contain; animation: pscTire 0.6s cubic-bezier(0.22,1,0.36,1) 0.1s both; }
.psc-name { font-size: 12.5px; color: #333; line-height: 1.35; }
.psc-name b { font-size: 15px; color: var(--worten-dark); }
.psc-old { font-size: 12px; color: #999; text-decoration: line-through; margin-top: 5px; }
.psc-price-row { display: flex; align-items: center; gap: 8px; }
.psc-price { font-size: 24px; font-weight: 900; line-height: 1.1; display: inline-block; }
.psc-price.pop { animation: pscPricePop 0.35s ease; }
.psc-pill { background: var(--worten-yellow); color: var(--worten-dark); font-size: 11px; font-weight: 900; border-radius: 3px; padding: 3px 6px; }
.psc-unit { font-size: 11px; color: #777; margin-top: 2px; }
.psc-ship { font-size: 11.5px; color: var(--green); font-weight: 600; margin-top: 4px; }
.psc-qty-label { font-size: 13px; font-weight: 600; color: #333; margin: 14px 0 8px; }
.psc-qty-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.psc-qty { border: 1.5px solid #ddd; border-radius: 6px; background: #fff; padding: 12px 4px 8px; text-align: center; cursor: pointer; position: relative; transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s; }
.psc-qty.selected { border-color: var(--worten-red); background: #fff0f3; box-shadow: 0 0 0 1px var(--worten-red); transform: scale(1.03); }
.psc-qty:active { transform: scale(0.97); }
.psc-qty .q-n { font-size: 15px; font-weight: 700; }
.psc-qty .q-n span { font-size: 10.5px; font-weight: 400; color: #666; }
.psc-qty .q-price { font-size: 12px; color: #333; margin-top: 2px; }
.psc-qty .q-disc { font-size: 10px; color: var(--green); font-weight: 700; margin-top: 1px; }
.psc-qty-flag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--worten-red); color: #fff; font-size: 9px; font-weight: 700; text-transform: uppercase; border-radius: 3px; padding: 2px 6px; white-space: nowrap; }
.psc-cta {
  display: flex; align-items: center; justify-content: center; width: 100%;
  background: var(--worten-red); color: #fff; border: none; border-radius: 6px; padding: 14px 0;
  font-size: 14px; font-weight: 800; text-transform: uppercase; cursor: pointer; letter-spacing: 0.02em; margin-top: 14px; font-family: inherit;
  animation: pscFadeUp 0.45s ease 0.3s both, pscGlow 2.2s ease 1s infinite;
}
.psc-cta:active { background: var(--worten-red-dark); }
.psc-alt-dim { display: none; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 12.5px; color: #333; text-decoration: none; background: #f7f7f7; border-radius: 6px; padding: 11px 13px; }
.psc-alt-dim svg { color: var(--worten-red); flex-shrink: 0; }
@keyframes pscSpin { to { transform: rotate(360deg); } }
@keyframes pscFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pscPop { 0% { opacity: 0; transform: scale(0.85); } 60% { transform: scale(1.04); } 100% { opacity: 1; transform: scale(1); } }
@keyframes pscRing { 0% { box-shadow: 0 0 0 0 rgba(204,0,51,0.5); } 100% { box-shadow: 0 0 0 12px rgba(204,0,51,0); } }
@keyframes pscTire { from { opacity: 0; transform: translateX(-26px) rotate(-100deg); } to { opacity: 1; transform: none; } }
@keyframes pscPricePop { 0% { transform: scale(1); } 50% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes pscGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(204,0,51,0.45); } 50% { box-shadow: 0 0 0 9px rgba(204,0,51,0); } }
@keyframes pscSwap { 0% { opacity: 0; transform: translateX(16px); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes pscBadge { 0% { opacity: 0; transform: translateY(-3px); } 12% { opacity: 1; transform: none; } 78% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-3px); } }

/* ========== PÁGINA DE PRODUTO (pd-*) ========== */
.pd-title-section { padding: 16px 16px 12px; border-bottom: 1px solid var(--border); }
.pd-name { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.pd-rating-row { display: flex; align-items: center; gap: 6px; }
.pd-rating-num { font-size: 13px; font-weight: 600; color: #333; }
.pd-stars { display: flex; gap: 1px; }
.star { font-size: 14px; }
.star.full { color: #FFC107; }
.star.half { color: #FFC107; opacity: 0.6; }
.star.empty { color: #ddd; }
.pd-reviews-link { font-size: 12px; color: var(--worten-red); text-decoration: none; cursor: pointer; }

.pd-image-section { padding: 16px 16px 14px; position: relative; border-bottom: 1px solid var(--border); }
.pd-image-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; min-height: 250px; }
.pd-gallery { width: 100%; overflow: hidden; position: relative; touch-action: pan-y; cursor: pointer; }
.pd-gallery-track { display: flex; transition: transform 0.3s ease; will-change: transform; }
.pd-slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; min-height: 250px; }
.pd-slide img { max-width: 82%; max-height: 270px; object-fit: contain; border-radius: 8px; }
.pd-img-actions { position: absolute; right: 0; top: 0; display: flex; flex-direction: column; gap: 12px; }
.pd-img-action { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pd-img-counter { text-align: center; font-size: 13px; color: #999; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.pd-gal-nav { display: inline-block; width: 8px; height: 8px; border-top: 2px solid #ccc; border-right: 2px solid #ccc; cursor: pointer; padding: 6px; box-sizing: content-box; }
.pd-gal-nav.prev { transform: rotate(-135deg); }
.pd-gal-nav.next { transform: rotate(45deg); }
.pd-gallery-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.pd-dot { width: 6px; height: 6px; border-radius: 50%; background: #ddd; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.pd-dot.active { background: var(--worten-red); transform: scale(1.3); }

.pd-top-badge { text-align: center; padding: 10px 16px; font-size: 14px; font-weight: 600; color: #333; border-bottom: 1px solid var(--border); }
.pd-top-icon { margin-right: 4px; }
.pd-best-price { display: flex; align-items: center; gap: 8px; padding: 12px 16px; }
.pd-best-tag { background: var(--worten-yellow); color: var(--worten-dark); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; }

.pd-price-section { padding: 0 16px 16px; border-bottom: 1px solid var(--border); position: relative; }
.pd-discount-badge { position: absolute; top: -4px; right: 16px; background: var(--worten-yellow); color: var(--worten-dark); padding: 4px 10px; border-radius: 4px; font-size: 13px; font-weight: 900; }
.pd-old-price { font-size: 14px; color: #999; text-decoration: line-through; margin-bottom: 2px; }
.pd-current-price { display: flex; align-items: flex-start; }
.pd-currency { font-size: 18px; font-weight: 800; margin-top: 4px; }
.pd-euros { font-size: 40px; font-weight: 900; line-height: 1; }
.pd-cents { font-size: 18px; font-weight: 800; margin-top: 4px; }
.pd-unit { font-size: 12px; color: #666; margin-top: 4px; }
.pd-seller { font-size: 13px; color: #666; margin-top: 6px; }
.pd-seller strong { color: var(--worten-dark); }
.pd-mbway { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #333; margin-top: 8px; }
.pd-mbway b { color: var(--green); }

/* seletor de packs (1 / 2 / 4 pneus) */
.pd-packs { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.pd-packs-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.pd-packs-title span { font-size: 11.5px; color: var(--green); font-weight: 700; }
.pd-pack-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.pd-pack { border: 1.5px solid #ddd; border-radius: 8px; background: #fff; padding: 12px 4px 9px; text-align: center; cursor: pointer; position: relative; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.pd-pack.selected { border-color: var(--worten-red); background: #fff0f3; box-shadow: 0 0 0 1px var(--worten-red); }
.pd-pack .n { font-size: 15px; font-weight: 800; }
.pd-pack .n span { font-size: 10.5px; font-weight: 400; color: #666; }
.pd-pack .pr { font-size: 12.5px; color: #333; margin-top: 3px; font-weight: 600; }
.pd-pack .dc { font-size: 10px; color: var(--green); font-weight: 700; margin-top: 1px; }
.pd-pack .flag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--worten-red); color: #fff; font-size: 9px; font-weight: 700; text-transform: uppercase; border-radius: 3px; padding: 2px 6px; white-space: nowrap; }

.pd-delivery-section { padding: 16px; display: flex; gap: 12px; border-bottom: 1px solid var(--border); }
.pd-delivery-icon { margin-top: 2px; }
.pd-delivery-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.pd-delivery-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: #333; }
.pd-delivery-free { font-size: 13px; font-weight: 700; color: #4CAF50; }
.pd-delivery-price { font-size: 13px; color: #333; }
.pd-delivery-link { font-size: 12px; color: #999; margin-top: 6px; display: inline-block; cursor: pointer; }

.pd-seller-section { padding: 16px; border-bottom: 1px solid var(--border); }
.pd-seller-row { font-size: 13px; color: #666; margin-bottom: 12px; }
.pd-seller-worten { color: var(--worten-red); font-weight: 800; font-style: italic; }
.pd-return-row { display: flex; gap: 10px; align-items: flex-start; }
.pd-return-row strong { font-size: 13px; display: block; margin-bottom: 4px; }
.pd-return-sub { font-size: 12px; color: #666; line-height: 1.4; }
.pd-return-link { color: var(--worten-red); cursor: pointer; font-weight: 600; }

.pd-trust-pay { display: flex; justify-content: center; gap: 22px; padding: 14px; background: #fafafa; border: 1px solid #eee; border-radius: 6px; margin: 14px 16px 0; }
.pd-trust-pay img { height: 30px; width: auto; }

.pd-highlights { padding: 14px 16px; border-bottom: 1px solid var(--border); display: grid; gap: 8px; }
.pd-highlight { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #333; line-height: 1.35; }
.pd-hl-icon { font-size: 16px; width: 22px; text-align: center; flex-shrink: 0; }

.pd-accordion { border-bottom: 1px solid var(--border); }
.pd-accordion-item { border-top: 1px solid var(--border); cursor: pointer; }
.pd-accordion-header { display: flex; align-items: center; gap: 10px; padding: 16px; font-size: 14px; font-weight: 600; }
.pd-accordion-header span { flex: 1; }
.pd-accordion-arrow { transition: transform 0.2s; }
.pd-accordion-item.open .pd-accordion-arrow { transform: rotate(90deg); }
.pd-accordion-body { display: none; padding: 0 16px 16px; font-size: 13px; color: #555; line-height: 1.5; }
.pd-accordion-item.open .pd-accordion-body { display: block; }
.pd-accordion-body p + p { margin-top: 8px; }
.pd-accordion-body strong { color: var(--worten-dark); }
.pd-specs-table { width: 100%; border-collapse: collapse; }
.pd-specs-table tr { border-bottom: 1px solid var(--border); }
.pd-specs-table td { padding: 10px 0; font-size: 13px; }
.spec-label { color: #666; width: 45%; }
.spec-value { font-weight: 500; }

.pd-reviews-section { padding: 24px 16px; }
.pd-reviews-title { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.pd-reviews-subtitle { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.pd-reviews-filter-text { font-size: 12px; color: #999; margin-bottom: 16px; }
.pd-review-bars { margin-bottom: 20px; }
.bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.bar-label { font-size: 12px; color: #666; width: 70px; white-space: nowrap; }
.bar-track { flex: 1; height: 8px; background: #e8e8e8; border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: #FFC107; border-radius: 4px; }
.bar-count { font-size: 12px; color: #666; width: 34px; text-align: right; }
.pd-global-rating { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.pd-global-label { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.pd-global-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pd-global-num { font-size: 36px; font-weight: 300; }
.pd-global-stars .star { font-size: 16px; }
.pd-global-count { font-size: 12px; color: #666; text-decoration: underline; cursor: pointer; }
.pd-recommend { font-size: 12px; color: #666; }
.pd-avg-ratings { padding: 16px; background: #fafafa; border-radius: 8px; margin-bottom: 24px; }
.pd-avg-title { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.pd-avg-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 13px; color: #555; }
.mini-bar { display: flex; align-items: center; gap: 3px; }
.mini-seg { width: 32px; height: 6px; background: #e0e0e0; border-radius: 2px; }
.mini-seg.filled { background: #FFC107; }
.mini-val { font-size: 12px; color: #666; margin-left: 6px; min-width: 24px; }
.pd-reviews-list { margin-top: 8px; }
.pd-reviews-count { font-size: 12px; color: #999; text-align: center; margin-bottom: 16px; }
.pd-review-card { padding: 16px 0; border-bottom: 1px solid var(--border); }
.pd-review-stars { margin-bottom: 4px; }
.pd-review-stars .star { font-size: 16px; }
.pd-review-author { font-size: 13px; font-weight: 600; color: var(--worten-red); margin-bottom: 4px; }
.pd-review-verified { display: flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 4px; }
.pd-review-date { font-size: 12px; color: #999; margin-bottom: 10px; }
.pd-review-text { font-size: 13px; color: #333; line-height: 1.5; margin-bottom: 10px; }
.pd-review-photos { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 10px; scrollbar-width: none; }
.pd-review-photos::-webkit-scrollbar { display: none; }
.pd-review-photos img { width: 76px; height: 76px; object-fit: cover; border-radius: 6px; flex-shrink: 0; border: 1px solid var(--border); }
.pd-review-recommend { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #333; font-weight: 500; margin-bottom: 12px; }
.pd-review-helpful { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #666; }
.pd-helpful-btn { cursor: pointer; }
.pd-report-link { color: #333; text-decoration: underline; cursor: pointer; margin-left: auto; }
.pd-back-top { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 16px; font-size: 12px; font-weight: 700; color: #666; cursor: pointer; }

.sticky-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; background: #fff; border-top: 1px solid var(--border);
  padding: 10px 16px; display: flex; align-items: center; justify-content: space-between;
  z-index: 100; box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}
.sticky-price { font-size: 18px; font-weight: 900; line-height: 1.1; }
.sticky-price small { display: block; font-size: 10.5px; font-weight: 600; color: #777; margin-top: 2px; }
.sticky-btn {
  display: flex; align-items: center; gap: 8px; padding: 12px 18px;
  background: var(--worten-red); color: #fff; border: none; border-radius: 6px;
  font-size: 12.5px; font-weight: 700; cursor: pointer; font-family: inherit; text-transform: uppercase; letter-spacing: 0.3px;
}
.sticky-btn:active { background: var(--worten-red-dark); }
