:root {
  /* Couleurs de marque */
  --primary: #f8003a;
  --primary-dark: #cf0031;
  --primary-tint: #fff0f3;
  --primary-tint-2: #ffdae1;
  --black: #111111;
  --white: #ffffff;

  /* Vert de la marque WhatsApp — réservé aux boutons de commande */
  --wa: #25d366;
  --wa-dark: #1da851;

  /* Neutres */
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #191c1e;
  --text-muted: #5f6b76;
  --text-soft: #8b97a2;

  /* Typo */
  --font-display: var(--font-hanken), system-ui, sans-serif;
  --font-body: var(--font-work), system-ui, sans-serif;
  --font-mono: var(--font-jetbrains), monospace;

  /* Rayons */
  --r-sm: 0.25rem;
  --r-md: 0.25rem;
  --r-lg: 0.375rem;
  --r-full: 9999px;

  /* Ombres */
  --shadow-card: 0 12px 24px -12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 40px -16px rgba(17, 17, 17, 0.18);
  --shadow-modal: 0 32px 64px -24px rgba(17, 17, 17, 0.35);

  /* Layout */
  --container: 1440px;
  --header-h: 70px;
  --gap-grid: 0.5rem;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
  min-height: 100vh;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
}

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

::selection {
  background: var(--primary);
  color: var(--white);
}

/* ---------- Utilitaires ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.label-sm {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--r-md);
  padding: 0.75rem 1.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/*
 * Vert WhatsApp — les boutons qui ouvrent une conversation. La couleur de la
 * marque plutôt que --primary : le visiteur reconnaît où le clic l'emmène
 * avant même d'avoir lu le libellé.
 */
.btn-wa {
  background: var(--wa);
  color: var(--white);
}

.btn-wa:hover {
  background: var(--wa-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--black);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 14px;
}

/* ---------- Badges ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-sm);
}

.badge-promo {
  background: var(--primary);
  color: var(--white);
}

.badge-tint {
  background: var(--primary-tint);
  color: var(--primary-dark);
}

.badge-dark {
  background: var(--black);
  color: var(--white);
}

.badge-stock {
  background: #e8f7ee;
  color: #12833f;
}

/* ---------- Category Rail ---------- */

.cat-rail {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.cat-rail__scroll {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  padding: 0.5rem 2.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cat-rail__scroll::-webkit-scrollbar {
  display: none;
}

.cat-rail__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.cat-rail__item:hover {
  transform: translateY(-4px);
}

.cat-rail__image {
  width: 108px;
  height: 108px;
  background-color: #F0EEEC;
  border-radius: 50% 80% 80% 50% / 80% 50% 50% 80%;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.cat-rail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(-16deg);
}

.cat-rail__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  max-width: 100px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease, font-weight 0.15s ease;
}

.cat-rail__item:hover .cat-rail__name {
  color: var(--primary);
  font-weight: 600;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/*
 * Le logo porte seul la marque, sans texte à côté : il occupe donc toute la
 * hauteur utile du header. La source est logo-trim.png, généré depuis
 * logo.jpg en retirant ses larges marges blanches (44% de la largeur).
 */
.logo-frame {
  display: block;
  height: 96px;
  flex-shrink: 0;
}

.logo-frame .logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.15s ease;
}

.logo-text:hover {
  opacity: 0.8;
}

.header-search {
  flex: 0 1 320px;
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 0 0.4rem 0 1.1rem;
  height: 38px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  margin-left: auto;
}

.header-search:focus-within {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}

.header-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14.5px;
  color: var(--text);
  min-width: 0;
}

.header-search input::placeholder {
  color: var(--text-soft);
}

.header-search button {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.header-search button:hover {
  background: var(--primary-dark);
}

.header-search-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.header-search-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.header-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.header-link:hover,
.header-link.active {
  color: var(--primary);
  border-color: var(--primary);
}

.cart-button {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--white);
  display: grid;
  place-items: center;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.cart-button:hover {
  border-color: var(--black);
  transform: translateY(-1px);
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: var(--r-full);
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--white);
}

.cart-count.bump {
  animation: bump 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.45);
  }
  100% {
    transform: scale(1);
  }
}

/* ---------- Search Overlay (mobile) ---------- */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-overlay.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.search-overlay__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.search-overlay.open .search-overlay__content {
  transform: translateY(0);
}

