/* =========================================================
   PROXIMODE — STYLESHEET CLEAN
   ========================================================= */

/* =========================
   THEME / TOKENS
   ========================= */
:root {
  --bg: #fff;
  --text: #000;
  --muted: #8a90a2;
  --line: rgba(0, 0, 0, 0.28);
  --soft-line: rgba(0, 0, 0, 0.08);
  --accent: #6ee7ff;

  --theme-f-bg: #fff5f7;
  --theme-f-accent: #d94b93;
  --theme-h-bg: #f5ffff;
  --theme-h-accent: #39b5e9;

  --cw-bg: rgba(0, 0, 0, 0.55);
  --cw-card: #fff;
  --cw-text: #111;
  --cw-muted: rgba(17, 17, 17, 0.7);
  --cw-border: rgba(0, 0, 0, 0.12);
}

/* =========================
   RESET / BASE
   ========================= */
* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body.splash-active,
body.page-product-details.lightbox-open {
  overflow: hidden;
}

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

p {
  font-size: 18px;
}

ul {
  list-style-position: inside;
}

.container {
  min-height: 100%;
  max-width: 90%;
  margin: 0 auto;
  padding: 0;
}

main.container {
  min-height: calc(100vh - 80px);
  padding-bottom: 60px;
}

.muted {
  color: var(--muted);
}

.is-hidden {
  display: none !important;
}

/* =========================
   SHARED UI
   ========================= */
.btn-ghost,
.btn-primary,
.btn-outline {
  cursor: pointer;
}

.btn-ghost {
  width: 34px;
  height: 34px;
  border: 1px solid #000;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-weight: 700;
}

.btn-primary {
  padding: 10px 14px;
  border: 1px solid #000;
  border-radius: 0;
  background: #000;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary:hover {
  background: #111;
}

.btn-outline,
.cw-btn,
.popup-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline {
  padding: 10px 18px;
  border: 1px solid rgba(0, 0, 0, 0.95);
  border-radius: 0;
  background: transparent;
  color: #000;
  font-weight: 700;
}

/* =========================
   HEADER / TOPBAR
   ========================= */
.topbar-hover-shell {
  position: relative;
  z-index: 1200;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  padding: 14px 18px;
  border-bottom: 2px solid #000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  overflow-x: clip;
}

#homeLogo {
  grid-column: 1;
}

.topbar-gender,
.topbar-search,
.topbar-right {
  display: flex;
  align-items: center;
}

.topbar-gender {
  grid-column: 2;
  justify-self: center;
  justify-content: center;
  gap: 10px;
}

.topbar-search {
  grid-column: 3;
  justify-self: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.topbar-right {
  grid-column: 4;
  justify-self: end;
  gap: 10px;
  position: relative;
}

.logo {
  width: auto;
  height: 34px;
  display: block;
}

.logo-desktop {
  display: block;
}

.logo-mobile {
  display: none;
}

.logo-wrap {
  display: inline-block;
}

.logo-swing {
  transform-origin: 50% 0%;
  animation: hangerSwing 15s ease-in-out infinite;
}

.topbar-search-input {
  width: 100%;
  max-width: 420px;
  padding: 10px 12px;
  border: 2px solid #000;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  outline: none;
}

.topbar-search-btn {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.gender-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 2px solid #000;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.gender-btn:hover,
body.page-home-base .gender-btn:hover {
  background: #000 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.topbar-gender:has(.gender-btn.is-active) .gender-btn:not(.is-active) {
  transform: scale(0.9);
  opacity: 0.7;
}

.topbar-hover-shell .topbar-gender .gender-btn.is-active {
  background: #000 !important;
  color: #fff !important;
  border: 3px solid #000 !important;
  transform: none !important;
}

.topbar-hover-shell.theme-f .topbar,
.topbar-hover-shell.theme-f .topbar-rubriques-hover,
.topbar-hover-shell.theme-f .topbar-rubriques-inner,
.topbar-hover-shell.theme-f .topbar-rubriques-list,
.topbar-hover-shell.theme-f .topbar-sub-list.is-open {
  background: var(--theme-f-bg) !important;
}

.topbar-hover-shell.theme-h .topbar,
.topbar-hover-shell.theme-h .topbar-rubriques-hover,
.topbar-hover-shell.theme-h .topbar-rubriques-inner,
.topbar-hover-shell.theme-h .topbar-rubriques-list,
.topbar-hover-shell.theme-h .topbar-sub-list.is-open {
  background: var(--theme-h-bg) !important;
}

/* Cart icon */
.cart-icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid #000 !important;
  border-radius: 14px;
  background: #fff !important;
  cursor: pointer;
}

.cart-icon {
  width: 30px;
  height: 30px;
  display: block;
  filter: none !important;
}

.cart-icon-btn:hover {
  background: #000 !important;
}

.cart-icon-btn:hover .cart-icon {
  filter: brightness(0) invert(1) !important;
}

.cart-badge {
  position: absolute;
  top: -9px;
  right: -9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border: 2px solid #000;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

/* Header context */
.topbar-context-strip {
  position: absolute;
  top: calc(100% - 2px);
  left: 18px;
  z-index: 1300;
  pointer-events: none;
}

.topbar-context-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 3px 8px;
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.topbar-hover-shell.theme-f .topbar-context-box {
  background: var(--theme-f-accent);
}

.topbar-hover-shell.theme-h .topbar-context-box {
  background: var(--theme-h-accent);
}

.topbar-context-rub,
.topbar-context-sub {
  white-space: nowrap;
}

.topbar-context-sep {
  opacity: 0.8;
}

/* =========================
   HEADER RUBRIQUES HOVER
   ========================= */
.topbar-rubriques-hover {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.topbar-rubriques-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 20px 18px;
}

.topbar-rubriques-list {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
}

.topbar-rubriques-list.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.topbar-rub-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.topbar-rub-col {
  flex: 1 1 clamp(54px, 8vw, 100px);
  width: clamp(54px, 8vw, 100px);
  max-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.topbar-rubriques-list.is-active .topbar-rub-col,
.topbar-sub-list.is-open .topbar-sub-link {
  opacity: 1;
  transform: translateY(0);
}

.topbar-rubriques-list.is-active .topbar-rub-col:nth-child(1) { transition-delay: 0.02s; }
.topbar-rubriques-list.is-active .topbar-rub-col:nth-child(2) { transition-delay: 0.05s; }
.topbar-rubriques-list.is-active .topbar-rub-col:nth-child(3) { transition-delay: 0.08s; }
.topbar-rubriques-list.is-active .topbar-rub-col:nth-child(4) { transition-delay: 0.11s; }
.topbar-rubriques-list.is-active .topbar-rub-col:nth-child(5) { transition-delay: 0.14s; }
.topbar-rubriques-list.is-active .topbar-rub-col:nth-child(6) { transition-delay: 0.17s; }
.topbar-rubriques-list.is-active .topbar-rub-col:nth-child(7) { transition-delay: 0.20s; }
.topbar-rubriques-list.is-active .topbar-rub-col:nth-child(8) { transition-delay: 0.23s; }

.topbar-rub-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  margin: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  appearance: none;
}

.topbar-rub-card:hover,
.topbar-rub-card.is-current {
  border-color: #000;
}

.topbar-rub-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #f5f5f5;
}

.topbar-rub-title-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: #fff;
  font-size: clamp(5.7px, 1.6vw, 10px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 4px 18px rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.topbar-sub-panels {
  width: 100%;
  max-width: calc((220px * 6) + (24px * 5));
  margin: 0 auto;
}

.topbar-sub-list {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0s linear 0.24s;
  max-height: 0;
  padding-top: 0;
  margin-top: 0;
  border-top: 1px solid transparent;
}

.topbar-sub-list.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
  max-height: 220px;
  padding-top: 14px;
  margin-top: 2px;
  border-top-color: rgba(0, 0, 0, 0.08);
}

.topbar-sub-list::-webkit-scrollbar {
  height: 6px;
}

.topbar-sub-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}

