/* ═══════════════════════════════════════════════════════════════
   JOURY SHOP — Department pages · Category cards · Product grid
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   CONFISERIE DEPARTMENT — Dark, bold, candy energy
   ═══════════════════════════════════════════════════════════════ */

/* ── Confiserie hero banner ───────────────────────────────────────── */
.conf-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0D0608;
}
.conf-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  transition: transform 8s var(--ease);
}
.conf-hero:hover .conf-hero__img { transform: scale(1.04); }
.conf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,6,8,.95) 35%, rgba(13,6,8,.3) 100%),
              linear-gradient(to top, rgba(200,16,46,.12) 0%, transparent 60%);
}

.conf-hero__content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: 64px var(--gutter);
}
.conf-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 16px;
}
.conf-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 14px;
}
.conf-hero__title span { color: var(--brand-red); }
.conf-hero__count {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  margin-bottom: 28px;
}

/* ── Confiserie subcategory pills ─────────────────────────────────── */
.conf-filter {
  padding: 28px var(--gutter) 0;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.conf-filter::-webkit-scrollbar { display: none; }

.conf-filter__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,.1);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.conf-filter__pill:hover,
.conf-filter__pill.is-active {
  border-color: var(--brand-red);
  color: #fff;
  background: rgba(200,16,46,.12);
}
.conf-filter__pill.is-active { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }

/* ── 8-subcategory showcase grid ──────────────────────────────────── */
.conf-cats {
  padding: 48px var(--gutter) 56px;
}
.conf-cats__heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 24px;
}

.conf-cats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

/* Feature first two larger */
.conf-cats__grid .conf-cat:nth-child(1),
.conf-cats__grid .conf-cat:nth-child(2) {
  grid-row: span 1;
}

.conf-cat {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t);
}
.conf-cat:hover { transform: translateY(-4px); }

/* Special size for featured cats */
.conf-cats__grid .conf-cat:nth-child(1),
.conf-cats__grid .conf-cat:nth-child(2) { aspect-ratio: 3/3.5; }

.conf-cat__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.conf-cat:hover .conf-cat__img { transform: scale(1.08); }

.conf-cat__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,6,8,.92) 0%, rgba(13,6,8,.3) 50%, transparent 100%);
  transition: opacity var(--t);
}
.conf-cat:hover .conf-cat__overlay { opacity: .8; }

/* Red glow on hover */
.conf-cat::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-red);
  transform: scaleX(0);
  transition: transform var(--t);
  z-index: 3;
}
.conf-cat:hover::before { transform: scaleX(1); }

.conf-cat__body {
  position: relative;
  z-index: 2;
  padding: 16px 18px 18px;
  width: 100%;
}

.conf-cat__icon { font-size: 22px; display: block; margin-bottom: 6px; }
.conf-cat__name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 3px;
}
.conf-cat__count { font-size: 11px; color: rgba(255,255,255,.4); display: block; }

.conf-cat__arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  opacity: 0;
  transform: scale(0.7);
  transition: all var(--t);
  backdrop-filter: blur(4px);
}
.conf-cat:hover .conf-cat__arrow { opacity: 1; transform: scale(1); }

/* ─── Confiserie product grid section ────────────────────────────── */
.conf-products { padding: 0 var(--gutter) 80px; }
.conf-products__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.conf-products__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3); }
.conf-products__sort select {
  background: rgba(255,255,255,.04);
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 12px;
  outline: none;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   COSMETIQUE DEPARTMENT — Light, clean, editorial
   ═══════════════════════════════════════════════════════════════ */

/* ── Cosmetique hero banner ───────────────────────────────────────── */
.cosm-hero {
  position: relative;
  min-height: 480px;
  background: #FFF8F2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.cosm-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px var(--gutter) 72px calc(var(--gutter) + 16px);
  position: relative;
  z-index: 2;
}

/* Decorative line */
.cosm-hero__content::before {
  content: '';
  position: absolute;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60px;
  background: linear-gradient(to bottom, var(--brand-red), var(--brand-caramel));
  border-radius: 3px;
}

.cosm-hero__dept {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-caramel);
  margin-bottom: 14px;
}
.cosm-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: #1A0E08;
  margin-bottom: 16px;
}
.cosm-hero__title em { color: var(--brand-caramel); font-style: normal; }
.cosm-hero__desc { font-size: 15px; color: #6B5040; line-height: 1.7; max-width: 360px; margin-bottom: 32px; }
.cosm-hero__count { font-size: 13px; color: #B09880; margin-top: 24px; }

.cosm-hero__visual {
  position: relative;
  overflow: hidden;
}
.cosm-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease);
}
.cosm-hero:hover .cosm-hero__img { transform: scale(1.03); }
.cosm-hero__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #FFF8F2 0%, transparent 30%);
}

