/* ==========================================================================
   HostoPhoto — refonte sans Elementor
   Esthétique : atelier / artisan / documentaire argentique
   ========================================================================== */

:root {
  /* Palette — noir & blanc + accent ocre (tons argentiques chauds) */
  --paper: #f4efe6;          /* fond papier kraft clair */
  --paper-2: #ebe4d6;        /* bande alternée */
  --ink: #1a1612;            /* encre */
  --ink-soft: #3a332b;
  --muted: #7a6f62;
  --rule: #2a241e;
  --hair: rgba(26, 22, 18, 0.12);
  --accent: #e00818;         /* rouge HostoPhoto */
  --accent-deep: #a00612;
  --accent-ink: #f4efe6;
  --highlight: #e8c77a;      /* jaune film */

  /* Type */
  --font-display: "Fraunces", "GT Sectra", "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Scale */
  --step-0: 0.875rem;
  --step-1: 1rem;
  --step-2: 1.125rem;
  --step-3: 1.375rem;
  --step-4: 1.75rem;
  --step-5: 2.5rem;
  --step-6: 3.5rem;
  --step-7: 5rem;

  --container: 1240px;
  --radius: 4px;
}

/* Serif display fallback pairings */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: var(--step-1);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ====== PAPER GRAIN BACKGROUND =========================================== */
.paper-grain {
  position: relative;
}
.paper-grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(0,0,0,.08) 50%, transparent 52%),
    radial-gradient(1px 1px at 70% 80%, rgba(0,0,0,.05) 50%, transparent 52%),
    radial-gradient(1px 1px at 40% 60%, rgba(0,0,0,.06) 50%, transparent 52%);
  background-size: 5px 5px, 7px 7px, 11px 11px;
}

/* ====== TYPOGRAPHY ======================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1.35;
  color: var(--ink-soft);
  font-style: italic;
  text-wrap: pretty;
}

/* ====== TOP BAR ========================================================== */
.topbar {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 0;
}
.topbar .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.topbar .social { display: flex; gap: 20px; }
.topbar a { text-decoration: none; opacity: 0.8; }
.topbar a:hover { opacity: 1; }
.instagram-link {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
}
.instagram-link svg {
  flex: 0 0 auto;
}

/* ====== HEADER =========================================================== */
.site-header {
  border-bottom: 1px solid var(--hair);
  background: var(--paper);
  position: sticky; top: 0; z-index: 50;
}
.site-header .inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  justify-self: center;
  grid-column: 2;
}
.brand-mark {
  width: 44px; height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
}
.brand-mark::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand-name em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.nav {
  display: flex; gap: 28px;
  align-items: center;
  font-size: 14px;
  grid-column: 1;
  justify-self: start;
}
.nav a {
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  color: var(--ink);
}
.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent);
}

.nav-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}
.header-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s, border-color .18s, transform .18s;
}
.header-quote-btn:hover,
.header-quote-btn.active {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}
.header-quote-btn:hover {
  transform: translateY(-1px);
}
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.language-switch span {
  color: var(--muted);
}
.language-switch strong {
  color: var(--accent);
  font-weight: 700;
}
.language-switch:hover {
  border-color: var(--accent);
}
.nav-right .icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hair);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  font-size: 10px;
  font-family: var(--font-mono);
  min-width: 16px; height: 16px;
  padding: 0 4px;
  display: grid; place-items: center;
}

/* ====== BUTTONS ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: transform .18s ease, background .18s, color .18s;
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-1px); background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.accent { background: var(--accent); border-color: var(--accent); }
.btn.accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.btn .arrow {
  width: 18px; height: 10px;
  position: relative;
}
.btn .arrow::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1.5px; background: currentColor; transform: translateY(-50%);
}
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 8px; height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* ====== CARDS ============================================================ */
.card-article {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  group: article;
}
.card-article .thumb {
  aspect-ratio: 16 / 10;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.card-article .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
  filter: saturate(0.9) contrast(1.02);
}
.card-article:hover .thumb img { transform: scale(1.03); }
.card-article h3 {
  font-family: var(--font-body);
  font-size: var(--step-3);
  font-weight: 500;
}
.card-article .meta {
  display: flex; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-article .meta .tag {
  color: var(--accent);
}

.article-content p,
.article-content li {
  color: var(--ink-soft);
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.2;
  margin: 2.4em 0 0.8em;
}

.article-content h2 {
  font-size: 2rem;
}

.article-content a {
  color: var(--highlight);
  text-underline-offset: 4px;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.article-content p > img:only-child,
.article-content p > a:only-child img {
  display: block;
  margin: 34px auto;
}

.article-content p:has(> img:only-child),
.article-content p:has(> a:only-child img) {
  margin: 42px 0;
  text-align: center;
}

.article-content figure {
  margin: 40px 0;
}

.article-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: center;
}

.article-video-card {
  margin: 44px 0;
}

.article-video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: #0f0d0b;
  aspect-ratio: 16 / 9;
}

.article-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-native-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 44px 0;
}

.article-native-gallery figure {
  margin: 0;
}

.article-native-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-materials-box {
  margin: 48px 0;
  padding: 24px;
  border: 1px solid var(--hair);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(244,239,230,0.045);
  color: var(--ink);
}

.article-materials-box h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-materials-box ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-materials-box li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft) !important;
}

.article-materials-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.article-elementor-media {
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--hair);
}

.article-elementor-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.article-elementor-media figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: rgba(244,239,230,0.04);
}

.article-elementor-media a {
  display: block;
}

.article-elementor-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.article-elementor-media figcaption {
  padding: 10px 12px 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: left;
}

.home-shop-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--hair);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-product-card:hover {
  border-color: rgba(224, 8, 24, 0.45);
  transform: translateY(-2px);
}

.home-product-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
}

.home-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.home-product-card:hover .home-product-media img {
  transform: scale(1.035);
}

.home-product-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 18px;
}

.home-product-badge {
  margin-bottom: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-product-body h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}

.home-product-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
}

.home-product-price {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 15px;
  white-space: nowrap;
}

.home-product-link {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
}

.home-intervention-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  width: calc(100% + 20px);
  margin: -6px -10px 24px;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: var(--ink);
  cursor: crosshair;
}

.home-intervention-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-intervention-static {
  z-index: 1;
}

.home-intervention-gif {
  z-index: 2;
  opacity: 0;
  transition: opacity 140ms ease;
}

.home-intervention-visual.is-active .home-intervention-gif {
  opacity: 1;
}

.home-intervention-visual:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Placeholder image patterns */
.placeholder-img {
  width: 100%; height: 100%;
  background-color: #2a241e;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(244,239,230,0.06) 0 2px,
      transparent 2px 8px);
  display: grid; place-items: center;
  color: rgba(244,239,230,0.5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}

/* ====== FOOTER =========================================================== */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 32px;
  margin-top: 100px;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.site-footer h4 {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.6;
}
.site-footer a { color: var(--paper); text-decoration: none; opacity: 0.85; display: block; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: var(--highlight); opacity: 1; }
.site-footer .footer-instagram-link {
  margin-top: 6px;
}
.site-footer .tagline {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 400;
  font-style: italic;
  max-width: 320px;
  line-height: 1.3;
}
.site-footer .bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(244,239,230,0.15);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ====== SECTION PATTERNS ================================================= */
.section { padding: 100px 0; }
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hair);
}
.section-title h2 {
  font-size: var(--step-5);
  font-weight: 500;
}
.section-title .linky {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.section-title .linky:hover { color: var(--accent-deep); }

/* ====== DEVIS — TIMELINE PROCESSUS (axe vertical central) =============== */

.timeline {
  position: relative;
  padding: 40px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* axe vertical central */
.timeline-axis {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--hair);
  transform: translateX(-0.5px);
}
.timeline-axis .axis-cap {
  position: absolute;
  left: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, 0);
}
.timeline-axis .axis-cap.top { top: -5px; }
.timeline-axis .axis-cap.bot { bottom: -5px; }

/* RANGÉE — grille 3 colonnes (média | axe | texte) */
.tl-row {
  display: grid;
  grid-template-columns: 1fr 88px 1fr;
  align-items: center;
  position: relative;
  min-height: 280px;
}
.tl-row.tl-left .tl-media-side  { order: 3; }
.tl-row.tl-left .tl-marker      { order: 2; }
.tl-row.tl-left .tl-text-side   { order: 1; }

.tl-side { position: relative; }

/* Côté média */
.tl-row.tl-right .tl-media-side { padding-right: 0; }
.tl-row.tl-left  .tl-media-side { padding-left: 0; }

.timeline-media {
  aspect-ratio: 4/3;
  background: var(--ink);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
}
.tl-row.tl-right .timeline-media { margin-left: auto; }
.tl-row.tl-left  .timeline-media { margin-right: auto; }

.timeline-media .placeholder-img {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  padding: 12px;
}

.process-stock-pixel-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #080808;
  image-rendering: pixelated;
  filter: grayscale(1) contrast(1.12);
}

.media-tag {
  position: absolute;
  top: 10px; left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  background: rgba(244,239,230,0.92);
  color: #1a1612;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.media-tag svg { display: block; color: var(--accent); }

/* MARQUEUR central — pastille colorée qui croise l'axe */
.tl-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.tl-dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--accent);
  z-index: 2;
}

/* Pill numérotée qui dépasse vers le côté texte */
.tl-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  position: absolute;
  top: 50%;
  z-index: 1;
}
.tl-row.tl-right .tl-pill { right: 50%; transform: translate(-26px, -50%); }
.tl-row.tl-left  .tl-pill { left: 50%;  transform: translate( 26px, -50%); }
.tl-pill-n { font-weight: 600; font-size: 12px; letter-spacing: 0.08em; }
.tl-pill-d { opacity: 0.85; }

