:root {
  color-scheme: light;
  --paper: #f9f2ed;
  --white: #fff9f5;
  --cream: #f0dfd8;
  --ink: #3c201d;
  --muted: #654c47;
  --dark: #3b4034;
  --olive-deep: #292e25;
  --olive-panel: #343a2f;
  --olive-rule: #d9bc8152;
  --on-dark: #f1e9dc;
  --on-dark-muted: #d3c9b9;
  --control-size: 44px;
  --gold: #ecca82;
  --accent: #8d6226;
  --line: #ddc9bd;
  --display: "Playfair Display", Georgia, serif;
  --text: "DM Sans", sans-serif;
  --shell: 1320px;
  --gutter: clamp(20px, 4.8vw, 76px);
  --section: clamp(56px, 7.5vw, 112px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--text); }
main { min-height: 50vh; }
a { color: inherit; text-underline-offset: .28em; }
img { display: block; width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
p + p { margin-top: 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.75rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2.15rem, 4.6vw, 4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
button, input, select { font: inherit; color: inherit; }
a, button, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; inline-size: 1px; block-size: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: absolute; z-index: 2; top: 8px; left: 8px; background: var(--white); padding: 8px 16px; }
.shell { width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.narrow { max-width: 760px; }
.eyebrow { color: var(--accent); font-size: .77rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 24px; border: 1px solid transparent; background: var(--ink); color: var(--white); text-decoration: none; text-align: center; font-weight: 600; cursor: pointer; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.button:hover { background: var(--accent); }
.button:active { background: var(--dark); }
.button.outline { border-color: var(--accent); background: transparent; color: var(--accent); }
.button.outline:hover { background: var(--accent); color: var(--white); }
.button:disabled { opacity: .48; cursor: default; }
.text-link { color: var(--accent); font-weight: 700; }
.text-link:hover { color: var(--ink); }
/* Storefront navigation */
.masthead, .footer { background: var(--olive-deep); color: var(--on-dark); }
.masthead :focus-visible, .footer :focus-visible { outline-color: var(--gold); }
.masthead { position: relative; z-index: 2; border-bottom: 1px solid var(--olive-rule); }
.bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: clamp(80px, 7.2vw, 106px);
  gap: clamp(12px, 2vw, 32px);
}
.brand { display: inline-flex; justify-self: start; align-items: center; }
.brand img { width: clamp(140px, 15vw, 206px); }
.bar a, .footer a { text-decoration: none; }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 2.35vw, 34px); }
.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--control-size);
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 500;
}
.desktop-nav a::after {
  position: absolute;
  content: "";
  inset: auto 0 5px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.desktop-nav a:hover::after, .desktop-nav a[aria-current]::after { transform: scaleX(1); }
.bar a:hover, .bar a[aria-current], .footer a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.header-actions > a, .mobile-nav summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--control-size);
  min-height: var(--control-size);
  color: inherit;
}
.header-actions > a:hover, .mobile-nav summary:hover { background: var(--olive-panel); color: var(--gold); }
.header-actions svg { width: 20px; height: 20px; flex: 0 0 auto; }
.header-actions .header-cart {
  gap: 8px;
  padding-inline: 12px;
  margin-left: 5px;
  border: 1px solid var(--olive-rule);
  font-weight: 600;
  font-size: .84rem;
}
.header-cart[aria-current] { border-color: var(--gold); }
.mobile-nav { display: none; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.product-card { min-width: 0; }
.product-card a { text-decoration: none; }
.product-card a:hover { color: var(--accent); text-decoration: underline; }
.product-image, .collection-photo { display: block; overflow: hidden; background: var(--cream); }
.product-image { aspect-ratio: 1; margin-bottom: 14px; }
.product-image img, .collection-photo img { height: 100%; object-fit: cover; transition: transform 300ms ease-out; }
.product-image:hover img, .collection-photo:hover img { transform: scale(1.035); }
.product-category { font-size: .8rem; color: var(--accent); display: inline-block; margin-bottom: 5px; }
.product-card h3 { font-size: clamp(1rem, 1.45vw, 1.35rem); letter-spacing: -.016em; }
.price { color: var(--muted); margin-top: 8px; font-variant-numeric: tabular-nums; }
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; margin-top: 32px; }
.collection-photo { aspect-ratio: 1.45; margin-bottom: 18px; }
.collection-grid p { color: var(--muted); margin-block: 12px; max-width: 35ch; }
.collection-grid h2 { font-size: 1.75rem; margin-bottom: 12px; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 8vw, 105px); }
.split img { aspect-ratio: 1.18; object-fit: cover; }
.split h2 + p, .narrow h2 + p { margin-top: 24px; }
.split p { color: var(--muted); }
.split .button, .narrow .button { margin-top: 24px; }
/* Footer */
.footer { border-top: 1px solid var(--olive-rule); }
.footer-layout {
  display: grid;
  grid-template-columns: minmax(200px, 1.4fr) minmax(115px, .8fr) minmax(115px, .8fr) minmax(200px, 1fr);
  gap: clamp(18px, 3.5vw, 52px);
  padding-block: clamp(38px, 5.6vw, 76px);
  align-items: start;
}
.footer-brand { color: var(--gold); }
.footer-brand a { display: inline-block; }
.footer-brand img { width: clamp(148px, 16.5vw, 220px); }
.footer-brand p { font: italic 400 clamp(1.4rem, 2.4vw, 2rem)/1.15 var(--display); margin-top: 6px; }
.footer-group { display: grid; gap: 7px; align-content: start; min-width: 0; }
.footer-group h2 {
  color: var(--gold);
  font: 600 .77rem/1.4 var(--text);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.footer-group a { width: fit-content; font-size: .94rem; overflow-wrap: anywhere; }
.footer-group a:hover, .copyright a:hover { text-decoration: underline; }
.copyright {
  border-top: 1px solid var(--olive-rule);
  color: var(--on-dark-muted);
  padding-block: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 9px 20px;
  font-size: .82rem;
}
.copyright nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.page-head { padding-block: clamp(42px, 6vw, 80px); background: var(--cream); }
.catalogue { padding-top: clamp(30px, 4vw, 56px); }
.shop-controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.filters a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.filters a[aria-current], .filters a:hover { color: var(--accent); text-decoration: underline; }
.search { display: flex; }
.search input, .search button, .order-form select, .order-form input { min-height: 45px; border: 1px solid var(--line); background: var(--white); padding: 7px 12px; }
.search input { width: min(100%, 208px); border-right: 0; }
.search button { cursor: pointer; }
.search button:hover { background: var(--cream); }
.empty { padding: 32px 0; color: var(--muted); }
.product-detail { padding-top: clamp(25px, 4vw, 58px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: start; gap: clamp(28px, 6vw, 88px); }
.detail-image { background: var(--cream); }
.detail-image img { aspect-ratio: 1; object-fit: contain; }
.detail-grid h1 { font-size: clamp(2.15rem, 4.2vw, 4.2rem); }
.price-large { font-size: 1.35rem; }
.description { margin-block: 24px; color: var(--muted); }
.order-form { max-width: 390px; }
.order-form label { display: grid; gap: 5px; font-weight: 600; }
.order-form > label { margin-bottom: 16px; }
.order-actions { display: flex; gap: 12px; align-items: end; }
.order-form input[type=number] { width: 86px; }
.option-status { color: var(--accent); font-size: .9rem; margin-top: 8px; }
.terms h2 { font-size: 1.55rem; margin-block: 25px 8px; }
.terms p:empty { display: none; }
.terms h2 + p { margin-top: 0; }
@media (max-width: 930px) {
  .bar { grid-template-columns: minmax(0, 1fr) auto; min-height: 76px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav[open] summary { color: var(--gold); background: var(--olive-panel); }
  .mobile-nav nav {
    position: absolute;
    inset: 100% 0 auto;
    background: var(--olive-deep);
    padding: 8px var(--gutter) 14px;
    border-block: 1px solid var(--olive-rule);
    box-shadow: 0 10px 20px #241e1833;
  }
  .mobile-nav nav a { display: flex; align-items: center; min-height: var(--control-size); border-bottom: 1px solid var(--olive-rule); }
  .mobile-nav nav a:last-child { border-bottom: 0; }
  .mobile-nav .mobile-account { display: none; }
  .footer-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; border-bottom: 1px solid var(--olive-rule); padding-bottom: 18px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-controls { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .bar { min-height: 68px; gap: 8px; }
  .bar .brand img { width: clamp(110px, 34vw, 146px); }
  .header-actions { gap: 2px; }
  .header-actions .header-account { display: none; }
  .header-actions .header-cart { margin: 0; padding-inline: 0; }
  .header-cart span { display: none; }
  .mobile-nav .mobile-account { display: flex; }
  .split, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .collection-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .footer-contact { grid-column: 1 / -1; }
  .detail-grid { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.home-hero { position: relative; background: var(--cream); }
.hero-slide {
  min-height: clamp(352px, 37.1vw, 550px);
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
}
.hero-slide[hidden] { display: none; }
.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}
.hero-photo img { height: 100%; object-fit: cover; object-position: center; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f3e0d7a8 0%, #f3e0d74d 39%, transparent 57%);
}
.hero-content {
  width: min(56%, 850px);
  padding: clamp(32px,5.5vw,80px) 0 clamp(48px,6vw,100px);
  margin-left: max(5.5vw, calc((100vw - 1536px)/2 + 48px));
}
.hero-content h1, .hero-content h2 {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 7.1rem);
  line-height: .99;
  margin-block: 8px 18px;
  letter-spacing: -.058em;
}
.hero-content p, .occasion-banner p {
  font-size: clamp(.68rem, 1.15vw, .93rem);
  font-weight: 600;
  max-width: 43ch;
  line-height: 1.9;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-content .button, .occasion-banner .button, .home-favourites .button {
  color: var(--ink);
  background: #fff9f52a;
  font-size: .83rem;
  font-weight: 600;
  letter-spacing: .105em;
  text-transform: uppercase;
  padding-inline: 30px;
}
.hero-content .button:hover, .occasion-banner .button:hover, .home-favourites .button:hover {
  color: var(--white);
  background: var(--accent);
}
.hero-alternate .hero-photo { left: 48%; }
.hero-alternate .hero-photo::after { background: linear-gradient(90deg, var(--cream), transparent 35%); }
.hero-dots {
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-dots button {
  display: grid;
  place-items: center;
  background: transparent;
  padding: 0;
  border: 0;
  width: 27px;
  height: 38px;
  cursor: pointer;
}
.hero-dots button span { width: 10px; height: 10px; background: var(--white); border: 1px solid var(--ink); border-radius: 50%; }
.hero-dots button[aria-pressed=true] span { background: var(--gold); }
.hero-dots button:hover span { transform: scale(1.2); }

.home-collections {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, .85vw, 16px);
  margin-inline: auto;
  max-width: 1600px;
  padding: clamp(14px, 2.3vw, 34px) clamp(10px, 1.4vw, 26px) 0;
}
.home-tile {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  aspect-ratio: 1.18;
  isolation: isolate;
  text-decoration: none;
  background: var(--cream);
}
.home-tile img { z-index: -1; position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform 300ms ease-out; }
.home-tile:hover img { transform: scale(1.04); }
.home-tile span {
  width: 80%;
  margin: 0 auto 7%;
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 3px 6px;
  background: #fff2e8dd;
  color: var(--ink);
  font: 500 clamp(1.05rem, 1.9vw, 1.6rem)/1.3 var(--display);
}
.home-tile:hover span { background: var(--white); }

.home-favourites { max-width: 1580px; margin-inline: auto; padding: clamp(22px, 2.6vw, 42px) 0 clamp(25px, 3.2vw, 54px); }
.rule-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 3vw, 54px);
  margin: 0 var(--gutter) 24px;
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  font-style: italic;
  font-weight: 400;
  text-align: center;
}
.rule-heading::before, .rule-heading::after {
  content: "";
  flex: 0 1 14%;
  height: 1px;
  background: #b8934d;
}
.featured-carousel { display: grid; align-items: center; grid-template-columns: clamp(24px, 4.6vw, 68px) minmax(0,1fr) clamp(24px, 4.6vw, 68px); }
.featured-carousel .featured-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--track-gap)) / 4);
  grid-template-columns: none;
  align-items: stretch;
  gap: var(--track-gap);
  --track-gap: clamp(12px, 1.8vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 3px;
}
.featured-track::-webkit-scrollbar { display: none; }
.featured-track .product-card { display: flex; flex-direction: column; align-items: center; scroll-snap-align: start; text-align: center; }
.featured-track .product-image { width: 100%; aspect-ratio: 1.19; margin-bottom: 9px; }
.featured-track h3 { font-size: clamp(.96rem, 1.63vw, 1.42rem); font-weight: 500; line-height: 1.22; }
.featured-track .price { margin-top: auto; padding-block: 5px 9px; color: var(--ink); font: 500 clamp(1.03rem, 1.7vw, 1.42rem)/1.3 var(--display); }
.home-favourites .button { min-height: 34px; font-size: clamp(.63rem, 1vw, .81rem); padding: 5px clamp(10px, 2vw, 30px); }
.featured-arrow { background: none; border: 0; padding: 0; min-width: 0; color: var(--accent); cursor: pointer; display: grid; place-items: center; min-height: 44px; margin: 0 2px; }
.featured-arrow svg { max-width: 100%; }
.featured-arrow:disabled { opacity: .35; cursor: default; }
.featured-arrow:not(:disabled):hover { background: var(--cream); }
.featured-message { text-align: center; padding: 18px var(--gutter); }

