/*
Theme Name: AdlTech ghd
Description: Tema dedicato alla vendita delle piastre ghd. Mostra solo il prodotto ghd.
Author: AdlTech
Version: 1.3.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: adltech-ghd
*/
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:#111;font:400 16px/1.55 Manrope,system-ui,-apple-system,sans-serif}
img{max-width:100%;height:auto}
:focus-visible{outline:2px solid #9c7a2e;outline-offset:3px}
.site-head{display:flex;align-items:center;justify-content:space-between;padding:16px clamp(16px,4vw,48px);border-bottom:1px solid #e6e2da}
.site-head__brand{font:800 22px/1 "Bricolage Grotesque",sans-serif;text-decoration:none;color:#111}
.site-head__cart{text-decoration:none;font-size:14px;color:#111}
.page-wrap{max-width:1040px;margin:0 auto;padding:36px clamp(16px,4vw,48px) 64px}
.page-wrap h1{font:800 clamp(28px,4vw,38px)/1.1 "Bricolage Grotesque",sans-serif;margin:0 0 24px}
.site-foot{border-top:1px solid #e6e2da;color:#68666a;padding:20px clamp(16px,4vw,48px);font-size:13px}
.site-foot ul{list-style:none;margin:0 0 6px;padding:0;display:flex;flex-wrap:wrap;gap:6px 18px}
.site-foot p{margin:0}

.adl-ghd{--gold:#9c7a2e;--gold-dark:#7a5f22;--gold-light:#c9a94f;--ink:#111;--white:#fff;--muted:#68666a;--surface:#faf9f7;--border:#e6e2da;--radius:16px;font-family:Manrope,system-ui,-apple-system,sans-serif;color:var(--ink);background:#fff}
.adl-ghd-wrap{max-width:1100px;margin:0 auto;padding:32px 24px 64px}
.adl-ghd-notice{border:1px solid var(--gold);color:var(--gold-dark);padding:8px 12px;margin:0 0 20px;font-size:13px}
.adl-ghd-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start}
.adl-ghd-cover{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center}
.adl-ghd-cover img{width:100%;height:100%;object-fit:contain;padding:20px}
.adl-ghd-thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.adl-ghd-thumbs img{width:56px;height:56px;object-fit:contain;border-radius:6px;border:1px solid var(--border);cursor:pointer;opacity:.6;transition:opacity .15s,border-color .15s;background:var(--surface);padding:4px}
.adl-ghd-thumbs img.active{opacity:1;border-color:var(--gold)}
.adl-ghd-title{font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:clamp(24px,3vw,34px);line-height:1.1;margin:0 0 16px;color:var(--ink)}
.adl-ghd-vendor{font-family:"IBM Plex Mono",monospace;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-dark);margin:0 0 6px;font-weight:700}
.adl-ghd-intro{font-size:13.5px;line-height:1.65;color:var(--muted);margin:0 0 20px}
.adl-ghd-specs{border:1px solid var(--border);border-radius:12px;background:var(--surface);margin:0 0 20px;overflow:hidden}
.adl-ghd-specs h4{margin:0;padding:10px 14px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-dark);border-bottom:1px solid var(--border);font-family:"IBM Plex Mono",monospace}
.adl-ghd-specrow{display:flex;justify-content:space-between;gap:16px;padding:8px 14px;font-size:12.5px;border-top:1px solid var(--border)}
.adl-ghd-specs h4+.adl-ghd-specrow{border-top:none}
.adl-ghd-specrow span:first-child{color:var(--muted)}
.adl-ghd-specrow span:last-child{font-weight:700;color:var(--ink);text-align:right}
.adl-ghd-advice{border:1.5px solid var(--ink);border-radius:12px;background:var(--white);margin:0 0 20px;padding:14px 16px}
.adl-ghd-advice h4{margin:0 0 4px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-dark);font-family:"IBM Plex Mono",monospace}
.adl-ghd-advice p{margin:0 0 12px;font-size:13px;line-height:1.6;color:var(--ink)}
.adl-ghd-advice ul{margin:0 0 12px;padding-left:18px;font-size:13px;line-height:1.6;color:var(--ink)}
.adl-ghd-advice>:last-child{margin-bottom:0}
.adl-ghd-cmp{margin-top:56px}
.adl-ghd-cmp h2,.adl-ghd-faq h2{font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:22px;margin:0 0 4px;color:var(--ink);border-left:4px solid var(--ink);padding-left:10px}
.adl-ghd-cmpwrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius);margin-top:16px}
.adl-ghd-cmp table{width:100%;border-collapse:collapse;font-size:12.5px;min-width:720px}
.adl-ghd-cmp th,.adl-ghd-cmp td{padding:10px 12px;text-align:left;border-top:1px solid var(--border);vertical-align:top}
.adl-ghd-cmp thead th{background:var(--ink);color:var(--gold-light);border-top:none;font-size:12px}
.adl-ghd-cmp tbody th{color:var(--muted);font-weight:700;width:130px;background:var(--surface)}
.adl-ghd-cmp td.cur,.adl-ghd-cmp th.cur{background:#fff7e6;font-weight:700}
.adl-ghd-cmp thead th.cur{background:var(--gold);color:#fff}
.adl-ghd-optlabel{font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--ink);margin:0 0 8px}
.adl-ghd-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.adl-ghd-pill{padding:9px 16px;border-radius:999px;border:1.5px solid var(--border);background:var(--white);font:600 13px Manrope,sans-serif;cursor:pointer;transition:.15s;color:var(--ink)}
.adl-ghd-pill.selected{border-color:var(--ink);background:var(--ink);color:var(--gold-light)}
.adl-ghd-price{font-family:"IBM Plex Mono",monospace;font-size:30px;font-weight:700;margin:0;color:var(--ink);display:inline}
.adl-ghd-pricewrap{display:flex;align-items:baseline;gap:10px;margin:6px 0 18px;flex-wrap:wrap}
.adl-ghd-gift{display:flex;align-items:center;gap:10px;background:#fff7e6;border:1.5px solid var(--gold);border-radius:12px;padding:10px 14px;margin:14px 0}
.adl-ghd-gift img{width:36px;height:36px;object-fit:contain;background:#fff;border-radius:6px;padding:2px;flex-shrink:0}
.adl-ghd-gift-text b{display:block;font-size:12.5px;color:var(--ink)}
.adl-ghd-gift-text span{font-size:11px;color:var(--muted)}
.ghd-buy form{margin:0}
.ghd-buy .variations{width:100%;margin-bottom:14px}
.ghd-buy .variations select{width:100%;padding:10px;font-size:15px}
.js .ghd-buy .variations,.ghd-buy .reset_variations,.ghd-buy .woocommerce-variation-price,.ghd-buy .woocommerce-variation-description,.ghd-buy .quantity{display:none!important}
.ghd-buy .woocommerce-variation-availability{color:var(--muted);font-size:13px;margin-bottom:8px}
.ghd-buy .single_add_to_cart_button{display:block;width:100%;padding:16px;border:none;border-radius:100px;background:var(--ink);color:var(--gold-light);font:700 15px "Bricolage Grotesque",sans-serif;cursor:pointer;transition:.15s;letter-spacing:.01em}
.ghd-buy .single_add_to_cart_button:hover{background:#000}
.ghd-buy .single_add_to_cart_button.disabled,.ghd-buy .single_add_to_cart_button:disabled{opacity:.4;cursor:not-allowed}
.adl-ghd-guarantee{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.adl-ghd-gcard{background:var(--white);border:1.5px solid var(--ink);border-radius:12px;padding:14px 12px;text-align:center}
.adl-ghd-gcard .icon{font-size:22px;display:block;margin-bottom:6px}
.adl-ghd-gcard b{display:block;font-size:12.5px;color:var(--ink);margin-bottom:2px}
.adl-ghd-gcard span:not(.icon){font-size:10.5px;color:var(--muted);line-height:1.3;display:block}
.adl-ghd-paylogos{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:14px;flex-wrap:wrap}
.adl-ghd-paylogos span{border:1px solid var(--border);border-radius:5px;padding:4px 9px;font-weight:700;font-size:10.5px;background:var(--white);color:var(--muted)}
.adl-ghd-trust-extra{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:14px;font-size:11.5px;color:var(--muted);justify-content:center}
.adl-ghd-featurebanner{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:64px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border)}
#adlGhdFeatures .adl-ghd-featurebanner+.adl-ghd-featurebanner{margin-top:16px}
.adl-ghd-featurebanner.reverse{direction:rtl}
.adl-ghd-featurebanner.reverse>*{direction:ltr}
.adl-ghd-fb-img{background:var(--surface);min-height:280px}
.adl-ghd-fb-img img{width:100%;height:100%;object-fit:cover;display:block}
.adl-ghd-fb-text{padding:36px 34px;display:flex;flex-direction:column;justify-content:center;background:var(--white)}
.adl-ghd-fb-eyebrow{font-family:"IBM Plex Mono",monospace;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);font-weight:700;margin:0 0 8px}
.adl-ghd-fb-text h3{font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:21px;margin:0 0 10px;color:var(--ink)}
.adl-ghd-fb-text p:not(.adl-ghd-fb-eyebrow){font-size:13.5px;line-height:1.65;color:var(--muted);margin:0}
.adl-ghd-warranty-banner{margin-top:16px;border-radius:var(--radius);overflow:hidden;display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--border);background:var(--ink)}
.adl-ghd-warranty-banner img{width:100%;height:100%;object-fit:cover;min-height:240px;display:block}
.adl-ghd-warranty-text{padding:36px 34px;display:flex;flex-direction:column;justify-content:center}
.adl-ghd-warranty-text .icon{font-size:28px;margin-bottom:10px}
.adl-ghd-warranty-text h3{font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:22px;color:var(--gold-light);margin:0 0 10px}
.adl-ghd-warranty-text p{font-size:13.5px;line-height:1.65;color:#d8d3c8;margin:0}
.adl-ghd-ticker{overflow:hidden;white-space:nowrap;background:var(--ink);border-radius:10px;padding:12px 0;margin-top:40px}
.adl-ghd-ticker-track{display:inline-block;animation:adlGhdScroll 28s linear infinite}
.adl-ghd-ticker-track span{display:inline-block;padding:0 28px;font-size:12.5px;font-weight:700;color:#fff;letter-spacing:.03em}
@keyframes adlGhdScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.adl-ghd-ticker-track{animation:none}}
.adl-ghd-faq{margin-top:52px}
.adl-ghd-faqitem{border-top:1px solid var(--border);padding:14px 0}
.adl-ghd-faq h2+.adl-ghd-faqitem{margin-top:14px}
.adl-ghd-faqitem summary{cursor:pointer;font-weight:800;font-size:14px;color:var(--ink);list-style:none}
.adl-ghd-faqitem summary::-webkit-details-marker{display:none}
.adl-ghd-faqitem summary::before{content:"+ ";color:var(--gold);font-weight:800}
.adl-ghd-faqitem p{margin:8px 0 0 18px;font-size:13px;color:var(--muted);line-height:1.6}
.adl-ghd-titlerow{display:flex;align-items:center;gap:8px;margin:0 0 10px;flex-wrap:wrap}
.adl-ghd-authorized{display:inline-flex;align-items:center;gap:5px;background:var(--ink);border-radius:6px;padding:4px 9px;font-size:10.5px;font-weight:700;color:var(--gold-light)}
.adl-ghd-rating-row{display:flex;align-items:center;gap:8px;margin:0 0 16px;font-size:13px;flex-wrap:wrap}
.adl-ghd-rating-row a{color:var(--muted);text-decoration:underline}
.adl-ghd-starmeter{position:relative;display:inline-block;line-height:0}
.adl-ghd-starmeter .base,.adl-ghd-starmeter .fill{display:flex;gap:2px}
.adl-ghd-starmeter svg{width:16px;height:16px;flex-shrink:0}
.adl-ghd-starmeter .base svg{color:#e2ded2}
.adl-ghd-starmeter .fill{position:absolute;top:0;left:0;overflow:hidden;white-space:nowrap}
.adl-ghd-starmeter .fill svg{color:var(--gold)}
.adl-ghd-rev-block{margin-top:52px}
.adl-ghd-rev-block h2{font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:22px;margin:0 0 4px;border-left:4px solid var(--ink);padding-left:10px}
.adl-ghd-rev-sub{font-size:12.5px;color:var(--muted);margin:0 0 20px}
.adl-ghd-revsummary{display:flex;align-items:center;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.adl-ghd-revscore{font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:38px;display:flex;align-items:center;gap:10px}
.adl-ghd-revscore-sub{font:400 12px Manrope,sans-serif;color:var(--muted)}
.adl-ghd-revgrid{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.adl-ghd-revgrid::-webkit-scrollbar{display:none}
.adl-ghd-revcard{flex:0 0 100%;scroll-snap-align:start;border:1px solid var(--border);border-radius:var(--radius);padding:22px 26px;display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center;min-height:190px;justify-content:center}
.adl-ghd-revcard .stars{display:inline-flex;gap:1px}
.adl-ghd-revcard .stars svg{width:18px;height:18px;color:#e2ded2}
.adl-ghd-revcard .stars svg.on{color:var(--gold)}
.adl-ghd-revcard p{margin:0;font-size:15px;line-height:1.6;max-width:680px}
.adl-ghd-revmeta{display:flex;justify-content:space-between;width:100%;max-width:680px;font-size:11px;color:var(--muted);font-weight:600;border-top:1px solid var(--border);padding-top:10px}
.adl-ghd-carnav{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:14px}
.adl-ghd-carbtn{width:38px;height:38px;border-radius:50%;border:1.5px solid var(--ink);background:#fff;font-size:18px;cursor:pointer}
.adl-ghd-carbtn:disabled{opacity:.3;cursor:default}
.adl-ghd-carcount{font:700 12px "IBM Plex Mono",monospace;color:var(--muted);min-width:60px;text-align:center}

.adl-cart{--ink:#111;--muted:#666;--border:#e4e6e9;--accent:#1a5d3a;--bg:#f7f8f7;font-family:Manrope,system-ui,-apple-system,sans-serif;color:var(--ink)}
.adl-cart-wrap{max-width:1000px;margin:0 auto;padding:32px 24px 64px}
.adl-cart-title{font-size:26px;margin:0 0 20px}
.adl-cart-empty{text-align:center;padding:60px 20px}
.adl-cart-empty a{display:inline-block;margin-top:16px;padding:14px 28px;border-radius:100px;background:var(--ink);color:#fff;text-decoration:none;font-weight:700}
.adl-cart-shipbar{background:var(--bg);border:1px solid var(--border);border-radius:12px;padding:14px 18px;margin-bottom:24px}
.adl-cart-shipbar p{margin:0 0 8px;font-size:13px;font-weight:600}
.adl-cart-shipbar-track{height:8px;border-radius:5px;background:#e2e2e2;overflow:hidden}
.adl-cart-shipbar-fill{height:100%;background:var(--accent);border-radius:5px}
.adl-cart-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:36px;align-items:start}
.adl-cart-items{display:flex;flex-direction:column;gap:16px}
.adl-cart-item{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:14px;align-items:center;border-bottom:1px solid var(--border);padding-bottom:16px}
.adl-cart-item img{width:72px;height:72px;object-fit:cover;border-radius:10px;border:1px solid var(--border)}
.adl-cart-item-title{font-weight:700;font-size:14px;margin:0 0 4px}
.adl-cart-item-variant{font-size:12px;color:var(--muted);margin:0 0 8px}
.adl-cart-item-qty{width:64px;padding:6px 8px;border-radius:6px;border:1px solid var(--border);display:block}
.adl-cart-item-price{font-weight:700;font-size:14px;white-space:nowrap;margin:0}
.adl-cart-item-remove{font-size:11px;color:var(--muted);text-decoration:underline;display:inline-block;margin-top:6px}
.adl-cart-protection{display:flex;align-items:center;gap:10px;background:var(--bg);border:1.5px dashed var(--border);border-radius:12px;padding:12px 14px;margin-top:20px;cursor:pointer}
.adl-cart-protection input{width:18px;height:18px}
.adl-cart-protection-text b{display:block;font-size:13px}
.adl-cart-protection-text span{font-size:11.5px;color:var(--muted)}
.adl-cart-update{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.adl-cart-summary{background:var(--bg);border:1px solid var(--border);border-radius:14px;padding:22px;position:sticky;top:20px}
.adl-cart-summary h2{font-size:16px;margin:0 0 16px}
.adl-cart-row{display:flex;justify-content:space-between;font-size:13.5px;margin-bottom:10px;color:var(--muted)}
.adl-cart-row.total{color:var(--ink);font-weight:800;font-size:16px;border-top:1px solid var(--border);padding-top:12px;margin-top:4px}
.adl-cart-checkout{display:block;text-align:center;text-decoration:none;width:100%;padding:15px;border-radius:100px;background:var(--ink);color:#fff;font-weight:700;font-size:15px;margin-top:14px}
.adl-cart-usp{display:flex;flex-direction:column;gap:8px;margin-top:18px;font-size:12px;color:var(--muted)}

@media(max-width:760px){
  .adl-ghd-warranty-banner,.adl-cart-grid{grid-template-columns:minmax(0,1fr)}
  .adl-ghd-grid,.adl-ghd-featurebanner{grid-template-columns:minmax(0,1fr)}
  .adl-ghd-featurebanner.reverse{direction:ltr}
  .adl-ghd-wrap{padding:20px 16px 48px}
}

/* Checkout: un solo pagamento con carta, senza passaggi in più */
.ax-ruo-banner{display:none!important}
.wc-block-checkout__payment-method .wc-block-components-checkout-step__heading-container{display:none}
.wc-block-checkout__payment-method .wc-block-components-radio-control{display:none}
.wc-block-checkout__payment-method .wc-block-components-checkout-step__content::before{content:"Pagamento con carta";display:block;font:800 24px/1.2 "Bricolage Grotesque",sans-serif;margin-bottom:6px}
.wc-block-checkout__payment-method .wc-block-components-checkout-step__content::after{content:"Inserisci i dati della carta nel prossimo passaggio.";display:block;color:#555;font-size:15px}
#wpinline-ver{display:none!important}
.woocommerce-cart .woocommerce-message{display:none!important}
