/* ============================================================
   BR BOUTIQUE — MAIN CSS
   Colors: #111111 (black), #F5CF4D (dark yellow), #FFFFFF (white)
   ============================================================ */

/* ── Reset & Custom Properties ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #111111;
  --black-soft:  #1E1E1E;
  --black-card:  #F8F8F7;
  --yellow:      #F5CF4D;
  --yellow-deep: #D9AE1F;
  --yellow-light:#FFF9DC;
  --white:       #FFFFFF;
  --gray-50:     #F9F9F9;
  --gray-100:    #F0F0F0;
  --gray-200:    #E4E4E4;
  --gray-400:    #A0A0A0;
  --gray-600:    #666666;
  --gray-800:    #333333;
  --red:         #DC2626;
  --green:       #16A34A;

  --ff-display: 'Inter', system-ui, sans-serif;
  --ff-body:    'Inter', system-ui, sans-serif;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
  --transition: .18s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--ff-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1200px, 92%); margin-inline: auto; }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.025em; }

/* ── Utility ── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.hidden  { display: none !important; }
.txt-yellow { color: var(--yellow); }
.txt-muted  { color: var(--gray-600); }

/* ══════════════════════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 2px solid var(--yellow);
}
.header-inner {
  display: flex; align-items: center; gap: 24px; height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--yellow); display: grid; place-items: center;
  font-size: 22px;
}
.logo-text { color: var(--white); }
.logo-text strong { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; }
.logo-text small  { display: block; font-size: .72rem; color: var(--yellow); letter-spacing: .04em; opacity: .9; }

nav.main-nav {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
}
.nav-link {
  color: rgba(255,255,255,.8); font-weight: 500; font-size: .92rem;
  padding: 6px 12px; border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.07); }
.nav-link.active { color: var(--yellow); }

.search-bar-wrap {
  position: relative; flex: 1; max-width: 340px;
}
.search-bar-wrap input {
  width: 100%; height: 40px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px; padding: 0 16px 0 40px;
  color: var(--white); font-size: .9rem;
  transition: border-color var(--transition), background var(--transition);
}
.search-bar-wrap input::placeholder { color: rgba(255,255,255,.45); }
.search-bar-wrap input:focus { outline: none; border-color: var(--yellow); background: rgba(255,255,255,.12); }
.search-icon {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.5); pointer-events: none;
}
.cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--black);
  border-radius: 999px; padding: 8px 18px;
  font-weight: 700; font-size: .92rem;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.cart-btn:hover { background: #FFD020; transform: translateY(-1px); }
.cart-count {
  background: var(--black); color: var(--yellow);
  border-radius: 999px; min-width: 22px; height: 22px;
  display: grid; place-items: center; font-size: .78rem; font-weight: 700;
}
.hamburger {
  display: none; color: var(--white); padding: 6px;
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════ */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 72px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; right: -80px; top: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,181,0,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800; color: var(--white); max-width: 14ch;
}
.hero h1 span { color: var(--yellow); }
.hero p.lead {
  margin: 20px 0 32px; color: rgba(255,255,255,.7);
  font-size: 1.1rem; max-width: 44ch; line-height: 1.7;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Budget Finder Card */
.finder-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-lg);
  color: var(--black);
}
.finder-label { font-size: .85rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: .06em; }
.finder-value {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900;
  color: var(--black); letter-spacing: -.04em; margin: 6px 0 16px;
}
.finder-value span { color: var(--yellow); }
.range-wrap { position: relative; }
input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 99px;
  background: var(--gray-200); cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--yellow); border: 3px solid var(--black); cursor: grab;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--yellow); border: 3px solid var(--black); cursor: grab;
}
.range-ticks { display: flex; justify-content: space-between; font-size: .78rem; color: var(--gray-400); margin-top: 6px; }
.finder-results { margin-top: 20px; }
.finder-count { font-size: .88rem; font-weight: 600; color: var(--gray-600); margin-bottom: 12px; }
.finder-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; min-height: 60px; }
.finder-item {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center;
  background: var(--gray-50); border-radius: var(--radius-sm); padding: 8px 12px;
  border: 1px solid var(--gray-100);
}
.finder-item img { width: 48px; height: 48px; object-fit: contain; }
.finder-item-img-placeholder { width: 48px; height: 48px; background: var(--gray-100); border-radius: 6px; display: grid; place-items: center; font-size: 22px; }
.finder-item b { font-size: .88rem; line-height: 1.3; display: block; }
.finder-item span { font-size: .78rem; color: var(--gray-600); }
.finder-item .price { font-weight: 800; font-size: .9rem; white-space: nowrap; }

