/* ==========================================================================
   Best Biltong · Christmas 2026 · v3 ("80s magazine": white, thin black frames)
   Loaded after Empire's theme.css (layout/theme.liquid).
   Part 1: tokens + shared components (whole site)
   Part 2: site-wide light touch (fonts, buttons, prices)
   Part 3: header and footer (layout as live, only fonts and colours change)
   Part 4: homepage restyles of Empire sections
   Part 5: Christmas decorations (holly, baubles, sparkles, snowflakes, gift tags)
   ========================================================================== */

/* ---------- Part 1: tokens ---------- */
:root {
  /* v3 palette: colour as accents only, white everywhere */
  --xmas-green: #014E2B;
  --xmas-red:   #DC2D29;
  --xmas-gold:  #FCC605;
  --xmas-blue:  #1E4A9E;
  --xmas-ink:   #000000;
  --xmas-white: #FFFFFF;
  --xmas-muted: #555555;
  --xmas-photo-bg: #F2F2F2;
  --xmas-sparkle: #FFF1C9;   /* soft fill for outlined sparkles */

  /* v1/v2 aliases kept so older names still resolve */
  --xmas-pine: var(--xmas-green);
  --xmas-cream: var(--xmas-white);

  --xmas-font-display: 'Anton', 'Arial Narrow', sans-serif;
  --xmas-font-heading: "American Typewriter", "AmericanTypewriter-Bold", Rockwell, "Courier New", Georgia, serif;
  --xmas-font-body: 'Archivo', system-ui, sans-serif;
  --xmas-font-script: 'Yellowtail', cursive;

  --xmas-border: 2px solid var(--xmas-ink);        /* cards, strips, inputs */
  --xmas-border-thick: 3px solid var(--xmas-ink);  /* hero and newsletter cards */
  --xmas-radius-card: 16px;
  --xmas-radius-panel: 24px;

  --xmas-max: 1280px;
  --xmas-gutter: 24px;
  --xmas-space: 76px;

  /* Empire's own font variables, pointed at the new fonts */
  --body-font-family: 'Archivo';
  --body-font-family-fallback: system-ui, sans-serif;
  --heading-font-family: 'Anton';
  --heading-font-family-fallback: 'Arial Narrow', sans-serif;
  --subheading-font-family: 'Archivo', system-ui, sans-serif;
  --button-font-family: 'Archivo', system-ui, sans-serif;
  --menu-font-family: 'Archivo', system-ui, sans-serif;
  --accent-font-family: 'Yellowtail';
  --accent-font-family-fallback: cursive;
}
@media (max-width: 749px) { :root { --xmas-space: 48px; --xmas-gutter: 16px; } }

body { background: var(--xmas-white); font-family: var(--xmas-font-body); color: var(--xmas-ink); }
html { overflow-x: clip; }