.topbar-sub-link {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 78px;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.topbar-sub-link:hover,
.topbar-sub-link.is-current {
  text-decoration: underline;
}

.topbar-sub-link.is-all {
  font-weight: 600;
}

.topbar-sub-link.is-current {
  font-weight: 700;
}

.topbar-sub-list.is-open .topbar-sub-link:nth-child(1) { transition-delay: 0.03s; }
.topbar-sub-list.is-open .topbar-sub-link:nth-child(2) { transition-delay: 0.06s; }
.topbar-sub-list.is-open .topbar-sub-link:nth-child(3) { transition-delay: 0.09s; }
.topbar-sub-list.is-open .topbar-sub-link:nth-child(4) { transition-delay: 0.12s; }
.topbar-sub-list.is-open .topbar-sub-link:nth-child(5) { transition-delay: 0.15s; }
.topbar-sub-list.is-open .topbar-sub-link:nth-child(6) { transition-delay: 0.18s; }
.topbar-sub-list.is-open .topbar-sub-link:nth-child(7) { transition-delay: 0.21s; }
.topbar-sub-list.is-open .topbar-sub-link:nth-child(8) { transition-delay: 0.24s; }
.topbar-sub-list.is-open .topbar-sub-link:nth-child(9) { transition-delay: 0.27s; }

.topbar-sub-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f5f5;
  flex: 0 0 42px;
}

.topbar-sub-label {
  display: block;
  width: 100%;
}

/* =========================
   SIDE MENU
   ========================= */
.side-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(0, 0, 0, 0.35);
}

.side-menu-backdrop.is-open {
  display: block;
}

.side-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: min(88vw, 360px);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
}

.side-menu-backdrop.is-open .side-menu {
  transform: translateX(0);
}

.side-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 2px solid #000;
}

.side-menu-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.side-menu-close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.side-menu-body {
  padding: 10px 0;
  overflow-y: auto;
}

.side-menu-group + .side-menu-group {
  border-top: 1px solid var(--soft-line);
}

.side-menu-link,
.side-submenu-link {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  color: #000;
  text-align: left;
  cursor: pointer;
}

.side-menu-link {
  font-weight: 800;
}

.side-menu-link.is-active,
.side-submenu-link.is-active {
  background: rgba(0, 0, 0, 0.08);
}

.side-submenu {
  display: none;
  padding: 0 0 6px;
  background: rgba(0, 0, 0, 0.03);
}

.side-submenu.is-open {
  display: block;
}

.side-submenu-link {
  padding-left: 28px;
  font-size: 14px;
}

/* =========================
   RUBRIQUES / SUBRUBRIQUES BAR
   ========================= */
.rubriques,
.subrubriques {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  border: 1px solid #000;
}

.rubriques.no-border {
  border-bottom: none;
}

.subrubriques {
  border-top: none;
}

.rubriques .rub-link,
.subrubriques .sub-link {
  flex: 1 1 0;
  position: relative;
  padding: 5px 0;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  text-align: center;
  white-space: nowrap;
}

.subrubriques .sub-link,
.rubriques .rub-link.active {
  background: rgba(120, 72, 38, 0.08);
}

.rubriques .rub-link.active,
.subrubriques .sub-link.active {
  font-weight: 600;
}

.rubriques .rub-link + .rub-link::before,
.subrubriques .sub-link + .sub-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 1.6em;
  background: rgba(0, 0, 0, 0.25);
  transform: translateY(-50%);
}

