/* Cybex Schweiz — Premium family, warm pastels, editorial layout */

:root {
  --bg: #f7f3ea;
  --bg-alt: #efe6d4;
  --paper: #ffffff;
  --ink: #2f2a26;
  --ink-soft: #5c554f;
  --ink-mute: #8a8378;
  --line: #dcd3bd;
  --accent: #a97d5b;          /* warm sand */
  --accent-deep: #7c5539;     /* burnt sienna */
  --olive: #6d7a55;           /* soft olive */
  --olive-deep: #4a5236;
  --cream: #f2ead6;
  --sage: #cddabc;
  --pink: #ecc9b8;
  --rose: #d1a586;
  --shadow: 0 8px 30px rgba(60,45,25,0.08);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --serif: "Cormorant Garamond", "Playfair Display", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "Inter", "Söhne", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box }
html, body { margin: 0; padding: 0; font-family: var(--sans); background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.6 }
img { max-width: 100%; height: auto; display: block }
a { color: var(--ink); text-decoration: none; transition: opacity .2s ease }
a:hover { opacity: .7 }

.skip { position: absolute; left: -9999px }
.skip:focus { position: fixed; top: 12px; left: 12px; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 8px; z-index: 999 }

/* -------- Service strip (top thin bar) -------- */
.service-strip {
  background: var(--ink);
  color: #f0e8d6;
  font-size: 12px;
  letter-spacing: .06em;
  padding: 9px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.service-strip a { color: #f0e8d6 }
.service-strip .ss-left { display: flex; gap: 18px; flex-wrap: wrap }
.service-strip .ss-right { display: flex; gap: 18px }

/* -------- Header -------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20 }
.header-main {
  display: grid; grid-template-columns: auto 1fr auto auto auto; gap: 24px; align-items: center;
  padding: 18px 22px; max-width: 1440px; margin: 0 auto;
}
.brand { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: .02em; display: flex; align-items: baseline; gap: 8px }
.brand b { font-weight: 500 }
.brand small { color: var(--ink-mute); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-family: var(--sans); font-weight: 500 }

.header-search { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 40px; padding: 4px 6px 4px 18px }
.header-search input { flex: 1; border: 0; background: transparent; padding: 8px 4px; font-size: 14px; color: var(--ink); outline: none; min-width: 220px }
.header-search input::placeholder { color: var(--ink-mute) }
.header-search button { border: 0; background: var(--ink); color: #fff; border-radius: 30px; width: 36px; height: 36px; cursor: pointer; font-size: 18px }
.header-search button:hover { background: var(--accent-deep) }

.language-nav { display: flex; gap: 4px }
.language-nav a { padding: 6px 10px; color: var(--ink-mute); font-size: 12px; letter-spacing: .1em; font-weight: 500; border-radius: 6px }
.language-nav a[aria-current="page"] { color: var(--ink); background: var(--bg-alt) }

.cart-trigger { border: 1px solid var(--line); background: transparent; padding: 8px 16px; border-radius: 30px; cursor: pointer; font-size: 13px; font-family: var(--sans); display: inline-flex; align-items: center; gap: 8px }
.cart-trigger b { background: var(--accent); color: #fff; border-radius: 20px; padding: 1px 8px; font-size: 11px; font-weight: 600 }
.cart-trigger:hover { border-color: var(--accent) }

.nav-toggle { display: none; border: 0; background: transparent; padding: 8px 12px; font-size: 13px; letter-spacing: .06em }

/* -------- Primary nav (category rows) -------- */
.primary-nav {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 12px 22px;
  display: flex; justify-content: center; gap: 36px; flex-wrap: wrap;
  font-size: 14px; letter-spacing: .04em;
}
.primary-nav a { padding: 4px 2px; position: relative }
.primary-nav a:hover { color: var(--accent-deep) }
.primary-nav a[aria-current="page"] { color: var(--accent-deep) }
.primary-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: -12px; left: 0; right: 0; height: 2px; background: var(--accent) }

/* -------- Layout basics -------- */
.container { max-width: 1440px; margin: 0 auto; padding: 0 22px }
.container-narrow { max-width: 1080px; margin: 0 auto; padding: 0 22px }
.section { padding: 76px 0 }
.section-tight { padding: 46px 0 }

/* -------- Home hero -------- */
.hero {
  background: linear-gradient(120deg, var(--cream) 0%, var(--bg) 45%, var(--sage) 130%);
  padding: 92px 22px 96px;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; right: -140px; top: -100px; width: 460px; height: 460px;
  border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--pink), transparent 70%); opacity: .8;
}
.hero .hero-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1 }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600 }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 6vw, 72px); line-height: 1.08; margin: 16px 0 22px; letter-spacing: -0.01em }
.hero p.lead { max-width: 560px; font-size: 17px; color: var(--ink-soft); margin: 0 0 30px }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap }
.button {
  border: 0; padding: 15px 28px; border-radius: 40px; font-size: 14px; letter-spacing: .06em; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .2s;
}
.button.primary { background: var(--ink); color: #fff }
.button.primary:hover { background: var(--accent-deep) }
.button.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink) }
.button.ghost:hover { border-color: var(--accent) }

