/* The shop carries the corporate site's warm olive and parchment palette. */
:root {
  --ink: #383d2c;
  --green: #30392c;
  --green-button: #344331;
  --paper: #f2e8d6;
  --surface: #fbf5e9;
  --cream: #fff5df;
  --gold: #e6cf9c;
  --line: #bba47a;
  --muted: #655033;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
button, select, input { font: inherit; }
button, .cta { cursor: pointer; }
button { border: 1px solid var(--line); border-radius: 3px; background: var(--surface); padding: .7rem .95rem; color: inherit; }
button, a, input, select { touch-action: manipulation; }
:focus-visible { outline: 3px solid #aa7d44; outline-offset: 4px; }
.top, header, main, footer { padding-inline: max(5vw, calc((100vw - 1250px)/2)); }
.top { background: #202b23; color: var(--gold); display: flex; justify-content: space-between; gap: 1rem; padding-block: .6rem; font-size: .7rem; letter-spacing: .11em; }
header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.1rem; background: var(--green); color: var(--cream); border-bottom: 1px solid #bda06c66; }
nav { display: flex; gap: 2rem; }
nav a, .logo { text-decoration: none; }
nav a:hover { color: var(--gold); }
.logo { font-size: 2rem; font-weight: 850; letter-spacing: -.08em; line-height: 1; }
.logo span { color: var(--gold); }
.logo small { display: block; font-size: .52rem; letter-spacing: .09em; margin-top: .4rem; color: var(--cream); }
#basket { background: var(--gold); border-color: var(--gold); color: var(--green); font-weight: 650; white-space: nowrap; }
#basket:hover { background: var(--cream); }
#count { display: inline-block; min-width: 1.5rem; margin-left: .25rem; background: var(--green); color: var(--cream); padding: .15rem .45rem; border-radius: 50%; text-align: center; }
main { padding-top: clamp(1.25rem, 3vw, 2.5rem); }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; overflow: hidden; border: 1px solid #b2935f66; border-radius: 3px; background: linear-gradient(115deg, #eee0c6, #f8efdf 60%, #e8d9bd); padding: clamp(24px, 5vw, 68px); gap: 1.5rem; }
.hero h1 { font: 400 clamp(2.6rem, 6vw, 5.4rem)/1.03 Georgia, serif; letter-spacing: -.045em; margin: .4em 0 .3em; }
.hero em { color: #865a37; }
.hero p:not(.tag) { max-width: 35ch; line-height: 1.75; }
.tag { font-size: .72rem; letter-spacing: .16em; font-weight: 750; color: #7b5938; line-height: 1.7; }
.hero-art { display: flex; align-items: center; justify-content: center; gap: 0; background: radial-gradient(ellipse at 50% 35%, #fff8e6aa, #e4d4b966); border: 1px solid #b2935f66; border-radius: 48% 48% 3px 3px; aspect-ratio: 1.15; padding: 1.75rem .8rem 1rem; box-shadow: inset 0 0 70px #fff4d770, 0 18px 38px #70502915; }
.hero-art img { width: 33%; height: clamp(95px, 22vw, 275px); object-fit: contain; filter: drop-shadow(6px 10px 6px #332a1b33); }
.hero-art img:nth-child(2) { transform: translateY(-9%); }
.cta { display: inline-block; padding: .85rem 1.1rem; background: var(--green-button); color: var(--cream); border-radius: 3px; text-decoration: none; font-weight: 650; line-height: 1.5; }
.cta:hover { background: #48513a; }
.cta:not([href]) { display: none; }
#catalog { padding-block: 3.5rem; scroll-margin-top: 1.5rem; }
h2 { font: 400 clamp(1.8rem, 4vw, 3rem)/1.15 Georgia, serif; letter-spacing: -.025em; margin: .2rem 0 1.4rem; }
#segments { display: flex; gap: .55rem; flex-wrap: wrap; }
#segments button { background: #f5eddc; border-color: #a58a60; }
#segments button:hover { background: #e6d7bb; }
button[aria-pressed=true], #segments button[aria-pressed=true] { background: #48513a; color: #fff1d8; box-shadow: 0 3px 0 #b69355; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .7rem; margin-top: 1.6rem; }
label { display: grid; gap: .45rem; font-size: .84rem; font-weight: 650; }
input, select { width: 100%; min-width: 0; min-height: 44px; padding: .65rem; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: inherit; }
input::placeholder { color: #78664e; opacity: 1; }
#result, small, .muted { color: var(--muted); }
#result { margin-block: 1.4rem; font-size: .88rem; }
#grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.card { min-width: 0; background: linear-gradient(145deg, #faf2e3e8, #e4d4b9d9); border: 1px solid var(--line); border-radius: 6rem 6rem 3px 3px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 12px 25px #68482318; transition: box-shadow .2s, transform .2s; }
.card:hover, .card:focus-within { box-shadow: 0 18px 32px #68482330; transform: translateY(-3px); }
.photo { height: 240px; padding: 1.8rem 1rem .7rem; display: grid; place-items: center; color: #7b5938; text-align: center; font: 400 1.4rem/1.2 Georgia, serif; }
.photo img { display: block; height: 200px; width: 100%; object-fit: contain; filter: drop-shadow(4px 8px 6px #332a1b33); }
.details { padding: 1.1rem; display: flex; flex-direction: column; flex: 1; }
.details > small { font-size: .69rem; line-height: 1.6; letter-spacing: .025em; border-top: 1px solid #b6a07980; padding-top: .85rem; }
.details h3 { margin: .45rem 0 .35rem; font: 400 1.4rem/1.18 Georgia, serif; overflow-wrap: anywhere; }
.details p { font-size: .84rem; line-height: 1.6; margin: .3rem 0; }
.details form { margin-top: auto; padding-top: 1rem; display: grid; gap: .55rem; }
.options { display: grid; grid-template-columns: 1fr 1.55fr; gap: .45rem; }
.details input, .details select { font-size: .87rem; background: #fbf5e9d9; }
.details button { background: var(--green-button); color: var(--cream); border-color: var(--green-button); font-weight: 650; min-height: 44px; }
.details button:hover { background: #48513a; }
footer { padding-block: 2rem; background: #202b23; color: #efdfbb; }
footer div { margin-top: .5rem; }
footer p { max-width: 65ch; font-size: .9rem; line-height: 1.7; }
dialog { border: 1px solid var(--line); border-radius: 6px; width: min(620px, 94vw); max-height: 85vh; max-height: 85dvh; padding: 1.4rem; background: linear-gradient(135deg, #fbf5e9, #eee0c6); color: var(--ink); box-shadow: 0 24px 70px #211d1566; }
dialog::backdrop { background: #202b23b8; backdrop-filter: blur(3px); }
.drawer-head, .line { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.drawer-head h2 { margin-bottom: .8rem; }
#close { font-size: 1.4rem; line-height: 1; min-width: 44px; min-height: 44px; }
.line { border-top: 1px solid #bba47a88; padding: .9rem 0; font-size: .9rem; }
.line span { flex: 1; }
.line input { width: 5rem; flex: 0 0 5rem; }
#checkout-note { font-size: .9rem; line-height: 1.7; color: var(--muted); }
#toast { position: fixed; z-index: 30; bottom: 1rem; right: 1rem; max-width: calc(100vw - 2rem); background: var(--green); color: var(--cream); border: 1px solid var(--line); border-radius: 3px; padding: .8rem 1rem; box-shadow: 0 6px 24px #211d1533; }
#toast:empty { display: none; }
@media (max-width: 1050px) {
  #grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 670px) {
  nav { display: none; }
  .top { font-size: .57rem; letter-spacing: .08em; gap: .5rem; }
  header { padding-block: 1rem; }
  .logo { font-size: 1.85rem; }
  .logo small { font-size: .45rem; }
  #basket { padding-inline: .65rem; font-size: .9rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  #catalog { padding-block: 2.5rem; }
  #segments { gap: .5rem; }
  #segments button { padding: .7rem .75rem; font-size: .78rem; }
  #grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .card { border-radius: 4.5rem 4.5rem 3px 3px; }
  .details { padding: .8rem; }
  .details h3 { font-size: 1.18rem; line-height: 1.2; }
  .details > small { font-size: .63rem; }
  .details p { font-size: .78rem; }
  .details button { padding-inline: .5rem; font-size: .85rem; }
  .photo { height: 205px; padding: 1.5rem .65rem .5rem; }
  .photo img { height: 170px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters label:first-child { grid-column: span 2; }
  input, select, .details input, .details select { font-size: 16px; }
  .options { grid-template-columns: 1fr; }
  .line { flex-wrap: wrap; }
  .line span { flex-basis: 100%; }
  .line input { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .card:hover, .card:focus-within { transform: none; }
}

/* Retail prices use the same olive, parchment and brass treatment. */
[hidden] { display: none !important; }
.price-notice { max-width: 58ch; font-size: .92rem; line-height: 1.7; color: var(--muted); margin: -.4rem 0 1.5rem; }
.product-price { padding: .7rem 0 .2rem; margin-top: .4rem; border-top: 1px solid #b6a07980; }
.product-price p { margin: .15rem 0; }
.product-price strong { font: 600 1.65rem/1.2 Georgia, serif; color: var(--green); }
.product-price span, .product-price small { font-size: .74rem; }
.photo-placeholder { display: grid; gap: .75rem; padding: 1rem; }
.photo-placeholder small { font: 400 .7rem system-ui, sans-serif; }
.product-enquiry { margin-top: auto; padding: .85rem 0 .2rem; font-size: .85rem; }
.unpriced-note { font-weight: 650; color: var(--muted); }
.line-description { display: grid; gap: .35rem; flex: 1; min-width: 0; }
.line-description small { font-size: .78rem; }
.line-total { white-space: nowrap; }
.cart-summary { padding: 1rem 0; margin-top: .5rem; border-top: 1px solid var(--line); }
.cart-summary p { display: flex; justify-content: space-between; gap: 1rem; font-size: 1.1rem; }
.cart-summary strong { font-size: 1.4rem; }
.cart-summary small { display: block; font-size: .8rem; line-height: 1.6; }
@media(max-width:670px) {
 .product-price strong { font-size: 1.4rem; }
 .product-price span { display: block; }
 .line-description { flex-basis: 100%; }
 .line > button { font-size: .8rem; }
}
