/* Provisional direction drawn from the Chesterfield / wood / brass / palm wallpaper references. Not an approved final design. */
:root {
  --wood-900: #1b120b; --wood-800: #2a1b10; --wood-700: #3b2515; --leather: #8c4a23;
  --brass: #c8a25b; --brass-light: #e3c88f; --paper: #f1e5cb; --paper-deep: #e6d6b4; --ink: #2a1b10; --olive: #6a6a3c; --muted: #6f5a43;
  --serif: "Cormorant Garamond", "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; outline: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); text-align: center; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 10; background: var(--paper); padding: 8px 12px; }

.test-banner { margin: 0; padding: 6px var(--gutter); background: var(--olive); color: #fff; font-size: .82rem; text-align: center; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px var(--gutter); background: var(--wood-900); color: var(--paper); border-bottom: 1px solid var(--brass); }
.brand { font-family: var(--serif); font-size: 2rem; font-style: italic; text-decoration: none; color: var(--brass-light); line-height: 1; margin: 0; }
.site-header nav { display: flex; gap: clamp(12px, 3vw, 32px); flex-wrap: wrap; align-items: center; }
#category-links { display: contents; }
.site-header nav a { text-decoration: none; font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-header nav a:hover { border-bottom-color: var(--brass); }
#language { font: inherit; font-size: .82rem; background: transparent; color: var(--paper); border: 1px solid var(--brass); padding: 4px 6px; }
#language option { color: #000; }
#cart-count { display: inline-block; min-width: 1.6em; padding: 0 .4em; margin-left: .3em; border: 1px solid var(--brass); border-radius: 999px; text-align: center; color: var(--brass-light); letter-spacing: 0; }

.hero { position: relative; background: var(--wood-900); }
.hero-image { width: 100%; height: clamp(360px, 43vw, 820px); object-fit: cover; object-position: center 62%; }
.hero-text { position: absolute; inset: 0 0 auto 0; top: 9%; text-align: center; color: var(--wood-800); padding: 0 var(--gutter); }
.hero-text h1 { font-size: clamp(3rem, 9vw, 7.5rem); font-style: italic; margin: 0; color: var(--wood-700); text-shadow: 0 1px 0 rgba(255, 244, 214, .5); }
.hero-text p { font-family: var(--serif); font-size: clamp(1.05rem, 2.2vw, 1.7rem); letter-spacing: .22em; text-transform: uppercase; margin: 0 0 1.1em; }

.button { display: inline-block; font: 600 .86rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 15px 26px; border: 1px solid var(--wood-800); background: var(--wood-800); color: var(--paper); cursor: pointer; transition: background .15s, color .15s; }
.button:hover:not(:disabled) { background: var(--leather); border-color: var(--leather); }
.button:disabled { opacity: .45; cursor: not-allowed; }
.button-quiet { background: transparent; color: var(--wood-800); }
.button-quiet:hover:not(:disabled) { color: var(--paper); }

.band { padding: clamp(36px, 6vw, 80px) var(--gutter); max-width: 1320px; margin: 0 auto; width: 100%; }
.band-dark { max-width: none; background: var(--wood-800) linear-gradient(180deg, var(--wood-900), var(--wood-700)); color: var(--paper); }
.center { text-align: center; margin: 2.2em 0 0; }
.notice { border-left: 3px solid var(--brass); background: var(--paper-deep); padding: 10px 14px; font-size: .92rem; margin: 0 0 1.6em; }
.empty, .loading { text-align: center; color: var(--muted); padding: 3em 0; }
.small { font-size: .88rem; color: var(--muted); }
.tag { display: inline-block; align-self: flex-start; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--olive); color: var(--olive); margin: 0; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.frame { background: var(--wood-800); border: 1px solid var(--brass); padding: 8px; box-shadow: 0 10px 24px rgba(27, 18, 11, .22); overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.frame-card { aspect-ratio: 4 / 5; margin-bottom: 10px; }
.frame-full { aspect-ratio: 4 / 5; }
.frame-empty { display: grid; place-items: center; height: 100%; color: var(--brass-light); font-family: var(--serif); font-style: italic; }
.card:hover .frame img { transform: scale(1.03); }
.card-category { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card-title { font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; }
.card-price { color: var(--leather); font-weight: 600; }

.worlds { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.world { display: flex; flex-direction: column; gap: 8px; padding: 36px 28px; border: 1px solid var(--brass); text-decoration: none; text-align: center; transition: background .15s; }
.world:hover { background: rgba(200, 162, 91, .14); }
.world-title { font-family: var(--serif); font-size: 2.2rem; font-style: italic; color: var(--brass-light); }

.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 1.8em; }
.chip { text-decoration: none; padding: 7px 18px; border: 1px solid var(--wood-700); font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; }
.chip[aria-current] { background: var(--wood-800); color: var(--paper); }

.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.product-text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.product-text h1 { margin: 0; }
.crumbs { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.product-price { font-size: 1.5rem; color: var(--leather); font-weight: 600; margin: 0; }
.product-description { margin: 0; white-space: pre-line; }
.status { min-height: 1.6em; margin: 0; color: var(--olive); font-weight: 600; }
.links { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; font-size: .92rem; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.thumb { width: 72px; height: 72px; padding: 0; border: 1px solid var(--brass); background: var(--wood-800); cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.cart { max-width: 980px; }
.lines { list-style: none; margin: 0 0 2em; padding: 0; border-top: 1px solid var(--paper-deep); }
.line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--paper-deep); }
.line .frame-card { margin: 0; padding: 4px; box-shadow: none; }
.line-text { display: flex; flex-direction: column; gap: 4px; }
.line-title { font-family: var(--serif); font-size: 1.4rem; text-decoration: none; }
.line-price { color: var(--leather); font-weight: 600; }
.quantity { display: flex; align-items: center; gap: 12px; }
.step { width: 36px; height: 36px; border: 1px solid var(--wood-700); background: transparent; color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.step:disabled { opacity: .4; cursor: not-allowed; }
.remove { background: none; border: 0; padding: 6px; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .88rem; }
.summary { margin-left: auto; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.summary .small, .summary .notice { margin: 0; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.2rem; margin: 0; }
.total.grand { border-top: 1px solid var(--paper-deep); padding-top: 10px; }
.total strong { font-family: var(--serif); font-size: 1.7rem; }

.prose { max-width: 760px; overflow-wrap: anywhere; }
.terms { font-size: .92rem; margin: 0; }
.terms input { width: auto; margin-right: 4px; }
.delivery-modes { margin: 0; padding: 10px 14px; border: 1px solid var(--muted); }
.delivery-modes legend { padding: 0 6px; font-size: .92rem; }
.delivery-mode p { margin: 4px 0; }
.delivery-mode input[type="radio"] { width: auto; margin-right: 4px; }
.delivery-mode input[type="text"] { max-width: 100%; }
.prose h2 { text-align: left; font-size: 1.6rem; margin-top: 1.4em; }
.return-form input, .return-form select { font: inherit; padding: 6px 8px; border: 1px solid var(--wood-700); background: #fff; }
.return-form input { width: 5em; }

.site-footer { background: var(--wood-900); color: var(--paper-deep); border-top: 1px solid var(--brass); padding: 36px var(--gutter); display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; font-size: .9rem; }
.site-footer p { margin: 0 0 .4em; }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .product { grid-template-columns: 1fr; }
  .hero-image { height: 62vw; min-height: 300px; }
  .hero-text { top: 6%; }
  .hero-text p { letter-spacing: .12em; margin-bottom: .7em; }
  .hero-text .button { padding: 11px 16px; }
  .line { grid-template-columns: 72px minmax(0, 1fr); }
  .quantity, .remove { grid-column: 2; justify-self: start; }
  .summary { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

[hidden] { display: none !important; }

/* Official harmonised guarantee notice: shown whole, scaled only, never cropped or recoloured. */
.guarantee-notice {margin: 1rem 0; max-width: 36rem;}
.guarantee-notice img {display: block; width: 100%; height: auto;}
