/* BlackHype (2026-10-08): camada própria do tema novo, carregada depois do exclusifs.css.
   Página de produto em duas colunas de fotos + coluna de compra estreita, seletor de tamanho em grade,
   botão de compra largo com ícone, seção "Find your team" e popup do app. */
:root {
  --bh-black: #000000;
  --bh-ink: #111111;
  --bh-grey: #eceff1;
  --bh-grey-2: #d9dde0;
  --bh-mute: #767677;
  --bh-line: #111111;
}
.bh-icon { display: inline-block; vertical-align: middle; flex: 0 0 auto; }

/* ---------- Página de produto: galeria ---------- */
@media screen and (min-width: 990px) {
  .product.product--columns .product__media-wrapper { max-width: 70% !important; width: 70% !important; padding-right: 0 !important; }
  .product.product--columns .product__info-wrapper { max-width: 30% !important; width: 30% !important; padding-left: 24px !important; }
  .product--columns .product__media-list { gap: 2px !important; margin: 0 !important; }
  .product--columns .product__media-list .product__media-item { width: calc(50% - 1px) !important; max-width: calc(50% - 1px) !important; padding: 0 !important; margin: 0 !important; }
}
.product__media-list .product__media, .product__media-item .product__media { background: var(--bh-grey) !important; border: 0 !important; }
.product__media-list .product__media img { mix-blend-mode: multiply; }
.product__media-item .product__media-icon, .product__media-item .deferred-media__poster-button { display: none; }

