*{box-sizing:border-box}body{font:1.05rem/1.6 "DM Sans",Arial,sans-serif;color:#211e19;background:#fbf7ed;margin:0}header,main,footer{width:min(1080px,90%);margin:auto}header{padding:22px 0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #c7bcaa}header img{display:block;max-width:35vw;height:auto}nav,footer{display:flex;align-items:center;flex-wrap:wrap;gap:22px}a{color:inherit;text-underline-offset:.2em}main{padding:clamp(40px,8vw,100px) 0;min-height:50vh}h1,h2,h3{line-height:1.06;letter-spacing:-.035em}h1{font-size:clamp(2.6rem,7vw,5.5rem);max-width:18ch;margin:0 0 .45em}h2{font-size:clamp(1.7rem,4vw,2.6rem)}p{max-width:72ch}footer{padding:28px 0 40px;border-top:1px solid #c7bcaa}small{width:100%}.cards,.product{display:grid;gap:clamp(20px,4vw,50px);grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr))}.product img,.cards img{width:100%;height:auto;border-radius:12px}.cards a{display:block}.price{font-size:1.5rem;font-weight:bold}label{display:grid;gap:5px;margin:14px 0;font-weight:600}form{max-width:560px}input{width:100%;padding:12px;font:inherit;border:1px solid #827966;border-radius:5px;background:white}.button,button{display:inline-block;background:#30291f;color:white;padding:.8em 1.2em;border:0;border-radius:6px;font:inherit;font-weight:bold;text-decoration:none;cursor:pointer}section+section{margin-top:3em}.legal-notice{display:block;width:min(100%,620px);aspect-ratio:210/297;border:0}details{margin:1.5rem 0}summary{cursor:pointer;font-weight:600}:focus-visible{outline:3px solid #96622a;outline-offset:4px}

.shop-prices { display:flex; flex-wrap:wrap; align-items:baseline; gap:.35rem .85rem; }
.shop-prices .regular-price { font-size:.9rem; color:#635c51; }
.cards { grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr)); }
.cards a { text-decoration:none; }
.cards a:hover h2 { text-decoration:underline; }
.cards small { display:block; margin-top:.45rem; }
.kit-offer .shop-prices strong { font-size:clamp(1.5rem,3vw,2rem); }

