/* ═══════════════════════════════════════════════════════════════════
   ALEX-IT — Boutique CSS v3
   Clean-industrial · Syne + DM Sans · Bleu électrique
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ── Variables ─────────────────────────────────────────────────────── */
:root {
  --b-bg:       #f5f5f3;
  --b-white:    #ffffff;
  --b-ink:      #111118;
  --b-ink2:     #3d3d4a;
  --b-ink3:     #7c7c8e;
  --b-border:   #e4e4ea;
  --b-blue:     #1a56ff;
  --b-blue-dk:  #0a3de8;
  --b-blue-lt:  rgba(26,86,255,.09);
  --b-green:    #12b981;
  --b-amber:    #f59e0b;
  --b-red:      #ef4444;
  --b-radius:   12px;
  --b-radius-sm:8px;
  --b-shadow:   0 1px 3px rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.07);
  --b-shadow-hover: 0 8px 24px rgba(0,0,0,.13), 0 2px 6px rgba(0,0,0,.06);
  --b-font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --b-font-head: 'Outfit', system-ui, sans-serif;
}

/* ── Resets spécifiques boutique ───────────────────────────────────── */
.b-page { background: var(--b-bg); font-family: var(--b-font-body); color: var(--b-ink); min-height: 100vh; font-size: 15.5px; line-height: 1.7; letter-spacing: 0.01em; -webkit-font-smoothing: antialiased; }
.b-page h1,.b-page h2,.b-page h3,.b-page h4 { font-family: var(--b-font-head); letter-spacing: -0.01em; line-height: 1.25; font-weight: 700; }

/* ══════════════════════════════════════════════════════════════════════
   BOUTIQUE INDEX — Layout sidebar + grid
   ══════════════════════════════════════════════════════════════════════ */

/* ── Shop wrapper ──────────────────────────────────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 28px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}
@media (max-width: 1024px) { .shop-layout { grid-template-columns: 1fr; } }

/* ── Breadcrumb ────────────────────────────────────────────────────── */
.shop-crumb {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: .8rem;
  color: var(--b-ink3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.shop-crumb a { color: var(--b-ink3); text-decoration: none; transition: color .15s; }
.shop-crumb a:hover { color: var(--b-blue); }
.shop-crumb .sep { color: var(--b-border); }
.shop-crumb .cur { color: var(--b-ink); font-weight: 600; }

/* ── SIDEBAR ───────────────────────────────────────────────────────── */
.shop-sidebar {
  background: var(--b-white);
  border-radius: var(--b-radius);
  border: 1px solid var(--b-border);
  box-shadow: var(--b-shadow);
  padding: 22px;
  position: sticky;
  top: 80px;
  height: fit-content;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.shop-sidebar::-webkit-scrollbar { width: 3px; }
.shop-sidebar::-webkit-scrollbar-thumb { background: var(--b-border); border-radius: 2px; }

.sf-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--b-border);
}
.sf-head-title {
  font-family: var(--b-font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.01em;
}
.sf-head-reset {
  font-size: .78rem;
  color: var(--b-blue);
  text-decoration: none;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  transition: background .15s;
}
.sf-head-reset:hover { background: var(--b-blue-lt); }

.sf-section { margin-bottom: 18px; }
.sf-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--b-ink3);
  margin-bottom: 8px;
}

.sf-input {
  width: 100%;
  padding: 9px 12px;
  background: var(--b-bg);
  border: 1.5px solid transparent;
  border-radius: var(--b-radius-sm);
  font-size: .88rem;
  font-family: var(--b-font-body);
  color: var(--b-ink);
  outline: none;
  transition: border-color .15s, background .15s;
}
.sf-input:focus {
  background: var(--b-white);
  border-color: var(--b-blue);
  box-shadow: 0 0 0 3px rgba(26,86,255,.1);
}

.sf-price-row { display: grid; grid-template-columns: 1fr 18px 1fr; gap: 6px; align-items: center; margin-bottom: 8px; }
.sf-price-sep { text-align: center; color: var(--b-ink3); font-size: .85rem; }

.sf-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.sf-chip {
  padding: 4px 11px;
  background: var(--b-bg);
  border: 1.5px solid var(--b-border);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  font-family: var(--b-font-body);
  cursor: pointer;
  color: var(--b-ink2);
  transition: all .15s;
}
.sf-chip:hover, .sf-chip.active {
  border-color: var(--b-blue);
  color: var(--b-blue);
  background: var(--b-blue-lt);
}