/* ── 3-subcategory showcase ───────────────────────────────────────── */
.cosm-cats {
  padding: 72px var(--gutter);
  background: #FFF8F2;
}
.cosm-cats__heading {
  text-align: center;
  margin-bottom: 48px;
}
.cosm-cats__heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #1A0E08;
  margin-top: 8px;
}

.cosm-cats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cosm-cat {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(196,154,108,.1);
  border: 1px solid rgba(196,154,108,.12);
  transition: transform var(--t), box-shadow var(--t);
}
.cosm-cat:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(196,154,108,.2);
  border-color: rgba(196,154,108,.3);
}

.cosm-cat__img-wrap {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #F7EFE6;
  position: relative;
}
.cosm-cat__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.cosm-cat:hover .cosm-cat__img { transform: scale(1.06); }

/* Elegant gradient overlay */
.cosm-cat__img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(255,248,242,.6), transparent);
}

.cosm-cat__body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cosm-cat__icon { font-size: 28px; margin-bottom: 12px; display: block; }
.cosm-cat__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #1A0E08;
  margin-bottom: 8px;
}
.cosm-cat__desc { font-size: 13px; color: #6B5040; line-height: 1.6; flex: 1; margin-bottom: 20px; }
.cosm-cat__count {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-caramel);
  margin-bottom: 16px;
}
.cosm-cat__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-caramel);
  padding: 10px 18px;
  border: 1.5px solid rgba(196,154,108,.3);
  border-radius: var(--radius-pill);
  transition: all var(--t-fast);
  align-self: flex-start;
}
.cosm-cat:hover .cosm-cat__link {
  background: var(--brand-caramel);
  border-color: var(--brand-caramel);
  color: #fff;
}

/* ── Cosmetique product header ────────────────────────────────────── */
.cosm-products { padding: 0 var(--gutter) 80px; background: #FFF8F2; }
.cosm-products__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(196,154,108,.15);
}
.cosm-products__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #B09880; }
.cosm-products__sort select {
  background: #fff;
  color: #1A0E08;
  border: 1px solid rgba(196,154,108,.2);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 12px;
  outline: none;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   SHARED PRODUCT CARD — adapts per theme
   ═══════════════════════════════════════════════════════════════ */

.j-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

/* Confiserie card */
.confiserie-theme .j-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 0 1px rgba(200,16,46,.3), 0 20px 60px rgba(0,0,0,.4);
  border-color: rgba(200,16,46,.25);
}
/* Cosmetique card */
.cosmetique-theme .j-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(196,154,108,.18);
  border-color: rgba(196,154,108,.3);
}

.j-card__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-hover);
}
.j-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t);
}
.j-card:hover .j-card__img { transform: scale(1.07); }

.j-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.j-card__actions {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 10px;
  display: flex;
  gap: 7px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t), transform var(--t);
  z-index: 3;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 100%);
}
.cosmetique-theme .j-card__actions {
  background: linear-gradient(to top, rgba(255,248,242,.7) 0%, transparent 100%);
}
.j-card:hover .j-card__actions { opacity: 1; transform: translateY(0); }

.j-card__add {
  flex: 1;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--brand-red);
  color: #fff;
  border: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}
.j-card__add:hover { background: var(--brand-red-dark); transform: scale(1.02); }
.cosmetique-theme .j-card__add { background: var(--brand-caramel); }
.cosmetique-theme .j-card__add:hover { background: var(--brand-caramel-dk); }