/* CARTE TEXTE — côté opposé au média */
.tl-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 6px;
  padding: 28px 30px;
  max-width: 460px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  transition: border-color .2s, transform .2s;
}
.tl-row.tl-right .tl-card { margin-right: auto; margin-left: 24px; }
.tl-row.tl-left  .tl-card { margin-left: auto;  margin-right: 24px; }
.tl-row:hover .tl-card { border-color: var(--ink); }

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.1;
  font-weight: 500;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.timeline-short {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 0 0 14px;
  line-height: 1.35;
}
.timeline-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* Responsive — passe en mono-colonne (axe à gauche) en dessous de 900px */
@media (max-width: 900px) {
  .timeline { gap: 36px; }
  .timeline-axis { left: 24px; }

  .tl-row,
  .tl-row.tl-left,
  .tl-row.tl-right {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-left: 64px;
    gap: 16px;
  }
  .tl-row .tl-media-side,
  .tl-row .tl-marker,
  .tl-row .tl-text-side,
  .tl-row.tl-left .tl-media-side,
  .tl-row.tl-left .tl-marker,
  .tl-row.tl-left .tl-text-side {
    order: initial;
  }
  .tl-marker { display: none; } /* on remplace par un marqueur absolu */

  .tl-row::before {
    content: "";
    position: absolute;
    left: 24px; top: 24px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--paper);
    box-shadow: 0 0 0 1px var(--accent);
    transform: translate(-50%, 0);
    z-index: 2;
  }

  .timeline-media,
  .tl-row.tl-right .timeline-media,
  .tl-row.tl-left  .timeline-media {
    margin: 0;
    max-width: none;
    aspect-ratio: 16/10;
  }
  .tl-card,
  .tl-row.tl-right .tl-card,
  .tl-row.tl-left  .tl-card {
    margin: 0;
    max-width: none;
    padding: 20px 22px;
  }
  /* La pill descend au-dessus de la carte */
  .tl-row .tl-pill,
  .tl-row.tl-right .tl-pill,
  .tl-row.tl-left  .tl-pill {
    position: static;
    transform: none;
    align-self: flex-start;
    margin-bottom: -4px;
  }
  /* Comme tl-marker est masqué, on remet la pill via un wrapper visible */
  .tl-row::after {
    /* la pill cachée — on la re-rend dans le flow */
  }
  .tl-marker { display: flex; position: static; flex-direction: row; }
  .tl-dot { display: none; }
  .timeline-title { font-size: 1.4rem; }
}

/* ====== CLIENT STRIP ===================================================== */
.client-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, background .2s;
}
.client-strip:hover {
  border-color: var(--ink);
  background: var(--paper);
}
.client-strip-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--ink);
}
.client-strip:hover .client-strip-icon {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 720px) {
  .client-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
  }
}

/* ====== UTILITIES ======================================================== */
.divider { height: 1px; background: var(--hair); margin: 48px 0; }

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
}

.film-strip {
  display: flex;
  gap: 4px;
  padding: 12px;
  background: var(--ink);
  border-radius: 4px;
}
.film-strip .frame {
  flex: 1;
  aspect-ratio: 3 / 2;
  background: #2a241e;
  border: 1px solid rgba(244,239,230,0.08);
  position: relative;
}
.film-strip .frame::before,
.film-strip .frame::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px;
  height: 4px;
  background: repeating-linear-gradient(90deg,
    var(--paper) 0 6px, transparent 6px 10px);
}
.film-strip .frame::before { top: -10px; }
.film-strip .frame::after { bottom: -10px; }

/* ====== RESPONSIVE LAYOUT SYSTEM ========================================= */
html {
  overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
  overflow-wrap: break-word;
}

input,
textarea,
select {
  color: var(--ink);
  caret-color: var(--accent);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.quote-option,
.quote-option .quote-option-label {
  color: var(--ink) !important;
}

.quote-option.is-active,
.quote-option.is-active .quote-option-label {
  color: var(--ink) !important;
}

main,
main > *,
.hp-split > *,
.hp-grid-2 > *,
.hp-grid-3 > *,
.hp-grid-4 > *,
.hp-grid-5 > * {
  min-width: 0;
}

.hp-split,
.hp-grid-2,
.hp-grid-3,
.hp-grid-4,
.hp-grid-5,
.hp-form-grid {
  display: grid;
}

.hp-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.hp-split-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr); }
.hero-rollei-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: screen;
  filter: contrast(1.35);
  transform: translate3d(1.1%, -1%, 0) scale(1.05);
  transform-origin: center;
  pointer-events: none;
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero-rollei-overlay {
    animation: none;
    opacity: 0.48;
    transform: none;
  }
}

.hp-split-feature { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
.hp-split-media-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; }
.hp-tarif-cat { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 80px; }
.hp-product-detail { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; }
.hp-service-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; }
.hp-service-detail-reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.hp-services-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 56px;
  align-items: end;
}
.hp-services-hero-media {
  margin: 0;
  align-self: stretch;
  min-height: 420px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper-2);
}
.hp-services-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.05);
}
.hp-contact-grid { gap: 80px; }

.hp-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hp-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hp-form-grid { grid-template-columns: 1fr; }

.hp-price-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.hp-cart-drawer {
  max-width: 100vw;
}