.sf-brand-search {
  width: 100%;
  padding: 6px 10px;
  background: var(--b-bg);
  border: 1px solid var(--b-border);
  border-radius: 6px;
  font-size: .82rem;
  font-family: var(--b-font-body);
  color: var(--b-ink);
  outline: none;
  margin-bottom: 7px;
}
.sf-checklist { max-height: 210px; overflow-y: auto; display: flex; flex-direction: column; gap: 1px; }
.sf-checklist::-webkit-scrollbar { width: 2px; }
.sf-check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 7px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .12s;
  font-size: .87rem;
}
.sf-check:hover { background: var(--b-bg); }
.sf-check input { accent-color: var(--b-blue); cursor: pointer; flex-shrink: 0; width: 15px; height: 15px; }
.sf-check-name { flex: 1; }
.sf-check-cnt { font-size: .73rem; color: var(--b-ink3); font-weight: 600; }

.sf-select {
  width: 100%;
  padding: 9px 12px;
  background: var(--b-bg);
  border: 1.5px solid transparent;
  border-radius: var(--b-radius-sm);
  font-size: .88rem;
  font-family: var(--b-font-body);
  color: var(--b-ink);
  outline: none;
  cursor: pointer;
  transition: border-color .15s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237c7c8e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.sf-select:focus { background-color: var(--b-white); border-color: var(--b-blue); }

.sf-apply {
  width: 100%;
  padding: 11px;
  background: var(--b-ink);
  color: var(--b-white);
  border: 0;
  border-radius: var(--b-radius-sm);
  font-weight: 700;
  font-size: .9rem;
  font-family: var(--b-font-body);
  cursor: pointer;
  transition: background .15s, transform .1s;
  margin-top: 6px;
  letter-spacing: -.01em;
}
.sf-apply:hover { background: var(--b-blue); transform: translateY(-1px); }
.sf-apply:active { transform: translateY(0); }

/* ── LISTING MAIN ──────────────────────────────────────────────────── */
.shop-main {}

.listing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.listing-count { font-size: .88rem; color: var(--b-ink3); }
.listing-count strong { color: var(--b-ink); font-weight: 700; }

.active-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--b-blue-lt);
  border: 1px solid rgba(26,86,255,.2);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--b-blue);
  text-decoration: none;
  transition: all .15s;
}
.active-pill:hover { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.25); color: var(--b-red); }

/* ── PRODUCT CARDS GRID ────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--b-white);
  border-radius: var(--b-radius);
  border: 1px solid var(--b-border);
  overflow: hidden;
  box-shadow: var(--b-shadow);
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--b-shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(26,86,255,.2);
}

/* Image zone */
.pc-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f0f0ee;
  flex-shrink: 0;
}
.pc-img-main {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94), opacity .2s;
  display: block;
}
.product-card:hover .pc-img-main { transform: scale(1.06); }

/* Dot nav */
.pc-dots {
  position: absolute;
  bottom: 9px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
}
.pc-dot {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  transition: all .2s;
}
.pc-dot.on { background: #fff; width: 18px; }

/* Arrow nav */
.pc-arr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: rgba(255,255,255,.88);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .18s, background .15s, transform .15s;
  font-size: 13px;
  color: var(--b-ink);
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  z-index: 3;
  line-height: 1;
}
.product-card:hover .pc-arr { opacity: 1; }
.pc-arr:hover { background: var(--b-white); transform: translateY(-50%) scale(1.12); }
.pc-arr-prev { left: 8px; }
.pc-arr-next { right: 8px; }