.j-card__wish {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
  transition: all var(--t-fast);
}
.j-card__wish:hover { background: #ef4444; border-color: #ef4444; }
.cosmetique-theme .j-card__wish { color: #6B5040; background: rgba(255,255,255,.6); border-color: rgba(196,154,108,.2); }
.cosmetique-theme .j-card__wish:hover { background: #ef4444; border-color: #ef4444; color: #fff; }

.j-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.j-card__cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.j-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.j-card__name a { color: inherit; }
.j-card__name a:hover { color: var(--accent); }

.j-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.j-card__price .amount { font-size: 15px; font-weight: 700; color: var(--text-1); }
.j-card__price del .amount { font-size: 11px; color: var(--text-3); text-decoration: line-through; }
.j-card__price ins { text-decoration: none; }
.j-card__price ins .amount { color: var(--accent); }
.j-card__stars { font-size: 11px; color: #F59E0B; display: flex; gap: 1px; }

/* ─── Navigation dept bar ────────────────────────────────────────── */
.dept-topbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.dept-topbar__inner {
  display: flex;
  align-items: center;
  gap: 0;
  height: 54px;
}
.dept-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  height: 100%;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.dept-topbar__link:hover { color: var(--text-1); }
.dept-topbar__link.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ─── Grid + count/sort bar ──────────────────────────────────────── */
.j-products-grid { display: grid; gap: 16px; }
.j-products-grid--conf { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.j-products-grid--cosm { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ─── Pagination ─────────────────────────────────────────────────── */
.j-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 48px 0 24px;
}
.j-pagination a,
.j-pagination span {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: all var(--t-fast);
}
.j-pagination a:hover,
.j-pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ─── Empty state ────────────────────────────────────────────────── */
.j-empty { text-align: center; padding: 80px var(--gutter); }
.j-empty__icon { font-size: 48px; margin-bottom: 16px; }
.j-empty__title { font-size: 20px; font-weight: 600; color: var(--text-1); margin-bottom: 8px; }
.j-empty__text { font-size: 14px; color: var(--text-3); }

/* ─── Main shop banner (archive-product.php) ─────────────────────── */
.dept-banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0D0608;
}
.dept-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}
.dept-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,6,8,.95) 30%, rgba(13,6,8,.4) 100%),
              linear-gradient(to top, rgba(200,16,46,.1) 0%, transparent 60%);
}
.dept-banner__content {
  position: relative;
  z-index: 2;
  padding-block: 64px;
}
.dept-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.dept-banner__meta {
  font-size: 14px;
  color: rgba(255,255,255,.45);
}

/* ─── Shop product grid bar ──────────────────────────────────────── */
.j-shop-grid { padding-block: 40px 80px; }
.j-shop-grid__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.j-shop-grid__count { font-size: 13px; color: var(--text-2); }
.j-shop-grid__sort select {
  background: var(--bg-card);
  color: var(--text-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 12px;
  outline: none;
  cursor: pointer;
}

/* ─── Section head (shared by sales + new arrivals) ─────────────── */
.jshop-section-head {
  text-align: center;
  margin-bottom: 40px;
}
.jshop-section-head .j-eyebrow { margin-bottom: 10px; display: block; }
.jshop-section-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
  line-height: 1.15;
}
.jshop-section-head__sub {
  font-size: 14px;
  color: var(--text-2);
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.65;
}

/* ─── Sales horizontal scroll ────────────────────────────────────── */
.jshop-sales {
  padding-block: 64px 56px;
  border-top: 1px solid var(--border);
}
.jshop-sales__scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.jshop-sales__scroll::-webkit-scrollbar { display: none; }
.jshop-sales__item {
  flex: 0 0 240px;
  scroll-snap-align: start;
}
@media (max-width: 540px) {
  .jshop-sales__item { flex: 0 0 200px; }
}

/* ─── New arrivals section ───────────────────────────────────────── */
.jshop-new {
  padding-block: 64px;
  border-top: 1px solid var(--border);
}

/* ─── Trust strip ────────────────────────────────────────────────── */
.jshop-features {
  padding-block: 56px;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}
.jshop-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.jshop-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.jshop-feature__icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.jshop-feature__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 5px;
}
.jshop-feature__desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .jshop-features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .jshop-features__grid { grid-template-columns: 1fr; gap: 24px; }
  .jshop-new { padding-block: 48px; }
  .jshop-sales { padding-block: 48px 40px; }
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .conf-cats__grid { grid-template-columns: repeat(2, 1fr); }
  .cosm-cats__grid { grid-template-columns: 1fr 1fr; }
  .cosm-hero { grid-template-columns: 1fr; }
  .cosm-hero__visual { display: none; }
}
@media (max-width: 540px) {
  .conf-cats__grid { grid-template-columns: repeat(2, 1fr); }
  .cosm-cats__grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   SHOP HOME PAGE — Hero · Marquee · Dept Cards · Dept Sections
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hero ────────────────────────────────────────────────────────── */
.jshop-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: #0D0608;
  overflow: hidden;
  padding-top: 70px;
}