.hero-figure {
  aspect-ratio: 3/4; background: var(--paper);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  background-image: linear-gradient(150deg, var(--sage), var(--cream));
  position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: center;
}
.hero-figure svg { width: 100%; height: auto; opacity: .95 }
.hero-figure .figure-caption {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border-radius: 12px;
  padding: 12px 16px; font-size: 12px; letter-spacing: .06em; color: var(--ink-soft);
  display: flex; justify-content: space-between; gap: 12px;
}

/* -------- Section headings -------- */
h2.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 48px); margin: 0 0 12px; letter-spacing: -.01em }
p.section-lead { max-width: 640px; color: var(--ink-soft); font-size: 16px; margin: 0 0 42px }

/* -------- Category grid -------- */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px }
.cat-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 8px; transition: all .2s;
  position: relative; overflow: hidden;
}
.cat-card::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, var(--cream), transparent 60%); opacity: 0;
  transition: opacity .3s;
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow) }
.cat-card:hover::before { opacity: 1 }
.cat-card .cat-icon { width: 44px; height: 44px; margin-bottom: 8px; color: var(--olive-deep) }
.cat-card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0; line-height: 1.2; position: relative; z-index: 1 }
.cat-card .count { color: var(--ink-mute); font-size: 13px; position: relative; z-index: 1 }
.cat-card .arrow { position: relative; z-index: 1; align-self: flex-end; font-size: 13px; letter-spacing: .06em; color: var(--accent-deep); margin-top: auto; padding-top: 12px }

