/* ============================================================
   PRODUCTS LAYOUT — fully standalone stylesheet
   Do NOT import app.css alongside this file.
   Contains its own tokens + every component used by the
   products layout and products/index page.
   ============================================================ */

:root {
  --white: #ffffff;
  --black: #2B1E18;
  --grey-100: #f5f5f5;
  --grey-200: #e8e8e8;
  --grey-400: #999;
  --grey-600: #555;
  --clay: #A37734;
  --silt: #F7F1E9;
  --coal: #2B1E18;
  --live: #E63719;
  --sand: #CAA280;

  --typography-body-font-family: "Archivo Narrow", "Helvetica Neue", Arial, sans-serif;
  --typography-amount-font-family: "Archivo Narrow", "Helvetica Neue", Arial, sans-serif;
  --typography-amount-font-weight: 700;
  --typography-amount-font-size: 1rem;
  --typography-amount-letter-spacing: 0.02em;
}

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

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--typography-body-font-family);
  font-size: 0.95rem;
  line-height: 1.5;
  background: var(--white);
  color: var(--coal);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Archivo Narrow", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Archivo Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  padding: 12px 24px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  border: none;
}
.btn-primary { background: var(--coal); color: var(--silt); }
.btn-primary:hover { background: var(--sand); color: var(--coal); }
.btn-secondary { background: var(--silt); color: var(--coal); border: 1px solid var(--coal); }
.btn-secondary:hover { background: var(--sand); color: var(--coal); }
.btn-sm { padding: 8px 16px; font-size: 0.72rem; }
.btn-lg { padding: 16px 36px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* ── SHOP ANNOUNCE BAR ── */
.shop-announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 902;
  height: 40px;
  background: var(--coal);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.shop-announce-track {
  display: flex;
  white-space: nowrap;
  animation: shopAnnounceScroll 22s linear infinite;
}
.shop-announce-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}
@keyframes shopAnnounceScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SHOP NAV (single row, left-aligned) ── */
.shop-nav {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  width: 100%;
}
.shop-nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
  height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;  /* links | logo | right — logo gets the true middle */
  align-items: center;
  gap: 24px;
}

.shop-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;                 /* tightened a bit for 6 items */
  white-space: nowrap;
  justify-self: start;
  overflow-x: auto;
  scrollbar-width: none;
}
.shop-nav-links::-webkit-scrollbar { display: none; }

.shop-nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--coal);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.shop-nav-links a:hover,
.shop-nav-links a.active-bold { color: var(--grey-600); }

.shop-nav-dropdown { position: relative; }
.shop-nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--coal);
}
.shop-nav-dropdown-btn i { font-size: 0.85rem; transition: transform 0.2s; }
.shop-nav-dropdown.open .shop-nav-dropdown-btn i { transform: rotate(180deg); }
.shop-nav-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  z-index: 10;
}
.shop-nav-dropdown.open .shop-nav-dropdown-panel { display: block; }
.shop-nav-dropdown-panel a {
  display: block;
  padding: 12px 18px;
  font-size: 0.8rem;
  color: var(--coal);
  text-decoration: none;
  border-bottom: 1px solid var(--grey-100);
}
.shop-nav-dropdown-panel a:last-child { border-bottom: none; }
.shop-nav-dropdown-panel a:hover { background: var(--grey-100); }
.shop-nav-logo {
  justify-self: center;
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.shop-nav-logo-img { height: 36px; width: auto; }

.shop-nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-self: end;
  flex-shrink: 0;
}
.shop-nav-currency {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--coal);
  cursor: pointer;
  white-space: nowrap;
}
.shop-nav-login {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--coal);
  text-decoration: none;
  cursor: pointer;
}
.nav-icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--coal); cursor: pointer;
}
.nav-icon-btn i { font-size: 22px; }
.nav-cart-btn {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: none; color: var(--coal); cursor: pointer;
}
.nav-cart-btn i { font-size: 19px; }
.cart-badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--coal); color: var(--white);
  font-size: 0.6rem; width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-hamburger {
  display: none;
  width: 40px; height: 40px;
  border: none; background: none; color: var(--coal); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-hamburger i { font-size: 22px; }
.shop-hamburger { display: none; }

.shop-page-wrapper { padding-top: 124px; }

@media (max-width: 1100px) {
  .shop-nav-links, .shop-nav-currency, .shop-nav-login { display: none; }
  .shop-hamburger { display: flex; align-items: center; justify-content: center; }
}
@media (max-width: 768px) {
  .shop-announce-bar { height: 32px; }
  .shop-announce-item { font-size: 0.68rem; padding: 0 20px; }
  .shop-nav { top: 32px; }
  .shop-nav-inner { height: 60px; padding: 0 16px; }
  .shop-nav-logo-img { height: 28px; }
  .shop-page-wrapper { padding-top: 92px; }
}

/* ── MOBILE SEARCH BAR ── */
.mobile-search-bar {
  display: none;
  position: fixed;
  top: 92px; left: 0; right: 0;
  z-index: 899;
  background: var(--white);
  border-bottom: 2px solid var(--coal);
  transform: translateY(-100%);
  transition: transform 0.25s ease;
}
.mobile-search-bar.open { display: block; transform: translateY(0); }
.mobile-search-bar-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; color: var(--grey-400);
}
.mobile-search-bar-inner input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 0.95rem; color: var(--coal);
}
.mobile-search-bar-inner button { background: none; border: none; font-size: 1rem; cursor: pointer; color: var(--grey-400); }

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed; inset: 0; background: var(--white); z-index: 950;
  padding: 80px 24px 40px; display: none; flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 2.5rem; letter-spacing: 0.04em; color: var(--coal);
  text-decoration: none; border-bottom: 2px solid var(--grey-200);
  padding: 16px 0; line-height: 1;
}
.mobile-menu-close {
  position: absolute; top: 16px; right: 24px; font-size: 1.5rem;
  background: none; border: 2px solid var(--coal); width: 44px; height: 44px; cursor: pointer;
}