/* ══════════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════════ */
.trust-bar { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 0; list-style: none; }
.trust-item {
  display: flex; align-items: center; gap: 14px; padding: 22px 20px;
  border-right: 1px solid var(--gray-200);
}
.trust-item:last-child { border-right: none; }
.trust-ico { font-size: 28px; flex-shrink: 0; }
.trust-item strong { display: block; font-size: .92rem; font-weight: 700; }
.trust-item span { font-size: .82rem; color: var(--gray-600); }

/* ══════════════════════════════════════════════════════════
   CATALOGUE SECTION
══════════════════════════════════════════════════════════ */
.catalogue { padding: 72px 0; }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }
.section-head p { margin-top: 8px; color: var(--gray-600); }

/* Catalogue Controls */
.catalogue-controls {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 22px 24px; margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-sm);
}

/* Dedicated Search Row */
.catalogue-search-row {
  display: flex; gap: 12px; align-items: center; width: 100%;
}
.catalogue-search-box {
  position: relative; flex: 1; display: flex; align-items: center;
}
.catalogue-search-box .cs-icon {
  position: absolute; left: 16px; color: var(--gray-400); pointer-events: none;
}
.filter-search {
  width: 100%; height: 48px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: 0 16px 0 46px; background: var(--white); color: var(--black);
  font-size: .95rem; font-weight: 500;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.filter-search::placeholder { color: var(--gray-400); }
.filter-search:focus {
  outline: none; border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(224, 181, 0, 0.18);
}
.filter-reset {
  height: 48px; padding: 0 18px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  color: var(--gray-600); font-size: .88rem; font-weight: 600;
  background: var(--white); cursor: pointer; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.filter-reset:hover { border-color: var(--black); color: var(--black); background: var(--gray-100); }
.filter-reset svg { transition: transform var(--transition); }
.filter-reset:hover svg { transform: rotate(-45deg); }

/* Filter Dropdowns Row */
.filter-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
}
.filter-group { display: flex; flex-direction: column; gap: 6px; }
.filter-label { font-size: .78rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: .05em; }
.filter-select {
  height: 42px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: 0 12px; background: var(--white); color: var(--black);
  font-size: .9rem; width: 100%; cursor: pointer;
  transition: border-color var(--transition);
}
.filter-select:focus { outline: none; border-color: var(--yellow); }

/* Price range row */
.price-range-row { display: flex; align-items: center; gap: 8px; width: 100%; }
.price-range-row input[type=number] {
  flex: 1; min-width: 0; height: 42px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); padding: 0 12px; font-size: .9rem;
  transition: border-color var(--transition);
}
.price-range-row input[type=number]:focus { outline: none; border-color: var(--yellow); }
.price-sep { color: var(--gray-400); font-weight: 700; flex-shrink: 0; }