/* Badges */
.pc-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.pc-badge-hot { background: rgba(239,68,68,.85); color: #fff; }
.pc-badge-promo { background: #ef4444; color: #fff; top: 10px; right: 10px; }
.pc-badge-out   { background: #6b7280; color: #fff; }
.pc-price-promo { color: #ef4444; font-weight: 800; }
.pc-price-old   { color: #9ca3af; font-size: .8em; text-decoration: line-through; margin-left: 4px; font-weight: 400; }
.pc-badge-new { background: rgba(18,185,129,.88); color: #fff; }

/* Quick action bar (slide up on hover) */
.pc-actions {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 10px 10px;
  background: linear-gradient(0deg, rgba(10,10,20,.72) 0%, transparent 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  transform: translateY(100%);
  transition: transform .22s cubic-bezier(.4,0,.2,1);
  z-index: 4;
}
.product-card:hover .pc-actions { transform: translateY(0); }

.pc-btn {
  padding: 7px 0;
  border: none;
  border-radius: 7px;
  font-size: .8rem;
  font-weight: 700;
  font-family: var(--b-font-body);
  cursor: pointer;
  transition: background .15s, transform .1s;
  text-align: center;
  text-decoration: none;
  display: flex; align-items: center; justify-content: center;
}
.pc-btn:active { transform: scale(.97); }
.pc-btn-see {
  background: rgba(255,255,255,.9);
  color: var(--b-ink);
}
.pc-btn-see:hover { background: var(--b-white); }
.pc-btn-cart {
  background: var(--b-blue);
  color: #fff;
}
.pc-btn-cart:hover { background: var(--b-blue-dk); }

/* Card body */
.pc-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pc-brand {
  font-size: .71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--b-ink3);
  margin-bottom: 4px;
}
.pc-title {
  font-weight: 600;
  font-size: .92rem;
  color: var(--b-ink);
  line-height: 1.38;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.pc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.pc-price {
  font-family: var(--b-font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--b-blue);
  letter-spacing: -.02em;
}
.pc-views { font-size: .73rem; color: var(--b-ink3); }

/* ── PAGINATION ────────────────────────────────────────────────────── */
.shop-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.pager-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  background: var(--b-white);
  border: 1.5px solid var(--b-border);
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--b-font-body);
  color: var(--b-ink2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s;
}
.pager-btn:hover { border-color: var(--b-blue); color: var(--b-blue); }
.pager-btn.on { background: var(--b-blue); color: #fff; border-color: var(--b-blue); }

/* ── EMPTY STATE ───────────────────────────────────────────────────── */
.shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--b-ink3);
}
.shop-empty-icon { font-size: 52px; margin-bottom: 16px; }
.shop-empty h2 { font-family: var(--b-font-head); font-weight: 700; color: var(--b-ink); font-size: 1.4rem; margin-bottom: 8px; }

/* ── CART BUBBLE ───────────────────────────────────────────────────── */
.cart-bubble {
  position: fixed;
  top: 82px;
  right: 24px;
  z-index: 101;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 13px;
  background: var(--b-white);
  border: 1.5px solid var(--b-border);
  border-radius: 999px;
  box-shadow: var(--b-shadow-hover);
  text-decoration: none;
  color: var(--b-ink);
  font-size: .87rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.cart-bubble:hover { border-color: var(--b-blue); transform: scale(1.04); }
.cart-bubble .cb-icon { font-size: 17px; line-height: 1; }
.cart-bubble .cb-count {
  background: var(--b-blue);
  color: #fff;
  border-radius: 999px;
  font-size: .71rem;
  font-weight: 800;
  padding: 2px 7px;
  min-width: 20px;
  text-align: center;
  line-height: 1.3;
}
.cart-bubble.bump { animation: b-bump .3s ease; }
@keyframes b-bump { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }

/* ── TOAST ─────────────────────────────────────────────────────────── */
.b-toasts {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.b-toast {
  background: var(--b-ink);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(12px) scale(.95);
  transition: all .28s cubic-bezier(.4,0,.2,1);
}
.b-toast.in { opacity: 1; transform: translateY(0) scale(1); }

/* ── MOBILE sidebar drawer ─────────────────────────────────────────── */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.42);
  z-index: 98;
  backdrop-filter: blur(3px);
}
.sidebar-backdrop.on { display: block; }
.mobile-filter-fab {
  display: none;
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 80;
  padding: 13px 22px;
  background: var(--b-ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: .88rem;
  font-family: var(--b-font-body);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  gap: 8px;
  align-items: center;
  transition: background .15s, transform .15s;
}
.mobile-filter-fab:hover { background: var(--b-blue); transform: scale(1.04); }
@media (max-width: 1024px) {
  .mobile-filter-fab { display: flex; }
  .shop-sidebar { display: none; }
  .shop-sidebar.open {
    display: block;
    position: fixed;
    left: 0; top: 0;
    width: 290px; height: 100vh;
    z-index: 99;
    border-radius: 0;
    border-right: 1px solid var(--b-border);
    max-height: 100vh;
    box-shadow: 4px 0 40px rgba(0,0,0,.18);
  }
}

/* ══════════════════════════════════════════════════════════════════════
   PAGE PRODUIT
   ══════════════════════════════════════════════════════════════════════ */

.product-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } }

/* Gallery */
.gallery-wrap {}
.gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--b-radius);
  overflow: hidden;
  background: #f0f0ee;
  border: 1px solid var(--b-border);
  cursor: zoom-in;
  margin-bottom: 10px;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease, opacity .2s;
  display: block;
}
.gallery-main img.fading { opacity: 0; }

.gallery-arr {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--b-ink);
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  z-index: 3;
  transition: all .15s;
}
.gallery-arr:hover { background: var(--b-white); transform: translateY(-50%) scale(1.1); }
.gallery-arr-prev { left: 12px; }
.gallery-arr-next { right: 12px; }

.gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 68px; height: 68px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--b-border);
  cursor: pointer;
  transition: border-color .15s, transform .15s;
  flex-shrink: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { border-color: var(--b-ink3); transform: scale(1.05); }