/* ── BREADCRUMB ── */
.shop-breadcrumb {
  max-width: 1600px;
  margin: 0 auto 24px;
  padding: 32px 40px 0;
  font-size: 0.8rem;
  color: var(--grey-600);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.shop-breadcrumb a { color: var(--grey-600); text-decoration: none; }
.shop-breadcrumb a:hover { text-decoration: underline; }
.shop-breadcrumb .sep { color: var(--grey-400); }
.shop-breadcrumb .current { color: var(--coal); }

/* ── PRODUCT GRID + CARDS ── */

/* ── SHOP TOOLBAR (Filter and Sort row) ── */
.shop-toolbar {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-top:38px;

}

.shop-toolbar-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coal);
}
.shop-toolbar-filter i {
  font-size: 1.1rem;
}

.shop-toolbar-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.shop-toolbar-count {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--coal);
  white-space: nowrap;
}

/* Toolbar's sort-btn should look bare/inline here, not the boxed grey pill */
.shop-toolbar .sort-btn {
  background: none;
  padding: 0;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--coal);
}

@media (max-width: 768px) {
  .shop-toolbar {
    padding: 0 16px;
    padding-bottom: 16px;
    margin-bottom: 24px;
  }
  .shop-toolbar-filter,
  .shop-toolbar-count,
  .shop-toolbar .sort-btn {
    font-size: 0.72rem;
  }
  .shop-toolbar-right { gap: 16px; }
}

.shop-main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px 80px;
}
/*.shop-main { max-width: 1600px; margin: 0 auto; padding: 0 40px 80px; }*/
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }

.product-card { cursor: pointer; position: relative; border: none; }
.product-img { aspect-ratio: 3/4; background: var(--grey-100); position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.04); }

.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--coal); color: var(--white);
  font-size: 0.65rem; padding: 4px 8px; letter-spacing: 0.08em; z-index: 2;
}
.product-wishlist-btn {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; background: transparent; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--coal); z-index: 3;
}
.product-wishlist-btn i { font-size: 20px; }

.product-info { padding-top: 16px; }
.product-eyebrow { font-size: 0.7rem; color: var(--grey-400); margin-bottom: 4px; letter-spacing: 0.05em; text-transform: uppercase; }

.product-name {
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coal);
  margin-bottom: 6px;
}
.product-desc {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--coal);
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 12px;
  
  
}
.product-price {
  font-family: var(--typography-amount-font-family);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: var(--typography-amount-letter-spacing);
  color: var(--coal);
}
.product-price del { font-weight: 400; color: var(--grey-400); margin-right: 8px; }

@media (max-width: 1100px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .shop-breadcrumb { padding: 20px 16px 0; }
  .shop-main { padding: 0 16px 60px; }
}
@media (max-width: 480px) { .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; } }

