/* ============================================================
   Shema Wears — design system
   Warm ivory, espresso ink, gold thread. Tibeb as signature.
   ============================================================ */

:root {
  --ink: #2B211A;
  --ink-soft: #4A3A2C;
  --muted: #7A6A57;
  --paper: #FAF6EF;
  --sand: #F0E7D8;
  --sand-deep: #E6D9C2;
  --card: #FFFDF8;
  --gold: #B98A2F;
  --gold-soft: #D9B25F;
  --terra: #A3502E;
  --tibeb-green: #2F7A4D;
  --tibeb-red: #B33A3A;
  --tibeb-blue: #2B4C8C;
  --line: #E3D8C4;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-hero: clamp(2.5rem, 5.5vw, 4.4rem);
  --fs-h2: clamp(1.8rem, 3.4vw, 2.6rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(43, 33, 26, 0.09);
  --shadow-lift: 0 18px 44px rgba(43, 33, 26, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

/* ---------- Reset & base ---------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 var(--space-2);
  color: var(--ink);
}

p { margin: 0 0 var(--space-2); }

a { color: inherit; text-decoration: none; }

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  font-size: inherit;
}

::selection { background: var(--gold-soft); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

main { min-height: 60vh; }

/* ---------- Layout helpers ---------- */

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.section { padding-block: var(--space-6); }
.section--tight { padding-block: var(--space-5); }
.section--sand { background: var(--sand); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.section__title { font-size: var(--fs-h2); margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

.text-center { text-align: center; }
.text-center .lead { margin-inline: auto; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

@media (max-width: 820px) {
  .grid-2 { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ---------- Tibeb divider ---------- */

.tibeb-divider {
  height: 26px;
  background-image: url("../assets/tibeb-band.svg");
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: center;
  opacity: 0.9;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.9em 2em;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--ink); border-color: var(--ink); }

.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }

.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }

.btn--sm { padding: 0.6em 1.4em; font-size: 0.85rem; }

.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

.text-link {
  font-weight: 500;
  color: var(--gold);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.25s;
}
.text-link:hover { color: var(--terra); }

/* ---------- Announcement bar ---------- */

.topbar {
  background: var(--ink);
  color: var(--sand);
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  padding: 0.55em 1em;
}
.topbar strong { color: var(--gold-soft); font-weight: 500; }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 44px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.2rem);
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.4em 0;
  position: relative;
  transition: color 0.25s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 0.3s var(--ease);
}

.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { right: 0; }

.nav__link--active { color: var(--ink); font-weight: 500; }
.nav__link--active::after { right: 0; }

.header__actions { display: flex; align-items: center; gap: var(--space-2); }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5em 0.75em;
  border-radius: var(--radius-sm);
  transition: background 0.25s;
}
.cart-btn:hover { background: var(--sand); }
.cart-btn svg { width: 22px; height: 22px; }

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--terra);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}
.cart-count--visible { transform: scale(1); }

/* Mobile nav */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: var(--radius-sm);
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .menu-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: var(--space-2) 0;
    display: none;
  }
  .nav--open { display: flex; }
  .nav__link { padding: 0.9em 6vw; }
  .nav__link::after { display: none; }
  .nav__link--active { background: var(--sand); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #F5EDE0 0%, var(--paper) 55%, #F3E8D5 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-5);
  min-height: min(78vh, 720px);
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: var(--space-3);
}

.hero__am {
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-3);
}

.hero__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

.hero__art img { width: 100%; height: auto; }

@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; padding-block: var(--space-4); min-height: 0; }
  .hero__art { order: -1; margin-inline: -4vw; }
}

/* ---------- Category tiles ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.cat-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.cat-tile__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.cat-tile__label {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  padding: 0.55em 1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}
.cat-tile__label::after { content: "→"; font-family: var(--font-body); font-size: 1rem; color: var(--gold); transition: transform 0.3s var(--ease); }
.cat-tile:hover .cat-tile__label::after { transform: translateX(4px); }

@media (max-width: 820px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
}

/* ---------- Product grid & cards ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-3) var(--space-2);
}

.product-card { display: block; }

.product-card__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow);
}

.product-card__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-card__img { transform: scale(1.045); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4em 0.9em;
  border-radius: 999px;
}
.badge--new { background: var(--tibeb-green); }

.quick-add {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  background: rgba(43, 33, 26, 0.92);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8em;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.25s;
}
.product-card:hover .quick-add,
.quick-add:focus-visible { opacity: 1; transform: translateY(0); }
.quick-add:hover { background: var(--gold); }

@media (hover: none) {
  .quick-add { opacity: 1; transform: none; }
}

.product-card__body { padding: 0.9rem 0.25rem 0; }

.product-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.15rem;
}

.product-card__price {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

/* ---------- Story / editorial split ---------- */