/* Ambient orbs */
.jshop-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.jshop-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.jshop-hero__orb--1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(200,16,46,.45) 0%, transparent 70%);
  top: -120px; right: -80px;
  animation: shopOrbFloat1 9s ease-in-out infinite;
}
.jshop-hero__orb--2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(196,154,108,.3) 0%, transparent 70%);
  bottom: 0; left: 5%;
  animation: shopOrbFloat2 11s ease-in-out infinite;
}
.jshop-hero__orb--3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(200,16,46,.18) 0%, transparent 70%);
  top: 45%; left: 42%;
  animation: shopOrbFloat3 13s ease-in-out infinite;
}
@keyframes shopOrbFloat1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-36px,28px)} }
@keyframes shopOrbFloat2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(28px,-36px)} }
@keyframes shopOrbFloat3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-18px,-28px)} }

/* Dot-grid overlay */
.jshop-hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 36px 36px;
}

.jshop-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 80px;
}

.jshop-hero__copy { max-width: 640px; }

.jshop-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.jshop-hero__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-red);
  animation: pulse 2s ease infinite;
}

.jshop-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 22px;
}
.jshop-hero__title-gradient {
  background: linear-gradient(90deg, #C8102E, #D4B896, #C49A6C, #C8102E);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: j-shimmer-sweep 4s linear infinite;
}

.jshop-hero__desc {
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}

.jshop-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.jshop-hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.jshop-stat { display: flex; flex-direction: column; gap: 3px; }
.jshop-stat__num {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.jshop-stat__label { font-size: 11px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; }
.jshop-stat__sep { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* Scroll cue */
.jshop-hero__scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}
.jshop-hero__scroll-cue span {
  display: block;
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 11px;
  position: relative;
}
.jshop-hero__scroll-cue span::before {
  content: '';
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
  animation: scrollCue 2s ease infinite;
}
@keyframes scrollCue { 0%,100%{opacity:1;top:5px} 60%{opacity:0;top:16px} }

/* ─── Marquee ─────────────────────────────────────────────────────── */
.jshop-marquee {
  overflow: hidden;
  background: var(--brand-red);
  padding-block: 11px;
}
.jshop-marquee__track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}
.jshop-marquee__item {
  flex-shrink: 0;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.25);
  white-space: nowrap;
}
@keyframes marqueeScroll { from{transform:translateX(0)} to{transform:translateX(-33.333%)} }

/* ─── Department Overview ─────────────────────────────────────────── */
.jshop-overview {
  padding-block: 80px;
  border-top: 1px solid var(--border);
}
.jshop-dept-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.jshop-dept-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.jshop-dept-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 0 1px rgba(200,16,46,.25), 0 20px 56px rgba(0,0,0,.4);
  border-color: rgba(200,16,46,.2);
}
.jshop-dept-card__img-wrap {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--bg-hover);
}
.jshop-dept-card__img,
.jshop-dept-card__img-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.jshop-dept-card__img-placeholder { background: linear-gradient(135deg, var(--bg-hover), var(--bg-card)); }
.jshop-dept-card:hover .jshop-dept-card__img { transform: scale(1.07); }
.jshop-dept-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,6,8,.7) 0%, transparent 55%);
}
.jshop-dept-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.jshop-dept-card__icon { font-size: 24px; margin-bottom: 2px; }
.jshop-dept-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-1);
}
.jshop-dept-card__desc { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.jshop-dept-card__count { font-size: 11px; color: var(--text-3); }
.jshop-dept-card__cta {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
}

/* ─── Per-department section ──────────────────────────────────────── */
.jshop-dept-sec {
  padding-block: 80px;
  border-top: 1px solid var(--border);
}
.jshop-dept-sec__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}
.jshop-dept-sec__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.jshop-dept-sec__info .j-eyebrow { margin-bottom: 0; }
.jshop-dept-sec__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.1;
}
.jshop-dept-sec__desc { font-size: 15px; color: var(--text-2); line-height: 1.7; }
.jshop-dept-sec__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-muted);
  border: 1px solid rgba(200,16,46,.18);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  width: fit-content;
}