/* Brand chips */
.brand-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.brand-chip {
  padding: 6px 16px; border: 1.5px solid var(--gray-200);
  border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: var(--white); color: var(--black);
  cursor: pointer; transition: all var(--transition);
}
.brand-chip:hover { border-color: var(--yellow); }
.brand-chip.active { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

/* Results bar */
.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.results-count { font-size: .9rem; color: var(--gray-600); }
.sort-select {
  height: 36px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: 0 12px; background: var(--white); font-size: .88rem;
}
.sort-select:focus { outline: none; border-color: var(--yellow); }

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-img {
  position: relative; background: var(--gray-50);
  height: 220px; display: grid; place-items: center; overflow: hidden;
}
.card-img img { height: 190px; width: auto; object-fit: contain; transition: transform .3s ease; }
.product-card:hover .card-img img { transform: scale(1.04); }
.card-img-placeholder { font-size: 72px; opacity: .3; }
.card-badge {
  position: absolute; left: 12px; top: 12px;
  background: var(--yellow); color: var(--black);
  border-radius: 6px; padding: 3px 9px; font-size: .74rem; font-weight: 800;
}
.card-badge.out { background: var(--gray-400); color: var(--white); }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-brand { font-size: .8rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: .05em; }
.card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin-top: 2px; }
.card-spec  { font-size: .82rem; color: var(--gray-600); line-height: 1.5; margin-top: 2px; }
.card-price {
  font-size: 1.35rem; font-weight: 900; color: var(--black);
  letter-spacing: -.03em; margin-top: 10px;
}
.card-actions { display: flex; gap: 8px; margin-top: 14px; }
.btn-details {
  flex: 1; height: 40px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: .85rem; font-weight: 600; color: var(--black);
  background: var(--white); transition: all var(--transition);
}
.btn-details:hover { border-color: var(--black); background: var(--black); color: var(--white); }
.btn-add {
  flex: 1; height: 40px; background: var(--yellow); color: var(--black);
  border-radius: var(--radius-sm); font-size: .85rem; font-weight: 700;
  transition: background var(--transition);
}
.btn-add:hover { background: #FFD020; }
.btn-add:disabled { background: var(--gray-200); color: var(--gray-400); cursor: not-allowed; }

/* No results */
.no-results {
  grid-column: 1/-1; text-align: center; padding: 60px 20px;
  background: var(--gray-50); border-radius: var(--radius-lg);
  color: var(--gray-600);
}
.no-results .nr-icon { font-size: 52px; margin-bottom: 16px; }
.no-results p { font-size: 1.05rem; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.pg-btn {
  width: 38px; height: 38px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); display: grid; place-items: center;
  font-size: .9rem; font-weight: 600; background: var(--white);
  cursor: pointer; transition: all var(--transition);
}
.pg-btn:hover:not(:disabled) { border-color: var(--yellow); background: var(--yellow-light); }
.pg-btn.active { background: var(--black); border-color: var(--black); color: var(--white); }
.pg-btn:disabled { opacity: .4; cursor: not-allowed; }

/* Loading spinner */
.spinner-wrap { grid-column: 1/-1; display: grid; place-items: center; padding: 60px; }
.spinner {
  width: 40px; height: 40px; border: 3px solid var(--gray-200);
  border-top-color: var(--yellow); border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════════
   CART DRAWER
══════════════════════════════════════════════════════════ */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  opacity: 0; pointer-events: none;
  transition: opacity .22s; z-index: 200;
}
.overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%;
  width: min(440px, 100vw);
  background: var(--white); z-index: 210;
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex; flex-direction: column;
  box-shadow: -4px 0 40px rgba(0,0,0,.18);
}
.cart-drawer.open { transform: none; }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--gray-200);
}
.drawer-head h2 { font-size: 1.3rem; font-weight: 800; }
.drawer-close {
  width: 38px; height: 38px; border-radius: 50%; background: var(--gray-100);
  display: grid; place-items: center; font-size: 1rem; cursor: pointer;
  border: none; transition: background var(--transition);
}
.drawer-close:hover { background: var(--gray-200); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; list-style: none; }
.cart-line {
  display: grid; grid-template-columns: 70px 1fr; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--gray-100);
}
.cart-line:last-child { border-bottom: none; }
.cart-line-img {
  background: var(--gray-50); border-radius: 10px;
  height: 70px; display: grid; place-items: center; overflow: hidden;
}
.cart-line-img img { height: 60px; width: 60px; object-fit: contain; }
.cart-line-img .li-placeholder { font-size: 32px; }
.cart-line-title { font-size: .92rem; font-weight: 700; line-height: 1.3; }
.cart-line-price { font-size: .82rem; color: var(--gray-600); margin-top: 2px; }
.cart-line-controls { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--gray-200);
  display: grid; place-items: center; font-weight: 700; font-size: .9rem;
  cursor: pointer; transition: all var(--transition); background: var(--white);
}
.qty-btn:hover { border-color: var(--black); background: var(--black); color: var(--white); }
.qty-num { font-weight: 700; min-width: 20px; text-align: center; }
.cart-remove { margin-left: auto; font-size: .8rem; color: var(--gray-400); text-decoration: underline; cursor: pointer; background: none; border: none; }
.cart-remove:hover { color: var(--red); }
.cart-line-subtotal { font-weight: 800; font-size: .92rem; margin-top: 4px; }

