/* ValeTech v73.65 — public storefront polish
   Camada isolada: melhora catálogo/PD sem reabrir os overrides históricos. */

:root {
  --vt-radius-sm: 10px;
  --vt-radius-md: 16px;
  --vt-radius-lg: 22px;
  --vt-shadow-soft: 0 14px 34px rgba(18, 29, 45, .07);
  --vt-shadow-hover: 0 20px 52px rgba(18, 29, 45, .12);
  --vt-focus: 0 0 0 3px rgba(35, 85, 145, .18);
}

/* Catálogo: mais produto, menos moldura. */
.ed-filters {
  border-radius: var(--vt-radius-md);
  background: color-mix(in srgb, var(--ed-paper, #fff) 92%, transparent);
}

.ed-chip,
.ed-search-details__trigger,
.ed-sort select,
.ed-sort__select {
  border-radius: 999px;
}

.ed-grid {
  align-items: stretch;
}

.ed-card {
  height: 100%;
  border-radius: var(--vt-radius-md);
  overflow: clip;
  background: var(--ed-paper, #fff);
  border: 1px solid color-mix(in srgb, var(--ed-line) 72%, transparent);
  box-shadow: 0 1px 0 rgba(18, 29, 45, .02);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ed-card__link {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ed-card__media {
  border-radius: 0;
  background: #f4f6f9;
}

.ed-card__media img {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .25s ease;
}

.ed-card__body {
  padding: 15px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ed-card__head {
  min-width: 0;
}

.ed-card__name {
  line-height: 1.28;
  letter-spacing: -.015em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.ed-card__meta {
  margin-top: 6px;
  opacity: .78;
}

.ed-card__variants {
  min-height: 30px;
  margin-top: 10px;
}

.ed-card__sizes-label {
  letter-spacing: .06em;
}

.ed-card__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--ed-line) 65%, transparent);
}

.ed-card__installment,
.ed-card__warranty {
  line-height: 1.35;
}

.ed-card__warranty {
  opacity: .8;
}

.ed-card__cue--details {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-soft, #415065);
  letter-spacing: .12em;
}

.ed-card__cue--details svg {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}

.ed-card__link:hover .ed-card__cue--details {
  letter-spacing: .12em;
}

.ed-card__link:hover .ed-card__cue--details svg {
  transform: translateX(3px);
}

@media (hover:hover) and (pointer:fine) {
  .ed-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--vt-shadow-hover);
    border-color: color-mix(in srgb, var(--ink) 20%, var(--ed-line));
  }
  .ed-card:hover .ed-card__media img { transform: scale(1.018); }
}

/* Destaque: CTA primário inequívoco e secundário mais leve. */
.ed-fcar__btn,
.ed-hero__cta {
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ed-fcar__btn--primary {
  box-shadow: 0 8px 18px rgba(18,29,45,.12);
}

.ed-fcar__btn--ghost {
  background: transparent;
}

/* Tags: curtas e legíveis sem competir com a foto. */
.ed-tag,
.ed-card__photos,
.ed-card__volt {
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

/* Produto: ficha mais próxima de um e-commerce tech premium. */
.pp-grid {
  align-items: start;
}

.pp-gallery__main,
.pp-gallery__slide,
.pp-gallery__thumb {
  border-radius: var(--vt-radius-md);
}

.pp-gallery__main {
  background: #f4f6f9;
}

.pp-gallery__slide img,
.pp-gallery__main img {
  object-fit: contain;
  padding: clamp(8px, 1.2vw, 18px);
  box-sizing: border-box;
}

.pp-info {
  gap: 16px;
}

.pp-info__title {
  font-style: normal;
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.06;
}

.pp-info__price {
  padding-bottom: 4px;
}

.pp-price__new {
  font-weight: 650;
}

.pp-cart {
  border-radius: var(--vt-radius-md) !important;
  background: color-mix(in srgb, var(--ed-paper, #fff) 96%, #eef3f8);
  box-shadow: var(--vt-shadow-soft);
  border-color: color-mix(in srgb, var(--ed-line) 75%, transparent) !important;
}

.pp-cart__opt {
  min-height: 42px;
  border-radius: 999px !important;
  text-transform: none !important;
  letter-spacing: .02em !important;
  font-size: 12px !important;
}

.pp-cart__opt:focus-visible,
.pp-cart__add:focus-visible,
.pp-cta__share:focus-visible,
.ed-card__add:focus-visible,
.ed-chip:focus-visible {
  outline: none;
  box-shadow: var(--vt-focus);
}

.pp-cart__add,
.pp-cta__main,
.pp-buybar__add {
  border-radius: 999px !important;
  letter-spacing: .08em !important;
  text-transform: none !important;
  font-weight: 650;
}

.pp-cta__share {
  border-radius: 999px;
}

.pp-section {
  padding: 18px 0;
}

.pp-section__h {
  color: var(--ink);
  letter-spacing: .11em;
}

.pp-meta--specs dt,
.pp-meta--specs dd {
  padding-top: 11px;
  padding-bottom: 11px;
}

.pp-related__card figure {
  border-radius: var(--vt-radius-md);
  background: #f4f6f9;
  overflow: hidden;
}

.pp-related__card figure img {
  object-fit: contain;
}

/* O WhatsApp é atendimento contextual, não CTA concorrente com compra. */
.wa-fab--product {
  box-shadow: 0 10px 26px rgba(18,29,45,.16);
}

@media (min-width: 900px) {
  .pp-info {
    position: sticky;
    top: 88px;
    align-self: start;
  }
  .pp-gallery { min-width: 0; }
}

@media (max-width: 720px) {
  .ed-card {
    border-radius: 12px;
  }
  .ed-card__body {
    padding: 11px 11px 13px;
  }
  .ed-card__variants {
    min-height: 24px;
  }
  .ed-card__warranty {
    display: none;
  }
  .ed-price {
    line-height: 1.15;
  }
  .ed-card__add {
    border-radius: 999px !important;
  }
  .pp-crumbs {
    padding-top: 10px;
  }
  .pp-grid {
    gap: 18px;
  }
  .pp-gallery__thumbs {
    display: none;
  }
  .pp-info__title {
    font-size: clamp(28px, 9vw, 38px);
  }
  .pp-cart {
    padding: 14px !important;
  }
  .pp-meta {
    grid-template-columns: minmax(92px, .7fr) 1.3fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ed-card,
  .ed-card__media img,
  .ed-card__cue--details svg { transition: none !important; }
}
