/* ============================================================
   Ezoterika B2B — design sketch v1
   Static, responsive HTML/CSS mockup.
   Breakpoints: 960px (tablet), 640px (mobile).
   Import into Figma at 1440px and 390px via html.to.design.
   ============================================================ */

/* ---------- typefaces ----------
   Self-hosted, so the pages do not call Google and every visitor sees the
   same faces as the online store. Latin-ext carries č, š and ž. Both files
   are variable fonts: one file covers the weights 400–700. */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/lora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/lora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }

:root {
  --ink:        #111827;
  --muted:      #6B7280;
  --subtle:     #9CA3AF;
  --line:       #E5E7EB;
  --line-strong:#D1D5DB;
  --surface:    #F9FAFB;
  --surface-2:  #F3F4F6;
  --bg:         #FFFFFF;
  /* brand orange — sampled from Ezoterika_logo_plain_transparent (#FF5600) */
  --brand:      #FF5600;
  --brand-soft: #FFF1E8;
  --brand-line: #FFD3BB;

  /* complement of #FF5600 (hue 20° → 200°) */
  --comp:       #00AAFF;
  --comp-ink:   #0066A3;
  --comp-soft:  #E6F4FF;

  --accent:     #FF6200;  /* brand orange — filled with white text */
  --accent-600: #FF5600;  /* logo orange, used for hover */
  --on-accent:  #FFFFFF;  /* text on orange fills */
  --accent-soft:#FFF1E8;
  --link:       #0066A3;

  --ok-bg:  #ECFDF5; --ok:   #047857;
  --warn-bg:#FFFBEB; --warn: #B45309;
  --info-bg:#E6F4FF; --info: #0066A3;
  --r-lg: 16px;
  --r:    12px;
  --r-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(17,24,39,.06);
  --shadow:    0 8px 24px -12px rgba(17,24,39,.18);
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Open Sans', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: #EEF0F3;
}

h1, h2, h3, p, figure { margin: 0; }

h1, h2, h3,
.h1, .h2, .h3 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-weight: 400;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- sketch chrome (not part of the design) ---------- */

.sketch-bar {
  position: sticky; top: 0; z-index: 50;
  background: #111827; color: #F9FAFB;
  font-size: 13px;
}
.sketch-bar-in {
  max-width: 1200px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.sketch-brand { font-weight: 700; }
.sketch-badge {
  display: inline-block; padding: 1px 6px; border-radius: 999px;
  background: #FF6F26; color: #111827; font-size: 11px; font-weight: 700;
  vertical-align: 1px;
}
.sketch-sub { color: #9CA3AF; font-weight: 400; }
.sketch-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.sketch-hint { color: #9CA3AF; }
.sketch-hint strong { color: #E5E7EB; font-weight: 600; }

/* ---------- screens ---------- */

.screen { padding: 28px 16px; }
.screen-label {
  max-width: 1200px; margin: 0 auto 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted);
}
.screen-label .sep { color: var(--subtle); margin: 0 4px; }
.screen-body {
  max-width: 1200px; margin: 0 auto;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 12px 32px -24px rgba(17,24,39,.45);
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.page { padding: 28px 0 44px; }

/* ---------- app header ---------- */

.app-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.app-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.app-footer .wrap {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 16px; padding-bottom: 16px;
  font-size: 12.5px; color: var(--muted);
}
.header-in {
  display: flex; align-items: center; gap: 28px;
  height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.brand-logo { display: block; height: 30px; width: auto; }
.brand-logo-lg { height: 40px; }
.brand-badge {
  display: inline-block; padding: 2px 8px;
  border-radius: 999px; background: var(--accent); color: var(--on-accent);
  font-size: 11px; font-weight: 700; vertical-align: 2px;
}
.app-nav { display: flex; gap: 24px; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-link.is-active { color: var(--ink); border-bottom-color: var(--brand); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.search {
  display: flex; align-items: center; gap: 8px;
  width: 260px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface);
}
.search-input {
  border: 0; background: transparent; outline: none; width: 100%;
  font-size: 14px;
}
.search-input::placeholder { color: var(--subtle); }

.icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); cursor: pointer;
}
.icon-btn svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.7; }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: var(--on-accent); border-radius: 999px;
  font-size: 11px; font-weight: 700;
}
.account {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 12px 0 4px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); cursor: pointer;
}
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--ink);
  font-size: 12px; font-weight: 700;
}
.account-name { font-size: 14px; font-weight: 500; }
.menu-btn, .search-btn { display: none; }
.menu-btn .menu-close-icon { display: none; }
.menu-btn[aria-expanded="true"] .menu-open-icon { display: none; }
.menu-btn[aria-expanded="true"] .menu-close-icon { display: block; }
.mobile-menu { display: none; }