.gallery-thumb.on { border-color: var(--b-blue); }

/* Lightbox */
.b-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.b-lightbox.on { display: flex; }
.b-lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.b-lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: #fff; font-size: 28px;
  cursor: pointer;
  background: none; border: none;
  opacity: .7; transition: opacity .15s;
}
.b-lightbox-close:hover { opacity: 1; }

/* Product info panel */
.product-info {
  background: var(--b-white);
  border-radius: var(--b-radius);
  border: 1px solid var(--b-border);
  box-shadow: var(--b-shadow);
  padding: 28px 26px;
  position: sticky;
  top: 80px;
}

.pi-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--b-ink3);
  text-decoration: none;
  margin-bottom: 18px;
  transition: color .15s;
}
.pi-back:hover { color: var(--b-blue); }

.pi-brand {
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--b-blue);
  margin-bottom: 8px;
}
.pi-title {
  font-family: var(--b-font-head);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--b-ink);
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.pi-price {
  font-family: var(--b-font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--b-blue);
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.pi-price span { font-size: 1rem; font-weight: 400; color: var(--b-ink3); margin-left: 2px; }

.pi-desc {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--b-ink2);
  margin-bottom: 24px;
  border-top: 1px solid var(--b-border);
  padding-top: 18px;
}

.pi-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.pi-qty-label { font-size: .83rem; font-weight: 600; color: var(--b-ink3); }
.pi-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--b-border);
  border-radius: 8px;
  overflow: hidden;
}
.pi-qty-btn {
  width: 36px; height: 36px;
  background: var(--b-bg);
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--b-ink2);
  transition: background .12s;
  display: flex; align-items: center; justify-content: center;
}
.pi-qty-btn:hover { background: var(--b-border); }
.pi-qty-input {
  width: 50px;
  text-align: center;
  border: none;
  border-left: 1.5px solid var(--b-border);
  border-right: 1.5px solid var(--b-border);
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--b-font-body);
  color: var(--b-ink);
  padding: 8px 0;
  outline: none;
  background: var(--b-white);
}

.pi-cta {
  width: 100%;
  padding: 14px;
  background: var(--b-blue);
  color: #fff;
  border: none;
  border-radius: var(--b-radius-sm);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--b-font-body);
  cursor: pointer;
  transition: background .15s, transform .1s;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.pi-cta:hover { background: var(--b-blue-dk); transform: translateY(-1px); }
.pi-cta:active { transform: translateY(0); }

.pi-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 16px;
  border-top: 1px solid var(--b-border);
  font-size: .82rem;
  color: var(--b-ink3);
}
.pi-meta-row { display: flex; align-items: center; gap: 7px; }
.pi-meta-row strong { color: var(--b-ink2); }

/* ══════════════════════════════════════════════════════════════════════
   PANIER
   ══════════════════════════════════════════════════════════════════════ */

.cart-page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}
.cart-page-title {
  font-family: var(--b-font-head);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -.03em;
  color: var(--b-ink);
  margin-bottom: 28px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }

/* Cart items */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-item {
  background: var(--b-white);
  border: 1px solid var(--b-border);
  border-radius: var(--b-radius);
  padding: 16px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  align-items: center;
  transition: box-shadow .2s;
}
.cart-item:hover { box-shadow: var(--b-shadow); }

.ci-img {
  width: 80px; height: 80px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--b-border);
  flex-shrink: 0;
  display: block;
}
.ci-info { min-width: 0; }
.ci-brand { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--b-ink3); margin-bottom: 3px; }
.ci-title { font-weight: 600; font-size: .95rem; color: var(--b-ink); margin-bottom: 6px; text-decoration: none; display: block; }
.ci-title:hover { color: var(--b-blue); }
.ci-unit { font-size: .83rem; color: var(--b-ink3); }

.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.ci-total { font-family: var(--b-font-head); font-weight: 700; font-size: 1.05rem; color: var(--b-ink); letter-spacing: -.02em; }

