/* USATONUOVO.COM - stile pubblico, mobile-first */
:root{
  --bg:#ffffff; --ink:#15211e; --muted:#5b6b66; --line:#e7ece9;
  --brand:#1f6f5c; --brand-dark:#155244; --accent:#e8623b;
  --radius:14px; --shadow:0 6px 24px rgba(20,40,35,.08);
  --max:1160px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.55}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3{line-height:1.2;margin:0 0 .5em}

.topbar{background:var(--brand-dark);color:#fff;text-align:center;font-size:.85rem;padding:8px 12px}

.site-header{display:flex;flex-direction:column;gap:12px;max-width:var(--max);margin:0 auto;padding:12px 16px}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.header-tools{display:flex;align-items:center;gap:10px;flex-shrink:0}
.logo{font-weight:800;font-size:1.25rem;color:var(--brand);flex-shrink:0}
.main-nav{display:none;gap:18px;flex-wrap:wrap;width:100%}
.main-nav a{color:var(--muted);font-weight:600;font-size:.95rem;padding:4px 0}
.main-nav a:hover{color:var(--brand)}
.nav-toggle{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:1.35rem;line-height:1;cursor:pointer;color:var(--ink)}
.nav-toggle:hover{border-color:var(--brand);color:var(--brand)}
.search-bar{width:100%}
.search-bar input{width:100%;border:1px solid var(--line);border-radius:999px;padding:11px 16px;font-size:16px}
.cart-link{font-weight:700;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center;gap:4px;padding:0 4px}
.mobile-nav{position:fixed;inset:0;z-index:1000;background:rgba(21,33,30,.45);overflow:hidden}
.mobile-nav[hidden]{display:none!important}
.mobile-nav-inner{position:absolute;top:0;right:0;width:min(320px,88vw);height:100%;background:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:20px 16px 40px;box-shadow:-8px 0 32px rgba(20,40,35,.12);transform:translateX(100%);transition:transform .25s ease}
body.nav-open .mobile-nav-inner{transform:translateX(0)}
body.nav-open{overflow:hidden}
.mobile-nav-inner a{display:block;padding:12px 4px;font-weight:600;color:var(--ink);border-bottom:1px solid var(--line);min-height:44px;display:flex;align-items:center}
.mobile-nav-inner a:hover{color:var(--brand)}
.mobile-nav-label{margin:18px 0 6px;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.mobile-nav-muted{display:block;padding:8px 4px;color:var(--muted);font-size:.9rem}
body.nav-open .nav-toggle{border-color:var(--brand);color:var(--brand)}
.cart-count{display:inline-grid;place-items:center;min-width:22px;height:22px;background:var(--accent);color:#fff;border-radius:999px;font-size:.78rem;padding:0 6px}

.site-main{max-width:var(--max);margin:0 auto;padding:8px 16px 48px}
.section{margin:34px 0}
.section h2{font-size:1.4rem}

.hero{background:linear-gradient(135deg,#eaf4f0,#f6efe9);border-radius:var(--radius);padding:42px 24px;margin:18px 0}
.hero h1{font-size:1.9rem;max-width:18ch}
.hero p{color:var(--muted);max-width:48ch}

.btn{display:inline-block;border:1px solid var(--line);background:#fff;color:var(--ink);padding:11px 18px;border-radius:999px;font-weight:700;cursor:pointer;font-size:.95rem;text-align:center}
.btn:hover{border-color:var(--brand)}
.btn-primary{background:var(--brand);color:#fff;border-color:var(--brand)}
.btn-primary:hover{background:var(--brand-dark);border-color:var(--brand-dark)}
.btn-lg{padding:14px 26px;font-size:1.02rem}
.btn-sm{padding:6px 12px;font-size:.82rem}
.btn-danger{color:#cf222e;border-color:#f3c2c2}
.btn-ghost{background:transparent}

.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{border:1px solid var(--line);border-radius:999px;padding:8px 16px;font-weight:600;font-size:.9rem}
.chip:hover{border-color:var(--brand);color:var(--brand)}

.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.product-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;transition:box-shadow .2s,transform .2s}
.product-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.product-card-media{position:relative;aspect-ratio:1/1;background:#f3f6f4}
.product-card-media img{width:100%;height:100%;object-fit:cover}
.product-card-placeholder{width:100%;height:100%;background:repeating-linear-gradient(45deg,#eef3f1,#eef3f1 12px,#e6ece9 12px,#e6ece9 24px)}
.product-card-placeholder.large{aspect-ratio:1/1;border-radius:var(--radius)}
.badge{position:absolute;top:10px;left:10px;background:rgba(21,33,30,.82);color:#fff;font-size:.72rem;font-weight:700;padding:4px 9px;border-radius:999px}
.badge-sale{left:auto;right:10px;background:var(--accent)}
.product-card-body{padding:12px}
.product-card-body h3{font-size:.98rem;margin:0 0 6px}
.price-row{display:flex;align-items:baseline;gap:8px}
.price{font-weight:800;color:var(--brand-dark);font-size:1.1rem}
.price-old{color:var(--muted);text-decoration:line-through;font-size:.9rem}
.price-row.big .price{font-size:1.7rem}

.saving{color:var(--accent);font-weight:700;font-size:.85rem;margin-top:4px}
.saving.big{font-size:1rem;margin:6px 0 0}
.delivery{color:var(--muted);font-weight:600;font-size:.9rem;margin:10px 0 0}
.stock.low{color:var(--accent);font-weight:800}

.pay-badges{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:14px 0 0}
.pay-secure{font-weight:700;font-size:.85rem;color:var(--brand-dark);margin-right:4px}
.pay-chip{border:1px solid var(--line);border-radius:6px;padding:4px 8px;font-size:.72rem;font-weight:800;color:#33433e;background:#fff;letter-spacing:.02em}
.pay-chip.pay-stripe{color:#635bff;border-color:#d9d6ff}

.ship-bar{background:#eef6f2;border:1px solid #cfe6dc;border-radius:10px;padding:10px 12px;font-size:.88rem;font-weight:600;color:var(--brand-dark);margin-bottom:14px}
.ship-bar.done{background:#dcfce7;border-color:#a7e3bd;color:#166534}
.ship-track{height:7px;background:#d7e7e0;border-radius:999px;margin-top:8px;overflow:hidden}
.ship-track i{display:block;height:100%;background:var(--brand);border-radius:999px;transition:width .3s}

.footer-company{font-size:.85rem;color:var(--muted);line-height:1.7}
.footer-company strong{display:block;color:var(--ink)}
.footer-company a{color:var(--muted)}

.trust{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.trust-item{border:1px solid var(--line);border-radius:var(--radius);padding:16px;text-align:center}
.trust-item strong{display:block}
.trust-item span{color:var(--muted);font-size:.85rem}
.why-grid{display:grid;grid-template-columns:1fr;gap:14px}
.why-card{border:1px solid var(--line);border-radius:var(--radius);padding:18px;background:#fafcfb}
.why-card strong{display:block;font-size:1.05rem;margin-bottom:6px}
.why-card p{margin:0;color:var(--muted);font-size:.92rem}
.trust-badges{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.trust-badge{border:1px solid var(--line);border-radius:var(--radius);padding:16px;text-align:center;background:#fff}
.trust-badge strong{display:block;font-size:.95rem}
.trust-badge span{color:var(--muted);font-size:.82rem;display:block;margin-top:4px}
.product-highlights{display:grid;gap:12px;margin:18px 0}
.highlight-box{border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:#fafcfb}
.highlight-box h3{margin:0 0 6px;font-size:1rem}
.highlight-box p{margin:0;color:var(--muted);font-size:.92rem}

.breadcrumb{font-size:.85rem;color:var(--muted);margin:14px 0}
.product-detail{display:grid;gap:24px}
.product-gallery img#mainImage{width:100%;border-radius:var(--radius);border:1px solid var(--line);aspect-ratio:1/1;object-fit:cover}
.thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.thumbs img{width:64px;height:64px;object-fit:cover;border-radius:8px;border:1px solid var(--line);cursor:pointer}
.eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:.78rem;font-weight:700;margin:0}
.badges{display:flex;gap:8px;margin:8px 0}
.badges .badge{position:static}
.stock.in{color:var(--brand);font-weight:700}
.stock.out{color:#cf222e;font-weight:700}
.product-desc{margin:18px 0;color:#28332f}
.product-documents{margin:20px 0;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:#fafcfb}
.product-documents h3{margin:0 0 12px;font-size:1rem}
.product-documents-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.product-doc-link{
  display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 14px;border-radius:10px;
  border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:600;text-decoration:none
}
.product-doc-link:hover{border-color:var(--brand);color:var(--brand)}
.product-doc-icon{
  flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;
  border-radius:8px;background:#fee2e2;color:#b91c1c;font-size:.72rem;font-weight:800;letter-spacing:.02em
}
.product-meta{list-style:none;padding:0;color:var(--muted);font-size:.9rem}
.product-meta li{padding:4px 0;border-bottom:1px solid var(--line)}

.catalog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:8px}
.catalog-hero-img img{width:100%;max-width:200px;height:auto;max-height:120px;object-fit:cover;border-radius:14px;display:block}
.catalog-hero-img--logo img{object-fit:contain;background:#f3f6f4;padding:10px;max-height:100px}
.catalog-head-text{flex:1;min-width:200px}
.catalog-intro{color:var(--muted);margin:8px 0 0;max-width:60ch;line-height:1.5;font-size:.95rem}
.catalog-sort select{padding:8px 10px;border-radius:8px;border:1px solid var(--line);font-size:16px}
.catalog-filters{margin:8px 0 20px}
.catalog-filters-label{display:block;font-weight:700;margin-bottom:8px;font-size:.9rem}
.chip.is-active{background:var(--brand);color:#fff;border-color:var(--brand)}
.section-lead{color:var(--muted);margin:-4px 0 16px;max-width:60ch;line-height:1.5}
.condition-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.condition-card{display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);border-radius:14px;padding:16px 14px;text-align:left;min-height:100%}
.condition-card:hover,.condition-card:focus-visible{border-color:var(--brand);box-shadow:0 4px 16px rgba(0,0,0,.06)}
.condition-card strong{font-size:.98rem}
.condition-card span{font-size:.85rem;color:var(--muted);line-height:1.4}
.condition-count{font-style:normal;font-size:.78rem;color:var(--brand);font-weight:700;margin-top:auto}
.faq-page .lead{margin-bottom:20px}
.faq-page-cta{margin-top:24px}
.faq-section-link{margin-top:14px;font-size:.92rem}
.pagination{display:flex;gap:6px;flex-wrap:wrap;margin-top:24px}
.pagination a{border:1px solid var(--line);border-radius:8px;padding:8px 13px}
.pagination a.active{background:var(--brand);color:#fff;border-color:var(--brand)}
.empty{color:var(--muted);padding:24px 0}

.cart-items{display:flex;flex-direction:column;gap:12px}
.cart-row{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:var(--radius);padding:12px}
.cart-row img{width:64px;height:64px;object-fit:cover;border-radius:8px}
.cart-row .grow{flex:1}
.qty{display:flex;align-items:center;gap:6px}
.qty button{width:30px;height:30px;border-radius:8px;border:1px solid var(--line);background:#fff;cursor:pointer}
.cart-summary{border:1px solid var(--line);border-radius:var(--radius);padding:18px;margin-top:18px}
.cart-summary .row,.checkout-summary .row{display:flex;justify-content:space-between;padding:6px 0}
.cart-summary .total,.checkout-summary .total{border-top:1px solid var(--line);margin-top:8px;padding-top:12px;font-size:1.1rem}

.checkout-grid{display:grid;gap:20px}
.checkout-fields label,.checkout-fields .two{display:block;margin-bottom:12px}
.checkout-fields input{width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;font-size:16px}
.payment-methods{display:flex;flex-direction:column;gap:10px;margin:16px 0}
.payment-option{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;cursor:pointer;font-weight:600}
.payment-option:has(input:checked){border-color:var(--brand);background:#f0faf6}
.payment-option input{width:18px;height:18px;margin:0}
.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.checkout-summary{border:1px solid var(--line);border-radius:var(--radius);padding:18px;height:fit-content}
.secure-note{color:var(--muted);font-size:.85rem;margin-top:10px}
.notice{background:#fff7ed;border:1px solid #fed7aa;padding:12px;border-radius:10px}
.error{color:#cf222e}

.success-card{text-align:center;border:1px solid var(--line);border-radius:var(--radius);padding:40px 24px;max-width:560px;margin:0 auto}

/* Stato ordine cliente */
.order-status-page{padding:24px 16px 48px}
.order-status-card{max-width:640px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px 24px}
.order-status-meta{color:var(--muted);margin:0 0 20px}
.order-status-steps{list-style:none;margin:0 0 24px;padding:0;display:flex;flex-direction:column;gap:12px}
.order-status-step{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:12px;background:var(--bg-soft,#f8faf9);border:1px solid var(--line)}
.order-status-step.is-done{border-color:#bbf7d0;background:#f0fdf4}
.order-status-step-mark{flex-shrink:0;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid var(--line);font-weight:800;font-size:.85rem}
.order-status-step.is-done .order-status-step-mark{background:#16a34a;border-color:#16a34a;color:#fff}
.order-status-table{width:100%;border-collapse:collapse;margin:12px 0}
.order-status-table th,.order-status-table td{padding:10px 8px;border-bottom:1px solid var(--line);text-align:left;font-size:.92rem}
.order-status-table tfoot td{border-bottom:none;padding-top:12px}
.order-status-tracking{margin:16px 0;padding:12px 14px;border-radius:10px;background:var(--bg-soft,#f8faf9)}
.prose{max-width:74ch;color:#28332f}
.prose p{margin:0 0 1em}
.prose h2{font-size:1.25rem;margin:1.4em 0 .5em}
.prose ul,.prose ol{margin:0 0 1em;padding-left:1.2em}
.prose li{margin:.3em 0}
.prose .lead{font-size:1.12rem;color:var(--ink)}

.faq-list{display:flex;flex-direction:column;gap:10px;max-width:760px}
.faq-item{border:1px solid var(--line);border-radius:12px;padding:4px 16px;background:#fff}
.faq-item summary{cursor:pointer;font-weight:700;padding:12px 0;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";float:right;color:var(--brand);font-weight:800}
.faq-item[open] summary::after{content:"−"}
.faq-item p{margin:0 0 12px;color:#3a463f}

.site-footer{border-top:1px solid var(--line);margin-top:40px;background:#fafcfb}
.footer-cols{max-width:var(--max);margin:0 auto;padding:32px 16px;display:grid;grid-template-columns:1fr;gap:20px}
.footer-cols nav{display:flex;flex-direction:column;gap:8px}
.footer-cols a{color:var(--muted)}
.footer-bottom{text-align:center;color:var(--muted);font-size:.82rem;padding:14px;border-top:1px solid var(--line)}

@media(min-width:720px){
  .site-header{flex-direction:row;flex-wrap:wrap;align-items:center;padding:14px 16px}
  .header-row{width:auto;flex:0 0 auto}
  .nav-toggle{display:none}
  .search-bar{width:auto;flex:1;min-width:180px;max-width:360px;margin-left:auto;order:2}
  .main-nav{display:flex;order:4;width:100%;padding-top:4px;border-top:1px solid var(--line)}
  .header-tools{order:3;margin-left:12px}
  .product-grid{grid-template-columns:repeat(3,1fr)}
  .trust{grid-template-columns:repeat(4,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .trust-badges{grid-template-columns:repeat(4,1fr)}
  .hero h1{font-size:2.5rem}
  .product-detail{grid-template-columns:1fr 1fr;align-items:start}
  .checkout-grid{grid-template-columns:1.4fr 1fr}
  .footer-cols{grid-template-columns:2fr 1fr 1fr}
}
@media(min-width:1000px){
  .product-grid{grid-template-columns:repeat(4,1fr)}
  .why-grid{grid-template-columns:repeat(4,1fr)}
}

/* --- Aspetto SaaS: logo --- */
.logo{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.logo-img{height:auto;max-height:40px;width:auto}
.logo-slogan{display:block;font-size:.72rem;color:var(--muted);font-weight:600;width:100%}
.logo-text{font-weight:800;font-size:1.25rem;color:var(--brand)}
.logo-desktop{display:none}
@media(min-width:720px){
  .logo-mobile{display:none}
  .logo-desktop{display:block}
  .logo:has(.logo-desktop) .logo-text{display:none}
}

/* --- Layout header --- */
.layout-header-2 .header-row{justify-content:center}
.layout-header-2 .logo{justify-content:center;text-align:center}
.layout-header-3 .site-header{background:var(--header-bg);color:#fff}
.layout-header-3 .site-header .logo-text,.layout-header-3 .site-header .main-nav a,.layout-header-3 .site-header .cart-link{color:#fff}
.layout-header-3 .site-header .main-nav a{color:rgba(255,255,255,.85)}
.layout-header-3 .topbar{background:#131a22}
.layout-header-4 .site-header{border-bottom:1px solid var(--line);background:var(--header-bg)}
.layout-header-4 .main-nav a{font-weight:400;letter-spacing:.02em}

/* --- Menu mega / sidebar --- */
.mega-panel{border-top:1px solid var(--line);padding:16px 0;width:100%}
.mega-inner{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:var(--max);margin:0 auto}
.mega-col strong{display:block;margin-bottom:8px}
.mega-col a{display:block;padding:4px 0;color:var(--muted);font-size:.9rem}
.menu-mega .main-nav a[data-mega="1"]{cursor:pointer}
.sidebar-nav{position:fixed;top:0;left:0;width:min(280px,85vw);height:100%;background:#fff;z-index:1001;box-shadow:8px 0 32px rgba(20,40,35,.12);padding:20px 16px;overflow-y:auto;transform:translateX(-100%);transition:transform .25s}
body.sidebar-open .sidebar-nav{transform:translateX(0)}
.sidebar-nav[hidden]{display:block!important;visibility:hidden;pointer-events:none}
body.sidebar-open .sidebar-nav{visibility:visible;pointer-events:auto}
.sidebar-nav a{display:block;padding:12px 4px;border-bottom:1px solid var(--line);font-weight:600}

/* --- Effetti --- */
.fx-glass .site-header,.fx-glass .product-card,.fx-glass .why-card{background:rgba(255,255,255,.72);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.fx-rounded .btn,.fx-rounded .product-card,.fx-rounded .hero{border-radius:var(--radius)!important}
.fx-shadows .product-card{box-shadow:var(--shadow)}
.fx-hover .product-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(20,40,35,.12)}
.fx-elevation .why-card,.fx-elevation .trust-badge{box-shadow:0 4px 16px rgba(20,40,35,.06)}
.fx-gradient .hero{background:linear-gradient(135deg,var(--brand),var(--accent));color:#fff}
.fx-gradient .hero p,.fx-gradient .hero .hero-slogan{color:rgba(255,255,255,.9)}

/* --- Hero video --- */
.hero{position:relative;overflow:hidden}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.35;z-index:0}
.hero-text{position:relative;z-index:1}

/* --- Newsletter --- */
.newsletter-box{border:1px solid var(--line);border-radius:var(--radius);padding:28px;text-align:center;background:var(--footer-bg)}
.newsletter-form{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:14px}
.newsletter-form input{flex:1;min-width:200px;padding:12px 16px;border:1px solid var(--line);border-radius:999px;font-size:16px}

/* --- Template accents --- */
.tpl-amazon-style .search-bar input{border-radius:4px}
.tpl-apple-style .site-header{padding:18px 16px}
.tpl-modern-glass body{background:var(--bg)}
.tpl-outlet-store .topbar{background:var(--accent);color:#fff}

body.appearance-preview::before{content:"ANTEPRIMA BOZZA";display:block;background:#fef3c7;color:#92400e;text-align:center;font-size:.75rem;font-weight:800;padding:6px;letter-spacing:.05em}

/* =============================================================================
   Legacy template compatibility
   Classi generate dai template PHP — mobile-first, e-commerce premium.
   ============================================================================= */

.topbar{
  background:var(--brand-dark);
  color:#fff;
  text-align:center;
  font-size:.85rem;
  font-weight:600;
  padding:8px 16px;
  letter-spacing:.01em;
}

.site-header{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:12px;
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:12px 16px;
  background:var(--bg);
}

.header-actions,
.header-tools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-shrink:0;
  margin-left:auto;
}

.main-nav{
  display:none;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  width:100%;
  padding:10px 0 4px;
  border-top:1px solid var(--line);
}

.main-nav a{
  color:var(--muted);
  font-weight:600;
  font-size:.95rem;
  padding:6px 0;
  white-space:nowrap;
  transition:color .15s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible{
  color:var(--brand);
}

.cart-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:44px;
  min-width:44px;
  padding:0 10px;
  font-weight:700;
  font-size:.92rem;
  color:var(--ink);
  border-radius:10px;
  transition:color .15s ease,background .15s ease;
}

.cart-link:hover,
.cart-link:focus-visible{
  color:var(--brand);
  background:rgba(31,111,92,.06);
}

.hero{
  display:flex;
  align-items:center;
  min-height:220px;
  background:linear-gradient(135deg,#eaf4f0 0%,#f6efe9 100%);
  border-radius:var(--radius);
  padding:36px 20px;
  margin:18px 0;
  box-shadow:var(--shadow);
}

.hero-text{
  position:relative;
  z-index:1;
  width:100%;
  max-width:640px;
}

.hero-text h1{
  font-size:clamp(1.65rem,5vw,2.5rem);
  line-height:1.15;
  margin:0 0 .55em;
  color:var(--ink);
  max-width:20ch;
}

.hero-text p,
.hero-text .hero-slogan{
  color:var(--muted);
  font-size:1rem;
  line-height:1.6;
  margin:0 0 1em;
  max-width:48ch;
}

.hero-text .btn{
  margin-top:4px;
}

.product-card{
  display:flex;
  flex-direction:column;
  height:100%;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
  transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease;
}

.product-card:hover{
  border-color:#d4e0db;
  box-shadow:var(--shadow);
  transform:translateY(-2px);
}

.product-card-media{
  position:relative;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#f3f6f4;
}

.product-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.product-card-body{
  display:flex;
  flex-direction:column;
  gap:6px;
  flex:1;
  padding:14px;
}

.product-card-body h3{
  font-size:.98rem;
  font-weight:700;
  line-height:1.35;
  margin:0;
  color:var(--ink);
}

.badge{
  position:absolute;
  top:10px;
  left:10px;
  z-index:2;
  display:inline-block;
  background:rgba(21,33,30,.88);
  color:#fff;
  font-size:.7rem;
  font-weight:800;
  line-height:1.2;
  padding:5px 10px;
  border-radius:999px;
  letter-spacing:.02em;
  max-width:calc(100% - 20px);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.badge-sale{
  left:auto;
  right:10px;
  background:var(--accent);
  color:#fff;
}

.price-old{
  color:var(--muted);
  text-decoration:line-through;
  font-size:.88rem;
  font-weight:600;
}

.chips{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}

.chip{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  color:var(--ink);
  font-weight:600;
  font-size:.9rem;
  text-align:center;
  transition:border-color .15s ease,color .15s ease,box-shadow .15s ease,transform .15s ease;
}

.chip:hover,
.chip:focus-visible{
  border-color:var(--brand);
  color:var(--brand);
  box-shadow:0 4px 14px rgba(31,111,92,.08);
  transform:translateY(-1px);
}

.site-footer{
  margin-top:48px;
  border-top:1px solid var(--line);
  background:#fafcfb;
}

.footer-cols{
  max-width:var(--max);
  margin:0 auto;
  padding:32px 16px 24px;
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
}

.footer-cols > div > strong,
.footer-cols > div > p{
  display:block;
}

.footer-cols > div > p{
  margin:.5em 0 0;
  color:var(--muted);
  font-size:.92rem;
  line-height:1.6;
  max-width:36ch;
}

.footer-cols nav{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-cols nav a,
.footer-cols a{
  color:var(--muted);
  font-weight:600;
  font-size:.92rem;
  padding:2px 0;
  transition:color .15s ease;
}

.footer-cols nav a:hover,
.footer-cols a:hover{
  color:var(--brand);
}

@media(min-width:720px){
  .site-header{
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    padding:14px 16px;
    gap:14px;
  }

  .header-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    width:100%;
  }

  .main-nav{
    display:flex;
    order:4;
    width:100%;
    border-top:1px solid var(--line);
    padding-top:12px;
  }

  .hero{
    padding:52px 40px;
    min-height:280px;
  }

  .chips{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
  }

  .footer-cols{
    grid-template-columns:2fr 1fr 1fr;
    gap:28px;
    align-items:start;
  }
}

@media(min-width:1000px){
  .chips{
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
}