@media (max-width: 1080px) {
  .container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .topbar { letter-spacing: 0.08em; }
  .topbar .inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-header .inner {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .brand {
    grid-column: 1;
    justify-self: start;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    gap: 18px;
    overflow-x: auto;
    padding: 6px 0 2px;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav-right {
    grid-column: 2;
  }

  .hp-grid-3,
  .hp-grid-4,
  .hp-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-split,
  .hp-split-hero,
  .hp-split-feature,
  .hp-split-media-wide,
  .hp-tarif-cat,
  .hp-product-detail,
  .hp-service-detail,
  .hp-service-detail-reverse,
  .hp-services-hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hp-service-detail > *,
  .hp-service-detail-reverse > * {
    order: initial !important;
  }

  .hp-services-hero-media,
  .hp-services-hero-media img {
    min-height: 320px;
  }

  .home-hero-caption {
    position: static !important;
    max-width: none !important;
    margin-top: 14px;
  }

  .hp-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  .site-header .inner {
    grid-template-columns: 1fr auto;
    padding: 16px 16px 12px;
  }

  .nav {
    display: flex;
  }

  .nav-right {
    gap: 10px;
  }

  .nav-right > a:not(.header-quote-btn):first-of-type {
    display: none;
  }

  .site-footer .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .section-title .linky {
    white-space: normal;
  }

  .film-strip {
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .film-strip .frame {
    flex: 0 0 58vw;
    scroll-snap-align: start;
  }

  .hp-process-grid,
  .hp-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-shop-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-stat-grid,
  .hp-service-strip-grid {
    border-bottom: none !important;
  }

  .hp-stat-grid > *,
  .hp-service-strip-grid > * {
    border-left: none !important;
    border-bottom: 1px solid var(--hair);
  }
}

@media (max-width: 720px) {
  :root {
    --step-3: 1.15rem;
    --step-4: 1.45rem;
    --step-5: 2rem;
    --step-6: 2.55rem;
    --step-7: 3.25rem;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar {
    font-size: 10px;
    line-height: 1.5;
  }

  .topbar .social {
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    max-height: 38px;
  }

  .brand-name {
    font-size: 19px;
  }

  .nav {
    font-size: 13px;
    gap: 16px;
  }

  .nav-right .icon-btn {
    width: 34px;
    height: 34px;
  }

  .header-quote-btn {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(2.05rem, 11.5vw, 3.2rem) !important;
    line-height: 0.98 !important;
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.5rem) !important;
  }

  main section {
    padding-top: 48px !important;
    padding-bottom: 56px !important;
  }

  .hp-split,
  .hp-grid-2,
  .hp-grid-3,
  .hp-grid-4,
  .hp-grid-5 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hp-price-row {
    grid-template-columns: 1fr;
  }

  .hp-panel,
  .hp-benefit-grid {
    padding: 28px 22px !important;
  }

  .btn {
    justify-content: center;
    max-width: 100%;
    text-align: center;
    white-space: normal;
  }

  .placeholder-img {
    min-height: 160px;
  }

  .hp-cart-drawer {
    width: 100vw !important;
    padding: 24px 18px !important;
  }

  .hp-split-hero {
    gap: 30px !important;
  }

  .home-hero-media-frame {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 10;
  }

  .timeline {
    padding-top: 20px;
  }

  .tl-row,
  .tl-row.tl-left,
  .tl-row.tl-right {
    padding-left: 42px;
  }

  .timeline-axis,
  .tl-row::before {
    left: 16px;
  }

}

@media (max-width: 480px) {
  .site-header .inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 16px 10px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .nav-right {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: auto;
    gap: 8px;
  }

  .nav-right .header-quote-btn,
  .nav-right > a:not(.icon-btn):not(.header-quote-btn) {
    display: none;
  }

  .nav-right > a.language-switch {
    display: inline-flex !important;
    min-height: 34px;
    padding: 0 9px;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    padding: 8px 16px 2px;
  }

  .hp-grid-2,
  .hp-grid-3,
  .hp-grid-4,
  .hp-grid-5 {
    grid-template-columns: 1fr;
  }

  .home-shop-showcase {
    grid-template-columns: 1fr;
  }

  .film-strip .frame {
    flex-basis: 78vw;
  }

  .kicker,
  .eyebrow {
    letter-spacing: 0.12em;
  }
}

/* ====== WOOCOMMERCE NATIVE PAGES ======================================== */
.hp-static-header {
  border-bottom: 1px solid var(--hair);
  background: var(--paper);
}

.hp-static-header .nav {
  min-height: 82px;
}

.hp-static-header .brand {
  text-decoration: none;
}

.hp-static-header .nav-links a {
  text-decoration: none;
}

.hp-static-header .nav-links a.active {
  color: var(--accent);
}

.hp-static-cart {
  width: auto;
  min-width: 76px;
  padding: 0 16px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-woo-main {
  padding: 56px 0 96px;
  min-height: 60vh;
}

.hp-woo-main .woocommerce-breadcrumb {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hp-woo-main .woocommerce-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.hp-woo-main .page-title,
.hp-woo-main .product_title,
.hp-woo-main h1,
.hp-woo-main h2,
.hp-woo-main h3 {
  font-family: var(--font-display);
  color: var(--ink);
}

.hp-woo-main .page-title {
  margin-bottom: 10px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.hp-woo-main .woocommerce-result-count {
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hp-woo-main .woocommerce-ordering {
  margin: 0 0 28px;
}

.hp-woo-main select,
.hp-woo-main input.input-text,
.hp-woo-main textarea,
.hp-woo-main .select2-container--default .select2-selection--single {
  min-height: 42px;
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: rgba(255,255,255,0.35);
  color: var(--ink);
  font-family: var(--font-body);
  padding: 9px 12px;
}

.hp-woo-main ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 34px;
  margin: 0;
  padding: 0;
}

.hp-woo-main ul.products::before,
.hp-woo-main ul.products::after {
  display: none;
}

.hp-woo-main ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-woo-main ul.products li.product a {
  text-decoration: none;
}

.hp-woo-main ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--paper-2);
  margin: 0 0 18px;
  border-radius: 4px;
}

.hp-woo-main ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
}

.hp-woo-shop-layout {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.hp-woo-filter-panel {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--hair);
  background: var(--paper-2);
}

.hp-woo-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-woo-filter-head span {
  color: var(--ink);
}

.hp-woo-filter-head a {
  color: var(--highlight);
  text-decoration: none;
}

.hp-woo-filter-group {
  display: grid;
  gap: 10px;
}

.hp-woo-filter-group h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hp-woo-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-woo-filter-options a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1;
}

.hp-woo-filter-options a:hover,
.hp-woo-filter-options a.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.hp-woo-filter-options small {
  color: currentColor;
  opacity: 0.7;
}

.hp-woo-filter-more {
  margin-top: 2px;
  padding-top: 18px;
  border-top: 1px solid var(--hair);
}

.hp-woo-filter-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  list-style: none;
}

.hp-woo-filter-more summary::-webkit-details-marker {
  display: none;
}

.hp-woo-filter-more summary::after {
  content: "+";
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}

.hp-woo-filter-more[open] summary::after {
  content: "-";
}

.hp-woo-filter-more-inner {
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

.hp-woo-shop-content {
  min-width: 0;
}

.hp-woo-shop-content .woocommerce-result-count,
.hp-woo-shop-content .woocommerce-ordering {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.hp-woo-shop-content .woocommerce-result-count {
  margin-right: 18px;
}

.hp-woo-main ul.products li.product {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 100%;
  padding: 0 0 18px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: rgba(244,239,230,0.045);
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.hp-woo-main ul.products li.product:hover {
  border-color: rgba(232,199,122,0.42);
  background: rgba(244,239,230,0.07);
  transform: translateY(-2px);
}

.hp-woo-main .price {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 18px;
  text-align: center;
}

.hp-woo-main .button,
.hp-woo-main button.button,
.hp-woo-main input.button,
.hp-woo-main #respond input#submit,
.hp-woo-main a.button,
.hp-woo-main .checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.hp-woo-main button.single_add_to_cart_button,
.hp-woo-main .single_add_to_cart_button.button,
.hp-woo-main .wc-block-components-button,
.hp-woo-main .wp-element-button {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #f4efe6 !important;
}

.hp-woo-main .button:hover,
.hp-woo-main button.button:hover,
.hp-woo-main input.button:hover,
.hp-woo-main a.button:hover,
.hp-woo-main .checkout-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.hp-woo-main div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: start;
}

.hp-woo-main div.product div.images,
.hp-woo-main div.product div.summary {
  float: none;
  width: auto;
}

.hp-woo-main div.product div.images img {
  border-radius: 4px;
  background: var(--paper-2);
}

body.single-product .hp-woo-main div.product div.images .woocommerce-product-gallery__image {
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: rgba(244,239,230,0.04);
}

body.single-product .hp-woo-main div.product div.images .woocommerce-product-gallery__image img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
}

body.single-product .hp-woo-main div.product div.summary {
  padding: 30px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: rgba(244,239,230,0.045);
}

.hp-woo-main div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.hp-woo-main div.product div.images .flex-control-thumbs li {
  width: auto;
  float: none;
}

.hp-woo-main div.product div.images .flex-control-thumbs img {
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid transparent;
  opacity: 0.68;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.hp-woo-main div.product div.images .flex-control-thumbs img.flex-active,
.hp-woo-main div.product div.images .flex-control-thumbs img:hover {
  border-color: rgba(244,239,230,0.45);
  opacity: 1;
}

.hp-woo-main div.product .product_title {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.hp-woo-main div.product p.price {
  color: var(--highlight);
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.hp-woo-main .woocommerce-Price-amount,
.hp-woo-main .woocommerce-Price-currencySymbol {
  color: var(--highlight);
}

.hp-woo-main .product_meta a {
  color: var(--highlight);
  text-underline-offset: 4px;
}

.hp-woo-main div.product .product_meta {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  color: rgba(244,239,230,0.68);
  font-size: 13px;
  line-height: 1.55;
}

.hp-woo-main div.product .stock {
  display: inline-flex;
  width: fit-content;
  margin: 16px 0;
  padding: 6px 10px;
  border: 1px solid rgba(244,239,230,0.16);
  border-radius: 999px;
  color: var(--highlight);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.hp-woo-main div.product .stock.out-of-stock {
  color: var(--accent);
}

.hp-woo-main div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 30px 0;
}

.hp-woo-main .quantity .qty {
  width: 72px;
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  text-align: center;
  font-family: var(--font-mono);
}

.hp-woo-main div.product form.cart .variations {
  width: 100%;
  margin-bottom: 8px;
  border: 0;
}

.hp-woo-main div.product form.cart .variations th,
.hp-woo-main div.product form.cart .variations td {
  display: block;
  padding: 0 0 10px;
  border: 0;
}

.hp-woo-main div.product form.cart .variations label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-woo-main div.product form.cart .variations select {
  width: 100%;
  min-height: 48px;
  border-color: rgba(244,239,230,0.22);
  background: rgba(26,22,18,0.35);
}

.hp-woo-main div.product form.cart .variations .reset_variations {
  display: inline-flex;
  margin-top: 10px;
  color: var(--highlight);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.hp-woo-main div.product .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

body.single-product .hp-woo-main div.product form.cart .single_add_to_cart_button {
  flex: 1 1 220px;
}

.hp-woo-main div.product .reset_variations,
.hp-woo-main div.product .woocommerce-variation-description {
  color: var(--ink-soft);
  font-size: 13px;
}

.hp-woo-main .added_to_cart {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: var(--highlight);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.hp-woo-main span.onsale {
  min-width: auto;
  min-height: auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #f4efe6;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

.hp-loop-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -2px 18px 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hp-loop-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 7px;
  border: 1px solid rgba(232,199,122,0.32);
  border-radius: 999px;
  color: var(--highlight);
}

.hp-woo-main ul.products li.product .woocommerce-loop-product__title,
.hp-woo-main ul.products li.product .price,
.hp-woo-main ul.products li.product .button,
.hp-woo-main ul.products li.product .added_to_cart {
  margin-left: 18px;
  margin-right: 18px;
}

.hp-woo-main ul.products li.product .woocommerce-loop-product__title {
  min-height: 3.2em;
}

.hp-woo-main ul.products li.product .price {
  align-self: end;
  margin-top: 6px;
}

.hp-woo-main ul.products li.product .button {
  width: calc(100% - 36px);
}

.hp-woo-main ul.products li.product .button,
.hp-woo-main ul.products li.product a.button,
.hp-woo-main ul.products li.product .added_to_cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.15;
  white-space: normal;
}

body.single-product .hp-woo-main div.product {
  grid-template-columns: minmax(0, 1.22fr) minmax(380px, 0.78fr);
  gap: 52px;
}

body.single-product .hp-woo-main div.product div.images {
  grid-column: 1;
  grid-row: 1;
}

body.single-product .hp-woo-main div.product div.summary {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: static;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(244,239,230,0.075), rgba(244,239,230,0.035));
}

body.single-product .hp-woo-main div.product .product_title {
  margin-top: 10px;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 0.95;
}

.hp-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hp-product-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(232,199,122,0.35);
  border-radius: 999px;
  background: rgba(232,199,122,0.08);
  color: var(--highlight);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-product-key-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0;
  border: 1px solid var(--hair);
  border-radius: 6px;
  overflow: hidden;
}

.hp-product-key-specs div {
  display: grid;
  gap: 6px;
  padding: 15px;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: rgba(244,239,230,0.055);
}

.hp-product-key-specs div:nth-child(2n) {
  border-right: 0;
}

.hp-product-key-specs dt,
.hp-product-detail-panel dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hp-product-key-specs dd,
.hp-product-detail-panel dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.hp-product-condition-note {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid rgba(232,199,122,0.28);
  border-radius: 6px;
  background: rgba(232,199,122,0.07);
}

.hp-product-condition-note h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hp-product-condition-note div {
  display: grid;
  gap: 10px;
}

.hp-product-condition-note p {
  display: grid;
  grid-template-columns: minmax(96px, 0.35fr) minmax(0, 0.65fr);
  gap: 12px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(26,22,18,0.1);
}

.hp-product-condition-note p:first-child {
  padding-top: 0;
  border-top: 0;
}

.hp-product-condition-note strong {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-product-condition-note span {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.hp-product-reassurance {
  display: grid;
  gap: 0;
  margin-top: 26px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  overflow: hidden;
}

.hp-product-reassurance div {
  display: grid;
  grid-template-columns: minmax(92px, 0.32fr) minmax(0, 0.68fr);
  gap: 14px;
  padding: 14px 16px;
  border-top: 1px solid var(--hair);
  background: rgba(244,239,230,0.04);
}

.hp-product-reassurance div:first-child {
  border-top: 0;
}

.hp-product-reassurance strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hp-product-reassurance span {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.45;
}

.hp-product-gallery-description {
  grid-column: 1;
  grid-row: 2;
  padding: 28px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: rgba(244,239,230,0.045);
}

.hp-product-gallery-description h2 {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.hp-product-gallery-description-content {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.hp-product-gallery-description-content > *:first-child {
  margin-top: 0;
}

.hp-product-gallery-description-content > *:last-child {
  margin-bottom: 0;
}

.hp-product-detail-panels {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 12px;
}

.hp-product-detail-panel {
  padding: 26px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: rgba(244,239,230,0.045);
}

.hp-product-detail-panel h2 {
  margin: 0 0 22px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.hp-product-detail-panel dl {
  display: grid;
  margin: 0;
}

.hp-product-detail-panel dl div {
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--hair);
}

.hp-product-detail-panel dl div:first-child {
  border-top: 0;
}

body.single-product .hp-woo-main .woocommerce-tabs {
  margin-top: 24px;
}

.hp-woo-main .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 32px;
  border-top: 1px solid var(--hair);
  padding-top: 30px;
}

.hp-woo-main .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0 0 24px;
}

.hp-woo-main .woocommerce-tabs ul.tabs li {
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: transparent;
  padding: 8px 14px;
}

.hp-woo-main .woocommerce-tabs ul.tabs li a {
  padding: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.hp-woo-main .woocommerce-Tabs-panel {
  padding: 24px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: rgba(244,239,230,0.045);
}

.hp-woo-main .woocommerce-Tabs-panel h2 {
  margin-top: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.hp-woo-main .woocommerce-Tabs-panel p,
.hp-woo-main .woocommerce-Tabs-panel table {
  color: var(--ink-soft);
}

.hp-woo-main .related,
.hp-woo-main .upsells,
.hp-woo-main .cross-sells {
  clear: both;
  grid-column: 1 / -1;
  margin-top: 64px;
}

.hp-woo-main .related > h2,
.hp-woo-main .upsells > h2,
.hp-woo-main .cross-sells > h2 {
  margin-bottom: 22px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.hp-woo-main table.shop_table {
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: rgba(255,255,255,0.24);
  border-collapse: collapse;
}

.hp-woo-main table.shop_table th,
.hp-woo-main table.shop_table td {
  border-top: 1px solid var(--hair);
  padding: 16px;
}

.hp-woo-main table.shop_table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hp-woo-main .cart_totals,
.hp-woo-main .woocommerce-checkout-review-order,
.hp-woo-main .woocommerce-billing-fields,
.hp-woo-main .woocommerce-shipping-fields,
.hp-woo-main .woocommerce-additional-fields,
.hp-woo-main .woocommerce-MyAccount-navigation,
.hp-woo-main .woocommerce-MyAccount-content {
  padding: 24px;
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: rgba(255,255,255,0.22);
}

.hp-woo-main .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-woo-main .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
}

.hp-woo-main .woocommerce-message,
.hp-woo-main .woocommerce-info,
.hp-woo-main .woocommerce-error {
  border-top-color: var(--accent);
  background: var(--paper-2);
  color: var(--ink);
}

.hp-static-footer {
  padding: 34px 0;
  border-top: 1px solid var(--hair);
  background: var(--ink);
  color: var(--paper);
}

.hp-static-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.hp-static-footer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.hp-static-footer span,
.hp-static-footer a {
  color: rgba(244,239,230,0.72);
  text-decoration: none;
}

@media (max-width: 900px) {
  .hp-woo-shop-layout {
    grid-template-columns: 1fr;
  }

  .hp-woo-filter-panel {
    position: static;
  }

  .hp-woo-main ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-woo-main div.product {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  body.single-product .hp-woo-main div.product {
    grid-template-columns: 1fr;
  }

  body.single-product .hp-woo-main div.product div.images,
  body.single-product .hp-woo-main div.product div.summary,
  body.single-product .hp-product-gallery-description,
  body.single-product .hp-product-detail-panels {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  body.single-product .hp-woo-main div.product div.images,
  body.single-product .hp-woo-main div.product .woocommerce-product-gallery {
    order: 1;
    overflow: hidden;
  }

  body.single-product .hp-woo-main div.product div.summary {
    order: 2;
    position: static;
    width: 100%;
  }

  body.single-product .hp-product-gallery-description {
    order: 3;
  }

  body.single-product .hp-product-detail-panels {
    order: 4;
  }

  .hp-product-detail-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hp-static-topbar .inner,
  .hp-static-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .hp-static-header .nav {
    gap: 16px;
  }

  .hp-woo-main {
    padding: 36px 0 72px;
  }

  .hp-woo-main ul.products {
    grid-template-columns: 1fr !important;
    gap: 34px;
  }

  .hp-product-key-specs {
    grid-template-columns: 1fr;
  }

  .hp-product-key-specs div,
  .hp-product-key-specs div:nth-child(2n) {
    border-right: 0;
  }

  .hp-product-detail-panel dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hp-woo-main ul.products li.product,
  .woocommerce .hp-woo-main ul.products li.product,
  .woocommerce-page .hp-woo-main ul.products li.product {
    width: 100% !important;
    max-width: 100%;
  }

  .hp-woo-main ul.products li.product .woocommerce-loop-product__title {
    font-size: clamp(1.35rem, 7vw, 1.9rem) !important;
    line-height: 1.12;
  }

  .hp-woo-main ul.products li.product img {
    width: 100% !important;
  }
}

/* Woo pages should visually follow the React site dark mode. */
body.woocommerce,
body.woocommerce-page {
  --paper: #1a1612;
  --paper-2: #241f1a;
  --ink: #f4efe6;
  --ink-soft: #d6cfc1;
  --muted: #8a7f72;
  --hair: rgba(244,239,230,0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "JetBrains Mono", monospace;
  --font-mono: "JetBrains Mono", monospace;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}

body.woocommerce .topbar,
body.woocommerce-page .topbar,
body.woocommerce .site-header,
body.woocommerce-page .site-header,
body.woocommerce .site-footer,
body.woocommerce-page .site-footer {
  font-family: var(--font-body);
}

body.woocommerce .brand-name,
body.woocommerce-page .brand-name,
body.woocommerce .site-footer .tagline,
body.woocommerce-page .site-footer .tagline {
  font-family: var(--font-display);
}

body.woocommerce .site-footer h4,
body.woocommerce-page .site-footer h4,
body.woocommerce .site-footer .bottom,
body.woocommerce-page .site-footer .bottom,
body.woocommerce .topbar,
body.woocommerce-page .topbar {
  font-family: var(--font-mono);
}

body.woocommerce .site-header,
body.woocommerce-page .site-header {
  background: var(--paper);
  border-bottom-color: var(--hair);
  position: sticky;
  top: 0;
  z-index: 50;
}

body.woocommerce .hp-static-header .inner,
body.woocommerce-page .hp-static-header .inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
}

body.woocommerce .hp-static-header .brand,
body.woocommerce-page .hp-static-header .brand {
  grid-column: 2;
  justify-self: center;
}

body.woocommerce .hp-static-header .nav,
body.woocommerce-page .hp-static-header .nav {
  min-height: 0;
}

body.woocommerce .hp-static-header .nav-right,
body.woocommerce-page .hp-static-header .nav-right {
  grid-column: 3;
}

body.woocommerce .hp-static-header .nav a.active,
body.woocommerce-page .hp-static-header .nav a.active {
  color: var(--accent);
}

body.woocommerce .hp-static-header .nav a.active::after,
body.woocommerce-page .hp-static-header .nav a.active::after {
  transform: scaleX(1);
}

body.woocommerce .hp-static-cart,
body.woocommerce-page .hp-static-cart {
  position: relative;
  width: 36px;
  min-width: 0;
  padding: 0;
  letter-spacing: 0;
}

body.woocommerce .hp-static-cart-count,
body.woocommerce-page .hp-static-cart-count {
  position: absolute;
  right: -6px;
  top: -7px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 1px solid rgba(244,239,230,0.85);
  border-radius: 999px;
  background: var(--accent);
  color: #f4efe6;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 15px;
  text-align: center;
}

body.woocommerce .hp-woo-main,
body.woocommerce-page .hp-woo-main {
  padding: 0 0 96px;
  background: var(--paper);
}

.hp-woo-hero {
  padding: 72px 0 58px;
  border-bottom: 1px solid rgba(244,239,230,0.08);
  background: #1a1612;
  color: #f4efe6;
}

.hp-woo-hero .kicker {
  margin-bottom: 16px;
  color: #e8c77a;
}

.hp-woo-hero h1 {
  max-width: 980px;
  margin: 0 0 24px;
  color: #f4efe6;
  font-size: clamp(3rem, 5.4vw, 4.8rem);
  line-height: 0.95;
}

body.tax-product_cat .hp-woo-hero h1 {
  max-width: 1100px;
  font-size: clamp(2.65rem, 4.8vw, 4.35rem);
}

.hp-woo-hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.hp-woo-hero .lede {
  max-width: 640px;
  margin: 0;
  color: rgba(244,239,230,0.75);
}

.hp-woo-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hp-woo-category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(244,239,230,0.18);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.hp-woo-category-nav a:hover,
.hp-woo-category-nav a.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #f4efe6;
}

body.post-type-archive-product .woocommerce-notices-wrapper,
body.post-type-archive-product .woocommerce-result-count,
body.post-type-archive-product .woocommerce-ordering,
body.post-type-archive-product ul.products {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

body.post-type-archive-product .woocommerce-result-count,
body.post-type-archive-product .woocommerce-ordering {
  margin-top: 26px;
}

body.post-type-archive-product .woocommerce-result-count {
  float: none;
  display: inline-block;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 12px;
}

body.post-type-archive-product .woocommerce-ordering {
  float: right;
}

body.post-type-archive-product .woocommerce-ordering select {
  min-height: 40px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
}

body.post-type-archive-product ul.products {
  clear: both;
  padding-top: 30px;
}

body.post-type-archive-product .hp-woo-shop-content ul.products {
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 1180px) {
  .hp-woo-main ul.products li.product img {
    margin-bottom: 20px;
  }

  .hp-woo-main ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.18rem;
  }
}

.hp-woo-main nav.woocommerce-pagination {
  clear: both;
  margin-top: 42px;
  text-align: center;
}

.hp-woo-main nav.woocommerce-pagination ul {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
}

.hp-woo-main nav.woocommerce-pagination ul li {
  border: 0;
}

.hp-woo-main .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  text-decoration: none;
}

.hp-woo-main .page-numbers.current,
.hp-woo-main a.page-numbers:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #f4efe6;
}

.hp-woo-main .star-rating,
.hp-woo-main .woocommerce-review-link {
  color: var(--highlight);
}

.hp-woo-main .woocommerce-noreviews,
.hp-woo-main .woocommerce-verification-required {
  color: var(--ink-soft);
}

.hp-woo-main ul.products li.product {
  color: var(--ink);
}

.hp-woo-main ul.products li.product img {
  border-radius: 4px;
  filter: saturate(0.92) contrast(1.03);
  transition: transform .5s ease;
}

.hp-woo-main ul.products li.product:hover img {
  transform: scale(1.025);
}

.hp-woo-main ul.products li.product .woocommerce-loop-product__title {
  color: var(--ink);
}

.hp-woo-main .price {
  color: var(--highlight);
}

.hp-woo-main .button,
.hp-woo-main button.button,
.hp-woo-main input.button,
.hp-woo-main #respond input#submit,
.hp-woo-main a.button,
.hp-woo-main .checkout-button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.hp-woo-main .woocommerce-breadcrumb {
  padding-top: 40px;
}

body.single-product .hp-woo-main,
body.woocommerce-cart .hp-woo-main,
body.woocommerce-checkout .hp-woo-main,
body.woocommerce-account .hp-woo-main {
  padding-top: 52px;
}

.hp-woo-page-header {
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hair);
}

.hp-woo-page-header .kicker {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hp-woo-page-header h1 {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

body.woocommerce-account .hp-woo-page-header h1 {
  font-size: clamp(2.15rem, 4vw, 3.4rem);
}

.hp-woo-page-header .lede {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.hp-woo-main select,
.hp-woo-main input.input-text,
.hp-woo-main textarea,
.hp-woo-main .select2-container--default .select2-selection--single {
  background: rgba(244,239,230,0.08);
  color: var(--ink);
  border-color: var(--hair);
}

.hp-woo-main select option {
  color: #1a1612;
}

.hp-woo-main input.input-text::placeholder,
.hp-woo-main textarea::placeholder {
  color: rgba(244,239,230,0.55);
}

.hp-woo-main .cart_totals,
.hp-woo-main .woocommerce-checkout-review-order,
.hp-woo-main .woocommerce-billing-fields,
.hp-woo-main .woocommerce-shipping-fields,
.hp-woo-main .woocommerce-additional-fields,
.hp-woo-main .woocommerce-MyAccount-navigation,
.hp-woo-main .woocommerce-MyAccount-content {
  background: rgba(244,239,230,0.05);
}

.hp-woo-main table.shop_table {
  background: rgba(244,239,230,0.04);
}

body.woocommerce-cart .hp-woo-page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 390px);
  gap: 20px 48px;
  align-items: end;
}

body.woocommerce-cart .hp-woo-page-header .kicker,
body.woocommerce-cart .hp-woo-page-header h1 {
  grid-column: 1;
}

body.woocommerce-cart .hp-woo-page-header .lede {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding: 18px 0 18px 22px;
  border-left: 1px solid var(--hair);
  font-size: 15px;
  line-height: 1.55;
}

body.woocommerce-cart .hp-woo-main .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

body.woocommerce-cart .hp-woo-main .woocommerce-notices-wrapper,
body.woocommerce-cart .hp-woo-main .wc-empty-cart-message,
body.woocommerce-cart .hp-woo-main .return-to-shop {
  grid-column: 1 / -1;
}

body.woocommerce-cart .hp-woo-main .woocommerce-cart-form {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  margin: 0;
}

body.woocommerce-cart .hp-woo-main .cart-collaterals {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
}

body.woocommerce-cart .hp-woo-main .cart_totals {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  width: min(100%, 440px);
  float: none;
  padding: 28px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: var(--paper);
}

body.woocommerce-cart .hp-woo-main .cart_totals h2 {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hair);
}

body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table {
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table th,
body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table td {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  text-align: left;
}

body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table tr {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 0.58fr);
  gap: 14px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--hair);
}

body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table tr:last-child {
  border-bottom: none;
}

body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table th {
  color: var(--muted);
  font-size: 10.5px;
}

body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table td {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  text-align: right;
}

body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table .shipping td {
  text-align: left;
}

body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table .order-total td {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
}

body.woocommerce-cart .hp-woo-main .cross-sells {
  grid-column: 1 / -1;
  grid-row: 2;
  float: none;
  width: auto;
  margin: 46px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--hair);
}

body.woocommerce-cart .hp-woo-main .cross-sells > h2 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
}

body.woocommerce-cart .hp-woo-main .cross-sells ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.woocommerce-cart .hp-woo-main table.shop_table {
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: var(--paper);
}

body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table {
  margin: 0;
}

body.woocommerce-cart .hp-woo-main table.shop_table thead {
  background: var(--paper-2);
}

body.woocommerce-cart .hp-woo-main table.shop_table th {
  padding: 14px 16px;
  color: var(--muted);
}

body.woocommerce-cart .hp-woo-main table.shop_table td {
  padding: 18px 16px;
}

body.woocommerce-cart .hp-woo-main table.shop_table .product-thumbnail img {
  width: 78px;
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: var(--paper-2);
}

body.woocommerce-cart .hp-woo-main table.shop_table .product-name a {
  color: var(--ink);
  font-size: 1rem;
  text-decoration: none;
}

body.woocommerce-cart .hp-woo-main table.shop_table .product-name a:hover {
  color: var(--accent);
}

body.woocommerce-cart .hp-woo-main .quantity .qty {
  min-height: 38px;
  border-radius: 999px;
  text-align: center;
}

body.woocommerce-cart .hp-woo-main .coupon {
  align-items: stretch;
  gap: 10px;
}

body.woocommerce-cart .hp-woo-main .coupon .input-text {
  width: min(260px, 100%) !important;
  min-height: 42px;
  border-radius: 999px;
}

body.woocommerce-cart .hp-woo-main .coupon button.button,
body.woocommerce-cart .hp-woo-main table.shop_table button.button[name="update_cart"] {
  min-height: 42px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
}

body.woocommerce-cart .hp-woo-main .coupon button.button:hover,
body.woocommerce-cart .hp-woo-main table.shop_table button.button[name="update_cart"]:hover {
  background: var(--ink);
  color: var(--paper);
}

body.woocommerce-cart .hp-woo-main .checkout-button {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
  box-shadow: 0 10px 24px rgba(224, 8, 24, 0.18);
}

body.woocommerce-cart .hp-woo-main .checkout-button:hover {
  border-color: var(--accent-deep) !important;
  background: var(--accent-deep) !important;
  color: var(--accent-ink) !important;
  transform: translateY(-1px);
}

body.woocommerce-cart .hp-woo-main .cart-empty {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 220px;
  margin: 0;
  padding: 56px 32px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(244,239,230,0.98), rgba(244,239,230,0.9)),
    url("assets/account-login-parts.webp") center / cover no-repeat;
  color: #1a1612;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  text-align: center;
}

body.woocommerce-cart .hp-woo-main .cart-empty::before {
  content: "";
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM6.2 6l.8 4h9.8l1.5-4H6.2ZM5.8 4h15.4l-3 8H7.4l.4 2H19v2H6.2L4.2 4H2V2h3.4l.4 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM6.2 6l.8 4h9.8l1.5-4H6.2ZM5.8 4h15.4l-3 8H7.4l.4 2H19v2H6.2L4.2 4H2V2h3.4l.4 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.woocommerce-cart .hp-woo-main .return-to-shop {
  margin: 22px 0 0;
  text-align: center;
}

.hp-static-footer {
  border-top-color: var(--hair);
}

@media (max-width: 900px) {
  body.woocommerce .hp-static-header .inner,
  body.woocommerce-page .hp-static-header .inner {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding-left: 22px;
    padding-right: 22px;
  }

  body.woocommerce .hp-static-header .brand,
  body.woocommerce-page .hp-static-header .brand {
    grid-column: 1;
    justify-self: start;
  }

  body.woocommerce .hp-static-header .nav,
  body.woocommerce-page .hp-static-header .nav {
    grid-column: 1 / -1;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  body.woocommerce .hp-static-header .nav-right,
  body.woocommerce-page .hp-static-header .nav-right {
    grid-column: 2;
    grid-row: 1;
  }

  body.woocommerce .hp-static-header .nav-right > a:not(.icon-btn),
  body.woocommerce-page .hp-static-header .nav-right > a:not(.icon-btn) {
    display: none;
  }

  body.woocommerce .hp-static-header .nav-right .language-switch,
  body.woocommerce-page .hp-static-header .nav-right .language-switch {
    display: inline-flex !important;
  }

  .hp-woo-main div.product {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 640px) {
  body.woocommerce .hp-static-header .inner,
  body.woocommerce-page .hp-static-header .inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 16px 10px;
  }

  body.woocommerce .hp-static-header .brand,
  body.woocommerce-page .hp-static-header .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    min-width: 0;
  }

  body.woocommerce .hp-static-header .nav-right,
  body.woocommerce-page .hp-static-header .nav-right {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: auto;
    gap: 8px;
  }

  body.woocommerce .hp-static-header .nav,
  body.woocommerce-page .hp-static-header .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    padding: 8px 16px 2px;
  }

  body.woocommerce .hp-static-header .nav-right > a:not(.icon-btn),
  body.woocommerce-page .hp-static-header .nav-right > a:not(.icon-btn) {
    display: none;
  }

  body.woocommerce .hp-static-header .nav-right .language-switch,
  body.woocommerce-page .hp-static-header .nav-right .language-switch {
    display: inline-flex !important;
    min-height: 34px;
    padding: 0 9px;
  }

  body.woocommerce .topbar .inner,
  body.woocommerce-page .topbar .inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  body.woocommerce .topbar .social,
  body.woocommerce-page .topbar .social {
    flex-wrap: wrap;
    gap: 10px;
  }

  body.woocommerce .hp-static-header,
  body.woocommerce-page .hp-static-header {
    top: 0;
  }

  body.woocommerce .hp-static-header .brand-name,
  body.woocommerce-page .hp-static-header .brand-name {
    font-size: 18px;
  }

  body.post-type-archive-product .woocommerce-ordering {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .hp-woo-main ul.products {
    grid-template-columns: 1fr;
  }

  .hp-woo-hero {
    padding: 46px 0 38px;
  }

  .hp-woo-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  body.tax-product_cat .hp-woo-hero h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }
}

/* Cart and checkout refinements */
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-account .entry-content {
  color: var(--ink);
}

body.woocommerce-cart .hp-woo-main h1,
body.woocommerce-checkout .hp-woo-main h1,
body.woocommerce-account .hp-woo-main h1 {
  margin-bottom: 32px;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
}

.hp-woo-main .woocommerce-cart-form,
.hp-woo-main .woocommerce-checkout,
.hp-woo-main .woocommerce form.login,
.hp-woo-main .woocommerce form.register {
  margin-top: 24px;
}

.hp-woo-main table.shop_table {
  overflow: hidden;
  border-color: var(--hair);
  color: var(--ink);
}

.hp-woo-main table.shop_table thead,
.hp-woo-main table.shop_table tfoot {
  background: rgba(244,239,230,0.06);
}

.hp-woo-main table.shop_table th,
.hp-woo-main table.shop_table td {
  border-color: var(--hair);
  color: var(--ink);
  vertical-align: middle;
}

.hp-woo-main table.shop_table .product-name a,
.hp-woo-main table.shop_table .woocommerce-remove-coupon {
  color: var(--highlight);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hp-woo-main a.remove {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(244,239,230,0.18);
  border-radius: 50%;
  color: var(--accent) !important;
  line-height: 1;
}

.hp-woo-main a.remove:hover {
  background: var(--accent);
  color: #f4efe6 !important;
}

.hp-woo-main .coupon {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hp-woo-main .coupon .input-text {
  width: 220px !important;
}

.hp-woo-main .cart-collaterals {
  margin-top: 34px;
}

.hp-woo-main .cart_totals h2,
.hp-woo-main #order_review_heading,
.hp-woo-main .woocommerce-billing-fields h3,
.hp-woo-main .woocommerce-shipping-fields h3,
.hp-woo-main .woocommerce-additional-fields h3 {
  margin: 0 0 18px;
  font-size: 1.7rem;
}

.hp-woo-main .cart_totals,
.hp-woo-main .woocommerce-checkout-review-order,
.hp-woo-main .woocommerce-billing-fields,
.hp-woo-main .woocommerce-shipping-fields,
.hp-woo-main .woocommerce-additional-fields,
.hp-woo-main .woocommerce-MyAccount-navigation,
.hp-woo-main .woocommerce-MyAccount-content {
  border-color: var(--hair);
  color: var(--ink);
}

.hp-woo-main .woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px 46px;
  align-items: start;
}

.hp-woo-main .woocommerce-checkout .col2-set {
  width: auto;
  float: none;
  display: grid;
  gap: 20px;
}

.hp-woo-main .woocommerce-checkout #order_review,
.hp-woo-main .woocommerce-checkout #order_review_heading {
  width: auto;
  float: none;
}

.hp-woo-main .woocommerce-checkout #order_review_heading,
.hp-woo-main .woocommerce-checkout #order_review {
  grid-column: 2;
}

.hp-woo-main .woocommerce-checkout .col2-set {
  grid-row: 1 / span 2;
}

.hp-woo-main .form-row label {
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.woocommerce-checkout .hp-woo-main form.checkout .form-row label,
body.woocommerce-checkout .hp-woo-main form.checkout .woocommerce-form__label,
body.woocommerce-checkout .hp-woo-main #payment .wc_payment_method label {
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.hp-woo-main .required,
.woocommerce .hp-woo-main form .form-row .required,
.woocommerce-page .hp-woo-main form .form-row .required {
  color: #ff6b6b !important;
}

.hp-woo-main .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--ink);
  line-height: 22px;
}