/* =========================
   PRODUCT GRID / CARDS
   ========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.card,
.product-card {
  position: relative;
  overflow: hidden;
}

.card {
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(17, 19, 26, 0.65);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 231, 255, 0.35);
}

.card-square {
  display: block;
  position: relative;
  aspect-ratio: 4 / 7;
  overflow: hidden;
}

.card-square .card-img,
.product-card .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-card {
  --card-img-scale: 1;
  --card-img-hover-scale: 1.6;
}

.product-card .card-img {
  transform: scale(var(--card-img-scale));
  transform-origin: center;
  transition: opacity 0.25s ease, transform 0.35s ease, filter 0.35s ease;
}

.product-card:hover .card-img {
  transform: scale(var(--card-img-hover-scale));
}

.product-card.is-switching .card-img {
  opacity: 0;
  transform: scale(var(--card-img-scale));
}

.product-card .card-overlay {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-card:hover .card-overlay {
  transform: translateY(-4px);
}

.card-overlay {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  background: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-overlay-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #000;
  font-weight: 400;
}

.card-overlay-price {
  white-space: nowrap;
  color: #000;
  font-weight: 800;
}

.price-tag {
  display: none !important;
}

.swatches {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  display: flex;
  gap: 6px;
}

.swatch,
.pd-color-swatch {
  padding: 0;
  border-radius: 4px;
  background: var(--swatch);
  cursor: pointer;
}

.swatch {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, outline-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.swatch:hover {
  transform: scale(1.18);
}

.swatch.active {
  outline: 1px solid #000 !important;
  outline-offset: 1px !important;
  transform: scale(1.04) !important;
}

.product-card.is-soldout {
  opacity: 0.55;
  cursor: not-allowed;
}

.product-card.is-soldout * {
  pointer-events: none;
}

.product-card .soldout-flag {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(1px);
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

#productGrid.is-search-waiting .product-card {
  opacity: 0.25;
  transform: scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-card.search-appear {
  animation: productSearchAppear 0.45s ease both;
}

/* =========================
   HOME / HERO / SLIDER
   ========================= */
.hero {
  width: 100%;
  overflow: hidden;
}

.home-banner {
  width: 100%;
  height: auto;
  display: block;
}

.home-fullscreen {
  margin: 0;
  padding: 0;
}

.home-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  max-height: 620px;
  min-height: 380px;
  margin: 20px auto;
  overflow: hidden;
  background: #fff;
}

.home-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.home-slide {
  position: relative;
  min-width: 100%;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  background: #fff;
}

.home-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transform: scale(1.3);
  transform-origin: center;
}
.home-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  border: none;
  background: none;
  color: #000;
  font-size: 58px;
  cursor: pointer;
  transform: translateY(-50%);
}

.home-slider-prev {
  left: 18px;
}

.home-slider-next {
  right: 18px;
}

.home-slider-arrow:hover {
  color: #727272;
}

.home-slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  text-align: center;
  pointer-events: none;
  background: linear-gradient(
  to bottom,
  rgba(0,0,0,00.025),
  rgba(0,0,0,0.0)
);
}

.home-slide-center {
  max-width: 90%;
}

.home-slide-title {
  margin-bottom: 12px;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.75);
  /*color:red;*/
}

.home-slide-price {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.75);
}

/* Home SEO intro */
body.page-home-base {
  --home-header-offset: 74px;
}

.seo-intro {
  max-width: 980px;
  margin: 18px auto;
  padding: 0 18px;
  color: #000;
  text-align: center;
}

.seo-intro h1 {
  margin: 0 0 8px;
  font-size: clamp(240px, 4vw, 420px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.seo-intro p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.82;
}

body.page-home-base .seo-intro--home {
  width: min(92%, 1100px);
  margin: var(--home-header-offset) auto 18px;
  padding: 18px 16px 0;
}

body.page-home-base .seo-intro--home h1 {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
}

body.page-home-base .seo-intro--home p {
  max-width: 760px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(0, 0, 0, 0.75);
  opacity: 1;
}

/* Home base layout */
body.page-home-base #topbarHoverShell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  width: 100%;
}

body.page-home-base .topbar {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  z-index: 1201;
  background: rgba(255,255, 255, 0.90); !important;
  backdrop-filter: none !important;
  border-bottom: 2px solid #000 !important;
}

body.page-home-base .topbar-rubriques-hover {
  z-index: 1200;
}

body.page-home-base .site-footer {
  position: static;
  width: 100%;
  margin-top: 24px;
  background: transparent !important;
}

body.page-home-base .gender-btn,
body.page-home-base .menu-toggle-btn,
body.page-home-base .cart-icon-btn,
body.page-home-base .topbar-search-input,
body.page-home-base .footer-newsletter input,
body.page-home-base .footer-socials a {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

body.page-home-base .home-slider {
  width: min(100%, 70%);
  height: clamp(380px, 52vh, 560px);
  min-height: 0;
  max-height: 560px;
  margin: 20px auto;
}

/* =========================
   NEWS TICKER
   ========================= */
.news-ticker {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
}

.news-ticker__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 18px;
}

.news-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 10%;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-ltr 18s linear infinite;
}

.news-ticker__item {
  color: #000;
  font-size: 14px;
  font-weight: 800;
}

.news-ticker__sep {
  opacity: 0.55;
  font-weight: 900;
}

/* =========================
   SEARCH SUGGEST
   ========================= */