/* ---------- Página de produto: coluna de compra ---------- */
product-info .product__info-container > * + * { margin-top: 12px !important; }
.bh-crumb { margin: 0 !important; font-size: 13px; color: var(--bh-ink); }
.bh-crumb span + span::before { content: "•"; margin: 0 6px; color: var(--bh-ink); }
.bh-tag { display: inline-block; margin: 0 !important; padding: 5px 8px; background: var(--bh-grey); color: var(--bh-ink); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
product-info .product__title { border-bottom: 0 !important; padding-bottom: 0 !important; margin-bottom: 0 !important; }
product-info .product__title h1, product-info .product__title h2, product-info .product__title .h1 { font-size: 22px !important; line-height: 1.15 !important; letter-spacing: .08em !important; padding: 0 !important; }
.bh-lead { margin: 0 !important; font-size: 14px; line-height: 1.4; color: var(--bh-ink); }
product-info .price { font-size: 15px !important; font-weight: 700 !important; letter-spacing: 0 !important; }
product-info .price .price-item { font-family: var(--ex-body) !important; font-weight: 700 !important; }
product-info .price .price-item--regular { }
product-info .price--on-sale .price-item--regular { font-weight: 400 !important; color: var(--bh-mute) !important; }
.bh-note { margin: 0 !important; font-size: 13px; color: var(--bh-ink); }
.bh-note a { color: var(--bh-ink); text-decoration: underline; text-underline-offset: 3px; }

/* aviso em faixa cinza (ícone + texto) */
.bh-notice { display: flex; align-items: center; gap: 8px; margin: 4px 0 0 !important; padding: 10px 12px; background: var(--bh-grey); color: var(--bh-ink); font-size: 13px; line-height: 1.35; }
.bh-notice strong { font-weight: 700; }

/* caixa com borda (ícone de informação + texto) */
.bh-box { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 0 !important; padding: 14px 14px; border: 1px solid var(--bh-line); color: var(--bh-ink); font-size: 13px; line-height: 1.4; }
.bh-box .bh-icon { margin-top: 1px; }
.bh-box strong { font-weight: 700; }
.bh-box a { color: var(--bh-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Seletor de variantes ---------- */
product-info variant-selects { display: block; }
product-info .product-form__input--pill { display: flex !important; flex-wrap: wrap; gap: 2px; margin: 14px 0 0 !important; padding: 0 !important; border: 0 !important; max-width: none !important; position: relative; }
product-info .product-form__input--pill > legend.form__label { flex: 0 0 100%; width: 100%; margin: 0 0 10px !important; padding: 0 !important; font-family: var(--ex-body) !important; font-size: 14px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--bh-ink) !important; }
product-info .product-form__input--pill input[type="radio"] + label {
  flex: 0 0 calc(20% - 2px); min-width: 0 !important; margin: 0 !important; padding: 0 4px !important; height: 40px;
  display: flex !important; align-items: center; justify-content: center;
  background: var(--bh-grey) !important; color: var(--bh-ink) !important; border: 0 !important; border-radius: 0 !important;
  font-family: var(--ex-body) !important; font-size: 13px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important;
  box-shadow: none !important; transition: background-color .12s ease, color .12s ease; cursor: pointer;
}
product-info .product-form__input--pill input[type="radio"] + label::before { display: none !important; }
product-info .product-form__input--pill input[type="radio"]:hover + label { background: var(--bh-black) !important; color: #fff !important; }
product-info .product-form__input--pill input[type="radio"]:checked + label { background: var(--bh-black) !important; color: #fff !important; font-weight: 700 !important; }
product-info .product-form__input--pill input[type="radio"].disabled + label,
product-info .product-form__input--pill input[type="radio"]:disabled + label { background: #f5f6f7 !important; color: var(--bh-mute) !important; text-decoration: line-through !important; }
product-info .product-form__input--pill input[type="radio"]:focus-visible + label { outline: 2px solid var(--bh-black); outline-offset: 2px; }
/* opção com duas escolhas (ex.: personalizar ou não): cartões largos com barra lateral, um por linha */
product-info .product-form__input--pill:has(> label:nth-of-type(2):last-of-type) input[type="radio"] + label {
  flex: 0 0 100%; height: auto; min-height: 52px; justify-content: flex-start; padding: 12px 14px !important; text-align: left;
  background: #fff !important; border: 1px solid var(--bh-grey-2) !important; font-weight: 700 !important;
}
product-info .product-form__input--pill:has(> label:nth-of-type(2):last-of-type) input[type="radio"]:hover + label { background: #fff !important; color: var(--bh-ink) !important; border-color: var(--bh-black) !important; }
product-info .product-form__input--pill:has(> label:nth-of-type(2):last-of-type) input[type="radio"]:checked + label { background: #fff !important; color: var(--bh-ink) !important; border-color: var(--bh-black) !important; box-shadow: inset 4px 0 0 0 var(--bh-black) !important; }
/* link do guia de tamanhos na linha do rótulo */
.bh-sizeguide { margin: 14px 0 -34px !important; text-align: right; position: relative; z-index: 2; font-size: 14px; }
.bh-sizeguide a { color: var(--bh-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Botão de compra ---------- */
product-info .product-form { margin-top: 16px !important; }
product-info .product-form__buttons { max-width: none !important; }
product-info .product-form__submit {
  min-height: 50px !important; padding: 0 56px 0 18px !important; justify-content: flex-start !important; text-align: left !important;
  border-radius: 0 !important; background-color: var(--bh-black) !important; color: #fff !important; border: 1px solid var(--bh-black) !important;
  font-family: var(--ex-body) !important; font-size: 14px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='square'%3E%3Cpath d='M5 8h14v12.5H5zM8.5 8V6a3.5 3.5 0 017 0v2'/%3E%3Cpath d='M12 11.5v5.5M9.2 14.2h5.6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 16px center !important; background-size: 24px 24px !important;
  box-shadow: 4px 4px 0 0 #fff, 4px 4px 0 1px var(--bh-black) !important; transition: color .12s ease, opacity .12s ease !important;
}
product-info .product-form__submit::before, product-info .product-form__submit::after { display: none !important; }
product-info .product-form__submit:hover { color: #9a9a9a !important; background-color: var(--bh-black) !important; }
product-info .product-form__submit[disabled], product-info .product-form__submit[aria-disabled="true"] { background-color: #c8cbcc !important; border-color: #c8cbcc !important; color: #fff !important; box-shadow: none !important; background-image: none !important; }

/* lista de benefícios abaixo do botão */
.bh-perks { list-style: none; margin: 18px 0 0 !important; padding: 0; display: grid; gap: 8px; font-size: 13px; color: var(--bh-ink); }
.bh-perks li { display: flex; align-items: center; gap: 10px; }
.bh-perks a { color: var(--bh-ink); text-decoration: underline; text-underline-offset: 3px; }
.ex-pay { margin: 16px 0 0 !important; }

/* ---------- Sanfonas abaixo da galeria ---------- */
.bh-det__col { max-width: 880px; }
.bh-det__item { border-top: 1px solid var(--bh-grey-2); }
.bh-det__item:last-child { border-bottom: 1px solid var(--bh-grey-2); }
.bh-det__sum { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; }
.bh-det__sum::-webkit-details-marker { display: none; }
.bh-det__title { margin: 0 !important; font-family: var(--ex-body) !important; font-size: 18px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; line-height: 1.2 !important; }
.bh-det__mark { transition: transform .2s ease; display: inline-flex; }
.bh-det__item[open] .bh-det__mark { transform: rotate(180deg); }
.bh-det__content { padding: 0 0 26px; font-size: 15px; line-height: 1.55; color: var(--bh-ink); }
.bh-det__content h2, .bh-det__content h3 { font-size: 16px !important; margin: 18px 0 8px !important; }

/* ---------- Find your team ---------- */
.bh-tf__title { margin: 0 0 14px !important; font-size: 30px !important; line-height: 1.05 !important; letter-spacing: .08em !important; }
.bh-tf__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.bh-tf__tab { appearance: none; padding: 5px 9px; background: #fff; color: var(--bh-ink); border: 1px solid var(--bh-black); border-radius: 0; font-family: var(--ex-body); font-size: 13px; line-height: 1.2; cursor: pointer; transition: background-color .12s ease, color .12s ease; }
.bh-tf__tab:hover, .bh-tf__tab.is-active { background: var(--bh-black); color: #fff; }
.bh-tf__panel { display: none; }
.bh-tf__panel.is-active { display: block; }
.bh-tf__scroller { display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; }
.bh-tf__scroller::-webkit-scrollbar { display: none; }
.bh-tf__tile { position: relative; flex: 0 0 calc((100% - 20px) / 6); aspect-ratio: 1 / 1; min-width: 150px; display: flex; align-items: center; justify-content: center; background: var(--bh-grey); color: var(--bh-ink); text-decoration: none; scroll-snap-align: start; overflow: hidden; }
.bh-tf__media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.bh-tf__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bh-tf__media--crest img { width: 50%; height: 50%; object-fit: contain; }
.bh-tf__tile:hover .bh-tf__media img { transform: scale(1.05); }
.bh-tf__initials { font-family: var(--ex-heading); font-weight: 700; font-size: 44px; letter-spacing: .08em; color: #b9bfc3; }
.bh-tf__name { position: absolute; left: 10px; bottom: 12px; padding: 3px 6px; background: #fff; color: var(--bh-ink); font-size: 12px; line-height: 1.2; }
.bh-tf__bar { display: flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--bh-mute); }
.bh-tf__arrow { appearance: none; background: none; border: 0; padding: 2px; color: var(--bh-mute); cursor: pointer; display: inline-flex; }
.bh-tf__arrow:hover { color: var(--bh-black); }
.bh-tf__track { position: relative; flex: 1 1 auto; height: 4px; background: #f3f4f5; }
.bh-tf__thumb { position: absolute; top: 0; bottom: 0; left: 0; background: #8d9194; }
@media screen and (max-width: 989px) { .bh-tf__tile { flex-basis: 34%; } .bh-tf__title { font-size: 24px !important; } }
@media screen and (max-width: 599px) { .bh-tf__tile { flex-basis: 46%; min-width: 0; } }

/* ---------- Popup do app ---------- */
.bh-app { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 360px; max-width: calc(100vw - 32px); padding: 20px 20px 18px; background: #fff; color: var(--bh-ink); border: 1px solid var(--bh-black); box-shadow: 6px 6px 0 0 var(--bh-black); opacity: 0; transform: translateY(16px); transition: opacity .28s ease, transform .28s ease; }
.bh-app[hidden] { display: none; }
.bh-app.is-open { opacity: 1; transform: translateY(0); }
.bh-app__close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; display: grid; place-items: center; background: none; border: 0; color: var(--bh-ink); cursor: pointer; }
.bh-app__body { display: flex; align-items: flex-start; gap: 12px; padding-right: 26px; }
.bh-app__icon { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; background: var(--bh-black); color: #fff; }
.bh-app__kicker { margin: 0 0 4px !important; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bh-mute); }
.bh-app__title { margin: 0 !important; font-family: var(--ex-heading); font-weight: 700; font-size: 20px; line-height: 1.1; letter-spacing: .06em; text-transform: uppercase; }
.bh-app__sub { margin: 6px 0 0 !important; font-size: 13px; line-height: 1.4; }
.bh-app__stores { display: flex; gap: 10px; margin-top: 16px; }
.bh-app__badge { flex: 1 1 0; display: block; line-height: 0; }
.bh-app__badge img { width: 100%; height: auto; max-height: 46px; object-fit: contain; object-position: left center; }
@media screen and (max-width: 749px) {
  .bh-app { left: 0; right: 0; bottom: 0; width: auto; max-width: none; border-left: 0; border-right: 0; border-bottom: 0; box-shadow: 0 -6px 24px rgba(0, 0, 0, .12); padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(100%); }
}

/* ajustes finos (2026-10-08) */
.bh-tf__title { text-align: left !important; }
.bh-tf__name { text-transform: capitalize; }
.bh-det__title { text-align: left !important; }

/* 2026-10-08: sem selo "Sale" nos cards e na PDP (o preço riscado continua; "Sold out" continua) */
.bh-badge-sale, .price__badge-sale { display: none !important; }

/* 2026-10-08: selo de versão no canto inferior esquerdo da foto do card */
.card__inner { position: relative; }
.bh-ver { position: absolute; left: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: center; padding: 5px 9px 4px; font-family: var(--ex-heading); font-weight: 700; font-size: 11px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; pointer-events: none; border-radius: 0; }
.bh-ver--fan { background: #0e1a33; color: #f4f1ea; }
.bh-ver--pro { background: #c2571a; color: #fff7ef; }
.bh-ver--kids { background: #e3b53c; color: #2a2007; }
.bh-ver--woman { background: #c3b1e1; color: #2b1f47; }
.bh-ver--vintage { background: #8b8b87; color: #fff; }
.bh-ver--special { background: linear-gradient(105deg, #a47c3b 0%, #e9d29a 45%, #c9a45c 70%, #9a7230 100%); color: #2b1d05; }
.card__badge:has(.badge:not(.bh-badge-sale)) { bottom: 34px; }

/* 2026-10-08: opção com duas escolhas na MESMA linha (selecionada preta, a outra branca com contorno) */
product-info .product-form__input--pill:has(> label:nth-of-type(2):last-of-type) { gap: 8px; flex-wrap: wrap; }
product-info .product-form__input--pill:has(> label:nth-of-type(2):last-of-type) input[type="radio"] + label {
  flex: 1 1 0 !important; min-width: 0 !important; height: 48px; min-height: 48px; justify-content: center; text-align: center; padding: 0 12px !important; position: relative; overflow: visible;
  background: #fff !important; color: var(--bh-ink) !important; border: 1px solid var(--bh-grey-2) !important; box-shadow: none !important; font-size: 14px !important; font-weight: 700 !important;
}
product-info .product-form__input--pill:has(> label:nth-of-type(2):last-of-type) input[type="radio"]:hover + label { background: #fff !important; color: var(--bh-ink) !important; border-color: var(--bh-black) !important; }
product-info .product-form__input--pill:has(> label:nth-of-type(2):last-of-type) input[type="radio"]:checked + label,
product-info .product-form__input--pill:has(> label:nth-of-type(2):last-of-type) input[type="radio"]:checked:hover + label { background: var(--bh-black) !important; color: #fff !important; border-color: var(--bh-black) !important; box-shadow: none !important; }
.bh-cz-tag { position: absolute; top: -9px; right: -1px; padding: 3px 7px 2px; background: #e8691f; color: #fff; font-family: var(--ex-heading); font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }

/* ===== 2026-10-08: guia de tamanhos em popup ===== */
html.bh-sg-open { overflow: hidden; }
dialog.bh-sg { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(720px, calc(100vw - 24px)); max-width: none; max-height: min(88vh, 860px); padding: 0; border: 0; border-radius: 0; background: #fff; color: #000; font-family: var(--ex-body); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); overflow: hidden; }
dialog.bh-sg::backdrop { background: rgba(0, 0, 0, .55); }
dialog.bh-sg:not([open]) { display: none; }
.bh-sg__shell { display: flex; flex-direction: column; max-height: min(88vh, 860px); }
.bh-sg__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #d3d7da; flex: 0 0 auto; }
.bh-sg__thumb { width: 48px; height: 48px; object-fit: cover; background: #eceff1; flex: 0 0 auto; }
.bh-sg__heading { flex: 1 1 auto; min-width: 0; }
.bh-sg__eyebrow { margin: 0 0 2px !important; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #767677; }
.bh-sg__title { margin: 0 !important; font-size: 20px !important; line-height: 1.1 !important; text-align: left !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bh-sg__close { appearance: none; flex: 0 0 auto; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: #000; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bh-sg__body { padding: 16px 20px 22px; overflow-y: auto; overscroll-behavior: contain; }
.bh-sg__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
.bh-sg__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.bh-sg__tab { appearance: none; padding: 7px 12px; background: #fff; color: #000; border: 1px solid #000; border-radius: 0; font-family: var(--ex-body); font-size: 13px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.bh-sg__tab.is-active, .bh-sg__tab:hover { background: #000; color: #fff; }
.bh-sg__units { display: inline-flex; border: 1px solid #d3d7da; }
.bh-sg__units button { appearance: none; padding: 7px 10px; border: 0; border-radius: 0; background: #fff; color: #000; font-family: var(--ex-body); font-size: 12px; font-weight: 700; cursor: pointer; }
.bh-sg__units button[aria-pressed="true"] { background: #eceff1; }
.bh-sg__panel { display: none; }
.bh-sg__panel.is-active { display: block; }
.bh-sg__tip { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 12px !important; padding: 10px 12px; background: #eceff1; font-size: 13px; line-height: 1.4; color: #000; }
.bh-sg__tip .bh-icon { margin-top: 1px; }
.bh-sg__scroll { overflow-x: auto; }
.bh-sg__table { width: 100%; border-collapse: collapse; font-size: 14px; box-shadow: none !important; border: 0 !important; }
.bh-sg__table th, .bh-sg__table td { padding: 11px 10px; border: 0 !important; border-bottom: 1px solid #e5e5e5 !important; text-align: center; white-space: nowrap; font-family: var(--ex-body); letter-spacing: 0; text-transform: none; color: #000; }
.bh-sg__table thead th { font-size: 12px; font-weight: 700; background: #fff; border-bottom: 1px solid #000 !important; }
.bh-sg__table thead th small { font-weight: 400; color: #767677; }
.bh-sg__table tbody th { font-weight: 700; text-align: left; }
.bh-sg__table thead th:first-child { text-align: left; }
.bh-sg__table tr.is-current th, .bh-sg__table tr.is-current td { background: #000; color: #fff; }
.bh-sg__note { margin: 10px 0 0 !important; font-size: 12px; color: #767677; }
.bh-sg__how { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 14px 16px; border: 1px solid #d3d7da; font-size: 13px; line-height: 1.4; }
.bh-sg__how p { margin: 4px 0 0 !important; }
.bh-sg__draw { width: 96px; height: auto; flex: 0 0 auto; color: #000; }
@media screen and (max-width: 599px) {
  dialog.bh-sg { width: 100vw; max-height: 92vh; inset: auto 0 0 0; margin: 0; }
  .bh-sg__shell { max-height: 92vh; }
  .bh-sg__head { padding: 12px 14px; } .bh-sg__body { padding: 12px 14px 20px; }
  .bh-sg__table th, .bh-sg__table td { padding: 10px 8px; font-size: 13px; }
  .bh-sg__how { align-items: flex-start; } .bh-sg__draw { width: 72px; }
}

/* 2026-10-08: produtos de patch não aparecem nas vitrines (grades, carrosséis, busca, relacionados) */
li:has(.bh-patch-flag), .grid__item:has(.bh-patch-flag), .bh-vc__item:has(.bh-patch-flag) { display: none !important; }

/* 2026-10-08: selo "Sold out" em vermelho rubi (cards e página de produto) */
.card__badge .badge:not(.bh-badge-sale), .price__badge-sold-out, .badge.price__badge-sold-out { background: #9b111e !important; color: #fff !important; border-color: #9b111e !important; }
.card__badge .badge:not(.bh-badge-sale) { padding: 5px 9px 4px !important; font-family: var(--ex-heading) !important; font-weight: 700 !important; font-size: 11px !important; line-height: 1 !important; letter-spacing: .16em !important; text-transform: uppercase !important; }
.price--sold-out .price__badge-sold-out { display: inline-block !important; }