/* ---------- typography ---------- */

.h1 { font-size: 27px; line-height: 1.22; letter-spacing: -.2px; }
.h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.1px; }
.h3 { font-size: 17px; line-height: 1.4; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sku { font-size: 12.5px; color: var(--subtle); letter-spacing: .02em; }
.link { color: var(--link); font-size: 13.5px; font-weight: 500; }
.body-text { font-size: 14.5px; line-height: 1.65; color: #374151; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-600); }
.btn-outline { background: var(--bg); border-color: var(--line-strong); color: var(--ink); }
.btn-ghost { background: transparent; border-color: transparent; color: inherit; }
.sketch-bar .btn-outline { background: transparent; border-color: #374151; color: #E5E7EB; }

/* ---------- badges & pills ---------- */

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .01em;
}
.badge-ok   { background: var(--ok-bg);   color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-info { background: var(--info-bg); color: var(--info); }

/* ---------- form primitives ---------- */

.field { display: block; margin-bottom: 16px; }
.label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.input, .textarea, .select select {
  display: block; width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--bg); outline: none; font-size: 14.5px;
}
.textarea { height: auto; padding: 12px 14px; resize: vertical; }
.input::placeholder { color: var(--subtle); }
.check {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; cursor: pointer;
}
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.field-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }

/* ---------- panels ---------- */

.card-panel {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }

/* ---------- crumbs / toolbar ---------- */

.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs span:last-child { color: var(--ink); }
.toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar-actions { display: flex; align-items: center; gap: 10px; }
.filters-btn { display: none; }
.select select { width: auto; height: 36px; padding: 0 32px 0 12px; font-size: 13.5px; border-color: var(--line); }

/* ---------- catalog ---------- */

.catalog-layout { display: grid; grid-template-columns: 232px 1fr; gap: 32px; align-items: start; }
.filters { display: flex; flex-direction: column; gap: 22px; }
.filter-group { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.filter-group:last-child { border-bottom: 0; padding-bottom: 0; }
.filter-title { font-size: 13px; font-weight: 700; margin-bottom: 10px; letter-spacing: .01em; }
.filter-list { display: flex; flex-direction: column; gap: 9px; }
.range-bar { height: 4px; border-radius: 999px; background: var(--surface-2); position: relative; margin: 6px 0 10px; }
.range-bar::after { content: ""; position: absolute; inset: 0 42% 0 8%; border-radius: 999px; background: var(--brand); }
.range-inputs { display: flex; gap: 8px; }
.range-inputs .input { height: 36px; font-size: 13px; text-align: center; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(206px, 1fr)); gap: 20px; }

.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg); overflow: hidden;
}
.card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-size: 14px; font-weight: 600; line-height: 1.35; }
.card-prices { display: flex; align-items: baseline; gap: 5px; margin-top: 2px; }
.price { font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
.price-lg { font-size: 28px; }
.unit { font-size: 12.5px; color: var(--muted); }
.card-meta { font-size: 12px; }
.card .btn { margin-top: 10px; }

.thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: #FFF8F4;
  background-image:
    linear-gradient(45deg, #FFE7D9 25%, transparent 25%, transparent 75%, #FFE7D9 75%),
    linear-gradient(45deg, #FFE7D9 25%, transparent 25%, transparent 75%, #FFE7D9 75%);
  background-size: 18px 18px;
  background-position: 0 0, 9px 9px;
}
.thumb .badge { position: absolute; top: 10px; left: 10px; }
.thumb-lg { aspect-ratio: 4 / 3; border-radius: var(--r); border: 1px solid var(--line); }

/* ---------- product detail ---------- */

.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.thumbs-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumbs-row .thumb { aspect-ratio: 1 / 1; border-radius: var(--r-sm); border: 1px solid var(--line); cursor: pointer; }
.product-info { display: flex; flex-direction: column; gap: 10px; }
.product-info .badge { align-self: flex-start; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }

.tier-table { width: 100%; border-collapse: collapse; margin: 8px 0 4px; font-size: 14px; }
.tier-table th {
  text-align: left; font-size: 12px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; padding: 8px 12px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.tier-table th:first-child { border-radius: var(--r-sm) 0 0 0; }
.tier-table th:last-child  { border-radius: 0 var(--r-sm) 0 0; }
.tier-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tier-table tr:last-child td { border-bottom: 0; }

.buy-row { display: flex; gap: 12px; margin: 14px 0 6px; }
.stepper {
  display: inline-flex; align-items: center; height: 44px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden;
}
.stepper button {
  width: 40px; height: 100%; border: 0; background: var(--bg);
  font-size: 17px; cursor: pointer; color: var(--muted);
}
.stepper span { min-width: 44px; text-align: center; font-weight: 600; }

.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-top: 14px; }
.tab { padding: 10px 0; font-size: 14px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; }
.tab.is-active { color: var(--ink); border-bottom-color: var(--brand); }

/* ---------- line items (cart) ---------- */

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.line-list { display: flex; flex-direction: column; }
.line-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto 32px;
  grid-template-areas: "thumb main figures remove";
  gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.line-item:first-child { padding-top: 0; }
.line-item .thumb { grid-area: thumb; border-radius: var(--r-sm); border: 1px solid var(--line); }
.li-main { grid-area: main; display: flex; flex-direction: column; gap: 3px; }
.li-name { font-size: 14.5px; font-weight: 600; }
.li-figures { grid-area: figures; display: flex; align-items: center; gap: 28px; }
.li-price { width: 76px; font-size: 14px; color: var(--muted); }
.li-total { width: 84px; font-size: 14.5px; font-weight: 700; text-align: right; }
.stepper-sm { height: 36px; }
.stepper-sm button { width: 32px; font-size: 15px; }
.stepper-sm span { min-width: 36px; font-size: 14px; }
.li-remove {
  grid-area: remove; width: 32px; height: 32px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg);
  color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1;
}
.cart-foot { padding-top: 16px; }

/* ---------- summary ---------- */

.summary { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: var(--surface); }
.summary .h3 { margin-bottom: 14px; }
.sum-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; color: #374151; }

.sum-items { list-style: none; margin: 0 0 14px; padding: 0; border-bottom: 1px solid var(--line-strong); }
.sum-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.sum-item:last-child { border-bottom: 0; padding-bottom: 13px; }
.thumb-sm { width: 40px; flex: none; border-radius: 6px; border: 1px solid var(--line); }
.sum-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sum-item-name {
  font-size: 13px; font-weight: 600; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sum-item-meta { font-size: 11.5px; color: var(--muted); }
.sum-item-total { font-size: 13px; font-weight: 700; white-space: nowrap; }
.sum-total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line-strong); font-size: 16px; font-weight: 700; color: var(--ink); }
.summary .btn { margin-top: 16px; }
.sum-note {
  margin: 12px 0 0; padding: 8px 10px; border-radius: var(--r-sm);
  background: var(--accent-soft); color: var(--ink); font-size: 12.5px; line-height: 1.4;
}
.summary .small { margin-top: 10px; }