.search-wrap {
  position: relative;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 9999;
  display: none;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.search-suggest.open {
  display: block;
}

.search-suggest .item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

.search-suggest .item:hover,
.search-suggest .item.active {
  background: rgba(0, 0, 0, 0.05);
}

/* =========================
   CART DROPDOWN
   ========================= */
.cart-dropdown {
  position: absolute;
  top: 60px;
  right: 0;
  width: 360px;
  overflow: hidden;
  border: 2px solid #000;
  border-radius: 1px;
  background: #fff;
  color: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.cart-empty {
  padding: 16px;
  font-size: 14px;
}

.cart-items {
  max-height: 360px;
  overflow: auto;
  padding: 8px 8px 0;
}

.cart-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid var(--soft-line);
}

.cart-row:hover {
  background: rgba(0, 0, 0, 0.04);
}

.cart-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-title {
  font-weight: 900;
}

.cart-sub {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.cart-actions {
  display: flex;
  align-items: center;
}

.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid #000;
  background: #fff;
}

.cart-total {
  font-size: 14px;
}

/* =========================
   FOOTER
   ========================= */
.site-footer {
  padding: 28px 18px;
  border-top: 2px solid #000;
  background: transparent !important;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-links,
.footer-newsletter,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-links {
  gap: 60px;
}

.footer-newsletter {
  gap: 14px;
}

.footer-newsletter input {
  width: 380px;
  max-width: 80vw;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.95);
  background: transparent;
  outline: none;
}

.footer-newsletter button {
  padding: 10px 18px;
  border: 1px solid rgba(0, 0, 0, 0.95);
  background: transparent;
  color: #000 !important;
  cursor: pointer;
}

.footer-socials {
  gap: 14px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.footer-socials img {
  width: 35px;
  height: 35px;
  display: block;
  object-fit: contain;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.8;
  text-align: center;
}

/* =========================
   CONTENT WINDOW / BRAND MODAL
   ========================= */
.cw-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: var(--cw-bg);
}

.cw-modal-overlay.is-open {
  display: flex;
}

.cw-modal {
  width: min(720px, 92vw);
  max-height: 80%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--cw-card);
  color: var(--cw-text);
  border: 1px solid var(--cw-border);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(6px);
  animation: cwIn 0.18s ease-out forwards;
  scrollbar-width: thin;
  scrollbar-color: var(--cw-border) transparent;
}

.cw-modal::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.cw-modal::-webkit-scrollbar-track {
  background: transparent;
}

.cw-modal::-webkit-scrollbar-thumb {
  background: var(--cw-border);
  border-radius: 999px;
}

.cw-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--cw-border);
}

.cw-modal-header h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.3px;
}

.cw-modal-close {
  border: 0;
  background: transparent;
  color: var(--cw-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
}

.cw-modal-close:hover {
  opacity: 1;
}

.cw-modal-text {
  margin: 0 0 14px;
  color: var(--cw-muted);
  line-height: 1.5;
}

.cw-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.cw-brand-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 16px 12px;
  border: none;
  border-radius: 3px;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.cw-brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cw-brand-card:hover {
  transform: translateY(-2px);
}

.cw-brand-card:hover::before {
  opacity: 0.65;
  transform: scale(1.05);
}

.cw-brand-card.is-active {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18) inset;
}

.cw-brand-card--cerafic::before {
  background-image: url("img/brands/cerafic.png");
}

.cw-brand-card--cowrie::before {
  background-image: url("img/brands/cowrie.png");
}

.cw-brand-card--brand3::before {
  background-image: url("images/brands/brand3.jpg");
}

.cw-brand-logo {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-align: center;
}

.cw-brand-panel,
.cw-brand-content {
  display: none;
}

.cw-brand-panel.is-open,
.cw-brand-content.is-visible {
  display: block;
}

.cw-brand-placeholder {
  padding-top: 14px;
  color: var(--cw-muted);
  border-top: 1px solid var(--cw-border);
}

.cw-brand-content {
  color: var(--cw-muted);
  animation: cwDrop 0.16s ease-out;
}

.cw-btn {
  margin: 10px 0;
  padding: 10px 14px;
  border: 1px solid var(--cw-border);
  background: rgba(0, 0, 0, 0.03);
  color: var(--cw-text);
}

.cw-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* =========================
   PRODUCT DETAILS
   ========================= */
body.page-product-details .pd-page,
body.page-checkout .co-page {
  height: calc(100vh - 80px);
  margin: 0;
  padding: 0;
}

body.page-product-details .pd-split,
body.page-checkout .co-split {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

body.page-product-details .pd-left {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}

body.page-product-details .pd-image {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: transparent;
  box-shadow: none;
  object-fit: cover;
  object-position: center;
  transform: scale(0.5);
  transform-origin: center;
}

body.page-product-details .pd-image-open {
  cursor: zoom-in;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  outline: none;
}

body.page-product-details .pd-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  border: none;
  background: transparent;
  color: #000;
  font-size: 35px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

body.page-product-details .pd-left-arrow {
  left: 18px;
}

body.page-product-details .pd-right-arrow {
  right: 18px;
}

body.page-product-details .pd-right,
body.page-checkout .co-left,
body.page-checkout .co-right {
  height: 100%;
  overflow: auto;
  padding: 60px 70px;
  background: #fff;
  color: #000;
}

body.page-product-details .pd-right,
body.page-checkout .co-right {
  border-left: 1px solid var(--line);
}

body.page-product-details .pd-right-content,
body.page-checkout .co-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.page-product-details .pd-right-content {
  justify-content: space-between;
  gap: 10px;
}

body.page-product-details .pd-title {
  margin: 0 0 10px;
  font-size: 45px;
  font-weight: 900;
  letter-spacing: 1px;
}

body.page-product-details .pd-desc {
  margin-left: 10px;
  max-width: 100%;
  font-size: 15px;
  line-height: 1.4;
}

body.page-product-details .pd-desc-star {
  font-size: 17px;
}

body.page-product-details .pd-mid,
.pd-price-block {
  display: flex;
  justify-content: flex-end;
}

.pd-price-block {
  width: 100%;
  margin: 10px 0;
}

body.page-product-details .pd-price {
  font-size: 22px;
  font-weight: 800;
}

body.page-product-details .pd-service-block {
  display: grid;
  gap: 7px;
  margin: 4px 0 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.page-product-details .pd-service-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.68);
}

body.page-product-details .pd-service-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
}

body.page-product-details .pd-control {
  width: 100%;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 25px;
  text-align: right;
}

body.page-product-details .pd-control span,
body.page-checkout .co-field span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.75;
}

body.page-product-details .pd-controls .pd-control:last-child {
  margin-left: auto;
  text-align: right;
}

body.page-product-details .pd-controls .pd-control:last-child select {
  min-width: 120px;
}

body.page-product-details .pd-sizes,
.pd-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pd-colors {
  gap: 8px;
  margin-top: 6px;
}

