/* Fibra Shop — style.css
   Design tokens match /landing/style.css for visual consistency. */

:root {
  --primary:      #1A56DB;
  --primary-dark: #1342B0;
  --accent:       #F59E0B;
  --dark:         #111827;
  --dark-2:       #1F2937;
  --text:         #111827;
  --text-muted:   #6B7280;
  --bg:           #F9FAFB;
  --bg-white:     #ffffff;
  --border:       #E5E7EB;
  --success:      #10B981;
  --radius-sm:    8px;
  --radius:       12px;
  --radius-lg:    16px;
  --max-w:        1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo-btn { display: flex; align-items: center; text-decoration: none; }
.logo-btn img { height: 36px; width: auto; }
.header-right { display: flex; align-items: center; gap: 16px; }
.header-phone { color: var(--text); font-weight: 600; text-decoration: none; font-size: 15px; }
.header-phone:hover { color: var(--primary); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, opacity .15s, transform .1s;
  padding: 11px 22px;
  line-height: 1.2;
  white-space: nowrap;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--outline:hover { background: #EEF2FF; }
.btn--ghost { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--full { width: 100%; }

/* ── HERO ── */
.shop-hero {
  background: linear-gradient(135deg, #EEF2FF 0%, #F9FAFB 100%);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}
.shop-hero__tag {
  display: inline-block;
  background: #DBEAFE;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: .3px;
}
.shop-hero h1 {
  font-size: clamp(24px, 4.5vw, 38px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.shop-hero h1 em { color: var(--primary); font-style: normal; }
.shop-hero__sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 24px;
  line-height: 1.5;
}
.shop-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}
.shop-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.shop-hero__trust-item::before { content: '✓'; color: var(--success); font-weight: 700; }

/* ── CATEGORY TABS ── */
.category-tabs {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 90;
}
.category-tabs .container {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-tabs .container::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0;
  padding: 14px 18px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.tab-btn.is-active { color: var(--primary); border-color: var(--primary); }
.tab-btn:hover:not(.is-active) { color: var(--text); }

/* ── PRODUCTS SECTION ── */
.shop-section { padding: 40px 0 80px; background: var(--bg); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
  gap: 24px;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

/* Photo */
.card-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f3f4f6;
  cursor: pointer;
}
.card-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .25s;
  user-select: none;
}
.card-photo__dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}
.card-photo__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  transition: background .15s;
}
.card-photo__dot.is-active { background: #fff; }
.card-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.card-photo__hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 10px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
}
.card-photo:hover .card-photo__hint { opacity: 1; }

/* Card body */
.card-body {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.card-name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.card-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.card-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  background: #F3F4F6;
  color: var(--text-muted);
}
.card-badge--gsm { background: #EEF2FF; color: var(--primary); }
.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tier price table */
.tier-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 13px;
}
.tier-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.tier-row:last-child { border-bottom: none; }
.tier-row.is-active { background: #EEF2FF; }
.tier-qty { color: var(--text-muted); font-size: 12px; white-space: nowrap; flex: 1; }
.tier-price { font-weight: 700; white-space: nowrap; }
.tier-row.is-active .tier-qty { color: var(--primary-dark); font-weight: 600; }
.tier-row.is-active .tier-price { color: var(--primary); }
.tier-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  white-space: nowrap;
  letter-spacing: .3px;
}
.tier-badge--wholesale { background: var(--accent); color: #111; }
.tier-badge--discount { background: #047857; color: #fff; }

/* Qty selector */
.qty-section { display: flex; flex-direction: column; gap: 10px; }
.qty-row { display: flex; align-items: center; gap: 12px; }
.qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  transition: border-color .15s;
}
.qty-selector:focus-within { border-color: var(--primary); }
.qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: var(--bg);
  font-size: 20px;
  color: var(--text);
  cursor: pointer;
  line-height: 1;
  transition: background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qty-btn:hover { background: #e5e7eb; }
.qty-input {
  width: 46px;
  height: 38px;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  color: var(--text);
  outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-price-display { flex: 1; text-align: right; }
.price-per { font-size: 11px; color: var(--text-muted); margin-bottom: 1px; }
.price-unit { font-size: 20px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.price-unit small { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.price-unit-dash { font-size: 20px; font-weight: 700; color: var(--text-muted); }

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  color: var(--text-muted);
}
.summary-total { font-size: 22px; font-weight: 800; color: var(--text); }
.summary-saving {
  color: var(--success);
  font-weight: 600;
  font-size: 13px;
  text-align: right;
}
.summary-saving.hidden { display: none; }

.card-wholesale-note {
  background: #FEF3C7;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  color: #92400E;
  font-weight: 500;
  line-height: 1.5;
}

/* Card actions */
.card-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }

/* ── ORDER MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,.6);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
@media (min-width: 640px) { .modal-overlay { align-items: center; } }

.modal {
  background: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(40px);
  transition: transform .25s;
}
.modal-overlay.is-open .modal { transform: translateY(0); }
@media (min-width: 640px) {
  .modal { border-radius: var(--radius-lg); transform: scale(.96); }
  .modal-overlay.is-open .modal { transform: scale(1); }
}

.modal-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 10;
}
.modal-title {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 6px;
  margin-left: -6px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  white-space: nowrap;
  cursor: pointer;
}
.modal-back:hover { color: var(--primary-dark); }
.modal-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  margin-right: -8px;
  flex-shrink: 0;
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 20px; display: flex; flex-direction: column; gap: 18px; }

/* Order summary strip */
.order-summary {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.order-summary__img {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.order-summary__info { flex: 1; min-width: 0; }
.order-summary__name { font-weight: 700; font-size: 14px; line-height: 1.3; margin-bottom: 4px; }
.order-summary__meta { font-size: 13px; color: var(--text-muted); }
.order-summary__price { text-align: right; flex-shrink: 0; }
.order-summary__total { font-size: 22px; font-weight: 800; color: var(--primary); }
.order-summary__per { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Form */
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; font-weight: 600; color: var(--text); }
.field-label span { color: var(--text-muted); font-weight: 400; }
.field-input {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color .15s;
  width: 100%;
  background: #fff;
}
.field-input:focus { border-color: var(--primary); }
.field-input.input--error { border-color: #EF4444; }
.field-error { font-size: 12px; color: #EF4444; margin-top: 2px; }
.np-hint { font-size: 12px; color: var(--text-muted); line-height: 1.35; margin-top: 4px; }

/* Payment options */
.payment-options { display: flex; flex-direction: column; gap: 8px; }
.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.payment-option:hover { border-color: var(--primary); background: #F8FBFF; }
.payment-option input[type="radio"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--primary); }
.payment-option.is-selected { border-color: var(--primary); background: #EEF2FF; }
.payment-option__title { font-size: 14px; font-weight: 600; line-height: 1.3; }
.payment-option__desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; line-height: 1.4; }
.payment-option__badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  padding: 1px 7px;
  border-radius: 999px;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* Checkout trust block (Доставка / Оплата / Обмін і повернення) */
.checkout-trust {
  margin-top: 14px;
  padding: 12px 14px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkout-trust__title { font-size: 13px; font-weight: 600; line-height: 1.3; margin-bottom: 2px; }
.checkout-trust__text  { font-size: 12px; color: var(--text-muted); line-height: 1.45; }

.wfp-note {
  background: #FEF3C7;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: #92400E;
  display: none;
  line-height: 1.5;
}
.wfp-note.is-visible { display: block; }

.form-msg {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}
.form-msg.is-error { background: #FEE2E2; color: #B91C1C; display: block; }
.form-msg.is-info  { background: #FEF3C7; color: #92400E; display: block; }
.form-msg a { color: inherit; font-weight: 600; }

/* ── FOOTER ── */
.shop-footer {
  background: var(--dark);
  color: #9CA3AF;
  padding: 40px 0 32px;
  font-size: 14px;
}
.shop-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; min-width: 120px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.footer-col a { color: #9CA3AF; text-decoration: none; line-height: 1.8; }
.footer-col a:hover { color: #fff; }
.footer-logo { height: 28px; width: auto; display: block; object-fit: contain; margin-bottom: 4px; }
.footer-copy {
  width: 100%;
  border-top: 1px solid #374151;
  padding-top: 20px;
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
}
.footer-copy a { color: #9CA3AF; text-decoration: none; }
.footer-copy a:hover { color: #fff; }

/* ── UTILS ── */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .shop-hero { padding: 32px 0 28px; }
  .shop-section { padding: 28px 0 60px; }
  .products-grid { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .footer-col { min-width: calc(50% - 16px); }
}
@media (max-width: 400px) {
  .footer-col { min-width: 100%; }
}

/* ── CART BUTTON (header) ── */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s;
  flex-shrink: 0;
}
.cart-btn:hover { border-color: var(--primary); }

.cart-badge {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  padding: 0 4px;
}
.cart-badge.is-visible { display: inline-block; }

/* ── CART DRAWER ── */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  visibility: hidden;
}
.cart-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .25s;
}
.cart-drawer.is-open .cart-drawer__backdrop { opacity: 1; }

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 32px rgba(0,0,0,.12);
}
.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  /* Push header below notch / Dynamic Island on iPhone */
  padding-top: max(16px, env(safe-area-inset-top, 0px));
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer__title { font-size: 18px; font-weight: 700; }
.cart-drawer__close {
  /* 44×44px tap target per Apple HIG */
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  margin-right: -8px;
  flex-shrink: 0;
}
.cart-drawer__close:hover { color: var(--text); }

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.cart-drawer__footer {
  padding: 16px 20px;
  /* Keep footer above home indicator on iPhone */
  padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 48px 0;
  line-height: 1.8;
  font-size: 15px;
}

/* ── CART ITEMS ── */
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr 28px;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-of-type { border-bottom: none; }

.cart-item__thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.cart-item__info { min-width: 0; }
.cart-item__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}
.cart-item__meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
}
.cart-item__qty-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}
.qty-input--sm {
  width: 44px;
  height: 32px;
  padding: 2px 4px;
  font-size: 13px;
}
.cart-item__del {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  align-self: flex-start;
  margin-top: 2px;
}
.cart-item__del:hover { color: #ef4444; }

.cart-wholesale-banner {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: #92400E;
  margin-top: 12px;
  line-height: 1.5;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.cart-total-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

/* ── CATEGORY SELECT (mobile only) ── */
.category-select-wrap { display: none; }

@media (max-width: 639px) {
  .category-tabs { display: none !important; }
  .category-select-wrap {
    display: block;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    position: sticky;
    top: 64px;
    z-index: 90;
  }
}

.category-select {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  background: var(--bg-white);
  color: var(--text);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236B7280' d='M5 8l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  outline: none;
}
.category-select:focus { border-color: var(--primary); }

/* ── CART ORDER SUMMARY (modal, multi-item) ── */
.order-summary--cart {
  display: block;
  padding: 14px 16px;
}
.order-summary__cart-row {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.order-summary__cart-row:last-of-type { border-bottom: none; }
.order-summary__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  font-size: 15px;
  font-weight: 600;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