.hp-woo-main .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 8px;
}

.hp-woo-main #payment {
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: rgba(244,239,230,0.05);
}

.hp-woo-main #payment div.payment_box {
  background: rgba(244,239,230,0.08);
  color: var(--ink);
}

.hp-woo-main #payment div.payment_box::before {
  border-bottom-color: rgba(244,239,230,0.08);
}

.hp-woo-main #payment ul.payment_methods {
  border-bottom-color: var(--hair);
}

.hp-woo-main .woocommerce-terms-and-conditions-wrapper,
.hp-woo-main .woocommerce-privacy-policy-text {
  color: rgba(244,239,230,0.72);
  font-size: 13px;
  line-height: 1.55;
}

.hp-woo-main .woocommerce-info,
.hp-woo-main .woocommerce-message,
.hp-woo-main .woocommerce-error {
  margin-bottom: 26px;
  border-radius: 4px;
  background: rgba(244,239,230,0.08);
  color: var(--ink);
}

.hp-woo-main .cart-empty,
.hp-woo-main .woocommerce-form-coupon,
.hp-woo-main .woocommerce-form-login,
.hp-woo-main .woocommerce-ResetPassword {
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: rgba(244,239,230,0.06);
  color: var(--ink);
  padding: 22px;
}

.hp-woo-main .return-to-shop {
  margin-top: 22px;
}

