/* Black Week: usa la paleta y tipografías de la marca (variables --sf-*), con el bronce como color de oferta. */
:root { --bw-acento: #A8632E; --bw-acento-claro: #D9A777; --bw-fondo: #17212B; }

/* ---------- precios ---------- */
.bw-precio { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.bw-antes { color: #5d6f80; font-size: 1.05em; font-weight: 600; text-decoration: line-through; text-decoration-color: var(--bw-acento); text-decoration-thickness: 2px; }
.bw-final { color: var(--sf-text, #2F4156); font-size: 1.75em; font-weight: 800; line-height: 1.1; letter-spacing: -.015em; }
.bw-badge { background: var(--bw-acento); color: #fff; font-size: .72em; font-weight: 800; letter-spacing: .03em; padding: 3px 9px; border-radius: 999px; white-space: nowrap; align-self: center; }
.bw-transf { flex-basis: 100%; font-size: .78em; font-weight: 700; color: var(--sf-accent-2, #567C8D); text-transform: uppercase; letter-spacing: .05em; }
.sf-prod-price.bw-on { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.sf-prod-price.bw-on .bw-tam { font-size: .9em; }
.sf-prod-opcion-precio .bw-precio { flex-direction: column; align-items: flex-end; gap: 0; }
.sf-prod-opcion-precio .bw-badge { margin-top: 3px; }
.bw-radio-txt { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }

/* ---------- ítem del menú ---------- */
.bw-li { margin-right: 2px; }
.bw-nav { background: var(--bw-acento); color: #fff !important; font-weight: 800 !important; font-size: 1.2em !important; letter-spacing: .02em; padding: 5px 14px !important; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; line-height: 1.2; }
.bw-nav span { display: inline-flex; align-items: center; gap: 8px; }
.bw-nav:hover { background: var(--bw-fondo); color: #fff !important; }
.bw-flame { flex: none; }
.menu-drawer__menu .bw-nav { font-size: 1.7rem !important; margin: 8px 0 8px 20px; padding: 10px 22px !important; }
@media (min-width: 1240px) { .bw-nav { font-size: 1.1em !important; padding: 4px 12px !important; } }

/* ---------- página Black Week ---------- */
.bw-hero { background: radial-gradient(120% 140% at 50% 0%, #2F4156 0%, var(--bw-fondo) 70%); color: #F5EFE6; text-align: center; padding: 26px 16px 40px; }
.bw-hero-in { max-width: 820px; margin: 0 auto; }
.sf-scope .bw-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--bw-acento-claro); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; margin: 0 0 10px; }
.sf-scope .bw-hero h1 { font-family: var(--sf-font-heading, Georgia, serif); font-weight: 400; color: #F5EFE6; font-size: clamp(2.6rem, 11vw, 4.6rem); line-height: 1; margin: 0 0 12px; }
.bw-hero h1 em { font-style: normal; color: var(--bw-acento-claro); }
.sf-scope .bw-sub { margin: 0 auto 26px; max-width: 34ch; font-size: clamp(1rem, 3.8vw, 1.2rem); color: #E6D8BF; }
.bw-sub strong { color: #fff; }
.bw-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, 2vw, 18px); max-width: 780px; margin: 0 auto 30px; }
.bw-unit { background: rgba(255, 255, 255, .08); border: 1px solid rgba(217, 167, 119, .55); border-radius: 16px; padding: clamp(14px, 4vw, 30px) 4px; }
.bw-num { display: block; font-family: var(--sf-font-heading, Georgia, serif); font-size: clamp(2.6rem, 14vw, 6rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.bw-lab { display: block; margin-top: 8px; font-size: clamp(.7rem, 3vw, 1rem); letter-spacing: .12em; text-transform: uppercase; color: var(--bw-acento-claro); font-weight: 800; }
.bw-countdown.bw-terminada { display: block; }
.sf-scope .bw-terminada-txt { font-family: var(--sf-font-heading, Georgia, serif); font-size: clamp(1.6rem, 7vw, 2.6rem); margin: 0; color: var(--bw-acento-claro); }
.sf-scope .bw-fin-texto { margin: 18px 0 0; color: #E6D8BF; font-size: .95rem; }
.bw-estado { margin-top: 8px; }
.sf-scope .bw-estado p { margin: 0 0 16px; font-size: 1.1rem; }
.bw-hero.bw-off { padding: 56px 16px; }

.bw-hero.bw-off .bw-sub { display: none; }

/* promos apagadas desde black-week-config.js (SF_PROMOS) */
html.promo-segunda-off [data-promo="segunda"] { display: none !important; }
.sf-prod-opcion-precio .bw-transf { text-align: right; flex-basis: auto; margin-top: 4px; }

/* ============ MEGA OFERTAS + listado con filtros ============ */
.bw-pagina [hidden] { display: none !important; }
.bw-oculto { display: none !important; }
.sf-scope .bw-titulo { font-family: var(--sf-font-heading, Georgia, serif); font-weight: 400; font-size: clamp(1.9rem, 7vw, 3rem); line-height: 1.05; margin: 0 0 6px; text-align: center; color: var(--sf-text, #2F4156); }
.sf-scope .bw-subtitulo { text-align: center; margin: 0 0 22px; color: var(--sf-accent-2, #567C8D); font-weight: 600; }

.bw-mega { background: linear-gradient(180deg, #F3E3D2 0%, var(--sf-bg, #F5EFEB) 100%); padding: 36px 0 30px; border-bottom: 1px solid var(--sf-divider, rgba(47,65,86,.16)); }
.sf-scope .bw-titulo-mega { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--bw-acento); font-size: clamp(2.1rem, 8vw, 3.6rem); }
.bw-titulo-mega .bw-flame { width: .8em; height: .8em; }
.bw-mega-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.bw-mega-card { position: relative; flex: 0 1 calc(50% - 10px); min-width: 0; border: 3px solid var(--bw-acento); border-radius: 30px; background: #fff; box-shadow: 0 14px 34px rgba(168, 99, 46, .28); }
.bw-mega-grid[data-n="3"] .bw-mega-card, .bw-mega-grid[data-n="5"] .bw-mega-card { flex-basis: calc(33.333% - 14px); }
.bw-mega-grid[data-n="1"] .bw-mega-card { flex-basis: min(520px, 100%); }
.bw-mega-card .sf-prod-card { border-radius: 26px; box-shadow: none; padding-bottom: 14px; }
.bw-mega-card .sf-card-title { font-size: clamp(1.25rem, 3.4vw, 1.7rem); }
.bw-mega-card .sf-prod-price, .bw-mega-card .bw-radio-txt { font-size: 1.15em; }
.bw-mega-card .bw-final { font-size: 2.3em; }
.bw-mega-card .bw-antes { font-size: 1.2em; }
.bw-mega-card .bw-badge { font-size: .85em; }
.bw-mega-cinta { position: absolute; z-index: 2; top: 18px; left: -8px; background: var(--bw-acento); color: #fff; font-weight: 800; letter-spacing: .03em; font-size: clamp(1.15rem, 3.6vw, 1.6rem); padding: 8px 22px 8px 18px; border-radius: 0 999px 999px 0; box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }
.bw-ultimas { position: absolute; z-index: 2; top: 20px; right: 14px; background: var(--bw-fondo); color: var(--bw-acento-claro); font-weight: 800; font-size: clamp(.78rem, 2.4vw, 1rem); padding: 7px 14px; border-radius: 999px; box-shadow: 0 6px 14px rgba(0, 0, 0, .25); animation: bw-latido 1.8s ease-in-out infinite; }
@keyframes bw-latido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .bw-ultimas { animation: none; } }
@media (max-width: 749px) { .bw-mega-card, .bw-mega-grid[data-n="3"] .bw-mega-card, .bw-mega-grid[data-n="5"] .bw-mega-card { flex-basis: 100%; } }

.bw-lista { padding: 36px 0 56px; }
.bw-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.bw-filtros { position: sticky; top: 90px; background: #fff; border: 1px solid var(--sf-divider, rgba(47,65,86,.16)); border-radius: 20px; padding: 18px; box-shadow: var(--sf-shadow-sm, 0 1px 2px rgba(46,43,37,.14)); }
.bw-filtros-cab { display: flex; align-items: center; justify-content: space-between; font-size: 1.1rem; margin-bottom: 6px; }
.bw-cerrar, .bw-filtrar, .bw-fondo-sheet, .bw-ver { display: none; }
.bw-grupo { border: 0; margin: 0; padding: 12px 0; border-top: 1px solid var(--sf-divider, rgba(47,65,86,.16)); }
.bw-grupo:first-of-type { border-top: 0; }
.bw-grupo legend { padding: 0 0 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--sf-accent-2, #567C8D); }
.bw-op { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 1rem; }
.bw-op input { width: 18px; height: 18px; accent-color: var(--bw-acento); flex: none; }
.bw-op span { flex: 1; }
.bw-op .bw-n { font-style: normal; color: var(--sf-neutral-400, #9DB2C2); font-weight: 600; }
.bw-op.bw-sin { opacity: .45; }
.bw-filtros-pie { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.bw-barra { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.bw-buscar { flex: 1 1 220px; min-width: 0; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--sf-divider, rgba(47,65,86,.3)); background: #fff; font: inherit; color: var(--sf-text, #2F4156); }
.bw-buscar:focus, .bw-orden select:focus { outline: 2px solid var(--bw-acento); outline-offset: 1px; }
.bw-orden { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--sf-accent-2, #567C8D); font-weight: 700; white-space: nowrap; }
.bw-orden select { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--sf-divider, rgba(47,65,86,.3)); background: #fff; font: inherit; color: var(--sf-text, #2F4156); }
.sf-scope .bw-cantidad { margin: 0 0 14px; font-weight: 700; color: var(--sf-text, #2F4156); }
.bw-resultados .sf-prod-grid { display: grid; gap: var(--sf-space-4, 18px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bw-vacio { text-align: center; padding: 46px 12px; background: #fff; border-radius: 20px; }
.sf-scope .bw-vacio p { font-family: var(--sf-font-heading, Georgia, serif); font-size: 1.5rem; margin: 0 0 16px; }

@media (max-width: 989px) {
  .bw-layout { display: block; }
  .bw-filtrar { display: inline-flex; flex: none; }
  .bw-filtros { position: fixed; z-index: 1000; left: 0; right: 0; bottom: 0; top: auto; max-height: 86vh; display: flex; flex-direction: column; border-radius: 22px 22px 0 0; border: 0; padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); transform: translateY(105%); visibility: hidden; transition: transform .28s ease, visibility 0s .28s; box-shadow: 0 -10px 40px rgba(0,0,0,.3); }
  .bw-filtros.bw-abierto { transform: none; visibility: visible; transition: transform .28s ease; }
  .bw-filtros-cuerpo { overflow-y: auto; flex: 1; }
  .bw-cerrar { display: inline-flex; background: none; border: 0; font-size: 2rem; line-height: 1; padding: 0 6px; cursor: pointer; color: var(--sf-text, #2F4156); }
  .bw-layout .bw-fondo-sheet { display: block !important; position: fixed; inset: 0; z-index: 999; background: rgba(23, 33, 43, .55); }
  .bw-layout .bw-fondo-sheet[hidden] { display: none !important; }
  .bw-ver { display: inline-flex; }
  .bw-filtros-pie { flex-direction: row; }
  .bw-filtros-pie .sf-btn { flex: 1 1 0; min-width: 0; justify-content: center; padding-left: 10px; padding-right: 10px; white-space: normal; text-align: center; line-height: 1.2; }
  html.bw-sheet-abierto { overflow: hidden; }
  .bw-resultados .sf-prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bw-orden span { display: none; }
}
@media (max-width: 749px) {
  .bw-resultados .sf-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bw-lista { padding-left: 10px; padding-right: 10px; }
  .bw-resultados .sf-prod-card { min-width: 0; overflow: hidden; }
  .bw-resultados .sf-form-botones .sf-btn { padding-left: 6px; padding-right: 6px; font-size: 12px; }
  .bw-barra { gap: 8px; }
  .bw-buscar { order: 3; flex-basis: 100%; }
}
.bw-mega-card .sf-prod-img { aspect-ratio: 1/1; background: var(--sf-neutral-200); }
.bw-mega-card .sf-prod-img img { width: 100%; height: 100%; object-fit: contain; padding: 3%; box-sizing: border-box; }
.bw-mega-card .sf-decant-opciones { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--sf-space-2, 9px); }
.bw-mega-card .sf-form-botones { display: flex; gap: 8px; }
.bw-mega-card .sf-form-botones .sf-btn { flex: 1; min-width: 0; }

/* ============ Promo 4x3 en decants (otro color: azul petróleo de la marca) ============ */
.d4-pagina { --bw-acento: #3F6B7A; --bw-acento-claro: #BFE0EA; --bw-fondo: #14262F; }
.bw-nav.d4-nav { background: #3F6B7A; }
.bw-nav.d4-nav:hover { background: #14262F; }
.bw-li + .d4-li { margin-right: 2px; }
.menu-drawer__menu .bw-nav.d4-nav { margin-top: 0; }
.d4-aviso { background: #E7F1F4; color: #14262F; border: 1px dashed #3F6B7A; border-radius: 12px; padding: 10px 14px; font-size: .95rem; margin-bottom: 12px; line-height: 1.4; }
.d4-aviso a { color: #3F6B7A; font-weight: 800; text-decoration: underline; white-space: nowrap; }
html.promo-4x3-off [data-promo="4x3"], html.promo-4x3-off .d4-li { display: none !important; }
html.promo-segunda-off.promo-4x3-off.promo-ex-off .sf-promo { display: none !important; }
@media (min-width: 990px) and (max-width: 1239px) { .bw-nav { font-size: .9em !important; padding: 3px 8px !important; gap: 4px; } .bw-nav .bw-flame { display: none; } .bw-nav, .bw-nav span { white-space: nowrap; } nav.header__inline-menu .list-menu__item:not(.bw-nav) { padding-left: 8px; padding-right: 8px; } }
nav.header__inline-menu > ul.list-menu--inline { flex-wrap: nowrap; }
.bw-nav, .bw-nav span { white-space: nowrap; }
.bw-pagina .sf-decant-opciones { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--sf-space-2, 9px); }

/* ============ Sello "100% original" arriba de cada foto de perfume ============ */
.sf-prod-img, .sf-prod-media-main { position: relative; }
.sf-prod-img::before, .sf-prod-media-main::before { content: "✓ 100% original"; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 2; background: rgba(255, 255, 255, .95); color: var(--sf-text, #2F4156); border: 1px solid rgba(47, 65, 86, .2); font: 700 11px/1 var(--sf-font-body, sans-serif); letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); pointer-events: none; }
.sf-prod-media-main::before { top: 12px; font-size: 13px; padding: 7px 14px; }
@media (max-width: 989px) { .bw-mega-card .sf-prod-img::before { top: 64px; font-size: 11px; } }
@media (max-width: 749px) { .sf-prod-img::before { font-size: 10px; padding: 4px 8px; top: 6px; } .bw-mega-card .sf-prod-img::before { top: 64px; font-size: 11px; } }
.bw-mega-grid[data-n="3"] .bw-mega-card .sf-prod-img::before, .bw-mega-grid[data-n="5"] .bw-mega-card .sf-prod-img::before { top: 64px; font-size: 11px; }

/* ============ Botón flotante WhatsApp / TikTok / Instagram ============ */
/* (en Cloudflare no hay cartel de hosting: el botón vuelve a su lugar original) */

/* ============ MEGA OFERTAS: 3 perfumes por fila (computadora y celular) ============ */
.bw-mega-grid[data-n] .bw-mega-card { flex: 0 0 calc(33.333% - 14px); }
.bw-mega-grid .bw-mega-card .sf-prod-img::before { top: 64px; font-size: 11px; }
@media (max-width: 749px) {
  .bw-mega { padding: 24px 0 20px; }
  .bw-mega .sf-container { padding-left: 8px; padding-right: 8px; }
  .bw-mega-grid { gap: 8px; }
  .bw-mega-grid[data-n] .bw-mega-card { flex: 0 0 calc(33.333% - 6px); border-width: 2px; border-radius: 16px; }
  .bw-mega-card .sf-prod-card { border-radius: 13px; padding: 5px 5px 8px; }
  .bw-mega-card .sf-prod-tags, .bw-mega-card .bw-badge, .bw-mega-card .bw-transf { display: none; }
  .bw-mega-card .sf-card-title { font-size: 11.5px; line-height: 1.2; }
  .bw-mega-card .sf-prod-price { font-size: 10px; gap: 1px; }
  .bw-mega-card .bw-final { font-size: 1.45em; }
  .bw-mega-card .bw-antes { font-size: 1em; }
  .bw-mega-card .sf-form-botones .sf-btn { font-size: 9.5px; padding: 7px 3px; line-height: 1.15; white-space: normal; }
  .bw-mega-cinta { top: 8px; left: -4px; font-size: 10.5px; padding: 3px 8px 3px 6px; }
  .bw-ultimas { top: 31px; right: 5px; font-size: 7.5px; padding: 3px 6px; animation: none; }
  .bw-mega-grid .bw-mega-card .sf-prod-img::before { top: 52px; font-size: 8px; padding: 3px 6px; }
}
@media (max-width: 749px) {
  .bw-mega-card { padding-top: 0; }
  .bw-ultimas { position: static; display: block; margin: 0; border-radius: 14px 14px 0 0; text-align: center; box-shadow: none; font-size: 8px; padding: 4px 2px; letter-spacing: .01em; }
  .bw-mega-card .sf-prod-card { border-radius: 0 0 13px 13px; }
  .bw-mega-cinta { top: 30px; left: -6px; font-size: 10px; padding: 3px 7px 3px 5px; }
  .bw-mega-grid[data-n] .bw-mega-card .sf-prod-img::before { top: 27px; left: 50%; right: auto; transform: translateX(-50%); font-size: 7.5px; padding: 3px 5px; }
}

/* ============ Logo del encabezado más grande en computadora ============ */
@media (min-width: 990px) {
  .header__heading-logo-wrapper { width: 100px !important; max-width: 100px !important; }
  .header__heading-logo { width: 100px !important; max-width: 100px !important; height: auto; }
}
@media (min-width: 1240px) {
  .header__heading-logo-wrapper { width: 115px !important; max-width: 115px !important; }
  .header__heading-logo { width: 115px !important; max-width: 115px !important; }
}
