.qb-page { padding-bottom: 2.5rem; }
.qb-wrap { max-width: 1100px; }

/* ——— Catalogue vitrine ——— */
.qb-catalog {
  background: linear-gradient(180deg, #faf8f5 0%, #fff 28%);
}
.qb-catalog-hero {
  text-align: center;
  padding: 1.5rem 0 2rem;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}
.qb-catalog-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: var(--primary-100, #e0f2fe);
  color: var(--primary-800, #075985);
  border: 1px solid var(--primary-200, #bae6fd);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.qb-catalog-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: #4d4032;
}
.qb-catalog-hero__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #64748b;
}
.qb-catalog-hero__count {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0ea5e9;
}

.qb-catalog-perks {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.qb-catalog-perk {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #475569;
  box-shadow: 0 1px 2px rgba(77, 64, 50, 0.04);
}
.qb-catalog-perk__icon {
  flex-shrink: 0;
  color: #0ea5e9;
  margin-top: 0.1rem;
}
.qb-catalog-perk strong { color: #334155; }

.qb-catalog-grid-section { margin-bottom: 2.5rem; }
.qb-catalog-grid__heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #4d4032;
  margin: 0 0 1.25rem;
  text-align: center;
}

.qb-grid--catalog {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.qb-card--catalog { position: relative; }
.qb-card--catalog .qb-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(77, 64, 50, 0.06);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.qb-card--catalog .qb-card__link:hover {
  box-shadow: 0 10px 28px rgba(77, 64, 50, 0.1);
  transform: translateY(-2px);
  border-color: #bae6fd;
}
.qb-card__ribbon {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0369a1;
  border: 1px solid #e0f2fe;
}
.qb-card__excerpt {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #64748b;
}
.qb-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.qb-card__cta {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0ea5e9;
  white-space: nowrap;
}
.qb-card--catalog .qb-card__link:hover .qb-card__cta { text-decoration: underline; }

.qb-catalog-seo {
  margin: 2.5rem 0;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 16px;
}
.qb-catalog-seo__title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 700;
  color: #4d4032;
  margin: 0 0 1.5rem;
  text-align: center;
}
.qb-catalog-seo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem 2rem;
}
.qb-catalog-seo__h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #4d4032;
  margin: 0 0 0.65rem;
}
.qb-catalog-seo__block p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #475569;
}
.qb-catalog-seo__block p:last-child { margin-bottom: 0; }
.qb-catalog-seo__block a {
  color: #0ea5e9;
  font-weight: 700;
  text-decoration: none;
}
.qb-catalog-seo__block a:hover { text-decoration: underline; }
.qb-catalog-seo__steps {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #475569;
}

.qb-catalog-cta {
  margin-top: 2rem;
}
.qb-catalog-cta__inner {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0f9ff 0%, #faf8f5 100%);
  border: 1px solid #bae6fd;
}
.qb-catalog-cta__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #4d4032;
  margin: 0 0 0.5rem;
}
.qb-catalog-cta__text {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #64748b;
}
.qb-catalog-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.qb-admin-banner {
  margin: 0 0 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  background: #fff8e6;
  border: 1px solid #f5d78e;
  color: #7a5b00;
  font-size: 0.85rem;
}
.qb-admin-banner a { color: #9a6700; font-weight: 700; }
.qb-header { margin-bottom: 1.25rem; }
.qb-header h1 { margin: 0 0 0.35rem; font-size: 1.75rem; }
.qb-header p { margin: 0; color: #64748b; max-width: 42rem; line-height: 1.5; }
.qb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.qb-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: box-shadow .15s ease, transform .15s ease;
}
.qb-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transform: translateY(-1px);
}
.qb-card__img {
  aspect-ratio: 4/3;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.qb-card__img img { width: 100%; height: 100%; object-fit: cover; }
.qb-card__placeholder { color: #94a3b8; font-size: 0.85rem; }
.qb-card__body { padding: 0.85rem 0.95rem 1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.qb-card__type { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #0ea5e9; }
.qb-card__title { margin: 0; font-size: 1rem; font-weight: 800; line-height: 1.3; }
.qb-card__sizes { font-size: 0.78rem; color: #64748b; }
.qb-card__price { margin-top: auto; font-size: 1.05rem; font-weight: 900; color: #111827; }
.qb-empty {
  padding: 2rem;
  text-align: center;
  color: #64748b;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
}

.qb-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 767px) { .qb-detail { grid-template-columns: 1fr; } }

/* ——— Fiche produit ——— */
.qb-product {
  background: linear-gradient(180deg, #faf8f5 0%, #fff 22%);
}
.qb-product .qb-wrap {
  max-width: none;
}

.qb-product-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: #64748b;
}
.qb-product-crumb a {
  color: #0ea5e9;
  font-weight: 700;
  text-decoration: none;
}
.qb-product-crumb a:hover { text-decoration: underline; }
.qb-product-crumb span:last-child {
  color: #334155;
  font-weight: 600;
}

.qb-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 1.75rem 2.5rem;
  align-items: start;
  margin-bottom: 1.75rem;
}
@media (min-width: 1100px) {
  .qb-product-layout {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 2rem 3rem;
  }
}
@media (max-width: 899px) {
  .qb-product-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.qb-gallery--product {
  border: 1px solid #e8e4df;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(77, 64, 50, 0.07);
  background: #fff;
  max-width: 100%;
}
.qb-gallery--product .qb-gallery__main {
  aspect-ratio: 4 / 3;
  background: #faf8f5;
}
.qb-gallery--product .qb-gallery__main img {
  object-fit: contain;
  padding: 0.5rem;
}
.qb-gallery--product .qb-gallery__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 10px;
}

.qb-product-panel {
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 16px;
  padding: 1.5rem 1.75rem 1.75rem;
  box-shadow: 0 4px 20px rgba(77, 64, 50, 0.06);
  min-width: 0;
}
@media (min-width: 900px) {
  .qb-product-panel {
    padding: 1.75rem 2rem 2rem;
  }
}
.qb-product-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.65rem;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.qb-product-panel__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.85rem;
  color: #4d4032;
  max-width: 36rem;
}
.qb-product-panel__price-row {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}
.qb-product-panel__price {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 900;
  color: #111827;
  line-height: 1.1;
}
.qb-product-panel__price-note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: #64748b;
}

.qb-product-trust {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid #f1f5f9;
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .qb-product-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem 1rem;
  }
}
.qb-product-trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #475569;
}
.qb-product-trust .therion-lucide {
  flex-shrink: 0;
  color: #0ea5e9;
}