/* -------- Product grid -------- */
.products {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px;
}
.product-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: all .2s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent) }
.product-visual {
  aspect-ratio: 1; background: linear-gradient(160deg, var(--bg-alt), var(--cream));
  display: flex; align-items: center; justify-content: center; padding: 20px;
  position: relative;
}
.product-visual img { max-width: 84%; max-height: 84%; object-fit: contain; mix-blend-mode: multiply }
.product-visual .badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(6px);
  padding: 4px 10px; font-size: 11px; letter-spacing: .08em; border-radius: 20px; color: var(--ink-soft);
}
.product-data { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1 }
.product-category { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute) }
.product-card h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.25 }
.product-card h3 a { color: var(--ink) }
.product-variant { color: var(--ink-soft); font-size: 13px; margin: 0 }
.product-price { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 14px }
.product-price strong { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--ink) }
.product-price small { color: var(--ink-mute); font-size: 12px }
.product-actions { padding: 0 18px 20px; display: flex; gap: 10px }
.product-actions .button { padding: 10px 18px; font-size: 12px; flex: 1; justify-content: center }
.product-actions .add {
  background: var(--paper); border: 1px solid var(--ink); color: var(--ink);
  width: 42px; height: 42px; border-radius: 50%; padding: 0; flex: 0 0 42px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.product-actions .add:hover { background: var(--ink); color: #fff }

/* -------- Product Detail Page (PDP) -------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; padding: 60px 0 }
.pdp-gallery { display: flex; flex-direction: column; gap: 12px }
.pdp-hero {
  aspect-ratio: 1; background: linear-gradient(160deg, var(--bg-alt), var(--cream));
  border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 40px;
}
.pdp-hero img { max-width: 92%; max-height: 92%; object-fit: contain; mix-blend-mode: multiply }
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px }
.pdp-thumb {
  aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg-alt);
  cursor: pointer; padding: 8px; display: flex; align-items: center; justify-content: center;
  border: 1px solid transparent;
}
.pdp-thumb.active { border-color: var(--accent) }
.pdp-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply }
.pdp-info h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; margin: 12px 0 6px }
.pdp-info .breadcrumbs { font-size: 12px; letter-spacing: .1em; color: var(--ink-mute); text-transform: uppercase }
.pdp-info .variant { color: var(--ink-soft); font-size: 15px; margin: 0 0 20px }
.pdp-info .price { font-family: var(--serif); font-weight: 500; font-size: 40px; margin: 12px 0 6px }
.pdp-info .mpn { color: var(--ink-mute); font-size: 12px; letter-spacing: .06em }
.pdp-info .stock { display: inline-block; margin: 12px 0 20px; font-size: 12px; padding: 4px 10px; border-radius: 20px; letter-spacing: .06em }
.pdp-info .stock.in { background: var(--sage); color: var(--olive-deep) }
.pdp-info .stock.out { background: #f3d5cf; color: #6b3423 }
.pdp-info .short { font-size: 15px; color: var(--ink-soft); margin: 0 0 26px }
.pdp-actions { display: flex; gap: 12px; margin-bottom: 32px }
.qty-select { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 40px; overflow: hidden }
.qty-select button { border: 0; background: transparent; width: 40px; height: 44px; cursor: pointer; font-size: 18px }
.qty-select input { border: 0; width: 44px; text-align: center; font-size: 15px; background: transparent }

.pdp-support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 }
.pdp-support div {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
}
.pdp-support svg { width: 20px; height: 20px; color: var(--olive-deep); flex-shrink: 0 }

.pdp-tabs { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 44px }
.tab-btns { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap }
.tab-btns button {
  padding: 8px 16px; border: 1px solid var(--line); background: transparent; font-size: 13px; letter-spacing: .04em;
  border-radius: 20px; cursor: pointer; font-family: var(--sans);
}
.tab-btns button.active { background: var(--ink); color: #fff; border-color: var(--ink) }
.tab-panel { display: none; font-size: 15px; color: var(--ink-soft) }
.tab-panel.active { display: block }
.tab-panel h3 { font-family: var(--serif); font-weight: 500; font-size: 18px; margin: 20px 0 8px; color: var(--ink) }
.tab-panel p { margin: 0 0 12px }

.specs-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px }
.specs-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px }
.specs-list li span:first-child { color: var(--ink-mute) }
.specs-list li span:last-child { color: var(--ink) }

/* -------- Cart -------- */
.cart-page { padding: 60px 0 100px }
.cart-empty { text-align: center; padding: 60px 0; color: var(--ink-soft) }
.cart-lines { border-top: 1px solid var(--line) }
.cart-line { display: grid; grid-template-columns: 100px 1fr auto auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center }
.cart-line img { width: 100px; height: 100px; object-fit: contain; border-radius: 10px; background: var(--bg-alt); padding: 12px; mix-blend-mode: multiply }
.cart-line .info h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 20px }
.cart-line .info small { color: var(--ink-mute); font-size: 12px }
.cart-line .qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 24px; overflow: hidden }
.cart-line .qty button { border: 0; background: transparent; width: 32px; height: 36px; cursor: pointer; font-size: 16px }
.cart-line .qty input { border: 0; width: 36px; text-align: center; background: transparent }
.cart-line .price { font-family: var(--serif); font-size: 20px; font-weight: 500; text-align: right }
.cart-line .rm { background: transparent; border: 0; color: var(--ink-mute); font-size: 14px; cursor: pointer; padding: 0 6px }
.cart-line .rm:hover { color: var(--accent-deep) }
.cart-summary { display: flex; justify-content: space-between; padding: 24px 0; border-bottom: 2px solid var(--ink); font-size: 20px }
.cart-summary strong { font-family: var(--serif); font-weight: 500; font-size: 28px }
.cart-note { padding: 12px 16px; background: var(--sage); color: var(--olive-deep); border-radius: 10px; font-size: 13px; margin: 20px 0 24px; letter-spacing: .02em; text-align: center }