.hp-woo-main .woocommerce-MyAccount-navigation li.is-active a {
  border-color: rgba(244,239,230,0.35);
  background: rgba(244,239,230,0.08);
  color: var(--ink);
}

.hp-woo-main .woocommerce-account .woocommerce,
body.woocommerce-account .hp-woo-main .woocommerce {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.hp-woo-main .woocommerce-MyAccount-navigation,
.hp-woo-main .woocommerce-MyAccount-content {
  float: none;
  width: auto;
}

body.woocommerce-account .hp-woo-main .woocommerce:has(> .woocommerce-MyAccount-navigation) {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

body.woocommerce-account .hp-woo-main .woocommerce:has(> .woocommerce-MyAccount-navigation) .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

body.woocommerce-account .hp-woo-main .woocommerce-MyAccount-navigation {
  position: sticky;
  top: 112px;
  grid-column: 1;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: var(--paper);
}

body.woocommerce-account .hp-woo-main .woocommerce-MyAccount-content {
  grid-column: 2;
  min-width: 0;
  margin: 0;
  padding: 30px 34px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: var(--paper);
}

.hp-woo-main .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.hp-woo-main .woocommerce-MyAccount-navigation li {
  list-style: none;
}

.hp-woo-main .woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
}

.hp-woo-main .woocommerce-MyAccount-navigation li a::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background: currentColor;
  opacity: 0.7;
  mask: var(--account-menu-icon) center / contain no-repeat;
  -webkit-mask: var(--account-menu-icon) center / contain no-repeat;
}