/* Headlines. Flat (no drop shadow). The Xmas heading section's "Block shadow" checkbox can add a light one back (xmas-headline--shadow). */
.xmas-headline {
  font-family: var(--xmas-font-heading); font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; line-height: 0.98; margin: 0;
  text-shadow: none;
}
.xmas-headline--section { font-size: clamp(36px, 4.6vw, 52px); }
.xmas-headline--xl { font-size: clamp(76px, 10vw, 132px); letter-spacing: 2px; line-height: 0.95; }
.xmas-headline--flat { text-shadow: none; }
.xmas-headline--shadow { text-shadow: 2px 2px 0 var(--xmas-ink), 3px 3px 0 var(--xmas-ink); }
.xmas-kicker { font-family: var(--xmas-font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: clamp(34px, 4.6vw, 62px); line-height: 1; margin: 0; }
.xmas-script { font-family: var(--xmas-font-script); font-weight: 400; font-size: clamp(26px, 3vw, 40px); line-height: 1.25; padding: 0.15em 0.2em 0.1em 0; transform: rotate(-4deg); transform-origin: left; display: inline-block; margin: 0; }

/* Buttons: flat, 2px black border, bold text */
.xmas-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
  border: var(--xmas-border); border-radius: 999px; box-shadow: none;
  font-family: var(--xmas-font-body); font-weight: 800; font-size: 15px; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none; cursor: pointer; text-align: center;
  transition: filter .12s ease, transform .12s ease;
}
.xmas-btn:hover { filter: brightness(0.94); transform: translateY(-1px); }
.xmas-btn:focus-visible { outline: 3px solid var(--xmas-gold); outline-offset: 3px; }
.xmas-btn--pine, .xmas-btn--green { background: var(--xmas-green); color: var(--xmas-white); }
.xmas-btn--blue  { background: var(--xmas-blue);  color: var(--xmas-white); }
.xmas-btn--red   { background: var(--xmas-red);   color: var(--xmas-ink); }   /* black text: no white on red at button size */
.xmas-btn--gold  { background: var(--xmas-gold);  color: var(--xmas-ink); }
.xmas-btn--white { background: var(--xmas-white); color: var(--xmas-blue); }
.xmas-btn--ghost { background: var(--xmas-white); color: var(--xmas-ink); }
.xmas-btn--pine:hover, .xmas-btn--green:hover, .xmas-btn--blue:hover { color: var(--xmas-white); }
.xmas-btn--red:hover, .xmas-btn--gold:hover, .xmas-btn--ghost:hover { color: var(--xmas-ink); }
.xmas-btn--white:hover { color: var(--xmas-blue); }
.xmas-btn[style*="--btn-bg"], .xmas-btn[style*="--btn-bg"]:hover { background: var(--btn-bg); color: var(--btn-fg); }

/* Round badge */
.xmas-badge { width: 118px; height: 118px; border-radius: 50%; background: var(--xmas-white); color: var(--xmas-red); border: var(--xmas-border);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px;
  font-family: var(--xmas-font-display); font-size: 18px; line-height: 1.05; text-transform: uppercase; transform: rotate(-12deg); }

