:root {
  --ink: #0d0d0d;
  --muted: #6b7280;
  --fog: #f7f7f8;
  --mist: #f7f7f8;
  --soft: #f7f7f8;
  --line: #e5e5e5;
  --accent: #6eb83c;
  --accent-deep: #5aa32f;
  --bar-1: #271159;
  --bar-2: #6eb83c;
  --stone: #e5e5e5;
  --white: #ffffff;
  --sale: #c0392b;
  --header-h: 4rem;
  --announce-h: 2.15rem;
  --font-display: "Rubik", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 12px 28px rgba(13, 13, 13, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Announcement + brand bar (checkout language) */
.announcement {
  height: var(--announce-h);
  display: grid;
  place-items: center;
  background: var(--bar-1);
  color: #f7f5f1;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0 1rem;
  text-transform: uppercase;
}

.announcement-short {
  display: none;
}

.brand-bar {
  width: 100%;
  min-height: 4px;
  background: linear-gradient(
    to right,
    var(--bar-1) 0%,
    var(--bar-2) 33%,
    var(--bar-1) 66%,
    var(--bar-2) 100%
  );
}

/* Header — Shopify-simple: [menu] … [logo] … [cart] */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.15rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 2.75rem;
  z-index: 1;
}

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 0;
  white-space: nowrap;
}

.brand img {
  width: clamp(140px, 42vw, 190px);
  height: auto;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 2.75rem;
  z-index: 1;
}

.menu-toggle {
  pointer-events: none;
}

.icon-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0.4rem;
  position: relative;
  line-height: 1;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  padding: 0 0.25rem;
}

.cart-count[hidden] {
  display: none;
}

/* PDP layout */
.pdp {
  display: grid;
  gap: 1.35rem;
  padding: 0 0 5.5rem;
  max-width: 1180px;
  margin: 0 auto;
  animation: riseIn 0.7s var(--ease) both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pdp-gallery {
  display: grid;
  gap: 0.65rem;
}

.gallery-main {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--stone);
  touch-action: pan-y;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s var(--ease), transform 0.8s var(--ease);
}

.gallery-main img.is-switching {
  opacity: 0.55;
  transform: scale(1.02);
}

.gallery-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--sale);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0 1.15rem;
}

.thumb {
  appearance: none;
  border: 1.5px solid transparent;
  padding: 0;
  background: var(--stone);
  cursor: pointer;
  aspect-ratio: 1;
  overflow: hidden;
  opacity: 0.68;
  transition: opacity 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover {
  opacity: 0.92;
}

.thumb[aria-selected="true"] {
  opacity: 1;
  border-color: var(--accent-deep);
}

.pdp-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 1.15rem;
}

.pdp-vendor {
  margin: 0 0 0.3rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.pdp-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.45rem, 5vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pdp-meta {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.pdp-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.stars {
  color: #c4a035;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.pdp-price-block {
  margin-bottom: 1rem;
  padding-top: 10px;
}

.pdp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0;
  line-height: 1.3;
}

.pdp-price {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: normal;
  color: #000;
  white-space: nowrap;
}

.pdp-price.is-sale {
  color: #000;
}

.pdp-compare {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  opacity: 0.4;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  white-space: nowrap;
}

.pdp-compare[hidden],
.pdp-save[hidden] {
  display: none;
}

.pdp-save {
  position: relative;
  top: -6px;
  display: inline-flex;
  align-items: center;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: #fff;
  background: #c93d3d;
  white-space: nowrap;
}

.pdp-savings {
  margin: 0.35rem 0 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.3;
}

.pdp-savings[hidden] {
  display: none;
}

.pdp-pix {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 1.3;
}

.pdp-pix strong {
  font-weight: 600;
  color: #059669;
}

.pdp-installments {
  margin: 0.45rem 0 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 1.3;
}

.pdp-installments b {
  font-weight: 600;
  color: #000;
}

.pdp-pay-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: currentColor;
}

.pdp-short {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 36rem;
}

.buy-box {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 1.15rem;
}