.ci-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--b-border);
  border-radius: 7px;
  overflow: hidden;
}
.ci-qty-btn {
  width: 30px; height: 30px;
  background: var(--b-bg);
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--b-ink2);
  display: flex; align-items: center; justify-content: center;
  transition: background .12s;
}
.ci-qty-btn:hover { background: var(--b-border); }
.ci-qty-input {
  width: 42px;
  text-align: center;
  border: none;
  border-left: 1.5px solid var(--b-border);
  border-right: 1.5px solid var(--b-border);
  font-size: .88rem;
  font-weight: 600;
  font-family: var(--b-font-body);
  color: var(--b-ink);
  padding: 6px 0;
  outline: none;
  background: var(--b-white);
}

.ci-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--b-ink3);
  font-size: 18px;
  padding: 4px;
  border-radius: 5px;
  transition: color .15s, background .15s;
  display: flex; align-items: center; justify-content: center;
}
.ci-remove:hover { color: var(--b-red); background: rgba(239,68,68,.06); }

.cart-actions {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  background: var(--b-white);
  border: 1px solid var(--b-border);
  border-radius: var(--b-radius);
}
.b-btn {
  padding: 9px 18px;
  border-radius: var(--b-radius-sm);
  font-size: .87rem;
  font-weight: 600;
  font-family: var(--b-font-body);
  cursor: pointer;
  transition: all .15s;
  border: 1.5px solid transparent;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
}
.b-btn-primary { background: var(--b-blue); color: #fff; border-color: var(--b-blue); }
.b-btn-primary:hover { background: var(--b-blue-dk); border-color: var(--b-blue-dk); transform: translateY(-1px); }
.b-btn-ghost { background: transparent; color: var(--b-ink2); border-color: var(--b-border); }
.b-btn-ghost:hover { border-color: var(--b-ink3); color: var(--b-ink); }
.b-btn-danger { background: transparent; color: var(--b-red); border-color: rgba(239,68,68,.3); }
.b-btn-danger:hover { background: rgba(239,68,68,.06); border-color: var(--b-red); }

/* Cart summary panel */
.cart-summary {
  background: var(--b-white);
  border: 1px solid var(--b-border);
  border-radius: var(--b-radius);
  box-shadow: var(--b-shadow);
  position: sticky;
  top: 80px;
}
.cs-head {
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--b-border);
  font-family: var(--b-font-head);
  font-weight: 700;
  font-size: 1rem;
}
.cs-lines {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cs-line {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--b-ink2);
}
.cs-line.total {
  border-top: 1px solid var(--b-border);
  padding-top: 12px;
  margin-top: 4px;
  font-family: var(--b-font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--b-ink);
}
.cs-line.total .cs-val { color: var(--b-blue); }

/* Checkout form */
.checkout-form {
  background: var(--b-white);
  border: 1px solid var(--b-border);
  border-radius: var(--b-radius);
  overflow: hidden;
}
.cf-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--b-border);
  font-family: var(--b-font-head);
  font-weight: 700;
  font-size: .95rem;
}
.cf-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.cf-field { display: flex; flex-direction: column; gap: 5px; }
.cf-label { font-size: .78rem; font-weight: 600; color: var(--b-ink3); text-transform: uppercase; letter-spacing: .04em; }
.cf-input {
  padding: 10px 12px;
  background: var(--b-bg);
  border: 1.5px solid transparent;
  border-radius: 8px;
  font-size: .9rem;
  font-family: var(--b-font-body);
  color: var(--b-ink);
  outline: none;
  transition: border-color .15s, background .15s;
}
.cf-input:focus { background: var(--b-white); border-color: var(--b-blue); box-shadow: 0 0 0 3px rgba(26,86,255,.1); }
.cf-input::placeholder { color: var(--b-ink3); }

/* Cart empty */
.cart-empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--b-ink3);
}
.ces-icon { font-size: 60px; margin-bottom: 20px; }
.ces-title { font-family: var(--b-font-head); font-weight: 700; font-size: 1.5rem; color: var(--b-ink); margin-bottom: 10px; }
.ces-sub { font-size: .95rem; margin-bottom: 24px; }

/* Alert */
.b-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.b-alert-ok { background: rgba(18,185,129,.1); color: #065f46; border: 1px solid rgba(18,185,129,.25); }
.b-alert-err { background: rgba(239,68,68,.08); color: #991b1b; border: 1px solid rgba(239,68,68,.2); }
