:root {
  --forest: #315449;
  --dark: #244238;
  --cream: #f6eedf;
  --paper: #f9f5ed;
  --white: #fffdf8;
  --ink: #252e28;
  --muted: #555e55;
  --line: #dcd8cb;
  --sand: #e4d1b1;
  --sky: #b6e0da;
  --rust: #844634;
  --christmas-red: #762027;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 22px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ac5f42; outline-offset: 4px; }
.topbar :focus-visible, .christmas-hero :focus-visible, .footer :focus-visible { outline-color: #ff8e61; }
.wrap { width: min(1264px, calc(100% - 104px)); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; padding: 12px; z-index: 5; background: var(--white); }

.topbar { background: var(--forest); color: var(--cream); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 75px; gap: 20px; }
.brand { display: inline-flex; align-items: center; width: clamp(145px, 15vw, 208px); }
.brand img { width: 100%; height: auto; }
.navigation { display: flex; align-items: center; gap: 34px; font-size: 14px; }
.navigation a { padding-block: 7px; border-bottom: 1px solid transparent; }
.navigation a:hover, .navigation .current { border-color: var(--cream); }
.cart-trigger { display: inline-flex; gap: 8px; align-items: center; background: transparent; border: 1px solid #f6eedf78; border-radius: 8px; padding: 8px 11px 8px 13px; font-size: 14px; font-weight: 700; }
.cart-trigger:hover { background: var(--dark); }
.cart-count { display: grid; place-items: center; min-width: 23px; min-height: 23px; padding-inline: 5px; border-radius: 50px; background: var(--cream); color: var(--dark); font-size: 12px; }

.christmas-hero { position: relative; isolation: isolate; overflow: hidden; background: #243327; color: var(--cream); }
.christmas-backdrop, .christmas-backdrop img, .christmas-backdrop video, .christmas-backdrop::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.christmas-backdrop { z-index: -1; }
.christmas-backdrop img, .christmas-backdrop video { display: block; object-fit: cover; object-position: center 42%; }
.christmas-backdrop::after { content: ""; background: linear-gradient(95deg, #0e1c14c9, #14281c6e 56%, #131c1490); }
.christmas-hero::after { position: absolute; inset: auto 0 0; height: clamp(32px, 6.3vw, 94px); background: var(--christmas-red); clip-path: polygon(0 0, 50% 68%, 100% 0, 100% 100%, 0 100%); content: ""; z-index: -1; }
.christmas-inner { position: relative; display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(20px, 4vw, 72px); min-height: 590px; padding-block: clamp(60px, 7vw, 100px) clamp(82px, 8vw, 122px); }
.christmas-heading { position: relative; margin: 0; min-width: 0; text-align: center; text-transform: uppercase; font: 900 clamp(3.25rem, 7.05vw, 7rem)/.91 "Arial Black", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.065em; text-wrap: nowrap; }
.christmas-heading > span { display: block; }
.christmas-heading .christmas-kicker { margin-bottom: .8rem; font: 800 clamp(.86rem, 1.65vw, 1.5rem)/1.2 var(--sans); letter-spacing: .17em; }
.christmas-garland { position: relative; z-index: 1; width: min(110%, 670px); height: clamp(32px, 5.1vw, 78px); margin-block: -16px -12px; left: 50%; transform: translateX(-50%); }
.christmas-garland img { position: absolute; top: 50%; width: 100%; height: auto; transform: translateY(-41%); }
.christmas-copy { padding: clamp(24px, 3.15vw, 48px); background: #24382deb; border: 1px solid #f6eedf30; font-size: 1rem; line-height: 1.52; }
.christmas-lead { margin-bottom: 13px; font: 400 clamp(1.25rem, 2vw, 1.78rem)/1.19 var(--serif); }
.christmas-order-note { margin-top: 9px; font-size: .875rem; }
.button { min-height: 45px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 7px; background: var(--forest); color: var(--cream); padding: 10px 15px; font-size: 14px; font-weight: 700; line-height: 1.35; }
.button:hover:not(:disabled) { background: var(--dark); }
.button.secondary { color: var(--dark); background: transparent; border-color: #c6cfc4; }
.button.secondary:hover:not(:disabled) { background: #e5ece0; }
.christmas-cta { margin-top: 20px; background: var(--cream); color: var(--dark); }
.christmas-cta:hover:not(:disabled) { background: var(--sand); }
.christmas-motion { position: absolute; bottom: 20px; right: 0; min-height: 38px; padding: 6px 11px; border: 1px solid #f6eedf80; border-radius: 6px; background: #26362ce8; color: var(--cream); font-size: .875rem; }
.christmas-motion:hover { background: var(--dark); }

.catalog { padding-top: 51px; }
.catalog-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
h2 { font: 400 clamp(33px, 3.55vw, 50px)/1.06 var(--serif); letter-spacing: -.052em; color: var(--dark); }
.demo-label { font-size: 13px; color: var(--muted); }
.catalog-controls { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 21px; margin-bottom: 22px; }
.category-select, .search { min-height: 42px; max-width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 7px; color: var(--forest); }
.category-select { width: 255px; padding: 7px 12px; font-size: 14px; }
.category-select:not(:disabled) { cursor: pointer; }
.search { display: flex; align-items: center; gap: 10px; width: 325px; padding-inline: 12px; }
.search:focus-within { outline: 2px solid var(--forest); outline-offset: 1px; }
.search input { min-width: 0; width: 100%; min-height: 40px; padding: 0; border: 0; background: transparent; outline: none; font-size: 14px; }
.search input::placeholder { color: #616961; opacity: 1; }
.catalog-message { grid-column: 1 / -1; padding: 32px 20px; background: var(--white); color: var(--muted); border-radius: 8px; border: 1px solid var(--line); }
.catalog-message .button { margin-top: 14px; }
.catalog-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 23px; color: var(--muted); font-size: 14px; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product { min-width: 0; min-height: 100%; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: var(--white); border-radius: 11px; }
.product-visual { display: block; width: 100%; border: 0; padding: 0; text-align: left; background: none; }
.product-visual:focus-visible { outline-offset: -4px; }
.cover-scene { --ground: #d2d9cb; --cover: #344f42; --print: #f4e5cb; --shape: #c7aa7c; position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; width: 100%; aspect-ratio: 1.87; background: var(--ground); color: var(--print); }
.cover-scene::before { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, #fff6 2%, transparent 43%, #1c2a211f 100%); }
.cover-actual, .cover-missing { min-height: 166px; border-bottom: 1px solid var(--line); }
.cover-actual { background: #fff; }
.cover-actual::before, .cover-missing::before { display: none; }
.cover-photo { width: 186px; height: auto; max-width: 100%; object-fit: contain; }
.cover-missing { align-content: center; gap: 8px; background: var(--cream); color: var(--muted); font-size: 14px; }
.cover-scene.clay { --ground: #ead4c5; --cover: #a95c44; --print: #fff0d8; --shape: #edbd94; }
.cover-scene.linen { --ground: #e8d8b8; --cover: #f5e6c6; --print: #304c3e; --shape: #9c9c72; }
.cover-scene.dusk { --ground: #ddd0c2; --cover: #573c38; --print: #f6eedf; --shape: #e1ac8e; }
.cover-scene.sage { --ground: #c9dcd4; --cover: #87ab9e; --print: #203830; --shape: #e7e4c7; }
.cover-object { position: relative; width: 35%; aspect-ratio: .76; display: flex; align-items: flex-start; flex-direction: column; overflow: hidden; padding: 5% 4%; transform: rotate(-10deg); border-radius: 2px 4px 4px 2px; background: linear-gradient(90deg, #2224, transparent 8%, #fff1 10%, transparent 15%), var(--cover); box-shadow: 2px 3px 0 #dfd6be, 5px 6px 0 #aea692, 11px 16px 24px #34261842; transition: transform .24s ease; }
.product-visual:hover .cover-object { transform: rotate(-7deg) translateY(-4px); }
.cover-object::before { content: ""; position: absolute; z-index: -1; width: 84%; aspect-ratio: 1; right: -17%; bottom: -29%; border-radius: 50%; border: 1px solid var(--shape); box-shadow: 0 0 0 9px color-mix(in srgb, var(--shape) 40%, transparent), 0 0 0 19px color-mix(in srgb, var(--shape) 26%, transparent), 0 0 0 31px color-mix(in srgb, var(--shape) 14%, transparent); }
.clay .cover-object, .sage .cover-object { width: 39%; aspect-ratio: 1.04; transform: rotate(9deg); box-shadow: 0 3px 0 #f4e1c6, -6px 9px 0 0 #875742, 4px 16px 22px #34261838; }
.product-visual:hover :is(.clay, .sage) .cover-object { transform: rotate(6deg) translateY(-4px); }
.linen .cover-object { transform: rotate(7deg); }
.cover-title { white-space: pre-line; font: 400 clamp(13px, 1.58vw, 24px)/1.01 var(--serif); letter-spacing: -.045em; }
.cover-eyebrow { margin-bottom: 12%; font: 500 clamp(6px, .60vw, 9px)/1.2 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .1em; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px 19px 19px; }
.product-format { margin-bottom: 8px; color: var(--forest); font: 700 10px/1.45 ui-monospace, "Courier New", monospace; text-transform: uppercase; letter-spacing: .075em; }
.product h3 { font: 400 25px/1.13 var(--serif); letter-spacing: -.045em; color: var(--dark); overflow-wrap: anywhere; }
.product-title { border: 0; padding: 0; background: none; text-align: left; font: inherit; }
.product-title:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-description { margin-top: 9px; color: var(--muted); font-size: 14px; }
.product-action { display: flex; gap: 8px 12px; flex-wrap: wrap; align-items: center; margin-top: auto; padding-top: 16px; }
.in-cart { font-size: 13px; color: var(--muted); }
.how { margin-top: 61px; padding: 32px 0 55px; border-top: 1px solid var(--line); }
.how ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 38px; margin: 23px 0 0; padding-left: 20px; }
.how li::marker { color: var(--forest); font: 700 14px var(--sans); }
.how strong { color: var(--dark); }
.how p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.footer { padding-block: 24px; background: var(--forest); color: var(--cream); }
.footer-inner { display: flex; align-items: center; gap: 25px; font-size: 14px; }
.footer-inner .brand { margin-right: auto; width: 145px; }
.footer-inner > a:not(.brand):hover { text-decoration: underline; }

.dialog { color: var(--ink); padding: 0; border: 0; background: var(--paper); max-height: 92dvh; }
.dialog::backdrop { background: #182a23a6; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 23px 24px 17px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 35px; }
.icon-button { min-width: 38px; min-height: 38px; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--line); color: var(--dark); background: var(--white); }
.icon-button:hover:not(:disabled) { background: #e4ece0; }
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0 0 0 auto; width: min(530px, 100%); max-width: 100%; max-height: none; height: 100dvh; box-shadow: -12px 0 45px #12211938; }
.drawer[open] { display: flex; flex-direction: column; }
.drawer-body { padding: 20px 24px; overflow-y: auto; flex: 1; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 24px max(20px, env(safe-area-inset-bottom)); background: var(--white); }
.drawer-foot .button { width: 100%; }
.drawer-foot .summary { margin-bottom: 12px; color: var(--muted); font-size: 14px; }
.details { width: min(555px, calc(100% - 30px)); border-radius: 12px; }
.details .cover-scene { max-height: 250px; }
.details .cover-photo { width: 225px; }
.details .cover-object { width: min(33%, 156px); }
.details .cover-title { font-size: clamp(15px, 4vw, 22px); }
.details-body { padding: 21px 24px 25px; }
.info { margin: 16px 0 22px; padding: 0; font-size: 14px; }
.info div { border-top: 1px solid var(--line); padding-block: 8px; display: grid; grid-template-columns: 116px 1fr; gap: 12px; }
.info dt { color: var(--muted); }
.info dd { margin: 0; }
.cart-list { margin: 0; padding: 0; list-style: none; }
.cart-row { padding-block: 13px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; overflow-wrap: anywhere; }
.cart-row:first-child { padding-top: 3px; }
.cart-row strong { display: block; color: var(--dark); }
.cart-row small { display: block; color: var(--muted); }
.cart-row .remove { font-size: 12px; padding: 3px 0; margin-top: 4px; }
.quantity { display: flex; align-items: center; gap: 3px; }
.quantity .icon-button { min-width: 33px; min-height: 33px; }
.quantity [aria-disabled="true"] { opacity: .55; cursor: default; }
.quantity input { width: 49px; text-align: center; border: 1px solid var(--line); border-radius: 5px; height: 33px; background: var(--white); appearance: textfield; }
.quantity input::-webkit-inner-spin-button { appearance: none; }
.text-button { color: var(--forest); border: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.empty { padding-block: 28px; }
.empty .button { margin-top: 18px; }
.checkout { display: grid; gap: 13px; }
.checkout label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
.checkout input, .checkout select, .checkout textarea { width: 100%; min-height: 42px; border: 1px solid #c4c9be; border-radius: 6px; background: var(--white); padding: 8px 10px; font-size: 15px; font-weight: 400; }
.checkout textarea { resize: vertical; }
.checkout-back { justify-self: start; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 10px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note a { text-decoration: underline; }
.form-error { color: var(--rust); font-weight: 700; font-size: 14px; margin-top: 9px; }
.success-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 12px 0 18px; background: #dce8dc; border-radius: 50%; color: var(--dark); }
.success-copy { margin-top: 10px; color: var(--muted); }
@media (max-width: 1040px) {
  .wrap { width: calc(100% - 64px); }
  .christmas-inner { min-height: 540px; }
  .product-grid { gap: 16px; }
}
@media (max-width: 790px) {
  .wrap { width: calc(100% - 40px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover-title { font-size: clamp(14px, 2.5vw, 24px); }
  .christmas-inner { grid-template-columns: 1fr; min-height: 0; gap: 28px; padding-top: 52px; }
  .christmas-heading { font-size: clamp(3.4rem, 11.5vw, 5.35rem); }
  .christmas-garland { width: min(100%, 475px); height: clamp(52px, 10vw, 71px); margin-block: -18px -13px; }
  .christmas-copy { width: min(100%, 510px); justify-self: center; text-align: center; }
  .christmas-backdrop img { object-position: center 30%; }
  .christmas-backdrop::after { background: linear-gradient(180deg, #10211776, #18251a9e 54%, #1b2419da); }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 12px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 62px; gap: 10px; }
  .brand { width: 145px; }
  .navigation { display: none; }
  .christmas-inner { gap: 24px; padding-block: 45px 54px; }
  .christmas-copy { padding: 20px 15px; }
  .catalog { padding-top: 34px; }
  .catalog-controls { margin-top: 14px; margin-bottom: 16px; }
  .category-select, .search { width: 100%; }
  .how { margin-top: 40px; padding-block: 28px 38px; }
  .how ol { grid-template-columns: 1fr; gap: 13px; margin-top: 17px; }
  .footer-inner { gap: 12px; flex-wrap: wrap; }
  .dialog-head { padding-inline: 16px; }
  .drawer-body, .drawer-foot, .details-body { padding-inline: 16px; }
}
@media (max-width: 460px) {
  .product-grid { grid-template-columns: 1fr; gap: 15px; }
  .cover-title { font-size: clamp(17px, 5vw, 23px); }
  .cover-eyebrow { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