/* ── FILTER SHEET (left slide-in) ── */
.filter-sheet-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 950; }
.filter-sheet-overlay.open { display: block; }
.filter-sheet-left {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: var(--white);
  z-index: 951;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;        /* was overflow-y: auto — move scrolling to the body only */
}
.filter-sheet-left.open { transform: translateX(0); }
/* ── FILTER SHEET (Zipp Republic style) ── */
.filter-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--grey-200);
}
.filter-sheet-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--coal);
  margin-bottom: 4px;
}
.filter-sheet-subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-400);
}
.filter-sheet-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--coal);
  flex-shrink: 0;
}

.filter-sheet-body {
  flex: 1;                 /* takes all remaining space, pushing footer down */
  overflow-y: auto;        /* body scrolls internally if content is tall */
  padding: 8px 28px 28px;
}


.fs-section {
  padding: 24px 0;
  /*border-bottom: 1px solid var(--grey-200);*/
}
.fs-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coal);
  margin-bottom: 18px;
}
.fs-minus {
  width: 12px;
  height: 2px;
  background: var(--coal);
  display: inline-block;
}

/* Toggle switch */
.fs-toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--coal);
  cursor: pointer;
}
.fs-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.fs-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.fs-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--grey-200);
  border-radius: 999px;
  transition: background 0.2s;
}
.fs-toggle-slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.fs-toggle input:checked + .fs-toggle-slider {
  background: var(--coal);
}
.fs-toggle input:checked + .fs-toggle-slider::before {
  transform: translateX(18px);
}

/* Price */
.fs-price-hint {
  font-size: 0.85rem;
  color: var(--coal);
  margin-bottom: 20px;
}

.fs-range-wrap {
  position: relative;
  height: 32px;
  margin-bottom: 20px;
}
.fs-range-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grey-200);
  transform: translateY(-50%);
}
.fs-range-fill {
  position: absolute;
  top: 50%;
  height: 2px;
  background: var(--coal);
  transform: translateY(-50%);
}
.fs-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 32px;
  margin: 0;
  background: none;
  appearance: none;
  pointer-events: none;
}
.fs-range::-webkit-slider-thumb {
  appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 24px;
  background: var(--white);
  border: 1px solid var(--coal);
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.fs-range::-webkit-slider-thumb::before {
  content: "|||";
}
.fs-range::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 24px;
  background: var(--white);
  border: 1px solid var(--coal);
  cursor: pointer;
}
.fs-range::-webkit-slider-runnable-track,
.fs-range::-moz-range-track {
  background: none;
}

.fs-price-inputs {
  display: flex;
  gap: 16px;
}
.fs-price-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--grey-400);
  padding: 12px 14px;
}
.fs-price-input span {
  font-size: 0.9rem;
  color: var(--grey-600);
}
.fs-price-input input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.9rem;
  color: var(--coal);
  font-family: var(--typography-amount-font-family);
}

/* Sort By */
.fs-sortby-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}
.fs-sortby-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coal);
}
.fs-sortby-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.fs-sortby-select {
  appearance: none;
  border: none;
  background: none;
  font-size: 0.9rem;
  color: var(--coal);
  padding-right: 24px;
  cursor: pointer;
  outline: none;
}
.fs-sortby-caret {
  position: absolute;
  right: 0;
  font-size: 0.85rem;
  color: var(--coal);
  pointer-events: none;
}

.filter-sheet-footer .btn-primary {
  border-radius: 0;
  padding: 16px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.filter-sheet-footer { flex-shrink: 0; /* stays pinned at the bottom, never scrolls away */ padding: 20px 28px; border-top: 1px solid var(--grey-200); background: var(--white); }

.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; background: none; border: none; cursor: pointer;
  font-size: 0.85rem; letter-spacing: 0.05em; font-weight: 500; color: var(--coal);
}
.acc-trigger-sale { color: var(--live); }
.acc-caret { transition: transform 0.2s; }
.acc-item.open .acc-caret { transform: rotate(180deg); }
.acc-panel { display: none; padding-bottom: 20px; }
.acc-item.open .acc-panel { display: block; }

.filter-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.filter-item label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.88rem; padding: 6px 0; }
.filter-check { width: 16px; height: 16px; border: 2px solid var(--coal); appearance: none; cursor: pointer; position: relative; }
.filter-check:checked { background: var(--coal); }
.filter-count { font-size: 0.65rem; color: var(--grey-400); margin-left: auto; }

.price-range { display: flex; flex-direction: column; gap: 12px; }
.price-range input[type="range"] { width: 100%; accent-color: var(--coal); cursor: pointer; }
.price-display { display: flex; justify-content: space-between; font-family: var(--typography-amount-font-family); font-weight: 700; }

.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 28px; height: 28px; border: 2px solid transparent; cursor: pointer; }
.swatch:hover, .swatch.active { border-color: var(--coal); }