.occasion-banner {
  position: relative;
  display: grid;
  justify-items: end;
  align-items: center;
  min-height: clamp(210px, 21vw, 324px);
  isolation: isolate;
  background-color: var(--cream);
}
.occasion-banner img { position: absolute; inset: 0; z-index: -2; height: 100%; object-fit: cover; }
.occasion-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent 42%, #f2dcd9a0 66%, #f3dddccd); }
.occasion-banner > div { width: 48%; text-align: center; padding: 22px 12px; }
.occasion-banner h2 { font-size: clamp(2.15rem, 4vw, 4.5rem); font-weight: 400; font-style: italic; margin-bottom: 12px; }
.occasion-banner p { max-width: none; margin-bottom: 16px; }
.occasion-banner .button { min-height: 38px; padding-block: 5px; }
.home-highlights { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); max-width: 1480px; margin-inline: auto; padding: clamp(16px, 2.35vw, 36px) clamp(12px, 2.8vw, 42px); }
.home-highlights > div { position: relative; display: grid; justify-items: center; align-content: center; text-align: center; padding-inline: 8px; }
.home-highlights > div + div::before { content: ""; position: absolute; top: 20%; bottom: 15%; left: 0; border-left: 1px solid #b8934d; }
.home-highlights svg { width: 40px; height: 36px; color: var(--accent); margin-bottom: 5px; }
.home-highlights strong { font-size: clamp(.64rem, 1.12vw, .89rem); font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.home-highlights span { font-size: .65rem; letter-spacing: .09em; text-transform: uppercase; }

@media (max-width: 640px) {
  .hero-slide { min-height: 0; grid-template-rows: auto auto; background: var(--cream); }
  .hero-photo, .hero-alternate .hero-photo { inset: auto; position: relative; grid-row: 2; height: clamp(164px, 48vw, 250px); }
  .hero-photo img { object-position: 71% 55%; }
  .hero-photo::after, .hero-alternate .hero-photo::after { background: none; }
  .hero-content { grid-row: 1; width: auto; padding: 25px var(--gutter) 22px; margin: 0; }
  .hero-content h1, .hero-content h2 { margin-block: 7px 12px; font-size: clamp(2.5rem,11vw,4rem); }
  .hero-content p { margin-bottom: 16px; }
  .hero-content .button { min-height: 42px; padding-block: 5px; }
  .home-collections { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .featured-carousel .featured-track { grid-auto-columns: calc((100% - var(--track-gap)) / 2); }
  .occasion-banner { min-height: 185px; }
  .occasion-banner::after { background: linear-gradient(90deg, transparent 14%, #f2dcd999 42%, #f3dddced 76%); }
  .occasion-banner > div { width: 66%; padding-inline: 4px 10px; }
  .occasion-banner h2 { font-size: 1.8rem; }
  .occasion-banner p { font-size: .61rem; letter-spacing: .115em; }
  .occasion-banner .button { padding-inline: 12px; font-size: .65rem; }
  .home-highlights { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 14px; }
  .home-highlights > div:nth-child(3)::before { display: none; }
}

.hero-control {
  min-width: 44px;
  min-height: 44px;
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  border: 1px solid #8d622690;
  background: #fff7f0e3;
  color: var(--ink);
  cursor: pointer;
  border-radius: 50%;
}
.hero-control:hover, .hero-control:focus-visible { background: var(--white); }
.hero-previous { left: clamp(8px, 1.4vw, 24px); }
.hero-next { right: clamp(8px, 1.4vw, 24px); }
.hero-dots .hero-pause { color: var(--ink); font-weight: 700; font-size: .82rem; filter: drop-shadow(0 0 4px white); }
.hero-content { margin-left: max(7vw, calc((100vw - 1536px)/2 + 56px)); }
.enquiry-intro { padding-block: clamp(32px,6vw,78px); }
.enquiry-details { padding-block: clamp(36px,6vw,80px); background: var(--cream); }
.enquiry-details h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); }
.enquiry-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-block: 28px; }
.enquiry-topics article { border-top: 1px solid var(--accent); padding-top: 18px; }
.enquiry-topics h3 { margin-bottom: 10px; }
.enquiry-topics p { color: var(--muted); max-width: 42ch; }
.enquiry-details .button { margin: 0 10px 12px 0; }
/* Shopping cart */
.cart-heading { background: var(--cream); border-bottom: 1px solid var(--line); }
.cart-heading .shell { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; padding-block: clamp(24px, 4vw, 44px); }
.cart-heading h1 { font-weight: 400; font-size: clamp(2.45rem, 5vw, 4.4rem); }
.cart-heading p { flex: 0 0 auto; color: var(--muted); font-size: .91rem; }
.basket { padding-block: clamp(26px, 4.8vw, 70px); }
.basket-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(265px, .48fr); gap: clamp(22px, 4.4vw, 64px); align-items: start; }
.basket-list { min-width: 0; }
.basket-row {
  display: grid;
  grid-template-columns: clamp(64px, 8.4vw, 108px) minmax(0, 1fr) auto;
  grid-template-areas: "image item line" "image controls controls";
  column-gap: clamp(10px, 2vw, 24px);
  row-gap: 9px;
  align-items: start;
  padding-block: clamp(15px, 2.4vw, 26px);
  border-bottom: 1px solid var(--line);
}
.basket-row:first-child { border-top: 1px solid var(--line); }
.basket-image { grid-area: image; aspect-ratio: 1; background: var(--cream); border: 1px solid var(--line); }
.basket-image img { aspect-ratio: 1; object-fit: cover; }
.basket-item { grid-area: item; min-width: 0; }
.basket-item h2, .basket-summary h2 { font-size: clamp(1.23rem, 2.4vw, 1.85rem); }
.basket-item h2 { line-height: 1.18; overflow-wrap: anywhere; }
.basket-item p { margin-top: 4px; color: var(--muted); font-size: .88rem; }
.basket-line { grid-area: line; align-self: baseline; justify-self: end; margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
.basket-quantity { grid-area: controls; display: flex; flex-wrap: wrap; gap: 4px 9px; align-items: flex-end; min-width: 0; }
.basket-quantity label { display: grid; gap: 3px; font-size: .8rem; color: var(--muted); }
.basket-quantity input { width: 66px; padding: 5px 8px; height: var(--control-size); border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.basket-quantity .button { min-height: var(--control-size); padding: 5px 13px; font-size: .84rem; }
.basket-remove { min-height: var(--control-size); padding: 0 5px; color: var(--muted); background: none; border: 0; text-decoration: underline; cursor: pointer; font-size: .84rem; }
.basket-remove:hover { color: var(--ink); }
.basket-summary { padding: clamp(19px, 3vw, 34px); background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--accent); min-width: 0; }
.basket-subtotal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; border-bottom: 1px solid var(--line); padding-block: 13px; }
.basket-subtotal span { font-variant-numeric: tabular-nums; font-weight: 700; }
.basket-note, .basket-notice { color: var(--muted); margin-bottom: 18px; }
.basket .basket-note { margin-top: 14px; font-size: .92rem; }
.basket-notice { padding: 10px 14px; border-left: 2px solid var(--accent); background: var(--cream); }
.basket .basket-summary > .button { width: 100%; }
.basket-continue { display: inline-flex; align-items: center; min-height: var(--control-size); margin-top: 9px; }
.basket-empty {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(24px, 5vw, 54px) 18px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
}
.basket-empty h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 400; }
.basket-empty svg { color: var(--accent); width: 32px; height: 32px; }
@media (max-width: 780px) {
  .basket-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero-content { margin-left: 0; }
  .hero-control { top: auto; bottom: 22px; translate: none; }
  .enquiry-topics { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 410px) {
  .basket-row { grid-template-columns: 62px minmax(0, 1fr); grid-template-areas: "image item" "image line" "controls controls"; }
  .basket-line { justify-self: start; }
}

.checkout-section { padding-top: clamp(28px, 4vw, 62px); }
.checkout-section h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); margin-bottom: 12px; }
.checkout-section > .text-link { display: inline-block; margin-bottom: 22px; }
.checkout-login { max-width: 470px; padding: clamp(18px, 4vw, 32px); background: var(--cream); }
.checkout-login h2 { margin-top: 15px; }
.checkout-login form { display: grid; gap: 14px; margin-block: 18px; }
.checkout-login form button { justify-self: start; }
.checkout-login p a + a { margin-left: 10px; }
.checkout-flow { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(20px, 5vw, 60px); align-items: start; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-block: 16px; }
.checkout-fields label, .checkout-login label { display: grid; gap: 5px; font-size: .93rem; font-weight: 600; }
.checkout-fields input, .checkout-fields textarea, .checkout-fields select, .checkout-login input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 9px 12px;
  background: var(--white);
}
.checkout-wide { grid-column: 1 / -1; }
.checkout-summary dl div { display: flex; justify-content: space-between; gap: 8px 18px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.checkout-summary dl dd { margin: 0; text-align: right; }
.checkout-radio { padding: 8px 0 15px; margin: 8px 0 0; min-width: 0; border: 0; }
.checkout-radio legend { font-weight: 700; }
.checkout-radio label, .checkout-checkbox { display: flex; align-items: start; gap: 8px; margin-block: 7px; }
.checkout-radio input, .checkout-checkbox input { margin-top: 7px; accent-color: var(--accent); }
.checkout-notices { padding: 12px 16px; margin-block: 10px 20px; border-left: 3px solid var(--accent); background: var(--cream); }
.checkout-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.payfast-form { margin-top: 20px; }
@media (max-width: 780px) {
  .checkout-flow { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .checkout-fields { grid-template-columns: minmax(0, 1fr); }
}
.checkout-fields[hidden] { display: none; }