.story__art img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  width: 100%;
  height: auto;
}

.story__text .lead { margin-bottom: var(--space-3); }

/* ---------- Values ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.value {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-3);
  text-align: center;
}

.value__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--gold);
  font-size: 1.4rem;
}
.value__icon svg { width: 26px; height: 26px; }

.value h3 { font-size: var(--fs-h3); margin-bottom: 0.4rem; }
.value p { color: var(--muted); font-size: 0.95rem; margin: 0; }

@media (max-width: 820px) {
  .values { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: var(--sand);
  text-align: center;
  padding-block: var(--space-5);
}
.cta-band h2 { color: var(--paper); font-size: var(--fs-h2); }
.cta-band p { color: #C9BBA6; max-width: 52ch; margin-inline: auto; }
.cta-band .btn { margin-top: var(--space-2); }

/* ---------- Page header (interior pages) ---------- */

.page-head {
  background: var(--sand);
  padding-block: var(--space-5) var(--space-4);
  text-align: center;
}
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 0.4rem; }
.page-head p { color: var(--muted); max-width: 56ch; margin-inline: auto; }

/* ---------- Shop toolbar ---------- */

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.chip {
  padding: 0.5em 1.3em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--card);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip--active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  font-weight: 500;
}

.sort-select {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.5em 1.1em;
  cursor: pointer;
}

.shop-count { color: var(--muted); font-size: var(--fs-small); }

.empty-state {
  text-align: center;
  padding: var(--space-5) var(--space-2);
  color: var(--muted);
}
.empty-state h2, .empty-state h3 { color: var(--ink); }

/* ---------- Product detail (PDP) ---------- */

.breadcrumb {
  font-size: var(--fs-small);
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--space-5);
  align-items: start;
}

.pdp__media {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow);
}
.pdp__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.pdp__name { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 0.3rem; }

.pdp__price {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.pdp__price s { color: var(--muted); font-size: 1.05rem; }

.pdp__short { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: var(--space-3); }

.option-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.color-dots { display: flex; gap: 0.6rem; margin-bottom: var(--space-3); }

.color-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(43,33,26,0.15);
}

.size-picker { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: var(--space-3); }

.size-btn {
  min-width: 52px;
  padding: 0.55em 1em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--card);
  font-size: 0.9rem;
  transition: all 0.2s var(--ease);
}
.size-btn:hover { border-color: var(--ink); }
.size-btn--active { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 500; }

.buy-row { display: flex; gap: var(--space-2); align-items: stretch; flex-wrap: wrap; margin-bottom: var(--space-3); }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  overflow: hidden;
}
.qty__btn {
  width: 44px;
  height: 48px;
  font-size: 1.2rem;
  color: var(--ink-soft);
  transition: background 0.2s;
}
.qty__btn:hover { background: var(--sand); }
.qty__num { min-width: 36px; text-align: center; font-weight: 500; }

.pdp__note {
  font-size: var(--fs-small);
  color: var(--muted);
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: 0.8em 1.1em;
  margin-bottom: var(--space-3);
}

.pdp__details { margin: 0 0 var(--space-3); padding: 0; list-style: none; }
.pdp__details li {
  padding: 0.65em 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.97rem;
  display: flex;
  gap: 0.6em;
}
.pdp__details li::before { content: "◆"; color: var(--gold); font-size: 0.6em; align-self: center; }

@media (max-width: 820px) {
  .pdp { grid-template-columns: 1fr; gap: var(--space-3); }
  .pdp__media { position: static; }
}

/* ---------- Cart drawer ---------- */

.drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 33, 26, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 90;
}
.drawer__overlay--visible { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 94vw);
  background: var(--paper);
  z-index: 100;
  transform: translateX(105%);
  transition: transform 0.38s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -18px 0 50px rgba(43, 33, 26, 0.2);
}
.drawer--open { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--line);
}
.drawer__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin: 0; }

.drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.drawer__close:hover { background: var(--sand); }

.drawer__body { flex: 1; overflow-y: auto; padding: var(--space-2) var(--space-3); }

.drawer__empty { text-align: center; color: var(--muted); padding-top: var(--space-5); }

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.cart-item__img {
  width: 76px;
  height: 95px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--sand);
}

.cart-item__name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin: 0; }
.cart-item__meta { font-size: 0.82rem; color: var(--muted); margin: 0.15rem 0 0.5rem; }
.cart-item__price { font-size: 0.9rem; font-weight: 500; margin: 0; }

.cart-item .qty { transform: scale(0.82); transform-origin: left center; }

.cart-item__remove {
  color: var(--muted);
  font-size: 1.05rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  transition: background 0.2s, color 0.2s;
}
.cart-item__remove:hover { background: #F3E1DC; color: var(--tibeb-red); }

.drawer__footer {
  border-top: 1px solid var(--line);
  padding: var(--space-2) var(--space-3) var(--space-3);
  background: var(--card);
}

.drawer__total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.drawer__hint { font-size: 0.82rem; color: var(--muted); margin-bottom: var(--space-2); }

.drawer__footer .btn { width: 100%; }

/* ---------- Checkout ---------- */

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-5);
  align-items: start;
}

@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; }
  .order-summary { order: -1; }
}

.field { margin-bottom: var(--space-2); }

.field__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.field__input,
.field__textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8em 1em;
  transition: border-color 0.25s;
}
.field__input:focus, .field__textarea:focus { outline: none; border-color: var(--gold); }
.field__input[aria-invalid="true"], .field__textarea[aria-invalid="true"] { border-color: var(--tibeb-red); }
.field__error { color: var(--tibeb-red); font-size: 0.82rem; margin-top: 0.3rem; display: none; }
.field__error--visible { display: block; }
.field__textarea { min-height: 110px; resize: vertical; }

.order-summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: var(--shadow);
}

.order-summary h2 { font-size: 1.5rem; }

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 0.55em 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.summary-row--total {
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
  padding-top: 0.9em;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.payment-note {
  background: var(--sand);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  color: var(--ink-soft);
  padding: 0.9em 1.1em;
  margin-top: var(--space-2);
}

.order-message {
  width: 100%;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.82rem;
  background: var(--sand);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1em;
  min-height: 180px;
  margin-top: var(--space-2);
  white-space: pre-wrap;
}

/* ---------- Contact ---------- */

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow);
}

.contact-card h2 { font-size: 1.6rem; }

.contact-list { list-style: none; margin: 0 0 var(--space-3); padding: 0; }
.contact-list li {
  display: flex;
  gap: 0.8em;
  padding: 0.6em 0;
  color: var(--ink-soft);
  align-items: baseline;
}
.contact-list li strong {
  font-weight: 500;
  color: var(--ink);
  min-width: 90px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

/* ---------- Process steps (about) ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  counter-reset: step;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
  position: relative;
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold-soft);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.93rem; margin: 0; }

@media (max-width: 820px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.92rem;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 120;
  max-width: 90vw;
  text-align: center;
}
.toast--show { opacity: 1; transform: translate(-50%, 0); }
.toast strong { color: var(--gold-soft); font-weight: 500; }

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: #C9BBA6;
  margin-top: var(--space-6);
}

.footer__tibeb { height: 8px; background: linear-gradient(90deg, var(--gold) 0 25%, var(--tibeb-green) 0 50%, var(--tibeb-red) 0 75%, var(--tibeb-blue) 0 100%); }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: var(--space-4);
  padding-block: var(--space-5);
}

.footer__brand img { height: 46px; width: auto; margin-bottom: var(--space-2); }
.footer__brand p { font-size: 0.92rem; max-width: 34ch; }

.footer__title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: var(--space-2);
}

.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 0.6em; }

.footer__link { font-size: 0.95rem; transition: color 0.25s; }
.footer__link:hover { color: var(--paper); }

.footer__bottom {
  border-top: 1px solid rgba(201, 187, 166, 0.2);
  padding-block: var(--space-2);
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Reveal animation ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal--visible { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */

.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mb-0 { margin-bottom: 0; }

.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;
}