/* ── SORT DROPDOWN ── */
.sort-dropdown { position: relative; flex-shrink: 0; }
.sort-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--grey-100); border: none; padding: 12px 18px;
  font-size: 0.92rem; color: var(--grey-600); cursor: pointer; white-space: nowrap;
}
.sort-btn .sort-caret { font-size: 0.8rem; transition: transform 0.2s; }
.sort-btn.open .sort-caret { transform: rotate(180deg); }
.sort-panel {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 260px;
  background: var(--white); border: 1px solid var(--grey-200);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1); z-index: 60; display: none;
}
.sort-panel.open { display: block; }
.sort-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; cursor: pointer; font-size: 0.98rem; color: var(--coal); }
.sort-option:hover { background: var(--grey-100); }
.sort-option .sort-check { opacity: 0; }
.sort-option.selected .sort-check { opacity: 1; }

/* ── PAGINATION ── */
.shop-main .pagination-row {
  margin-top: 48px; padding-top: 32px; border-top: 2px solid var(--coal);
  display: flex; align-items: center; justify-content: center; gap: 0;
}

/* ── CART DRAWER ── */
.cart-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; }
.cart-overlay.open { display: block; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 400px; max-width: 95vw; background: var(--white); z-index: 1001;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.3s ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; }
.cart-title { font-size: 1.8rem; }
.cart-body { flex: 1; overflow-y: auto; padding: 24px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 16px; color: var(--grey-400); }
.cart-empty-icon { font-size: 3rem; color: var(--grey-400); }
.cart-footer { padding: 24px; border-top: 2px solid var(--coal); }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.cart-total-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.cart-total-val { font-family: var(--typography-amount-font-family); font-weight: 700; }
.cart-close-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--coal); }
.cart-close-btn i { font-size: 22px; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--coal); color: var(--white); font-size: 0.78rem; letter-spacing: 0.06em;
  padding: 14px 28px; z-index: 2000; transition: transform 0.3s ease; white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── MODAL SYSTEM (auth modal) ── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal { background: var(--white); border: 2px solid var(--coal); width: 100%; max-height: 90vh; overflow-y: auto; }
.modal-md { max-width: 560px; }
.modal-title { font-size: 1.6rem; }
.modal-close { width: 36px; height: 36px; border: 2px solid var(--coal); background: var(--white); cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.modal-body { padding: 28px; }

.auth-tabs { display: flex; border-bottom: 2px solid var(--coal); }
.auth-tab { flex: 1; padding: 16px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; border: none; background: var(--white); color: var(--grey-400); border-right: 2px solid var(--coal); }
.auth-tab:last-child { border-right: none; }
.auth-tab.active { background: var(--coal); color: var(--white); }
.auth-panel { display: none; padding: 28px; }
.auth-panel.active { display: block; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 0.65rem; color: var(--grey-400); letter-spacing: 0.1em; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--grey-200); }
.social-btns { display: flex; gap: 10px; }
.social-btn { flex: 1; padding: 12px; border: 2px solid var(--grey-200); background: var(--white); font-size: 0.68rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.auth-footnote { font-size: 0.7rem; color: var(--grey-400); text-align: center; margin-top: 14px; }
.auth-footnote a { color: var(--coal); cursor: pointer; text-decoration: underline; }

/* ── FORMS ── */
.form-group { margin-bottom: 20px; }
.form-label { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 8px; color: var(--grey-600); }
.form-input {
  width: 100%; padding: 14px 16px; border: 2px solid var(--coal);
  font-size: 0.9rem; background: var(--white); outline: none;
}
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; border: 2px solid var(--coal); appearance: none; cursor: pointer; margin-top: 2px; }
.form-check label { font-size: 0.84rem; color: var(--grey-600); cursor: pointer; line-height: 1.4; }

/* ── FOOTER ── */
footer { border-top: 2px solid var(--coal); background: var(--coal); color: var(--white); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 0; max-width: 1400px; margin: 0 auto; padding: 64px 24px; }
.footer-logo-img { height: 52px; width: auto; }
.footer-tagline { font-size: 0.88rem; color: var(--grey-400); line-height: 1.6; margin: 16px 0 28px; max-width: 260px; }
.footer-col-title { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey-400); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--grey-400); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--grey-600); padding: 20px 24px; max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 0.68rem; color: var(--grey-400); letter-spacing: 0.06em; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.68rem; color: var(--grey-400); text-decoration: none; }
.footer-legal a:hover { color: var(--white); }

@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 12px; text-align: center; } }