/* ==========================================================================
   Oizos — Rubik, noir sur blanc, sans contours ni animations superflus
   ========================================================================== */

@font-face { font-family: "Rubik"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/rubik-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/rubik-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/rubik-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/rubik-latin-900-normal.woff2") format("woff2"); }

:root {
  --c-ink: #000;
  --c-bg: #fff;
  --c-muted: #6b6b6b;
  --c-light: #a0a0a0;
  --c-line: #e6e6e6;
  --c-soft: #f4f4f4;
  --c-success: #1a7f37;
  --c-error: #c62828;

  --font: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  --fs-hero: clamp(2rem, 1.2rem + 4.5vw, 4.75rem);

  --header-h: 64px;
  --gutter: 16px;          /* marge latérale */
  --space: 28px;           /* « léger espacement vertical » */
  --container: 1280px;
}
@media (min-width: 1024px) {
  :root { --gutter: 40px; --space: 48px; --header-h: 78px; }
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: 1.55; color: var(--c-ink); background: var(--c-bg); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .75; }
p a, .entry-content a { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 16px; font-weight: 700; }
p { margin: 0 0 16px; }
ul { margin: 0; padding: 0; list-style: none; }
.entry-content ul, .entry-content ol { list-style: revert; padding-left: 1.2em; margin-bottom: 16px; }
:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 760px; }
.site-main { padding-block: var(--space); min-height: 50vh; }
.site-main--flush, .site-main--shop { padding: 0; }
.page-title { font-size: var(--fs-xl); text-transform: uppercase; font-weight: 900; margin-bottom: 24px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-bg); padding: 8px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Boutons ---------------------------------------------------------------- */
.btn,
.button,
button.button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.wc-block-components-button:not(.is-link) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; font: 500 var(--fs-sm)/1 var(--font); text-transform: uppercase; letter-spacing: .08em;
  color: var(--c-bg); background: var(--c-ink); border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { opacity: .85; }
.btn--light { color: var(--c-ink); background: var(--c-bg); }
.btn--small { padding: 10px 16px; font-size: var(--fs-xs); }
.button:disabled, .button.disabled { opacity: .4; cursor: not-allowed; }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], select, textarea {
  width: 100%; padding: 12px; font: inherit; color: var(--c-ink); background: var(--c-bg); border: 1px solid #cfcfcf; border-radius: 0;
}

/* Header ------------------------------------------------------------------ */
.announcement { background: var(--c-soft); text-align: center; font-size: var(--fs-sm); padding: 8px var(--gutter); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-bg); }
.header-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); padding-inline: calc(var(--gutter) - 8px); }
.header-bar__left { display: flex; align-items: center; }
.header-bar__right { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.site-brand { display: flex; justify-content: center; }
.site-brand a { display: block; }
/* Logo : l'image a de grandes marges transparentes (≈ 24 % en haut, 29 % en bas) ;
   on la recadre pour que le dessin lui-même fasse --logo-h de haut. */
.site-brand { --logo-h: 42px; }
@media (min-width: 1024px) { .site-brand { --logo-h: 60px; } }
.site-brand .custom-logo-link { display: block; height: var(--logo-h); overflow: hidden; }
.site-brand .custom-logo { height: calc(var(--logo-h) / .4664); width: auto; max-width: none; margin-top: calc(var(--logo-h) / .4664 * -.2403); }

.site-title { font-weight: 900; font-size: 1.5rem; letter-spacing: .06em; }

.header-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; color: var(--c-ink); background: none; border: 0; cursor: pointer; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; color: var(--c-bg); background: var(--c-ink); border-radius: 8px; }
.cart-count.is-empty { display: none; }

.menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after { display: block; width: 22px; height: 1.6px; background: var(--c-ink); position: relative; transition: transform .2s ease; }
.menu-toggle__bar::before, .menu-toggle__bar::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bar::before { top: -7px; }
.menu-toggle__bar::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* Menu déroulant + menu figé : même mise en forme */
.nav-panel, .search-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-bg); box-shadow: 0 12px 24px rgba(0,0,0,.06); }
.nav-panel { padding: 8px var(--gutter) 24px; max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
.nav-panel[hidden], .search-panel[hidden] { display: none; }
.menu-list a { display: block; padding: 6px 0; font-size: clamp(1.5rem, 1.1rem + 2vw, 2.25rem); font-weight: 700; text-transform: uppercase; line-height: 1.15; letter-spacing: -.005em; }
.nav-panel__account { display: inline-block; margin-top: 16px; font-size: var(--fs-sm); color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em; }

.search-panel { padding: 12px var(--gutter) 16px; }
.search-panel__form { display: flex; max-width: 720px; margin-inline: auto; }
.search-panel__form input { border: 0; border-bottom: 1px solid var(--c-ink); padding-inline: 0; font-size: var(--fs-lg); }
.search-panel__form input:focus { outline: none; }
.search-panel__submit { border: 0; background: none; font: 500 var(--fs-sm) var(--font); text-transform: uppercase; letter-spacing: .08em; padding: 0 0 0 16px; cursor: pointer; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; width: 100%; height: 78svh; min-height: 420px; max-height: 900px; overflow: hidden; color: #fff; background: #1a1a1a; }
@media (min-width: 1024px) { .hero { height: calc(100vh - var(--header-h)); } }
.hero__media { position: absolute; inset: 0; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.45) 100%); }
.hero .hero__video, .hero .hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: var(--gutter); text-align: center; }
.hero__title { margin: 0; max-width: 16ch; font-size: var(--fs-hero); font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -.01em; text-shadow: 0 2px 24px rgba(0,0,0,.25); }

/* Accueil : carrousel ----------------------------------------------------- */
.carousel { margin-top: var(--space); }
.carousel__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: 15vw; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 70vw; scroll-snap-align: center; }
.carousel__slide .product-card__body { padding-inline: 0; }
.carousel__progress { position: relative; width: 70vw; height: 3px; margin: 20px auto 0; background: var(--c-line); overflow: hidden; }
.carousel__thumb { position: absolute; left: 0; top: 0; height: 100%; width: 20%; background: var(--c-ink); }
/* PC : 5 blocs produits sur une seule ligne à la place du carrousel */
@media (min-width: 1024px) {
  .carousel__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; overflow: visible; padding-inline: var(--gutter); scroll-snap-type: none; }
  .carousel__slide { min-width: 0; }
  .carousel__slide:nth-child(n+6) { display: none; }
  .carousel .carousel__progress { display: none; }
}

/* Accueil : blocs catégories --------------------------------------------- */
.cat-blocks { display: grid; gap: var(--space); margin-block: var(--space); }
.cat-block { display: block; width: 80vw; margin-inline: auto; }
.cat-block:hover { opacity: 1; }
.cat-block__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-soft); }
.cat-block .cat-block__img { width: 100%; height: 100%; object-fit: cover; }
.cat-block__title { display: block; margin-top: 14px; text-align: center; font-size: var(--fs-xl); font-weight: 700; text-transform: uppercase; }

/* Accueil : menu figé ----------------------------------------------------- */
.fixed-menu { padding: 20px var(--gutter); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--c-soft); padding: 40px var(--gutter) 24px; text-align: center; }
.footer-inner { max-width: var(--container); margin-inline: auto; display: grid; gap: 24px; justify-items: center; }
.footer-social { display: flex; gap: 20px; }
.footer-social a { display: inline-flex; }
.footer-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.footer-cats a { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.footer-legal ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: var(--fs-sm); color: var(--c-muted); }
.footer-copy { margin: 0; font-size: var(--fs-xs); color: var(--c-light); }

/* Boutique : en-tête, fil d'Ariane, filtres ------------------------------- */
.shop-head { padding: 16px var(--gutter) 0; }
.breadcrumb { font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: 10px; text-align: left; }
.breadcrumb__sep { margin-inline: 6px; color: var(--c-light); }
.shop-title { font-size: var(--fs-xl); font-weight: 900; text-transform: uppercase; margin: 0 0 16px; }

.filter-bar { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px var(--gutter); }
.filter-bar__panel { flex: 1; }
.filter-bar__toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: var(--fs-sm); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; list-style: none; }
.filter-bar__toggle::-webkit-details-marker { display: none; }
.filter-bar__body { display: flex; flex-wrap: wrap; gap: 24px 48px; padding: 16px 0 8px; }
.filter-group__title { font-size: var(--fs-xs); color: var(--c-light); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.filter-group li a { display: block; padding: 3px 0; }
.filter-group a[aria-current] { font-weight: 700; }
.filter-bar__count { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); white-space: nowrap; }