body.page-product-details .pd-size-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.page-product-details .pd-size-box {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.95);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  user-select: none;
  cursor: pointer;
}

body.page-product-details .pd-size-radio:checked + .pd-size-box {
  background: #111;
  color: #fff;
}

body.page-product-details .pd-size-radio:focus-visible + .pd-size-box {
  outline: 2px solid rgba(110, 231, 255, 0.9);
  outline-offset: 2px;
}

.pd-color-swatch {
  width: 22px;
  height: 22px;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.pd-color-swatch.active {
  outline: 2px solid #000;
  outline-offset: 2px;
}

body.page-product-details .pd-actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 20px;
}

body.page-product-details .pd-back {
  background: #000;
  color: #fff;
  border-color: #000;
}

body.page-product-details .pd-back:hover {
  background: #111;
}

body.page-product-details .pd-stock-alert {
  margin-top: 8px;
  color: #c2410c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

/* Product composition accordion */
body.page-product-details .pd-composition {
  margin-top: 15px;
  max-width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.page-product-details .pd-composition-toggle {
  width: 100%;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
}

body.page-product-details .pd-composition-toggle span {
  transition: transform 0.25s ease;
}

body.page-product-details .pd-composition-content {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 0.28s ease, opacity 0.22s ease, padding 0.28s ease;
}

body.page-product-details .pd-composition-content > div {
  min-height: 0;
}

body.page-product-details .pd-composition.is-open .pd-composition-content {
  grid-template-rows: 1fr;
  padding: 0 0 14px;
  opacity: 0.85;
}

body.page-product-details .pd-composition.is-open .pd-composition-toggle span {
  transform: rotate(45deg);
}

/* Product lightbox */
body.page-product-details .pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  grid-template-rows: 1fr;
  align-items: center;
  justify-items: center;
  background: rgba(0, 0, 0, 0.88);
  overflow: hidden;
}

body.page-product-details .pd-lightbox.is-open {
  display: grid;
}

body.page-product-details .pd-lightbox-dialog {
  grid-column: 2;
  width: min(540px, calc(100vw - 160px));
  aspect-ratio: 9 / 16;
  max-height: calc(100dvh - 30px);
  overflow: hidden;
  display: block;
  position: relative;
}

body.page-product-details .pd-lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  display: block;
}

body.page-product-details .pd-lightbox-prev { grid-column: 1; }
body.page-product-details .pd-lightbox-next { grid-column: 3; }

body.page-product-details .pd-lightbox-arrow {
  position: static;
  z-index: 100001;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 64px;
  line-height: 1;
  cursor: pointer;
  transform: none;
}

body.page-product-details .pd-lightbox-close {
  position: fixed;
  top: 14px;
  right: 20px;
  z-index: 100002;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

/* =========================
   CHECKOUT
   ========================= */
body.page-checkout .co-left {
  display: flex;
  flex-direction: column;
}

body.page-checkout .co-title {
  margin: 0 0 18px;
  font-size: 40px;
  font-weight: 900;
}

body.page-checkout .co-alert {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
}

body.page-checkout .co-alert-ok {
  background: rgba(110, 231, 255, 0.1);
}

body.page-checkout .co-alert-err {
  background: rgba(255, 0, 0, 0.06);
}

body.page-checkout .co-alert-sub {
  margin-top: 6px;
  font-size: 13px;
}

body.page-checkout .co-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

body.page-checkout .co-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.page-checkout .co-field input,
body.page-checkout .co-field .addr-autocomplete input.co-input-like {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(95, 91, 91, 0.95);
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: inherit;
  outline: none;
}

body.page-checkout .co-field .addr-autocomplete input.co-input-like {
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

body.page-checkout .co-field .addr-autocomplete input.co-input-like:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

body.page-checkout .co-field-full {
  grid-column: 1 / -1;
}

body.page-checkout .co-actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
}

/* Address autocomplete */
body.page-checkout .addr-autocomplete {
  position: relative;
  width: 100%;
}

body.page-checkout .addr-autocomplete.is-valid input.co-input-like {
  border-color: rgba(20, 130, 70, 0.8) !important;
  background: rgba(20, 130, 70, 0.035) !important;
}

body.page-checkout .addr-autocomplete.is-error input.co-input-like {
  border-color: rgba(220, 38, 38, 0.9) !important;
  background: rgba(220, 38, 38, 0.035) !important;
}

body.page-checkout .addr-suggestions {
  position: absolute;
  z-index: 9999;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

body.page-checkout .addr-suggestion {
  width: 100%;
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

body.page-checkout .addr-suggestion:last-child {
  border-bottom: 0;
}

body.page-checkout .addr-suggestion:hover,
body.page-checkout .addr-suggestion.is-active {
  background: rgba(0, 0, 0, 0.06);
}

body.page-checkout .addr-suggestion-main {
  display: block;
  font-weight: 800;
  line-height: 1.25;
}

body.page-checkout .addr-suggestion-sub,
body.page-checkout .addr-empty,
body.page-checkout .addr-status {
  font-size: 13px;
  line-height: 1.35;
  opacity: 0.75;
}

body.page-checkout .addr-suggestion-sub {
  display: block;
  opacity: 0.68;
  line-height: 1.25;
}

body.page-checkout .addr-empty {
  padding: 11px 12px;
}

body.page-checkout .addr-status {
  min-height: 18px;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.58);
  opacity: 1;
}

body.page-checkout .addr-status.is-ok { color: rgba(20, 130, 70, 0.95); }
body.page-checkout .addr-status.is-error { color: rgba(190, 18, 60, 0.95); }
body.page-checkout .addr-status.is-loading { color: rgba(0, 0, 0, 0.72); }

html.pp-hide-pac .pac-container {
  display: none !important;
}

/* Checkout summary */
body.page-checkout .co-summary-head,
body.page-checkout .co-item-top,
body.page-checkout .co-item-bottom,
body.page-checkout .co-total-row,
body.page-checkout .co-grand,
.co-ship-opt,
.co-pickup {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

body.page-checkout .co-summary-head {
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

body.page-checkout .co-summary-title {
  font-size: 18px;
  font-weight: 900;
}

body.page-checkout .co-summary-sub,
body.page-checkout .co-unit,
.co-pickup .sub,
.co-pickup .ready {
  font-size: 13px;
  opacity: 0.8;
}

body.page-checkout .co-summary-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: auto;
  padding: 16px 0;
}

body.page-checkout .co-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--soft-line);
}

body.page-checkout .co-thumb {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 0;
}

body.page-checkout .co-item-meta {
  min-width: 0;
}

body.page-checkout .co-item-title {
  margin-bottom: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 900;
}

body.page-checkout .co-remove {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.95);
  background: transparent;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
}

