/* GLENN GARB — alternative layout.
   Small, tight Helvetica everywhere (no web fonts), centred logo, 4-column catalogue,
   product page with info on the left and the large image on the right. */
:root {
  --paper: #ffffff;
  --ink: #181817;
  --soft: #8b8b88;
  --line: #e2e2e0;
  --font: Helvetica, "Helvetica Neue", Arial, sans-serif;
  --pad: 50px;
  --track: -0.04em;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 12.5px; line-height: 1.3; letter-spacing: var(--track); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .6; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; letter-spacing: inherit; text-transform: inherit; }
img { display: block; max-width: 100%; }
main { flex: 1; }
.mono { font-family: var(--font); }

/* ---------- header ---------- */
.site-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px var(--pad); position: sticky; top: 0; z-index: 20; background: var(--paper); }
.nav-left { display: flex; align-items: center; gap: 30px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.drop { position: relative; }
.drop > a { display: inline-flex; align-items: center; gap: 6px; }
.drop-menu { display: none; position: absolute; top: 100%; left: 0; padding: 14px 0 0; flex-direction: column; gap: 8px; min-width: 140px; background: var(--paper); font-weight: 400; font-size: 10px; }
.drop:hover .drop-menu, .drop:focus-within .drop-menu { display: flex; }
.logo { display: block; justify-self: center; }
.logo svg { display: block; height: 24px; width: auto; }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.lang { display: flex; gap: 8px; font-size: 11px; font-weight: 700; }
.lang button { color: var(--soft); }
.lang button[aria-pressed="true"] { color: var(--ink); }
.icon { display: inline-flex; position: relative; }
.badge { position: absolute; top: -6px; right: -8px; min-width: 15px; height: 15px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; letter-spacing: 0; }
.burger { display: none; width: 20px; height: 12px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 1.5px; background: var(--ink); }
.drawer { display: none; }

/* ---------- catalogue ---------- */
.filters { display: flex; gap: 18px; padding: 70px var(--pad) 0; font-size: 10px; text-transform: uppercase; }
.filters button { color: var(--soft); }
.filters button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; padding: 40px var(--pad) 110px; }
.card { display: block; }
.card:hover { opacity: 1; }
.card .ph { position: relative; aspect-ratio: 4 / 5; }
.card .ph img { position: absolute; inset: 0; margin: auto; width: 62%; height: 62%; object-fit: contain; transition: opacity .35s ease; }
.card .ph img.alt { opacity: 0; }
.card:hover .ph img.alt { opacity: 1; }
.card:hover .ph img.main:not(:only-of-type) { opacity: 0; }
.card .t { margin-top: 22px; font-size: 12.5px; text-transform: uppercase; }
.card .p { margin-top: 2px; font-size: 12.5px; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 6vw; padding: 20px var(--pad) 120px; align-items: start; }
.info { padding-top: 120px; position: sticky; top: 80px; }
.info h1 { font-size: 26px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--track); line-height: 1.05; margin-bottom: 22px; }
.desc p { font-size: 11px; line-height: 1.45; margin-bottom: 9px; }
.label { margin-top: 26px; font-size: 11px; color: #5c5c5a; }
.sizes { display: flex; gap: 6px; margin-top: 12px; }
.sizes button { min-width: 34px; height: 34px; padding: 0 6px; border-radius: 17px; border: 1px solid transparent; font-size: 12px; }
.sizes button[aria-pressed="true"] { border-color: var(--ink); }
.buy { display: flex; gap: 8px; margin-top: 22px; }
.stepper { display: flex; align-items: center; justify-content: space-between; width: 110px; height: 48px; border: 1px solid var(--ink); padding: 0 10px; font-size: 12px; }
.stepper button { font-size: 18px; width: 22px; }
.btn { flex: 1; height: 48px; background: var(--ink); color: var(--paper); font-size: 11.5px; text-transform: uppercase; padding: 0 16px; }
.btn:hover { opacity: .85; }
.hint { min-height: 1em; margin-top: 8px; font-size: 11px; color: #a3412f; }
.acc { margin-top: 18px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 11px 0; font-size: 9.5px; font-weight: 700; text-transform: uppercase; }
summary::-webkit-details-marker { display: none; }
details[open] summary svg { transform: rotate(180deg); }
details .body { padding-bottom: 14px; font-size: 11px; line-height: 1.45; }
.chart { border-collapse: collapse; width: 100%; font-size: 11px; }
.chart th, .chart td { padding: 6px 4px; text-align: right; border-bottom: 1px solid var(--line); font-weight: 400; }
.chart th { color: var(--soft); }
.chart th:first-child, .chart td:first-child { text-align: left; }
.unit-toggle { margin-top: 8px; display: flex; gap: 10px; font-size: 10px; }
.unit-toggle button { color: var(--soft); }
.unit-toggle button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
.gallery { display: flex; flex-direction: column; align-items: flex-end; }
.thumbs { display: flex; gap: 8px; }
.th { width: 74px; height: 74px; border: 1px solid var(--line); padding: 6px; }
.th[aria-current="true"] { border-color: var(--ink); }
.th img { width: 100%; height: 100%; object-fit: contain; }
.gallery .main { width: min(100%, 640px); aspect-ratio: 1 / 1; margin: 50px auto 0; align-self: center; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- text pages / cart ---------- */
.narrow { max-width: 640px; margin: 0 auto; padding: 90px var(--pad) 110px; }
.narrow h1 { font-size: 26px; font-weight: 700; text-transform: uppercase; margin-bottom: 28px; }
.narrow h2 { font-size: 11px; font-weight: 700; text-transform: uppercase; margin: 30px 0 10px; }
.prose p { font-size: 12.5px; line-height: 1.55; margin-bottom: 10px; }
.line { display: grid; grid-template-columns: 80px 1fr auto; gap: 18px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line .thumb { aspect-ratio: 4 / 5; }
.line .thumb img { width: 100%; height: 100%; object-fit: contain; }
.line .nm { font-size: 12.5px; text-transform: uppercase; }
.line .sz { color: var(--soft); margin-top: 4px; }
.qty { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.qty button { color: var(--soft); font-size: 14px; }
.rm { font-size: 10px; color: var(--soft); text-transform: uppercase; margin-top: 10px; text-decoration: underline; }
.totals { display: flex; justify-content: space-between; padding: 20px 0; font-weight: 700; text-transform: uppercase; }
.narrow .btn { display: block; width: 100%; }
.note { font-size: 10.5px; color: var(--soft); text-align: center; margin-top: 12px; line-height: 1.5; }
.empty p { margin-bottom: 18px; }
.caps { text-transform: uppercase; font-weight: 700; font-size: 11px; }
form.contact { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.field { border: 1px solid var(--line); padding: 12px; font: 13px var(--font); color: var(--ink); background: transparent; outline: none; }
.field:focus { border-color: var(--ink); }
textarea.field { min-height: 120px; resize: vertical; }

/* ---------- footer ---------- */
.site-footer { padding: 70px var(--pad) 26px; }
.foot-logo svg { display: block; height: 30px; width: auto; }
.foot-links { display: flex; gap: 14px; margin-top: 20px; font-size: 10px; text-transform: uppercase; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 10px; }

/* ---------- toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); font-size: 11px; text-transform: uppercase; padding: 12px 18px; opacity: 0; transition: opacity .25s; pointer-events: none; z-index: 60; }
.toast.show { opacity: 1; }

/* ---------- tablet / mobile ---------- */
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  :root { --pad: 16px; }
  .site-header { padding: 16px; }
  .hide-m { display: none !important; }
  .burger { display: flex; }
  .logo svg { height: 18px; }
  .nav-right { gap: 16px; }
  .drawer { position: fixed; inset: 0; background: var(--paper); z-index: 40; flex-direction: column; gap: 16px; padding: 70px 20px; font-size: 15px; font-weight: 700; text-transform: uppercase; }
  .drawer.open { display: flex; }
  .drawer .close { position: absolute; top: 14px; left: 16px; font-size: 26px; font-weight: 400; }
  .drawer .lang { margin-top: 20px; font-size: 13px; gap: 14px; }
  .filters { padding-top: 30px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 30px 12px; padding: 24px 16px 80px; }
  .card .t { margin-top: 12px; font-size: 11.5px; }
  .card .p { font-size: 11.5px; }
  .pdp { grid-template-columns: 1fr; padding: 0 16px 80px; gap: 10px; }
  .gallery { order: -1; align-items: stretch; }
  .gallery .main { order: -1; margin-top: 0; width: 100%; }
  .thumbs { margin-top: 10px; justify-content: center; }
  .th { width: 58px; height: 58px; }
  .info { padding-top: 20px; position: static; }
  .foot-links { flex-wrap: wrap; }
  .foot-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .line { grid-template-columns: 70px 1fr; }
  .line > div:last-child { grid-column: 2; }
}