/* Boutons images Femme / Homme */
.gender-buttons { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 768px) { .gender-buttons { grid-template-columns: 1fr 1fr; } }
.gender-button { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--c-soft); }
.gender-button:hover { opacity: 1; }
.gender-button .gender-button__img { width: 100%; height: 100%; object-fit: cover; }
.gender-button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35)); }
.gender-button__label { position: absolute; z-index: 1; left: 0; right: 0; bottom: 28px; text-align: center; color: #fff; font-size: var(--fs-xl); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }

/* Grille produits (bloc défilant) ---------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 4px; row-gap: 32px; padding-bottom: var(--space); }
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); column-gap: 16px; row-gap: 48px; padding-inline: var(--gutter); }
}

/* Image de mise en avant : 4 emplacements */
.promo-tile { position: relative; display: block; overflow: hidden; background: var(--c-soft); grid-column: 1 / -1; grid-row: 3 / span 2; aspect-ratio: 1 / 1; } /* téléphone : 1:1 */
@media (min-width: 1024px) { .promo-tile { grid-column: 3 / 5; grid-row: 1 / 3; aspect-ratio: auto; } }
.promo-tile:hover { opacity: 1; }
.promo-tile .promo-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.4)); }
.promo-tile__text { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: #fff; }
.promo-tile__name { font-size: var(--fs-lg); font-weight: 700; text-transform: uppercase; }

/* Bloc produit */
.product-card { min-width: 0; }
.product-card__link { display: block; }
.product-card__link:hover { opacity: 1; }
.product-card__media { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--c-soft); }
.product-card .product-card__img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { display: flex; flex-direction: column; gap: 3px; padding: 10px 10px 0; }
@media (min-width: 1024px) { .product-card__body { padding-inline: 0; } }
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 4px; }
.swatch { width: 12px; height: 12px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.swatches__more { font-size: var(--fs-xs); color: var(--c-light); }
.product-card__name { font-weight: 400; font-size: var(--fs-base); line-height: 1.3; }
.product-card__desc { font-size: var(--fs-sm); color: var(--c-light); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__price { font-size: var(--fs-base); }
.product-card__price del { color: var(--c-light); margin-right: 6px; }
.product-card__price ins { text-decoration: none; }
.product-card .onsale { display: none; }

.shop-empty { padding: 40px var(--gutter); text-align: center; }
.woocommerce nav.woocommerce-pagination { padding: 0 var(--gutter) var(--space); }
.woocommerce nav.woocommerce-pagination ul { display: flex; gap: 8px; justify-content: center; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { display: block; min-width: 36px; padding: 8px 10px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul li span.current { font-weight: 700; text-decoration: underline; }

/* Blog : Histoires d'OIZOS ------------------------------------------------ */
.blog-bar .filter-bar { padding-block: 14px; }
.article-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 1024px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }
.article-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-soft); }
.article-card__media:hover { opacity: 1; }
.article-card .article-card__img { width: 100%; height: 100%; object-fit: cover; }
.article-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); }
.article-card__overlay { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #fff; }
.article-card__title { font-size: var(--fs-lg); font-weight: 700; text-transform: uppercase; line-height: 1.15; }
.article-card__excerpt { margin: 0; padding: 10px 16px 20px; font-size: var(--fs-sm); color: var(--c-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-empty { padding: 32px var(--gutter) var(--space); color: var(--c-muted); }
.story__cover img { width: 100%; max-height: 80vh; object-fit: cover; }
.story__body { padding-block: 24px var(--space); }
.story__date { color: var(--c-muted); font-size: var(--fs-sm); }

/* Fiche produit ---------------------------------------------------------- */
.single-product .site-main { padding-top: 16px; }
.woocommerce div.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images img { background: var(--c-soft); }
.woocommerce div.product .woocommerce-product-gallery__trigger { display: none; }
.woocommerce div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 0; margin-top: 6px; }
.woocommerce div.product .flex-control-thumbs li { width: auto !important; }
.woocommerce div.product .flex-control-thumbs img { opacity: .55; }
.woocommerce div.product .flex-control-thumbs img.flex-active { opacity: 1; }
.woocommerce div.product .product_title { font-size: var(--fs-xl); font-weight: 700; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--c-ink); font-size: var(--fs-lg); }
.woocommerce div.product form.cart { margin-block: 24px; }
.woocommerce div.product form.cart .variations { width: 100%; border: 0; margin-bottom: 12px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; }
.woocommerce div.product form.cart .variations label { font-weight: 500; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; }
.woocommerce div.product form.cart .variations select { margin: 6px 0 14px; }
.woocommerce div.product form.cart .reset_variations { font-size: var(--fs-sm); color: var(--c-muted); }
.woocommerce div.product form.cart .quantity { display: inline-block; margin-right: 8px; }
.woocommerce div.product form.cart .quantity .qty { width: 72px; text-align: center; }
.woocommerce div.product form.cart .single_add_to_cart_button { min-width: 220px; padding-block: 16px; }
.product-note { font-size: var(--fs-sm); color: var(--c-muted); }
.woocommerce div.product .product_meta { font-size: var(--fs-sm); color: var(--c-muted); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 24px; padding: 0; margin: 0 0 20px; border-bottom: 1px solid var(--c-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 8px 0; font-weight: 500; color: var(--c-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--c-ink); box-shadow: inset 0 -2px 0 var(--c-ink); }
.related > h2, .upsells > h2 { font-size: var(--fs-lg); text-transform: uppercase; margin-top: 24px; }
.related .product-grid, .upsells .product-grid { padding-inline: 0; }
@media (max-width: 1023px) {
  .woocommerce div.product { grid-template-columns: 1fr; gap: 20px; }
  .single-product .site-main { padding-inline: 0; }
  .woocommerce div.product div.summary, .woocommerce div.product .woocommerce-tabs, .related > h2, .woocommerce-breadcrumb { padding-inline: var(--gutter); }
}
.woocommerce-breadcrumb { font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: 16px; }

/* Messages, panier, commande -------------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  list-style: none; padding: 14px 16px; margin: 0 0 20px; border: 0; background: var(--c-soft);
}
.woocommerce-message { box-shadow: inset 3px 0 0 var(--c-success); }
.woocommerce-error { box-shadow: inset 3px 0 0 var(--c-error); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button { float: right; padding: 8px 14px; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; border: 0; border-radius: 0; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 8px; border-top: 1px solid var(--c-line); text-align: left; }
.woocommerce table.shop_table img { width: 72px; }
.woocommerce a.remove { color: var(--c-muted) !important; }
.woocommerce a.remove:hover { background: none; color: var(--c-ink) !important; }
.woocommerce form .form-row { margin-bottom: 16px; }
.woocommerce form .form-row label { display: block; margin-bottom: 4px; font-size: var(--fs-sm); }
.woocommerce-checkout #payment { background: var(--c-soft); border-radius: 0; }
#place_order { width: 100%; padding-block: 18px; }

/* Pages de contenu ------------------------------------------------------- */
.entry-content h2 { margin-top: 40px; font-size: var(--fs-lg); text-transform: uppercase; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-bottom: 24px; }
.entry-content th, .entry-content td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--c-line); vertical-align: top; }
.entry-content mark { background: #fff3a8; }
.error-404 { text-align: center; }

/* Mouvement réduit ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Vague 2
   ========================================================================== */

/* Menu déroulant : sous-menus superposés ---------------------------------- */
.nav-panel { position: absolute; }
.nav-level[hidden] { display: none; }
.nav-item { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 6px 0; border: 0; background: none; color: var(--c-ink); cursor: pointer; text-align: left; font: 700 clamp(1.5rem, 1.1rem + 2vw, 2.25rem)/1.15 var(--font); text-transform: uppercase; letter-spacing: -.005em; }
.nav-item__chevron { font-weight: 400; font-size: .9em; }
.nav-back { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 8px; padding: 6px 0; border: 0; background: none; cursor: pointer; font: 500 var(--fs-sm) var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); }
.nav-level__title { margin: 0 0 4px; font-size: var(--fs-xs); color: var(--c-light); text-transform: uppercase; letter-spacing: .08em; }
@media (min-width: 1024px) { .nav-panel { max-width: 560px; right: auto; } }

