/* títulos navideños: Mountains of Christmas (Apache 2.0), alojada en la tienda */
@font-face { font-family: "Mountains of Christmas"; font-weight: 400; font-display: swap; src: url(/fonts/mountains-400.woff2) format("woff2"); }
@font-face { font-family: "Mountains of Christmas"; font-weight: 700; font-display: swap; src: url(/fonts/mountains-700.woff2) format("woff2"); }
/* Página especial de la sudadera de Navidad (solo se carga ahí). Los dos colores de la prenda mandan: --sn-a/--sn-b. */
.sn-hero, .sn-fin { --ola: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1200V30C1110 42 1070 40 920 22 770 4 650 16 470 30 290 44 150 4 0 26z'/%3E%3C/svg%3E") 0 100% / 100% 56px no-repeat; --sn-a: #741B30; --sn-oro: #F0C467; }
.sn-hero[data-color="verde"] { --sn-a: #1F5E41; }
/* portada: el patio nevado de fondo; título y compra a la izquierda, sudaderas flotando a la derecha */
.sn-hero { position: relative; min-height: clamp(600px, 46vw, 860px); margin-top: 16px; overflow: hidden; display: flex; color: #fff; }
.sn-cielo { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,10,16,.9) 0, rgba(28,10,16,.74) 30%, rgba(28,10,16,.12) 56%, transparent 68%), url(/img/tienda/sudadera-navidad/fondo.webp) 0 0 / cover no-repeat #2B1B21; }
/* el borde de abajo es una ola recortada en la propia foto: debajo se ve el fondo de la página, sin costura de color */
.sn-cielo { -webkit-mask: linear-gradient(#000, #000) 0 0 / 100% calc(100% - 55px) no-repeat, var(--ola); mask: linear-gradient(#000, #000) 0 0 / 100% calc(100% - 55px) no-repeat, var(--ola); }
.sn-cielo::after { content: ""; position: absolute; inset: 0; background: var(--sn-a); opacity: 0; mix-blend-mode: soft-light; transition: opacity .6s, background .6s; }
.sn-hero:not([data-color="dos"]) .sn-cielo::after { opacity: .55; }
.sn-suelo { fill: #FFFBFC; } .sn-bosque { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(120px, 22vw, 220px); } .sn-abeto { fill: rgba(5,18,13,.82); } .sn-abeto.sn-lejos { fill: rgba(255,255,255,.07); }
.sn-dentro { position: relative; z-index: 1; display: grid; grid-template: "txt prenda" 1fr "acc prenda" 1fr / .86fr 1.14fr; gap: 26px 30px; width: 100%; max-width: var(--max); margin: 0 auto; padding: 40px var(--gap) 80px; }
.sn-txt { grid-area: txt; align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-shadow: 0 2px 14px rgba(28,10,16,.75); }
.sn-txt h2 { margin: 0; color: #fff; text-align: left; } .sn-txt h2 strong { display: block; color: var(--sn-oro); }
.sn-txt p { margin: 0; max-width: 430px; font-size: 16.5px; line-height: 1.5; font-weight: 500; color: #FFFBFC; }
.sn-hero .esp-sello { border-color: var(--sn-oro); background: rgba(28,10,16,.45); }
.sn-prenda { grid-area: prenda; position: relative; display: grid; place-items: center; min-height: 0; }
.sn-prenda img { grid-area: 1 / 1; width: auto; max-width: 100%; height: clamp(350px, 34vw, 610px); object-fit: contain; filter: drop-shadow(0 30px 30px rgba(28,10,16,.55)) brightness(1.14); transform-origin: 50% 0; opacity: 0; visibility: hidden; transform: translateY(-26px) rotate(-5deg) scale(.95); transition: opacity .45s, transform .6s cubic-bezier(.2,.9,.3,1.25), visibility .45s; }
.sn-prenda img.sn-dos { filter: drop-shadow(0 30px 30px rgba(28,10,16,.55)); }
.sn-hero[data-color="dos"] [data-sn-foto="dos"], .sn-hero[data-color="verde"] [data-sn-foto="verde"], .sn-hero[data-color="granate"] [data-sn-foto="granate"] { opacity: 1; visibility: visible; transform: none; animation: sn-mece 5s ease-in-out .6s infinite alternate; }
@keyframes sn-mece { from { transform: rotate(-1.4deg) translateY(-4px); } to { transform: rotate(1.4deg) translateY(6px); } }
.sn-halo { grid-area: 1 / 1; width: 88%; aspect-ratio: 1.25; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,232,190,.62), rgba(255,232,190,0)); }
.sn-acc { grid-area: acc; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 8px; }
.sn-bolas { display: flex; gap: 12px; flex-wrap: wrap; }
.sn-bola { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 6px 22px 6px 14px; border: 2px solid rgba(255,255,255,.55); border-radius: 999px; background: rgba(28,10,16,.6); color: #fff; font: 700 15px Montserrat, sans-serif; transition: border-color .15s, background .15s, color .15s; }
.sn-bola img { width: 46px; height: auto; margin: -16px 0 -6px; transform-origin: 50% 4%; filter: drop-shadow(0 5px 7px rgba(0,0,0,.4)); transition: transform .3s; }
.sn-bola:hover img, .sn-bola[aria-pressed="true"] img { animation: sn-cuelga 1.5s ease-in-out; }
@keyframes sn-cuelga { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(15deg); } 45% { transform: rotate(-11deg); } 70% { transform: rotate(6deg); } 88% { transform: rotate(-3deg); } }
.sn-bola[aria-pressed="true"] { background: #fff; border-color: var(--sn-oro); color: #2B1B21; }
.sn-cta { display: flex; align-items: center; gap: 16px; } .sn-precio { font-size: 28px; font-weight: 800; text-shadow: 0 2px 10px rgba(28,10,16,.8); white-space: nowrap; }
.sn-hero .sn-cta .btn { background: #fff; color: #2B1B21; min-height: 56px; font-weight: 700; white-space: nowrap; } .sn-hero .sn-cta .btn .flecha { background: var(--sn-a); color: #fff; }

/* música */
.sn-musica { position: fixed; right: 128px; bottom: 22px; z-index: 72;   /* a la izquierda del muñeco de nieve */ display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 18px; border: 2px solid #E3B04B; border-radius: 999px; background: #2B1B21; color: #fff; font: 700 13.5px Montserrat, sans-serif; box-shadow: 0 8px 26px rgba(43,27,33,.3); }
.sn-musica i { display: none; align-items: flex-end; gap: 3px; height: 16px; } .sn-musica i b { width: 3px; height: 100%; border-radius: 2px; background: #E3B04B; transform-origin: 50% 100%; animation: sn-ecu .7s ease-in-out infinite alternate; }
.sn-musica i b:nth-child(2) { animation-delay: -.25s; } .sn-musica i b:nth-child(3) { animation-delay: -.5s; }
.sn-musica[aria-pressed="true"] i { display: inline-flex; } .sn-musica[aria-pressed="true"] span { display: none; }
@keyframes sn-ecu { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

.sn-hero ~ .pdp { margin-top: 34px; }

/* el verde de esta prenda es más oscuro que el verde de la carta de colores */
.pdp-color[style*="#3BA55C" i] { --c: #0F4A33 !important; } .pdp-color[style*="#7A1E35" i] { --c: #5A0F25 !important; }
.sn-rasgos .rasgos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sn-faq { display: block; } .sn-faq .esp-txt { max-width: 820px; margin: 0 auto; }

/* las dos juntas */
.sn-pareja { margin-top: 40px; } .sn-pareja .esp-foto img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; }
.sn-pareja-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; } .sn-pareja-btns .btn { color: #fff; font-weight: 700; } .sn-pareja-btns .sn-fin-verde { background: #1F5E41; } .sn-pareja-btns .sn-fin-granate { background: #741B30; }
.sn-pareja-btns .flecha { background: #fff !important; color: #2B1B21 !important; }

/* cierre */
.sn-fin { position: relative; margin-top: 64px; padding: 76px 20px 190px; overflow: hidden; text-align: center; color: #fff; background: radial-gradient(90% 100% at 50% 0%, #1F5E41, #0E2A1F 60%, #12070b); }
.sn-fin > div { position: relative; z-index: 1; } .sn-fin h2 { margin: 0 0 10px; color: #fff; font-size: clamp(30px, 4vw, 54px); font-weight: 300; line-height: 1.1; text-align: center; } .sn-fin h2 strong { font-weight: 800; color: #E3B04B; }
.sn-fin p { margin: 0 0 24px; color: rgba(255,255,255,.88); font-size: 17px; } .sn-fin-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sn-fin .btn { background: #fff; color: #2B1B21; font-weight: 700; min-width: 200px; } .sn-fin-verde .flecha { background: #1F5E41 !important; color: #fff !important; } .sn-fin-granate .flecha { background: #741B30 !important; color: #fff !important; }
.sn-copo { position: fixed; top: -20px; z-index: 5; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px rgba(43,27,33,.2); pointer-events: none; animation: sn-cae linear infinite; }
@keyframes sn-cae { to { transform: translate(40px, calc(100vh + 40px)); } }
.sn-chispa { position: fixed; z-index: 90; pointer-events: none; font-size: 18px; animation: sn-chispa .9s ease-out forwards; }
@keyframes sn-chispa { to { transform: translate(var(--x), var(--y)) rotate(160deg) scale(.4); opacity: 0; } }

@media (max-width: 900px) {
  .sn-hero { min-height: 0; margin-top: 10px; }
  /* la foto vertical llena la portada: título sobre el cielo, sudaderas en el centro y compra sobre la nieve */
  .sn-cielo { background: linear-gradient(180deg, rgba(16,14,44,.62) 0, rgba(16,14,44,.28) 38%, transparent 56%), linear-gradient(0deg, rgba(28,10,16,.82) 0, rgba(28,10,16,.5) 18%, transparent 36%), url(/img/tienda/sudadera-navidad/portada-movil.webp) 62% 50% / cover no-repeat #1b1a3a; }
  .sn-dentro { grid-template: "txt" auto "prenda" 1fr "acc" auto / minmax(0, 1fr); gap: 10px; padding: 66px 20px 62px; }
  .sn-txt { align-items: center; text-align: center; gap: 8px; } .sn-txt h2 { text-align: center; } .sn-txt p { font-size: 15px; font-weight: 500; }
  .sn-txt .esp-sello { position: absolute; top: 19px; right: 14px; padding: 8px 13px; font-size: 10.5px; }
  .sn-prenda img { height: clamp(170px, 55vw, 420px); }
  .sn-acc { align-items: stretch; gap: 11px; padding: 0; width: 100%; } .sn-bolas { width: 100%; } .sn-bola { flex: 1; justify-content: center; }
  .sn-cta { width: 100%; gap: 14px; } .sn-hero .sn-cta .btn { flex: 1; min-width: 0; padding: 0 12px 0 18px; justify-content: space-between; } .sn-hero .sn-cta .btn .flecha { flex: none; margin: 0; } .sn-precio { font-size: 25px; }
  .sn-musica { position: absolute; top: 14px; left: 14px; right: auto; bottom: auto; z-index: 4; min-height: 44px; padding: 0 14px; box-shadow: none; }
  .sn-musica span { display: inline; }
  .sn-rasgos .rasgos { grid-template-columns: 1fr 1fr; }
  .sn-pareja { margin-top: 28px; } .sn-pareja-btns .btn { width: 100%; justify-content: space-between; }
  .sn-fin { padding: 52px 20px 140px; } .sn-fin .btn { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .sn-prenda img, .sn-bola img, .sn-musica i b { animation: none !important; transition: none; } .sn-copo, .sn-chispa { display: none; } }



/* títulos con la letra navideña (es más pequeña de ojo que Montserrat: van algo mayores y siempre en negrita) */
.sn-txt h2, .sn-pareja h2, .sn-rasgos h2, .sn-historia h2, .sn-faq h2, .sn-fin h2, .esp-pdp .pinfo h1 { font-family: "Mountains of Christmas", Montserrat, cursive; font-weight: 700; letter-spacing: .005em; line-height: 1.1; }
.sn-txt h2 strong, .sn-pareja h2 strong, .sn-rasgos h2 strong, .sn-historia h2 strong, .sn-faq h2 strong, .sn-fin h2 strong { font-weight: 700; }
.sn-txt h2 { font-size: clamp(46px, 5.6vw, 92px); line-height: 1; }
.sn-fin h2 { font-size: clamp(36px, 4.6vw, 64px); }
.sn-pareja h2, .sn-rasgos h2, .sn-historia h2, .sn-faq h2 { font-size: clamp(34px, 3.8vw, 52px); }
.esp-pdp .pinfo h1, .esp-pdp .pinfo h1.long { font-size: clamp(32px, 3.4vw, 44px); }
@media (max-width: 900px) { .sn-txt h2 { font-size: clamp(42px, 13vw, 68px); } .sn-bolas { margin-top: 6px; } }
@media (max-width: 359px) { .sn-bola { padding: 4px 12px 4px 8px; gap: 6px; font-size: 14px; } .sn-bola img { width: 38px; } .sn-cta .btn { font-size: 14px; } .sn-precio { font-size: 21px; } .sn-txt p { font-size: 14px; } }

/* color y talla: círculos a la vista, en una sola línea también en el móvil (aquí no hay desplegables: son pocas opciones) */
#pdp-attrs .pdp-dd-btn { display: none; }
#pdp-attrs .pdp-attr-valor { display: inline; }
#pdp-attrs .pdp-pills { --d: clamp(42px, 13vw, 52px); position: static; display: flex; flex-flow: row nowrap; gap: 10px; max-height: none; margin: 0; padding: 2px; overflow: visible; border: 0; background: none; box-shadow: none; }
#pdp-attrs .pdp-pills button { position: relative; flex: none; align-self: center; box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: var(--d); min-width: 0; max-width: none; height: var(--d); min-height: 0; padding: 0; border: 1.5px solid var(--borde); border-radius: 50%; background: #fff; color: var(--oscuro); font-size: 14px; font-weight: 600; }
#pdp-attrs .pdp-pills button.on { background: var(--oscuro); border-color: var(--oscuro); color: #fff; }
#pdp-attrs .pdp-pills button.con-color span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#pdp-attrs .pdp-pills button.con-color .pdp-color { width: calc(var(--d) - 16px); height: calc(var(--d) - 16px); }
#pdp-attrs .pdp-pills button.con-color.on { background: #fff; border-color: var(--oscuro); box-shadow: 0 0 0 1.5px var(--oscuro); }

/* «Añadir al carrito» a todo el ancho y, al pasarlo bajando, acompaña pegado abajo (barra de store.js); al volver a subir, se queda en su sitio */
#comprar .buyrow { flex-wrap: wrap; gap: 14px; } #comprar #pdp-add { flex: 0 0 100%; width: 100%; min-height: 58px; justify-content: center; font-size: 16px; font-weight: 700; white-space: nowrap; }
.pdp-fija { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; display: flex; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,251,252,.97); box-shadow: 0 -6px 24px rgba(43,27,33,.10); transform: translateY(120%); transition: transform .28s; }
.pdp-fija.ver { transform: none; } .pdp-fija img, .pdp-fija-txt { display: none; } .pdp-fija #pdp-fija-btn { flex: 1; min-height: 56px; justify-content: center; font-size: 16px; font-weight: 700; }
.con-fija .sn-musica { bottom: 96px; }
@media (min-width: 901px) { .pdp-fija { left: 50%; right: auto; width: 520px; bottom: 16px; padding: 10px; border-radius: 24px; transform: translate(-50%, 180%); } .pdp-fija.ver { transform: translate(-50%, 0); } .con-fija .sn-musica { bottom: 22px; } }
@media (max-width: 900px) { .crumbs { display: none; } .sn-hero { margin-top: 14px; } }   /* sin migas en el móvil en esta página */
@media (max-width: 389px) { .sn-hero .sn-cta .btn { justify-content: center; padding: 0 12px; } .sn-hero .sn-cta .btn .flecha { display: none; } .sn-precio { font-size: 22px; } }   /* móvil estrecho: cabe «La quiero en granate» sin flecha */
