:root {
  --red: #e30613;
  --yellow: #ffe500;
  --ink: #161616;
  --muted: #5c584e;
  --paper: #fffdf6;
  --line: rgba(22, 22, 22, 0.12);
  --shadow: 0 16px 36px rgba(22, 22, 22, 0.08);
  --font: "Nunito", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: 1.05rem; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-family: var(--font); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 0.55rem; }
p { margin: 0 0 0.8rem; }
.wrap { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.measure { max-width: 38rem; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 40; background: var(--yellow); color: var(--ink); padding: 0.5rem 0.8rem; }

.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 4px solid var(--yellow); }
.site-header > .wrap { width: min(1360px, calc(100% - 2.5rem)); }
.header-inner { display: flex; align-items: center; flex-wrap: nowrap; gap: 0.7rem; min-height: 3.7rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); flex: 0 0 auto; min-width: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand strong { display: block; font-size: 1.02rem; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.brand span span { display: block; color: var(--red); font-size: 0.75rem; font-weight: 800; white-space: nowrap; }
.nav { display: flex; gap: 0.1rem 0.7rem; margin-left: 0.1rem; align-items: center; }
.nav a, .nav button { color: inherit; text-decoration: none; font-weight: 800; font-size: 0.94rem; white-space: nowrap; background: none; border: 0; padding: 0.2rem 0; cursor: pointer; }
.nav a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); }
.nav .cart-link { display: none; }
.header-cta { display: flex; align-items: center; gap: 0.55rem; flex: 0 0 auto; }
.header-phone { font-weight: 800; text-decoration: none; color: var(--red); white-space: nowrap; }
.status-chip { display: none; align-items: center; background: #f4f1e8; border-radius: 999px; padding: 0.35rem 0.7rem; font-size: 0.82rem; font-weight: 800; white-space: nowrap; }
.status-chip.is-open { background: #e7f6df; color: #146214; }
.status-chip.is-closed { background: #f8e8e6; color: var(--red); }
.nav-toggle { display: none; width: 2.75rem; height: 2.75rem; border: 2px solid var(--ink); border-radius: 0.85rem; background: var(--yellow); color: var(--ink); font-weight: 800; cursor: pointer; }
.cart-link { display: inline-flex; align-items: center; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 0.45rem 0.85rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.cart-link span, [data-cart-count] { margin-left: 0.3rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: 0.45rem 1.05rem; border-radius: 999px; border: 2px solid transparent; background: var(--red); color: #fff; text-decoration: none; font-weight: 800; cursor: pointer; }
.btn-primary { background: var(--red); color: #fff; }
.btn-ghost, .btn-light, .btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.nav .nav-phone { display: none; }
.header-inner > .nav-toggle { margin-left: auto; }
.btn-sm { min-height: 2.4rem; padding-inline: 0.85rem; }
.btn:disabled { background: #efece3; color: #6f6a60; cursor: not-allowed; }
.hero .btn-ghost { background: #fff; }

.hero { position: relative; overflow: hidden; padding: 2.8rem 0 2.4rem; background: linear-gradient(145deg, var(--yellow) 0%, #ffd400 70%, #ffc400 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 1.6rem; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.lede { font-size: 1.12rem; max-width: 38rem; font-weight: 650; }
.kicker { margin: 0 0 0.45rem; color: var(--red); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; }
.hero .kicker { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 0.2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.pill { display: inline-flex; align-items: center; padding: 0.35rem 0.7rem; border-radius: 999px; background: var(--ink); color: var(--yellow); font-size: 0.8rem; font-weight: 800; }
.hero-photos { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 148px 148px; gap: 0.55rem; margin: 0; }
.hero-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 1rem; }
.hero-photos img:first-child { grid-row: 1 / span 2; }

.page-hero { background: var(--red); color: #fff; padding: 2.5rem 0 2.1rem; border-bottom: 6px solid var(--yellow); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.15rem); max-width: 18ch; }
.page-hero p { max-width: 40rem; }
.page-hero .kicker, .page-hero .crumbs, .page-hero .crumbs a { color: #fff; }
.page-hero .btn-primary { background: var(--yellow); color: var(--ink); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.8rem 0 0; font-size: 0.92rem; font-weight: 800; }
.crumbs a { color: var(--red); }

.section { padding: 3.6rem 0; }
.section + .section { padding-top: 0; }
.section-head { max-width: 40rem; margin-bottom: 1.3rem; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); }
.block-gap { margin-top: 2rem; }

.trust { padding: 1.35rem 0; background: var(--red); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-item strong { display: block; font-size: 1.65rem; line-height: 1.1; color: var(--yellow); }
.trust-item span { color: #fff; }

.panel, .hero-card, .step, .card, .benefit, .quote, .offer { background: #fff; border: 1px solid var(--line); border-radius: 1.1rem; box-shadow: var(--shadow); }
.panel, .hero-card { padding: 1.15rem 1.2rem; }
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.48rem 0; border-top: 1px solid var(--line); }
.hours-list .is-today { color: var(--red); font-weight: 800; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; align-items: stretch; }
.panel, .hero-card { height: 100%; }
.steps, .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.step, .card, .benefit { padding: 1rem 1.05rem; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.benefit h3, .step h3, .card h3 { font-size: 1.08rem; }
.benefit p, .step p, .card p { margin: 0; color: var(--muted); }

.categories { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.8rem; }
.cat { grid-column: span 2; display: flex; flex-direction: column; gap: 0.35rem; min-height: 100%; padding: 1.05rem 1.05rem 1.1rem; border-radius: 1.1rem; border: 1px solid var(--line); border-top: 6px solid var(--red); background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.cat:nth-child(4), .cat:nth-child(5) { grid-column: span 3; }
.cat h3 { margin: 0.35rem 0 0; font-size: 1.35rem; }
.cat p { margin: 0; color: var(--muted); }
.cat-linge, .cat-vaisselle, .cat-maison, .cat-corps, .cat-cadeaux, .cat-pro { background: #fff; color: var(--ink); }
.cat-cadeaux { border-top-color: #c9a400; }
.cat-vaisselle { border-top-color: var(--ink); }

.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.quote { padding: 1.15rem 1.15rem 1rem; }
.quote .stars { color: var(--red); letter-spacing: 0.08em; }
.quote blockquote { margin: 0.65rem 0 0.85rem; font-size: 1.05rem; font-weight: 750; line-height: 1.4; }
.quote footer { color: var(--muted); font-size: 0.88rem; }

.gallery, .product-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.7rem; }
.gallery img, .shot img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 1rem; }
.product-gallery img { width: 100%; aspect-ratio: 1; height: auto; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 0.7rem; }
.shot { padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.shot span { display: block; margin-top: 0.4rem; font-weight: 800; }

.catalog-tools { display: grid; gap: 0.75rem; margin-bottom: 1rem; }
.catalog-tools label, .form label { display: grid; gap: 0.28rem; font-weight: 800; }
.catalog-tools input, .form input, .form select, .form textarea { width: 100%; min-height: 2.9rem; border: 1.5px solid rgba(22, 22, 22, 0.22); border-radius: 0.8rem; padding: 0.65rem 0.8rem; background: #fff; color: var(--ink); }
.form textarea { min-height: 7rem; resize: vertical; }
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filters button { min-height: 2.6rem; padding: 0.3rem 0.85rem; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; font-weight: 800; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; }
.product-block { margin: 0 0 1.8rem; }
.product-card { display: flex; flex-direction: column; gap: 0.3rem; min-height: 100%; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 1rem; }
.product-card h3 { font-size: 1.08rem; margin: 0; }
.product-card p { margin: 0; color: var(--muted); }
.product-card .num { color: var(--red); font-size: 1.35rem; font-weight: 800; }
.product-card .code { color: var(--muted); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; }
.product-card .btn { margin-top: auto; width: 100%; }
.price-note, .notice { margin: 0 0 0.8rem; padding: 0.8rem 1rem; background: #fff6c2; border-radius: 0.85rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; }
.price-table th, .price-table td { text-align: left; padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table th { font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; }
.num { font-weight: 800; white-space: nowrap; }
.code { font-weight: 800; }
.qty { display: inline-flex; align-items: center; gap: 0.35rem; }
.qty button { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; font-weight: 800; cursor: pointer; }
.cart-total { font-size: 1.25rem; }
.form { display: grid; gap: 0.75rem; }
.honeypot { position: absolute; left: -9999px; }
.form-error { color: var(--red); font-weight: 800; min-height: 1.2rem; margin: 0; }
.form-success { font-weight: 800; margin: 0; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.step-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 0.9rem 1rem; }
.step-num { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 800; }
.offer { padding: 1rem 1.1rem; }
.offer + .offer { margin-top: 0.7rem; }

.site-footer { background: #161616; color: #fff; padding: 2.2rem 0 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem; }
.site-footer h2 { font-size: 1rem; }
.site-footer a { color: var(--yellow); }
.site-footer p { color: #f4f4f4; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.2rem; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.14); color: #d7d7d7; font-size: 0.9rem; }
.credit { margin: 0.85rem 0 0.35rem; text-align: center; }
.credit-lockup { display: inline-flex; align-items: center; gap: 0.4rem; color: #9a9a9a; font-size: 0.75rem; font-weight: 650; text-decoration: none; }
.credit-lockup img { width: 18px; height: 18px; border-radius: 50%; opacity: 0.7; }
.credit-lockup span { color: #cfcfcf; text-decoration: underline; text-underline-offset: 0.15em; }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 30; }
.drawer-backdrop[hidden] { display: none; }
.drawer { position: fixed; top: 0; right: 0; z-index: 31; width: min(420px, 100%); height: 100%; background: #fff; padding: 1rem 1rem 1.2rem; transform: translateX(100%); transition: transform 0.2s ease; overflow: auto; display: flex; flex-direction: column; }
.drawer.is-open { transform: none; }
.drawer-head, .drawer-item { display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; }
.drawer-head { margin-bottom: 0.4rem; }
.drawer-item { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.drawer-foot { margin-top: auto; padding-top: 1rem; display: grid; gap: 0.6rem; }
.drawer-foot .btn { width: 100%; }
.text-btn { background: none; border: 0; color: var(--red); font-weight: 800; cursor: pointer; }
.lightbox { border: 0; border-radius: 1rem; padding: 0.6rem; max-width: min(1000px, 94vw); background: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.72); }
.lightbox img { max-height: 78vh; margin: auto; border-radius: 0.7rem; }
.legal h2 { margin-top: 1.5rem; font-size: 1.25rem; }
.admin-tabs { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-bottom: 1rem; }
.admin-tabs button { min-height: 2.6rem; padding: 0.35rem 0.8rem; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; font-weight: 800; cursor: pointer; }
.admin-tabs .is-on { background: var(--ink); color: var(--yellow); }
[data-admin-login], [data-account-form] { max-width: 32rem; }
[data-price-form] input { width: 7rem; }
.account-list { padding-left: 1.1rem; }
.account-list button { margin-left: 0.4rem; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (min-width: 1280px) { .status-chip { display: inline-flex; } }
@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; row-gap: 0.35rem; padding-bottom: 0.55rem; }
  .search-bar { flex: 1 1 100%; order: 3; margin: 0; min-width: 0; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .header-cta { margin-left: auto; }
  .header-cta .cart-link { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 0.4rem 1rem 0.9rem; background: #fff; border-bottom: 4px solid var(--yellow); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a, .nav button, .nav .cart-link, .nav .nav-phone { display: flex; align-items: center; min-height: 2.75rem; width: 100%; box-shadow: none; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .header-phone { display: none; }
  .hero-grid, .split, .steps, .cards, .footer-grid, .quote-grid { grid-template-columns: 1fr; }
  .trust-grid, .benefit-grid { grid-template-columns: 1fr 1fr; }
  .categories { grid-template-columns: 1fr 1fr; }
  .cat, .cat:nth-child(4), .cat:nth-child(5) { grid-column: auto; }
  .hero-photos { grid-template-columns: 1fr; grid-template-rows: 220px; margin-top: 0.2rem; }
  .hero-photos img:first-child { grid-row: auto; }
  .hero-photos img:nth-child(n + 2) { display: none; }
  .status-chip { display: none; }
}
@media (max-width: 640px) {
  .trust-grid, .benefit-grid, .categories, .gallery { grid-template-columns: 1fr; }
  .cat:last-child { grid-column: auto; }
  .brand span span { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .cat, .product-card, .shot img { transition: transform 0.18s ease; }
  .cat:hover, .product-card:hover { transform: translateY(-3px); }
  .shot { overflow: hidden; }
  .shot:hover img { transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .drawer { transition: none; }
}

.search-bar { display: flex; flex: 1 1 14rem; min-width: 11rem; margin-left: 0.35rem; padding: 0; }
.search-field { position: relative; width: 100%; min-width: 0; }
.search-bar input { width: 100%; min-width: 0; height: 2.35rem; border: 1.5px solid rgba(22, 22, 22, 0.14); border-radius: 999px; background: #f6f3ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c584e' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E") 0.7rem 50% / 0.95rem no-repeat; padding: 0.25rem 0.85rem 0.25rem 2.05rem; font: inherit; font-size: 0.92rem; }
.search-bar input:focus { border-color: var(--ink); background-color: #fff; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 0.35rem); z-index: 25; max-height: 18rem; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
.search-results a { display: block; padding: 0.55rem 0.9rem; color: var(--ink); text-decoration: none; }
.search-results a:hover, .search-results a:focus { background: #fff6cc; }
.search-results small { display: block; color: #666; font-weight: 650; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.search-empty { margin: 0; padding: 0.7rem 0.9rem; }
.story { display: grid; gap: 0.9rem; }
.story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0.8rem; }
.story figure { display: grid; grid-template-columns: minmax(0, 280px) 1fr; gap: 1rem; align-items: center; margin: 0; padding: 0.7rem; background: #fff; border: 1px solid var(--line); border-radius: 1.1rem; }
.story h2 { margin: 0 0 0.3rem; font-size: 1.2rem; }
.story p, .product-gallery figcaption { margin: 0; }
.product-gallery figure { margin: 0; }
.product-gallery figcaption { margin-top: 0.35rem; font-size: 0.92rem; font-weight: 700; }
.qty-field { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-weight: 800; }
.qty-field input { width: 4.2rem; }
.editor-row, .editor-block { display: grid; gap: 0.4rem; margin: 0.6rem 0; padding: 0.7rem; background: #fff; border: 1px solid var(--line); border-radius: 0.8rem; }
.editor-row { grid-template-columns: 6.5rem 1.4fr 7rem 8rem 6rem auto; }
.editor-actions { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.order-copy { width: 100%; min-height: 8rem; margin-top: 0.6rem; font: inherit; }
@media (max-width: 900px) {
  .story figure, .editor-row { grid-template-columns: 1fr; }
}