.cart-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 20px; flex-wrap: wrap }
.payment-icons { display: flex; gap: 10px; align-items: center }
.payment-icons svg { height: 24px; width: auto }
.payment-icons .visa { color: #1a1f71 }
.payment-icons .mastercard { color: #eb001b }
.payment-icons .twint { color: #000 }

/* -------- Checkout -------- */
.checkout-page { padding: 60px 0 100px }
.checkout-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start }
.form-group { margin-bottom: 18px }
.form-group label { display: block; font-size: 12px; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 6px }
.form-group input, .form-group textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 15px; font-family: var(--sans);
  background: var(--paper); color: var(--ink);
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent) }
.form-row { display: grid; grid-template-columns: 1fr 2fr; gap: 12px }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px }
.checkout-summary { position: sticky; top: 120px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px }
.checkout-summary h3 { font-family: var(--serif); font-weight: 500; margin: 0 0 16px; font-size: 20px }
.checkout-summary .item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px }
.checkout-summary .total { padding: 14px 0 0; margin-top: 6px; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; font-family: var(--serif); font-weight: 500; font-size: 22px }
.checkout-note {
  margin-top: 16px; padding: 12px 14px; font-size: 12px; color: var(--ink-soft);
  background: var(--cream); border-radius: 8px;
}

/* -------- Confirmation -------- */
.confirmation { max-width: 720px; margin: 60px auto 100px; padding: 0 22px; text-align: center }
.confirm-badge {
  width: 82px; height: 82px; margin: 0 auto 22px;
  background: var(--sage); border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.confirm-badge svg { width: 40px; height: 40px; color: var(--olive-deep) }
.confirmation h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 44px); margin: 0 0 10px }
.confirmation .ref { display: inline-block; padding: 8px 16px; background: var(--bg-alt); border-radius: 20px; font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; margin-bottom: 30px }
.confirm-items { text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 24px 0 }
.confirm-items .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px }
.confirm-items .row:last-child { border-bottom: 0 }
.confirm-items .total { margin-top: 12px; padding-top: 14px; border-top: 2px solid var(--ink); font-family: var(--serif); font-weight: 500; font-size: 22px }
.confirm-next { text-align: left; background: var(--cream); border-radius: var(--radius); padding: 22px 26px; margin-top: 24px }
.confirm-next h3 { font-family: var(--serif); font-weight: 500; margin: 0 0 8px; font-size: 20px }
.confirm-next ul { padding-left: 20px; margin: 8px 0 0; color: var(--ink-soft) }
.confirm-next li { margin: 4px 0 }

/* -------- Legal / About -------- */
.page-hero { padding: 70px 0 30px; background: var(--paper); border-bottom: 1px solid var(--line) }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4vw, 54px); margin: 8px 0 6px }
.page-hero p { color: var(--ink-soft); font-size: 16px; margin: 0 }
.page-body { max-width: 760px; margin: 0 auto; padding: 50px 22px 100px }
.page-body h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 32px 0 10px }
.page-body p { font-size: 15px; color: var(--ink-soft); line-height: 1.7 }

/* -------- Trust / editorial section -------- */
.editorial {
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-deep) 100%);
  color: #f3f0e5; padding: 90px 22px;
}
.editorial-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center }
.editorial h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 48px); margin: 0 0 20px; color: #f7f0d8 }
.editorial p { color: #d4d1c0; font-size: 16px; margin: 0 }
.editorial-figure { aspect-ratio: 4/5; background: rgba(255,255,255,.05); border-radius: var(--radius-lg); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.1) }

/* -------- Values grid -------- */
.values { padding: 76px 22px; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.values-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px }
.values .value { padding: 18px 0 }
.values .value b {
  display: inline-block; width: 32px; height: 32px; border-radius: 50%; background: var(--sage); color: var(--olive-deep);
  font-family: var(--serif); font-weight: 500; font-size: 15px; text-align: center; line-height: 32px; margin-bottom: 12px;
}
.values .value p { margin: 0; color: var(--ink-soft); font-size: 14px }