/* ---------- checkout ---------- */

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.checkout-main { display: flex; flex-direction: column; gap: 18px; }
.radio-option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm);
  margin-bottom: 10px; cursor: pointer;
}
.radio-option:last-child { margin-bottom: 0; }
.radio-option.is-selected { border-color: var(--brand); background: var(--accent-soft); }
.radio-option input { width: 16px; height: 16px; accent-color: var(--accent); }
.radio-body { flex: 1; }
.radio-title { font-size: 14px; font-weight: 600; }
.radio-note { font-size: 12.5px; color: var(--muted); }

/* ---------- orders ---------- */

.order-list { display: flex; flex-direction: column; }
.order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px 120px 110px;
  gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.order-row:first-child { padding-top: 0; }
.order-row:last-child { border-bottom: 0; padding-bottom: 0; }
.or-num { font-size: 14.5px; font-weight: 700; }
.or-total { font-size: 14.5px; font-weight: 700; text-align: right; }
.order-row .badge { justify-self: start; }
.order-row .link { justify-self: end; }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.detail-stack { display: flex; flex-direction: column; gap: 14px; }
.readonly-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.readonly-row:last-of-type { border-bottom: 0; }
.readonly-row > span:first-child { color: var(--muted); }
.li-qty-text { width: 56px; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- auth ---------- */

.auth-shell { display: flex; flex-direction: column; align-items: center; padding: 56px 24px 64px; background: var(--surface); }
.brand-lg { font-size: 20px; margin-bottom: 22px; }
.auth-subhead {
  margin: 22px 0 12px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.auth-card .h2 { margin-bottom: 6px; }
.auth-card .muted { margin-bottom: 24px; }
.auth-foot { margin-top: 20px; font-size: 13px; text-align: center; }
.auth-request { margin-top: 6px; text-align: center; }

/* ---------- responsive: tablet ---------- */

@media (max-width: 960px) {
  .wrap { padding: 0 24px; }
  .search { display: none; }
  .search-btn { display: inline-flex; }
  .catalog-layout { grid-template-columns: 1fr; gap: 0; }
  .filters { display: none; }
  .filters-btn { display: inline-flex; }
  .product-layout { grid-template-columns: 1fr; gap: 24px; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-layout .summary { order: 2; }
}

/* ---------- responsive: mobile ---------- */

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .screen { padding: 18px 10px; }
  .wrap { padding: 0 16px; }
  .page { padding: 20px 0 32px; }
  .app-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .account { padding: 0; border: 0; }
  .account-name { display: none; }
  .header-in { gap: 8px; height: 60px; }
  .brand-logo { width: 118px; height: auto; }
  .header-actions { gap: 8px; }
  .header-actions .btn { display: none; }

  .mobile-menu.is-open {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 4px;
    padding-bottom: 12px;
    border-top: 1px solid var(--line);
    background: var(--bg);
  }
  .mobile-nav-link {
    padding: 12px 10px;
    border-radius: var(--r-sm);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
  }
  .mobile-nav-link:hover { background: var(--surface); }
  .mobile-nav-link.is-active { background: var(--accent-soft); }
  .mobile-nav-portal { color: var(--accent); }

  .h1 { font-size: 22px; }
  .h2 { font-size: 20px; }
  .toolbar { align-items: center; margin-bottom: 18px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .card-body { padding: 12px 12px 14px; }
  .price { font-size: 15.5px; }

  .form-grid { grid-template-columns: 1fr; }

  .line-item {
    grid-template-columns: 56px minmax(0, 1fr) 32px;
    grid-template-areas:
      "thumb main remove"
      "figures figures figures";
    gap: 10px 14px;
    align-items: start;
    padding: 16px 0;
  }
  .li-figures { justify-content: space-between; gap: 10px; margin-top: 4px; }
  .li-price { width: auto; }
  .li-total { width: auto; }

  .order-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "main  badge"
      "total action";
    gap: 8px 12px;
  }
  .or-main { grid-area: main; }
  .order-row .badge { grid-area: badge; }
  .or-total { grid-area: total; text-align: left; }
  .order-row .link { grid-area: action; }

  .buy-row { flex-direction: column; }
  .buy-row .btn { width: 100%; }
  .stepper { justify-content: space-between; }

  .auth-shell { padding: 32px 16px 40px; }
  .auth-card { padding: 24px 20px; }

  .sketch-hint { display: none; }
}

/* ============================================================
   Landing page (index.html) — the public presentation site
   Replaces the WordPress page at www.ezoterika.si
   ============================================================ */

/* White here, not the page grey: the photograph ends in a white strip, and the
   card set into it has to run past the image without a visible edge. */
.hero { padding: 56px 0 72px; background: var(--bg); }
/* As wide as the rest of the page's content (the wrap is 1200 px including its
   32 px side padding), so the banner lines up with the sections below. */
.hero-banner { position: relative; max-width: 100%; margin: 0 auto; }
.hero-image { display: block; width: 100%; height: auto; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-600); margin-bottom: 12px;
}
/* The title sits inside the photograph, over the light sky at its top left. */
.hero-head {
  position: absolute;
  top: clamp(16px, 3.5vw, 36px);
  left: clamp(16px, 4vw, 40px);
  max-width: 62%;
}
.hero-head .eyebrow { color: #374151; margin-bottom: 8px; }
.hero h1 {
  font-size: clamp(24px, 4.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -.3px;
  color: var(--ink);
}
/* The card sits in the white strip at the bottom of the photograph, its lower
   edge level with the base of the incense holder (4.9% of the picture's height
   above its bottom edge), not with the empty white below it. */
.hero-card {
  position: absolute;
  right: 32px;
  bottom: 4.9%;
  width: 50%;
  padding-left: 24px;
  background: var(--bg);
}
.hero-card p { font-size: 14.5px; line-height: 1.5; color: #374151; margin: 0 0 10px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.section { padding: 56px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.brand-row.reverse .brand-media { order: 2; }
/* Never wider than the file itself: stretching a 450 px picture to 540 px only
   makes it soft. The width and height attributes keep the box reserved. */
.brand-media img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; border-radius: var(--r-lg); }
.media-frame {
  display: flex; align-items: center; justify-content: center;
  padding: 36px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg);
}
.media-frame img { max-width: 220px; height: auto; }
.section h2 { margin-bottom: 14px; }
.section .body-text { max-width: 540px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; line-height: 1.7; color: #374151; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-code {
  padding: 9px 16px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface-2); font-weight: 700; letter-spacing: .18em; color: var(--muted);
}

.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--bg); }
.lang-btn {
  border: 0; background: var(--bg); padding: 7px 13px; cursor: pointer;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted);
}
.lang-btn + .lang-btn { border-left: 1px solid var(--line); }
.lang-btn.is-active { color: var(--accent); }