.qb-product-desc {
  margin-bottom: 1.75rem;
  padding: 1.35rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8e4df;
  box-shadow: 0 2px 12px rgba(77, 64, 50, 0.04);
}
.qb-product-desc--wide {
  margin-bottom: 2rem;
}
@media (min-width: 900px) {
  .qb-product-desc--wide {
    padding: 1.75rem 2rem;
  }
}
.qb-product-desc__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #4d4032;
  margin: 0 0 0.85rem;
}
.qb-product-desc__body {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  max-width: 70ch;
}
.qb-product-desc__body p { margin: 0 0 0.75rem; }
.qb-product-desc__body p:last-child { margin-bottom: 0; }
.qb-product-desc__empty {
  margin: 0 0 1.75rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #fff8e6;
  border: 1px dashed #f5d78e;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #7a5b00;
}
.qb-product-desc__empty--wide {
  margin-bottom: 2rem;
}
.qb-product-desc__empty a {
  color: #9a6700;
  font-weight: 700;
}

.qb-sizes--product { margin-bottom: 0; margin-top: 0.25rem; }
.qb-sizes--product .qb-sizes__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #4d4032;
  margin: 0 0 0.35rem;
}
.qb-sizes--product .qb-size-btn {
  min-width: 4.5rem;
}

.qb-buy--product {
  margin-top: 1.25rem;
  padding-top: 0;
  border-top: none;
}
.qb-buy__secure {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
}

.qb-product-seo {
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 16px;
}
.qb-product-seo__title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 700;
  color: #4d4032;
  margin: 0 0 1.25rem;
  text-align: center;
}
.qb-product-seo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem 1.75rem;
}
.qb-product-seo__h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #4d4032;
  margin: 0 0 0.5rem;
}
.qb-product-seo__block p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #475569;
}
.qb-product-seo__block a {
  color: #0ea5e9;
  font-weight: 700;
  text-decoration: none;
}
.qb-product-seo__block a:hover { text-decoration: underline; }

.qb-gallery {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}
.qb-gallery__main {
  aspect-ratio: 4/3;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qb-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.qb-gallery__thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem;
  overflow-x: auto;
  border-top: 1px solid #f1f5f9;
}
.qb-gallery__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: #f8fafc;
}
.qb-gallery__thumb.is-active { border-color: #0ea5e9; }
.qb-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.qb-info h1 { margin: 0 0 0.5rem; font-size: 1.65rem; }
.qb-info__type { font-size: 0.8rem; font-weight: 700; color: #0ea5e9; text-transform: uppercase; letter-spacing: .04em; }
.qb-info__price { font-size: 1.5rem; font-weight: 900; margin: 0.75rem 0; }
.qb-info__desc { color: #475569; line-height: 1.55; margin: 0 0 1rem; }
.qb-sizes { margin: 0 0 1rem; }
.qb-sizes h2 { font-size: 0.9rem; margin: 0 0 0.5rem; }
.qb-sizes__hint { margin: 0 0 0.65rem; font-size: 0.8rem; color: #64748b; }
.qb-sizes__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.qb-size-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: #1e293b;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.qb-size-btn:hover { border-color: #7dd3fc; }
.qb-size-btn.is-selected {
  border-color: #0ea5e9;
  background: #f0f9ff;
  box-shadow: 0 0 0 1px #0ea5e9;
}
.qb-size-btn__label { font-size: 0.88rem; font-weight: 800; }
.qb-size-btn__hint { font-size: 0.72rem; color: #64748b; font-weight: 500; }
.qb-size-error {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: #b91c1c;
  font-weight: 600;
}
.qb-buy {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}
.qb-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: none;
  border-radius: 12px;
  background: #0ea5e9;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
}
.qb-add-btn:hover { background: #0284c7; }
.qb-add-btn:active { transform: scale(0.99); }
.qb-add-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.qb-sizes ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.qb-sizes li {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 600;
}
.qb-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  color: #0ea5e9;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}
.qb-back:hover { text-decoration: underline; }
