:root { --green:#022e15; --green2:#0a4a2a; --yellow:#fcc426; --paper:#fff; --cream:#f6f5ed; --border:#d8e1db; --muted:#66736c; --danger:#9c3029; --shadow:0 20px 60px rgba(2,46,21,.16); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:#15251d; background:var(--cream); font-family:Arial,Helvetica,sans-serif; line-height:1.5; -webkit-font-smoothing:antialiased; }
button,input { font:inherit; }
button { cursor:pointer; }
[hidden] { display:none !important; }
a { color:inherit; }
.container { width:min(1180px,calc(100% - 40px)); margin-inline:auto; }
.skip-link { position:fixed; z-index:100; top:8px; left:8px; padding:10px; color:#fff; background:var(--green); transform:translateY(-150%); }
.skip-link:focus { transform:none; }
.shop-header { position:sticky; z-index:20; top:0; background:#fff; border-bottom:1px solid var(--border); }
.header-inner { min-height:82px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:flex; align-items:center; gap:16px; color:var(--green); font-size:.78rem; font-weight:800; text-decoration:none; }
.brand img { width:145px; height:56px; object-fit:contain; }
.header-inner nav { display:flex; align-items:center; gap:22px; }
.header-inner nav > a { font-size:.88rem; font-weight:800; text-decoration:none; }
.header-inner nav > a[aria-current] { text-decoration:underline; text-decoration-color:var(--yellow); text-decoration-thickness:4px; text-underline-offset:8px; }
.cart-button { min-height:44px; padding:0 16px; color:#fff; background:var(--green); border:0; border-radius:999px; font-weight:800; }
.cart-button span { min-width:22px; display:inline-grid; place-items:center; margin-left:6px; padding:2px 6px; color:var(--green); background:var(--yellow); border-radius:999px; font-size:.72rem; }
.shop-hero { padding:84px 0; color:#fff; background:var(--green); }
.hero-grid { display:grid; grid-template-columns:1.45fr .55fr; gap:80px; align-items:end; }
.eyebrow { margin:0 0 10px; color:var(--green2); font-size:.72rem; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.shop-hero .eyebrow { color:var(--yellow); }
.shop-hero h1 { max-width:760px; margin:0; font-size:clamp(3rem,7vw,6.4rem); line-height:.94; letter-spacing:-.065em; }
.shop-hero h1 span { color:var(--yellow); }
.shop-hero > .container > div:first-child > p:last-child { max-width:650px; margin:26px 0 0; color:rgba(255,255,255,.78); font-size:1.08rem; }
.hero-note { padding:26px; color:var(--green); background:var(--yellow); border-radius:18px; }
.hero-note strong { font-size:1.2rem; }
.hero-note p { margin:8px 0 14px; }
.hero-note a { font-weight:800; }
.dimatex-feature { padding:58px 0; background:#fff; border-bottom:1px solid var(--border); }
.dimatex-grid { display:grid; grid-template-columns:1.25fr .75fr; gap:60px; align-items:center; }
.dimatex-logo { width:min(470px,100%); height:auto; display:block; margin:0 0 24px; background:#000; border-radius:12px; }
.dimatex-feature h2 { max-width:720px; margin:0; color:var(--green); font-size:clamp(2.1rem,5vw,4.2rem); line-height:1; letter-spacing:-.05em; }
.dimatex-feature p { max-width:720px; color:var(--muted); }
.dimatex-link { display:inline-flex; gap:8px; align-items:center; margin-top:8px; color:var(--green); font-weight:900; text-underline-offset:5px; }
.made-in-france-note { padding:25px; color:var(--green); background:#fff3c9; border-radius:18px; }
.made-in-france-note strong { font-size:1.15rem; }
.made-in-france-note p { color:#3c4a42; }
.made-in-france-note small { color:#66736c; }
.catalog-section { padding:82px 0 100px; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:28px; }
.section-heading h2 { margin:0; color:var(--green); font-size:clamp(2.2rem,5vw,4rem); letter-spacing:-.05em; }
.section-heading > p { max-width:470px; margin:0; color:var(--muted); }
.filter-row { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:28px; }
.chip { padding:9px 15px; color:var(--green); background:#fff; border:1px solid var(--border); border-radius:999px; font-weight:800; }
.chip.is-active { color:#fff; background:var(--green); border-color:var(--green); }
.product-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.product-card { position:relative; display:flex; flex-direction:column; min-height:430px; padding:20px; background:#fff; border:1px solid var(--border); border-radius:18px; overflow:hidden; }
.product-visual { height:190px; display:grid; place-items:center; margin:-20px -20px 20px; color:var(--green); background:#e5eee8; overflow:hidden; }
.product-visual img { width:100%; height:100%; object-fit:cover; }
.product-visual span { font-size:3.5rem; font-weight:900; }
.product-category { margin:0 0 6px; color:var(--green2); font-size:.7rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.product-card h3 { margin:0; color:var(--green); font-size:1.35rem; line-height:1.15; }
.product-description { color:var(--muted); font-size:.9rem; }
.product-meta { display:flex; justify-content:space-between; gap:10px; margin-top:auto; padding-top:18px; border-top:1px solid var(--border); }
.product-meta strong { color:var(--green); font-size:1.35rem; }
.product-meta small { display:block; color:var(--muted); }
.stock { align-self:center; color:var(--green2); font-size:.75rem; font-weight:800; }
.stock.out { color:var(--danger); }
.add-button { width:100%; min-height:44px; margin-top:15px; color:#fff; background:var(--green); border:0; border-radius:999px; font-weight:900; }
.add-button:disabled { cursor:not-allowed; color:#768079; background:#e0e5e2; }
.loading,.empty-products { grid-column:1/-1; padding:50px; color:var(--muted); background:#fff; border:1px dashed #acbbb1; border-radius:18px; text-align:center; }
.shop-service { padding:65px 0; color:#fff; background:var(--green); }
.service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:38px; }
.service-grid article { padding-left:18px; border-left:2px solid var(--yellow); }
.service-grid span { color:var(--yellow); font-size:.72rem; font-weight:900; }
.service-grid h3 { margin:6px 0; }
.service-grid p { margin:0; color:rgba(255,255,255,.72); }
footer { padding:32px 0; background:#fff; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:22px; color:var(--muted); font-size:.82rem; }
.footer-inner img { width:130px; height:54px; object-fit:contain; }
.footer-inner a { color:var(--green); font-weight:800; }
.overlay { position:fixed; z-index:29; inset:0; background:rgba(2,20,10,.55); }
.cart-drawer { position:fixed; z-index:30; top:0; right:0; width:min(450px,100%); height:100dvh; display:flex; flex-direction:column; background:#fff; box-shadow:-20px 0 70px rgba(0,0,0,.22); transform:translateX(105%); transition:transform .25s ease; }
.cart-drawer.is-open { transform:none; }
.drawer-heading { display:flex; align-items:center; justify-content:space-between; padding:22px; border-bottom:1px solid var(--border); }
.drawer-heading h2 { margin:0; color:var(--green); }
.drawer-heading button,.dialog-heading button { width:40px; height:40px; color:var(--green); background:#eef3ef; border:0; border-radius:50%; font-size:1.5rem; }
.cart-items { flex:1; padding:18px 22px; overflow:auto; }
.cart-empty { padding:35px 10px; color:var(--muted); text-align:center; }
.cart-item { display:grid; grid-template-columns:1fr auto; gap:12px; padding:15px 0; border-bottom:1px solid var(--border); }
.cart-item strong { color:var(--green); }
.cart-item small { display:block; color:var(--muted); }
.quantity { display:flex; align-items:center; gap:8px; margin-top:9px; }
.quantity button { width:28px; height:28px; color:var(--green); background:#edf2ee; border:0; border-radius:50%; font-weight:900; }
.remove-item { padding:4px 0; color:var(--danger); background:transparent; border:0; font-size:.75rem; font-weight:800; }
.cart-summary { padding:22px; border-top:1px solid var(--border); }
.cart-summary > div { display:flex; align-items:center; justify-content:space-between; }
.cart-summary strong { color:var(--green); font-size:1.6rem; }
.cart-summary small { display:block; margin:10px 0 16px; color:var(--muted); }
.button { min-height:47px; display:inline-flex; align-items:center; justify-content:center; padding:0 20px; border:0; border-radius:999px; font-weight:900; }
.button-yellow { width:100%; color:var(--green); background:var(--yellow); }
.button-green { width:100%; color:#fff; background:var(--green); }
.button:disabled { cursor:not-allowed; opacity:.55; }
.empty-cart { width:100%; margin-top:10px; padding:8px; color:var(--muted); background:transparent; border:0; font-size:.78rem; font-weight:800; }
.checkout-dialog { width:min(720px,calc(100% - 24px)); max-height:calc(100dvh - 30px); padding:0; border:0; border-radius:22px; box-shadow:var(--shadow); }
.checkout-dialog::backdrop { background:rgba(2,20,10,.65); }
.checkout-card { padding:30px; }
.dialog-heading { display:flex; align-items:start; justify-content:space-between; gap:20px; }
.dialog-heading h2 { margin:0; color:var(--green); font-size:2rem; }
.form-note { color:var(--muted); font-size:.86rem; }
.checkout-card label:not(.payment-choice,.consent) { display:grid; gap:5px; margin-top:13px; color:var(--green); font-size:.8rem; font-weight:800; }
.checkout-card input[type="text"],.checkout-card input[type="email"],.checkout-card input[type="tel"],.checkout-card label:not(.payment-choice,.consent) input { width:100%; padding:11px 12px; border:1px solid #b5c2ba; border-radius:9px; }
.field-grid { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.checkout-card fieldset { display:grid; gap:9px; margin:22px 0 14px; padding:0; border:0; }
.checkout-card legend { margin-bottom:8px; color:var(--green); font-weight:900; }
.payment-choice { display:flex; align-items:start; gap:11px; padding:13px; border:1px solid var(--border); border-radius:12px; cursor:pointer; }
.payment-choice:has(input:checked) { border-color:var(--green); box-shadow:0 0 0 1px var(--green); }
.payment-choice input { margin-top:4px; accent-color:var(--green); }
.payment-choice span { display:grid; }
.payment-choice small { color:var(--muted); }
.payment-choice.is-disabled { cursor:not-allowed; opacity:.55; }
.consent { display:flex; align-items:start; gap:10px; color:var(--muted); font-size:.78rem; }
.consent input { margin-top:3px; accent-color:var(--green); }
.checkout-error { min-height:20px; color:var(--danger); font-size:.82rem; font-weight:800; }
.toast { position:fixed; z-index:50; left:50%; bottom:25px; padding:12px 18px; color:#fff; background:var(--green); border-radius:999px; box-shadow:var(--shadow); transform:translate(-50%,150%); transition:.2s ease; }
.toast.is-visible { transform:translate(-50%,0); }
.order-page,.legal-page { min-height:calc(100vh - 180px); padding:70px 0; }
.order-card,.legal-card { width:min(760px,100%); margin:auto; padding:clamp(24px,5vw,50px); background:#fff; border:1px solid var(--border); border-radius:22px; box-shadow:0 16px 50px rgba(2,46,21,.08); }
.order-card h1,.legal-card h1 { margin:0; color:var(--green); font-size:clamp(2rem,5vw,3.6rem); letter-spacing:-.045em; }
.order-state { margin:22px 0; padding:18px; color:var(--green); background:#ecf3ee; border-left:4px solid var(--yellow); }
.order-state strong { display:block; font-size:1.1rem; }
.order-card .button { width:auto; text-decoration:none; }
.legal-card { width:min(900px,100%); }
.draft-warning { margin:22px 0; padding:16px; color:#654c00; background:#fff2bd; border-radius:10px; font-weight:800; }
.legal-card h2 { margin-top:30px; color:var(--green); }
.legal-card p,.legal-card li { color:#4f5e56; }
@media (max-width:850px) {
  .hero-grid,.product-grid,.service-grid { grid-template-columns:1fr 1fr; }
  .dimatex-grid { grid-template-columns:1fr; gap:24px; }
  .hero-note { grid-column:1/-1; }
  .section-heading { align-items:start; flex-direction:column; }
  .footer-inner { align-items:flex-start; flex-direction:column; }
}
@media (max-width:620px) {
  .container { width:min(100% - 28px,1180px); }
  .header-inner { min-height:72px; }
  .brand span,.header-inner nav > a:first-child { display:none; }
  .brand img { width:112px; height:45px; }
  .header-inner nav { gap:10px; }
  .shop-hero { padding:55px 0; }
  .hero-grid,.product-grid,.service-grid,.field-grid { grid-template-columns:1fr; }
  .product-card { min-height:400px; }
  .checkout-card { padding:22px 16px; }
}
