:root{--surface:#fff;--surface-alt:#f5f5f7;--ink:#1d1d1f}
body.reference-product-active>header,body.reference-product-active>footer,body.reference-product-active>.launchbar,body.reference-product-active>.currency-note,body.reference-product-active>#sticky{display:none!important}
body.reference-product-active{padding-bottom:0}.reference-product{display:block;min-height:100vh}
html[data-theme="dark"]{color-scheme:dark;--surface:#101114;--surface-alt:#191b20;--ink:#f4f4f7;--text:#f4f4f7;--muted:#b2b5c1;--faint:#9195a2;--line:#343740;--grey:#191b20}
html[data-theme="dark"] body,html[data-theme="dark"] header,html[data-theme="dark"] .catbar,html[data-theme="dark"] .chip,html[data-theme="dark"] .drawer,html[data-theme="dark"] .dealpd,html[data-theme="dark"] .dealbuy .axopt,html[data-theme="dark"] .dealthumb,html[data-theme="dark"] .gcard,html[data-theme="dark"] .pcard,html[data-theme="dark"] .sticky-cta,html[data-theme="dark"] #searchbar{background:var(--surface)!important;color:var(--text)}
html[data-theme="dark"] .homehero{background:radial-gradient(ellipse at top,#262e41,#101114 70%)}
html[data-theme="dark"] .homehero h1{background:linear-gradient(100deg,#fff,#c6cfe4,#fff);background-clip:text;-webkit-background-clip:text}
html[data-theme="dark"] .dealhero,html[data-theme="dark"] footer,html[data-theme="dark"] .dealreviews,html[data-theme="dark"] .pimg,html[data-theme="dark"] .news,html[data-theme="dark"] .strip,html[data-theme="dark"] .ci{background:var(--surface-alt)}
html[data-theme="dark"] .navlinks,html[data-theme="dark"] .chip,html[data-theme="dark"] .homehero p{color:var(--muted)}
html[data-theme="dark"] .chip.on{background:#f4f4f7!important;color:#101114!important}
html[data-theme="dark"] input,html[data-theme="dark"] select{background:#20232b!important;color:var(--text)!important;border-color:var(--line)!important}
.currency-note{text-align:center;background:var(--surface-alt);color:var(--muted);padding:5px;font-size:11px}
.navsearch{display:none}.shippingquick{display:none}
.privacy-notice{font-size:12px;padding:16px 0;color:var(--muted)}
.privacy-notice a{text-decoration:underline}.fcol button{margin-top:12px;text-align:left;font-size:12px;justify-content:flex-start}
.dealhero:has(img[src*="iphone-18-pro-"]) img{width:118%;height:118%;max-width:none;object-fit:contain}
.dealprice{color:var(--text)}.nav .right{gap:10px}.langselect{max-width:105px}
@media(max-width:520px){.nav .right{gap:8px}.logo{font-size:16px}.langselect{max-width:74px;font-size:11px;padding:4px}#marketSelect{max-width:76px}.nav .icnbtn svg,.nav .cartbtn svg{width:16px}.nav .cartbtn{margin-right:5px}.wrap{padding-left:16px;padding-right:16px}}

/* Fixed conversion template shared by every product page. */
.dealpd{background:var(--surface);padding-top:12px}
.dealgrid{gap:clamp(24px,4vw,52px);padding-bottom:48px}
.dealhero{background:var(--surface-alt);border:1px solid var(--line);border-radius:18px}
.dealthumb{border-radius:12px;background:var(--surface);border-color:var(--line)}
.dealthumb.on{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.dealbuy{padding:4px 0 12px}
.dealeyebrow,.deal-section-head>span{display:block;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.14em;margin-bottom:8px}
.dealbuy h1{font-size:clamp(30px,3.6vw,40px);letter-spacing:-.035em;line-height:1.05}
.dealcondition{font-weight:650;color:var(--text);margin:12px 0 14px}
.dealassurance{display:flex;gap:9px;align-items:center;border:0;background:transparent;padding:2px 0;margin:0 0 16px}
.dealassurance-mark{display:grid;place-items:center;width:24px;height:24px;border-radius:4px;background:#28a978;color:#fff;font-weight:900;flex:0 0 auto}
.dealassurance b,.dealassurance small{display:block}.dealassurance small{font-size:11.5px;color:var(--muted);line-height:1.35;margin-top:2px}
.dealpricerow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:2px 0 10px}
.dealpricerow .price{font-size:34px;font-weight:750;color:#3567df;letter-spacing:-.025em}
.dealpricerow .price-old{color:var(--muted);font-size:16px}
.dealpricerow .save-pill{background:#e7f7ef;color:#087443;padding:6px 9px;border-radius:999px;font-size:12px;font-weight:800}
.dealstock{display:flex;align-items:center;gap:10px;color:#dc5e50;margin:4px 0 24px;font-weight:650}
.dealstock>span{width:12px;height:12px;border-radius:50%;background:#ef7b69;box-shadow:0 0 0 7px rgba(239,123,105,.2)}
.dealbuy .axopt{border-radius:10px;padding:11px 14px;border-color:var(--line);font-weight:650;color:var(--text);background:var(--surface)}
.dealbuy .axopt.on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.dealactions{margin-top:14px}.dealqty{border-radius:6px;border-color:var(--line)}
.dealadd,.dealnow{min-height:52px;border-radius:12px;font-size:15px}
.dealadd{background:#3567df;color:#fff}.dealnow{background:#78a83f;color:#fff}.dealnow:hover{background:#668f35}
.dealbenefits{margin-top:20px;border-color:var(--line)}
.dealbenefit{grid-template-columns:30px minmax(0,1fr) auto;align-items:center;padding:14px 2px;border-color:var(--line)}
.dealbenefit-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:var(--surface-alt);font-weight:800}
.dealbenefit span b{font-size:13.5px}.dealbenefit span:not(.dealbenefit-icon){font-size:12px;color:var(--muted)}
.dealbenefit strong{color:var(--text);font-size:12px;text-align:right}
.dealpayments{padding:16px 0 0}.dealpayments>span{display:block;color:var(--muted);font-size:11px;margin-bottom:9px}
.dealpayments>div{display:flex;flex-wrap:wrap;gap:7px}.dealpayments b{border:1px solid var(--line);border-radius:7px;padding:7px 9px;font-size:10px;background:var(--surface-alt)}
.dealcontent,.dealspecs,.dealreviews,.dealfaq,.dealbest{padding:clamp(48px,8vw,88px) 0}
.dealcontent{background:var(--surface-alt)}.dealspecs{background:var(--surface)}
.deal-section-head{text-align:center;margin-bottom:26px}.deal-section-head h2{font-size:clamp(28px,4vw,40px);letter-spacing:-.035em;margin:0}.deal-section-head p{color:var(--muted);margin:9px auto 0;max-width:560px}
.dealcopy{margin:0 auto;max-width:820px;color:var(--text);font-size:17px}
.dealpromise{max-width:980px;margin:34px auto 0}.dealpromise .gcard{background:var(--surface);border-color:var(--line);padding:24px}
.dealspecs .spectable{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface-alt)}
.dealreviews{background:var(--surface-alt)}
.dealreview-empty{max-width:680px;margin:0 auto;text-align:center;border:1px dashed var(--line);border-radius:18px;padding:28px;background:var(--surface)}
.dealreview-empty b,.dealreview-empty span{display:block}.dealreview-empty span{color:var(--muted);font-size:13px;margin-top:6px}
@media(max-width:859px){.dealgrid{padding-bottom:34px}.dealbuy{padding-top:12px}.dealbenefit{gap:10px}.dealhero{border-radius:14px;aspect-ratio:1.12/1}.dealthumb{width:64px;height:64px}.dealactions{grid-template-columns:86px 1fr}.dealpricerow .price{font-size:30px}.shippingquick,.navsearch{display:none}}
@media(min-width:860px){.dealgrid{grid-template-columns:1.04fr .96fr}.dealgallery{display:grid;grid-template-columns:94px minmax(0,1fr);gap:14px;align-items:start}.dealhero{grid-column:2;grid-row:1}.dealthumbs{grid-column:1;grid-row:1;flex-direction:column;margin-top:0;max-height:640px}.dealthumb{width:94px;height:94px}.dealbuy{top:76px}.dealactions{grid-template-columns:80px 1fr 1fr}.dealnow{grid-column:auto}.dealpromise{grid-template-columns:repeat(3,1fr)}.navlinks{display:none!important}.navsearch{display:flex;flex:1 1 360px;max-width:520px;min-width:180px;align-items:center;justify-content:space-between;border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:999px;padding:10px 14px 10px 18px;cursor:pointer}.navsearch svg{width:20px;height:20px;color:#3567df}.shippingquick{display:flex;align-items:center;gap:8px;white-space:nowrap}.shippingquick>span:first-child{font-size:26px}.shippingquick small,.shippingquick b{display:block}.shippingquick small{font-size:11px}.shippingquick b{font-size:12px;color:#3567df}.nav{gap:20px}}

html[data-theme="dark"] .dealqty,html[data-theme="dark"] .dealqty button,html[data-theme="dark"] .dealnow,html[data-theme="dark"] .dealthumb{background:var(--surface-alt);color:var(--text)}
@media(min-width:760px) and (max-width:1220px){.navlinks{display:none!important}}

/* Replica fedele del template WordPress osservato, mantenendo catalogo e checkout esistenti. */
body:has(.dealpd) .launchbar,body:has(.dealpd) .currency-note,body:has(.dealpd) .catbar{display:none}
.dealpd{padding-top:18px;background:#f8f9fb}.dealpd>.wrap{max-width:1360px}
.dealgrid{grid-template-columns:minmax(0,1.04fr) minmax(480px,.96fr);gap:56px;padding-bottom:54px}
.dealgallery{grid-template-columns:105px minmax(0,1fr);gap:17px}.dealthumbs{gap:12px;max-height:none}.dealthumb{width:105px;height:105px;padding:6px;border-radius:9px;background:#eef0f3;border-color:transparent}.dealthumb.on{border-color:#aeb3bb;box-shadow:none;background:#fff}
.dealhero{position:relative;height:570px;aspect-ratio:auto;border:0;border-radius:0;background:#f0f1f3}.dealhero img,.dealhero:has(img[src*="iphone-18-pro-"]) img{width:98%;height:98%;max-width:none;object-fit:contain;filter:drop-shadow(0 24px 25px rgba(0,0,0,.13))}.dealexpand{position:absolute;left:16px;bottom:16px;width:46px;height:46px;border:0;border-radius:50%;background:#fff;box-shadow:0 7px 22px rgba(0,0,0,.1);font-size:18px}
.dealbuy{top:90px;padding:2px 0 12px}.dealbuy h1{font-size:31px;letter-spacing:-.025em;line-height:1.1;margin:0 0 22px}.dealcondition{font-size:15px;font-weight:700;color:var(--text);margin:0 0 27px}.dealpricerow{margin:0 0 20px}.dealpricerow .price{font-size:35px;color:#3568df;letter-spacing:-.025em}.dealpricerow .price-old{font-size:14px}.dealrating{display:flex;align-items:center;gap:3px;margin-bottom:24px}.dealrating span{width:23px;height:23px;display:grid;place-items:center;background:#42ab80;color:#fff;font-size:15px}.dealrating b{font-size:13px;margin-left:15px}.dealstock{font-size:14px;font-weight:500;color:#df5d4e;margin:0 0 28px}.dealstock>span{width:12px;height:12px;background:#ee725f;box-shadow:0 0 0 7px rgba(238,114,95,.16)}
.dealbuy .axis{margin-bottom:18px;display:flex;align-items:center;gap:22px}.dealbuy .albl{width:78px;flex:0 0 78px;font-size:14px;color:var(--text);margin:0}.dealbuy .axsw,.dealbuy .axopts{display:flex;gap:10px}.dealbuy .axdot{width:39px;height:39px;border:3px solid var(--surface);box-shadow:0 0 0 1px transparent}.dealbuy .axdot.on{box-shadow:0 0 0 1px #777;transform:none}.dealbuy .axopt{min-height:40px;padding:8px 15px;border-radius:5px;font-size:12px}.dealbuy .axopt.on{border-color:#666;box-shadow:0 0 0 1px #666}
.dealtotal{display:flex;align-items:center;justify-content:space-between;padding:11px 0 4px;font-size:12px}.dealtotal b{font-size:16px}.dealactions{grid-template-columns:80px 1fr 1fr;gap:10px;margin-top:8px;padding-bottom:20px;border-bottom:1px solid var(--line)}.dealqty{height:48px;border-radius:5px}.dealadd,.dealnow{min-height:48px;border-radius:5px;font-size:13px}.dealadd{background:#3568df}.dealnow{grid-column:auto;background:#79a83e}.dealnow:hover{background:#688f37}
.dealsignals{margin-top:16px}.dealsignal{min-height:54px;margin-top:12px;border-radius:9px;background:#eaf0fd;color:#2456c4;display:flex;align-items:center;gap:12px;padding:10px 18px}.dealsignal i{font-style:normal;font-size:17px}.dealsignal span{display:flex;flex-direction:column;color:var(--text)}.dealsignal b{font-size:13px}.dealsignal small{font-size:11px;color:var(--muted);margin-top:2px}.dealbenefits{margin-top:13px}.dealbenefit{min-height:63px;padding:10px 3px}.dealbenefit-icon{background:transparent}.dealpayments b{background:var(--surface);padding:5px 7px;font-size:8px}
.sticky-cta{min-height:68px;padding-left:max(18px,calc((100vw - 1180px)/2));padding-right:max(18px,calc((100vw - 1180px)/2))}.sticky-cta .btn{min-width:180px;border-radius:5px;background:#79a83e;color:#fff}.sticky-cta .btn:hover{background:#688f37}
@media(max-width:859px){.dealpd{padding-top:12px}.dealgrid{display:block;padding-bottom:40px}.dealgallery{display:grid;grid-template-columns:1fr}.dealhero{grid-row:1;height:auto;aspect-ratio:1/.88;border-radius:0}.dealthumbs{grid-row:2;flex-direction:row;margin-top:12px;overflow:auto}.dealthumb{flex:0 0 70px;width:70px;height:70px}.dealbuy{padding-top:28px}.dealbuy h1{font-size:31px}.dealbuy .axis{display:block}.dealbuy .albl{width:auto;margin-bottom:10px}.dealbuy .axopts{display:grid;grid-template-columns:repeat(2,1fr)}.dealactions{grid-template-columns:76px 1fr}.dealnow{grid-column:1/-1}.sticky-cta{display:flex}.sticky-cta .info{margin-bottom:0}.sticky-cta .btn{width:auto;min-width:118px}}
@media(max-width:520px){body{padding-bottom:78px}.sticky-cta{padding:8px 12px calc(8px + env(safe-area-inset-bottom))}.sticky-cta .info{padding-right:8px}.sticky-cta .btn{width:auto;min-width:108px}}
body.reference-product-active>#drawer,body.reference-product-active>#scrim,body.reference-product-active>#searchbar{display:none!important}
