.shop-main{padding-top:28px;padding-bottom:48px}.demo-note{border:1px solid #29d4ef66;background:#082331;padding:18px;border-radius:12px;line-height:1.6}.shop-tools{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:28px 0 14px}.shop-tools label{display:grid;gap:8px;flex:1;min-width:170px;font-size:14px}.shop-main input,.shop-main select{width:100%;min-height:46px;background:#122635;color:#fff;border:1px solid #507183;border-radius:8px;padding:10px;font:inherit}.shop-btn{background:#21d3e9;color:#051820;border:0;border-radius:8px;padding:13px 18px;font:inherit;font-weight:700;cursor:pointer;min-height:46px}.shop-btn:disabled{opacity:.5;cursor:default}.shop-btn.secondary{background:transparent;color:#c7edf4;border:1px solid #4a6d7c}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product-card{background:linear-gradient(145deg,#172a39,#0b1c29);border:1px solid #446477;border-radius:16px;overflow:hidden;display:flex;flex-direction:column}.product-card img{width:100%;aspect-ratio:1.6;object-fit:contain;background:radial-gradient(ellipse at center,#243c52,#091725)}.product-body{padding:20px;display:flex;flex-direction:column;flex:1}.product-body h2{font-size:24px;margin:9px 0 14px}.product-tag{font-size:12px;text-transform:uppercase;letter-spacing:2px;color:#70e5ef}.product-specs{font-size:14px;line-height:1.8;color:#d2dce6;margin:0 0 16px}.product-price{font-size:28px;font-weight:800;margin-top:auto}.product-price small{font-size:12px;font-weight:400;color:#b9ccd6}.product-actions{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}.product-actions button{flex:1;font-size:14px;padding:11px}.shop-info{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding-top:40px}.shop-info h2{font-size:20px}.shop-info p{line-height:1.6;color:#cad9e2}dialog{background:#102331;color:#eef9ff;border:1px solid #5c8ba1;border-radius:16px;padding:30px;width:min(720px,calc(100% - 28px));max-height:88dvh;overflow:auto;box-sizing:border-box}dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.close-dialog{float:right;background:transparent;color:white;border:1px solid #678b9f;border-radius:8px;width:42px;height:42px;font-size:26px;cursor:pointer}#product-detail img{display:block;width:100%;max-height:240px}#product-detail h2{font-size:28px;clear:both}.detail-specs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.detail-specs div{padding:12px;background:#1b3344;border-radius:8px}.detail-specs dt{color:#9fc0d0;font-size:13px}.detail-specs dd{margin:5px 0 0}.cart-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #456477;padding:18px 0;flex-wrap:wrap}.cart-row .cart-name{flex:1;min-width:150px}.cart-row button{background:#213c50;color:#fff;border:1px solid #6c8d9e;border-radius:6px;min-height:40px;min-width:40px;cursor:pointer}.cart-row .remove{padding:8px}.cart-total{font-size:22px}.fine-print{font-size:13px;line-height:1.6;color:#bbd1dc}#order-step{border-top:1px solid #54778b;margin-top:25px;padding-top:15px}#order-step label{display:block;margin:16px 0;line-height:1.6}#order-step p,#order-message{line-height:1.6}#order-message{color:#70edbe}#shop-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#183e4d;color:white;padding:14px 22px;border-radius:10px;z-index:100;max-width:90vw;box-sizing:border-box;display:none}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #f4cd61;outline-offset:3px}@media(min-width:901px){.nav>a[href="shop.html"]{font-size:14px}}@media(max-width:1000px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.product-grid,.shop-info{grid-template-columns:1fr}.shop-tools{gap:12px}.shop-tools label{min-width:100%;}.shop-tools>button{width:100%}.shop-main{padding-top:18px}.product-body{padding:18px}dialog{padding:20px}.detail-specs{grid-template-columns:1fr}.pagehero h1{overflow-wrap:anywhere}.cart-row{gap:8px}.demo-note{font-size:14px}}

.paypal-test{padding:18px;background:#172f43;border:1px solid #557b9a;border-radius:12px;margin-bottom:24px}.paypal-btn{background:#ffc439;color:#003087}#paypal-buttons{margin-top:16px;max-width:440px}#paypal-status{font-size:14px;line-height:1.6}
/* Checkout v58: colonne e allineamenti dedicati */
#cart-dialog{width:min(1080px,calc(100% - 28px));padding:28px}#cart-dialog [hidden]{display:none!important}#cart-dialog p,#cart-dialog h2,#cart-dialog h3,#cart-dialog h4,#cart-dialog label{text-align:left;text-justify:auto;hyphens:none}#cart-dialog h2{margin:8px 0 0;font-size:27px;line-height:1.25}#cart-dialog h3{font-size:19px;line-height:1.35;margin:0 0 18px}.checkout-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:26px}.checkout-heading .close-dialog{float:none;flex:none}.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;align-items:start}.checkout-main{min-width:0}.checkout-section{border:1px solid #3d5b6e;background:#122a3b;border-radius:12px;padding:20px;margin-bottom:18px}#order-step{border:0;margin:0;padding:0}.checkout-next{margin-bottom:20px;width:100%}.checkout-summary{background:#193446;border:1px solid #4c748c;border-radius:12px;padding:20px}.summary-line{display:flex;justify-content:space-between;gap:12px;padding:12px 0;font-size:15px}.summary-line strong{white-space:nowrap}.summary-grand{border-top:1px solid #678ba2;margin-top:8px;font-size:21px;font-weight:700}.checkout-note{font-size:12px;line-height:1.6;color:#bdcfdc}.summary-delivery{border-top:1px solid #47667c;margin-top:20px;padding-top:20px;font-size:14px}.summary-delivery p{font-size:13px;line-height:1.6;margin-bottom:0}.section-heading{display:flex;gap:12px;align-items:start;justify-content:space-between}.section-heading h3{margin-bottom:10px}.checkout-section h3>span{display:inline-flex;justify-content:center;align-items:center;background:#2bdded;color:#092231;border-radius:50%;width:25px;height:25px;font-size:14px;margin-right:6px}.demo-fill{background:transparent;border:1px solid #6b99ae;color:#bfebf5;border-radius:7px;padding:8px;font-size:12px;cursor:pointer;flex:none}.shipping-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}#shipping-form label.shipping-field{display:grid;gap:8px;margin:0;font-size:13px;color:#d5e6f1}.shipping-field input,.shipping-field select{display:block;width:100%;height:46px;padding:10px 12px;background:#0b2030;border:1px solid #64869c;border-radius:7px;font:inherit;font-size:16px;color:#fff;min-width:0}.shipping-field input::placeholder{color:#93adbe}.field-wide{grid-column:1/-1}.delivery-choice{display:grid;gap:7px;border:1px solid #347b8d;border-radius:8px;padding:15px;margin-top:20px;font-size:14px}.delivery-choice small{font-size:12px;line-height:1.6;color:#b5cdda}.payment-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}#shipping-form label.payment-option{display:flex;align-items:flex-start;gap:10px;margin:0;padding:15px;border:1px solid #52768c;border-radius:9px;cursor:pointer;line-height:1.4}#shipping-form .payment-option input{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:#24d6ea}.payment-option strong,.payment-option small{display:block}.payment-option strong{font-size:14px}.payment-option small{font-size:12px;color:#b5cad8;margin-top:5px}.payment-option:has(input:checked){background:#153e50;border-color:#2fd8ed}.payment-panel{margin-top:18px;border-top:1px solid #3e6177;padding-top:16px}.payment-panel p{font-size:14px;line-height:1.65}.payment-panel>.shop-btn{width:100%}#paypal-buttons{max-width:none}.cart-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px}.cart-qty{display:flex;align-items:center;gap:10px}.cart-row .cart-name{min-width:0;font-size:14px;line-height:1.5}.cart-row .line-total{font-size:15px;white-space:nowrap;text-align:right}.cart-row .remove{grid-column:1/-1;justify-self:start;background:transparent;border:0;padding:0;min-height:24px;font-size:12px;text-decoration:underline;color:#bbd1e0}.cart-row:first-child{padding-top:0}.cart-row:last-child{border-bottom:0;padding-bottom:0}@media(max-width:800px){.checkout-layout{grid-template-columns:1fr}.checkout-summary{grid-row:1}.checkout-summary .summary-delivery{display:none}.checkout-summary{padding:16px}.checkout-summary h3{margin-bottom:8px}.summary-line{padding:8px 0}.checkout-note{margin-bottom:0}}@media(max-width:500px){#cart-dialog{padding:16px;width:calc(100% - 20px)}.checkout-heading{gap:12px;margin-bottom:18px}#cart-dialog h2{font-size:23px}.checkout-section{padding:16px}.shipping-grid,.payment-options{grid-template-columns:1fr}.field-wide{grid-column:auto}.section-heading{flex-wrap:wrap;margin-bottom:10px}.cart-row{grid-template-columns:minmax(0,1fr) auto}.cart-row .line-total{grid-column:2;grid-row:2}.cart-qty{grid-column:2;grid-row:1}.cart-row .remove{grid-column:1;grid-row:2}.cart-qty button{min-width:36px;min-height:36px}.checkout-heading .product-tag{font-size:10px;letter-spacing:1.4}}

/* Foto dimostrative: proporzioni mantenute anche nel dettaglio. */
.product-card img{aspect-ratio:3/2;height:auto;object-fit:contain}#product-detail img{height:auto;max-height:300px;object-fit:contain;border-radius:10px}

.legal-shop{max-width:960px}.legal-shop section{padding:24px 0;border-bottom:1px solid #446477}.legal-shop p{line-height:1.8;overflow-wrap:anywhere}.legal-shop h2{font-size:24px}.legal-shop h3{font-size:20px}.conditions-index{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.conditions-index a{padding:10px 14px;background:#193446;border-radius:8px}.conditions-address{padding:18px;background:#193446;border-radius:10px;line-height:1.7}.legal-shop details{padding:18px;border:1px solid #446477;border-radius:10px}.legal-shop summary{cursor:pointer;font-weight:700}.legal-shop section{scroll-margin-top:100px}.legal-shop .shop-btn{display:inline-block;margin-top:16px}@media(max-width:600px){.legal-shop h2{font-size:21px}.conditions-index{gap:8px}.conditions-index a{font-size:14px}}

/* V65: riduzione moderata dei testi; campi a 16px per evitare zoom mobile. */
.legal-shop{font-size:15px}.legal-shop h2{font-size:22px}.legal-shop h3{font-size:18px}.legal-shop p{line-height:1.75}#shipping-form label.shipping-field{font-size:12px}.payment-panel p{font-size:13px}.payment-option strong{font-size:13px}.checkout-section h3{font-size:18px}.shipping-field input,.shipping-field select{font-size:16px}@media(max-width:600px){.legal-shop{font-size:15px}.legal-shop h2{font-size:20px}.legal-shop h3{font-size:18px}}