.photo-pending{display:grid;place-items:center;min-height:280px;aspect-ratio:4/5;background:#eee7db;color:#665d50;border-radius:12px}
button:disabled{opacity:.65;cursor:default}
#riepilogo{margin-top:4rem;padding-top:2rem;border-top:1px solid #c7bcaa}
#riepilogo input{max-width:110px}
#cart-total{font-weight:600;min-height:3em}

/* Catalog and cart share the same typography and warm shop palette. */
header{gap:16px}header nav{margin-left:auto;justify-content:flex-end;gap:16px}
.cart-toggle{display:flex;align-items:center;gap:10px;white-space:nowrap}
[data-cart-count]{display:inline-grid;place-items:center;min-width:25px;min-height:25px;padding:0 5px;background:#fbf7ed;color:#30291f;border-radius:50%;font-size:.85rem}
.cards img{aspect-ratio:4/5;object-fit:cover}.cards h2{font-size:1.6rem;margin:.8em 0 .4em}.card-description{font-size:1rem;line-height:1.5;margin:.75em 0 0;color:#514b41}
.cards .shop-prices{flex-direction:column-reverse;gap:.2rem}.cards .shop-prices strong{font-size:1.35rem}.cards .price{display:block;font-size:1.35rem}
#shop-cart{color:#211e19;background:#fbf7ed;border:0;border-left:1px solid #c7bcaa;width:min(520px,100%);max-width:100%;height:100dvh;max-height:100dvh;margin:0 0 0 auto;padding:clamp(20px,4vw,32px);overflow:auto}
#shop-cart::backdrop{background:rgb(25 21 16 / .4)}
.cart-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #c7bcaa;padding-bottom:20px}
.cart-heading h2{font-size:1.7rem;margin:0}.cart-heading button{background:transparent;color:inherit;padding:.5em;font-size:1rem;text-decoration:underline}
#shop-cart form{max-width:none}.cart-item{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:18px;padding:24px 0;border-bottom:1px solid #c7bcaa}.cart-item h3{font-size:1.15rem;line-height:1.3;letter-spacing:0;margin:0 0 8px}.cart-item p{font-size:.9rem;margin:0 0 10px}.cart-remove{background:transparent;color:#514b41;padding:5px 0;text-decoration:underline;font-size:.9rem;font-weight:400}.cart-quantity label{margin:0 0 10px;font-size:.85rem}.cart-quantity input{padding:8px;font-size:1rem}.cart-quantity strong{display:block;text-align:right}
.cart-totals{margin:24px 0}.cart-totals>div{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin:10px 0}.cart-totals dd{margin:0;white-space:nowrap}.cart-grand-total{border-top:1px solid #c7bcaa;padding-top:16px;font-weight:700}.cart-totals dt{font-size:.95rem}#cart-total{min-height:0;font-size:1.3rem}#cart-checkout{width:100%}#cart-status,.cart-policy,#cart-shipping-note{font-size:.9rem}.cart-policy{border-top:1px solid #c7bcaa;padding-top:20px}body:has(#shop-cart[open]){overflow:hidden}
@media(max-width:540px){header{width:92%;flex-wrap:wrap}header nav{gap:12px;font-size:.9rem}.cart-toggle{padding:.6em .8em}header img{max-width:110px}.cart-item{grid-template-columns:minmax(0,1fr) 88px;gap:12px}}

.skip-link{position:absolute;top:-100px;left:16px;z-index:10;background:#30291f;color:white;padding:12px 20px}.skip-link:focus{top:12px}
.shipping-banner{max-width:none;text-align:center;margin:0;padding:12px 5%;font-size:.9rem;background:#eee7db;color:#514b41}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;font-size:.9rem;margin-bottom:24px}.breadcrumbs a{min-height:44px;display:inline-flex;align-items:center}.breadcrumbs span{display:inline-flex;align-items:center}
button,summary{min-height:44px}a,button,input{touch-action:manipulation}#shop-cart [hidden]{display:none!important}
.cart-product-link{display:flex;gap:12px;align-items:center;text-decoration:none}.cart-product-link:hover{text-decoration:underline}.cart-product-link img{flex:0 0 48px;width:48px;height:60px;object-fit:cover;border-radius:4px}.cart-product-link h3{margin:0;overflow-wrap:anywhere}.cart-product p{margin-top:12px}
.cart-item{grid-template-columns:minmax(0,1fr) 140px}.quantity-stepper{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:0;margin-bottom:12px;border:1px solid #827966;border-radius:5px;background:white}.quantity-stepper button{padding:0;background:transparent;color:#30291f;min-width:44px;border-radius:0}.quantity-stepper input{width:100%;min-width:0;padding:4px 0;border:0;text-align:center;border-radius:0;appearance:textfield}.quantity-stepper input::-webkit-inner-spin-button,.quantity-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.cart-quantity label{font-size:.9rem;font-weight:400}
#cart-undo{padding:12px 0;border-block:1px solid #c7bcaa;font-size:.9rem}#cart-undo button{background:transparent;color:#30291f;padding:4px 8px;text-decoration:underline}.cart-continue{width:100%;margin-top:16px;background:transparent;color:#30291f;border:1px solid #827966}.checkout-note{font-size:.9rem;line-height:1.55;color:#514b41}
#product-zoom{width:min(960px,96vw);max-height:94dvh;padding:18px;border:0;background:#fbf7ed;color:#211e19}#product-zoom::backdrop{background:rgb(25 21 16 / .7)}.zoom-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.zoom-heading p{font-size:.9rem}#zoom-image{display:block;width:100%;height:auto}body:has(#product-zoom[open]){overflow:hidden}
@media(max-width:400px){.cart-item{grid-template-columns:minmax(0,1fr)}.cart-quantity{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}.cart-quantity label{grid-column:1 / -1;margin:0}.quantity-stepper{width:140px;margin:0}.cart-quantity strong{margin:0}.cart-product-link img{width:56px;height:70px;flex-basis:56px}}