.search-overlay__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.search-overlay__form {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 0.75rem 1rem;
}

.search-overlay__form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: var(--text);
  min-width: 0;
}

.search-overlay__form input::placeholder {
  color: var(--text-soft);
}

.search-overlay__close {
  width: 42px;
  height: 42px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.search-overlay__close:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-tint);
  color: var(--primary-dark);
  border-radius: var(--r-full);
  padding: 0.45rem 1rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
}

.hero-stat strong span {
  color: var(--primary);
}

.hero-stat small {
  color: var(--text-muted);
  font-size: 13.5px;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-tile {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--white);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: var(--shadow-card);
  animation: rise 0.7s ease both;
}

.hero-tile:nth-child(2) {
  animation-delay: 0.1s;
  transform-origin: center;
  margin-top: 1.75rem;
}

.hero-tile:nth-child(3) {
  animation-delay: 0.2s;
  margin-top: -1.75rem;
}

.hero-tile:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tile .thumb {
  height: 110px;
  font-size: 44px;
}

.hero-tile b {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

.hero-tile .price {
  font-size: 15px;
}

.hero-float {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-full);
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-modal);
  white-space: nowrap;
}

.hero-float .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2ecc71;
  animation: pulse 1.6s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5);
  }
  60% {
    box-shadow: 0 0 0 7px rgba(46, 204, 113, 0);
  }
}

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

.hero-shopify {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 320px;
  padding: 2rem 2.5rem;
  overflow: hidden;
}

.hero-shopify__background {
  position: absolute;
  inset: 0;
  background-image: url('../img/seller.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-shopify__background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.hero-shopify__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 600px;
}

.hero-shopify__title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-shopify__subtitle {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
}

.hero-shopify__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.25rem;
}

.hero-shopify__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #F8003A;
  color: var(--white);
  padding: 0.55rem 1.25rem;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-shopify__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 1.75rem 0;
}