.cart-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; padding: 40px; text-align: center; color: var(--gray-400); }
.cart-empty-state .ei { font-size: 60px; }

.drawer-foot {
  padding: 20px 24px 28px; border-top: 1px solid var(--gray-200);
}
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-total-label { font-size: 1rem; font-weight: 600; }
.cart-total-val { font-size: 1.5rem; font-weight: 900; }

/* ══════════════════════════════════════════════════════════
   CHECKOUT PAGE (modal overlay)
══════════════════════════════════════════════════════════ */
.checkout-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.6);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.checkout-overlay.open { display: flex; }
.checkout-box {
  width: 100%; max-width: 560px;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 32px; overflow-y: auto; max-height: 92vh;
  position: relative;
}
.checkout-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%; background: var(--gray-100);
  display: grid; place-items: center; font-size: .9rem; cursor: pointer; border: none;
}
.checkout-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.checkout-subtitle { font-size: .88rem; color: var(--gray-600); margin-bottom: 24px; }

.order-mini-list { background: var(--gray-50); border-radius: var(--radius-md); padding: 16px; margin-bottom: 24px; }
.order-mini-list h3 { font-size: .88rem; font-weight: 700; color: var(--gray-600); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; }
.order-mini-item { display: flex; justify-content: space-between; gap: 8px; font-size: .88rem; padding: 4px 0; }
.order-mini-item span:last-child { font-weight: 700; white-space: nowrap; }
.order-mini-total { display: flex; justify-content: space-between; border-top: 1px solid var(--gray-200); padding-top: 10px; margin-top: 10px; font-weight: 800; font-size: 1rem; }