/* Admin bar : ancre « Découvrez la collection » collée sous l'entête */
body.admin-bar { --adminbar-h: 46px; }
@media (min-width: 783px) { body.admin-bar { --adminbar-h: 32px; } }
html:has(body.admin-bar) { scroll-padding-top: calc(var(--header-h) + var(--adminbar-h, 0px)); }
html { scroll-behavior: smooth; }

/* Héros 1:1 (pages catégories, collection) */
.hero.hero--square { height: auto; min-height: 0; max-height: none; aspect-ratio: 1 / 1; }
@media (min-width: 1024px) { .hero.hero--square { max-height: calc(100vh - var(--header-h)); } }

/* Accueil : T-shirts + Sweats, bannière Accessoires ------------------------ */
.cat-pair { display: grid; gap: var(--space); }
.cat-banner { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-soft); }
.cat-banner:hover { opacity: 1; }
.cat-banner .cat-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-banner__btn { position: relative; z-index: 1; padding: 16px 32px; font-weight: 700; }
@media (min-width: 1024px) {
  .cat-pair { grid-template-columns: 1fr 1fr; gap: 16px; padding-inline: var(--gutter); }
  .cat-pair .cat-block { width: auto; margin-inline: 0; }
  .cat-banner { aspect-ratio: 21 / 8; }
}