/* -------- Footer -------- */
.site-footer { background: var(--ink); color: #d5cbb2; padding: 60px 22px 30px; margin-top: 100px }
.footer-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px }
.footer-brand { font-family: var(--serif); font-weight: 500; font-size: 24px; color: #f0e8d6 }
.footer-brand small { display: block; color: #9a8f74; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-family: var(--sans); font-weight: 500; margin-top: 4px }
.footer-address { color: #a89e83; font-size: 12px; margin: 18px 0; line-height: 1.7 }
.footer-address a { color: #d5cbb2 }
.footer-hours { font-size: 12px; color: #a89e83 }
.footer-hours small { color: #d5cbb2; font-weight: 500; letter-spacing: .04em }
.footer-col h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #a89e83; font-weight: 700; margin: 0 0 12px }
.footer-col a { display: block; padding: 3px 0; color: #d5cbb2; font-size: 13px }
.footer-payments { margin: 20px 0; display: flex; gap: 12px }
.footer-payments .payment-icons svg { height: 22px }
.footer-bottom { max-width: 1440px; margin: 40px auto 0; padding-top: 22px; border-top: 1px solid #3a342b; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #a89e83; flex-wrap: wrap; gap: 12px }
.back-top { color: #d5cbb2; font-size: 12px; letter-spacing: .06em }

/* -------- Cart drawer -------- */
dialog#cart-drawer {
  border: 0; padding: 0; margin: 0 0 0 auto;
  height: 100vh; max-height: 100vh; width: 420px; max-width: 100%;
  background: var(--paper); box-shadow: -20px 0 40px rgba(0,0,0,.15);
  display: none; flex-direction: column;
}
dialog#cart-drawer[open] { display: flex }
dialog::backdrop { background: rgba(0,0,0,.35) }
.dialog-head { padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line) }
.dialog-head h2 { font-family: var(--serif); font-weight: 500; margin: 0; font-size: 22px }
.dialog-head button { border: 0; background: transparent; font-size: 24px; cursor: pointer; color: var(--ink-mute); padding: 6px 12px }
[data-cart-items] { flex: 1; overflow-y: auto; padding: 12px 22px }
.cart-total { padding: 18px 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-family: var(--serif); font-weight: 500; font-size: 22px }
.cart-shipping-note { padding: 0 22px 14px; color: var(--olive-deep); font-size: 12px }
dialog#cart-drawer .button.primary { margin: 0 22px 22px; text-align: center; justify-content: center }
dialog#cart-drawer .payment-icons { padding: 0 22px 22px; justify-content: center }

/* -------- Search results / empty -------- */
.filters { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 13px; margin-bottom: 30px }
.filters .filter { padding: 6px 14px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft) }
.filters .filter.active { background: var(--ink); color: #fff; border-color: var(--ink) }

.pagination { display: flex; justify-content: center; gap: 6px; margin: 40px 0 }
.pagination a, .pagination span {
  display: inline-block; padding: 6px 12px; border-radius: 6px; font-size: 13px; color: var(--ink-soft);
  border: 1px solid var(--line);
}
.pagination a[aria-current="page"], .pagination .current { background: var(--ink); color: #fff; border-color: var(--ink) }

/* -------- Mobile -------- */
@media (max-width: 960px) {
  .header-main { grid-template-columns: auto 1fr auto; }
  .header-search { display: none }
  .language-nav { display: none }
  .primary-nav { display: none }
  .nav-toggle { display: inline-block }
  .hero .hero-inner { grid-template-columns: 1fr; gap: 40px }
  .hero-figure { aspect-ratio: 4/3 }
  .pdp { grid-template-columns: 1fr; gap: 40px }
  .pdp-thumbs { grid-template-columns: repeat(4, 1fr) }
  .checkout-grid { grid-template-columns: 1fr }
  .checkout-summary { position: static }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px }
  .editorial-grid { grid-template-columns: 1fr; gap: 30px }
  .values-grid { grid-template-columns: repeat(2, 1fr) }
  .specs-list { grid-template-columns: 1fr }
  .service-strip { flex-direction: column; gap: 6px; padding: 8px 22px }
  .service-strip .ss-left { justify-content: center }
}
@media (max-width: 640px) {
  .cart-line { grid-template-columns: 80px 1fr; grid-template-rows: auto auto; gap: 14px }
  .cart-line img { width: 80px; height: 80px }
  .cart-line .qty, .cart-line .price, .cart-line .rm { grid-column: 2 }
  .products { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px }
  .product-card h3 { font-size: 17px }
  .footer-grid { grid-template-columns: 1fr }
  .form-row-3 { grid-template-columns: 1fr 1fr }
}
/* ==== Norvik Boutique — mobile + cart + polish ==== */

/* Body lock when dialog / mobile menu open */
body.dialog-open, body.mmenu-open { overflow: hidden; touch-action: none }

/* --- Service strip fixes for mobile --- */
.service-strip { flex-wrap: wrap; row-gap: 4px }
.service-strip .ss-left { gap: 14px; row-gap: 4px }
.service-strip .ss-right { gap: 14px }
.service-strip .ss-email { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
@media (max-width: 720px) {
  .service-strip {
    display: flex; flex-direction: column; gap: 4px; padding: 6px 16px;
    font-size: 11px; letter-spacing: .04em;
  }
  .service-strip .ss-left, .service-strip .ss-right {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px;
    width: 100%;
  }
  .service-strip .ss-email { max-width: 100%; font-size: 11px }
}

/* --- Nav toggle (hamburger) --- */
.nav-toggle {
  display: none; border: 0; background: transparent; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; border-radius: 12px;
  transition: background .18s;
}
.nav-toggle:hover { background: var(--bg-alt) }
.nav-toggle-bars {
  display: block; position: relative; width: 24px; height: 18px; margin: 0 auto;
}
.nav-toggle-bars span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .25s, opacity .18s;
}
.nav-toggle-bars span:nth-child(1) { top: 0 }
.nav-toggle-bars span:nth-child(2) { top: 8px }
.nav-toggle-bars span:nth-child(3) { top: 16px }
body.mmenu-open .nav-toggle-bars span:nth-child(1) { transform: translateY(8px) rotate(45deg) }
body.mmenu-open .nav-toggle-bars span:nth-child(2) { opacity: 0 }
body.mmenu-open .nav-toggle-bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg) }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center }
}

/* --- Mobile menu drawer --- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  visibility: hidden; opacity: 0; transition: opacity .3s;
  background: rgba(16, 12, 8, 0.35); backdrop-filter: blur(6px);
}
.mobile-menu.is-open { visibility: visible; opacity: 1; pointer-events: auto }
.mobile-menu-inner {
  position: absolute; top: 0; right: 0; bottom: 0; width: 88%; max-width: 380px;
  background: var(--paper); overflow-y: auto; overflow-x: hidden;
  transform: translateX(100%); transition: transform .32s ease;
  padding: 22px 22px 32px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: -20px 0 50px rgba(0,0,0,.25);
}
.mobile-menu.is-open .mobile-menu-inner { transform: translateX(0) }
.mmi-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px }
.mmi-head .brand { font-family: var(--serif); font-size: 22px }
.mmi-head button {
  border: 0; background: transparent; width: 44px; height: 44px; font-size: 22px;
  cursor: pointer; color: var(--ink-mute); border-radius: 12px;
}
.mmi-head button:hover { background: var(--bg-alt); color: var(--ink) }

.mmi-search { display: flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 16px; margin: 6px 0 12px }
.mmi-search input { flex: 1; border: 0; background: transparent; padding: 8px 4px; font-size: 14px; outline: none }
.mmi-search button { border: 0; background: var(--ink); color: #fff; border-radius: 999px; width: 34px; height: 34px; cursor: pointer; font-size: 15px }

.mmi-nav { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); padding-top: 8px }
.mmi-nav a {
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
}
.mmi-nav a::after { content: "→"; color: var(--ink-mute); font-family: var(--sans); font-size: 14px }
.mmi-nav a:hover { color: var(--accent-deep) }

.mmi-sec { padding-top: 8px }
.mmi-sec h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 8px }
.mmi-sec a { display: block; padding: 6px 0; color: var(--ink); font-size: 15px }
.mmi-sec a:hover { color: var(--accent-deep) }

.mmi-lang { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px }
.mmi-lang span { color: var(--ink-mute); font-size: 12px; letter-spacing: .1em }
.mmi-lang a { padding: 4px 10px; color: var(--ink-mute); border-radius: 6px }
.mmi-lang a[aria-current="page"] { color: var(--ink); background: var(--bg-alt) }

.mmi-support { padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft) }
.mmi-support a { color: var(--accent-deep) }

/* --- Add to cart feedback --- */
[data-add-cart].is-added { background: var(--olive) !important; color: #fff !important; border-color: var(--olive) !important }
[data-add-cart].is-added::after { content: " ✓" }

.toast-error {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: #7c2f26; color: #fff; padding: 12px 22px; border-radius: 24px;
  font-size: 13px; z-index: 999; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* --- Cart drawer beautify --- */
dialog#cart-drawer {
  border: 0; padding: 0; margin: 0 0 0 auto;
  height: 100dvh; max-height: 100dvh; width: 460px; max-width: 100%;
  background: var(--paper); box-shadow: -20px 0 50px rgba(0,0,0,.18);
  display: none; flex-direction: column;
  overflow: hidden;
}
dialog#cart-drawer[open] { display: flex }
dialog::backdrop { background: rgba(16,12,8,0.45); backdrop-filter: blur(3px) }
@media (max-width: 640px) {
  dialog#cart-drawer { width: 100%; height: 100dvh }
}
.dialog-head {
  padding: 22px 24px 18px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 2;
}
.dialog-head h2 { font-family: var(--serif); font-weight: 500; margin: 0; font-size: 26px }
.dialog-head button { border: 0; background: transparent; font-size: 24px; cursor: pointer; color: var(--ink-mute); padding: 6px 12px; border-radius: 8px }
.dialog-head button:hover { background: var(--bg-alt); color: var(--ink) }

[data-cart-items] { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 16px 22px }
.cart-empty-inline { text-align: center; color: var(--ink-mute); padding: 60px 20px; font-size: 15px }

.cart-line-mini {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start;
}
.cart-line-mini .cli-img {
  width: 84px; height: 84px; background: var(--bg-alt); border-radius: 12px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 8px;
}
.cart-line-mini .cli-img img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  mix-blend-mode: multiply;
}
.cart-line-mini .cli-info { min-width: 0; display: flex; flex-direction: column; gap: 4px }
.cart-line-mini .cli-name {
  font-family: var(--serif); font-weight: 500; font-size: 15px; line-height: 1.2;
  color: var(--ink); text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-line-mini .cli-name:hover { color: var(--accent-deep) }
.cart-line-mini .cli-variant { color: var(--ink-mute); font-size: 12px }
.cart-line-mini .cli-controls { display: flex; align-items: center; gap: 8px; margin-top: 6px }
.cart-line-mini .qty-mini {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--line); border-radius: 20px; padding: 2px 4px;
  background: var(--paper);
}
.cart-line-mini .qty-mini button {
  border: 0; background: transparent; width: 26px; height: 26px; border-radius: 50%;
  cursor: pointer; font-size: 14px; color: var(--ink);
}
.cart-line-mini .qty-mini button:hover { background: var(--bg-alt) }
.cart-line-mini .qty-mini span { min-width: 20px; text-align: center; font-size: 13px; font-weight: 600 }
.cart-line-mini .cli-remove {
  border: 0; background: transparent; width: 32px; height: 32px;
  cursor: pointer; color: var(--ink-mute); border-radius: 8px; font-size: 15px;
}
.cart-line-mini .cli-remove:hover { color: var(--accent-deep); background: var(--bg-alt) }
.cart-line-mini .cli-price {
  font-family: var(--serif); font-weight: 500; font-size: 17px; color: var(--ink);
  white-space: nowrap; text-align: right;
}

/* Cart drawer footer */
dialog#cart-drawer .drawer-foot {
  padding: 18px 22px 24px; border-top: 1px solid var(--line);
  background: var(--paper); box-shadow: 0 -14px 24px rgba(0,0,0,.04);
}
.cart-total-line {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--serif); font-weight: 500; font-size: 24px; margin-bottom: 6px;
}
.cart-total-line span { font-size: 15px; color: var(--ink-soft); font-family: var(--sans) }
.cart-shipping-note {
  padding: 8px 12px; background: var(--sage); color: var(--olive-deep);
  border-radius: 10px; font-size: 12px; text-align: center; margin: 8px 0 14px;
}
.drawer-foot .button.primary {
  width: 100%; padding: 14px 20px; justify-content: center; font-size: 14px; margin-bottom: 12px;
}
.drawer-foot .payment-icons { justify-content: center }

/* --- Confirmation page mobile polish --- */
.confirmation { padding: 40px 22px 80px }
.confirm-badge { width: 76px; height: 76px }
.confirmation h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.15 }
.confirm-items .row { flex-wrap: wrap; gap: 4px 12px; word-break: break-word }
.confirm-next { padding: 18px 20px }
.confirm-next h3 { font-size: 18px }
@media (max-width: 500px) {
  .confirmation h1 { margin-top: 6px }
  .confirmation .ref { font-size: 13px; word-break: break-all; text-align: center }
  .confirm-items { padding: 16px }
  .confirm-items .row { font-size: 13px }
  .confirm-items .total { font-size: 18px }
}

