/* Winter offer: retain the search and show the supplied artwork without cropping. */
.shop-home .shop-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: 36px; }
.shop-home .shop-hero-copy { min-width: 0; }
.winter-promo { min-width: 0; }
.winter-promo-card { display: block; width: 100%; padding: 0; overflow: hidden; text-align: left; border: 1px solid #245676; border-radius: 12px; color: #fff; background: #081e2e; box-shadow: 0 12px 36px #0005; transition: border-color .18s; }
.winter-promo-card:hover { border-color: #55b9ff; }
.winter-promo-card > img { display: block; width: 100%; height: auto; }
.winter-promo-caption { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 15px 18px; font-size: 14px; line-height: 1.4; }
.winter-promo-caption strong { font-size: 21px; line-height: 1.25; }
.winter-promo-link { margin-top: 4px; color: #58bdff; font-size: 13px; font-weight: 700; }
@media (max-width: 1000px) {
  .shop-home .shop-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
  .shop-home .shop-hero h1 { font-size: 36px; }
}
@media (max-width: 760px) {
  .shop-home .shop-hero { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
  .shop-home .shop-hero h1 { font-size: 30px; }
  .winter-promo-caption { padding: 13px 14px; font-size: 13px; }
  .winter-promo-caption strong { font-size: 19px; }
}

/* Blend the artwork into the hero and give the offer a clear call to action. */
.winter-promo-card { border-color: transparent; border-radius: 16px; background: radial-gradient(ellipse at 65% 35%, #10314a80, transparent 75%), #03121e; box-shadow: none; }
.winter-promo-card:hover { border-color: #2f678744; }
.winter-promo-card > img { border-radius: 14px 14px 0 0; mask-image: linear-gradient(to bottom, #000 90%, transparent 100%); }
.winter-promo-caption { padding: 8px 20px 18px; gap: 8px; }
.winter-promo-link { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 48px; margin-top: 8px; padding: 12px 24px; border: 1px solid #4bb4ff; border-radius: 9px; background: linear-gradient(135deg, #1688ff, #0873da); box-shadow: 0 6px 20px #087bd52b; color: #fff; font-size: 16px; line-height: 1.3; font-weight: 800; }
.winter-promo-card:hover .winter-promo-link { background: linear-gradient(135deg, #319aff, #1688ff); }
.winter-promo-link > span { font-size: 24px; line-height: 1; }
@media (max-width: 760px) {
  .winter-promo-caption { padding: 8px 14px 16px; }
  .winter-promo-link { width: 100%; min-height: 50px; }
}

/* Keep the offer secondary to the parts search. */
@media (min-width: 761px) {
  .shop-home .shop-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .66fr); min-height: 380px; padding-top: 28px; padding-bottom: 24px; gap: 32px; }
  .winter-promo { width: 100%; max-width: 400px; justify-self: end; }
  .winter-promo-caption { padding: 4px 14px 12px; gap: 5px; font-size: 13px; }
  .winter-promo-caption strong { font-size: 18px; }
  .winter-promo-link { min-height: 44px; margin-top: 5px; padding: 10px 20px; font-size: 14px; }
}
@media (max-width: 760px) {
  .winter-promo { width: 100%; max-width: 320px; align-self: center; }
  .shop-home .shop-hero { gap: 18px; }
  .winter-promo-caption { padding: 4px 10px 10px; gap: 4px; font-size: 12px; }
  .winter-promo-caption strong { font-size: 17px; }
  .winter-promo-link { min-height: 44px; padding: 9px 18px; margin-top: 6px; font-size: 14px; }
}

/* Decorative snowfall stays inside the artwork and never intercepts clicks. */
.winter-promo-card { position: relative; }
.winter-promo-snow { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 1200 / 640; overflow: hidden; pointer-events: none; border-radius: 14px 14px 0 0; mask-image: linear-gradient(#000 85%, transparent); }
.winter-promo-snow::before, .winter-promo-snow::after { content: ''; position: absolute; inset: 0; background-repeat: repeat; will-change: background-position; }
.winter-promo-snow::before { opacity: .75; background-image: radial-gradient(circle, #fff 1px, transparent 2px), radial-gradient(circle, #e0f4ff 1.5px, transparent 2.5px), radial-gradient(circle, #fff 1px, transparent 2px); background-size: 89px 97px, 131px 149px, 173px 127px; background-position: 0 0, 40px 20px, 70px 55px; animation: winter-snow-fall 9s linear infinite; }
.winter-promo-snow::after { opacity: .5; background-image: radial-gradient(circle, #fff 2px, transparent 3.5px); background-size: 157px 181px; animation: winter-snow-near 6s linear infinite; }
@keyframes winter-snow-fall { to { background-position: 0 194px, 40px 169px, 70px 309px; } }
@keyframes winter-snow-near { from { background-position: 35px -70px; } to { background-position: 35px 111px; } }
@media (prefers-reduced-motion: reduce) { .winter-promo-snow::before, .winter-promo-snow::after { animation: none; will-change: auto; } }

/* Explicit SVG snowflakes avoid platform-dependent emoji and dark glyphs. */
.winter-promo-snow { z-index: 1; }
.winter-promo-snow::before, .winter-promo-snow::after { display: none; }
.winter-promo-snow i { position: absolute; display: block; left: var(--x); top: 0; width: var(--size); height: var(--size); background: url('/assets/promos/snowflake.svg') center / contain no-repeat; opacity: .95; filter: drop-shadow(0 1px 3px #003c72); pointer-events: none; animation: winter-snowflake var(--duration) linear var(--delay) infinite; will-change: transform; }
@keyframes winter-snowflake { from { transform: translate3d(0, -30px, 0) rotate(0deg); } to { transform: translate3d(var(--drift), 290px, 0) rotate(150deg); } }
@media (prefers-reduced-motion: reduce) {
  .winter-promo-snow i { animation: none; top: 25%; transform: rotate(20deg); will-change: auto; }
  .winter-promo-snow i:nth-child(3n) { top: 60%; }
  .winter-promo-snow i:nth-child(3n + 1) { top: 80%; }
}

/* Slower, smaller flakes leave the offer text easy to read. */
.winter-promo-snow i { width: calc(var(--size) * .7); height: calc(var(--size) * .7); opacity: .72; animation-duration: calc(var(--duration) * 1.8); }
.winter-promo-modal-art { display: block; position: relative; width: 100%; margin: 0 0 18px; overflow: hidden; border-radius: 8px; }
.winter-promo-modal-art .winter-promo-snow { height: 100%; aspect-ratio: auto; border-radius: 8px; }
.winter-promo-modal-art .winter-promo-snow i { animation-name: winter-snowflake-modal; }
@keyframes winter-snowflake-modal { from { transform: translate3d(0, -30px, 0) rotate(0deg); } to { transform: translate3d(var(--drift), 440px, 0) rotate(120deg); } }
@media (prefers-reduced-motion: reduce) { .winter-promo-modal-art .winter-promo-snow i { animation: none; } }