/* Zoom léger : survol (PC), apparition à l'écran (téléphone) */
.zoomable { overflow: hidden; }
.zoomable img { transition: transform .8s cubic-bezier(.2,.6,.2,1); }
@media (hover: hover) { .zoomable:hover img, a:hover > .zoomable img { transform: scale(1.04); } }
@media (hover: none) { .zoomable.in-view img { transform: scale(1.04); transition-duration: 1.6s; } }
.cat-block:hover .cat-block__img { transform: scale(1.04); }

/* Bloc produit : image 2 au survol (PC), au balayage (téléphone) ------------ */
.product-card__frame { position: relative; display: block; }
.product-card__media { position: relative; }
.product-card .product-card__img--2 { display: none; }
@media (hover: hover) {
  .product-card .product-card__img--2 { display: block; position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; }
  .product-card:hover .product-card__img--2 { opacity: 1; }
}
.product-card__dots { display: none; }
@media (hover: none) {
  .product-card__media.has-2 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .product-card__media.has-2::-webkit-scrollbar { display: none; }
  .product-card__media.has-2 .product-card__img { flex: 0 0 100%; scroll-snap-align: start; }
  .product-card .product-card__media.has-2 .product-card__img--2 { display: block; }
  .product-card__dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 4px; pointer-events: none; }
  .product-card__dots i { width: 14px; height: 2px; background: rgba(0,0,0,.2); }
  .product-card__dots i:first-child, .product-card__dots[data-i="2"] i:last-child { background: var(--c-ink); }
  .product-card__dots[data-i="2"] i:first-child { background: rgba(0,0,0,.2); }
  .carousel .product-card__media.has-2 { display: block; overflow: hidden; }
  .carousel .product-card .product-card__img--2, .carousel .product-card__dots { display: none; }
}

/* Page collection --------------------------------------------------------- */
.collection-mix { display: grid; gap: var(--space); padding-block: var(--space); }
.mix-images { display: grid; gap: 4px; }
.mix-images--2 { grid-template-columns: 1fr 1fr; }
.mix-images__item { margin: 0; background: var(--c-soft); }
.mix-images--2 .mix-images__item { aspect-ratio: 3 / 4; }
.mix-images--1 .mix-images__item { aspect-ratio: 4 / 3; }
.mix-images__item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .mix-images { gap: 16px; padding-inline: var(--gutter); }
  .mix-images--1 .mix-images__item { aspect-ratio: 21 / 9; }
}
.mix-text { max-width: 680px; margin-inline: auto; padding-inline: var(--gutter); text-align: center; font-size: var(--fs-lg); line-height: 1.5; }
.mix-text__title { font-size: var(--fs-xl); text-transform: uppercase; font-weight: 900; }
.discover-band { margin: 0 0 var(--space); padding: 14px var(--gutter); background: var(--c-soft); text-align: center; font-size: var(--fs-base); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.other-collections { padding: var(--space) 0; background: var(--c-soft); }
.other-collections__title { padding-inline: var(--gutter); font-size: var(--fs-xl); text-transform: uppercase; font-weight: 900; }
.other-collections__track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); scrollbar-width: none; }
.other-collections__track::-webkit-scrollbar { display: none; }
.collection-square { position: relative; flex: 0 0 60vw; aspect-ratio: 1 / 1; scroll-snap-align: start; background: #ddd; }
.collection-square:hover { opacity: 1; }
.collection-square img { width: 100%; height: 100%; object-fit: cover; }
.collection-square::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); }
.collection-square__name { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; color: #fff; font-weight: 700; text-transform: uppercase; }
@media (min-width: 1024px) { .collection-square { flex-basis: calc((100% - 3 * 8px) / 4); } }

/* Page produit : galerie + barre de défilement collée à l'image ------------ */
.oz-gallery { min-width: 0; }
.oz-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--c-soft); }
.oz-gallery__track::-webkit-scrollbar { display: none; }
.oz-gallery__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1 / 1; }
.woocommerce div.product .oz-gallery__slide img, .oz-gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.oz-gallery .oz-gallery__progress { width: 100%; margin: 0; }
.woocommerce div.product .oz-gallery { width: 100%; }