.jshop-dept-sec__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-hover);
}
.jshop-dept-sec__img,
.jshop-dept-sec__img-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.jshop-dept-sec__img-placeholder { background: linear-gradient(135deg, var(--bg-hover), var(--bg-card)); }
.jshop-dept-sec:hover .jshop-dept-sec__img { transform: scale(1.03); }
.jshop-dept-sec__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(13,6,8,.6) 100%);
}
.jshop-dept-sec__visual-badge {
  position: absolute;
  bottom: 16px; right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,6,8,.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.jshop-dept-sec__visual-icon { font-size: 16px; }

/* Subcategory pills */
.jshop-dept-sec__subcats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
.jshop-dept-sec__subcats-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-right: 4px;
}
.jshop-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.jshop-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-muted);
}
.jshop-pill__icon { font-size: 11px; opacity: .5; }
.jshop-pill__count {
  font-size: 10px;
  font-weight: 700;
  background: var(--bg-hover);
  border-radius: var(--radius-pill);
  padding: 1px 7px;
  color: var(--text-3);
}
.jshop-pill:hover .jshop-pill__count { background: rgba(200,16,46,.12); color: var(--accent); }

/* Products sub-header */
.jshop-dept-sec__products-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.jshop-dept-products-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.jshop-dept-products-all {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: opacity var(--t-fast);
}
.jshop-dept-products-all:hover { opacity: .7; }

.jshop-dept-products { margin-bottom: 0; }

/* ─── Sales head ──────────────────────────────────────────────────── */
.jshop-sales__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .jshop-hero { min-height: 75vh; }
  .jshop-dept-sec__head { grid-template-columns: 1fr; gap: 32px; }
  .jshop-dept-sec__visual { order: -1; }
  .jshop-dept-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .jshop-hero { min-height: auto; padding-bottom: 80px; }
  .jshop-hero__ctas { flex-direction: column; }
  .jshop-hero__stats { gap: 16px; }
  .jshop-hero__scroll-cue { display: none; }
  .jshop-dept-cards { grid-template-columns: 1fr; }
  .jshop-dept-sec { padding-block: 56px; }
  .jshop-overview { padding-block: 56px; }
  .jshop-sales__head { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMB — works on dark (confiserie) + light (cosmetique)
   ═══════════════════════════════════════════════════════════════ */
.j-breadcrumb {
  padding: 14px 0;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.j-breadcrumb--light {
  background: rgba(196,154,108,.05);
  border-bottom: 1px solid rgba(196,154,108,.1);
}
.j-breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.j-breadcrumb__link {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: color var(--t-fast);
}
.j-breadcrumb--light .j-breadcrumb__link { color: #B09880; }
.j-breadcrumb__link:hover { color: rgba(255,255,255,.85); }
.j-breadcrumb--light .j-breadcrumb__link:hover { color: var(--brand-caramel); }
.j-breadcrumb__sep {
  font-size: 12px;
  color: rgba(255,255,255,.2);
  margin: 0 2px;
}
.j-breadcrumb--light .j-breadcrumb__sep { color: rgba(196,154,108,.35); }
.j-breadcrumb__current {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.75);
}
.j-breadcrumb--light .j-breadcrumb__current { color: #4A3728; }

/* ═══════════════════════════════════════════════════════════════
   SUBCATEGORY SECTIONS (MODE A) — shared skeleton
   ═══════════════════════════════════════════════════════════════ */

/* ── Wrapper ── */
.j-subcats-wrapper {
  padding-top: 56px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* ── One subcategory section ── */
.j-subcat-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Section header ── */
.j-subcat-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.j-subcat-section__info {
  display: flex;
  align-items: center;
  gap: 18px;
}
.j-subcat-section__img-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}
.j-subcat-section__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.j-subcat-section__icon {
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
}
.j-subcat-section__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.j-subcat-section__name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}
.j-subcat-section__name a {
  text-decoration: none;
  transition: color var(--t-fast);
}
.j-subcat-section__desc {
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}
.j-subcat-section__count {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.j-subcat-section__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

/* ── "Voir tout" link (header) ── */
.j-subcat-section__all {
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--t-fast);
}

/* ── Horizontal product scroll ── */
.j-subcat-section__scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 12px;
  align-items: stretch;
}
.j-subcat-section__scroll::-webkit-scrollbar { display: none; }

.j-subcat-section__item {
  flex: 0 0 220px;
  scroll-snap-align: start;
}

/* ── "See all" tile at the end of the scroll ── */
.j-subcat-section__see-all-tile {
  flex: 0 0 120px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all var(--t-fast);
  border: 1.5px dashed;
}
.j-subcat-section__see-all-icon {
  font-size: 24px;
  font-weight: 300;
  transition: transform var(--t-fast);
}
.j-subcat-section__see-all-tile:hover .j-subcat-section__see-all-icon {
  transform: translateX(4px);
}

/* ── Empty state inside a subcat section ── */
.j-subcat-section__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px dashed;
}
.j-subcat-section__empty-icon { font-size: 40px; opacity: .45; }

