/** Route CSS — pdp (carregado só na rota correspondente) */

/* Página produto: setas do carrossel — só o ícone; anula button global (fundo azul escuro) */
button.carousel-arrow-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0.5rem !important;
  margin: -0.5rem !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0;
  cursor: pointer;
  color: #0d1b2a !important;
  -webkit-tap-highlight-color: transparent;
}

button.carousel-arrow-btn:hover,
button.carousel-arrow-btn:focus,
button.carousel-arrow-btn:focus-visible,
button.carousel-arrow-btn:active {
  background: transparent !important;
  background-color: transparent !important;
  color: #0d1b2a !important;
  outline: none !important;
  box-shadow: none !important;
}

button.carousel-arrow-btn::-moz-focus-inner {
  border: 0 !important;
}

button.carousel-arrow-btn svg {
  pointer-events: none;
  display: block;
}

/* Setas encostadas à borda da foto + centro vertical (evita margin negativo a puxar para baixo) */
button.carousel-arrow-btn.carousel-arrow-btn--edge {
  margin: 0 !important;
  padding: 0.375rem 0.125rem !important;
}

@media (min-width: 640px) {
  button.carousel-arrow-btn.carousel-arrow-btn--edge {
    padding: 0.5rem 0.1875rem !important;
  }
}

/* Metade do botão dentro da foto, metade fora (centro na borda) */
button.carousel-arrow-btn.carousel-arrow-btn--bleed {
  margin: 0 !important;
  padding: 0.5rem !important;
}

/* Carrossel produto: setas soltas (só ícone), área de toque com padding */
button.carousel-arrow-btn.carousel-arrow-btn--float {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Halo claro + sombra: legível em foto clara ou escura */
svg.product-gallery-arrow-icon {
  color: #0d1b2a !important;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.98))
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.55)) drop-shadow(0 2px 14px rgba(0, 0, 0, 0.22));
}

/* Página produto: +/- quantidade — só o símbolo; sem quadrado escuro (hover global) */
button.qty-step-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0.35rem 0.5rem !important;
  margin: -0.35rem -0.5rem !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0;
  cursor: pointer;
  color: #0d1b2a !important;
  -webkit-tap-highlight-color: transparent;
}

button.qty-step-btn:disabled {
  cursor: default;
  opacity: 0.35;
}

button.qty-step-btn:hover,
button.qty-step-btn:focus,
button.qty-step-btn:focus-visible,
button.qty-step-btn:active {
  background: transparent !important;
  background-color: transparent !important;
  color: #0d1b2a !important;
  outline: none !important;
  box-shadow: none !important;
}

button.qty-step-btn::-moz-focus-inner {
  border: 0 !important;
}
/* PDP — Classic: desce galeria ao título. OYP: desce coluna editorial ao topo da imagem. */
:root {
  --pdp-gallery-title-offset: 0.8125rem;
}

@media (min-width: 640px) {
  :root {
    --pdp-gallery-title-offset: 0.9375rem;
  }
}

@media (min-width: 768px) {
  :root {
    /* Altura do bloco Voltar acima da galeria OYP — alinha título ao topo da imagem */
    --pdp-oyp-info-offset: 1.75rem;
  }
}

/* Página produto: foto hero OYP — sem moldura do button global (fundo azul + padding) */
button.pdp-hero-main-btn,
button.pdp-hero-main-btn:hover,
button.pdp-hero-main-btn:focus,
button.pdp-hero-main-btn:focus-visible,
button.pdp-hero-main-btn:active {
  appearance: none;
  background-color: transparent !important;
  background: transparent !important;
  outline: none !important;
  color: inherit !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

button.pdp-hero-main-btn::-moz-focus-inner {
  border: 0 !important;
}

/* Página produto: miniaturas OYP — botão neutro; moldura azul no span interno */
button.pdp-hero-thumb-btn,
button.pdp-hero-thumb-btn:hover,
button.pdp-hero-thumb-btn:focus,
button.pdp-hero-thumb-btn:focus-visible,
button.pdp-hero-thumb-btn:active {
  appearance: none;
  background-color: transparent !important;
  background: transparent !important;
  outline: none !important;
  color: inherit !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

button.pdp-hero-thumb-btn:hover {
  background-color: transparent !important;
}

button.pdp-hero-thumb-btn::-moz-focus-inner {
  border: 0 !important;
}

/* PDP — botão ? Material e cuidados: contorno quadrado, sem caixa global */
button.pdp-material-care-help-btn,
button.pdp-material-care-help-btn:hover,
button.pdp-material-care-help-btn:focus,
button.pdp-material-care-help-btn:focus-visible,
button.pdp-material-care-help-btn:active {
  appearance: none;
  background-color: transparent !important;
  background: transparent !important;
  outline: none !important;
  color: inherit !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

button.pdp-material-care-help-btn::-moz-focus-inner {
  border: 0 !important;
}

.pdp-material-care-help-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 72%, transparent);
  text-decoration-color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 24%, transparent);
  transition:
    color 250ms cubic-bezier(0.22, 1, 0.36, 1),
    text-decoration-color 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pdp-material-care-help-mark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--p-color-brand, #0d1b2a) 32%, transparent);
  color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 58%, transparent);
  background: transparent;
  transition:
    border-color 250ms cubic-bezier(0.22, 1, 0.36, 1),
    color 250ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pdp-material-care-help-btn:hover .pdp-material-care-help-label,