body.page-checkout .co-item-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

body.page-checkout .co-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  font-size: 12px;
}

body.page-checkout .co-color {
  width: 12px;
  height: 12px;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: var(--c);
}

body.page-checkout .co-qtyctl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.page-checkout .co-qty-btn,
body.page-checkout .co-qty-input {
  width: 25px;
  height: 25px;
  border: 1px solid rgba(0, 0, 0, 0.95);
  background: transparent;
}

body.page-checkout .co-qty-btn {
  font-weight: 900;
  cursor: pointer;
}

body.page-checkout .co-qty-input {
  width: 44px;
  text-align: center;
  outline: none;
}

body.page-checkout .co-prices {
  text-align: right;
  white-space: nowrap;
}

body.page-checkout .co-line {
  font-size: 14px;
}

body.page-checkout .co-summary-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.page-checkout .co-total-row {
  font-size: 13px;
}

body.page-checkout .co-grand {
  font-size: 16px;
  font-weight: 900;
}

/* Shipping UI */
.co-ship-select,
.co-pickup {
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 1px;
  background: #fff;
}

.co-ship-select {
  overflow: hidden;
}

.co-ship-opt {
  align-items: center;
  padding: 14px;
  user-select: none;
  cursor: pointer;
}

.co-ship-opt + .co-ship-opt {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.co-ship-opt .left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.co-ship-opt input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.co-ship-opt.is-active {
  background: rgba(0, 0, 0, 0.04);
}

.co-pickup {
  margin-top: 10px;
  padding: 12px 14px;
  gap: 14px;
}

.co-pickup .title,
.co-pickup .free {
  font-weight: 700;
}

.co-pickup .right {
  text-align: right;
  font-size: 13px;
}

.co-pickup .free {
  font-weight: 800;
}

/* =========================
   RAFFLE PAGE
   ========================= */
body.page-raffle main.container {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.page-raffle .raffle-title {
  margin: 0;
  font-size: 16px;
  font-weight: 1000;
  letter-spacing: 0.2px;
  text-align: center;
}

body.page-raffle .raffle-desc {
  width: 100%;
  max-width: 700px;
  margin: 12px auto 0;
  color: rgba(0, 0, 0, 0.78);
  font-size: 18px;
  line-height: 1.55;
  text-align: center;
}

body.page-raffle .grid {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

.raffle-price,
body.page-raffle .raffle-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

body.page-raffle .raffle-price {
  gap: 10px;
}

.raffle-price .old-price,
body.page-raffle .raffle-price .old-price {
  text-decoration: line-through;
  opacity: 0.65;
}

body.page-raffle .raffle-price .old-price {
  font-weight: 800;
}

.raffle-price .old-price {
  font-weight: 200;
}

body.page-raffle .raffle-price .new-price {
  font-weight: 600;
}

.raffle-price .new-price {
  font-weight: 500;
}

body.page-raffle .raffle-form {
  width: 100%;
  max-width: 520px;
  margin: 16px auto 0;
  padding-top: 16px;
  border-top: 2px solid #000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.page-raffle .raffle-form .field {
  width: 100%;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.page-raffle .raffle-form .field label {
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.75;
}

body.page-raffle .raffle-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(95, 91, 91, 0.95);
  border-radius: 3px;
  background: transparent;
  outline: none;
}

body.page-raffle .raffle-form button {
  align-self: center;
}

body.page-raffle .raffle-msg {
  width: 100%;
  max-width: 520px;
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  text-align: center;
  font-weight: 700;
}

body.page-raffle .raffle-msg.ok {
  background: rgba(110, 231, 255, 0.1);
}

body.page-raffle .raffle-msg.err {
  background: rgba(255, 0, 0, 0.06);
}

.raffle-grid {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 10px;
}

.raffle-grid .card {
  flex: 1 1 0;
  min-width: 0;
  cursor: default;
}

/* =========================
   SPLASH SCREEN
   ========================= */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  transition: opacity 0.6s ease;
}

.splash-screen.splash-hide {
  opacity: 0;
  pointer-events: none;
}

.splash-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-logo,
.splash-logo5 {
  min-width: 220px;
  height: auto;
  transform-origin: top center;
  animation: logo-swing 5s ease-in-out 1;
}

.splash-logo {
  width: 80%;
}

.splash-logo5 {
  width: auto;
}

/* =========================
   FLOATING BUTTONS / POPUPS
   ========================= */
#sideNudgeBtn,
#raffleNudgeBtn,
#valentinNudgeBtn {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  position: fixed;
  left: 0;
  z-index: 9998;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  --peek-x: -30%;
  transform: translate(var(--peek-x), -50%);
}

#sideNudgeBtn,
#raffleNudgeBtn {
  padding: 10px 2px 10px 10px;
  background: #111;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.1px;
  transition: transform 0.35s ease, box-shadow 0.2s ease;
}

#valentinNudgeBtn {
  padding: 10px 0 10px 10px;
  background: red;
  color: #000;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.1px;
  transition: transform 0.22s ease, box-shadow 0.2s ease;
}

#sideNudgeBtn { top: calc(50% - 120px); }
#raffleNudgeBtn { top: 50%; }
#valentinNudgeBtn { top: calc(50% + 110px); }

