:root {
  --bg: #f4f3ef;
  --ink: #171717;
  --muted: #5f5d58;
  --line: #d9d6cf;
  --tile: #eceae5;
  --accent: #c83f32;
  --pad: clamp(20px, 2.6vw, 40px);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

.btn {
  display: inline-block; border: 0; cursor: pointer; background: var(--accent); color: #fff;
  font: inherit; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 15px 28px; transition: background 0.2s;
}
.btn:hover { background: #a83227; }

/* Header */
.site-header {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 0 var(--pad); height: 88px; position: sticky; top: 0; z-index: 5; background: var(--bg);
}
.logo { font-size: 28px; font-weight: 800; letter-spacing: 0.24em; text-decoration: none; }
.main-nav, .header-tools { display: flex; gap: clamp(20px, 3vw, 42px); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.header-tools { justify-content: flex-end; align-items: center; }
.main-nav a, .header-tools a { text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--accent); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: 36px; background: var(--bg); border: 1px solid var(--line); display: grid; min-width: 180px; padding: 8px 0; }
.mobile-menu nav a { padding: 10px 18px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(320px, 1fr) 2fr; min-height: 520px; }
.hero-text { padding: 80px var(--pad) 80px calc(var(--pad) + 32px); align-self: center; }
.hero h1 { font-size: clamp(44px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 30px; }
.hero-text > p:not(.eyebrow) { max-width: 360px; margin: 0 0 34px; font-size: 16px; }
.hero-img { overflow: hidden; background: var(--tile); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; aspect-ratio: 2 / 1.02; }

/* Grids and cards */
.collection, .related { padding: 64px var(--pad); }
.page-top { padding-top: 40px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.section-head h2, .section-head h1 { font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.section-head a { color: var(--accent); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.section-head span { color: var(--muted); font-size: 13px; }
.grid { display: grid; gap: 24px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { text-decoration: none; }
.card-img { background: var(--tile); overflow: hidden; aspect-ratio: 9 / 10; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card h3 { font-size: 14px; font-weight: 400; letter-spacing: 0; margin: 14px 0 2px; }
.card h3 span { color: var(--muted); }
.card p { margin: 0; font-size: 14px; }

.statement { padding: 96px var(--pad); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: start; }
.statement .big { margin: 0; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; max-width: 18ch; }
.statement a { grid-column: 2; color: var(--accent); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }

/* Promises + footer */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promises div { padding: 26px var(--pad); display: grid; gap: 4px; font-size: 13px; }
.promises div + div { border-left: 1px solid var(--line); }
.promises span { color: var(--muted); }
.site-footer { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 56px var(--pad) 32px; font-size: 14px; }
.site-footer h2 { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer > div:not(.footer-brand) { display: grid; align-content: start; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-brand .logo { font-size: 22px; }
.footer-brand p { margin: 12px 0; }
.footer-brand address { font-style: normal; color: var(--muted); }
.copyright { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin: 16px 0 0; color: var(--muted); font-size: 12px; }

/* Product page */
.crumbs { padding: 12px var(--pad) 0; font-size: 12px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.product { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 88px); padding: 24px var(--pad) 40px; }
.product-img { background: var(--tile); }
.product-img img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.product-info { position: sticky; top: 112px; align-self: start; max-width: 460px; }
.product-info h1 { font-size: clamp(30px, 3vw, 42px); line-height: 1.05; }
.price { font-size: 22px; margin: 14px 0 2px; }
.vat { margin: 0 0 22px; font-size: 13px; color: var(--muted); }
.desc { margin: 0 0 22px; }
.color-label { font-size: 14px; margin: 0 0 16px; }
.sizes { border: 0; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.sizes legend { width: 100%; display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; }
.sizes legend a { color: var(--muted); font-size: 13px; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; }
.sizes span { display: grid; place-items: center; min-width: 56px; height: 46px; padding: 0 12px; border: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.sizes input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.sizes input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.product-info .btn { width: 100%; padding: 18px; }
.stock { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 16px 0 4px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3b8c4a; }
.added { min-height: 22px; font-size: 13px; color: var(--accent); margin: 0 0 16px; }
.product-info details { border-top: 1px solid var(--line); padding: 16px 0; font-size: 14px; }
.product-info details:last-of-type { border-bottom: 1px solid var(--line); }
.product-info summary { cursor: pointer; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; }
.product-info details ul { padding-left: 18px; }
.related { border-top: 1px solid var(--line); }

/* Text pages */
.text-page { padding: 56px var(--pad) 96px; max-width: 820px; }
.text-page h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.05; margin-bottom: 20px; }
.lead { font-size: 18px; max-width: 60ch; margin: 0 0 32px; }
.prose h2 { font-size: 18px; margin: 36px 0 10px; }
.prose p, .prose li { max-width: 68ch; }
.facts { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--line); margin: 0 0 24px; }
.facts dt, .facts dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-weight: 500; color: var(--muted); }

/* Cart + checkout */
.cart, .checkout { padding-left: var(--pad); padding-right: var(--pad); padding-bottom: 96px; }
.cart h1, .checkout h1 { font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 32px; }
.cart-lines { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line); }
.cart-lines li { display: grid; grid-template-columns: 96px 1fr auto 120px auto; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-lines img { background: var(--tile); }
.cart-lines li > div:nth-child(2) { display: grid; }
.cart-lines a { text-decoration: none; }
.cart-lines span { color: var(--muted); font-size: 14px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); }
.qty button { background: none; border: 0; width: 36px; height: 36px; font-size: 16px; cursor: pointer; }
.qty span { min-width: 24px; text-align: center; color: var(--ink) !important; }
.remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.cart-summary { max-width: 400px; margin-left: auto; }
.cart-summary .btn { width: 100%; text-align: center; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; }
.totals dt, .totals dd { margin: 0; }
.totals .grand { font-weight: 700; font-size: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.note { font-size: 13px; color: var(--muted); margin: 8px 0 20px; }
.empty { font-size: 18px; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.checkout form { display: grid; gap: 14px; max-width: 620px; }
.checkout h2 { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 16px; }
.checkout label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.checkout input:not([type='checkbox']), .checkout select { font: inherit; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); background: #fff; border-radius: 0; }
.checkout .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkout .check { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.checkout .check input { margin-top: 3px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-methods span { border: 1px solid var(--line); padding: 8px 14px; font-size: 13px; background: #fff; }
.form-msg { color: var(--accent); font-size: 14px; margin: 0; }
.checkout-note { margin: 0; font-size: 14px; color: var(--muted); max-width: 56ch; }
.checkout .btn:disabled { opacity: 0.6; cursor: wait; }
.checkout aside { background: var(--tile); padding: 28px; position: sticky; top: 112px; }
.checkout aside h2 { margin: 0 0 16px; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; font-size: 14px; }
.mini-lines li { display: flex; justify-content: space-between; gap: 16px; }

/* Responsive */
@media (max-width: 1100px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .promises div:nth-child(3) { border-left: 0; }
  .promises div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .site-footer { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; height: 68px; }
  .logo { font-size: 22px; }
  .main-nav, .currency { display: none; }
  .mobile-menu { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 40px var(--pad) 48px; order: 2; }
  .hero-img img { aspect-ratio: 16 / 10; max-height: 58vh; }
  .statement { grid-template-columns: 1fr; padding: 64px var(--pad); }
  .statement a { grid-column: 1; }
  .product, .checkout-grid { grid-template-columns: 1fr; }
  .product-img img { max-height: 70vh; object-fit: contain; }
  .product-info, .checkout aside { position: static; max-width: none; }
  .checkout aside { order: -1; }
  .cart-lines li { grid-template-columns: 72px 1fr auto; gap: 12px 16px; }
  .cart-lines li > strong { grid-column: 2; }
  .cart-lines .remove { grid-column: 3; justify-self: end; }
  .cart-lines .qty { grid-column: 3; grid-row: 1; }
}
@media (max-width: 560px) {
  .grid-5, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .promises { grid-template-columns: 1fr; }
  .promises div + div { border-left: 0; border-top: 1px solid var(--line); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .checkout .row { grid-template-columns: 1fr; }
}