.hp-woo-main .woocommerce-MyAccount-navigation-link--dashboard a {
  --account-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 13h8V3H3v10Zm2-8h4v6H5V5Zm8 16h8V11h-8v10Zm2-8h4v6h-4v-6ZM3 21h8v-6H3v6Zm2-4h4v2H5v-2Zm8-8h8V3h-8v6Zm2-4h4v2h-4V5Z'/%3E%3C/svg%3E");
}

.hp-woo-main .woocommerce-MyAccount-navigation-link--orders a {
  --account-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h12v20l-2-1.2-2 1.2-2-1.2-2 1.2-2-1.2L6 22V2Zm2 3v13.5l2-1.2 2 1.2 2-1.2 2 1.2V5H8Zm2 3h6v2h-6V8Zm0 4h6v2h-6v-2Z'/%3E%3C/svg%3E");
}

.hp-woo-main .woocommerce-MyAccount-navigation-link--reparation a {
  --account-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h9v2H6v11h11v-7h2v9H4V5Zm11.6-1.4 4.8 4.8-7.7 7.7H8v-4.7l7.6-7.8Zm0 2.8L10 12v2h2l5.6-5.6-2-2Z'/%3E%3C/svg%3E");
}

.hp-woo-main .woocommerce-MyAccount-navigation-link--downloads a {
  --account-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 3h2v9l3-3 1.4 1.4L12 15.8l-5.4-5.4L8 9l3 3V3ZM5 18h14v2H5v-2Z'/%3E%3C/svg%3E");
}

.hp-woo-main .woocommerce-MyAccount-navigation-link--edit-address a {
  --account-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 3 8v14h18V8l-9-6Zm0 2.4 7 4.7V20h-5v-6h-4v6H5V9.1l7-4.7Z'/%3E%3C/svg%3E");
}

.hp-woo-main .woocommerce-MyAccount-navigation-link--edit-account a {
  --account-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0-8a3 3 0 1 1 0 6 3 3 0 0 1 0-6ZM4 22c0-4.4 3.6-8 8-8s8 3.6 8 8h-2a6 6 0 0 0-12 0H4Z'/%3E%3C/svg%3E");
}

.hp-woo-main .woocommerce-MyAccount-navigation-link--customer-logout a {
  --account-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 3h9v2H6v14h7v2H4V3Zm12.6 5.4L20.2 12l-3.6 3.6-1.4-1.4L16.8 13H10v-2h6.8l-1.6-1.2 1.4-1.4Z'/%3E%3C/svg%3E");
}

.hp-woo-main .woocommerce-MyAccount-navigation li:not([class*="woocommerce-MyAccount-navigation-link--"]) a {
  --account-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16v2H4V5Zm0 6h16v2H4v-2Zm0 6h16v2H4v-2Z'/%3E%3C/svg%3E");
}

.hp-woo-main .woocommerce-MyAccount-navigation li a:hover {
  border-color: var(--hair);
  color: var(--ink);
  background: var(--paper-2);
}

.hp-woo-main .woocommerce-MyAccount-navigation li.is-active a::before {
  opacity: 1;
  color: var(--accent);
}

.hp-woo-main .woocommerce-MyAccount-content p:first-child {
  margin-top: 0;
}

body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm .form-row {
  margin: 0;
}

body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm .form-row-first,
body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm .form-row-last {
  float: none;
  width: auto;
}

body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm .form-row-wide,
body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm fieldset,
body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm p:last-child {
  grid-column: 1 / -1;
}

body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm label {
  display: block;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm input.input-text {
  min-height: 50px;
  border: 1px solid var(--hair);
  background: var(--paper-2);
  color: var(--ink);
  font-size: 15px;
}

body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm input.input-text:focus {
  border-color: var(--accent);
  outline: 2px solid color-mix(in srgb, var(--accent) 16%, transparent);
  outline-offset: 0;
}

body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm fieldset {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 10px 0 0;
  padding: 24px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: rgba(244,239,230,0.055);
}

body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm legend {
  padding: 0 10px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm .woocommerce-Button,
body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm button[type="submit"] {
  min-height: 48px;
  padding: 0 24px;
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.woocommerce-account .hp-woo-page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 20px 48px;
  align-items: end;
  padding: 0 0 34px;
}

body.woocommerce-account .hp-woo-page-header .kicker,
body.woocommerce-account .hp-woo-page-header h1 {
  grid-column: 1;
}

body.woocommerce-account .hp-woo-page-header .lede {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding: 18px 0 18px 22px;
  border-left: 1px solid var(--hair);
  font-size: 15px;
  line-height: 1.55;
}

body.woocommerce-account .hp-woo-main .woocommerce:has(> form.login) {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 440px);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: var(--paper);
}

body.woocommerce-account .hp-woo-main .woocommerce:has(> form.login)::before {
  content: "";
  display: block;
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 500px;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.02), rgba(13, 13, 13, 0.28)),
    url("assets/account-login-parts.webp") center / cover no-repeat;
  border-right: 1px solid var(--hair);
}

body.woocommerce-account .hp-woo-main .woocommerce:has(> form.login) > .woocommerce-notices-wrapper:empty {
  display: none;
}

body.woocommerce-account .hp-woo-main .woocommerce:has(> form.login) > .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

body.woocommerce-account .hp-woo-main .woocommerce > h2 {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0;
  padding: 46px 42px 18px;
  background: var(--paper);
  border-bottom: 0;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.02;
}

body.woocommerce-account .hp-woo-main .woocommerce > h2::after {
  content: "Accédez à vos commandes, factures, informations de livraison, devis et réparations en cours.";
  display: block;
  max-width: 360px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

html[lang="en-US"] body.woocommerce-account .hp-woo-main .woocommerce > h2::after {
  content: "Access your orders, invoices, shipping details, quotes and repairs in progress.";
}

body.woocommerce-account .hp-woo-main form.login {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding: 0 42px 42px;
  border: none;
  border-radius: 0;
  background: var(--paper);
}

body.woocommerce-account .hp-woo-main form.login .form-row {
  margin: 0 0 18px;
}

body.woocommerce-account .hp-woo-main form.login label {
  margin-bottom: 8px;
}

body.woocommerce-account .hp-woo-main form.login input.input-text {
  min-height: 50px;
  background: var(--paper-2);
  border-color: var(--hair);
  font-size: 15px;
}

body.woocommerce-account .hp-woo-main form.login input.input-text:focus {
  border-color: var(--accent);
  outline: 2px solid color-mix(in srgb, var(--accent) 16%, transparent);
  outline-offset: 0;
}

body.woocommerce-account .hp-woo-main form.login .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 18px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

body.woocommerce-account .hp-woo-main form.login .woocommerce-form-login__rememberme input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

body.woocommerce-account .hp-woo-main form.login .woocommerce-form-login__submit {
  width: 100%;
  min-height: 46px;
  justify-content: center;
}

body.woocommerce-account .hp-woo-main form.login .lost_password {
  margin: 16px 0 0;
  text-align: center;
}

body.woocommerce-account .hp-woo-main form.login .lost_password a {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

body.woocommerce-account .hp-woo-main form.login .lost_password a:hover {
  color: var(--accent);
}

.hp-woo-main .woocommerce-Address,
.hp-woo-main .woocommerce-customer-details address,
.hp-woo-main .woocommerce-order-details,
.hp-woo-main .woocommerce-customer-details,
.hp-woo-main .woocommerce-order-overview {
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: rgba(244,239,230,0.05);
  color: var(--ink);
}

.hp-woo-main .woocommerce-Address,
.hp-woo-main .woocommerce-customer-details address,
.hp-woo-main .woocommerce-order-details,
.hp-woo-main .woocommerce-customer-details {
  padding: 22px;
}

.hp-woo-main .woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  margin: 0 0 28px;
  padding: 0;
}

.hp-woo-main .woocommerce-order-overview li {
  margin: 0;
  padding: 16px;
  border-right: 1px solid var(--hair);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  list-style: none;
  text-transform: uppercase;
}

.hp-woo-main .woocommerce-order-overview li:last-child {
  border-right: 0;
}

.hp-woo-main .woocommerce-order-overview strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}

.hp-woo-main .woocommerce-thankyou-order-received {
  margin: 0 0 24px;
  padding: 20px 22px;
  border: 1px solid rgba(232,199,122,0.28);
  border-radius: 4px;
  background: rgba(232,199,122,0.08);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}