#sideNudgeBtn:hover,
#raffleNudgeBtn:hover,
#valentinNudgeBtn:hover,
#sideNudgeBtn:focus-visible,
#raffleNudgeBtn:focus-visible,
#valentinNudgeBtn:focus-visible {
  transform: translate(-8px, -50%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

#sideNudgeBtn.is-visible,
#raffleNudgeBtn.is-visible {
  transform: translate(var(--peek-x), -50%);
}

#sideNudgeBtn.is-nudge,
#raffleNudgeBtn.is-nudge,
#valentinNudgeBtn.is-nudge {
  animation: side-nudge 1.2s ease-in-out 1;
}

#sidePopupBackdrop,
#rafflePopupBackdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.35);
}

#sidePopupBackdrop.is-open,
#rafflePopupBackdrop.is-open {
  display: flex;
}

#sidePopup,
#rafflePopup {
  width: min(60%, 100%);
  max-height: calc(100dvh - 24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

#sidePopupHeader,
#rafflePopupHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--soft-line);
}

#sidePopupTitle,
#rafflePopupTitle {
  margin: 0;
  font-size: 20px;
  font-weight: 1000;
}

#sidePopupClose,
#rafflePopupClose {
  padding: 6px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

#sidePopupClose:hover,
#rafflePopupClose:hover {
  background: rgba(0, 0, 0, 0.06);
}

#sidePopupBody,
#rafflePopupBody {
  flex: 1;
  min-height: 120px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 16px 18px;
}

.popup-text {
  margin: 0 0 12px;
  color: #222;
  font-size: 18px;
  line-height: 1.5;
}

.popup-cta {
  margin: 6px 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.popup-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes hangerSwing {
  0%, 75%, 100% { transform: rotate(0); }
  80% { transform: rotate(-8deg); }
  85% { transform: rotate(8deg); }
  90% { transform: rotate(-4deg); }
  95% { transform: rotate(4deg); }
}

@keyframes ticker-ltr {
  from { transform: translateX(-50%); }
  to { transform: translateX(0%); }
}

@keyframes cwIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cwDrop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-swing {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-5deg); }
  25% { transform: rotate(5deg); }
  40% { transform: rotate(-4deg); }
  55% { transform: rotate(4deg); }
  70% { transform: rotate(-2deg); }
  85% { transform: rotate(2deg); }
}

