/* The Holiday Sale, Steven's update of 16 Nov 2026 (Figma "MasterPeace (Holiday)"): the countdown bar above the header
   (partials/holiday_bar.php, .hsb) and the home page's holiday top (partials/holiday_home_hero.php, .hsh).
   The /holiday page itself is in holiday-v1.css. */

/* ==== The countdown bar ==== */
.hsb { position: relative; background: #D86A2B; color: #fff; font-family: "Montserrat", "Segoe UI", system-ui, sans-serif; }
.hsb[hidden] { display: none; }
.hsb *, .hsb *::before, .hsb *::after { box-sizing: border-box; }
.hsb__in { max-width: 1150px; min-height: 80px; margin: 0 auto; padding: 10px 56px 10px 20px; display: flex; align-items: center; justify-content: center; gap: 14px 28px; flex-wrap: wrap; }
@media (min-width: 1300px) { .hsb__in { padding: 10px 20px; gap: 14px 48px; } }
.hsb__label { display: flex; align-items: center; gap: 12px; color: inherit !important; text-decoration: none !important; }
.hsb__icon { flex: none; width: 34px; height: 34px; color: #F3C063; }
.hsb__icon svg { display: block; width: 100%; height: 100%; }
.hsb__copy { display: flex; flex-direction: column; }
.hsb__title { display: flex; align-items: baseline; gap: 12px; line-height: 40px; white-space: nowrap; }
.hsb__title i { font-family: "Dancing Script", "Brush Script MT", cursive; font-style: normal; font-weight: 700; font-size: 36px; }
.hsb__title b { font-size: 18px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hsb__sub { font-size: 10px; line-height: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hsb__nums { display: flex; align-items: center; gap: 6px; }
.hsb__nums > i { font-style: normal; font-weight: 800; font-size: 20px; line-height: 1; width: 6px; text-align: center; }
.hsb__num { width: 54px; height: 42px; border-radius: 6px; background: #fff; color: #383838; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hsb__num b { font-size: 22px; line-height: 24px; font-weight: 900; font-variant-numeric: tabular-nums; }
.hsb__num span { font-size: 6.5px; line-height: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hsb__btn { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 24px; border-radius: 6px; background: #fff; color: #3FA7C2 !important; font-size: 15px; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: background .2s, color .2s; }
.hsb__btn:hover { background: #F2FAFC; color: #2E8BA4 !important; }
.hsb__close { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; padding: 8px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.hsb__close svg { display: block; width: 100%; height: 100%; }
.hsb--newyear { background: #E8A93B; color: #1E2A4A; }
.hsb--newyear .hsb__icon { color: #1E2A4A; }
@media (min-width: 1440px) { .hsb__close { right: calc((100% - 1440px) / 2 + 74px); } }
@media (max-width: 1199px) { .hsb__in { gap: 8px 18px; } .hsb__title i { font-size: 30px; } .hsb__title b { font-size: 15px; } .hsb__sub { letter-spacing: .05em; } .hsb__btn { padding: 0 16px; } }
@media (max-width: 1023px) {
    .hsb__in { gap: 8px 20px; padding: 8px 48px 10px 16px; }
    .hsb__title { line-height: 32px; } .hsb__title i { font-size: 28px; } .hsb__title b { font-size: 14px; }
    .hsb__icon { width: 26px; height: 26px; }
    .hsb__close { right: 8px; top: 8px; transform: none; }
}
@media (max-width: 640px) {
    .hsb__sub, .hsb__icon { display: none; }
    .hsb__num { width: 44px; height: 38px; } .hsb__num b { font-size: 18px; line-height: 20px; }
    .hsb__btn { height: 34px; padding: 0 16px; font-size: 14px; }
}

/* ==== The home page's holiday top ==== */
section.hsh { position: relative; overflow: hidden; box-sizing: border-box; background: #EDF7FA; font-family: "Montserrat", "Segoe UI", system-ui, sans-serif; color: #4C4C4C; padding: 48px 0 42px; }
.hsh *, .hsh *::before, .hsh *::after { box-sizing: border-box; }
.hsh__bg, .hsh__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hsh__bg img { object-fit: cover; object-position: 50% 88%; opacity: .9; max-width: none; }   /* keep the snowy ground at the bottom on wide screens */
.hsh__deco { display: none; position: absolute; top: 0; left: 50%; width: 1440px; height: 100%; margin-left: -720px; pointer-events: none; }
.hsh__leaf, .hsh__spark, .hsh__fw { position: absolute; display: block; max-width: none; }
.hsh__leaf svg, .hsh__spark svg { display: block; width: 100%; height: 100%; }
.hsh__leaf { opacity: .9; } .hsh__leaf--o { color: #D86A2B; } .hsh__leaf--g { color: #E8A93B; }
.hsh__spark { color: #E8A93B; }
.hsh__wrap { position: relative; max-width: 1150px; margin: 0 auto; padding: 0 20px; }
.hsh__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.hsh__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hsh__tag { background: #D86A2B; color: #fff; font-size: 12px; line-height: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 6px; }
.hsh p { margin: 0; padding: 0; }
.hsh p.hsh__kicker { font-size: 26px; line-height: 40px; font-weight: 700; color: #B5531F; }
.hsh h1 { margin: 0; padding: 0; font-size: 56px; line-height: 62px; font-weight: 800; color: #383838; letter-spacing: 0; }
.hsh h1 i { font-family: "Dancing Script", "Brush Script MT", cursive; font-style: normal; font-weight: 700; font-size: 1.143em; }
.hsh p.hsh__text { font-size: 18px; line-height: 30px; font-weight: 500; max-width: 470px; color: #4C4C4C; }
.hsh__btn { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px; border-radius: 8px; background: #3FA7C2; color: #fff !important; font-size: 16px; font-weight: 700; text-decoration: none !important; transition: background .2s; }
.hsh__btn:hover { background: #2E8BA4; }
.hsh__art { position: relative; width: 100%; max-width: 520px; margin: 0 auto 40px; aspect-ratio: 624 / 470; }
.hsh__art picture, .hsh__art picture img { display: block; width: 100%; height: auto; max-width: none; }
.hsh__bow { position: absolute; left: 13.6%; top: 43.5%; width: 15.9%; height: auto; transform: rotate(12deg); }
.hsh__seal { position: absolute; left: 73.9%; top: -2.2%; width: 24%; aspect-ratio: 1; border-radius: 50%; background: #E8A93B; border: 4px solid #fff; box-shadow: 0 8px 20px rgba(0,0,0,.25); color: #3A1D12; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-transform: uppercase; transform: rotate(8deg); container-type: inline-size; }
.hsh__seal small { font-size: 9.2cqw; line-height: 1.2; font-weight: 700; letter-spacing: .08em; }
.hsh__seal b { font-size: 21cqw; line-height: 1.13; font-weight: 900; }
.hsh p.hsh__sold { position: absolute; left: 0; right: 0; top: 91%; display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; text-transform: uppercase; }
.hsh__sold svg { flex: none; }
.hsh__sold b { font-size: 26px; font-weight: 900; color: #1BAD23; letter-spacing: .035em; }
.hsh__sold span { font-size: 15px; font-weight: 900; color: #383838; letter-spacing: .06em; margin-left: -4px; }
.hsh__cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 30px; }
.hsh__card { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; background: #fff; border: 1px solid #E0E0E0; border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.08); color: inherit !important; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.hsh__card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.hsh__card picture { flex: none; display: block; width: 118px; height: 122px; }
.hsh__card picture img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.hsh__card-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.hsh__card-copy strong { display: flex; align-items: center; min-height: 46px; font-size: 19px; line-height: 23px; font-weight: 800; color: #383838; }
.hsh__card-copy em { font-style: normal; background: #E7F6E4; color: #1BAD23; font-size: 13px; line-height: 16px; font-weight: 700; padding: 6px 12px; border-radius: 100px; white-space: nowrap; }
.hsh__card-copy > span { font-size: 13px; line-height: 16px; font-weight: 700; color: #3FA7C2; }
.hsh--newyear .hsh__tag { background: #1E2A4A; }
.hsh--newyear p.hsh__kicker { color: #1E2A4A; }
.hsh--newyear h1 { font-size: 50px; }
@media (min-width: 700px) { .hsh__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 700px) and (max-width: 899px) { .hsh__card { flex-direction: column; align-items: flex-start; } .hsh__card picture { width: 100%; height: auto; aspect-ratio: 118 / 122; } }
@media (min-width: 900px) {
    .hsh__top { grid-template-columns: minmax(0, 470px) minmax(0, 1fr); align-items: start; gap: 40px; }
    .hsh__art { max-width: 624px; margin: 13px 0 40px auto; }
}
@media (min-width: 1200px) {
    section.hsh { min-height: 759px; }
    .hsh__wrap { max-width: 1110px; padding: 0; }
    .hsh__top { grid-template-columns: 573px 624px; gap: 0; height: 473px; }
    .hsh__art { width: 624px; max-width: none; margin: 13px 0 0; }
    .hsh h1 { white-space: nowrap; }
    .hsh p.hsh__sold { left: 135px; right: auto; top: 425px; justify-content: flex-start; }
    .hsh__cards { margin-top: 50px; }
    .hsh__deco { display: block; }
}
@media (max-width: 899px) {
    section.hsh { padding: 36px 0 36px; }
    .hsh h1 { font-size: 40px; line-height: 46px; } .hsh--newyear h1 { font-size: 36px; }
    .hsh p.hsh__kicker { font-size: 21px; line-height: 30px; }
    .hsh__sold b { font-size: 20px; } .hsh__sold span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) { .hsh__card, .hsh__btn, .hsb__btn { transition: none !important; } }