/* Arch photo window with an offset colour block behind. The image clips inside its own wrapper. */
.xmas-arch { position: relative; }
.xmas-arch__back { position: absolute; inset: 0; border: var(--xmas-border-thick); border-bottom: 0; border-radius: 999px 999px 0 0; transform: translate(14px, -14px); }
.xmas-arch__img  { position: relative; overflow: hidden; border: var(--xmas-border-thick); border-bottom: 0; border-radius: 999px 999px 0 0; height: 100%; background: var(--xmas-photo-bg); }
.xmas-arch__img img, .xmas-arch__img svg { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Product card (brief section 7) */
.xmas-card { background: #fff; border: var(--xmas-border); border-radius: 16px; overflow: hidden; box-shadow: none; }
.xmas-card__media { margin: 0; border: 0; border-bottom: var(--xmas-border); border-radius: 0; background: var(--xmas-photo-bg); }
.xmas-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Shared section shell for xmas-* sections.
   Vertical spacing comes from each section's Top/Bottom padding settings (snippets/xmas-section-spacing.liquid). */
.xmas-section { padding: 0 var(--xmas-gutter); }
/* Decorations may poke past the card on phones; clip sideways only, never vertically */
.xmas-hero-section, .template-index .shopify-section:has(> .pxs-newsletter) { overflow-x: clip; }
.xmas-wrap { max-width: var(--xmas-max); margin: 0 auto; }

/* ---------- Part 2: site-wide light touch ---------- */
body, .site-logo-text, .productitem--title, .utility-bar__menu-link, .form-field-input, .form-field-select,
.site-header-actions, .button-primary, .button-secondary, .product-form--atc-button, .productitem--action-trigger {
  font-family: var(--xmas-font-body);
}
h1, h2, h3, h4, .home-section--title, .product-section--title, .highlights-banner__heading,
.featured-collection__title-card-heading, .product-recently-viewed__heading, .menulist-item__title {
  font-family: var(--xmas-font-heading); font-weight: 700; letter-spacing: 1px;
}
h1, .home-section--title, .product-section--title { text-transform: uppercase; }
/* Product titles stay in Archivo so long names remain readable */
.productitem--title, .article--excerpt-title, .product-title { font-family: var(--xmas-font-body); font-weight: 800; letter-spacing: 0; }

.button-primary, .product-form--atc-button, .productitem--action-atc {
  background: var(--xmas-green); color: var(--xmas-white); border: var(--xmas-border); border-radius: 999px; box-shadow: none;
  font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; min-height: 48px;
}
.button-primary:not(.disabled):hover, .product-form--atc-button:not([disabled]):hover, .productitem--action-atc:not(.disabled):hover {
  background: var(--xmas-green); color: var(--xmas-white); filter: brightness(0.94);
}
.button-secondary { border: var(--xmas-border); border-radius: 999px; color: var(--xmas-ink); background: #fff; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.price__current, .productitem__price .price__current { color: var(--xmas-red); }

/* ---------- Part 3: header (layout as live) ---------- */
/* Utility bar: green background and white links come from the section settings */
.utility-bar__menu-link { font-family: var(--xmas-font-body); font-size: 15px; }
.utility-bar .social-link { background: none; border: 0; }

/* Main row: white, no shadow (the category menu carries the bottom rule) */
.site-header, .site-header-main { background: var(--xmas-white); box-shadow: none; }

/* Search group: one 2px black box, grey category dropdown, red search button with a white icon */
.site-header .live-search-form { border: var(--xmas-border); border-radius: 6px; overflow: hidden; background: #fff; }
.site-header .live-search-form .form-field-input, .site-header .live-search-form .live-search-filter,
.site-header .live-search-form .form-field-select { border: 0; border-radius: 0; box-shadow: none; }
.site-header .live-search-button {
  background: var(--xmas-red); color: var(--xmas-white); border: 0; border-left: var(--xmas-border); border-radius: 0; min-width: 48px;
}
.site-header .live-search-button svg { color: var(--xmas-white); fill: currentColor; }
.site-header .live-search-button:hover { background: var(--xmas-red); filter: brightness(0.94); }

/* Login and cart: plain outline icons; red count badge with black text */
.site-header-cart--button { color: var(--xmas-ink); background: none; border: 0; box-shadow: none; }
.site-header__account-icon { background: none; border: 0; }
.site-header-cart--button .site-header-cart--count.visible,
.site-header-cart--button .site-header-cart--count:not(:empty) { background: var(--xmas-red); color: var(--xmas-ink); font-weight: 800; }

/* Category menu: white, black Anton capitals, Specials in red, 2px black bottom rule */
.site-navigation-wrapper { background: var(--xmas-white); border-bottom: var(--xmas-border); box-shadow: none; }
.site-navigation-wrapper .site-navigation { background: transparent; }
.site-navigation .navmenu-depth-1 > li > a,
.site-navigation .navmenu-depth-1 > li > details > summary {
  color: var(--xmas-ink); font-family: var(--xmas-font-display); font-size: 18px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 400;
}
.site-navigation .navmenu-depth-1 > li > a:hover,
.site-navigation .navmenu-depth-1 > li > details > summary:hover { color: var(--xmas-green); }
.site-navigation .navmenu-depth-1 > li.navmenu-id-specials > a,
.site-navigation .navmenu-depth-1 > li.navmenu-id-specials > details > summary { color: var(--xmas-red); }
.site-navigation .navmenu-icon-depth-1 svg { color: currentColor; fill: currentColor; }

/* ---------- Part 3: footer (layout as live) ---------- */
.site-footer-wrapper { background: var(--xmas-gold); color: var(--xmas-ink); border-top: var(--xmas-border); }
.site-footer-block-title { color: var(--xmas-ink); font-family: var(--xmas-font-display); font-weight: 400; font-size: 22px; letter-spacing: 1px; text-transform: uppercase; }
.site-footer-block-icon svg { color: var(--xmas-ink); }
.site-footer-block-item { border-color: rgba(0, 0, 0, .2); }
.site-footer-wrapper a, .site-footer-wrapper .navmenu-link, .site-footer-wrapper .site-footer-block-content,
.site-footer-wrapper .site-footer-credits, .site-footer-wrapper p { color: var(--xmas-ink); font-family: var(--xmas-font-body); font-size: 16px; }
.site-footer-wrapper a:hover, .site-footer-wrapper .navmenu-link:hover { color: var(--xmas-ink); text-decoration: underline; }
.site-footer-wrapper .site-footer-credits, .site-footer-wrapper .site-footer-credits a { font-size: 14px; }
.site-footer-wrapper .social-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer-wrapper .social-link {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(0, 0, 0, .1); color: var(--xmas-ink); margin: 0;
}
.site-footer-wrapper .social-link svg { fill: var(--xmas-ink); color: var(--xmas-ink); }
.site-footer-wrapper .social-link:hover { background: rgba(0, 0, 0, .18); text-decoration: none; }
.site-footer-wrapper .form-field-input { background: #fff; color: var(--xmas-ink); border: var(--xmas-border); border-radius: 6px; }
.site-footer-wrapper .newsletter-submit button {
  background: var(--xmas-red); color: var(--xmas-ink); border: var(--xmas-border); border-radius: 6px; box-shadow: none;
  font-family: var(--xmas-font-display); font-weight: 400; font-size: 18px; letter-spacing: 1px; text-transform: uppercase;
}
.site-footer-wrapper .newsletter-submit button:hover { background: var(--xmas-red); color: var(--xmas-ink); filter: brightness(0.94); }
.site-footer-wrapper .disclosure__toggle {
  --disclosure-toggle-background-color: #fff; --disclosure-toggle-text-color: var(--xmas-ink); --disclosure-toggle-svg-color: var(--xmas-ink);
  background: #fff; color: var(--xmas-ink); border: var(--xmas-border); border-radius: 6px;
}

/* ---------- Part 4: homepage restyles of Empire sections ---------- */
.template-index .main-content, .template-index #site-main { background: var(--xmas-white); }
/* Keep each section's inner margins inside the section, so a full-width Section background covers them */
.template-index .site-main > .shopify-section { display: flow-root; }

/* Headings above an Empire section come from the xmas-heading section;
   its data-next value tells the next section how to look. */
.xmas-heading { padding: 0 var(--xmas-gutter); position: relative; overflow: visible; }
.xmas-heading__inner { max-width: var(--xmas-max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; position: relative; z-index: 1; }
.xmas-heading__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.xmas-heading--center .xmas-heading__inner { flex-direction: column; align-items: center; text-align: center; }
.xmas-heading--center .xmas-heading__text { align-items: center; }
.xmas-heading--center .xmas-script { transform-origin: center; }
.xmas-heading__sub { color: var(--xmas-muted); font-size: 17px; max-width: 640px; margin: 4px 0 0; }
.xmas-heading__flake { display: inline-block; margin-left: 12px; vertical-align: 0.15em; line-height: 0; text-shadow: none; }
.xmas-heading__link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; white-space: nowrap; }
.xmas-heading__link:hover { text-decoration-thickness: 4px; }

/* Next-section hooks */
.shopify-section:has(> .xmas-heading) + .shopify-section .home-section--title,
.shopify-section:has(> .xmas-heading) + .shopify-section .featured-collection__container > .home-section--title { display: none; }
.shopify-section:has(> .xmas-heading) + .shopify-section > section { margin-top: 0; padding-top: 0; }
.shopify-section:has(> .xmas-heading) + .shopify-section { padding-bottom: var(--xmas-space); }

/* Product grids: plain white cards, full-width images, white outline buttons */
.shopify-section:has(> .xmas-heading[data-next="gift"]) + .shopify-section,
.shopify-section:has(> .xmas-heading[data-next="flat"]) + .shopify-section,
.shopify-section:has(> .xmas-heading[data-next="wines"]) + .shopify-section { --xmas-card-price: var(--xmas-red); }
.shopify-section:has(> .xmas-heading[data-next="flat"]) + .shopify-section { --xmas-card-price: var(--xmas-blue); }
.shopify-section:has(> .xmas-heading[data-next="wines"]) + .shopify-section { --xmas-card-price: var(--xmas-green); --xmas-grid-cols: 4; }

:is(.shopify-section:has(> .xmas-heading[data-next="gift"]), .shopify-section:has(> .xmas-heading[data-next="flat"]), .shopify-section:has(> .xmas-heading[data-next="wines"])) + .shopify-section {
  & .featured-collection__container { max-width: var(--xmas-max); margin: 0 auto; padding: 0 var(--xmas-gutter); }
  & .featured-collection__content { gap: 24px; }
  @media (min-width: 1024px) {
    & .featured-collection__content[data-layout="grid"] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
    & .featured-collection__content[data-layout="grid"] > * { width: auto !important; margin: 0 !important; }
  }
  @media (min-width: 1280px) {
    & .featured-collection__content[data-layout="grid"] { grid-template-columns: repeat(var(--xmas-grid-cols, 5), minmax(0, 1fr)); }
  }
  & .productgrid--item { padding: 4px 6px 12px; }
  & .productitem { padding: 0 !important; background: #fff; border: var(--xmas-border); border-radius: 16px; box-shadow: none; overflow: hidden; height: 100%; }
  & .productgrid--item:hover .productitem, & .productgrid--item:focus-within .productitem { box-shadow: none; }
  & .productitem__container { display: flex; flex-direction: column; height: 100%; }
  /* Full-width image, flush to the top and both sides; 2px divider below */
  & .productitem__image-container { position: relative; margin: 0; border: 0; border-bottom: var(--xmas-border); border-radius: 0; overflow: hidden; background: var(--xmas-photo-bg); }
  & .productitem--image-link { display: block; }
  & .productitem--image { aspect-ratio: 1 / 1; --product-grid-item-image-aspect-ratio: 1; margin: 0; padding: 0 !important; height: auto; width: 100%; }
  /* Empire centres the hover (alternate) image with translate(-50%,-50%); reset it so both images fill the frame */
  & .productitem--image img, & .productitem--image svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; transform: none; object-fit: cover; }
  & .productitem--info { background: transparent; padding: 14px 14px 4px; text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  & .productitem--title { order: -1; font-size: 15px; line-height: 1.3; margin: 0; }
  & .productitem--title a { color: var(--xmas-ink); }
  & .price__current, & .price__current .money { color: var(--xmas-card-price); font-family: var(--xmas-font-display); font-size: 22px; letter-spacing: 1px; font-weight: 400; }
  & .productitem--actions { position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important;
    display: block; padding: 8px 14px 16px; margin: auto 0 0 !important; background: transparent; box-shadow: none; }
  & .productitem--action:not([style*="none"]) { display: block; width: 100%; margin: 6px 0 0; padding: 0; }
  & .productitem--listview-price, & .productitem--listview-badge, & .quickshop-button { display: none !important; }
  & .productitem--action-atc, & .productitem--action-trigger.button-primary {
    width: 100%; padding: 10px 14px; background: #fff; color: var(--xmas-ink); border: var(--xmas-border); border-radius: 999px; box-shadow: none;
    font-family: var(--xmas-font-body); font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; min-height: 44px; white-space: normal; line-height: 1.15;
  }
  & .productitem--action-atc:not(.disabled):hover, & .productitem--action-trigger.button-primary:hover { background: var(--xmas-photo-bg); color: var(--xmas-ink); filter: none; }
  & .productitem--description, & .productitem__stock-level, & .productitem--vendor { display: none; }
  & .productitem--badge { z-index: 2; }
  & .featured-collection__title-card { border: var(--xmas-border); border-radius: 16px; box-shadow: none; overflow: hidden; }
  & .flickity-page-dots .dot { background: var(--xmas-ink); }
}

/* Shop by Category: Empire promo grid as photo arches with a thin black border; coloured labels underneath */
.shopify-section:has(> .xmas-heading[data-next="categories"]) + .shopify-section {
  & .promo-grid--container { max-width: var(--xmas-max); margin: 0 auto; padding: 0 var(--xmas-gutter); }
  & .home-section--content { height: auto !important; }
  /* Zoomed photos are clipped to the arch visually; stop their scaled size widening the page */
  overflow-x: clip;
  & .promo-grid--inner { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; margin: 0; }
  & .promo-block { position: relative; width: auto !important; height: 280px !important; min-height: 0; margin: 0 0 54px !important; padding: 0;
    border: var(--xmas-border); border-radius: 140px 140px 16px 16px; box-shadow: none;
    background-color: var(--xmas-arch-bg, var(--xmas-photo-bg)); background-image: none !important; overflow: visible; }
  /* The photo fills the arch. Per-tile "Image zoom" and "Image focus" settings scale the photo around the
     focus point and move that point to the centre. The photo frame (an untransformed wrapper in
     snippets/promo-block.liquid) clips it to the arch, which iPhone Safari handles reliably. */
  & .promo-block--photo-frame {
    position: absolute; inset: 0; overflow: hidden; border-radius: 138px 138px 14px 14px;
    clip-path: inset(0 round 138px 138px 14px 14px); isolation: isolate; transform: translateZ(0);
  }
  & .promo-block--background {
    --z: var(--xmas-zoom, 1); --fx: var(--xmas-fx, 50%); --fy: var(--xmas-fy, 50%);
    opacity: 1 !important; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50% !important;
    transform-origin: 50% 50%;
    transform: translate(calc((50% - var(--fx)) * var(--z)), calc((50% - var(--fy)) * var(--z))) scale(var(--z));
    clip-path: none;
  }
  & .promo-block { overflow: visible; isolation: isolate; }
  & [data-rimg-canvas] { display: none; }
  & .promo-block--content { position: absolute; inset: 0; height: 100% !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; border-radius: inherit; overflow: visible !important; }
  & .promo-block--content-wrapper { overflow: visible !important; position: absolute; left: 0; right: 0; top: calc(100% + 14px); text-align: center; padding: 0; }
  /* Label colour comes from each tile's own "Text colour" setting in the editor */
  & .promo-block--header { font-family: var(--xmas-font-heading); font-weight: 700; font-size: 28px; letter-spacing: 1.5px; text-transform: uppercase; color: inherit !important; margin: 0 auto; line-height: 1.1;
    width: 100%; max-width: none; text-align: center; }
  & .promo-block--text, & .promo-block--expander, & .promo-block--overlay { display: none !important; }
  & .promo-block--content:focus-visible { outline: 3px solid var(--xmas-gold); outline-offset: 4px; }
  @media (max-width: 749px) {
    & .promo-grid--inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
    & .promo-block { height: 200px !important; margin-bottom: 44px !important; }
    & .promo-block--header { font-size: 22px; }
  }
}
@media (max-width: 749px) {
  .xmas-btn { font-size: 14px; letter-spacing: 1px; padding: 0 20px; }
}

/* Recipes: Empire featured blog (the look the client loved) */
.shopify-section:has(> .xmas-heading[data-next="recipes"]) + .shopify-section {
  & .blogposts--container { max-width: var(--xmas-max); margin: 0 auto; padding: 0 var(--xmas-gutter); }
  @media (min-width: 750px) {
    & .blogposts--inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    & .blogposts--inner > li { width: auto !important; margin: 0 !important; padding: 0 !important; max-width: none; }
  }
  & .article-list-item { background: #fff; border: var(--xmas-border); border-radius: 16px; box-shadow: none; overflow: hidden; height: 100%; }
  & .article--excerpt-image { display: block; border-bottom: var(--xmas-border); }
  & .article--excerpt-content { padding: 20px 22px 24px; }
  & .article--excerpt-title { font-family: var(--xmas-font-heading); font-weight: 700; font-size: 28px; line-height: 1.05; letter-spacing: 1px; text-transform: uppercase; }
  & .article--excerpt-title a { color: var(--xmas-ink); }
  & .article--excerpt-text { color: var(--xmas-muted); }
  & .article--excerpt-readmore { display: inline-flex; align-items: center; min-height: 44px; color: var(--xmas-ink); font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
    text-decoration: underline; text-decoration-color: var(--xmas-gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
  & .article--excerpt-readmore--icon { display: none; }
}

/* Newsletter banner: white card, 3px border, 24px radius. Must not clip (holly and bauble sit on the border). */
.template-index .shopify-section:has(> .pxs-newsletter) { padding-left: var(--xmas-gutter); padding-right: var(--xmas-gutter); }
.template-index .pxs-newsletter {
  position: relative; max-width: var(--xmas-max); margin: 0 auto; padding: 0;
  background: var(--xmas-white); border: var(--xmas-border-thick); border-radius: var(--xmas-radius-panel); overflow: visible;
}
.template-index .pxs-newsletter-content { background: transparent; border: 0; border-radius: var(--xmas-radius-panel);
  padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 56px); text-align: center; width: 100%; }
.template-index .pxs-newsletter-figure { display: none; }
.template-index .pxs-newsletter-header { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 22px; }
/* The section's "Text" field is shown above the heading as the script kicker */
.template-index .pxs-newsletter-text { order: -1; font-family: var(--xmas-font-script); font-size: clamp(26px, 3vw, 38px); color: var(--xmas-red); transform: rotate(-4deg); line-height: 1.25; padding: 0.1em 0.2em 0 0; }
.template-index .pxs-newsletter-text p { margin: 0; }
.template-index .pxs-newsletter-heading { font-family: var(--xmas-font-heading); font-weight: 700; font-size: clamp(32px, 4.4vw, 46px); line-height: 1; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--xmas-green); text-shadow: none; margin: 0; }
.template-index .pxs-newsletter .newsletter { max-width: 560px; margin: 0 auto; }
.template-index .pxs-newsletter .form-fields-inline { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.template-index .pxs-newsletter .form-field { margin: 0; }
.template-index .pxs-newsletter .newsletter-input { flex: 1 1 260px; }
.template-index .pxs-newsletter .newsletter-submit { flex: 0 0 auto; }
.template-index .pxs-newsletter .form-field-input { min-height: 52px; border: var(--xmas-border); border-radius: 999px; background: #fff; padding: 0 22px; }
.template-index .pxs-newsletter .form-field-input:focus { outline: 3px solid var(--xmas-gold); outline-offset: 2px; }
.template-index .pxs-newsletter .form-field-label { left: 22px; }
.template-index .pxs-newsletter .newsletter-submit button {
  min-height: 52px; padding: 0 28px; background: var(--xmas-green); color: var(--xmas-white); border: var(--xmas-border); border-radius: 999px;
  box-shadow: none; font-family: var(--xmas-font-body); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin: 0;
}
@media (min-width: 1024px) {
  .template-index .pxs-newsletter-content { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 40px; text-align: left; }
  .template-index .pxs-newsletter-header { align-items: flex-start; margin: 0; }
  .template-index .pxs-newsletter-text { transform-origin: left; }
  .template-index .pxs-newsletter .newsletter { flex: 0 1 540px; margin: 0; }
  .template-index .pxs-newsletter .form-fields-inline { flex-wrap: nowrap; justify-content: flex-end; }
}

/* ---------- Part 5: Christmas decorations ---------- */
.xmas-sparkle, .xmas-snowflake { display: inline-block; vertical-align: middle; flex: none; }

/* Holly: pinned so the berries sit on the card's corner border line */
.xmas-holly { position: absolute; width: 140px; height: auto; z-index: 2; pointer-events: none; }
.xmas-holly--tl { left: -44px; top: -42px; transform: scaleX(-1) rotate(-8deg); }  /* berries over top-left corner */
.xmas-holly--tr { right: -44px; top: -42px; transform: rotate(8deg); }             /* berries over top-right corner */
@media (max-width: 749px) {
  .xmas-holly { width: 96px; }
  .xmas-holly--tl { left: -24px; top: -26px; }
  .xmas-holly--tr { right: -24px; top: -26px; }
}

/* Baubles hanging from the card's top border: string, cap, ball (optional middle band) */
.xmas-bauble {
  position: absolute; top: -3px; z-index: 2; pointer-events: none; transform: translateX(-50%);
  width: var(--bauble-size); height: calc(var(--bauble-string) + 6px + var(--bauble-size));
}
.xmas-bauble::before { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: var(--bauble-string); margin-left: -1px; background: var(--xmas-ink); }
.xmas-bauble::after { content: ""; position: absolute; left: 50%; top: var(--bauble-string); width: 12px; height: 8px; margin-left: -6px;
  background: var(--xmas-white); border: 2px solid var(--xmas-ink); border-radius: 3px 3px 1px 1px; box-sizing: border-box; }
.xmas-bauble__ball { position: absolute; left: 0; bottom: 0; width: var(--bauble-size); height: var(--bauble-size); border-radius: 50%;
  border: 2px solid var(--xmas-ink); box-sizing: border-box;
  background: linear-gradient(180deg, var(--bauble-main) 0 38%, var(--bauble-band) 38% 62%, var(--bauble-main) 62%); }
@media (max-width: 749px) { .pxs-newsletter .xmas-bauble { display: none; } }

/* Gift tags: 2px border, tag radius, 12px punch hole on the left */
.xmas-tag {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px 8px 32px; border: var(--xmas-border); border-radius: 6px 14px 14px 6px;
  background: var(--tag-bg, var(--xmas-gold)); color: var(--tag-fg, var(--xmas-ink));
  font-family: var(--xmas-font-display); font-size: clamp(17px, 1.8vw, 22px); letter-spacing: 2px; text-transform: uppercase; line-height: 1.15;
}
.xmas-tag::before { content: ""; position: absolute; left: 11px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: var(--tag-hole, var(--xmas-white)); border: 2px solid var(--xmas-ink); box-sizing: border-box; }
.xmas-tag--gold  { --tag-bg: var(--xmas-gold);  --tag-fg: var(--xmas-ink); }
.xmas-tag--green { --tag-bg: var(--xmas-green); --tag-fg: var(--xmas-white); }
.xmas-tag--blue  { --tag-bg: var(--xmas-blue);  --tag-fg: var(--xmas-white); }
.xmas-tag--red   { --tag-bg: var(--xmas-red);   --tag-fg: var(--xmas-ink); }
.xmas-tag--cream { --tag-bg: var(--xmas-white); --tag-fg: var(--xmas-ink); }
.xmas-tag--pine  { --tag-bg: var(--xmas-green); --tag-fg: var(--xmas-white); }

/* NEW product label (product tag "xmas-new"): red gift tag with black text and a small white hole */
.xmas-pill {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 3px 10px 3px 22px; border: var(--xmas-border); border-radius: 4px 10px 10px 4px;
  background: var(--xmas-red); color: var(--xmas-ink);
  font-family: var(--xmas-font-display); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.2;
}
.xmas-pill::before { content: ""; position: absolute; left: 7px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--xmas-white); border: 1.5px solid var(--xmas-ink); box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  .xmas-btn, .button-primary, .product-form--atc-button, .productitem--action-atc { transition: none; }
  .xmas-btn:hover { transform: none; }
}

/* ---------- Add to cart buttons: red (product cards + product page) ---------- */
.product-form--atc-button,
.productitem--action-atc,
.productitem .productitem--action-atc,
.productitem .productitem--action-trigger.button-primary {
  background: var(--xmas-red) !important; color: var(--xmas-white) !important; border-color: var(--xmas-ink);
}
.product-form--atc-button:not([disabled]):hover,
.productitem .productitem--action-atc:not(.disabled):hover,
.productitem .productitem--action-trigger.button-primary:hover {
  background: var(--xmas-red) !important; color: var(--xmas-white) !important; filter: brightness(0.9);
}

/* American Typewriter is much wider than Anton: size the big hero line to its column so it never runs under the photo */
.xmas-hero__text { container-type: inline-size; min-width: 0; }
.xmas-hero__text .xmas-headline--xl { font-size: clamp(40px, 14.5cqi, 120px); letter-spacing: 0; }

/* Category menu: every top-level item the same weight and size. Empire set plain links (no dropdown) to 700/16px,
   which made the browser fake a bolder Anton. Anton has one real weight, so 200 renders as Anton's regular. */
.site-navigation .navmenu-depth-1 > li > a,
.site-navigation .navmenu-depth-1 > li > a *,
.site-navigation .navmenu-depth-1 > li > details > summary,
.site-navigation .navmenu-depth-1 > li > details > summary * {
  font-weight: 200 !important; font-size: 18px !important; font-synthesis: none;
}