.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin-bottom: 12px;
}
.site-footer p, .site-footer a { font-size: 14px; line-height: 1.7; color: #374151; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-brand { margin-bottom: 14px; }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.footer-credit { margin-left: auto; }
.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--ink); }
.sketch-link { color: #D1D5DB; font-weight: 600; }
.sketch-link:hover { color: #fff; }

/* ---------- the static legal and about pages ---------- */

.legal { max-width: 760px; }
.legal .eyebrow { margin-bottom: 8px; }
.legal > p,
.legal li {
  font-size: 15px;
  line-height: 1.75;
  color: #374151;
}
.legal h2 {
  margin: 34px 0 10px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.2px;
}
.legal ul { margin: 8px 0 14px 20px; }
.legal li + li { margin-top: 6px; }
.legal p a,
.legal li a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.legal .lead { margin-top: 16px; font-size: 16.5px; }
.legal .meta { margin: 4px 0 26px; font-size: 13px; color: var(--muted); }
.legal .note {
  margin: 28px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--brand);
  background: var(--surface);
  font-size: 14px;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about-facts h2 {
  margin: 0 0 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.about-facts p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: #374151;
}
.about-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

@media (max-width: 640px) {
  .about-facts { grid-template-columns: 1fr; gap: 22px; }
  .about-cta .btn { width: 100%; }
}

@media (max-width: 960px) {
  .brand-row, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .brand-row.reverse .brand-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero { padding: 36px 0 40px; }
  .hero-head { max-width: 72%; }
  .hero-card { position: static; width: auto; padding: 16px 0 0; background: none; }
}

@media (max-width: 640px) {
  .hero { padding: 28px 0 32px; }
  .hero-head { max-width: 74%; }
  .hero-head .eyebrow { font-size: 10.5px; letter-spacing: .08em; }
  .hero h1 { font-size: 23px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 40px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .media-frame { padding: 24px; }
}

/* ---------- the live landing page ----------
   The mockups do not need these; the real contact form does. */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.form-status {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  line-height: 1.4;
}

.form-status.is-ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.form-status.is-error {
  background: var(--danger-bg);
  color: var(--danger);
}