.option-group {
  display: grid;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.swatch {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  padding: 0;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.swatch--image {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 0 0 1.5px #d0d0d0;
  background: var(--stone);
}

.swatch--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swatch:hover {
  transform: scale(1.04);
}

.swatch:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.swatch[aria-checked="true"] {
  box-shadow: 0 0 0 2.5px #111;
}

.swatch--image[aria-checked="true"] {
  box-shadow: 0 0 0 2.5px #111;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.size-chip {
  display: grid;
  gap: 0.05rem;
  place-items: center;
  min-height: 3.1rem;
  padding: 0.45rem 0.35rem;
  border: 1.5px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.size-chip strong {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.1;
}

.size-chip span {
  font-size: 0.68rem;
  color: var(--muted, #6b6b6b);
  line-height: 1.1;
}

.size-chip:hover:not(:disabled) {
  border-color: #111;
}

.size-chip[aria-checked="true"] {
  border-color: #111;
  box-shadow: inset 0 0 0 1px #111;
  background: #f7f7f7;
}

.size-chip:disabled,
.size-chip[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}

@media (max-width: 420px) {
  .size-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .size-chip {
    min-height: 2.85rem;
    padding: 0.35rem 0.2rem;
  }

  .size-chip strong {
    font-size: 0.82rem;
  }

  .size-chip span {
    font-size: 0.6rem;
  }
}

/* ——— Mobile polish (< 768) ——— */
@media (max-width: 767px) {
  :root {
    --header-h: 3.5rem;
    --announce-h: auto;
  }

  /* clip (not hidden) avoids breaking position:sticky on iOS/Chrome */
  html,
  body {
    overflow-x: clip;
    max-width: 100%;
  }

  .announcement {
    height: auto;
    min-height: 2rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    line-height: 1.35;
  }

  .announcement-full {
    display: none;
  }

  .announcement-short {
    display: inline;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 0 1rem;
    /* fallback if an ancestor still breaks sticky */
    background: #fff;
  }

  .pdp {
    gap: 0.75rem;
    padding: 0 0 calc(5.75rem + env(safe-area-inset-bottom, 0px));
  }

  .gallery-main {
    border-radius: 0;
  }

  /* Horizontal thumb strip — keeps CTA closer to fold */
  .gallery-thumbs {
    display: flex;
    grid-template-columns: none;
    gap: 0.5rem;
    padding: 0.1rem 1rem 0.15rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-thumbs::-webkit-scrollbar {
    display: none;
  }

  .gallery-thumbs .thumb {
    flex: 0 0 4.75rem;
    width: 4.75rem;
    scroll-snap-align: start;
    border-width: 2px;
  }

  .pdp-info {
    padding: 0.15rem 1.1rem 0.35rem;
    gap: 0;
  }

  .pdp-title {
    font-size: clamp(1.28rem, 6.2vw, 1.55rem);
    margin-bottom: 0.3rem;
  }

  .pdp-meta {
    font-size: 0.82rem;
    margin-bottom: 0.55rem;
  }

  .pdp-rating {
    margin-bottom: 0.7rem;
    font-size: 0.82rem;
  }

  .pdp-price {
    font-size: 1.4rem;
  }

  .pdp-short {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .buy-box {
    gap: 0.9rem;
    margin-bottom: 0.95rem;
  }

  .option-group legend {
    margin-bottom: 0.5rem;
    font-size: 0.84rem;
  }

  .swatches {
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .swatches::-webkit-scrollbar {
    display: none;
  }

  .swatch--image {
    flex: 0 0 3.05rem;
    width: 3.05rem;
    height: 3.05rem;
  }

  .size-grid {
    gap: 0.4rem;
  }

  .qty-picker button,
  .qty-picker input {
    height: 2.75rem;
  }

  .qty-picker button {
    width: 2.75rem;
  }

  .buy-actions {
    gap: 0.45rem;
  }

  .buy-actions .btn-primary {
    min-height: 3.1rem;
  }

  .trust-badges {
    margin-bottom: 1.5rem;
  }

  .frete-box {
    padding: 10px;
    gap: 8px;
  }

  .frete-box__title,
  .frete-box__delivery {
    font-size: 12px;
  }

  .frete-box__badge {
    padding: 6px 9px;
    font-size: 12px;
  }

  .product-story {
    padding-top: 0.25rem;
  }

  .story-media {
    margin-inline: -1.1rem;
  }

  .story-section__head h2 {
    font-size: clamp(1.2rem, 5.5vw, 1.45rem);
  }

  .story-lead {
    font-size: 0.94rem;
  }

  .faq,
  .reviews {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  .reviews-photo-row {
    grid-auto-columns: minmax(6.25rem, 42%);
    gap: 0.45rem;
  }

  .payment-badges {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
  }

  .payment-badges::-webkit-scrollbar {
    display: none;
  }

  .site-footer {
    padding: 1.75rem 0.95rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-copy {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .sticky-atc {
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    gap: 0.65rem;
  }

  .sticky-atc-info strong {
    font-size: 1.05rem;
  }

  .sticky-atc .btn {
    min-height: 2.75rem;
    min-width: 7.75rem;
    padding: 0.5rem 0.95rem;
  }

  .cart-panel {
    width: 100%;
    max-width: 100%;
  }

  .toast {
    left: 50%;
    width: calc(100% - 1.7rem);
    max-width: 22rem;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .size-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .swatch--image {
    flex-basis: 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
  }

  .gallery-thumbs .thumb {
    flex-basis: 4.25rem;
    width: 4.25rem;
  }
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.qty-row > label {
  font-size: 0.88rem;
  font-weight: 600;
}

.qty-picker {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  width: fit-content;
}

.qty-picker button {
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.qty-picker button:hover {
  background: var(--fog);
}

.qty-picker button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.qty-picker input {
  width: 2.75rem;
  height: 2.6rem;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  background: transparent;
  -moz-appearance: textfield;
}

.qty-picker input::-webkit-outer-spin-button,
.qty-picker input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.buy-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.buy-actions .btn-primary {
  min-height: 3.25rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.buy-actions .btn-secondary {
  min-height: 2.85rem;
  font-size: 0.9rem;
}

.size-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  width: 100%;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.option-group--size > legend.size-legend {
  margin-bottom: 0.65rem;
}

.size-guide-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.size-guide-link:hover {
  color: var(--ink);
}

/* Early social proof under buy box */
.social-proof-early {
  margin: 0 0 2rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  animation: riseIn 0.8s var(--ease) 0.08s both;
}

.social-proof-early__score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.social-proof-early__score strong {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.social-proof-early__score a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.social-proof-early__score a:hover {
  color: var(--ink);
}

.social-proof-early__photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}

.social-proof-early__photos img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0.4rem;
  background: var(--soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(110, 184, 60, 0.28);
}

.btn-primary:hover {
  background: var(--accent-deep);
  box-shadow: 0 6px 18px rgba(90, 163, 47, 0.32);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  font-weight: 500;
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: var(--soft);
  color: var(--ink);
  transform: none;
}

.btn-block {
  width: 100%;
}

/* Frete + Devolução (demomasculina-identical visuals) */
.trust-badges {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2rem;
}

.frete-box {
  --fe-box-bg: #f3faf0;
  --fe-box-border: #c6e6b0;
  --fe-icon-bg: #ffffff;
  --fe-icon-border: #c6e6b0;
  --fe-title-color: #0d0d0d;
  --fe-location-color: #5aa32f;
  --fe-delivery-color: #6b7280;
  --fe-badge-bg: #6eb83c;
  --fe-badge-color: #ffffff;
  width: 100%;
  background: var(--fe-box-bg);
  border: 1px solid var(--fe-box-border);
  border-radius: 0.5rem;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
}

.frete-box__icon {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50px;
  background: var(--fe-icon-bg);
  border: 1px solid var(--fe-icon-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.frete-box__icon img {
  width: 28px;
  height: auto;
}

.frete-box__content {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.25;
}

.frete-box__title {
  margin: 0 0 1px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fe-title-color);
}

.frete-box__location {
  color: var(--fe-location-color);
}

.frete-box__delivery {
  margin: 0;
  font-size: 13px;
  color: var(--fe-delivery-color);
}

.frete-box__badge {
  flex: 0 0 auto;
  background: var(--fe-badge-bg);
  color: var(--fe-badge-color);
  border-radius: 5px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.offer-box {
  --fundooferta: #ffffff;
  --textooferta: #0d0d0d;
  --fundoicone: #271159;
  --textoicone: #ffffff;
  --raiooferta: 0.5rem;
  --raioicone: 0.4rem;
  --icon_stroke: 2.5px;
  display: flex;
  padding: 10px 10px 10px 3px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--raiooferta);
  align-items: center;
  background: var(--fundooferta);
  color: var(--textooferta);
  box-sizing: border-box;
}

.offer-box__icon {
  flex-shrink: 0;
  line-height: 0;
}

.offer-box__media {
  background: var(--fundoicone);
  margin: 0 8px;
  border-radius: var(--raioicone);
  padding: 7px;
  display: block;
  width: 38px;
  height: 38px;
  box-sizing: border-box;
}

.offer-box__media,
.offer-box__media * {
  fill: none !important;
  stroke: var(--textoicone) !important;
  stroke-width: var(--icon_stroke) !important;
}

.offer-box__body {
  display: grid;
  gap: 2px;
  line-height: 1.25;
}

.offer-box__title {
  font-size: 14px;
}

.offer-box__text p {
  margin: 0;
  font-size: 13px;
  color: #444;
}

/* Sequential description */
.product-story {
  display: grid;
  gap: 0;
  margin-top: 0.35rem;
  padding-top: 1.85rem;
  border-top: 1px solid var(--line);
}

.story-section {
  padding: 1.85rem 0;
}

.story-section + .story-section,
.story-section + .story-media,
.story-media + .story-section {
  border-top: 1px solid var(--line);
}

.story-section__head {
  margin-bottom: 1.15rem;
}

.story-section__label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.story-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.story-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.28rem, 3.8vw, 1.62rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.story-lead {
  margin: 0 0 1.35rem;
  max-width: 38ch;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

.story-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--mist);
}

.story-highlights li {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.story-highlights li:last-child {
  border-bottom: 0;
}

.story-highlights strong {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
}

.story-highlights span {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.story-media {
  margin: 0 -1.15rem;
  padding: 0;
  overflow: hidden;
  background: var(--soft);
  scroll-margin-top: calc(var(--header-h) + var(--announce-h) + 0.75rem);
}

.story-media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.spec-table {
  margin: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.spec-table > div {
  display: grid;
  grid-template-columns: minmax(6.75rem, 38%) 1fr;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.spec-table > div:last-child {
  border-bottom: 0;
}

.spec-table dt {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--mist);
  color: var(--muted);
  font-weight: 500;
  font-size: 0.82rem;
  border-right: 1px solid var(--line);
}

.spec-table dd {
  margin: 0;
  padding: 0.85rem 1rem;
  font-weight: 500;
  line-height: 1.45;
}

.story-section--policy .story-section__head {
  margin-bottom: 0.85rem;
}

.policy-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.policy-points li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink);
}

.policy-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* FAQ */
.faq {
  padding: 2.35rem 1.15rem 1.25rem;
  max-width: 42rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-head {
  margin-bottom: 1.15rem;
}

.faq-head h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.2rem 0 0;
}

.faq-list {
  display: grid;
  gap: 0.55rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--mist);
  padding: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.05rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.05rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Reviews */
.reviews {
  padding: 2.35rem 1.15rem 3.75rem;
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.reviews-head {
  margin-bottom: 1.85rem;
}

.reviews-head .story-section__label {
  margin-bottom: 0.85rem;
}

.reviews-head h2 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.28rem, 3.8vw, 1.62rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.reviews-summary__score {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.reviews-summary__avg {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.reviews-summary__stars {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.reviews-summary__count {
  margin: 0;
  flex: 1 1 10rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.reviews-photos {
  margin-bottom: 1.85rem;
}

.reviews-photos-label {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.reviews-photo-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(5.5rem, 26%);
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.reviews-photo-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--stone);
  border-radius: 3px;
  border: 1px solid var(--line);
}

.reviews-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: var(--white);
}

.review-card {
  padding: 1.15rem 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.review-card:last-child {
  border-bottom: 0;
}

.review-card__top {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.review-card__meta {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.review-card__meta strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.review-card__meta .stars {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.review-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--mist);
  color: var(--accent-deep);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Footer — demomasculina structure */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 1.15rem 2rem;
  display: grid;
  gap: 1.75rem;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--white);
}

.footer-top {
  display: grid;
  gap: 1.5rem;
}

.footer-col h3,
.footer-payments h3,
.footer-verified h3 {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
}

.footer-col p,
.footer-col a {
  margin: 0 0 0.4rem;
  display: block;
  color: #555;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #111;
}

.payment-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.payment-badges li {
  width: 48px;
  height: 30px;
  display: grid;
  place-items: center;
}

.payment-badges img {
  max-width: 100%;
  max-height: 22px;
  width: auto;
  height: auto;
}

.selos-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.selo img {
  display: block;
  height: auto;
  max-height: 40px;
  width: auto;
}

.footer-copy {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

/* Cart */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 24, 22, 0.45);
  z-index: 50;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.cart-backdrop.is-open {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.cart-drawer.is-open {
  pointer-events: auto;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 400px);
  height: 100%;
  background: var(--mist);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.1rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.cart-close {
  font-size: 1.6rem;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.1rem;
}

.cart-empty {
  margin: 2rem 0;
  text-align: center;
  color: var(--muted);
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  background: var(--stone);
}

.cart-line h3 {
  margin: 0 0 0.2rem;
  font-size: 0.92rem;
}

.cart-line p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.qty-controls button {
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.remove-line {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  text-decoration: underline;
  align-self: start;
  padding: 0;
}

.cart-footer {
  padding: 1rem 1.1rem 1.25rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.cart-hint {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(12px);
  background: var(--ink);
  color: var(--mist);
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  z-index: 80;
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.has-sticky-atc .toast {
  bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

/* Sticky mobile ATC */
.sticky-atc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 28px rgba(13, 13, 13, 0.08);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.sticky-atc[hidden] {
  display: none;
}

.sticky-atc.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-atc-info {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.sticky-atc-compare {
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: line-through;
  line-height: 1.2;
}

.sticky-atc-compare[hidden] {
  display: none;
}

.sticky-atc-info strong {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.15;
}

.sticky-atc .btn {
  min-height: 2.85rem;
  padding: 0.55rem 1.15rem;
  min-width: 8.5rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .site-header {
    padding: 0 2rem;
  }

  .pdp {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    padding: 2rem 2rem 4rem;
    align-items: start;
  }

  .pdp-gallery {
    position: sticky;
    top: calc(var(--announce-h) + var(--header-h) + 1rem);
    gap: 0.75rem;
  }

  .gallery-thumbs {
    padding: 0;
  }

  .pdp-info {
    padding: 0.35rem 0 0;
  }

  .story-media {
    margin-inline: 0;
    border-radius: 3px;
  }

  .story-media img {
    border-radius: 3px;
  }

  .qty-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-atc {
    display: none;
  }

  body.has-sticky-atc .toast {
    bottom: 1.25rem;
  }

  .reviews {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 2.75rem;
    padding-bottom: 4.5rem;
  }

  .faq {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .reviews-summary {
    max-width: 28rem;
  }

  .reviews-photo-row {
    grid-auto-columns: minmax(0, 1fr);
    overflow: visible;
  }

  .reviews-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .review-card {
    border: 1px solid var(--line);
    border-radius: 3px;
    border-bottom: 1px solid var(--line);
    padding: 1.25rem 1.15rem 1.35rem;
    background: var(--mist);
  }

  .review-card:last-child {
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-copy {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .pdp {
    gap: 3.5rem;
    padding-top: 2.5rem;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
