:root {
  --ink: #17273b;
  --muted: #4f5862;
  --navy: #111e31;
  --dark: #0c192a;
  --cream: #fbf6ec;
  --paper: #fffaf1;
  --ivory: #fff8e8;
  --red: #862f3b;
  --red-deep: #6e2330;
  --gold: #f0cc8e;
  --line: #e4d8c7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --frame: min(1200px, 100% - 2 * clamp(22px, 5vw, 74px));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #b65155; outline-offset: 4px; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h2 { font-size: clamp(2.2rem, 4vw, 3.35rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.37rem, 2.12vw, 1.78rem); letter-spacing: -.025em; }
.wrap { width: var(--frame); margin-inline: auto; }
.skip { position: absolute; z-index: 5; left: 12px; top: 8px; padding: .65rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.eyebrow { color: var(--red); font-size: .8125rem; font-weight: 750; text-transform: uppercase; letter-spacing: .17em; }

.countdown { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 5px 12px; background: var(--red-deep); color: var(--ivory); text-align: center; font-size: .875rem; font-weight: 650; letter-spacing: .025em; }
.countdown span { color: var(--gold); }
.countdown time { font-variant-numeric: tabular-nums; }
.header { position: relative; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff5df; }
.envelope { display: inline-block; flex: none; width: 19px; height: 14px; position: relative; overflow: hidden; border: 1.5px solid currentColor; border-radius: 2px; }
.envelope::before { content: ""; width: 13px; height: 13px; position: absolute; top: -7px; left: 1.5px; transform: rotate(45deg); border: 1.5px solid currentColor; border-width: 0 1.5px 1.5px 0; }
.brand-top, .brand-name { display: block; line-height: 1; }
.brand-top { font-size: .7rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.brand-name { margin-block-start: 2px; font: 1.55rem/1.02 var(--serif); }
.nav-desktop { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.5vw, 38px); font-size: .91rem; font-weight: 650; }
.nav-desktop a { text-decoration: none; }
.nav-desktop a:hover, .nav-mobile a:hover { color: var(--red); text-decoration: underline; }
.nav-mobile { display: none; }

.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; width: fit-content; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: .74rem 1.15rem; border: 1px solid transparent; border-radius: 5px; text-align: center; text-decoration: none; font-size: .9375rem; font-weight: 750; line-height: 1.3; }
.button-header { min-height: 43px; padding: .58rem .9rem; border-color: #caaeb0; color: var(--red-deep); white-space: nowrap; }
.button-header:hover, .button-header:focus-visible { background: #f3e3dc; }
.button-gold { background: var(--gold); color: #231b15; }
.button-gold:hover { background: #ffe0aa; }
.button-outline { color: var(--ivory); border-color: #dfc69d99; background: #0f1a2a54; }
.button-outline:hover { background: #ffffff25; }
.button-red { color: #fffdf5; background: var(--red); }
.button-red:hover { background: var(--red-deep); }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(490px, 41vw, 605px); display: grid; align-items: center; color: var(--ivory); background: var(--dark); }
.hero-art { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 71%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #0c192a 0%, #0c192a 27%, #0c192af7 34%, #0c192ac2 42%, #0c192a41 55%, transparent 72%), linear-gradient(0deg, #080d1759, transparent 30%); }
.hero-inner { padding-block: 68px 76px; }
.hero-copy { max-width: 560px; }
.hero .eyebrow { margin-bottom: 23px; color: var(--gold); }
.hero .eyebrow span { margin-inline-end: 7px; }
.hero h1 { font-size: clamp(3.45rem, 6.5vw, 6.3rem); letter-spacing: -.065em; line-height: .98; text-wrap: balance; }
.hero h1 em { color: var(--gold); font-weight: inherit; }
.hero h1 + p { max-width: 30rem; margin-block: 25px 28px; color: #f3e6d6; font-size: clamp(1rem, 1.45vw, 1.135rem); }
.hero .button { min-height: 52px; padding-inline: 1.22rem; }
.hero :focus-visible, .quiz :focus-visible, .footer :focus-visible { outline-color: var(--gold); }

.reassurance { background: #f5ecdc; border-bottom: 1px solid var(--line); }
.reassurance ul { display: flex; align-items: center; justify-content: center; gap: clamp(25px, 6vw, 100px); min-height: 73px; padding: 0; list-style: none; }
.reassurance li { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: .91rem; }
.reassurance span { font-size: 1.3rem; color: var(--red); line-height: 1; }
.section { padding-block: clamp(51px, 6.2vw, 92px); }
.section-heading { margin-bottom: 31px; }
.section-heading .eyebrow { margin-bottom: 10px; font-size: 1rem; }
.section-heading p:not(.eyebrow) { margin-top: 12px; color: var(--muted); }
.centered { text-align: center; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px; }
.card { display: flex; overflow: hidden; background: #fffcf5; border: 1px solid var(--line); border-radius: 9px; }
.card a { display: flex; width: 100%; flex-direction: column; text-decoration: none; }
.card a:focus-visible { outline-offset: -4px; }
.card img { width: 100%; aspect-ratio: 1.82; object-fit: cover; }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 17px 19px; }
.card p { flex: 1; padding-block: 9px 14px; color: var(--muted); font-size: .9375rem; }
.card-action { color: var(--red-deep); font-weight: 750; font-size: .875rem; text-decoration: underline; }
.card a:hover .card-action { color: var(--ink); }

.family { background: #f1e8d8; border-block: 1px solid var(--line); }
.family-grid, .parents-grid, .reply-grid, .letter-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 59px); }
.family-links { display: grid; align-content: start; gap: 9px; }
.family-links a { min-height: 71px; display: flex; gap: 15px; align-items: center; padding: 7px 14px 7px 7px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); text-decoration: none; font-weight: 700; }
.family-links a:hover { text-decoration: underline; color: var(--red-deep); }
.family-links img { width: 80px; aspect-ratio: 1.45; object-fit: cover; border-radius: 4px; }
.quiz { background: var(--navy); color: var(--ivory); border-radius: 9px; padding: clamp(19px, 3vw, 31px); }
.quiz h3 { color: var(--gold); }
#quiz-question { margin-block: 13px 8px; font-weight: 650; }
#quiz-choices { display: flex; gap: 7px; flex-wrap: wrap; }
#quiz-choices button { min-height: 42px; padding: .35rem .6rem; border: 1px solid #dac3a177; border-radius: 4px; background: transparent; color: var(--ivory); font-weight: 620; }
#quiz-choices button[aria-disabled="true"] { cursor: default; }
#quiz-choices button:hover:not([aria-disabled="true"]), #quiz-choices button.selected { border-color: var(--gold); background: var(--gold); color: var(--dark); }
.quiz-feedback { min-height: 1.6em; margin-block: 5px 8px; color: #f7e5bf; }
.quiz-link { display: inline-block; margin-top: 13px; color: var(--gold); }
#quiz-next { min-height: 41px; padding-block: .45rem; }

.event { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(28px, 6vw, 91px); }
.event-art { overflow: hidden; border-radius: 9px; }
.event img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.event .eyebrow { margin-bottom: 12px; }
.event h2 + p { margin-top: 14px; }
.event p + p { margin-top: 10px; }
.event p:not(.eyebrow) { color: var(--muted); }
.event .actions { margin-top: 19px; }
.parents { background: #f5ecdc; border-top: 1px solid var(--line); }
.parents-grid { grid-template-columns: .75fr 1.25fr; }
.parents .section-heading { margin: 0; }
.inline-link { display: inline-block; margin-top: 14px; color: var(--red-deep); font-weight: 750; }
.questions details { border-top: 1px solid #d8c7b4; }
.questions details:last-child { border-bottom: 1px solid #d8c7b4; }
.questions summary { position: relative; min-height: 60px; padding: .95rem 2.25rem .95rem 0; list-style: none; cursor: pointer; font-weight: 750; }
.questions summary::-webkit-details-marker, .nav-mobile summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; top: .7rem; right: .15rem; color: var(--red); font-size: 1.35rem; font-weight: 500; }
.questions details[open] summary::after { content: "−"; }
.questions p { padding-block: 0 .95rem; color: var(--muted); }

.footer { background: var(--navy); color: var(--ivory); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 26px; padding-block: 38px 27px; }
.footer-main p { margin-top: 10px; color: #e6dac9; font-size: .875rem; }
.footer nav { display: grid; align-content: start; gap: 8px; }
.footer nav a { width: fit-content; text-decoration: none; font-size: .91rem; }
.footer nav a:hover { text-decoration: underline; }
.footer-end { padding-block: 13px; border-top: 1px solid #ffffff35; color: #e6dac9; font-size: .875rem; }

.inside { padding-block: 31px 72px; }
.breadcrumb { display: inline-block; color: var(--red-deep); font-weight: 650; }
.inside-intro { max-width: 55rem; margin-block: 36px 28px; }
.inside-intro h1 { margin-block: 10px 13px; font-size: clamp(2.75rem, 6vw, 5.1rem); letter-spacing: -.06em; }
.inside-intro > p:last-child { max-width: 42rem; color: var(--muted); }
.letter-layout { grid-template-columns: .83fr 1.17fr; align-items: start; }
.letter-controls, .reply-card { padding: clamp(20px, 3vw, 31px); border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.letter-controls h2, .reply-card h2, .inside-aside h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.letter-controls p, .reply-card p { margin-top: 9px; color: var(--muted); }
.letter-controls label { display: block; margin-block: 11px 4px; font-weight: 700; }
.letter-controls input, .letter-controls textarea { width: 100%; padding: 8px 10px; border: 1px solid #927b6b; border-radius: 4px; color: var(--ink); background: #fff; }
.letter-controls textarea { display: block; resize: vertical; }
.letter-controls .button, .reply-card .button { margin-top: 17px; }
.paper { min-width: 0; padding: clamp(18px, 4.5vw, 51px); border: 1px solid #cdb69c; border-radius: 7px; color: #2d2430; background: #fffefa; }
.paper-top { margin-bottom: 21px; border-bottom: 1px solid #d7bca3; padding-bottom: 13px; color: var(--red-deep); text-align: center; font: 1.38rem/1.2 var(--serif); }
.paper-top span { font-size: .9em; font-weight: 400; }
.paper h2 { margin-bottom: 12px; font-size: 2rem; }
.paper p:not(.paper-top) { margin-block: 10px; overflow-wrap: anywhere; }
.paper-prompt { margin-bottom: 0; }
.paper .paper-line { min-height: 1.55em; padding-bottom: 4px; border-bottom: 1px solid #94794b; white-space: pre-wrap; }
.drawing { min-height: 90px; border: 1px dashed #b7a08a; }
.reply-grid { align-items: stretch; }
.reply-card { display: flex; flex-direction: column; align-items: flex-start; }
.reply-card p:last-of-type { flex: 1; }
.inside-aside { margin-top: 31px; }
.inside-aside p { margin-top: 9px; }

@media (max-width: 950px) {
  .nav-desktop, .button-header { display: none; }
  .nav-mobile { display: block; }
  .nav-mobile summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; font-weight: 700; }
  .hamburger { width: 16px; height: 12px; position: relative; border-block: 2px solid currentColor; }
  .hamburger::after { content: ""; position: absolute; top: 3px; inset-inline: 0; border-top: 2px solid currentColor; }
  .nav-mobile nav { display: grid; position: absolute; top: 100%; left: 0; right: 0; padding: 7px clamp(22px, 5vw, 74px) 13px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 8px 16px #111e3118; }
  .nav-mobile a { padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 650; }
  .nav-mobile a:last-child { border: 0; }
  .hero-copy { max-width: 450px; }
  .hero-art { width: 77%; }
  .hero::after { background: linear-gradient(90deg, #0c192a 0%, #0c192a 16%, #0c192aee 30%, #0c192aab 45%, #0c192a30 72%, #0c192a14); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .header-row { min-height: 67px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.39rem; }
  .hero { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .hero-art { position: relative; order: 1; z-index: 0; inset: auto; width: 100%; aspect-ratio: 1.55; }
  .hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--dark) 0%, #0c192a1a 14%, transparent 34%); pointer-events: none; }
  .hero-art img { object-position: 50% 44%; }
  .hero::after { content: none; }
  .hero-inner { padding-block: 36px 10px; }
  .hero .eyebrow { margin-bottom: 13px; }
  .hero h1 { font-size: clamp(2.72rem, 11.5vw, 4.6rem); text-wrap: initial; }
  .hero h1 + p { margin-block: 17px 18px; }
  .hero .button { min-height: 46px; padding-inline: .72rem; font-size: .875rem; }
  .reassurance ul { min-height: 0; justify-content: flex-start; flex-wrap: wrap; gap: 5px 14px; padding-block: 12px; }
  .reassurance li { font-size: .875rem; gap: 4px; }
  .section-heading { margin-bottom: 22px; }
  .family-grid, .parents-grid, .event, .letter-layout, .reply-grid { grid-template-columns: 1fr; }
  .event-art { grid-row: 2; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
  .footer-main > div { grid-column: 1 / -1; }
}
@media (max-width: 410px) {
  .hero .eyebrow { font-size: .75rem; letter-spacing: .13em; }
  .hero .actions .button { width: 100%; }
}
@media (max-width: 460px) {
  .card-grid { grid-template-columns: 1fr; gap: 12px; }
  .card a { flex-direction: row; }
  .card img { width: 30%; align-self: stretch; height: auto; aspect-ratio: auto; }
  .card-body { padding: 13px 11px 13px 13px; }
  .card p { padding-block: 5px 7px; }
}
@media print {
  @page { size: A4; margin: 13mm; }
  body:has(.letter-page) { background: white; color: black; }
  body:has(.letter-page) :is(.header, .footer, .skip, .countdown, .breadcrumb, .inside-intro, .letter-controls, .inside-aside) { display: none !important; }
  .letter-page :is(.inside, .letter-layout) { display: block; width: auto; padding: 0; }
  .letter-page .paper { border: 1pt solid #6e2330; border-radius: 0; padding: 14mm; break-inside: avoid; }
  .letter-page .drawing { min-height: 40mm; }
}

.nav-desktop { gap: clamp(12px, 1.65vw, 27px); }
.nav-desktop [aria-current="page"], .nav-mobile [aria-current="page"] { color: var(--red); text-decoration: underline; }
.shop-home { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(18px, 3vw, 38px); margin-bottom: clamp(28px, 5vw, 64px); background: var(--navy); color: var(--ivory); border-radius: 12px; }
.shop-home h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.shop-home p { margin-top: .4rem; }
.shop-hero { background: var(--dark); color: var(--ivory); }
.shop-hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(22px, 5vw, 64px); padding-block: clamp(24px, 6vw, 68px); }
.shop-hero .breadcrumb { margin: 0 0 1rem; color: var(--ivory); }
.shop-hero h1 { font-size: clamp(2.75rem, 6vw, 5.35rem); letter-spacing: -.045em; }
.shop-hero h1 em { color: var(--gold); }
.shop-hero p { margin-block: 1rem 1.25rem; max-width: 35rem; }
.shop-hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid #f0cc8e70; border-radius: 12px; }
.shop-selection { background: var(--paper); border-top: 1px solid var(--line); }
.shop-picks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shop-pick { min-height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; padding: 20px; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; }
.shop-type, .shop-pick a { color: var(--red-deep); font-weight: 650; }
.shop-pick a { margin-top: auto; }
.shop-disclosure { max-width: 48rem; color: var(--muted); margin-top: 1.25rem; }
@media (max-width: 670px) {
  .shop-hero-inner, .shop-picks { grid-template-columns: 1fr; }
  .shop-hero img { max-height: 235px; }
}
.shop-search { margin-bottom: 1.5rem; }
.shop-search label { display: block; font-weight: 650; margin-bottom: .4rem; }
.shop-search > div { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-search input[type="search"] { flex: 1 1 240px; min-width: 0; max-width: 32rem; padding: .6rem .8rem; border: 1px solid #89766b; border-radius: 6px; background: var(--paper); color: var(--ink); }

.noel-rayons, .noel-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.noel-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.noel-products .noel-product { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; }
.noel-product > img, .noel-product-image-placeholder { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: white; }
.noel-product-image-placeholder { display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 2rem; }
.noel-product-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .55rem; padding: 14px; }
.noel-product-body h3 { font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.25; overflow-wrap: anywhere; }
.noel-product-body p { color: var(--muted); font-size: .875rem; }
.noel-product-body .button { margin-top: auto; }
.noel-affiliation { margin-bottom: 1.15rem; color: var(--muted); }
.noel-shop-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.35rem; }
.noel-related ul { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; list-style: none; margin-top: 1rem; padding: 0; }
.shop-search select { max-width: 100%; padding: .55rem; border-radius: 6px; background: var(--paper); color: var(--ink); }
.noel-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 850px) { .noel-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 650px) { .noel-products, .noel-rayons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 430px) { .noel-rayons .card a { flex-direction: column; } .noel-rayons .card img { width: 100%; aspect-ratio: 3 / 2; } .noel-product-body { padding: 9px; } .noel-product-body .button { padding-inline: .5rem; min-height: 42px; } }

.noel-shop .shop-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(160px, 285px); padding-block: clamp(18px, 4vw, 42px); }
.noel-shop .shop-hero :is(h1, p, .breadcrumb, .breadcrumb a) { color: var(--ivory); }
.noel-shop .shop-hero h1 { text-transform: none; font-size: clamp(2.3rem, 5vw, 4rem); }
.noel-shop .shop-hero p { margin-bottom: 0; }
.noel-shop .shop-hero img { max-height: 190px; }
.noel-shop-content { padding-block: 24px 48px; }
.noel-shop .noel-search-box { padding: clamp(12px, 3vw, 22px); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
.noel-shop .noel-search-box > div { align-items: stretch; }
.noel-shop .noel-search-box input[type="search"] { max-width: none; }
.noel-shop .noel-shop-categories { margin: 25px 0 30px; }
.noel-shop .noel-shop-categories h2 { margin-bottom: 15px; }
.noel-shop .noel-rayons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.noel-shop-layout { display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 1fr); gap: clamp(15px, 3vw, 32px); align-items: start; }
.noel-shop-control { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); padding: 12px; }
.noel-shop-control summary, .noel-filter-form legend { color: var(--ink); font-weight: 750; }
.noel-shop-control summary { cursor: pointer; }
.noel-shop-control nav { display: grid; margin-top: .55rem; }
.noel-shop-control nav a { padding: .38rem .42rem; text-decoration: none; border-radius: 4px; }
.noel-shop-control nav a:hover { text-decoration: underline; }
.noel-shop-control nav a[aria-current="page"] { background: var(--red-deep); color: var(--ivory); }
.noel-filter-form fieldset { min-width: 0; border: 0; padding: 0; margin: .75rem 0; }
.noel-filter-form legend { padding: 0; }
.noel-filter-form :is(select, input[type="search"], input[type="number"]) { width: 100%; min-width: 0; padding: .4rem; background: white; border: 1px solid var(--line); border-radius: 5px; }
.noel-filter-form p { font-size: .875rem; color: var(--muted); }
.noel-price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.noel-brand-options { display: grid; gap: .15rem; max-height: 13rem; overflow: auto; margin-top: .4rem; }
.noel-brand-options label { cursor: pointer; overflow-wrap: anywhere; }
.noel-shop-results > p { margin: .35rem 0 1rem; }
.noel-shop .noel-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.noel-shop .noel-chips { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.noel-chips a { display: inline-block; padding: .25rem .55rem; background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; color: var(--red-deep); }
@media (max-width: 980px) { .noel-shop .noel-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .noel-shop-layout { grid-template-columns: 1fr; gap: 8px; }
  .noel-shop .shop-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 28%); gap: 10px; }
  .noel-shop .noel-rayons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .noel-shop .shop-hero h1 { font-size: clamp(1.9rem, 7vw, 3rem); }
}

.noel-shop-control nav .noel-shop-subcategory { padding-inline-start: 1.1rem; font-size: .9rem; }

.noel-letter-intro-actions { margin: 1rem 0; }
.noel-letter-secondary { color: var(--red-deep); background: var(--paper); border: 1px solid var(--red-deep); }
.noel-letter-toc { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding: .75rem 1rem; margin: 1rem 0 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: .5rem; }
.noel-letter-section { margin: clamp(2rem, 5vw, 4rem) 0; }
.noel-letter-section > p, .noel-letter-section > .button { margin-top: .7rem; }
.noel-modeles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.1rem 0; }
.noel-modeles-grid .card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.noel-modeles-grid .card h2 { font-size: clamp(1.32rem, 2.1vw, 1.7rem); }
.noel-parents { background: var(--navy); padding: clamp(1rem, 4vw, 2rem); border-radius: .7rem; }
.noel-parents :is(h2,p,a) { color: var(--ivory); }
.noel-parents ul { padding-inline-start: 1.15rem; margin-top: .65rem; }
.noel-category .shop-hero :is(h1,p,.breadcrumb,.breadcrumb a) { color: var(--ivory); }
.noel-category .shop-hero-inner { padding-block: clamp(1.5rem, 4vw, 3rem); }
.noel-category .shop-hero h1 { font-size: clamp(2rem, 5vw, 4rem); text-transform: none; }
.noel-letter-menu { position: relative; }
.noel-letter-menu summary { cursor: pointer; }
.noel-letter-submenu { position: absolute; z-index: 2; min-width: 14rem; display: grid; top: 100%; left: 0; padding: .7rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--paper); }
.noel-letter-submenu a { padding: .32rem; }
.nav-mobile .noel-mobile-sub { padding-inline-start: 1rem; }
:is(#modele-a-imprimer,#modeles-de-lettres,#preparer-enveloppe,#espace-parents,#conseils-envoi,#modeles-de-reponses,#ecrire-au-pere-noel,#preparer-une-reponse) { scroll-margin-top: 6rem; }
@media (max-width: 720px) { .noel-modeles-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 480px) {
  .noel-modeles-grid { grid-template-columns: 1fr; }
  .noel-modeles-grid .card a { flex-direction: column; }
}
@media print {
  body:has(.letter-page) :is(.noel-letter-section,.noel-letter-toc,.noel-letter-intro-actions,#wpadminbar,.ast-scroll-top-icon) { display: none !important; }
}

.noel-creatif .shop-hero .button { margin-top: 1rem; }
.noel-creatif .card h3 { text-transform: none; }
.noel-creatif #bricolages-de-noel, .noel-creatif section[id] { scroll-margin-top: 5rem; }
.noel-creatif-letter { padding-bottom: 2rem; }

.lettre-recherche { background: var(--paper); border: 1px solid var(--line); padding: 1.1rem; border-radius: 10px; margin: 1.15rem 0; }
.lettre-filtres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: .85rem 0; }
.lettre-recherche label, #lettre-editeur label { display: grid; gap: .25rem; margin: .45rem 0; }
.lettre-recherche :is(input,select), #lettre-editeur :is(input,textarea) { width: 100%; min-width: 0; }
.lettre-recherche .actions { margin-top: .75rem; }
.lettre-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lettre-card .card-body { display: flex; flex-wrap: wrap; align-items: start; flex-direction: column; gap: .65rem; }
.lettre-card .button { white-space: normal; }
.lettre-impression { grid-column: 1 / -1; }
#lettre-apercu { white-space: pre-wrap; overflow-wrap: anywhere; }
.lettre-signature { margin-top: 1.3rem; }
@media (max-width: 700px) { .lettre-filtres { grid-template-columns: 1fr; } }
@media print {
  body:has(.letter-page) > :not(.letter-page) { display: none !important; }
  .letter-page .paper { break-inside: auto; padding: 0; border: 0; color: black; }
  .letter-page .lettre-impression, .letter-page noscript { display: none !important; }
  .letter-page .lettre-signature { break-inside: avoid; }
  body.lettre-impression-vierge #lettre-vierge { display: block !important; }
  body.lettre-impression-vierge #lettre-personnalisee { display: none !important; }
}

.lettre-parent-header .nav-desktop { gap: clamp(.6rem, 1.2vw, 1.2rem); }
.lettre-parent-header .brand-name { white-space: nowrap; }
.lettre-retour-enfant { font-size: .88rem; }
.lettre-parents-page .inside-intro .actions { margin-top: 1rem; }
.lettre-parents-page :is(section[id],#personnaliser-ma-lettre,#lettre-personnalisee) { scroll-margin-top: 6rem; }
.lettre-parents-page .lettre-impression .actions { margin-top: .75rem; }
.lettre-parents-page .lettre-impression > p { margin-top: .5rem; }
.lettre-parents-page details { margin: .75rem 0; }
.lettre-parents-page summary { cursor: pointer; }
.lettre-mobile-preview { display: none; }
@media (max-width: 1040px) {
  .lettre-parent-header :is(.nav-desktop,.lettre-retour-enfant) { display: none; }
  .lettre-parent-header .nav-mobile { display: block; }
}
@media (max-width: 700px) { .lettre-mobile-preview { display: inline-flex; } }
@media print {
  .letter-page .paper :is(.paper-top,.lettre-signature) { break-inside: avoid; }
  .letter-page #lettre-apercu { orphans: 3; widows: 3; }
}

.noel-faq :is(.noel-faq-groupe,details) { scroll-margin-top: 6rem; }
.noel-faq-groupe { margin: clamp(1.5rem, 3vw, 2.1rem) 0; }
.noel-faq-groupe details { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; }
.noel-faq-groupe summary { padding: .8rem 1rem; font-weight: 700; }
.noel-faq-groupe details:target { border-color: var(--red-deep); }
.noel-faq-reponse { padding: 0 1rem 1rem; }
.noel-faq-reponse a { display: inline-block; margin-top: .5rem; color: var(--red-deep); font-weight: 650; }
@media print { .noel-faq { display: none !important; } }

.noel-quiz-hero :is(h1,p,.breadcrumb,a:not(.button)) { color: var(--ivory); }
.noel-quiz-hero h1 { font-size: clamp(2.45rem, 5vw, 4.4rem); }
.noel-quiz-hero .shop-hero-inner { padding-block: clamp(2rem, 5vw, 4rem); }
.noel-quiz-hero .actions { margin-top: 1rem; }
.noel-quiz-game { max-width: 48rem; margin-inline: auto; scroll-margin-top: 2rem; }
.noel-quiz-game > p, .noel-quiz-page .quiz-box { margin-top: .75rem; }
.noel-quiz-page .quiz-box { background: var(--navy); color: var(--ivory); border-radius: .75rem; padding: clamp(1rem, 4vw, 2rem); }
.noel-quiz-page [data-quiz-progress] { color: var(--gold); font-size: .9rem; }
.noel-quiz-page #quiz-question { font-size: clamp(1.2rem, 3vw, 1.65rem); }
.noel-quiz-archive { margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--paper); }
.noel-quiz-archive summary { cursor: pointer; font-weight: 700; }
.noel-quiz-archive-content { max-width: 70ch; margin: 1rem auto 0; overflow-wrap: anywhere; }
.noel-quiz-archive-content iframe { max-width: 100%; }
.noel-quiz-page .noel-parents .button { color: var(--ink); margin-top: .75rem; }
.lettre-parents-page .noel-modeles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lettre-parents-page .inside-intro h1 { text-transform: none; }
@media (max-width: 550px) { .lettre-parents-page .noel-modeles-grid { grid-template-columns: 1fr; } }

.noel-article { padding: clamp(1.5rem, 5vw, 4rem) 0; background: var(--cream); }
.noel-article > :is(article, section, div) { width: min(74ch, calc(100% - 2 * clamp(14px, 4vw, 34px))); margin-inline: auto; }
.noel-article .noel-article-interieur { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: clamp(1rem, 4vw, 2.6rem); }
.noel-article-entete .breadcrumb { margin: 0 0 1rem; }
.noel-article-entete .eyebrow { margin-bottom: .6rem; }
.noel-article-entete h1 { font-size: clamp(2rem, 5vw, 3.45rem); color: var(--ink); line-height: 1.12; text-transform: none; }
.noel-article-chapeau { margin-top: .9rem; font-size: 1.1rem; color: var(--muted); }
.noel-article-couverture { margin-top: 1.4rem; }
.noel-article-couverture img { width: 100%; max-height: 36rem; object-fit: contain; object-position: left center; border-radius: 6px; }
.noel-article-couverture figcaption { margin-top: .45rem; color: var(--muted); font-size: .9rem; }
.noel-article-sommaire { margin-top: 1.35rem; padding: .85rem 1.1rem; background: var(--cream); border: 1px solid var(--line); border-radius: 8px; }
.noel-article-sommaire p { font-weight: 700; }
.noel-article-sommaire ol { margin-bottom: 0; }
.noel-article-texte { margin-top: 1.45rem; color: var(--ink); font-size: 17px; line-height: 1.7; overflow-wrap: anywhere; }
.noel-article-texte p { margin-bottom: 1em; }
.noel-article-texte :is(h2,h3,h4) { text-transform: none; margin: 1.45em 0 .55em; scroll-margin-top: 2rem; }
.noel-article-texte h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); }
.noel-article-texte :is(iframe,video,figure,table) { max-width: 100%; }
.noel-article-texte .wp-block-table { overflow-x: auto; }
.noel-article-texte img { height: auto; }
.noel-article-suite, .noel-article-commentaires { margin-top: 2rem; }
.noel-article-suite > h2, .noel-article-fin h2 { font-size: clamp(1.55rem, 4vw, 2.45rem); }
.noel-article-fin { margin-top: 2rem; padding: clamp(1.15rem, 4vw, 2.4rem); border-radius: 10px; background: var(--navy); color: var(--ivory); }
.noel-article-fin :is(h2,p) { color: var(--ivory); }
.noel-article-fin :is(p,.button) { margin-top: .7rem; }

.noel-lettre-enfant .paper { background: #fff9e9; }
.noel-papier-ornements { width: min(100%, 30rem); margin: 0 auto .65rem; }
.noel-papier-ornements > div { position: relative; overflow: hidden; }
.noel-papier-sapin { aspect-ratio: 850 / 165; border-radius: .4rem .4rem 0 0; }
.noel-papier-or { aspect-ratio: 850 / 150; }
.noel-papier-ornements img { position: absolute; inline-size: 240.94%; max-inline-size: none; block-size: auto; inset-inline-start: -70.59%; }
.noel-papier-sapin img { inset-block-start: -145.45%; }
.noel-papier-or img { inset-block-start: -350%; }
.noel-lettre-enfant .noel-papier-domaine { margin: 1.1rem 0 0; color: #55483f; text-align: center; font-size: .8rem; }
@media print {
  .noel-lettre-enfant .paper { padding: 0 5mm; background: white; font-size: 11pt; line-height: 1.5; }
  .noel-lettre-enfant .paper h2 { font-size: 17pt; }
  .noel-lettre-enfant .noel-papier-ornements { width: 125mm; max-width: 100%; break-inside: avoid; }
  .noel-lettre-enfant .paper .drawing { min-height: 34mm; }
  .noel-lettre-enfant .noel-papier-domaine { color: #444; font-size: 9pt; }
  .noel-lettre-enfant .paper-line { min-height: 7mm; border-bottom: 0.5pt solid #777; }
  .noel-lettre-enfant .paper-top { break-after: avoid; }
}

.noel-pack-familles { display: grid; grid-template-columns: repeat(auto-fit,minmax(125px,1fr)); gap: .6rem; margin-bottom: 1rem; }
.noel-pack-familles a { display: flex; flex-direction: column; justify-content: center; gap: .35rem; padding: .5rem; background: var(--paper); border: 1px solid var(--line); border-radius: .5rem; text-align: center; }
.noel-pack-familles a[aria-current], .noel-emballages .noel-letter-toc a[aria-current] { font-weight: 750; color: var(--red-deep); }
.noel-pack-familles img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: .3rem; }
.noel-pack-filtres label { display: grid; gap: .3rem; margin: .65rem 0; }
.noel-emballages .noel-product-body { overflow-wrap: anywhere; }
.noel-emballages .noel-shop-results .noel-products { align-items: stretch; }
.noel-emballages .noel-product select { max-width: 100%; }

/* Contact */
.atelier-contact { color: var(--ink); background: var(--cream); }
.atelier-contact-hero { background: var(--navy); color: var(--cream); border-bottom: 3px solid var(--gold); }
.atelier-contact-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); align-items: center; gap: clamp(24px, 6vw, 84px); padding-block: clamp(28px, 5vw, 64px); }
.atelier-contact .atelier-contact-hero h1 { color: var(--cream); font: 400 clamp(2.35rem, 5vw, 4.5rem)/1.04 var(--serif); margin: 14px 0; text-transform: none; }
.atelier-contact-hero p { max-width: 52ch; margin: 0; color: var(--cream); }
.atelier-contact-hero .breadcrumb a { color: var(--gold); }
.atelier-contact-hero img { display: block; width: 100%; height: auto; max-height: 240px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.atelier-contact-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-block: clamp(24px, 5vw, 60px); }
.atelier-contact-aside { display: grid; gap: 18px; }
.atelier-contact-card { padding: clamp(20px, 3vw, 34px); background: #fffdf8; border: 1px solid var(--line); border-radius: 14px; }
.atelier-contact-card h2 { font: 400 clamp(1.45rem, 3vw, 2rem)/1.15 var(--serif); color: var(--navy); margin: 0 0 .65em; text-transform: none; }
.atelier-contact-card p { margin-top: 0; }
.atelier-contact-card dl, .atelier-contact-card ul { margin-bottom: 0; }
.atelier-contact-card dt { font-weight: 700; }
.atelier-contact-card dd { margin: 0 0 .7em; overflow-wrap: anywhere; }
.atelier-contact-card ul { padding-inline-start: 1.15em; }
.atelier-contact-card li + li { margin-top: .5em; }
.atelier-contact-card a { color: var(--red-deep); text-decoration: underline; text-underline-offset: 3px; }
.atelier-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-block: 18px; }
.atelier-contact-fields p { margin: 0; }
.atelier-contact-fields label { display: block; font-weight: 650; }
.atelier-contact-fields .atelier-contact-wide, .atelier-contact-fields p:has(.atelier-contact-wide) { grid-column: 1 / -1; }
.atelier-contact .wpcf7-form-control-wrap { display: block; margin-top: .3em; }
.atelier-contact .wpcf7-form-control:not([type=submit]) { width: 100%; min-height: 44px; padding: .65em .75em; border: 1px solid #ab9782; border-radius: 7px; color: var(--ink); background: #fff; font: inherit; font-weight: 400; }
.atelier-contact textarea { resize: vertical; max-height: none; }
.atelier-contact input[type=submit] { min-height: 46px; padding: .65em 1.25em; background: var(--red-deep); color: #fff; border: 0; border-radius: 7px; font-weight: 700; }
.atelier-contact :focus-visible { outline: 3px solid #946119; outline-offset: 3px; }
@media (max-width: 760px) {
  .atelier-contact-layout, .atelier-contact-hero-inner, .atelier-contact-fields { grid-template-columns: minmax(0, 1fr); }
  .atelier-contact-hero img { display: none; }
}

/* WooCommerce product page */
.atelier-produit { background: var(--cream); color: var(--ink); }
.atelier-produit-bandeau { background: var(--navy); color: var(--cream); padding-block: clamp(24px, 5vw, 54px); border-bottom: 3px solid var(--gold); }
.atelier-produit-bandeau :is(h1, .woocommerce-breadcrumb) { color: var(--cream); }
.atelier-produit-bandeau h1 { margin: .35em 0 0; font: 400 clamp(2rem, 5vw, 3.65rem)/1.1 var(--serif); text-transform: none; overflow-wrap: anywhere; }
.atelier-produit-bandeau a { color: var(--gold); }
.atelier-produit-content { padding-block: clamp(22px, 5vw, 54px); }
.atelier-produit-principal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 4vw, 48px); align-items: start; }
.atelier-produit :is(.atelier-produit-galerie, .atelier-produit-resume, .atelier-produit-details) { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: clamp(14px, 3vw, 32px); min-width: 0; }
.atelier-produit .product div.images,
.atelier-produit .product div.summary { float: none; width: 100%; margin: 0; }
.atelier-produit .product div.images .flex-control-thumbs { margin-top: 12px; }
.atelier-produit .product div.images .flex-control-thumbs li { padding: 3px; }
.atelier-produit .atelier-produit-details { margin-top: clamp(18px, 4vw, 40px); }
.atelier-produit .product .woocommerce-tabs ul.tabs { margin: 0 0 1rem; padding: 0; }
.atelier-produit .product .woocommerce-tabs ul.tabs::before { border-color: var(--line); }
.atelier-produit .product .woocommerce-tabs ul.tabs li,
.atelier-produit .product .woocommerce-tabs ul.tabs li.active { background: var(--cream); border: 1px solid var(--line); margin: 0 4px 0 0; }
.atelier-produit .product .woocommerce-tabs ul.tabs li.active { background: var(--navy); }
.atelier-produit .product .woocommerce-tabs ul.tabs li::before,
.atelier-produit .product .woocommerce-tabs ul.tabs li::after { content: none; }
.atelier-produit .product .woocommerce-tabs ul.tabs li a { color: var(--ink); padding: .6em .8em; }
.atelier-produit .product .woocommerce-tabs ul.tabs li.active a { color: var(--cream); }
.atelier-produit .product .woocommerce-tabs .panel { margin: 0; background: transparent; color: var(--ink); }
.atelier-produit :is(h2, h3) { color: var(--navy); font-family: var(--serif); text-transform: none; }
.atelier-produit .woocommerce a.button,
.atelier-produit .woocommerce button.button { background: var(--red-deep); color: white; border-radius: 8px; min-height: 44px; line-height: 1.35; }
.atelier-produit .woocommerce :is(a.button, button.button):hover { background: var(--navy); color: white; }
.atelier-produit :is(input, select, textarea) { max-width: 100%; background: white; color: var(--ink); border: 1px solid #ab9782; border-radius: 6px; }
.atelier-produit :focus-visible { outline: 3px solid #946119; outline-offset: 3px; }
.atelier-produit .atelier-produit-affiliation { font-size: .86rem; color: var(--muted); margin-top: .75rem; }
.atelier-produit-autres { margin-top: clamp(24px, 4vw, 48px); }
.atelier-produit-autres ul { list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.atelier-produit-autres a { display: block; padding: 12px; height: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--red-deep); overflow-wrap: anywhere; }
.atelier-produit-autres img { width: 100%; aspect-ratio: 1; object-fit: contain; background: white; margin-bottom: .6rem; }
.atelier-produit-retour a { color: var(--red-deep); text-decoration: underline; }
@media (max-width: 720px) {
  .atelier-produit-principal { grid-template-columns: minmax(0, 1fr); }
  .atelier-produit-autres ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.noel-shop-guide { margin-block: 2rem; padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.noel-shop-guide > :last-child { margin-bottom: 0; }
.noel-product-body h3 a { color: var(--ink); }
.noel-product-body h3 a:hover { color: var(--red-deep); text-decoration: underline; }

/* Keep home page components readable alongside the parent theme's global styles. */
.atelier-noel .noel-home .hero h1,
.atelier-noel .noel-home .shop-home h2,
.atelier-noel .noel-home .shop-home p,
.atelier-noel .noel-home .quiz #quiz-question {
  color: var(--ivory);
}

.atelier-noel .noel-home .hero h1 em,
.atelier-noel .noel-home .quiz h3,
.atelier-noel .noel-home .quiz .quiz-link {
  color: var(--gold);
}

.atelier-noel .noel-home .hero .button-gold,
.atelier-noel .noel-home .shop-home .button-gold,
.atelier-noel .noel-home .quiz .button-gold {
  background: var(--gold);
  color: #231b15;
}

.atelier-noel .noel-home .hero .button-outline {
  background: #0f1a2a;
  color: var(--ivory);
}

.atelier-noel .noel-home .family h2,
.atelier-noel .noel-home .family-links a {
  color: var(--ink);
}

.atelier-noel .noel-home ::selection {
  background: var(--gold);
  color: var(--dark);
}

.atelier-noel .noel-home .shop-home > div,
.atelier-noel .noel-home .family-links span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.atelier-noel .noel-home .family-links img {
  flex: 0 0 auto;
  width: clamp(58px, 12vw, 80px);
}

.atelier-noel .noel-home .quiz #quiz-choices button {
  min-height: 44px;
  padding: .5rem .85rem;
  background: var(--dark);
  color: var(--ivory);
}

.atelier-noel .noel-home .quiz #quiz-choices button:hover:not([aria-disabled="true"]),
.atelier-noel .noel-home .quiz #quiz-choices button.selected {
  background: var(--gold);
  color: var(--dark);
}

.atelier-noel .noel-home .quiz .quiz-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: underline;
}

@media (max-width: 680px) {
  .atelier-noel .noel-home .shop-home {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .atelier-noel .noel-home .shop-home .button {
    width: 100%;
  }

  .atelier-noel .noel-home .quiz #quiz-choices {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

.noel-search .card-grid { align-items: start; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.noel-search-card { min-width: 0; overflow-wrap: anywhere; }
.noel-search-card > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.noel-search-card-copy { padding: 1rem; }
.noel-search-card-copy h2 { margin: .25em 0; font-size: 1.15rem; text-transform: none; }
.noel-search form { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.noel-search form label { color: var(--ivory); }
.noel-search form input { min-width: 0; max-width: 100%; }
@media (max-width: 760px) {
  .noel-search .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .noel-search .card-grid { grid-template-columns: 1fr; }
}


/* V2.0.2 — articles aléatoires, sans changement du design des cartes de services */
.noel-home .atelier-random-articles{margin-top:clamp(2rem,5vw,4rem)}
.noel-home .atelier-random-articles .section-heading{margin-bottom:1.5rem}
.noel-home .atelier-random-card > a { flex-direction: column; }
.noel-home .atelier-random-card img { width: 100%; height: auto; max-height: 13rem; aspect-ratio: 3 / 2; object-fit: cover; display: block; align-self: auto; }
.noel-home .atelier-random-card .card-body { min-width: 0; }
.noel-home .atelier-random-card .card-body h4{font-size:clamp(1.1rem,1.6vw,1.35rem);line-height:1.3;margin:0 0 .65rem}
.noel-home .atelier-random-card .card-body p{overflow-wrap:anywhere}
@media(max-width:680px){.noel-home .atelier-random-grid{grid-template-columns:1fr}}

/* V2.0.5 : cadeaux illustrés sous le mini quiz, sans modifier les sections existantes. */
.atelier-home-gifts{padding-top:clamp(28px,5vw,68px);padding-bottom:clamp(28px,5vw,68px)}
.atelier-home-gifts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.atelier-home-gift-card{min-width:0;overflow:hidden}
.atelier-home-gift-card > a { display: flex; flex-direction: column; min-width: 0; text-decoration: none; }
.atelier-home-gift-card img { width: 100%; height: 210px; object-fit: contain; background: #fffaf2; display: block; align-self: auto; }
.atelier-home-gift-card .card-body h3{font-size:1.05rem;line-height:1.35;overflow-wrap:anywhere}
.atelier-home-gift-price{font-weight:700;color:#742c3b}
.atelier-home-gifts-note{text-align:center;font-size:.85rem;opacity:.8;margin-top:18px}
@media(max-width:850px){.atelier-home-gifts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.atelier-home-gifts-grid{gap:12px}.atelier-home-gift-card img{height:150px}}

@media (max-width: 680px) {
  .noel-home .atelier-home-services-grid > .card > a {
    display: grid;
    grid-template-columns: minmax(0, 28%) minmax(0, 1fr);
  }
  .noel-home .atelier-home-services-grid img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }
  .noel-home .atelier-home-services-grid .card-body,
  .noel-home .atelier-home-gift-card .card-body {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .noel-home .atelier-home-services-grid h3,
  .noel-home .atelier-random-card h4 { text-transform: none; }
  .noel-home .section-heading h2 { font-size: clamp(1.65rem, 6vw, 2.35rem); }
  .noel-home .shop-home .button { width: 100%; }
}
@media (max-width: 360px) {
  .noel-home .atelier-home-gifts-grid { grid-template-columns: 1fr; }
}

/* V2.0.12 : amélioration progressive, limitée aux cartes cadeaux et aux lettres. */
body.atelier-noel .atelier-home-gifts .atelier-home-gifts-grid {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:start; gap:18px;
}
body.atelier-noel .atelier-home-gifts .atelier-home-gift-card {
  height:auto; min-height:0; align-self:start; display:flex; flex-direction:column;
}
body.atelier-noel .atelier-home-gifts .atelier-home-gift-card > img {
  display:block; width:100%; height:180px; object-fit:contain; box-sizing:border-box; padding:10px;
}
body.atelier-noel .atelier-home-gifts .atelier-home-gift-card .card-body {
  flex:0 0 auto; height:auto; min-height:0;
}
@media(max-width:850px){body.atelier-noel .atelier-home-gifts .atelier-home-gifts-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:520px){body.atelier-noel .atelier-home-gifts .atelier-home-gifts-grid{grid-template-columns:1fr;}}
body.atelier-noel .lapn-paper-options{margin:18px 0;padding:15px 18px;background:#fffaf0;border:1px solid #decbb0;border-radius:10px;}
body.atelier-noel .lapn-paper-options-title{margin:0 0 9px;font-weight:700;color:#15263a;}
body.atelier-noel .lapn-paper-options-buttons{display:flex;gap:8px;flex-wrap:wrap;}
body.atelier-noel .lapn-paper-choice{cursor:pointer;background:#fff;border:1px solid #9b8270;border-radius:6px;color:#16283a;padding:9px 13px;font:inherit;}
body.atelier-noel .lapn-paper-choice[aria-pressed="true"]{background:#15263a;color:#fff;border-color:#15263a;}
body.atelier-noel .letter-layout .paper[data-lapn-paper="winter"]{background-color:#f1f8fb;background-image:linear-gradient(145deg,#e7f3fa 0%,#fff 48%,#eaf5fa 100%);}
body.atelier-noel .letter-layout .paper[data-lapn-paper="festive"]{background-color:#fff9ed;background-image:linear-gradient(135deg,#f6ead9 0%,#fffaf1 38%,#f5eadc 100%);border-color:#b99369;}
@media print{
  body.atelier-noel .lapn-paper-options{display:none!important;}
  body.atelier-noel .letter-layout .paper[data-lapn-paper]{-webkit-print-color-adjust:exact;print-color-adjust:exact;}
}