.pdp-material-care-help-btn:focus-visible .pdp-material-care-help-label {
  color: var(--p-color-brand, #0d1b2a);
  text-decoration-color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 48%, transparent);
}

.pdp-material-care-help-btn:hover .pdp-material-care-help-mark,
.pdp-material-care-help-btn:focus-visible .pdp-material-care-help-mark {
  border-color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 58%, transparent);
  color: var(--p-color-brand, #0d1b2a);
  background: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 5%, transparent);
}

.pdp-material-care-help-btn.is-open .pdp-material-care-help-label {
  color: var(--p-color-brand, #0d1b2a);
  text-decoration-color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 42%, transparent);
}

.pdp-material-care-help-btn.is-open .pdp-material-care-help-mark {
  border-color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 72%, transparent);
  color: var(--p-color-brand, #0d1b2a);
  background: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 4%, transparent);
}

.pdp-material-care-help-btn:active .pdp-material-care-help-label {
  opacity: 0.88;
}

.pdp-material-care-help-btn:active .pdp-material-care-help-mark {
  opacity: 0.88;
}

@media (prefers-reduced-motion: reduce) {
  .pdp-material-care-help-label,
  .pdp-material-care-help-mark {
    transition: none;
  }
}
button.pdp-comprar-btn,
button.pdp-comprar-btn:hover,
button.pdp-comprar-btn:focus,
button.pdp-comprar-btn:focus-visible,
button.pdp-comprar-btn:active {
  min-height: 2.5rem !important;
  height: 2.5rem !important;
  padding: 0.25rem 0.75rem !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

@media (min-width: 640px) {
  button.pdp-comprar-btn,
  button.pdp-comprar-btn:hover,
  button.pdp-comprar-btn:focus,
  button.pdp-comprar-btn:focus-visible,
  button.pdp-comprar-btn:active {
    min-height: 2.75rem !important;
    height: 2.75rem !important;
  }
}

button.pdp-oyp-thumb-nav-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  margin-block: 0 !important;
  margin-inline: auto !important;
  padding: 0 !important;
  width: 1.625rem !important;
  height: 1.625rem !important;
  min-width: 1.625rem !important;
  min-height: 1.625rem !important;
  line-height: 0 !important;
  border: 0 !important;
  border-radius: var(--p-radius-md, 4px) !important;
  background-color: var(--p-color-brand, #0d1b2a) !important;
  color: var(--p-color-white, #ffffff) !important;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background-color 100ms var(--p-ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    opacity 100ms var(--p-ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

button.pdp-oyp-thumb-nav-btn svg {
  display: block;
  margin: 0 auto;
  color: inherit;
}

button.pdp-oyp-thumb-nav-btn:hover,
button.pdp-oyp-thumb-nav-btn:focus-visible {
  background-color: var(--p-color-brand-hover, #1b2b3f) !important;
  opacity: 1 !important;
}

button.pdp-oyp-thumb-nav-btn:active {
  opacity: 0.88 !important;
}

@media (prefers-reduced-motion: reduce) {
  button.pdp-oyp-thumb-nav-btn {
    transition: none;
  }
}

/* PDP OYP mobile — carrossel e miniaturas sem scrollbar visível */
.pdp-oyp-scroll-x {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pdp-oyp-scroll-x::-webkit-scrollbar {
  display: none;
}

/* Carrossel principal mobile — scroll vertical da página + swipe horizontal na galeria */
.pdp-oyp-mobile-carousel {
  touch-action: auto;
}

/*
 * PDP OYP — escala fluida linear em toda a faixa.
 * Mobile (<768): hero full-bleed (100vw), proporção máxima da peça.
 * Tablet+ (768+): duas colunas com respiro mínimo entre imagem e textos.
 */
.pdp-oyp-fluid {
  --pdp-oyp-gallery-w: 100%;
  --pdp-oyp-gallery-h: min(
    calc(100vw * 1510 / 2000),
    calc(100svh - var(--top-offset) - var(--pdp-oyp-mobile-below-stage, 6.5rem))
  );
  --pdp-oyp-mobile-below-stage: 6.5rem;
  --pdp-oyp-packshot-scale: 1;
  --pdp-oyp-title: clamp(1.875rem, 7.5vw, 2.75rem);
  --pdp-oyp-price: clamp(1.375rem, 5vw, 1.875rem);
  --pdp-oyp-detail: clamp(0.8125rem, 2.5vw, 0.875rem);
  --pdp-oyp-body: clamp(0.8125rem, 2.5vw, 0.875rem);
  --pdp-oyp-thumb-w: clamp(4.5rem, 21vw, 5.25rem);
  --pdp-oyp-editorial-max-w: min(20rem, 92vw);
  --pdp-oyp-col-gap: 0;
  --pdp-oyp-shirt-align-x: center;
}

.pdp-oyp-fluid .pdp-oyp-purchase-col h1 {
  font-size: var(--pdp-oyp-title) !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .pdp-oyp-fluid {
    --pdp-oyp-gallery-w: calc(100% - 0.5rem);
    --pdp-oyp-gallery-h: clamp(20rem, 10rem + 24vw, 58rem);
    --pdp-oyp-packshot-scale: 1;
    --pdp-oyp-title: clamp(1.375rem, 0.625rem + 2.75vw, 3rem);
    --pdp-oyp-price: clamp(1.125rem, 0.5rem + 2vw, 1.875rem);
    --pdp-oyp-detail: clamp(0.8125rem, 0.72rem + 0.22vw, 0.875rem);
    --pdp-oyp-body: clamp(0.8125rem, 0.72rem + 0.2vw, 0.875rem);
    --pdp-oyp-thumb-w: clamp(4.75rem, 2rem + 2.75vw, 7.25rem);
    --pdp-oyp-editorial-max-w: min(20rem, 34vw);
    --pdp-oyp-col-gap: 1rem;
    --pdp-oyp-desktop-thumb-w: var(--pdp-oyp-thumb-w);
  }

  .pdp-oyp-fluid .pdp-oyp-purchase-col .pdp-oyp-price {
    font-size: var(--pdp-oyp-price) !important;
  }

  .pdp-oyp-fluid .pdp-oyp-purchase-col .pdp-oyp-detail-list {
    font-size: var(--pdp-oyp-detail);
  }

  .pdp-oyp-fluid .pdp-oyp-purchase-col .pdp-oyp-seo-body {
    font-size: var(--pdp-oyp-body);
  }

  .pdp-oyp-fluid .pdp-oyp-purchase-col h1 {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: manual;
  }

  .pdp-oyp-fluid .pdp-oyp-purchase-col .pdp-oyp-editorial-body,
  .pdp-oyp-fluid .pdp-oyp-purchase-col .pdp-oyp-editorial-stack {
    max-width: var(--pdp-oyp-editorial-max-w);
  }

  .pdp-oyp-fluid .pdp-oyp-desktop-gallery {
    min-width: 0;
    width: 100%;
  }

  .pdp-oyp-fluid .pdp-oyp-desktop-main {
    min-width: 0;
  }
}

@media (min-width: 1280px) {
  .pdp-oyp-fluid {
    --pdp-oyp-editorial-max-w: 22rem;
    --pdp-oyp-col-gap: 1.25rem;
  }
}

.pdp-oyp-fluid.pdp-oyp-layout-grid {
  column-gap: var(--pdp-oyp-col-gap);
}

.pdp-oyp-fluid .pdp-oyp-gallery-max {
  max-width: min(100%, var(--pdp-oyp-gallery-w));
}

.pdp-oyp-fluid .pdp-oyp-gallery-max-h {
  max-height: var(--pdp-oyp-gallery-h);
}

@media (max-width: 767px) {
  .pdp-oyp-fluid.pdp-oyp-layout-grid {
    overflow-x: clip;
  }

  .pdp-oyp-mobile-hero-bleed {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .pdp-oyp-mobile-hero-bleed .pdp-oyp-gallery-max {
    max-width: 100%;
    width: 100%;
  }

  .pdp-oyp-fluid .pdp-oyp-mobile-hero-bleed .pdp-oyp-gallery-max-h {
    max-height: min(
      calc(100svh - var(--top-offset) - var(--pdp-oyp-mobile-below-stage, 6.5rem)),
      calc(100vw * 1510 / 2000)
    );
  }

  /* Stage packshot — proporção do contorno; altura máxima sem clip na barra */
  .pdp-oyp-fluid .pdp-oyp-main-stage--packshot {
    --pdp-oyp-mobile-below-stage: 5.25rem;
  }

  .pdp-oyp-fluid .pdp-oyp-main-stage--packshot .pdp-oyp-gallery-max-h {
    width: 100%;
    max-height: min(
      calc(100svh - var(--top-offset) - var(--pdp-oyp-mobile-below-stage, 5.25rem)),
      calc(100vw * 1510 / 2000)
    );
    height: auto;
    aspect-ratio: 2000 / 1510;
  }

  .pdp-oyp-fluid .pdp-oyp-mobile-thumb-row {
    margin-top: 0;
    padding-top: 0;
  }
}

@media (min-width: 768px) {
  .pdp-oyp-fluid .pdp-oyp-gallery-max {
    width: 100%;
    max-width: 100%;
  }

  .pdp-oyp-fluid .pdp-oyp-gallery-max-h {
    max-height: min(75vh, var(--pdp-oyp-gallery-h));
  }
}

/* PDP OYP — foto grande: stage unificado; packshot no limite da viewport */
.pdp-oyp-fluid .pdp-oyp-main-stage--model {
  --pdp-oyp-gallery-h: min(
    calc(100vw * 1510 / 2000),
    calc(100svh - var(--top-offset) - var(--pdp-oyp-mobile-below-stage, 6.5rem))
  );
}

@media (min-width: 768px) {
  .pdp-oyp-fluid .pdp-oyp-main-stage--model {
    --pdp-oyp-gallery-h: clamp(20rem, 10rem + 24vw, 58rem);
  }

  .pdp-oyp-fluid .pdp-oyp-main-stage--model .pdp-oyp-gallery-max-h {
    max-height: min(75vh, var(--pdp-oyp-gallery-h));
  }
}

.pdp-oyp-fluid .pdp-oyp-main-image-model {
  object-position: var(--pdp-oyp-shirt-align-x) 10%;
}

/* Packshot — contain no contorno gola→barra: barra inferior nunca cortada */
.pdp-oyp-main-image-packshot {
  object-fit: contain;
  object-position: var(--pdp-oyp-shirt-align-x, center) top;
}

/* Packshot ativo — stage no limite da viewport, sem clip na barra */
.pdp-oyp-fluid .pdp-oyp-main-stage--packshot {
  --pdp-oyp-gallery-h: min(
    calc(100vw * 1510 / 2000),
    calc(100svh - var(--top-offset) - var(--pdp-oyp-mobile-below-stage, 6.5rem))
  );
}

.pdp-oyp-fluid .pdp-oyp-main-stage--packshot .pdp-oyp-gallery-max-h {
  max-height: var(--pdp-oyp-gallery-h);
}

.pdp-oyp-main-stage--packshot.pdp-oyp-carousel-viewport,
.pdp-oyp-main-stage--packshot.pdp-oyp-desktop-stage {
  overflow-x: clip;
  overflow-y: visible;
}

.pdp-oyp-main-stage--packshot .pdp-oyp-carousel-clip,
.pdp-oyp-main-stage--packshot .pdp-oyp-main-slide-layer,
.pdp-oyp-main-stage--packshot .pdp-oyp-desktop-main-image,
.pdp-oyp-main-stage--packshot .pdp-oyp-desktop-vertical-clip,
.pdp-oyp-main-stage--packshot .pdp-oyp-desktop-vertical-panel {
  overflow-x: clip;
  overflow-y: visible;
}

@media (max-width: 767px) {
  .pdp-oyp-fluid .pdp-oyp-main-stage--model.pdp-oyp-main-stage--packshot.pdp-oyp-carousel-viewport {
    overflow: visible;
  }
}

@media (min-width: 768px) {
  .pdp-oyp-fluid .pdp-oyp-main-stage--packshot {
    --pdp-oyp-gallery-h: clamp(22rem, 12rem + 28vw, 62rem);
  }

  .pdp-oyp-fluid .pdp-oyp-main-stage--packshot .pdp-oyp-gallery-max-h {
    max-height: min(82vh, var(--pdp-oyp-gallery-h));
    aspect-ratio: 2000 / 1510;
  }

  .pdp-oyp-fluid .pdp-oyp-main-stage--model.pdp-oyp-main-stage--packshot .pdp-oyp-gallery-max-h {
    max-height: min(82vh, var(--pdp-oyp-gallery-h));
    min-height: clamp(22rem, 12rem + 26vw, 58rem);
  }
}

/* PDP OYP — preço, benefícios e tamanhos premium */
.pdp-oyp-price-block .pdp-oyp-price {
  letter-spacing: 0.01em;
}

.pdp-oyp-benefit-section-heading {
  font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.01em;
}

.pdp-oyp-benefit-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pdp-oyp-benefit-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  background: transparent;
}

.pdp-oyp-benefit-card-mark {
  flex-shrink: 0;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 3px;
  border: 0;
  background: var(--p-color-brand, #0d1b2a);
}

.pdp-oyp-benefit-card-title {
  font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--p-color-brand, #0d1b2a);
}

.pdp-size-chip {
  border: 1px solid color-mix(in srgb, var(--p-color-brand, #0d1b2a) 28%, transparent);
  border-radius: var(--p-radius-md, 4px);
  background: transparent;
  color: var(--p-color-brand, #0d1b2a);
  transition:
    border-color 250ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 250ms cubic-bezier(0.22, 1, 0.36, 1),
    color 250ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 250ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pdp-size-chip--premium {
  min-height: 2.75rem;
  border-color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 34%, transparent);
  font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--p-color-brand, #0d1b2a);
}

.pdp-size-chip:disabled {
  cursor: default;
}

.pdp-size-chip:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 52%, transparent);
}

.pdp-size-chip--premium:hover:not(:disabled):not(.pdp-size-chip--selected):not([aria-pressed='true']) {
  border-color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 58%, transparent);
  background: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 6%, transparent);
}

.pdp-size-chip--selected,
.pdp-size-chip[aria-pressed='true'] {
  border-color: var(--p-color-brand, #0d1b2a);
  transform: scale(1.01);
}

.pdp-size-chip--premium.pdp-size-chip--selected,
.pdp-size-chip--premium[aria-pressed='true'] {
  border-color: var(--p-color-brand, #0d1b2a);
  background: var(--p-color-brand, #0d1b2a);
  color: var(--p-color-white, #fff);
}

.pdp-size-chip--premium:hover:not(:disabled).pdp-size-chip--selected,
.pdp-size-chip--premium:hover:not(:disabled)[aria-pressed='true'] {
  border-color: var(--p-color-brand-hover, #1b2b3f);
  background: var(--p-color-brand-hover, #1b2b3f);
  color: var(--p-color-white, #fff);
}

.pdp-size-chip--premium:disabled {
  border-color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 16%, transparent);
  background: transparent;
  color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 38%, transparent);
  opacity: 1;
}

.pdp-size-chip:active:not(:disabled) {
  opacity: 0.88;
}

.pdp-size-chip--premium:active:not(:disabled) {
  opacity: 1;
}

.pdp-size-chip--premium.pdp-size-chip--selected:active:not(:disabled),
.pdp-size-chip--premium[aria-pressed='true']:active:not(:disabled) {
  background: var(--p-color-brand-hover, #1b2b3f);
  border-color: var(--p-color-brand-hover, #1b2b3f);
}

@media (prefers-reduced-motion: reduce) {
  .pdp-size-chip {
    transition: none;
  }

  .pdp-size-chip--selected,
  .pdp-size-chip[aria-pressed='true'] {
    transform: none;
  }
}

/* PDP OYP — ritmo editorial (espaçamento uniforme entre blocos) */
.pdp-oyp-editorial-stack {
  --pdp-oyp-stack-gap: 1.25rem;
  --pdp-oyp-stack-gap-tight: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: var(--pdp-oyp-stack-gap);
  width: 100%;
  min-width: 0;
  padding-top: 1rem;
}

.pdp-oyp-editorial-stack > .pdp-oyp-price-block,
.pdp-oyp-editorial-stack > .pdp-oyp-benefit-cards,
.pdp-oyp-editorial-stack > .pdp-oyp-purchase-zone,
.pdp-oyp-editorial-stack > .pdp-oyp-seo-body {
  margin-top: 0;
}

.pdp-oyp-editorial-stack > .pdp-oyp-purchase-zone + .pdp-oyp-seo-body {
  margin-top: -0.875rem;
}

.pdp-oyp-editorial-stack .pdp-oyp-installment {
  margin-top: 0.5rem;
}

.pdp-oyp-editorial-stack .pdp-oyp-purchase-zone {
  display: flex;
  flex-direction: column;
  gap: var(--pdp-oyp-stack-gap-tight);
}

.pdp-oyp-editorial-stack .pdp-oyp-cta-zone {
  margin-top: 0;
}

.pdp-oyp-size-label {
  font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  color: var(--p-color-brand, #0d1b2a);
}

.pdp-oyp-size-row-wrap {
  align-items: center;
}

.pdp-size-pick-hint {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--p-color-brand, #0d1b2a);
  opacity: 0.82;
  pointer-events: none;
}

.pdp-oyp-editorial-copy {
  font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 80%, transparent);
}

.pdp-oyp-editorial-copy p + p {
  margin-top: var(--pdp-oyp-stack-gap-tight, 0.75rem);
}

.pdp-oyp-editorial-stack > .pdp-oyp-descricao {
  margin-top: 3rem;
}

.pdp-oyp-editorial-stack > .pdp-oyp-product-benefits {
  margin-top: 2.5rem;
}

.pdp-oyp-cta-zone {
  margin-top: 2rem;
}

.pdp-oyp-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pdp-oyp-cta-row {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: stretch;
  gap: 0.5rem;
}

.pdp-comprar-btn--premium-row {
  position: relative;
  width: auto;
  padding-left: 1rem;
  padding-right: 2.5rem;
}

.pdp-comprar-btn--premium-row .pdp-comprar-btn__label {
  min-width: 0;
  text-align: center;
}

.pdp-comprar-btn__cart-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.pdp-comprar-btn--premium:not(.pdp-comprar-btn--premium-row) .pdp-comprar-btn__cart-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.75rem;
  height: 0.75rem;
  pointer-events: none;
  transform: translateY(-50%);
}

button.pdp-comprar-btn--premium:not(.pdp-comprar-btn--premium-row) {
  position: relative;
  padding-right: 2.5rem;
}

.pdp-size-guide-accordion--inline-cta .pdp-size-guide-accordion-summary {
  height: 100%;
  min-height: 3.5rem;
}

.pdp-purchase-alert-slot {
  box-sizing: border-box;
  width: 100%;
  min-height: 1.125rem;
  padding-top: 0.125rem;
}

.pdp-purchase-alert-msg {
  font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--p-color-brand, #0d1b2a);
}

@keyframes pdp-size-pick-alert-blink-kf {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 0.32;
  }
  100% {
    opacity: 1;
  }
}

.pdp-purchase-alert-msg--blink {
  animation: pdp-size-pick-alert-blink-kf 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pdp-size-pick-hint--blink {
  animation: pdp-size-pick-alert-blink-kf 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .pdp-purchase-alert-msg--blink,
  .pdp-size-pick-hint--blink {
    animation: none;
  }
}

.pdp-oyp-editorial-stack .pdp-size-guide-accordion--premium {
  margin-top: 0;
}

.pdp-size-guide-accordion-summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.625rem 2.5rem 0.625rem 1rem;
  border: 1px solid color-mix(in srgb, var(--p-color-brand, #0d1b2a) 16%, transparent);
  border-radius: var(--p-radius-md, 4px);
  background: transparent;
  font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 86%, transparent);
  cursor: pointer;
  list-style: none;
  transition:
    border-color 250ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 250ms cubic-bezier(0.22, 1, 0.36, 1);
  touch-action: manipulation;
}

.pdp-size-guide-accordion-summary::-webkit-details-marker {
  display: none;
}

.pdp-size-guide-accordion-summary:hover {
  border-color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 36%, transparent);
  opacity: 0.88;
}

.pdp-size-guide-accordion--premium[open] .pdp-size-guide-accordion-summary {
  border-color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 28%, transparent);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 10%, transparent);
}

.pdp-size-guide-accordion-chevron {
  position: absolute;
  right: 1rem;
  top: 50%;
  flex-shrink: 0;
  color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 55%, transparent);
  transform: translateY(-50%);
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pdp-size-guide-accordion--premium[open] .pdp-size-guide-accordion-chevron {
  transform: translateY(-50%) rotate(180deg);
}

.pdp-size-guide-accordion--panel-only .pdp-size-guide-accordion-panel {
  margin-top: 0.75rem;
}

.pdp-size-guide-accordion-panel {
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--p-color-brand, #0d1b2a) 16%, transparent);
  border-top: 0;
  border-radius: 0 0 var(--p-radius-md, 4px) var(--p-radius-md, 4px);
  overflow: hidden;
}

.pdp-size-guide-table {
  border: 1px solid color-mix(in srgb, var(--p-color-brand, #0d1b2a) 14%, transparent);
  border-radius: var(--p-radius-md, 4px);
  background: var(--p-color-surface, #fff);
}

.pdp-size-guide-table--flush {
  border: 0;
  border-radius: 0;
}

.pdp-size-guide-table__grid {
  width: 100%;
  table-layout: fixed;
}

.pdp-size-guide-table__label-col {
  width: var(--pdp-sg-label-w, 8.75rem);
}

.pdp-size-guide-table__size-col {
  width: calc((100% - var(--pdp-sg-label-w, 8.75rem)) / var(--pdp-sg-size-count, 4));
}

.pdp-size-guide-table__label-cell {
  white-space: nowrap;
  padding-right: 1rem;
}

.pdp-size-guide-table__size-cell {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.pdp-size-guide-table__size-heading {
  font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--p-color-brand, #0d1b2a);
}

@media (prefers-reduced-motion: reduce) {
  .pdp-size-guide-accordion-chevron {
    transition: none;
  }
}

.pdp-oyp-trust {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.pdp-oyp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 58%, transparent);
}

button.pdp-comprar-btn--premium:hover:not(:disabled) {
  opacity: 0.88;
}

.pdp-oyp-section-heading {
  margin: 0;
  font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 42%, transparent);
}

.pdp-oyp-descricao-intro {
  margin: 1rem 0 0;
  font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.65;
  color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 68%, transparent);
}

.pdp-oyp-benefits-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.pdp-oyp-benefits-list li {
  position: relative;
  padding-left: 1rem;
  font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 62%, transparent);
}

.pdp-oyp-benefits-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 30%, transparent);
}

.pdp-oyp-fluid .pdp-oyp-thumb-fluid {
  width: var(--pdp-oyp-thumb-w);
  height: calc(var(--pdp-oyp-thumb-w) * 1510 / 2000);
}

/* PDP OYP — setas laterais na foto principal */
button.pdp-oyp-main-side-nav {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

button.pdp-oyp-main-side-nav--left {
  justify-content: flex-start !important;
}

button.pdp-oyp-main-side-nav--right {
  justify-content: flex-end !important;
}

button.pdp-oyp-main-side-nav svg {
  transition:
    transform 250ms var(--p-ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    opacity 100ms var(--p-ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

@media (min-width: 640px) {
  button.pdp-oyp-main-side-nav {
    padding: 0 !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  button.pdp-oyp-main-side-nav:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.01);
  }

  button.pdp-oyp-main-side-nav--left:hover:not(:disabled) svg {
    transform: translateX(-2px);
  }

  button.pdp-oyp-main-side-nav--right:hover:not(:disabled) svg {
    transform: translateX(2px);
  }

  button.pdp-oyp-main-side-nav--left:active:not(:disabled) svg {
    transform: translateX(-3px);
  }

  button.pdp-oyp-main-side-nav--right:active:not(:disabled) svg {
    transform: translateX(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  button.pdp-oyp-main-side-nav svg {
    transition: none;
  }
}

/* PDP OYP — carrossel horizontal (Instagram mobile; translate3d only) */
.pdp-oyp-carousel-viewport {
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
}

.pdp-oyp-carousel-viewport:active {
  cursor: grabbing;
}

.pdp-oyp-carousel-viewport--static {
  touch-action: pan-y pinch-zoom;
  cursor: default;
}

.pdp-oyp-carousel-viewport--static:active {
  cursor: default;
}

.pdp-oyp-carousel-clip {
  pointer-events: none;
  border-radius: var(--p-radius-md, 4px);
}

.pdp-oyp-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  backface-visibility: hidden;
}

.pdp-oyp-carousel-panel {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
}

.pdp-oyp-carousel-track--virtual {
  position: relative;
}

.pdp-oyp-carousel-panel--virtual {
  position: absolute;
  top: 0;
  flex: none;
  min-width: 0;
  height: 100%;
}

.pdp-oyp-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding-top: 0.75rem;
  color: var(--p-color-brand, #0d1b2a);
}

.pdp-oyp-carousel-dot {
  width: 0.375rem;
  height: 0.375rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 9999px;
  background: currentColor;
  opacity: 0.22;
  appearance: none;
  transition:
    opacity 250ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pdp-oyp-carousel-dot--active {
  opacity: 0.55;
  transform: scale(1.15);
}

@media (prefers-reduced-motion: reduce) {
  .pdp-oyp-carousel-dot {
    transition: none;
  }

  .pdp-oyp-carousel-dot--active {
    transform: none;
  }
}

/* PDP OYP — desktop: miniaturas verticais (esquerda) + fullscreen */
@media (min-width: 768px) {
  .pdp-oyp-layout-grid:not(.pdp-oyp-fluid) {
    --pdp-oyp-desktop-thumb-w: 6.25rem;
  }
}

.pdp-oyp-voltar-desktop-wrap {
  width: var(--pdp-oyp-desktop-thumb-w, 6.25rem);
  max-width: 100%;
}

/* Voltar PDP — sem caixa do button global; seta V + texto */
button.pdp-voltar-btn,
button.pdp-voltar-btn:hover,
button.pdp-voltar-btn:focus,
button.pdp-voltar-btn:focus-visible,
button.pdp-voltar-btn:active {
  appearance: none;
  background: transparent !important;
  background-color: transparent !important;
  color: #6b7280 !important;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  pointer-events: auto;
}

button.pdp-voltar-btn:hover,
button.pdp-voltar-btn:focus-visible {
  color: #0d1b2a !important;
}

button.pdp-voltar-btn::-moz-focus-inner {
  border: 0 !important;
}

.pdp-oyp-voltar-btn {
  font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.pdp-oyp-desktop-gallery {
  align-items: flex-start;
}

.pdp-oyp-desktop-thumbs {
  width: var(--pdp-oyp-desktop-thumb-w, 6.25rem);
}

.pdp-oyp-desktop-thumb-frame {
  width: var(--pdp-oyp-desktop-thumb-w, 6.25rem);
  height: calc(var(--pdp-oyp-desktop-thumb-w, 6.25rem) * 1510 / 2000);
}

.pdp-oyp-desktop-thumb-frame img {
  max-width: none;
}

.pdp-oyp-packshot-thumb-fit {
  box-sizing: border-box;
}

.pdp-oyp-packshot-thumb-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  image-rendering: auto;
}

.pdp-oyp-desktop-thumb-btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
  opacity: 0.48;
  transition: opacity 250ms cubic-bezier(0.22, 1, 0.36, 1);
  touch-action: manipulation;
}

.pdp-oyp-desktop-thumb-btn:hover {
  opacity: 0.72;
}

.pdp-oyp-desktop-thumb-btn[aria-selected='true'] {
  opacity: 1;
}

.pdp-oyp-desktop-thumb-surface {
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--p-color-brand, #0d1b2a) 32%, transparent);
  border-radius: var(--p-radius-md, 4px);
  background: transparent;
  transition:
    border-color 250ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pdp-oyp-desktop-thumb-surface.is-active {
  border-color: var(--p-color-brand, #0d1b2a);
}

.pdp-oyp-desktop-thumb-nav {
  flex-shrink: 0;
}

.pdp-oyp-desktop-stage {
  width: 100%;
}

.pdp-oyp-desktop-main-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--p-radius-md, 4px);
  pointer-events: none;
}

.pdp-oyp-desktop-vertical-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pdp-oyp-desktop-vertical-track {
  display: flex;
  flex-direction: column;
  width: 100%;
  will-change: transform;
}

.pdp-oyp-desktop-vertical-panel {
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
}

.pdp-oyp-desktop-vertical-track--virtual {
  position: relative;
}

.pdp-oyp-desktop-vertical-panel--virtual {
  position: absolute;
  left: 0;
  flex-shrink: 0;
}

.pdp-oyp-desktop-main-image a,
.pdp-oyp-desktop-main-image button {
  pointer-events: auto;
}

.pdp-oyp-desktop-side-nav {
  z-index: 5;
  opacity: 0.82;
  color: color-mix(in srgb, var(--p-color-brand, #0d1b2a) 72%, transparent);
  pointer-events: auto;
  transition:
    opacity 100ms cubic-bezier(0.22, 1, 0.36, 1),
    color 100ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pdp-oyp-desktop-stage:hover .pdp-oyp-desktop-side-nav,
.pdp-oyp-desktop-side-nav:hover,
.pdp-oyp-desktop-side-nav:focus-visible {
  opacity: 1;
  color: var(--p-color-brand, #0d1b2a);
}

.pdp-oyp-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pdp-oyp-fullscreen-backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.97);
  cursor: pointer;
}

.pdp-oyp-fullscreen-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 72rem);
  height: min(92svh, 100%);
  pointer-events: none;
}

.pdp-oyp-fullscreen-panel > * {
  pointer-events: auto;
}

.pdp-oyp-fullscreen-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: flex;
  min-height: 2.75rem;
  min-width: 2.75rem;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  opacity: 0.45;
  cursor: pointer;
}

.pdp-oyp-fullscreen-close:hover {
  opacity: 0.85;
}

.pdp-oyp-fullscreen-stage {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.pdp-oyp-fullscreen-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  min-height: 2.75rem;
  min-width: 2.75rem;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.4;
  cursor: pointer;
  touch-action: manipulation;
}

.pdp-oyp-fullscreen-nav:hover:not(:disabled) {
  opacity: 0.85;
}

.pdp-oyp-fullscreen-nav:disabled {
  opacity: 0.12;
  cursor: default;
}

.pdp-oyp-fullscreen-nav--left {
  left: 0;
}

.pdp-oyp-fullscreen-nav--right {
  right: 0;
}

.pdp-oyp-fullscreen-counter {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1;
  opacity: 0.4;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .pdp-oyp-desktop-thumb-btn,
  .pdp-oyp-desktop-thumb-surface {
    transition: none;
  }

}

/* Página produto: miniaturas — sem fundo do button global; bordas vêm das classes Tailwind */
button.product-gallery-thumb,
button.product-gallery-thumb:hover,
button.product-gallery-thumb:focus,
button.product-gallery-thumb:focus-visible,
button.product-gallery-thumb:active {
  appearance: none;
  background-color: transparent !important;
  background: transparent !important;
  outline: none !important;
  color: inherit !important;
  -webkit-tap-highlight-color: transparent;
}

button.product-gallery-thumb::-moz-focus-inner {
  border: 0 !important;
}

.storefront-pdp-skeleton-host {
  pointer-events: auto;
}

/* PDP keep-alive — página montada (oculta) ao voltar para Shop */
.pdp-keep-alive--frozen {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}