/* Ordre : nom, prix, couleur, tailles */
.woocommerce div.product .product_title { margin-bottom: 6px; }
.woocommerce div.product p.price { margin-bottom: 20px; }
.woocommerce div.product form.cart .variations tr.oz-variation { display: block; margin-bottom: 18px; }
.woocommerce div.product form.cart .variations tr.oz-variation[hidden] { display: none; }
.oz-hidden-select { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.oz-picker-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.oz-picker { display: flex; flex-wrap: wrap; gap: 10px; }
.oz-picker__selected { font-size: var(--fs-sm); color: var(--c-muted); text-align: right; white-space: nowrap; }
.oz-swatch { position: relative; width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 0; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); cursor: pointer; }
.oz-swatch.is-on { box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), 0 0 0 2px var(--c-bg), 0 0 0 3px var(--c-ink); }
.oz-size { min-width: 48px; height: 44px; padding: 0 10px; border: 1px solid #cfcfcf; background: var(--c-bg); color: var(--c-ink); font: 500 var(--fs-sm) var(--font); cursor: pointer; position: relative; }
.oz-size.is-on { border-color: var(--c-ink); background: var(--c-ink); color: var(--c-bg); }
/* Rupture de stock Printful : barré */
.oz-swatch.is-out, .oz-size.is-out { opacity: .45; }
.oz-swatch.is-out::after, .oz-size.is-out::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1.5px; background: var(--c-ink); transform: rotate(45deg); }
.oz-size.is-out { color: var(--c-light); }
.woocommerce div.product form.cart .variations td.label { display: none; }
.woocommerce div.product form.cart .variations tr.oz-variation td.label, .woocommerce div.product form.cart .variations tr.oz-variation th.label { display: block; }