.hp-woo-main .woocommerce-thankyou-order-details + p,
.hp-woo-main .woocommerce-order p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.hp-woo-main .woocommerce-order-details__title,
.hp-woo-main .woocommerce-column__title,
.hp-woo-main .woocommerce-customer-details h2 {
  margin-top: 0;
  color: var(--ink);
}

.hp-woo-main .woocommerce-info a,
.hp-woo-main .woocommerce-message a,
.hp-woo-main .woocommerce-error a {
  color: var(--highlight);
}

.hp-woo-main .wc-block-components-notice-banner {
  background: rgba(244,239,230,0.08);
  border-color: var(--hair);
  color: var(--ink);
}

body.woocommerce-cart .hp-woo-main .cart-empty.woocommerce-info {
  background:
    linear-gradient(90deg, rgba(244,239,230,0.98), rgba(244,239,230,0.9)),
    url("assets/account-login-parts.webp") center / cover no-repeat;
  color: #1a1612 !important;
}

body.woocommerce-cart .hp-woo-main .woocommerce:not(:has(.wc-empty-cart-message)) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 34px;
  align-items: start;
}

body.woocommerce-cart .hp-woo-main .woocommerce-cart-form {
  grid-column: 1 !important;
  grid-row: 1 !important;
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

body.woocommerce-cart .hp-woo-main .cart-collaterals {
  display: contents !important;
  grid-column: 1 / -1 !important;
  float: none !important;
  width: auto !important;
  clear: none !important;
  margin: 0 !important;
}

body.woocommerce-cart .hp-woo-main .cart-collaterals .cart_totals {
  grid-column: 2 !important;
  grid-row: 1 !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  align-self: start;
}

body.woocommerce-cart .hp-woo-main .cart-collaterals .cross-sells {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  float: none !important;
  clear: both !important;
  width: auto !important;
  margin: 46px 0 0 !important;
}

body.woocommerce-checkout .hp-woo-page-header {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 34px;
  align-items: end;
}

body.woocommerce-checkout .hp-woo-page-header .lede {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--hair);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

body.woocommerce-checkout .hp-woo-main form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 12px 38px;
  align-items: start;
  margin-top: 24px;
}

body.woocommerce-checkout .hp-woo-main form.checkout #customer_details {
  display: grid;
  grid-column: 1;
  grid-row: 1 / span 2;
  grid-template-columns: 1fr;
  gap: 22px;
  width: auto !important;
  min-width: 0;
}

body.woocommerce-checkout .hp-woo-main form.checkout .col2-set .col-1,
body.woocommerce-checkout .hp-woo-main form.checkout .col2-set .col-2 {
  float: none !important;
  width: auto !important;
  min-width: 0;
}

body.woocommerce-checkout .hp-woo-main .woocommerce-billing-fields,
body.woocommerce-checkout .hp-woo-main .woocommerce-shipping-fields,
body.woocommerce-checkout .hp-woo-main .woocommerce-additional-fields,
body.woocommerce-checkout .hp-woo-main #order_review {
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: rgba(244,239,230,0.055);
  color: var(--ink);
}

body.woocommerce-checkout .hp-woo-main .woocommerce-billing-fields,
body.woocommerce-checkout .hp-woo-main .woocommerce-shipping-fields,
body.woocommerce-checkout .hp-woo-main .woocommerce-additional-fields {
  padding: 28px;
}

body.woocommerce-checkout .hp-woo-main #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  width: auto !important;
  margin: 0;
  padding: 0 0 6px;
  color: var(--ink);
}

body.woocommerce-checkout .hp-woo-main #order_review {
  position: sticky;
  top: 112px;
  grid-column: 2;
  grid-row: 1;
  width: auto !important;
  min-width: 0;
  margin-top: 52px;
  padding: 24px;
}

body.woocommerce-checkout .hp-woo-main #order_review table.shop_table {
  overflow: visible;
  margin: 0 0 22px;
  border: 0;
  background: transparent;
}

body.woocommerce-checkout .hp-woo-main #order_review table.shop_table thead,
body.woocommerce-checkout .hp-woo-main #order_review table.shop_table tfoot {
  background: transparent;
}

body.woocommerce-checkout .hp-woo-main #order_review table.shop_table tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
}

body.woocommerce-checkout .hp-woo-main #order_review table.shop_table tr:last-child {
  border-bottom: 0;
}

body.woocommerce-checkout .hp-woo-main #order_review table.shop_table th,
body.woocommerce-checkout .hp-woo-main #order_review table.shop_table td {
  display: block;
  padding: 0;
  border: 0;
  text-align: left;
}

body.woocommerce-checkout .hp-woo-main #order_review table.shop_table .product-total,
body.woocommerce-checkout .hp-woo-main #order_review table.shop_table tfoot td {
  text-align: right;
  white-space: nowrap;
}

body.woocommerce-checkout .hp-woo-main #order_review table.shop_table .order-total th,
body.woocommerce-checkout .hp-woo-main #order_review table.shop_table .order-total td {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
}

body.woocommerce-checkout .hp-woo-main #payment {
  border: 0;
  border-radius: 6px;
  background: transparent;
}

body.woocommerce-checkout .hp-woo-main #payment ul.payment_methods,
body.woocommerce-checkout .hp-woo-main #payment .place-order {
  padding: 16px 0 0;
  border-bottom: 0;
}

body.woocommerce-checkout .hp-woo-main #payment .place-order {
  display: grid;
  gap: 16px;
}

body.woocommerce-checkout .hp-woo-main #payment .payment_method_stripe {
  border: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1.4;
  box-shadow: none;
}

body.woocommerce-checkout .hp-woo-main #payment .payment_method_stripe > label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1.35;
}

body.woocommerce-checkout .hp-woo-main #payment div.payment_box.payment_method_stripe {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1.4;
  box-shadow: none;
}

body.woocommerce-checkout .hp-woo-main #payment div.payment_box.payment_method_stripe::before {
  display: none;
}

body.woocommerce-checkout .hp-woo-main #payment .payment_method_stripe .wc-upe-form,
body.woocommerce-checkout .hp-woo-main #payment .payment_method_stripe .wc-stripe-upe-element {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.woocommerce-checkout .hp-woo-main #payment .payment_method_stripe .wc-stripe-upe-element {
  min-height: 222px;
}

body.woocommerce-checkout .hp-woo-main #payment .payment_method_stripe .wc-stripe-upe-element iframe {
  border: 0 !important;
  background: transparent !important;
}

body.woocommerce-checkout .hp-woo-main #payment #wc-stripe-hidden-style-input {
  min-height: 50px;
  border: 1px solid rgba(244,239,230,0.34);
  border-radius: 4px;
  background: rgba(26,22,18,0.42);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1.35;
  padding: 14px 13px;
  outline: 0;
  box-shadow: none;
}

body.woocommerce-checkout .hp-woo-main #place_order {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(224, 8, 24, 0.18);
}

body.woocommerce-checkout .hp-woo-main #place_order:hover {
  border-color: var(--accent-deep) !important;
  background: var(--accent-deep) !important;
  color: var(--accent-ink) !important;
}

body.woocommerce-checkout .hp-woo-main .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .hp-woo-main .woocommerce-form-login-toggle {
  margin: 0 0 14px;
}

body.woocommerce-checkout .hp-woo-main .woocommerce-form-coupon,
body.woocommerce-checkout .hp-woo-main .woocommerce-form-login {
  margin: 0 0 24px;
}

body.woocommerce-checkout .hp-woo-main form.checkout input.input-text,
body.woocommerce-checkout .hp-woo-main form.checkout textarea,
body.woocommerce-checkout .hp-woo-main form.checkout select,
body.woocommerce-checkout .hp-woo-main form.checkout .select2-container--default .select2-selection--single {
  min-height: 44px;
  border-color: rgba(244,239,230,0.32);
  background: rgba(26,22,18,0.42);
  color: var(--ink);
}

body.woocommerce-checkout .hp-woo-main form.checkout textarea {
  min-height: 118px;
}

body.woocommerce-checkout .hp-woo-main form.checkout input.input-text:focus,
body.woocommerce-checkout .hp-woo-main form.checkout textarea:focus {
  border-color: var(--highlight);
  outline: 2px solid rgba(209,179,106,0.2);
  outline-offset: 0;
}