/* ─────────────────────────────────────────────────────────────────
   CONFISERIE THEME overrides for subcategory sections
   ───────────────────────────────────────────────────────────────── */
.conf-subcats-wrapper {
  background: #0D0608;
}

.conf-subcat-section .j-subcat-section__head {
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.conf-subcat-section .j-subcat-section__name { color: #fff; }
.conf-subcat-section .j-subcat-section__name a { color: #fff; }
.conf-subcat-section .j-subcat-section__name a:hover { color: var(--brand-caramel); }
.conf-subcat-section .j-subcat-section__desc { color: rgba(255,255,255,.38); }
.conf-subcat-section .j-subcat-section__count { color: rgba(255,255,255,.35); }
.conf-subcat-section .j-subcat-section__badge {
  background: rgba(200,16,46,.12);
  color: var(--brand-red);
  border: 1px solid rgba(200,16,46,.2);
}
.conf-subcat-all {
  border: 1.5px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6);
}
.conf-subcat-all:hover {
  border-color: var(--brand-red);
  color: #fff;
  background: rgba(200,16,46,.12);
}
.conf-see-all-tile {
  border-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.02);
}
.conf-see-all-tile:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: rgba(200,16,46,.06);
}
.conf-subcat-empty {
  background: rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.07);
  color: rgba(255,255,255,.35);
}

/* ─────────────────────────────────────────────────────────────────
   COSMETIQUE THEME overrides for subcategory sections
   ───────────────────────────────────────────────────────────────── */
.cosm-subcats-wrapper {
  background: #FFF8F2;
}

.cosm-subcat-section .j-subcat-section__head {
  border-bottom: 1px solid rgba(196,154,108,.15);
}
.cosm-subcat-section .j-subcat-section__name { color: #1A0E08; }
.cosm-subcat-section .j-subcat-section__name a { color: #1A0E08; }
.cosm-subcat-section .j-subcat-section__name a:hover { color: var(--brand-caramel); }
.cosm-subcat-section .j-subcat-section__desc { color: #6B5040; }
.cosm-subcat-section .j-subcat-section__count { color: #B09880; }
.cosm-subcat-section .j-subcat-section__badge {
  background: rgba(196,154,108,.1);
  color: var(--brand-caramel);
  border: 1px solid rgba(196,154,108,.2);
}
.cosm-subcat-all {
  border: 1.5px solid rgba(196,154,108,.25);
  color: var(--brand-caramel);
}
.cosm-subcat-all:hover {
  background: var(--brand-caramel);
  border-color: var(--brand-caramel);
  color: #fff;
}
.cosm-see-all-tile {
  border-color: rgba(196,154,108,.2);
  color: #B09880;
  background: rgba(196,154,108,.04);
}
.cosm-see-all-tile:hover {
  border-color: var(--brand-caramel);
  color: var(--brand-caramel);
  background: rgba(196,154,108,.08);
}
.cosm-subcat-empty {
  background: rgba(196,154,108,.04);
  border-color: rgba(196,154,108,.15);
  color: #B09880;
}

/* ── cosm-hero subcats nav ── */
.cosm-hero__subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

/* ─────────────────────────────────────────────────────────────────
   RESPONSIVE — subcategory sections
   ───────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .j-subcat-section__item { flex: 0 0 200px; }
  .j-subcat-section__see-all-tile { flex: 0 0 100px; }
}
@media (max-width: 640px) {
  .j-subcats-wrapper { gap: 48px; padding-top: 40px; padding-bottom: 56px; }
  .j-subcat-section__head { flex-direction: column; align-items: flex-start; }
  .j-subcat-section__all { width: 100%; text-align: center; }
  .j-subcat-section__item { flex: 0 0 180px; }
}
@media (max-width: 400px) {
  .j-subcat-section__item { flex: 0 0 160px; }
  .j-subcat-section__see-all-tile { flex: 0 0 80px; }
}