/* --- Product card mobile polish --- */
@media (max-width: 640px) {
  .products { grid-template-columns: repeat(2, 1fr); gap: 12px }
  .product-card h3 { font-size: 16px }
  .product-visual img { max-width: 88%; max-height: 88% }
  .product-actions { padding: 0 14px 14px }
  .product-actions .button.ghost { flex: 1; padding: 10px 8px; font-size: 12px }
  .product-actions .add { flex: 0 0 42px }
}

/* --- Header mobile --- */
@media (max-width: 960px) {
  .header-main {
    grid-template-columns: auto 1fr auto auto;
    gap: 12px; padding: 12px 16px;
  }
  .header-search { display: none }
  .language-nav { display: none }
  .primary-nav { display: none }
  .brand { font-size: 20px }
  .brand small { display: none }
  .cart-trigger { padding: 8px 12px; font-size: 12px }
  .cart-trigger span { display: none }
  .cart-trigger b { margin-left: 0 }
}

/* --- PDP mobile polish --- */
@media (max-width: 960px) {
  .pdp { grid-template-columns: 1fr; gap: 24px; padding: 24px 0 }
  .pdp-hero { border-radius: 12px }
  .pdp-thumbs { grid-template-columns: repeat(6, 1fr); gap: 6px }
  .pdp-info h1 { font-size: 28px; line-height: 1.15 }
  .pdp-info .price { font-size: 32px }
  .pdp-support { grid-template-columns: 1fr; gap: 6px }
  .pdp-support div { font-size: 11px }
  .pdp-tabs .tab-btns { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch }
  .tab-btns button { flex-shrink: 0 }
}

/* --- Hero mobile --- */
@media (max-width: 640px) {
  .hero { padding: 40px 16px 50px }
  .hero .hero-inner { gap: 24px }
  .hero h1 { font-size: clamp(30px, 8vw, 42px); line-height: 1.1 }
  .hero p.lead { font-size: 15px }
  .hero-figure { aspect-ratio: 1 }
  .hero-figure svg { max-width: 80% }
  .cats { gap: 12px }
  .cat-card { padding: 18px 16px }
  .cat-card h3 { font-size: 18px }
}

/* --- Home editorial mobile --- */
@media (max-width: 640px) {
  .editorial { padding: 50px 16px }
  .editorial-grid { grid-template-columns: 1fr; gap: 24px }
  .editorial-figure { aspect-ratio: 1; max-width: 240px; margin: 0 auto; border-radius: 20px }
  .editorial h2 { font-size: 32px }
}

/* --- Confirmation page items block sizing --- */
.confirm-items .row.total { border-top: 2px solid var(--ink); padding-top: 12px; margin-top: 10px; font-family: var(--serif); font-size: 20px }
