:root {
  --paper: #f2f1eb;
  --ink: #293631;
  --muted: #73776c;
  --line: #d7d9cf;
  --accent: #914c46;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; letter-spacing: 0; }
html { min-width: 1100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.site-header, main, .site-footer { width: min(1500px, calc(100% - 112px)); margin-inline: auto; }
.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 9px; align-items: center; text-decoration: none; }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand > span { font: 900 31px/.9 var(--serif); }
.brand small { display: block; font: 700 9px/1.8 var(--sans); margin-top: 6px; }
.header-note { font: italic 17px var(--serif); color: var(--muted); }
.shop-link { display: flex; align-items: center; gap: 18px; font-size: 14px; text-decoration: none; padding: 10px 0 10px 20px; }
.ui-icon { width: 21px; height: 21px; flex: 0 0 21px; }
.shop-link:hover { color: var(--accent); }
.shop-section { padding-top: 28px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; }
.eyebrow { font: 500 11px/1.5 var(--sans); text-transform: uppercase; color: var(--muted); }
h1 { margin-top: 8px; font: 400 46px/1.12 var(--serif); }
.collection-note { font: 15px/1.6 var(--serif); color: var(--muted); padding-right: 5px; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; column-gap: 44px; align-items: center; }
.rack-stage { position: relative; width: 100%; min-width: 0; height: clamp(480px, calc(100vh - 282px), 720px); }
.rack-canvas { display: block; position: absolute; inset: 0 0 15px; width: 100%; height: calc(100% - 15px); }
.rack-loading { position: absolute; inset: 45% 0 auto; text-align: center; font: italic 18px var(--serif); color: var(--muted); }
.rack-caption { position: absolute; inset: auto 8% 0; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.handwritten { font: italic 20px var(--serif); color: var(--accent); transform: rotate(-3deg); }
.piece-count { font-size: 12px; color: var(--muted); }
.rack-accessible { position: absolute; left: 50%; top: 10px; z-index: 2; }
.rack-accessible button { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; }
.rack-accessible button:focus-visible { width: auto; height: auto; clip-path: none; transform: translateX(-50%); padding: 9px 15px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; }

.product-panel { position: relative; margin-top: 35px; padding-left: 28px; border-left: 1px solid var(--line); min-width: 0; }
.panel-content { min-height: 418px; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.panel-empty h2 { margin-top: 22px; font: 400 33px/1.24 var(--serif); }
.empty-rule { display: block; margin-top: 32px; width: 36px; height: 2px; background: var(--accent); }
.panel-product { width: 100%; min-width: 0; }
.product-heading { margin-top: 14px; font: 400 32px/1.13 var(--serif); overflow-wrap: break-word; }
.price { margin-top: 14px; font-size: 17px; font-weight: 500; }
.price span { margin-left: 4px; font-size: 12px; font-weight: 400; color: var(--muted); }
.description { margin-top: 20px; font-size: 15px; line-height: 1.65; color: #657066; }
.product-options { margin-top: 22px; }
.colour-label { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.colour-label output { color: var(--ink); }
.swatches { display: flex; gap: 13px; margin-top: 12px; }
.swatch { position: relative; display: block; width: 19px; height: 19px; padding: 0; background: var(--swatch); border: 1px solid #29363125; border-radius: 50%; }
.swatch::after { content: ""; position: absolute; inset: -4px; border: 1px solid transparent; border-radius: 50%; }
.swatch[aria-pressed="true"]::after { border-color: var(--ink); }
.swatch:hover::after { border-color: var(--muted); }
.sizes { margin-top: 19px; font-size: 12px; color: var(--muted); }
.view-button { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 48px; padding: 13px 17px; margin-top: 24px; background: var(--ink); color: #fcfcf6; font-size: 14px; text-decoration: none; transition: background 180ms; }
.view-button .ui-icon { filter: brightness(0) invert(1); }
.view-button:hover { background: #45594d; }
.panel-navigation { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 22px; min-height: 54px; }
.panel-navigation > span { color: var(--muted); font-size: 12px; }
.arrow-buttons { display: flex; gap: 8px; }
.icon-button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; transition: background 160ms; }
.icon-button:hover { background: #2936310c; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 23px; margin-top: 25px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.site-footer span:nth-child(2) { font-family: var(--serif); font-style: italic; font-size: 14px; }

.product-gallery { margin: 0 0 14px; }
.product-photo-button { display: block; position: relative; width: 100%; height: 144px; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.product-photo { width: 100%; height: 100%; object-fit: contain; }
.photo-expand { position: absolute; right: 10px; bottom: 10px; width: 17px; height: 17px; opacity: .6; }
.photo-tabs { display: flex; justify-content: center; gap: 16px; min-height: 30px; }
.photo-tabs button { border: 0; padding: 7px 0 3px; color: var(--muted); background: transparent; font-size: 12px; border-bottom: 1px solid transparent; }
.photo-tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.photo-caption { min-height: 30px; text-align: center; padding-top: 7px; font-size: 12px; color: var(--muted); }
.product-panel:has(.product-gallery) .product-heading { margin-top: 8px; font-size: 26px; line-height: 1.16; }
.product-panel:has(.product-gallery) .price { margin-top: 8px; }
.product-panel:has(.product-gallery) .description { margin-top: 12px; font-size: 14px; line-height: 1.5; }
.product-panel:has(.product-gallery) .product-options { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 16px; }
.product-panel:has(.product-gallery) .colour-label { flex: 1; }
.product-panel:has(.product-gallery) .swatches { margin-top: 0; padding: 4px; }
.product-panel:has(.product-gallery) .sizes { margin-top: 16px; }
.product-panel:has(.product-gallery) .view-button { margin-top: 18px; }
.has-product-photos .panel-content { min-height: 590px; }
.has-product-photos .product-panel { margin-top: 12px; }
.photo-dialog { width: min(760px, calc(100vw - 80px)); max-height: calc(100vh - 48px); border: 0; border-radius: 4px; padding: 20px 28px; background: #fff; color: var(--ink); }
.photo-dialog::backdrop { background: #1c262ba6; backdrop-filter: blur(3px); }
.photo-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.photo-dialog-header h2 { font: 400 23px/1.25 var(--serif); }
.photo-dialog-header .icon-button { flex: 0 0 34px; }
.large-photo { width: 100%; height: min(650px, calc(100vh - 190px)); object-fit: contain; }
.photo-dialog .photo-tabs { margin-top: 8px; }

@media (min-width: 1600px) { .shop-layout { column-gap: 60px; grid-template-columns: minmax(0, 1fr) 330px; } }
@media (max-width: 1250px) { .site-header, main, .site-footer { width: calc(100% - 64px); } .shop-layout { column-gap: 20px; grid-template-columns: minmax(0, 1fr) 270px; } .product-panel { padding-left: 22px; } .product-heading { font-size: 29px; } .panel-content { min-height: 420px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