/* Avis : étoiles sélectionnables */
.star-rating { position: relative; display: inline-block; width: 5.6em; height: 1.1em; line-height: 1; overflow: hidden; font-size: 1rem; letter-spacing: .12em; }
.star-rating::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: #d6d6d6; }
.star-rating span { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: var(--c-ink); }
p.stars { margin: 6px 0 16px; }
p.stars span { display: inline-flex; gap: 2px; }
p.stars a { position: relative; display: inline-block; width: 1.6em; height: 1.6em; overflow: hidden; text-indent: -999em; text-decoration: none; }
p.stars a::before { content: "★"; position: absolute; top: 0; left: 0; width: 100%; text-align: center; text-indent: 0; font-size: 1.5em; line-height: 1; color: #d6d6d6; }
p.stars:hover a::before, p.stars.selected a::before { color: var(--c-ink); }
p.stars:hover a:hover ~ a::before, p.stars.selected a.active ~ a::before { color: #d6d6d6; }
p.stars.selected:hover a::before { color: var(--c-ink); }
p.stars.selected:hover a:hover ~ a::before { color: #d6d6d6; }
.woocommerce #reviews .comment-form-rating select { display: none; }

/* Formulaire de contact : simple et propre -------------------------------- */
.wpcf7 { max-width: 640px; }
.wpcf7 form p { margin: 0 0 16px; }
.wpcf7 label { display: block; font-size: var(--fs-sm); font-weight: 500; }
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .wpcf7 textarea, .wpcf7 select { border: 1px solid #cfcfcf; background: var(--c-bg); }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--c-ink); }
.wpcf7 textarea { min-height: 160px; resize: vertical; }
.wpcf7 input[type="submit"] { width: auto; margin-top: 4px; }
.wpcf7 .wpcf7-spinner { display: none; }
.wpcf7-not-valid-tip { font-size: var(--fs-xs); color: var(--c-error); margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border: 0; background: var(--c-soft); font-size: var(--fs-sm); }

@media (max-width: 1023px) { .single-product .breadcrumb { padding-inline: var(--gutter); } }


/* ==========================================================================
   Vague 3
   ========================================================================== */
html { overflow-x: clip; }

/* Pages Aide & contact ---------------------------------------------------- */
.help-page__crumb { margin: 0; padding: 16px var(--gutter) 10px; }
.help-banner { aspect-ratio: 16 / 7; overflow: hidden; background: var(--c-soft); }
@media (min-width: 1024px) { .help-banner { aspect-ratio: 3 / 1; } }
.help-banner .help-banner__img { width: 100%; height: 100%; object-fit: cover; }
.help-page__body { padding-block: 28px var(--space); }
.help-page__body:has(.oz-sg) { max-width: 1100px; }
.help-page .oz-sg { font-family: inherit; max-width: none; padding: 0; }
.help-page .oz-sg h1 { display: none; }
.help-page .oz-sg h2, .help-page .oz-sg h3 { font-family: inherit; }

/* Guide des tailles : titres en bannière */
.size-banner { position: relative; aspect-ratio: 16 / 7; margin: 56px 0 16px; overflow: hidden; background: #222; }
@media (min-width: 1024px) { .size-banner { aspect-ratio: 21 / 6; } }
.size-banner .size-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.size-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.5)); }
.help-page .oz-sg .size-banner__title { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 14px; margin: 0; color: #fff; font-size: clamp(1.6rem, 1rem + 3vw, 2.75rem); font-weight: 900; line-height: 1.05; text-transform: uppercase; }

/* Le contenu du guide n'a pas d'enveloppe .oz-sg : on cible directement le contenu. */
.help-page .entry-content > h1 { display: none; }
.help-page__body:has(.size-banner) { max-width: 1100px; }
.help-page .entry-content .size-banner__title { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 14px; margin: 0; color: #fff; font-size: clamp(1.6rem, 1rem + 3vw, 2.75rem); font-weight: 900; line-height: 1.05; text-transform: uppercase; }

/* ==========================================================================
   Vague 4
   ========================================================================== */

/* Bannières illustrées (Aide & contact, Mon compte, 404) : dessin noir sur blanc */
.help-banner--art { aspect-ratio: auto; height: 200px; background: #fff; border-block: 1px solid var(--c-line, #eee); }
@media (min-width: 1024px) { .help-banner--art { aspect-ratio: auto; height: 340px; } }
.help-banner--art .help-banner__img { width: 100%; height: 100%; padding: 12px var(--gutter); object-fit: contain; }
.account-page__body { max-width: 1000px; }
.error-404 .help-page__body { text-align: center; padding-bottom: var(--space); }

/* Filigrane de chargement : sous l'entête (z-index 50), voile gris 35 % */
.page-loader {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; top: var(--loader-top, var(--header-h));
  display: flex; align-items: center; justify-content: center;
  background: rgba(128, 128, 128, .35);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, visibility 0s linear .2s;
}
.oz-loading .page-loader { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .25s ease .35s, visibility 0s linear .35s; }
.page-loader__img { width: 110px; height: auto; }
@media (min-width: 1024px) { .page-loader__img { width: 140px; } }

/* Dessins OIZOS : noirs, avec un liseré blanc intégré au dessin pour rester lisibles sur les photos */
.doodle { position: absolute; z-index: 2; height: auto; pointer-events: none; user-select: none; }
.doodle--hero { width: clamp(64px, 17vw, 150px); }
.doodle--hero.doodle--br { right: 4%; bottom: 3%; }
.doodle--hero.doodle--bl { left: 4%; bottom: 3%; width: clamp(64px, 16vw, 140px); }
.doodle--hero.doodle--tr { right: 4%; top: 4%; width: clamp(58px, 14vw, 130px); }
.doodle--hero.doodle--tl { left: 4%; top: 4%; }
/* Petit, collé au-dessus du bouton « Découvrir la collection » */
.hero__btn-wrap { position: relative; display: inline-block; }
.doodle--on-btn { right: 14px; bottom: calc(100% - 4px); width: 40px; }
@media (min-width: 1024px) { .doodle--on-btn { width: 48px; } }
/* Entre T-shirts et Sweats, à gauche */
.cat-pair .cat-block:nth-child(2) { position: relative; }
.doodle--catpair { left: 0; bottom: calc(100% - 6px); width: 52px; }
@media (min-width: 1024px) { .doodle--catpair { left: -42px; bottom: auto; top: 58%; width: 68px; z-index: 3; } }
/* À gauche d'Instagram */
.footer-social { align-items: center; }
.footer-social__doodle { display: inline-flex; }
.doodle--footer { position: static; width: 44px; }
@media (prefers-reduced-motion: reduce) { .page-loader__img { visibility: hidden; } }

/* Mon compte (PC) : la navigation et le contenu WooCommerce sont flottants ;
   on referme le bloc pour que le pied de page reste dessous. */
.woocommerce-account .entry-content > .woocommerce { display: flow-root; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin-bottom: 10px; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { font-weight: 700; }
/* Bannière Accessoires de l'accueil : photo verticale, cadrage sur le visage */
.cat-banner .cat-banner__img { object-position: 50% 42%; }

/* ==========================================================================
   Vague 4.2
   ========================================================================== */
/* Accueil : Welcome to the Backyard en bas à gauche de la première bannière */
.doodle--hero.doodle--welcome.doodle--bl { width: clamp(118px, 30vw, 260px); }

/* Page T-shirts : photos Femme / Homme moins hautes */
.gender-buttons--compact .gender-button { aspect-ratio: 4 / 3; }
.gender-buttons--compact .gender-button .gender-button__img { object-position: 50% 68%; }
@media (min-width: 1024px) { .gender-buttons--compact .gender-button { aspect-ratio: 16 / 10; } }

/* Histoires d'OIZOS : tous les dessins dans la bannière, autour du titre */
.hero--stickers .doodle { width: clamp(46px, 13vw, 118px); }
.hero--stickers .doodle--s1  { left: 3%;  top: 4%; }
.hero--stickers .doodle--s2  { left: 26%; top: 3%; }
.hero--stickers .doodle--s3  { left: 52%; top: 5%; width: clamp(64px, 17vw, 150px); }
.hero--stickers .doodle--s4  { right: 3%; top: 3%; }
.hero--stickers .doodle--s5  { left: 2%;  top: 33%; width: clamp(40px, 11vw, 100px); }
.hero--stickers .doodle--s6  { right: 2%; top: 31%; width: clamp(40px, 11vw, 100px); }
.hero--stickers .doodle--s7  { left: 3%;  bottom: 4%; width: clamp(66px, 18vw, 160px); }
.hero--stickers .doodle--s8  { left: 26%; bottom: 3%; width: clamp(40px, 10vw, 96px); }
.hero--stickers .doodle--s9  { left: 50%; bottom: 3%; transform: translateX(-50%); width: clamp(96px, 24vw, 220px); }
.hero--stickers .doodle--s10 { right: 22%; bottom: 3%; }
.hero--stickers .doodle--s11 { right: 3%; bottom: 5%; width: clamp(56px, 14vw, 120px); }
@media (max-width: 767px) {
  /* Sur mobile, le Welcome descend sous le bouton sans le toucher */
  .hero--stickers .hero__content { padding-bottom: 22%; }
}
@media (max-width: 767px) { .hero--stickers .doodle--s5, .hero--stickers .doodle--s6 { top: 21%; } }

/* ==========================================================================
   Vague 6 — Récit de collection en planches
   ========================================================================== */
.collection-story { display: grid; gap: calc(var(--space) * 1.4); padding-block: var(--space); }
.story-row { display: grid; gap: 20px; align-items: center; }
.story-row__text { padding-inline: var(--gutter); max-width: 640px; color: #4a4a4a; font-size: var(--fs-lg); line-height: 1.6; }
.story-row__text p { margin: 0 0 1em; }
.story-row__text p:last-child { margin-bottom: 0; }
.story-row__media { margin: 0; }
.story-row__media .story-row__img { display: block; width: 100%; height: auto; }
.story-row:not(.story-row--pair) .story-row__text { margin-inline: auto; }
@media (min-width: 1024px) {
  .collection-story { gap: calc(var(--space) * 1.6); }
  .story-row { padding-inline: var(--gutter); }
  .story-row__text { padding-inline: 0; }
  .story-row--pair { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .story-row--pair.story-row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .story-row--pair.story-row--flip .story-row__text { order: 2; }
  .story-row:not(.story-row--pair) .story-row__media { max-width: 1200px; margin-inline: auto; }
}

/* ==========================================================================
   Vague 6 — Couleurs et images produit entières
   ========================================================================== */
/* Images produit : jamais rognées, rapport largeur / hauteur conservé (fond blanc des visuels Printful). */
.product-card__media { background: #fff; }
.product-card .product-card__img { object-fit: contain; }
.oz-gallery__track { background: #fff; }
.woocommerce div.product .oz-gallery__slide img, .oz-gallery__slide img { object-fit: contain; }

/* Pastilles des blocs produit : cliquables, plus grandes zones de clic */
.swatch[data-href] { position: relative; cursor: pointer; }
.swatch[data-href]::before { content: ""; position: absolute; inset: -6px; }
.swatch.is-on { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 2px var(--c-bg), 0 0 0 3px var(--c-ink); }
.swatch[data-href]:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 3px; }
.product-card.is-colored .product-card__img--2 { display: none !important; }

/* Produit regroupé : pastilles = autres couleurs (liens) */
.oz-colorgroup { margin-bottom: 18px; }
.oz-colorgroup__label { display: block; font-weight: 500; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; }
.oz-colorgroup .oz-swatch { display: inline-block; }
.oz-colorgroup .oz-swatch:hover { opacity: 1; }

/* Vague 6 bis : survol des pastilles = photo de la couleur ; survol de l'image = sa deuxième photo */
@media (hover: hover) {
  .product-card:has(.swatches:hover) .product-card__img--2 { opacity: 0; }
}
.product-card.is-colored .product-card__dots { display: none; }