@keyframes side-nudge {
  0%, 100% { transform: translate(var(--peek-x), -50%); }
  30% { transform: translate(calc(var(--peek-x) + 12px), -50%); }
  60% { transform: translate(var(--peek-x), -50%); }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes productSearchAppear {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Page entry animations */
body.page-product-details .pd-animate .pd-anim-left,
body.page-product-details .pd-animate .pd-anim-right,
body.page-product-details .pd-animate .pd-actions,
body.page-checkout .co-animate .co-anim-left,
body.page-checkout .co-animate .co-anim-right,
body.page-checkout .co-animate .co-anim-cta,
.home-animate .home-anim-banner,
.home-animate .home-anim-grid,
.home-animate .card {
  opacity: 0;
  animation: fadeUp 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

body.page-product-details .pd-animate .pd-anim-left,
body.page-checkout .co-animate .co-anim-left {
  transform: translateX(-14px);
}

body.page-product-details .pd-animate .pd-anim-right,
body.page-checkout .co-animate .co-anim-right {
  transform: translateX(14px);
}

body.page-product-details .pd-animate .pd-actions,
body.page-checkout .co-animate .co-anim-cta,
.home-animate .home-anim-banner,
.home-animate .home-anim-grid,
.home-animate .card {
  transform: translateY(10px);
}

.home-animate .home-anim-banner { animation-delay: 0.05s; }
.home-animate .home-anim-grid { animation-delay: 0.12s; }
body.page-product-details .pd-animate .pd-anim-left,
body.page-product-details .pd-animate .pd-anim-right { animation-delay: 0.4s; }
body.page-product-details .pd-animate .pd-actions { animation-delay: 0.5s; }
body.page-checkout .co-animate .co-anim-left { animation-delay: 0.05s; }
body.page-checkout .co-animate .co-anim-right { animation-delay: 0.12s; }
body.page-checkout .co-animate .co-anim-cta { animation-delay: 0.22s; }

.home-animate .card:nth-child(1) { animation-delay: 0.14s; }
.home-animate .card:nth-child(2) { animation-delay: 0.17s; }
.home-animate .card:nth-child(3) { animation-delay: 0.20s; }
.home-animate .card:nth-child(4) { animation-delay: 0.23s; }
.home-animate .card:nth-child(5) { animation-delay: 0.26s; }
.home-animate .card:nth-child(6) { animation-delay: 0.29s; }
.home-animate .card:nth-child(7) { animation-delay: 0.32s; }
.home-animate .card:nth-child(8) { animation-delay: 0.35s; }
.home-animate .card:nth-child(9) { animation-delay: 0.38s; }
.home-animate .card:nth-child(10) { animation-delay: 0.41s; }
.home-animate .card:nth-child(11) { animation-delay: 0.44s; }
.home-animate .card:nth-child(12) { animation-delay: 0.47s; }

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1568px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card {
    --card-img-hover-scale: 1.5;
  }
}

@media (max-width: 1024px) {
  .topbar-rubriques-inner {
    padding: 14px 16px 16px;
  }

  .topbar-rub-grid {
    gap: 18px;
  }

  .topbar-rub-col {
    flex: 0 0 100px;
    width: 100px;
  }

  .topbar-sub-panels {
    max-width: calc((180px * 4) + (18px * 3));
  }

  .topbar-sub-link {
    width: 72px;
    font-size: 11px;
  }
}

@media (max-width: 750px) {
  body.page-product-details .pd-page,
  body.page-checkout .co-page {
    height: auto;
  }

  body.page-product-details .pd-split,
  body.page-checkout .co-split {
    grid-template-columns: 1fr;
  }

  body.page-product-details .pd-left {
    height: 55vh;
  }

  body.page-product-details .pd-right,
  body.page-checkout .co-left,
  body.page-checkout .co-right {
    padding: 28px 18px;
    border-left: none;
    border-top: 1px solid var(--line);
  }

  body.page-product-details .pd-title {
    font-size: 30px;
  }

  body.page-checkout .co-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  

  .topbar {
    position: sticky;
    top: 0;
    z-index: 1200;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "logo gender right"
      "search search search";
    row-gap: 10px;
    align-items: center;
  }

  #homeLogo { grid-area: logo; }
  .topbar-gender { grid-area: gender; justify-self: center; gap: 8px; }
  .topbar-right { grid-area: right; justify-self: end; }

  .topbar-search {
    grid-area: search;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    display: block;
    padding-top: 4px;
  }

  .topbar-search-input {
    width: 100%;
    display: block;
    border: 1px solid #000;
    border-radius: 100px;
    background: #fff;
  }

  body.page-home-base #topbarHoverShell {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    z-index: 1200;
  }

  body.page-home-base .topbar-rubriques-hover {
    top: 100%;
  }

  body.page-home-base .home-fullscreen {
    margin: 0;
    padding-bottom: 0;
  }

  body.page-home-base .home-slider {
    width: 100%;
    height: clamp(300px, 52vh, 430px);
    min-height: 0;
    max-height: 430px;
    margin: 1px auto;
  }

  body.page-home-base .home-slide img {
  object-fit: contain;
  object-position: center;
  transform: scale(2.1);
  transform-origin: center;
}
  body.page-home-base .seo-intro--home {
    margin-bottom: 14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .home-slide-title {
    font-size: 25px;
    margin-bottom: 8px;
	color: white;
    -webkit-text-stroke: 0.5px black; /* contour noir */
  }

  .home-slide-price {
    font-size: 20px;
    color: white;
}

  .home-slider-arrow {
    font-size: 38px;
  }

  .home-slider-prev { left: 10px; }
  .home-slider-next { right: 10px; }

  .topbar-context-strip {
    left: 5px;
    padding: 0 12px;
  }

  .topbar-context-box {
    max-width: calc(100vw - 24px);
    padding: 6px 10px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.page-product-details .pd-lightbox {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  body.page-product-details .pd-lightbox-dialog {
    width: calc(100vw - 88px);
    height: 100dvh;
  }

  body.page-product-details .pd-lightbox-arrow {
    font-size: 42px;
  }

  body.page-product-details .pd-lightbox-close {
    top: 10px;
    right: 12px;
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .topbar-rub-col {
    flex: 1 1 clamp(54px, 8vw, 100px);
    width: clamp(54px, 8vw, 100px);
    max-width: 88px;
  }

  .topbar-sub-panels {
    max-width: 100%;
  }

  .topbar-sub-thumb {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }
}

@media (max-width: 620px) {
  body.page-product-details .pd-controls {
    flex-wrap: wrap;
  }

  body.page-product-details .pd-controls .pd-control:last-child {
    margin-left: 0;
    text-align: left;
  }

  .raffle-grid {
    flex-wrap: wrap;
  }

  .raffle-grid .card {
    flex: 1 1 calc(50% - 12px);
  }

  .raffle-grid .card:nth-child(3) {
    flex-basis: 100%;
  }

  .splash-logo {
    max-width: 160px;
  }
}

@media (max-width: 520px) {
  .topbar {
    padding: 10px 12px;
  }

  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
    width: auto;
    height: 48px;
  }

  .gender-btn {
    padding: 7px 10px;
    border-radius: 12px;
    font-size: 13px;
  }

  .cart-icon-btn {
    width: 42px;
    height: 42px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .footer-links a {
    display: block;
    width: 100%;
    text-align: center;
  }

  .cw-brand-grid {
    grid-template-columns: 1fr;
  }

  .cw-brand-card {
    aspect-ratio: auto;
    padding: 16px;
  }

  #sideNudgeBtn,
  #raffleNudgeBtn,
  #valentinNudgeBtn {
    font-size: 13px;
    padding: 8px 2px 8px 8px;
    letter-spacing: 0;
  }

  #sideNudgeBtn { top: calc(50% - 100px); }
  #raffleNudgeBtn { top: 50%; }
  #valentinNudgeBtn { top: calc(50% + 92px); }

  #sidePopup,
  #rafflePopup {
    width: 99%;
  }

  .card-overlay-price {
    font-size: 0.7rem;
  }
}

@media (max-width: 420px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-overlay-title {
    font-size: 0.5rem;
    line-height: 2.2;
  }
}

@media (max-width: 380px) {
  #sideNudgeBtn,
  #raffleNudgeBtn,
  #valentinNudgeBtn {
    font-size: 10px;
    padding: 7px 2px 7px 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .home-animate .card,
  .home-animate .home-anim-banner,
  .home-animate .home-anim-grid,
  body.page-product-details .pd-animate .pd-anim-left,
  body.page-product-details .pd-animate .pd-anim-right,
  body.page-product-details .pd-animate .pd-actions,
  body.page-checkout .co-animate .co-anim-left,
  body.page-checkout .co-animate .co-anim-right,
  body.page-checkout .co-animate .co-anim-cta {
    opacity: 1 !important;
    transform: none !important;
  }
}

.home-slide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 11px 22px;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: auto;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.home-slide-cta:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}

.home-quick-access {
  width: min(92%, 760px);
  margin: 18px auto 10px;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
}

.home-quick-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.home-quick-link:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}

.home-trust {
  width: min(92%, 900px);
  margin: 10px auto 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  color: rgba(0, 0, 0, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.home-trust span + span::before {
  content: "·";
  margin-right: 16px;
  color: rgba(0, 0, 0, 0.35);
}

.home-concept {
  width: min(92%, 860px);
  margin: 26px auto 18px;
  padding: 0 18px;
  color: #000;
  text-align: center;
}

.home-concept h2 {
  text-align: center;
}

.home-concept p {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.76);
  text-align: center;
}