.home-section {
  padding: 1.75rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.home-section--promo {
  background: linear-gradient(180deg, #fff0f3 0%, var(--white) 100%);
  padding: 0;
  overflow: hidden;
}

.promo-banner {
  position: relative;
  background: linear-gradient(135deg, #F8003A 0%, #d40032 50%, #b0002a 100%);
  padding: 1.5rem 0;
  overflow: hidden;
}

.promo-banner__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.promo-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.promo-shape--1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
  animation-delay: 0s;
}

.promo-shape--2 {
  width: 200px;
  height: 200px;
  bottom: -80px;
  left: 10%;
  animation-delay: 2s;
}

.promo-shape--3 {
  width: 150px;
  height: 150px;
  top: 20%;
  right: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

.promo-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.promo-banner__text {
  color: var(--white);
  flex: 1;
  min-width: 280px;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.promo-banner__text h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.promo-banner__text p {
  font-size: 14px;
  opacity: 0.95;
  margin: 0;
}

.promo-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--black);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.promo-banner__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.home-section--promo .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.product-grid,
.product-scroll,
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap-grid);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-head .kicker {
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.section-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.section-link:hover {
  text-decoration: underline;
}

/* ---------- Cartes catégorie ---------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-tint-2);
}

.category-card .cat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 28px;
}

.category-card h3 {
  font-size: 16.5px;
  font-weight: 600;
}

.category-card small {
  color: var(--text-muted);
  font-size: 13px;
}

.category-card .cat-arrow {
  margin-top: auto;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.category-card:hover .cat-arrow {
  opacity: 1;
  transform: translateX(0);
}

.cat-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.cat-tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  grid-row: span 1;
}

.cat-tile:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.cat-tile:nth-child(6) {
  grid-column: span 2;
}

.cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.cat-tile__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.cat-tile__emoji {
  font-size: 40px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.cat-tile__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  color: var(--white);
}

.cat-tile__info h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
}

.cat-tile__count {
  font-size: 13px;
  opacity: 0.85;
}

.cat-tile__arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--text);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cat-tile:hover .cat-tile__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Vignette produit (visuel) ---------- */

.thumb {
  position: relative;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 64px;
  user-select: none;
}

.thumb::after {
  content: none;
}

/* ---------- Carte produit ---------- */

.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.card-media {
  position: relative;
}

.card-media .add-btn {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  z-index: 3;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.card-media .add-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.card-media .add-btn.added {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  animation: bump 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card-text {
  padding: 0.4rem 0.3rem 0.6rem;
}

/*
 * Commande directe depuis la grille. Le titre de la carte porte un
 * ::after qui recouvre toute la carte d'un lien vers la fiche produit :
 * sans ce z-index, le bouton serait inclicable.
 */
.product-card-text .card-order {
  position: relative;
  z-index: 2;
  margin-top: 0.5rem;
  padding: 0.5rem 0.6rem;
  font-size: 12.5px;
  gap: 0.35rem;
  /*
   * Le libellé est court — « Commander », et non « Commander sur WhatsApp »
   * comme sur la fiche produit — précisément pour tenir sur une ligne dans
   * les deux colonnes du mobile. On garde donc le nowrap de .btn : si un
   * jour le texte s'allonge, le débordement se verra tout de suite au lieu
   * de produire des cartes à hauteurs inégales.
   */
}

.ribbon {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.65rem;
  z-index: 2;
  clip-path: polygon(
    0% 15%, 5% 20%, 0% 25%, 5% 30%, 0% 35%, 5% 40%, 0% 45%, 5% 50%,
    0% 55%, 5% 60%, 0% 65%, 5% 70%, 0% 75%, 5% 80%, 0% 85%, 5% 90%,
    0% 95%, 5% 100%, 95% 100%, 100% 95%, 95% 90%, 100% 85%, 95% 80%,
    100% 75%, 95% 70%, 100% 65%, 95% 60%, 100% 55%, 95% 50%, 100% 45%,
    95% 40%, 100% 35%, 95% 30%, 100% 25%, 95% 20%, 100% 15%, 95% 10%,
    100% 5%, 95% 0%, 5% 0%, 0% 5%, 5% 10%
  );
}

.product-card .thumb {
  aspect-ratio: 1 / 1;
}

.product-card .card-badges {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.product-supplier {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 12.5px;
}

.verified {
  color: var(--primary);
}

.product-supplier .verified {
  font-size: 12px;
}

.product-card h3 {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 12.5px;
  color: var(--text-muted);
}

.stars {
  color: #f5a623;
  letter-spacing: 0.05em;
  font-size: 12px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

.price-old {
  font-size: 11px;
  color: var(--text-soft);
  text-decoration: line-through;
}

/* ---------- Bandeau réassurance ---------- */

.trust-strip {
  background: var(--black);
  color: var(--white);
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.6rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.trust-item .t-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 19px;
}

.trust-item b {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
}

.trust-item small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
}

/* ---------- Bannière CTA ---------- */

.cta-banner {
  background: linear-gradient(120deg, var(--primary) 0%, #b8002c 100%);
  border-radius: var(--r-lg);
  color: var(--white);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-banner::after {
  content: '';
  position: absolute;
  right: 60px;
  bottom: -110px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.cta-banner h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
  background: var(--white);
  color: var(--primary);
  flex-shrink: 0;
}

.cta-banner .btn:hover {
  background: var(--black);
  color: var(--white);
}

/* ---------- Catalogue ---------- */

.catalogue-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 2.5rem 0 4rem;
}

.filters-toggle {
  display: none;
}

.filters-scroll {
  display: none;
}

.filters {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.filters-desktop {
  display: flex;
}

.filters-drawer {
  display: none;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.filter-group:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-group .label-sm {
  color: var(--text-soft);
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 14.5px;
  cursor: pointer;
  color: var(--text);
  transition: color 0.15s ease;
}

.filter-check:hover {
  color: var(--primary);
}

.filter-check input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}

.filter-check input:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.filter-check input:checked::after {
  content: '✓';
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.filter-check.checked {
  color: var(--primary);
  font-weight: 600;
}

.catalogue-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.catalogue-toolbar h1 {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
}

.catalogue-toolbar .result-count {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 0.25rem;
}

.sort-select {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 14px;
  color: var(--text-muted);
}

.sort-select select {
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  padding: 0 0.9rem;
  font-size: 14px;
  color: var(--text);
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.sort-select select:focus {
  border-color: var(--black);
}

.empty-state {
  grid-column: 1 / -1;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted);
}

.empty-state .big {
  font-size: 44px;
  margin-bottom: 0.75rem;
}

/* ---------- Fil d'Ariane ---------- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 1.5rem 0 0;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  color: var(--text-soft);
}

.category-header {
  padding: 2rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.category-header__info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-header__emoji {
  font-size: 48px;
  line-height: 1;
}

.category-header__info h1 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  margin: 0;
}

.category-header__info p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0.25rem 0 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--primary);
}

/* ---------- Fiche produit ---------- */

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  padding: 2rem 0 3rem;
  align-items: start;
}

.gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  font-size: 150px;
  margin-bottom: 1rem;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  border: 2px solid var(--border);
  font-size: 34px;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.gallery-thumb:hover {
  transform: translateY(-2px);
}

.gallery-thumb.active {
  border-color: var(--primary);
}

.product-info h1 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0.75rem 0 1rem;
}

.product-info .price-row {
  margin-bottom: 1.25rem;
}

.product-info .price {
  font-size: 32px;
}

.product-info .price-old {
  font-size: 17px;
}

.info-block {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

.info-block .label-sm {
  color: var(--text-soft);
  margin-bottom: 0.6rem;
  display: block;
}

.info-block p {
  color: var(--text-muted);
  font-size: 15.5px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 14.5px;
  color: var(--text);
}

.feature-list .f-icon {
  color: var(--primary);
  font-size: 13px;
}

.supplier-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.9rem 1.1rem;
}

.supplier-card .s-logo {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--black);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}

.supplier-card b {
  font-family: var(--font-display);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.supplier-card small {
  color: var(--text-muted);
  font-size: 13px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  height: 48px;
}

.qty-stepper button {
  width: 44px;
  height: 100%;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.15s ease;
}

.qty-stepper button:hover {
  color: var(--primary);
}

.qty-stepper span {
  min-width: 40px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
}

.product-cta {
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
  flex-wrap: wrap;
}

.product-cta .btn {
  flex: 1;
  min-width: 200px;
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 13.5px;
}

.ok {
  color: #12833f;
  flex-shrink: 0;
}

/* ---------- Panier ---------- */

.cart-page-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 2.5rem 0 1.5rem;
}

.cart-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cart-back-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  color: var(--text);
  transition: background 0.15s ease, color 0.15s ease;
}

.cart-back-btn:hover {
  background: var(--surface);
  color: var(--primary);
}

.cart-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 0;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
  padding: 1.5rem 0 4rem;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  animation: rise 0.35s ease both;
}

.cart-item .thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.cart-item-name {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  min-width: 0;
}

.cart-item-name a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.cart-item .qty-stepper {
  height: 38px;
}

.remove-btn {
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
  padding: 0.5rem;
  border-radius: var(--r-md);
}

.remove-btn:hover {
  color: var(--primary);
  background: var(--surface);
}

.cart-summary {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
}

.cart-summary h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14.5px;
  color: var(--text-muted);
  padding: 0.45rem 0;
}

.summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 0.75rem;
  padding-top: 1rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}

.summary-row.total .price {
  font-size: 24px;
}

.summary-row .free {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.cart-summary .btn {
  margin-top: 1.25rem;
}

.cart-fab {
  display: none;
}

.whatsapp-note {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.cart-empty {
  text-align: center;
  padding: 5rem 1rem;
}

.cart-empty .big {
  font-size: 64px;
  margin-bottom: 1rem;
}

.cart-empty h1 {
  font-size: 26px;
  margin-bottom: 0.5rem;
}

.cart-empty p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

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

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-full);
  padding: 0.75rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: var(--shadow-modal);
  animation: toastIn 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
  white-space: nowrap;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.toast .check {
  color: #2ecc71;
}

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

.footer {
  background: #F8003A;
  color: var(--white);
  margin-top: auto;
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}

.footer-about {
  color: var(--white);
  font-size: 14px;
  margin-top: 1rem;
  max-width: 34ch;
}

.footer-col .label-sm {
  color: var(--white);
  margin-bottom: 1.1rem;
  display: block;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  color: var(--white);
  font-size: 14.5px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-md);
  padding: 0.8rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  transition: background 0.15s ease;
}

.footer-whatsapp:hover {
  background: rgba(255, 255, 255, 0.15);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  background: #F8003A;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: #ffffff;
  font-size: 13px;
  width: 100%;
  margin: 0 auto;
}

/* ---------- Skeleton ---------- */

.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--border);
  border-radius: var(--r-md);
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1280px) {
  .product-grid,
  .product-scroll,
  .catalogue-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1080px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-shopify {
    height: 260px;
    padding: 1.5rem;
  }

  .product-grid,
  .product-scroll,
  .catalogue-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cat-tile-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }

  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .promo-banner {
    padding: 1.5rem 0;
  }

  .promo-banner__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .promo-banner__cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .cat-tile-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 0.75rem;
  }

  .cat-tile:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .cat-tile:nth-child(6) {
    grid-column: span 1;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .header-search {
    display: none;
  }

  .header-search-toggle {
    display: grid;
  }

  .header-nav .header-link {
    display: none;
  }

  :root {
    --header-h: 60px;
    --gap-grid: 0.4rem;
  }

  .logo-frame {
    height: 44px;
  }

  .logo-text {
    font-size: 14px;
  }

  .cart-button {
    width: 40px;
    height: 40px;
  }

  .product-grid,
  .product-scroll,
  .catalogue-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalogue-layout {
    grid-template-columns: 1fr;
  }

  .filters-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0;
    margin-top: 1rem;
    margin-bottom: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--surface);
  }

  .filters-scroll::-webkit-scrollbar {
    height: 6px;
  }

  .filters-scroll::-webkit-scrollbar-track {
    background: var(--surface);
    border-radius: 3px;
  }

  .filters-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
  }

  .filters-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
  }

  .filter-chip {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
  }

  .filter-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
  }

  .filter-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
  }

  .filters-desktop {
    display: none;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cart-layout {
    grid-template-columns: 1fr;
    padding-top: 2rem;
    padding-bottom: 5rem;
  }

  .cart-summary {
    position: static;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }

  .promo-banner__text h2 {
    font-size: 28px;
  }

  .promo-banner__text p {
  font-size: 14px;
  }

  .section {
    padding: 2.75rem 0;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 1rem;
  }

  .hero-shopify {
    height: 200px;
    padding: 1.25rem 1rem;
  }

  .hero-shopify__title {
    font-size: 18px;
  }

  .hero-shopify__subtitle {
    font-size: 12px;
  }

  .cat-rail__scroll {
    padding: 0.5rem 1rem;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }

  .cat-rail__item {
    width: calc(25% - 1.125rem);
    min-width: 0;
  }

  .cat-rail__image {
    width: 84px;
    height: 84px;
  }

  .cat-rail__name {
    font-size: 11px;
    max-width: 80px;
  }

  .catalogue-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .catalogue-toolbar h1 {
    font-size: 20px;
  }

  .result-count {
    font-size: 12px;
  }

  .cart-title {
    font-size: 20px;
    margin-bottom: 1rem;
  }

  .cart-layout {
    padding-top: 1.5rem;
    padding-bottom: 6rem;
  }

  .trust-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem 0 1rem;
  }

  .footer {
    padding-top: 1.5rem;
  }

  .footer-bottom {
    padding: 1rem 0;
    font-size: 11px;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .cart-item {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }

  .cart-item .thumb {
    width: 64px;
    height: 64px;
  }

  .cart-item-name {
    flex: 1;
    min-width: 120px;
    font-size: 14px;
  }

  .cart-item-price {
    font-size: 14px;
  }

  .cart-item .qty-stepper {
    height: 34px;
  }

  .remove-btn {
    font-size: 12px;
  }

  .cart-summary {
    display: none;
  }

  .cart-fab {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 1rem;
    display: flex;
    justify-content: center;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  }

  .cart-fab .btn {
    width: 100%;
    max-width: 400px;
  }

  .floating-cart {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .promo-banner {
    padding: 2rem 0;
  }

  .promo-banner__text h2 {
    font-size: 24px;
  }

  .promo-badge {
    font-size: 11px;
    padding: 0.4rem 0.8rem;
  }
}

/* ---------- Floating Cart ---------- */

.floating-cart {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 45;
  width: 52px;
  height: 52px;
  border-radius: var(--r-full);
  background: var(--white);
  color: var(--black);
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.15s ease;
}

.floating-cart.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.floating-cart:hover {
  border-color: var(--black);
}

.floating-cart.visible:hover {
  transform: scale(1);
}

.floating-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--r-full);
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--white);
}

.floating-cart-count.bump {
  animation: bump 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
