@charset "UTF-8";
:root{
  --ink:#161616;
  --ink-soft:#4f4f52;
  --blue:#2a93cf;
  --blue-dark:#1d7fb6;
  --blue-soft:#eaf6fd;
  --blue-soft-2:#f5fbff;
  --green:#168a43;
  --red:#d4282e;
  --paper:#ffffff;
  --paper-2:#f8fbfd;
  --line:#d9e8f3;
  --line-strong:#bdd6e6;
  --shadow:0 18px 45px rgba(27,68,101,.08);
  --serif:'Playfair Display', Georgia, serif;
  --sans:'DM Sans', Arial, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{margin:0;font-family:var(--sans);font-size:15px;line-height:1.6;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
button,input,select{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%}
strong{font-weight:700}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.ribbon{padding:12px 18px;text-align:center;background:linear-gradient(90deg,var(--green) 0 16%, #f3f3f3 16% 50%, var(--red) 50% 84%, var(--blue) 84% 100%);color:#111;font-size:12px;letter-spacing:.07em;text-transform:uppercase}
.ribbon strong{color:#111}
.ribbon span{padding:0 10px}

.header{height:92px;padding:0 clamp(18px,4vw,72px);display:flex;align-items:center;justify-content:space-between;gap:16px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);position:sticky;top:0;z-index:40;border-bottom:1px solid #edf5fb}
.brand{display:flex;align-items:center;gap:14px;min-width:0}
.brand-logo{width:145px;height:auto;object-fit:contain}
.brand-copy{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.brand-copy strong{font:700 24px/1.05 var(--serif);color:#000;display:none}
.brand-copy small{font-size:11px;letter-spacing:.12em;color:#557189;text-transform:uppercase}
.nav{display:flex;gap:28px;align-items:center;font-size:14px;color:#35556f}
.nav a{position:relative;font-weight:600}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform .22s ease}
.nav a:hover::after{transform:scaleX(1)}
.header-actions{display:flex;align-items:center;gap:8px}
.icon-btn{appearance:none;border:1px solid #d8e8f3;background:#fff;color:var(--blue);width:44px;height:44px;border-radius:50%;display:grid;place-items:center;position:relative;box-shadow:0 4px 16px rgba(42,147,207,.06)}
.icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cart-btn span{position:absolute;top:-4px;right:-3px;background:var(--blue);color:#fff;border-radius:18px;font-size:10px;padding:2px 6px;line-height:1.3;border:2px solid #fff}

.hero{max-width:1500px;margin:0 auto;display:grid;grid-template-columns:1.03fr .97fr;background:linear-gradient(135deg,#f8fcff 0%,#ffffff 55%,#eef8ff 100%)}
.hero-copy{padding:clamp(42px,7vw,100px) clamp(20px,6vw,96px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.eyebrow{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--blue-dark)}
.hero h1,.about-text h2,.story h2,.cta h2{font-family:var(--serif);font-weight:600;letter-spacing:-.03em;line-height:1.12;color:#111;margin:18px 0 22px}
.hero h1{font-size:clamp(42px,5vw,74px)}
.hero h1 em,.about-text h2 em,.story h2 em,.cta h2 em{color:var(--blue);font-style:italic;font-weight:500}
.hero-copy>p{font-size:17px;line-height:1.85;color:var(--ink-soft);max-width:610px;margin:0}
.hero-actions{display:flex;gap:18px;flex-wrap:wrap;align-items:center;margin-top:34px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:16px 24px;border-radius:999px;border:1px solid transparent;font-weight:700;font-size:13px;transition:transform .18s ease,background .2s ease,color .2s ease,border-color .2s ease;min-height:52px}
.btn:hover{transform:translateY(-2px)}
.btn-primary,.btn-dark{background:var(--blue);color:#fff;box-shadow:0 10px 26px rgba(42,147,207,.16)}
.btn-primary:hover,.btn-dark:hover{background:var(--blue-dark)}
.btn-light{background:#fff;color:var(--blue);border-color:#fff}
.btn-light:hover{background:#f7fbfe}
.btn-outline-light{border-color:rgba(255,255,255,.85);color:#fff}
.btn-outline-light:hover{background:rgba(255,255,255,.08)}
.text-link{font-size:14px;font-weight:700;color:var(--blue-dark);border-bottom:1px solid rgba(42,147,207,.35);padding-bottom:5px}
.text-link:hover{color:var(--blue)}
.hero-note{margin-top:38px;display:flex;gap:16px;align-items:center;background:#fff;border:1px solid #e5f0f7;padding:14px 16px;border-radius:20px;box-shadow:var(--shadow);max-width:550px}
.hero-note img{width:92px;height:auto;flex:0 0 auto}
.hero-note span{color:#476173;font-size:13px;line-height:1.6}
.hero-media{position:relative;min-height:620px;overflow:hidden}
.hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.hero-tag{position:absolute;right:28px;bottom:28px;background:rgba(255,255,255,.96);padding:18px 22px;border-radius:20px;box-shadow:var(--shadow);max-width:290px}
.hero-tag span{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#61829d;margin-bottom:6px}
.hero-tag b{font:600 22px/1.25 var(--serif);color:#111}

.promise{border-block:1px solid #ecf4f9;padding:18px 22px;display:flex;justify-content:center;gap:20px;flex-wrap:wrap;background:#fff;color:#446376;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.promise span{position:relative;padding:0 10px}
.promise span:not(:last-child)::after{content:"";position:absolute;right:-10px;top:50%;transform:translateY(-50%);width:5px;height:5px;border-radius:50%;background:var(--blue)}

.about{max-width:1450px;margin:0 auto;padding:92px 28px 65px}
.about-grid{display:grid;grid-template-columns:.94fr 1.06fr;gap:36px;align-items:center}
.about-image{background:var(--paper-2);border:1px solid var(--line);border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}
.about-image img{width:100%;height:100%;object-fit:cover}
.about-image-main{min-height:620px}
.about-text h2{font-size:clamp(34px,4.2vw,58px)}
.about-text p{margin:0 0 16px;color:#495a66;line-height:1.92}
.about-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}
.mini-card{background:linear-gradient(180deg,#fff 0%,#f7fbfe 100%);border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 10px 24px rgba(21,80,112,.05)}
.mini-card h3{font:600 22px/1.25 var(--serif);color:#111;margin:0 0 10px}
.mini-card p{margin:0;color:#526674;line-height:1.8;font-size:14px}

.catalog{max-width:1450px;margin:0 auto;padding:62px 28px 110px}
.section-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-end}
.section-head h2{margin:12px 0 10px;font:600 clamp(32px,3.7vw,54px)/1.16 var(--serif);color:#111;letter-spacing:-.03em}
.section-head p{margin:0;color:#5b6b76;line-height:1.8;max-width:720px}
.product-summary{min-width:130px;text-align:right;color:#678190}
.product-summary b{display:block;font:600 44px/1 var(--serif);color:var(--blue)}
.product-summary span{font-size:12px}
.tools{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap;margin:38px 0 26px}
.filters{display:flex;gap:10px;flex-wrap:wrap}
.filter{border:1px solid var(--line-strong);background:#fff;color:#446376;border-radius:999px;padding:11px 18px;font-size:12px;font-weight:700;white-space:nowrap}
.filter.active,.filter:hover{border-color:var(--blue);background:var(--blue);color:#fff}
.filter span{opacity:.8;margin-left:5px}
.tools-right{display:flex;gap:10px;flex-wrap:wrap}
.tools input,.tools select{border:1px solid var(--line);background:#fff;border-radius:16px;padding:12px 15px;font-size:13px;color:#415561;min-width:170px}
.tools input:focus,.tools select:focus{outline:2px solid rgba(42,147,207,.18);border-color:var(--blue)}
.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 20px}
.product-card{min-width:0}
.product-image{width:100%;aspect-ratio:1/1;background:#f6fbff;position:relative;overflow:hidden;border:1px solid var(--line);border-radius:24px;padding:0;box-shadow:0 10px 26px rgba(21,80,112,.05)}
.product-image img{width:100%;height:100%;object-fit:contain;padding:16px;background:linear-gradient(180deg,#fff 0%,#f9fcff 100%);transition:transform .35s ease}
.product-image:hover img{transform:scale(1.04)}
.tag{position:absolute;top:14px;left:14px;background:rgba(255,255,255,.94);font-size:10px;color:var(--blue-dark);text-transform:uppercase;letter-spacing:.11em;padding:8px 10px;border-radius:999px;border:1px solid rgba(42,147,207,.12)}
.product-data{padding:16px 4px 6px}
.product-category{color:#6b8799;letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-weight:700}
.product-name{font:600 24px/1.15 var(--serif);margin:7px 0 8px;color:#111}
.product-name button{border:0;background:none;padding:0;color:inherit;font:inherit;text-align:left}
.product-name button:hover{text-decoration:underline;color:var(--blue-dark)}
.product-description{font-size:13px;line-height:1.7;color:#62717a;min-height:44px;margin:0 0 14px}
.price-row{display:flex;justify-content:space-between;align-items:center;gap:8px}
.price{font-size:17px;font-weight:700;color:var(--blue-dark)}
.add-btn{width:40px;height:40px;border:1px solid var(--line-strong);color:var(--blue);background:#fff;border-radius:50%;font-size:22px}
.add-btn:hover{background:var(--blue);color:#fff;border-color:var(--blue)}
.no-results{text-align:center;padding:42px;color:#5d7586}

.story{display:grid;grid-template-columns:1fr 1fr;background:linear-gradient(135deg,#edf7fd 0%,#f8fcff 100%);min-height:580px}
.story-visual{position:relative;min-height:460px;overflow:hidden}
.story-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.story-stamp{position:absolute;right:28px;bottom:28px;width:114px;height:114px;border-radius:50%;display:grid;place-items:center;text-align:center;background:#fff;color:var(--blue-dark);font:600 16px/1.3 var(--serif);box-shadow:var(--shadow);transform:rotate(-10deg)}
.story-text{padding:clamp(42px,6vw,88px);display:flex;flex-direction:column;justify-content:center}
.story h2{font-size:clamp(34px,4vw,58px);margin-bottom:18px}
.story p{color:#4f6675;line-height:1.9;margin:0 0 15px}

.cta{background:linear-gradient(135deg,var(--blue-dark) 0%,var(--blue) 100%);color:#fff;text-align:center;padding:100px 24px 108px}
.cta .eyebrow{color:#d9f0fb}
.cta h2{font-size:clamp(36px,4.5vw,62px);color:#fff;margin:17px 0}
.cta p{max-width:620px;margin:0 auto 30px;color:#ebf8ff;line-height:1.75}
.cta-buttons{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}

footer{background:#f7fbfe;color:#526575}
.foot-top{max-width:1450px;margin:0 auto;padding:66px 28px 54px;display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:26px}
.foot-top>div{display:flex;flex-direction:column;gap:10px;font-size:14px}
.foot-top p{margin:8px 0 0;line-height:1.8;color:#5b6f7b;max-width:360px}
.foot-top b{font-size:14px;color:#111;margin-bottom:6px}
.foot-brand .brand-logo{width:170px}
.foot-bottom{max-width:1450px;margin:0 auto;border-top:1px solid #e2eef6;padding:18px 28px 24px;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;color:#678090}

.scrim{position:fixed;inset:0;background:rgba(10,20,29,.48);z-index:65;backdrop-filter:blur(2px)}
.drawer{z-index:70;position:fixed;right:0;top:0;bottom:0;width:min(480px,100vw);background:#fff;transform:translateX(105%);transition:transform .28s ease;display:flex;flex-direction:column;box-shadow:-10px 0 45px rgba(12,46,63,.14)}
.drawer.open{transform:translateX(0)}
.drawer-header{display:flex;justify-content:space-between;align-items:center;padding:28px;border-bottom:1px solid var(--line)}
.drawer-header h2{font:600 30px var(--serif);margin:5px 0;color:#111}
.cart-items{flex:1;overflow-y:auto;padding:20px 26px}
.cart-item{display:flex;gap:13px;padding:15px 0;border-bottom:1px solid var(--line)}
.cart-item img{height:100px;width:88px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px}
.cart-item-details{flex:1}
.cart-item-details h3{font:600 19px var(--serif);margin:4px 0;color:#111}
.cart-item-details p{color:#63727d;font-size:12px;margin:0 0 10px}
.quantity{display:flex;align-items:center;gap:14px}
.quantity button{background:#f4f9fc;border:0;width:28px;height:26px;color:var(--blue-dark);border-radius:8px}
.remove{background:none;border:0;color:#6c8390;text-decoration:underline;font-size:11px;padding:5px}
.cart-footer{padding:23px 28px 27px;border-top:1px solid var(--line)}
.cart-line{display:flex;justify-content:space-between;font-size:17px}
.cart-footer p{font-size:12px;color:#62717d;line-height:1.5}
.cart-footer .cart-help{font-size:10px}
.full{width:100%}
.empty-cart{text-align:center;color:#6f808b;padding:70px 12px;font-size:13px;line-height:1.8}

.modal{background:#fff;position:fixed;inset:4vh 5vw;z-index:71;display:none;overflow-y:auto;box-shadow:0 18px 65px rgba(8,42,62,.18);border-radius:24px}
.modal.open{display:block}
.modal-x{position:sticky;top:16px;float:right;margin-right:16px;border:0;background:#fff;width:40px;height:40px;border-radius:50%;z-index:2;font-size:18px;box-shadow:0 4px 14px rgba(26,74,105,.12)}
.modal-wrap{display:grid;grid-template-columns:1.04fr .96fr;min-height:70vh}
.modal-gallery{background:var(--blue-soft-2);padding:24px;display:flex;flex-direction:column;gap:14px}
.main-photo{width:100%;height:min(60vh,570px);object-fit:contain;background:#fff;border-radius:20px;padding:18px;border:1px solid var(--line)}
.thumbs{display:flex;gap:10px;flex-wrap:wrap}
.thumb{border:2px solid transparent;background:none;padding:2px;border-radius:16px}
.thumb.active{border-color:var(--blue)}
.thumb img{height:70px;width:70px;object-fit:contain;background:#fff;border-radius:12px;padding:6px;border:1px solid var(--line)}
.modal-info{padding:clamp(28px,5vw,76px);display:flex;flex-direction:column;justify-content:center}
.modal-info h2{font:600 clamp(34px,3.5vw,52px)/1.1 var(--serif);color:#111;margin:14px 0}
.modal-price{font-size:25px;font-weight:700;color:var(--blue-dark)}
.modal-info p{line-height:1.85;color:#566b78}
.modal-info ul{padding-left:18px;line-height:1.85;color:#566b78;font-size:13px}
.modal-info .btn{margin:12px 0;max-width:320px}
.modal-info .text-link{max-width:max-content}

.info-page{max-width:860px;margin:80px auto 120px;padding:0 25px}
.info-page h1{font:600 52px var(--serif);color:#111}
.info-page h2{font:600 26px var(--serif);color:var(--blue-dark);margin-top:32px}
.info-page p{line-height:1.8;color:#495d69}
.info-page .btn{margin-top:20px}

@media(max-width:1160px){
  .products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .about-grid,.story,.hero{grid-template-columns:1fr}
  .about-image-main,.hero-media{min-height:460px}
  .hero-media{order:-1}
  .foot-top{grid-template-columns:1fr 1fr}
}
@media(max-width:780px){
  .ribbon{font-size:10px;padding:11px 12px}
  .header{height:78px;padding:0 14px}
  .nav{display:none}
  .brand-logo{width:118px}
  .brand-copy small{font-size:9px}
  .hero-copy{padding:42px 20px 34px}
  .hero h1{font-size:48px}
  .hero-copy>p{font-size:15px}
  .hero-media{min-height:390px}
  .hero-tag{right:18px;bottom:18px;max-width:230px;padding:14px 16px}
  .hero-note{padding:12px 13px;border-radius:18px}
  .hero-note img{width:76px}
  .promise{font-size:10px;gap:12px}
  .about{padding:70px 18px 48px}
  .about-image-main{min-height:360px}
  .about-cards{grid-template-columns:1fr}
  .catalog{padding:54px 18px 82px}
  .section-head{align-items:flex-start;flex-direction:column}
  .product-summary{display:none}
  .tools-right{width:100%}
  .tools input{flex:1;min-width:120px}
  .tools select{min-width:140px}
  .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}
  .product-name{font-size:20px}
  .product-description{min-height:60px}
  .story-text{padding:48px 22px}
  .cta{padding:82px 22px 90px}
  .foot-top{grid-template-columns:1fr;padding:48px 18px 36px}
  .foot-bottom{padding:18px 18px 22px}
  .modal{inset:2vh 2vw}
  .modal-wrap{grid-template-columns:1fr}
  .modal-gallery{padding:14px}
  .main-photo{height:44vh}
  .modal-info{padding:26px}
}
@media(max-width:420px){
  .hero h1{font-size:42px}
  .products{grid-template-columns:1fr}
  .product-image{aspect-ratio:1/1}
  .cta-buttons .btn{width:100%}
}

/* Motivi Liberi v003 — fotografie intere, anteprime senza ritagli né numerazioni */
.hero-media{background:linear-gradient(180deg,#eff8fd,#fff)}
.hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;padding:22px}
.about-image img{object-fit:contain;padding:20px;background:#f6fbfe}
.story-visual{background:#edf7fd}
.story-visual img{object-fit:contain;padding:18px}
.product-image{aspect-ratio:4/5;display:block}
.product-image img{object-fit:contain;padding:10px;background:linear-gradient(180deg,#fff,#f8fbfe)}
.product-image:hover img{transform:scale(1.025)}
.checkout-message{background:#f3f9ff;border:1px solid #b6d9ee;border-radius:14px;padding:12px;color:#1d4d69;font-weight:600}
@media(max-width:780px){
 .hero-media{min-height:430px}
 .hero-media img{padding:12px}
 .product-image{aspect-ratio:4/5}
 .story-visual img{padding:12px}
}
@media(max-width:420px){.product-image{aspect-ratio:4/5}}

/* Motivi Liberi v004 — dettagli su misura e immagine Altamarea */
.hero-media { background:#f4f9fd; }
.hero-media img { object-fit:contain; object-position:center center; }
.custom-section{max-width:1450px;margin:18px auto 48px;padding:20px 28px;display:grid;grid-template-columns:.9fr 1.1fr;gap:34px;align-items:center;}
.custom-visual{min-height:460px;height:100%;border-radius:26px;overflow:hidden;background:#f7fbfe;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;}
.custom-visual img{width:100%;height:100%;max-height:590px;object-fit:contain;background:#fff;padding:22px;}
.custom-copy{padding:30px 18px;}
.custom-copy h2{font:600 clamp(34px,4vw,58px)/1.15 var(--serif);color:#151515;letter-spacing:-.03em;margin:18px 0 22px;}
.custom-copy h2 em{color:var(--blue);font-weight:500;}
.custom-copy p{color:#526674;line-height:1.9;margin:0 0 18px;}
.custom-notes{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0 28px;}
.custom-notes span{padding:8px 12px;color:var(--blue-dark);font-size:12px;border:1px solid var(--line-strong);border-radius:18px;background:var(--blue-soft-2);font-weight:700;}
.custom-copy small{display:block;color:#6f808e;font-size:12px;line-height:1.7;margin-top:16px;}
@media(max-width:950px){.custom-section{grid-template-columns:1fr;padding:16px 18px;gap:14px}.custom-visual{min-height:350px}.custom-copy{padding:20px 0 26px}}
@media(max-width:650px){.hero-media{min-height:400px}.custom-visual{min-height:300px}.custom-visual img{max-height:390px}}

/* v005 - Regole spedizione e disponibilità prodotto */
.shipping-banner{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;background:#e9f6ff;border-block:1px solid #b6daef;color:#0f5684;text-align:center;padding:16px 20px}
.shipping-banner strong{font-size:14px;letter-spacing:.035em}
.shipping-banner small{font-size:12px;color:#365f7d}
.shipping-icon{font-size:23px;color:#168a43}
.product-card .tag{background:#e7f6ed;color:#17633c;border:1px solid #b9e3c6;letter-spacing:.05em}
@media(max-width:780px){.shipping-banner{padding:12px 16px;gap:4px}.shipping-banner strong{font-size:12px;width:100%}.shipping-banner small{font-size:11px}}
