/* Anicha placemat shop — the Shopify "Spotlight" look, rebuilt.
   Inter, white background, #121212 text, #fce477 buttons. Mobile first. */
:root {
  --bg: #ffffff;
  --text: #121212;
  --muted: rgba(18, 18, 18, 0.72);
  --line: rgba(18, 18, 18, 0.14);
  --button: #fce477;
  --button-text: #121212;
  --soft: #f6f4ee;
  --radius: 4px;
  --card-radius: 16px;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.02em;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
h1, h2, h3 { font-weight: 400; letter-spacing: 0; line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
p { margin: 0 0 1em; }
.small { font-size: 0.85rem; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--button); padding: 0.5rem 1rem; z-index: 10; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; gap: 1rem; }
.nav-main { display: flex; gap: 1.1rem; font-size: 0.92rem; }
.nav-main a { text-decoration: none; }
.nav-main a:hover { text-decoration: underline; }
.logo img { width: 80px; height: auto; }
.lang-switch { list-style: none; display: flex; justify-content: flex-end; gap: 0.6rem; margin: 0; padding: 0; font-size: 0.85rem; }
.lang-switch a { text-decoration: none; color: var(--muted); }
.lang-switch a:hover { color: var(--text); text-decoration: underline; }
.lang-switch [aria-current] { font-weight: 600; }
@media (max-width: 600px) {
  .header-row { grid-template-columns: auto 1fr; grid-template-areas: 'logo langs' 'nav nav'; padding-top: 0.6rem; padding-bottom: 0.6rem; }
  .logo { grid-area: logo; }
  .lang-switch { grid-area: langs; }
  .nav-main { grid-area: nav; }
}

/* home */
.hero { padding: 3rem 0 1rem; }
.hero-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.2fr 0.8fr; } }
.prose { color: var(--muted); max-width: 68ch; }
.prose h2, .prose h3 { color: var(--text); }
.prose table { border-collapse: collapse; }
.video video { border-radius: 10px; width: 100%; max-height: 80vh; background: var(--soft); }

/* order */
.order { background: var(--soft); border-radius: var(--card-radius); padding: 1.5rem; margin: 2.5rem 0; }
.product .order { margin: 1rem 0 2rem; }
.order-lang { margin-bottom: 0.6rem; }
.editions { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.5rem; }
.editions li { display: grid; grid-template-columns: 1fr auto; gap: 0 1rem; padding: 0.75rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ed-name { font-weight: 600; }
.ed-note { grid-column: 1; font-size: 0.85rem; color: var(--muted); }
.ed-price { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 600; }

/* order box (enhanced by order-box.js) */
.ob-row { display: grid; gap: 0.6rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.75rem; }
.ob-row label, .ob-field > span { font-size: 0.85rem; color: var(--muted); display: block; margin-bottom: 0.2rem; }
.ob-editions { display: grid; gap: 0.4rem; border: 0; padding: 0; margin: 0; }
.ob-editions legend { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.2rem; padding: 0; }
.ob-editions label { display: flex; gap: 0.6rem; align-items: center; color: var(--text); font-size: 0.95rem; margin: 0; padding: 0.45rem 0.6rem; border: 1px solid var(--line); border-radius: 40px; cursor: pointer; }
.ob-editions label:has(input:checked) { border-color: var(--text); background: #fffbe6; }
.ob-editions .price { margin-left: auto; font-weight: 600; }
select, input[type=number] { font: inherit; padding: 0.55rem 0.7rem; border: 1px solid var(--text); border-radius: var(--radius); background: #fff; color: var(--text); width: 100%; }
input[type=number] { width: 6rem; }
.ob-line { display: flex; gap: 1rem; align-items: end; flex-wrap: wrap; }
.ob-remove, .ob-add { font: inherit; background: none; border: 0; padding: 0.3rem 0; text-decoration: underline; cursor: pointer; color: var(--text); }
.ob-totals { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; margin: 1rem 0; }
.ob-totals .grand { font-weight: 600; font-size: 1.15rem; }
.button {
  display: inline-flex; justify-content: center; align-items: center; width: 100%;
  font: 600 1rem/1 Inter, system-ui, sans-serif; letter-spacing: 0.05em;
  padding: 1rem 1.5rem; border: 1px solid var(--text); border-radius: var(--radius);
  background: var(--button); color: var(--button-text); cursor: pointer;
}
.button:hover { box-shadow: 0 0 0 1px var(--text); }
.button[disabled] { opacity: 0.6; cursor: progress; }
.ob-error { color: #a4161a; margin-top: 0.6rem; }

/* product cards */
.products { margin: 2.5rem 0 4rem; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card a { display: block; text-decoration: none; }
.card img { border-radius: var(--card-radius); aspect-ratio: 1; object-fit: cover; width: 100%; }
.card-title { display: block; margin-top: 0.6rem; font-size: 0.95rem; }
.card a:hover .card-title { text-decoration: underline; }

/* product page */
.product { display: grid; gap: 2rem; padding: 2rem 1.25rem 4rem; }
@media (min-width: 900px) { .product { grid-template-columns: 1.2fr 1fr; align-items: start; } .buy { position: sticky; top: 1rem; } }
.gallery { display: grid; gap: 0.75rem; }
.gallery img { border-radius: var(--radius); width: 100%; }
.product h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }

/* info pages */
.page .wrap { padding-top: 2.5rem; padding-bottom: 4rem; }
.table-wrap { overflow-x: auto; }
table.ship { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 0.92rem; color: var(--text); }
table.ship th, table.ship td { border-bottom: 1px solid var(--line); padding: 0.6rem 0.5rem; text-align: left; vertical-align: top; }
table.ship td.countries { color: var(--muted); font-size: 0.85rem; }
address.seller { font-style: normal; color: var(--text); line-height: 1.8; margin: 1rem 0; }
ul.plain { list-style: none; padding: 0; }
details { border-bottom: 1px solid var(--line); padding: 0.8rem 0; }
details summary { cursor: pointer; color: var(--text); font-weight: 600; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; margin-top: 2rem; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; font-size: 0.9rem; margin-bottom: 1rem; }
.footer-row nav a { text-decoration: none; }
.footer-row nav a:hover { text-decoration: underline; }

/* consent banner (small, bottom) */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--text); border-radius: var(--radius); padding: 1rem; box-shadow: 0 6px 24px rgba(0,0,0,.12); z-index: 20; font-size: 0.9rem; }
.consent .consent-buttons { display: flex; gap: 0.6rem; margin-top: 0.6rem; }
.consent button { font: inherit; padding: 0.5rem 1rem; border: 1px solid var(--text); border-radius: var(--radius); background: #fff; cursor: pointer; }
.consent button.yes { background: var(--button); }
.link-button { font: inherit; background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 899px) { .video video { max-height: 62vh; width: auto; margin: 0 auto; } }
.withdrawal-form { border: 1px dashed var(--text); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 2rem 0; color: var(--text); }
.facts { margin: 2rem 0; } .facts h2 { font-size: 1.2rem; } .facts ul { padding-left: 1.1rem; color: var(--muted); }