/* Form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 700; color: var(--gray-800); margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%; height: 50px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); padding: 0 14px; font-size: .95rem; color: var(--black);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--yellow); }
.form-group input.err, .form-group select.err { border-color: var(--red); }
.field-error { font-size: .78rem; color: var(--red); margin-top: 4px; display: block; }

/* Success state */
.success-state { text-align: center; padding: 20px 0; }
.success-icon { width: 80px; height: 80px; background: #DCFCE7; border-radius: 50%; display: grid; place-items: center; font-size: 40px; margin: 0 auto 20px; }
.success-state h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.success-state p { color: var(--gray-600); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-sm); padding: 12px 24px;
  font-weight: 700; font-size: .95rem; border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition); text-decoration: none;
}
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: #FFD020; transform: translateY(-1px); }
.btn-black  { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-black:hover  { background: var(--black-soft); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--gray-200); }
.btn-outline:hover { border-color: var(--black); }
.btn-full { width: 100%; }
.btn-lg { padding: 15px 30px; font-size: 1rem; border-radius: var(--radius-md); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer {
  --footer-muted: rgba(255,255,255,.64);
  background: var(--black);
  color: var(--footer-muted);
  padding: 48px 0 0;
  margin-top: 56px;
  border-top: 2px solid var(--yellow);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(125px, .62fr) minmax(0, 1.05fr) minmax(245px, 1.25fr);
  gap: 30px;
  align-items: start;
  padding-bottom: 34px;
}
.footer-brand {
  display: inline-block;
  color: var(--yellow);
  font-weight: 850;
  font-size: 1.18rem;
  letter-spacing: -.025em;
  text-decoration: none;
}
.footer-brand:hover { color: #ffe584; }
.footer-description {
  max-width: 260px;
  margin: 12px 0 18px;
  color: var(--footer-muted);
  font-size: .88rem;
  line-height: 1.7;
}
.footer-copyright { margin: 0; color: rgba(255,255,255,.42); font-size: .76rem; line-height: 1.6; }
.footer-heading {
  margin: 3px 0 16px;
  color: #fff;
  font-size: .88rem;
  font-weight: 750;
  letter-spacing: .015em;
}
.footer-navigation { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-navigation .footer-heading { margin-bottom: 5px; }
.footer-nav-link { color: var(--footer-muted); font-size: .86rem; text-decoration: none; transition: color .18s ease; }
.footer-nav-link:hover, .footer-nav-link:focus-visible { color: var(--yellow); }
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-socials .btn-soc { min-height: 40px; padding: 0 12px; border-radius: 11px; font-size: .82rem; }
.footer-socials .ico { width: 17px; height: 17px; }
.footer-phone-heading { margin: 19px 0 8px; color: rgba(255,255,255,.76); font-size: .76rem; font-weight: 700; }
.footer-phones { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-phones a { color: var(--footer-muted); font-size: .84rem; font-weight: 600; letter-spacing: .015em; text-decoration: none; transition: color .18s ease; }
.footer-phones a:hover, .footer-phones a:focus-visible { color: var(--yellow); }
.footer-location-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 17px;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background: rgba(255,255,255,.045);
  color: #fff;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.footer-location-card:hover, .footer-location-card:focus-visible {
  background: rgba(245,207,77,.09);
  border-color: rgba(245,207,77,.6);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.location-icon-wrap {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(245,207,77,.13);
  color: var(--yellow);
}
.location-pin { display: block; width: 26px; height: 26px; }
.footer-location-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.footer-location-copy strong { color: #fff; font-size: .86rem; line-height: 1.35; }
.footer-location-copy span { color: var(--footer-muted); font-size: .75rem; line-height: 1.45; }
.footer-external-icon { width: 17px; height: 17px; color: rgba(255,255,255,.58); }
.footer-location-note { margin: 10px 2px 0; color: rgba(255,255,255,.4); font-size: .72rem; line-height: 1.5; }
@media (max-width: 1050px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); gap: 28px 36px; }
  .footer-location { max-width: 440px; }
}
@media (max-width: 560px) {
  .site-footer { margin-top: 40px; padding-top: 34px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; padding-bottom: 28px; }
  .footer-description { max-width: 360px; margin: 8px 0 12px; }
  .footer-heading { margin-bottom: 12px; }
  .footer-navigation { gap: 10px; }
  .footer-location { max-width: none; }
  .footer-location-card { grid-template-columns: 44px minmax(0, 1fr) 17px; padding: 12px; gap: 10px; }
  .location-icon-wrap { width: 44px; height: 44px; }
}

/* Developer credit line */
.footer-dev-credit {
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  padding: 15px 0 17px;
  font-size: .76rem;
  color: rgba(255,255,255,.38);
  letter-spacing: .02em;
  line-height: 1.8;
}
.footer-dev-credit a {
  color: rgba(255,255,255,.38);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-dev-credit a:hover { color: var(--yellow); }

/* Email chooser popup */
.dev-email-wrap {
  position: relative;
  display: inline-block;
}
.dev-email-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: .76rem;
  color: rgba(255,255,255,.38);
  cursor: pointer;
  letter-spacing: .02em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-style: dashed;
  transition: color var(--transition);
}
.dev-email-btn:hover { color: var(--yellow); }

.dev-email-popup {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 6px;
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  z-index: 400;
  animation: popupIn .15s ease;
}
.dev-email-popup.open { display: block; }
/* Arrow pointing down */
.dev-email-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: rgba(255,255,255,.12);
}
.dev-email-popup::before {
  content: '';
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #1a1a1a;
  z-index: 1;
}
@keyframes popupIn {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.dev-email-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .83rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.dev-email-option:hover {
  background: rgba(255,255,255,.08);
  color: var(--white);
}
.dev-email-gmail { color: #EA4335 !important; }
.dev-email-gmail:hover { background: rgba(234,67,53,.12) !important; color: #EA4335 !important; }

/* ══════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
══════════════════════════════════════════════════════════ */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 500; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 12px;
  background: var(--black); color: var(--white);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius-sm); padding: 14px 18px;
  box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 500;
  animation: slideIn .25s ease; max-width: 320px;
}
.toast.success { border-left-color: var(--green); }
.toast.error   { border-left-color: var(--red); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slideOut { to { transform: translateX(120%); opacity: 0; } }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .trust-item:nth-child(even) { border-right: none; }
  .trust-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .search-bar-wrap { display: none; }
}
@media (max-width: 768px) {
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .catalogue-search-row { flex-direction: column; }
  .filter-reset { width: 100%; justify-content: center; }
  .filter-bar { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .checkout-box { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .cart-drawer { width: 100vw; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .card-img { height: 170px; }
  .card-price { font-size: 1.1rem; }
  .cart-btn { padding: 8px 12px; }
  .cart-btn span:not(.cart-count) { display: none; }
}

/* Mobile nav menu */
.mobile-nav {
  position: fixed; inset: 0; background: var(--black);
  z-index: 150; display: flex; flex-direction: column;
  padding: 24px; transform: translateX(-100%);
  transition: transform .25s ease;
}
.mobile-nav.open { transform: none; }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link { color: var(--white); font-size: 1.2rem; font-weight: 600; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav-link:hover { color: var(--yellow); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


/* ===== Responsive polish (phone / tablet / desktop) ===== */
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
button, .btn, a.btn-details { min-height: 44px; touch-action: manipulation; }
input, select, textarea { font-size: 16px; } /* prevents iOS zoom on focus */
@media (min-width: 1025px) { .container { max-width: 1240px; } }
@media (min-width: 601px) and (max-width: 1024px) {
  .products-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px; }
}
@media (max-width: 600px) {
  .products-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  body { padding-bottom: env(safe-area-inset-bottom); }
  h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
}
@media (max-width: 380px) {
  .products-grid, .product-grid { grid-template-columns: 1fr !important; }
}

.order-success-ref{display:inline-block;font-weight:800;color:var(--black);background:var(--yellow-light);border-radius:999px;padding:5px 10px;margin:4px 0 8px}


/* Admin access button */
.admin-login-link {
  display:inline-flex; align-items:center; justify-content:center; min-height:38px;
  padding:0 13px; border:1px solid rgba(255,255,255,.18); border-radius:10px;
  background:#f5c842; color:#111; font-weight:700; text-decoration:none;
  transition:transform .15s ease, filter .15s ease;
}
.admin-login-link:hover { color:#111; filter:brightness(.96); transform:translateY(-1px); }
.admin-mobile-link { margin-top:8px; }


/* ── BR Informatique requested brand and contact additions ── */
.brand-fixed-title {
  color: #fff;
  font-weight: 900;
  font-size: .94rem;
  letter-spacing: .055em;
  white-space: nowrap;
  line-height: 1.1;
}
.logo { gap: 10px; }
.logo-img { border-radius: 9px; object-fit: contain; }
.store-online {
  display: inline-flex;
  align-items: center;
  margin: 0 0 24px;
  padding: 8px 14px;
  border: 1px solid rgba(245,207,77,.55);
  border-radius: 999px;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: .01em;
  background: rgba(245,207,77,.08);
}
@media (max-width: 720px) {
  .brand-fixed-title { font-size: .72rem; letter-spacing: .015em; }
  .header-inner { gap: 10px; }
  .logo { gap: 7px; }
  .logo-img { max-width: 38px; height: 38px; }
}
@media (max-width: 380px) {
  .brand-fixed-title { display: none; }
}