@media (max-width: 900px) {
  body.woocommerce-checkout .hp-woo-page-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.woocommerce-checkout .hp-woo-page-header .lede {
    grid-column: 1;
    grid-row: auto;
    padding-left: 0;
    border-left: none;
  }

  body.woocommerce-checkout .hp-woo-main form.checkout {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout .hp-woo-main form.checkout #customer_details,
  body.woocommerce-checkout .hp-woo-main #order_review_heading,
  body.woocommerce-checkout .hp-woo-main #order_review {
    grid-column: 1;
    grid-row: auto;
  }

  body.woocommerce-checkout .hp-woo-main #order_review {
    position: static;
    margin-top: 0;
  }

  body.woocommerce-account .hp-woo-page-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.woocommerce-account .hp-woo-page-header .lede {
    grid-column: 1;
    grid-row: auto;
    padding: 0;
    border-left: none;
  }

  body.woocommerce-account .hp-woo-main .woocommerce:has(> form.login) {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .hp-woo-main .woocommerce:has(> form.login)::before {
    grid-column: 1;
    grid-row: auto;
    min-height: 260px;
    border-right: none;
    border-bottom: 1px solid var(--hair);
  }

  body.woocommerce-account .hp-woo-main .woocommerce > h2 {
    grid-column: 1;
    grid-row: auto;
    padding: 30px 26px 14px;
  }

  body.woocommerce-account .hp-woo-main form.login {
    grid-column: 1;
    grid-row: auto;
    padding: 0 26px 30px;
  }

  body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .hp-woo-main .woocommerce-EditAccountForm fieldset {
    padding: 20px;
  }

  .hp-woo-main .woocommerce-checkout {
    grid-template-columns: 1fr;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce {
    grid-template-columns: 1fr;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form,
  body.woocommerce-cart .hp-woo-main .cart_totals,
  body.woocommerce-cart .hp-woo-main .cross-sells {
    grid-column: 1;
    grid-row: auto;
  }

  body.woocommerce-cart .hp-woo-main .cart-collaterals {
    grid-template-columns: 1fr;
    grid-row: auto;
  }

  body.woocommerce-cart .hp-woo-main .cross-sells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-woo-main .woocommerce-account .woocommerce,
  body.woocommerce-account .hp-woo-main .woocommerce {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .hp-woo-main .woocommerce:has(> .woocommerce-MyAccount-navigation) {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .hp-woo-main .woocommerce-MyAccount-navigation {
    position: static;
    grid-column: 1;
  }

  body.woocommerce-account .hp-woo-main .woocommerce-MyAccount-content {
    grid-column: 1;
  }

  .hp-woo-main .woocommerce-checkout #order_review_heading,
  .hp-woo-main .woocommerce-checkout #order_review,
  .hp-woo-main .woocommerce-checkout .col2-set {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  body.woocommerce-cart .hp-woo-page-header {
    grid-template-columns: 1fr;
  }

  body.woocommerce-cart .hp-woo-page-header .lede {
    grid-column: 1;
    grid-row: auto;
    padding: 0;
    border-left: none;
  }

  body.woocommerce-cart .hp-woo-main .cross-sells ul.products {
    grid-template-columns: 1fr;
  }

  .hp-woo-main .coupon {
    align-items: stretch;
    flex-direction: column;
  }

  .hp-woo-main .coupon .input-text {
    width: 100% !important;
  }

  .hp-woo-main table.shop_table th,
  .hp-woo-main table.shop_table td {
    padding: 12px;
  }
}

/* Cart mobile hard override: keep the desktop two-column cart from overlapping. */
@media (max-width: 760px) {
  body.woocommerce-cart .hp-woo-main .woocommerce:not(:has(.wc-empty-cart-message)) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.woocommerce-cart .hp-woo-main .cart-collaterals {
    display: grid !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.woocommerce-cart .hp-woo-main .cart-collaterals .cart_totals {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 22px !important;
  }

  body.woocommerce-cart .hp-woo-main .cart-collaterals .cross-sells {
    grid-column: 1 !important;
    grid-row: 2 !important;
    margin: 8px 0 0 !important;
    padding-top: 24px !important;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table,
  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table tbody {
    display: block;
    width: 100%;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table thead {
    display: none;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table tr.cart_item {
    position: relative;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 8px 14px;
    margin: 0 0 14px;
    padding: 16px 42px 16px 14px;
    border: 1px solid var(--hair);
    border-radius: 6px;
    background: var(--paper);
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table tr.cart_item td {
    display: block;
    padding: 0;
    border: 0;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.product-remove::before,
  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.product-thumbnail::before,
  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.product-name::before {
    content: none !important;
    display: none !important;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.product-remove {
    position: absolute;
    top: 12px;
    right: 12px;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.product-thumbnail {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.product-thumbnail img {
    width: 74px;
    height: 74px;
    object-fit: cover;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.product-name {
    grid-column: 2;
    min-width: 0;
    padding-right: 4px;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.product-name a {
    display: block;
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.25;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.product-price,
  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.product-quantity,
  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.product-subtotal {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(92px, 0.45fr) minmax(0, 0.55fr);
    gap: 12px;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(244,239,230,0.12);
    color: var(--ink);
    text-align: right;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.product-price::before,
  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.product-quantity::before,
  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.product-subtotal::before {
    content: attr(data-title);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-align: left;
    text-transform: uppercase;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.product-quantity .quantity {
    justify-self: end;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.actions {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.actions .coupon {
    display: grid;
    gap: 10px;
  }

  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.actions .coupon .input-text,
  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.actions .coupon button,
  body.woocommerce-cart .hp-woo-main .woocommerce-cart-form table.shop_table td.actions button[name="update_cart"] {
    width: 100% !important;
  }

  body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table tr {
    grid-template-columns: minmax(100px, 0.44fr) minmax(0, 0.56fr);
  }

  body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table td::before {
    content: none !important;
    display: none !important;
  }

  body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table .shipping {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table .shipping td {
    max-width: 100%;
    text-align: left;
  }

  body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table .shipping ul,
  body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table .shipping li {
    margin-left: 0;
    padding-left: 0;
  }

  body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table .shipping .woocommerce-shipping-destination,
  body.woocommerce-cart .hp-woo-main .cart_totals table.shop_table .shipping .woocommerce-shipping-calculator {
    max-width: 100%;
    text-align: left;
  }
}

/* Final WooCommerce readability pass. */
body.woocommerce-account .hp-woo-main .woocommerce > h2::after {
  content: "Accédez à vos commandes, factures, informations de livraison, devis et réparations en cours.";
}

html[lang="en-US"] body.woocommerce-account .hp-woo-main .woocommerce > h2::after {
  content: "Access your orders, invoices, shipping details, quotes and repairs in progress.";
}

.hp-woo-main input.input-text,
.hp-woo-main input[type="text"],
.hp-woo-main input[type="email"],
.hp-woo-main input[type="tel"],
.hp-woo-main input[type="password"],
.hp-woo-main input[type="number"],
.hp-woo-main textarea,
.hp-woo-main select {
  color: var(--ink) !important;
  caret-color: var(--accent);
}

.hp-woo-main input::placeholder,
.hp-woo-main textarea::placeholder {
  color: rgba(244,239,230,0.52) !important;
}

.hp-woo-main button,
.hp-woo-main .button,
.hp-woo-main a.button {
  color: var(--paper);
}

.hp-woo-main ul.products li.product .button,
.hp-woo-main ul.products li.product a.button {
  border-color: var(--ink) !important;
  background: var(--ink) !important;
  color: var(--paper) !important;
}

.hp-woo-main ul.products li.product .button:hover,
.hp-woo-main ul.products li.product a.button:hover {
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: #f4efe6 !important;
}

body.woocommerce-checkout .hp-woo-main .woocommerce-form-coupon input.input-text,
body.woocommerce-checkout .hp-woo-main .woocommerce-form-login input.input-text {
  border-color: var(--hair) !important;
  background: rgba(244,239,230,0.08) !important;
  color: var(--ink) !important;
}

.hp-woo-main .woocommerce-info a,
.hp-woo-main .woocommerce-message a,
.hp-woo-main .woocommerce-error a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hp-woo-main label,
.hp-woo-main .form-row label,
.hp-woo-main .woocommerce-input-wrapper {
  color: var(--ink);
}

/* Mobile shop: keep products scannable and filters compact. */
@media (max-width: 640px) {
  body.post-type-archive-product .hp-woo-main,
  body.tax-product_cat .hp-woo-main,
  body.tax-product_tag .hp-woo-main {
    padding-top: 30px;
  }

  body.post-type-archive-product .hp-woo-shop-layout,
  body.tax-product_cat .hp-woo-shop-layout,
  body.tax-product_tag .hp-woo-shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  body.post-type-archive-product .hp-woo-filter-panel,
  body.tax-product_cat .hp-woo-filter-panel,
  body.tax-product_tag .hp-woo-filter-panel {
    position: static;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 16px;
    border-radius: 6px;
    background: rgba(244,239,230,0.055);
  }

  body.post-type-archive-product .hp-woo-filter-head,
  body.tax-product_cat .hp-woo-filter-head,
  body.tax-product_tag .hp-woo-filter-head {
    padding-bottom: 10px;
    font-size: 12px;
    line-height: 1.2;
  }

  body.post-type-archive-product .hp-woo-filter-group,
  body.tax-product_cat .hp-woo-filter-group,
  body.tax-product_tag .hp-woo-filter-group {
    gap: 8px;
    min-width: 0;
  }

  body.post-type-archive-product .hp-woo-filter-group h2,
  body.tax-product_cat .hp-woo-filter-group h2,
  body.tax-product_tag .hp-woo-filter-group h2 {
    font-size: 11px;
    letter-spacing: 0.07em;
  }

  body.post-type-archive-product .hp-woo-filter-options,
  body.tax-product_cat .hp-woo-filter-options,
  body.tax-product_tag .hp-woo-filter-options {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0 -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  body.post-type-archive-product .hp-woo-filter-options a,
  body.tax-product_cat .hp-woo-filter-options a,
  body.tax-product_tag .hp-woo-filter-options a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 11px;
    font-size: 11.5px;
    white-space: nowrap;
  }

  body.post-type-archive-product .hp-woo-filter-more,
  body.tax-product_cat .hp-woo-filter-more,
  body.tax-product_tag .hp-woo-filter-more {
    margin-top: 0;
    padding-top: 12px;
  }

  body.post-type-archive-product .hp-woo-filter-more summary,
  body.tax-product_cat .hp-woo-filter-more summary,
  body.tax-product_tag .hp-woo-filter-more summary {
    min-height: 34px;
    font-size: 11.5px;
  }

  body.post-type-archive-product .hp-woo-filter-more-inner,
  body.tax-product_cat .hp-woo-filter-more-inner,
  body.tax-product_tag .hp-woo-filter-more-inner {
    gap: 14px;
    padding-top: 12px;
  }

  body.post-type-archive-product .hp-woo-shop-content .woocommerce-result-count,
  body.post-type-archive-product .hp-woo-shop-content .woocommerce-ordering,
  body.tax-product_cat .hp-woo-shop-content .woocommerce-result-count,
  body.tax-product_cat .hp-woo-shop-content .woocommerce-ordering,
  body.tax-product_tag .hp-woo-shop-content .woocommerce-result-count,
  body.tax-product_tag .hp-woo-shop-content .woocommerce-ordering {
    display: flex;
    width: 100%;
    margin: 0 0 14px;
  }

  body.post-type-archive-product .hp-woo-main ul.products,
  body.tax-product_cat .hp-woo-main ul.products,
  body.tax-product_tag .hp-woo-main ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 12px !important;
  }

  body.post-type-archive-product .hp-woo-main ul.products li.product,
  body.tax-product_cat .hp-woo-main ul.products li.product,
  body.tax-product_tag .hp-woo-main ul.products li.product,
  .woocommerce .hp-woo-main ul.products li.product,
  .woocommerce-page .hp-woo-main ul.products li.product {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0;
    padding-bottom: 12px;
  }

  body.post-type-archive-product .hp-woo-main ul.products li.product img,
  body.tax-product_cat .hp-woo-main ul.products li.product img,
  body.tax-product_tag .hp-woo-main ul.products li.product img {
    width: 100% !important;
    margin-bottom: 12px;
  }

  body.post-type-archive-product .hp-woo-main ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_cat .hp-woo-main ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_tag .hp-woo-main ul.products li.product .woocommerce-loop-product__title {
    min-height: 2.8em;
    margin: 0 12px 8px !important;
    font-size: clamp(0.96rem, 4.2vw, 1.12rem) !important;
    line-height: 1.18;
    text-align: center;
  }

  body.post-type-archive-product .hp-woo-main ul.products li.product .price,
  body.tax-product_cat .hp-woo-main ul.products li.product .price,
  body.tax-product_tag .hp-woo-main ul.products li.product .price {
    margin-left: 12px;
    margin-right: 12px;
    font-size: 12.5px;
    text-align: center;
  }

  body.post-type-archive-product .hp-woo-main ul.products li.product .button,
  body.post-type-archive-product .hp-woo-main ul.products li.product a.button,
  body.tax-product_cat .hp-woo-main ul.products li.product .button,
  body.tax-product_cat .hp-woo-main ul.products li.product a.button,
  body.tax-product_tag .hp-woo-main ul.products li.product .button,
  body.tax-product_tag .hp-woo-main ul.products li.product a.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% - 24px);
    min-height: 0 !important;
    height: 34px !important;
    margin-left: 12px;
    margin-right: 12px;
    padding: 0 10px !important;
    border-radius: 6px !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
  }
}
