/* =========================================================
   LioGames Product UI v3.6
   Full-width hero → dynamic fields (when required) → packages
   → active payment methods → content → related products.
   Native CSS only; no layout framework.
   ========================================================= */

body.single-product{overflow-x:clip!important;background:#f5f7fb}
.lg-onepage,.lg-onepage *{box-sizing:border-box;min-width:0}
.lg-onepage{
  --lg-product-shell:min(1440px,calc(100% - 48px));
  --lg-checkout-width:380px;
  --lg-product-gap:22px;
  width:100%;max-width:100%;overflow-x:clip;
  padding:0 0 96px;background:#f5f7fb;color:#152036;
}
.lg-onepage .lg-shell{width:var(--lg-product-shell)!important;max-width:none!important;margin-inline:auto!important}
.lg-onepage img,.lg-onepage picture,.lg-onepage video,.lg-onepage iframe{max-width:100%}
.lg-onepage .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}

/* ---------- Product hero ---------- */
.lg-product-hero{position:relative;isolation:isolate;width:100%;overflow:hidden;background:#223249;color:#fff}
.lg-product-hero:before{content:"";position:absolute;inset:-46px;z-index:-3;background-image:var(--lg-product-bg);background-size:cover;background-position:center;filter:blur(28px) saturate(.78);transform:scale(1.08);opacity:.30}
.lg-product-hero:after{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(102deg,rgba(20,32,50,.96) 0%,rgba(28,45,65,.92) 52%,rgba(62,76,91,.72) 100%)}
.lg-product-hero.is-gift:after{background:linear-gradient(102deg,rgba(29,31,48,.96) 0%,rgba(54,58,82,.90) 52%,rgba(91,76,116,.72) 100%)}
.lg-product-hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(135deg,transparent 0 25%,rgba(255,255,255,.035) 25.2% 26.2%,transparent 26.4% 58%,rgba(255,255,255,.03) 58.2% 59.2%,transparent 59.4%)}
.lg-product-hero-inner{min-height:244px;display:grid;grid-template-columns:190px minmax(0,1fr);grid-template-rows:auto auto;column-gap:28px;row-gap:9px;align-items:center;padding:22px 0}
.lg-product-hero-art{grid-column:1;grid-row:1/3;width:190px;height:190px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.22);border-radius:22px;background:rgba(255,255,255,.075);box-shadow:0 18px 42px rgba(5,10,20,.28)}
.lg-product-hero-art img{display:block;width:100%;height:100%;max-width:100%;max-height:100%}
.lg-product-hero-art.is-square-art.is-cover img{object-fit:cover}
.lg-product-hero-art.is-square-art.is-contain img{object-fit:contain;padding:10px}
.lg-product-hero-art.is-portrait-art{width:154px;height:200px;justify-self:center;border-radius:20px}
.lg-product-hero-art.is-portrait-art img{object-fit:contain!important;padding:6px!important;background:transparent!important}
.lg-product-hero-fallback{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#51647d,#2d3a50);color:#fff}.lg-product-hero-fallback svg{width:56px;height:56px;fill:none;stroke:currentColor;stroke-width:1.5}
.lg-product-hero-copy{grid-column:2;grid-row:1;align-self:end;max-width:1020px}
.lg-product-hero-copy h1{margin:0;color:#fff;font-size:clamp(28px,2.1vw,38px);line-height:1.08;letter-spacing:-.035em;font-weight:850;text-wrap:balance}
.lg-product-hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:13px}
.lg-product-hero-meta span{display:inline-flex;align-items:center;gap:7px;color:rgba(255,255,255,.96);font-size:12.5px;line-height:1;font-weight:720}
.lg-product-hero-meta b{font-weight:780}.lg-meta-svg{width:17px;height:17px;display:grid;place-items:center;color:#fff}.lg-meta-svg svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.lg-product-sold .lg-meta-svg{color:#ffd35f}.lg-product-delivery .lg-meta-svg{color:#f1f4f7}.lg-country-flag{font-style:normal;font-size:18px;line-height:1;filter:saturate(.96)}
.lg-product-hero-note{grid-column:2;grid-row:2;align-self:start;max-width:1020px;margin:0;display:flex;align-items:flex-start;gap:9px;color:rgba(255,255,255,.94);font-size:12px;line-height:1.55}
.lg-note-icon{flex:0 0 auto;width:20px;height:20px;margin-top:0;display:grid;place-items:center;color:#ff9d29}.lg-note-icon svg{width:19px;height:19px;fill:rgba(255,157,41,.14);stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.lg-product-hero-note strong{font-weight:850;color:#fff}

/* ---------- Purchase area ---------- */
.lg-product-purchase-layout{display:grid;grid-template-columns:minmax(0,1fr) var(--lg-checkout-width);gap:var(--lg-product-gap);align-items:start;padding-top:30px}
.lg-clean-card,.lg-checkout-card,.lg-product-content-section,.lg-related-section-v34{border:1px solid #dfe5ee;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(25,38,67,.035)}
.lg-purchase-packages{padding:19px;min-width:0}
.lg-clean-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:15px}.lg-clean-section-head h2{margin:0;color:#152037;font-size:19px;line-height:1.18;font-weight:850;letter-spacing:-.02em}.lg-clean-section-head p{margin:4px 0 0;color:#788397;font-size:10.5px;line-height:1.45}.lg-clean-section-head>span{flex:none;padding:5px 9px;border-radius:999px;background:#f2f4f8;color:#748096;font-size:9px;font-weight:800}
.lg-package-search,.lg-package-empty{display:none!important}
.lg-variation-grid{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.lg-variation-card{position:relative;width:100%;min-height:94px;max-width:100%;overflow:hidden;contain:layout paint;isolation:isolate;padding:13px 66px 13px 39px;border:1px solid #d7dfe9;border-radius:12px;background:#fff;color:#172033;display:flex;align-items:center;text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease}
.lg-variation-card:hover{border-color:#9cb4d8;box-shadow:0 8px 20px rgba(34,54,89,.07);transform:translateY(-1px)}.lg-variation-card.is-selected{border-color:#2e7df3;background:#f8fbff;box-shadow:0 0 0 1px rgba(46,125,243,.14),0 8px 20px rgba(46,125,243,.06)}
.lg-option-radio{position:absolute;left:13px;top:15px;width:16px;height:16px;border:1.5px solid #9aa8bb;border-radius:50%;background:#fff}.lg-variation-card.is-selected .lg-option-radio{border-color:#2e7df3;background:#2e7df3;box-shadow:inset 0 0 0 3.7px #fff}
.lg-option-copy{display:block;width:100%;overflow:hidden}.lg-option-copy strong{display:block;color:#162039;font-size:12px;line-height:1.34;font-weight:760;overflow-wrap:anywhere}.lg-option-copy small{display:block;margin-top:7px;color:#1260dc;font-size:13px;font-weight:880;white-space:normal}.lg-option-copy small del{font-size:9.5px;color:#98a3b2}.lg-option-copy small ins{text-decoration:none}
.lg-option-thumb{position:absolute;right:9px;bottom:9px;width:46px;height:46px;display:grid;place-items:center;overflow:hidden;contain:strict;border-radius:9px;background:#f7f9fc}.lg-option-thumb img{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;padding:2px}.lg-variation-card.is-cover .lg-option-thumb img{object-fit:cover!important;padding:0}.lg-variation-fallback{width:38px;height:38px;border-radius:9px;background:#f0f3f8;color:#53647f;display:grid;place-items:center}.lg-variation-fallback svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.lg-show-packages{height:40px;margin:15px auto 0;padding:0 18px;border:1px solid #ccd5e1;border-radius:10px;background:#fff;color:#202c43;font-size:10.5px;font-weight:830;cursor:pointer}.lg-show-packages:hover{border-color:#9cacbf;background:#fafbfd}
.lg-single-package-summary{min-height:82px;padding:14px 16px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #e0e5ed;border-radius:12px;background:#fbfcfe}.lg-single-package-summary>span{width:42px;height:42px;border-radius:11px;background:#f0efff;color:#6a55df;display:grid;place-items:center}.lg-single-package-summary svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}.lg-single-package-summary div{display:flex;flex-direction:column;gap:2px;min-width:0}.lg-single-package-summary small{font-size:9px;color:#7c8798}.lg-single-package-summary strong{font-size:12px;color:#19233a;overflow-wrap:anywhere}.lg-single-package-summary>b{font-size:14px;color:#145fdc;white-space:nowrap}

/* ---------- Checkout / required fields ---------- */
.lg-checkout-shell{position:sticky;top:120px;align-self:start;display:grid;gap:12px;min-width:0}.admin-bar .lg-checkout-shell{top:152px}
.lg-checkout-card{padding:18px;min-width:0}.lg-checkout-card-head{margin-bottom:14px}.lg-checkout-card-head h2{margin:0;color:#121b2e;font-size:19px;line-height:1.2;font-weight:850;letter-spacing:-.02em}.lg-checkout-card-head p{margin:4px 0 0;color:#7a8598;font-size:9.8px;line-height:1.45}
.lg-order-fields{display:grid;gap:11px}.lg-order-fields label{display:grid;gap:6px}.lg-order-fields label>span{display:flex;align-items:center;gap:4px;color:#4e5a6f;font-size:10.5px;font-weight:720}.lg-order-fields label b{color:#e44754}.lg-order-fields input,.lg-order-fields select{width:100%;height:45px;padding:0 11px;border:1px solid #ccd5e1;border-radius:9px;background:#fff;color:#172033;font:inherit;font-size:11.5px;outline:0}.lg-order-fields input:focus,.lg-order-fields select:focus{border-color:#2d7bf0;box-shadow:0 0 0 3px rgba(45,123,240,.10)}.lg-order-fields [aria-invalid="true"]{border-color:#e34a58;box-shadow:0 0 0 3px rgba(227,74,88,.10)}
.lg-verify-button{width:100%;height:43px;margin-top:12px;border:0;border-radius:9px;background:#56c99c;color:#fff;font-size:10.5px;font-weight:830;cursor:pointer;transition:background .16s ease}.lg-verify-button:hover{background:#43ba8d}.lg-verify-status{margin-top:9px;padding:9px 10px;border-radius:8px;background:#eefaf5;color:#247b5d;font-size:9.5px;line-height:1.4}.lg-verify-status.is-demo-error{background:#fff1f2;color:#b33a49}
.lg-payment-label{margin:2px 0 8px;color:#505c70;font-size:10px;font-weight:760}.lg-payment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px}.lg-payment-option{position:relative;min-height:58px;padding:9px 11px 9px 42px;border:1px solid #d6dde7;border-radius:10px;background:#fff;color:#253149;text-align:left;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.lg-payment-option:hover{border-color:#aab9cc}.lg-payment-option.is-selected{border-color:#7558e8;background:#faf9ff;box-shadow:0 0 0 1px rgba(117,88,232,.12)}.lg-payment-option>span{position:absolute;left:11px;top:50%;width:20px;height:20px;display:grid;place-items:center;transform:translateY(-50%);color:#694fe1}.lg-payment-option svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9}.lg-payment-option strong{display:block;font-size:10.5px;line-height:1.25}.lg-payment-option small{display:block;margin-top:2px;color:#8a94a5;font-size:8px}
.lg-order-summary{margin-top:14px;border:1px solid #e0e5ed;border-radius:11px;background:#f8fafc;overflow:hidden}.lg-order-summary>div{min-height:42px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e2e7ee}.lg-order-summary>div:last-child{border-bottom:0}.lg-order-summary span{color:#748096;font-size:9.5px}.lg-order-summary strong{max-width:67%;text-align:right;color:#1c273d;font-size:10.5px;overflow-wrap:anywhere}.lg-order-summary .is-total{min-height:56px}.lg-order-summary .is-total span{font-size:11px;font-weight:800;color:#1d2840}.lg-order-summary .is-total strong{font-size:22px;color:#1262df;line-height:1}.lg-order-summary del{font-size:10px;color:#98a3b1}.lg-order-summary ins{text-decoration:none}
.lg-buy-button{width:100%;height:46px;margin-top:12px;border:0;border-radius:10px;background:#2379ed;color:#fff;font-size:11px;font-weight:860;cursor:pointer;box-shadow:0 9px 20px rgba(35,121,237,.20);transition:background .16s ease,transform .16s ease}.lg-buy-button:hover{background:#1769dc;transform:translateY(-1px)}.lg-buy-button:disabled,.lg-mobile-buybar button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none;transform:none}
.lg-checkout-trust{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:13px;padding-top:12px;border-top:1px solid #e8ecf2}.lg-checkout-trust span{flex:1 1 0;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#6b7689;font-size:8.2px;font-weight:720;white-space:nowrap}.lg-checkout-trust svg{flex:0 0 auto;width:13px;height:13px;fill:none;stroke:#48a77d;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Attach required fields and payment into one visual checkout surface on desktop. */
@media(min-width:781px){
  .lg-product-v35.has-dynamic-form .lg-checkout-shell{gap:0}
  .lg-product-v35.has-dynamic-form .lg-checkout-fields-card{border-radius:16px 16px 0 0;border-bottom:0;box-shadow:0 8px 22px rgba(25,38,67,.03)}
  .lg-product-v35.has-dynamic-form .lg-payment-card{border-radius:0 0 16px 16px;box-shadow:0 12px 24px rgba(25,38,67,.04)}
  .lg-product-v35.has-dynamic-form .lg-payment-card:before{content:"";display:block;height:1px;margin:-1px 0 16px;background:#e8ecf2}
}

/* ---------- Long-form product content ---------- */
.lg-product-content-section{margin-top:46px;padding:25px 27px;overflow:hidden}.lg-product-content-tabs{display:flex;align-items:center;gap:26px;margin:-2px 0 21px;padding-bottom:11px;border-bottom:1px solid #e7ebf1;overflow-x:auto;white-space:nowrap}.lg-product-content-tabs span{position:relative;color:#7b8698;font-size:10px;font-weight:760}.lg-product-content-tabs .is-active{color:#4f50d9}.lg-product-content-tabs .is-active:after{content:"";position:absolute;left:0;right:0;bottom:-12px;height:2px;border-radius:2px;background:#6657e9}
.lg-product-description-body{max-width:1120px;color:#505d72;font-size:12px;line-height:1.72;overflow-wrap:anywhere}.lg-product-description-body>*:first-child{margin-top:0}.lg-product-description-body>*:last-child{margin-bottom:0}.lg-product-description-body h1,.lg-product-description-body h2,.lg-product-description-body h3,.lg-product-description-body h4{color:#151e32;line-height:1.25;letter-spacing:-.02em}.lg-product-description-body h2{margin:28px 0 9px;font-size:21px}.lg-product-description-body h3{margin:22px 0 8px;font-size:17px}.lg-product-description-body h4{font-size:14px}.lg-product-description-body p{margin:0 0 12px}.lg-product-description-body ul,.lg-product-description-body ol{padding-left:21px}.lg-product-description-body li{margin:4px 0}.lg-product-description-body a{color:#2d68d7;text-decoration:underline;text-underline-offset:2px}.lg-product-description-body img{display:block;max-width:100%!important;height:auto!important;border-radius:11px}.lg-product-description-body table{width:100%!important;max-width:100%!important;margin:16px 0;border-collapse:collapse;background:#fff;font-size:10.5px;table-layout:fixed}.lg-product-description-body th,.lg-product-description-body td{padding:8px 10px;border:1px solid #dce3eb;text-align:left;overflow-wrap:anywhere;word-break:break-word}.lg-product-description-body th{background:#f5f7fb;color:#2d374d;font-weight:800}

/* ---------- Related products slider ---------- */
.lg-related-section-v34{margin-top:20px;padding:18px;overflow:hidden}.lg-related-head-v34{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:13px}.lg-related-head-v34 h2{margin:0;color:#162039;font-size:17px}.lg-related-head-v34 p{margin:3px 0 0;color:#7e899a;font-size:9.5px}.lg-related-actions{display:flex;align-items:center;gap:7px}.lg-related-actions>a{margin-right:2px;color:#6655df;font-size:9.5px;font-weight:800}.lg-related-actions button{width:30px;height:30px;border:1px solid #e0e5ed;border-radius:9px;background:#fff;color:#536079;display:grid;place-items:center;cursor:pointer}.lg-related-actions button:hover{background:#f7f9fc}.lg-related-actions svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
.lg-related-slider-v34{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:1px 1px 8px}.lg-related-slider-v34 .lg-product-card{flex:0 0 calc((100% - 48px)/5);min-width:0;scroll-snap-align:start;border-radius:13px}.lg-related-slider-v34 .lg-product-media{aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f3f6fa}.lg-related-slider-v34 .lg-product-image{display:block;width:100%;height:100%;max-width:100%;max-height:100%}.lg-related-slider-v34 .lg-product-card.is-cover .lg-product-image{object-fit:cover;padding:0}.lg-related-slider-v34 .lg-product-card.is-contain .lg-product-image,.lg-related-slider-v34 .lg-product-card.is-gift .lg-product-image{object-fit:contain!important;padding:10px;background:linear-gradient(145deg,#fff,#f7f9fc)}

/* ---------- Mobile buy bar ---------- */
.lg-mobile-buybar{display:none}

@media(max-width:1280px){
  .lg-onepage{--lg-product-shell:min(1220px,calc(100% - 40px));--lg-checkout-width:350px;--lg-product-gap:18px}
  .lg-product-hero-inner{grid-template-columns:172px minmax(0,1fr)}.lg-product-hero-art{width:172px;height:172px}.lg-product-hero-art.is-portrait-art{width:138px;height:180px}.lg-product-hero-copy h1{font-size:30px}
  .lg-variation-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lg-related-slider-v34 .lg-product-card{flex-basis:calc((100% - 36px)/4)}
}
@media(max-width:1020px){
  .lg-onepage{--lg-product-shell:calc(100% - 28px);--lg-checkout-width:320px;--lg-product-gap:13px}
  .lg-product-hero-inner{grid-template-columns:152px minmax(0,1fr);min-height:205px}.lg-product-hero-art{width:152px;height:152px}.lg-product-hero-art.is-portrait-art{width:120px;height:162px}.lg-product-hero-copy h1{font-size:27px}
  .lg-variation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lg-checkout-trust span{font-size:7.6px}.lg-related-slider-v34 .lg-product-card{flex-basis:calc((100% - 24px)/3)}
}

/* Mobile: hero → required form (if any) → packages → payment → content. */
@media(max-width:780px){
  body.single-product{overflow-x:hidden!important}
  .lg-onepage{--lg-product-shell:calc(100% - 20px);padding-bottom:150px;background:#f6f8fb;overflow-x:hidden!important}
  .lg-onepage .lg-shell{width:var(--lg-product-shell)!important;max-width:100%!important}

  .lg-product-hero:before{inset:-28px;filter:blur(18px);opacity:.27}.lg-product-hero:after{background:linear-gradient(180deg,rgba(24,37,54,.93),rgba(28,47,69,.95))}.lg-product-hero.is-gift:after{background:linear-gradient(180deg,rgba(26,31,47,.94),rgba(41,50,65,.96))}
  .lg-product-hero-inner{min-height:0;grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto auto;column-gap:13px;row-gap:12px;padding:15px 0 17px;text-align:left}
  .lg-product-hero-art{grid-column:1;grid-row:1;width:112px;height:112px;border-radius:17px;align-self:center}.lg-product-hero-art.is-portrait-art{width:88px;height:126px;justify-self:center;border-radius:15px}.lg-product-hero-art.is-contain img{padding:6px}.lg-product-hero-art.is-portrait-art img{padding:3px!important}
  .lg-product-hero-copy{grid-column:2;grid-row:1;align-self:center;width:100%;max-width:none}.lg-product-hero-copy h1{font-size:20px;line-height:1.14;letter-spacing:-.025em;text-align:left}
  .lg-product-hero-meta{justify-content:flex-start;gap:7px 10px;margin-top:9px}.lg-product-hero-meta span{font-size:10px;white-space:nowrap}.lg-meta-svg{width:14px;height:14px}.lg-meta-svg svg{width:14px;height:14px}.lg-country-flag{font-size:15px}
  .lg-product-hero-note{grid-column:1/-1;grid-row:2;width:100%;max-width:none;margin:0;font-size:10.2px;line-height:1.5;text-align:left}.lg-note-icon{width:18px;height:18px}.lg-note-icon svg{width:17px;height:17px}

  .lg-product-purchase-layout{display:grid;grid-template-columns:1fr;gap:10px;padding-top:12px}.lg-checkout-shell{display:contents;position:static}.lg-checkout-fields-card{order:1}.lg-purchase-packages{order:2}.lg-payment-card{order:3}
  .lg-clean-card,.lg-checkout-card,.lg-product-content-section,.lg-related-section-v34{border-radius:16px;box-shadow:none}.lg-purchase-packages,.lg-checkout-card{padding:15px}
  .lg-clean-section-head{gap:10px;margin-bottom:11px}.lg-clean-section-head h2,.lg-checkout-card-head h2{font-size:17px}.lg-clean-section-head p,.lg-checkout-card-head p{font-size:9.5px}.lg-clean-section-head>span{font-size:8px;white-space:nowrap}
  .lg-order-fields label>span{font-size:10px}.lg-order-fields input,.lg-order-fields select{height:47px;font-size:11px;border-radius:10px}.lg-verify-button{height:45px;border-radius:10px}
  .lg-variation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lg-variation-card{min-height:88px;padding:10px 45px 10px 30px;border-radius:11px}.lg-option-radio{left:9px;top:12px;width:14px;height:14px}.lg-option-copy strong{font-size:10px;line-height:1.28;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.lg-option-copy small{margin-top:6px;font-size:11.5px}.lg-option-thumb{right:6px;bottom:7px;width:35px;height:35px}.lg-variation-fallback{width:31px;height:31px}.lg-show-packages{display:block;margin:13px auto 0}
  .lg-single-package-summary{min-height:72px;padding:11px 12px}.lg-single-package-summary>span{width:38px;height:38px}.lg-single-package-summary strong{font-size:11px}.lg-single-package-summary>b{font-size:12px}
  .lg-payment-label{font-size:10px}.lg-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lg-payment-option{min-height:58px;padding-left:40px}.lg-payment-option strong{font-size:9.8px}.lg-order-summary{margin-top:13px}.lg-order-summary .is-total strong{font-size:21px}.lg-buy-button{display:none}
  .lg-checkout-trust{gap:3px;padding-top:10px}.lg-checkout-trust span{gap:3px;padding:3px 1px;font-size:7px}.lg-checkout-trust svg{width:12px;height:12px}

  .lg-product-content-section{margin-top:30px;padding:16px;overflow:hidden}.lg-product-content-tabs{gap:16px;margin-bottom:17px}.lg-product-content-tabs span{font-size:9px}.lg-product-description-body{max-width:100%;font-size:10.5px;line-height:1.68;overflow:hidden}.lg-product-description-body h2{font-size:17px}.lg-product-description-body h3{font-size:15px}.lg-product-description-body table{display:table;width:100%!important;min-width:0!important;table-layout:fixed!important;font-size:8.5px}

  .lg-related-section-v34{margin-top:14px;padding:14px}.lg-related-head-v34 p{display:none}.lg-related-head-v34 h2{font-size:15px}.lg-related-actions>a{font-size:9px}.lg-related-actions button{display:none}.lg-related-slider-v34{gap:9px;margin-right:-14px;padding-right:14px}.lg-related-slider-v34 .lg-product-card{flex-basis:47%;border-radius:12px}.lg-related-slider-v34 .lg-product-media{aspect-ratio:16/9}.lg-related-slider-v34 .lg-product-card.is-contain .lg-product-image,.lg-related-slider-v34 .lg-product-card.is-gift .lg-product-image{padding:7px}

  .lg-mobile-buybar{position:fixed;z-index:94;left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom));min-height:64px;padding:8px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;background:rgba(255,255,255,.98);backdrop-filter:blur(14px);border-top:1px solid #e6eaf2;box-shadow:0 -8px 24px rgba(24,34,64,.08)}.lg-mobile-buybar span{display:flex;flex-direction:column;min-width:0}.lg-mobile-buybar small{font-size:8.7px;color:#778296;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lg-mobile-buybar strong{font-size:12.5px}.lg-mobile-buybar button{height:44px;min-width:112px;padding:0 15px;border:0;border-radius:11px;background:#1976ed;color:#fff;font-size:10.5px;font-weight:850;box-shadow:0 8px 18px rgba(25,118,237,.20)}
}
@media(max-width:380px){
  .lg-product-hero-inner{grid-template-columns:102px minmax(0,1fr);gap:11px}.lg-product-hero-art{width:102px;height:102px}.lg-product-hero-art.is-portrait-art{width:80px;height:116px}.lg-product-hero-copy h1{font-size:18.5px}.lg-product-hero-meta{gap:6px 8px}.lg-product-hero-meta span{font-size:9.4px}.lg-checkout-trust span{font-size:6.5px}
}
@media(prefers-reduced-motion:reduce){.lg-variation-card,.lg-buy-button,.lg-payment-option{transition:none!important}}
.lg-variation-card[hidden]{display:none!important}

/* =========================================================
   v3.6 checkout/scrollbar/mobile-buybar corrections
   ========================================================= */
.lg-price-regular{margin-right:5px;color:#9aa5b4;text-decoration-thickness:1px}.lg-price-sale,.lg-price-current{text-decoration:none;color:#1260dc;font-weight:880}
.lg-product-content-tabs,.lg-related-slider-v34{scrollbar-width:none!important;-ms-overflow-style:none}.lg-product-content-tabs::-webkit-scrollbar,.lg-related-slider-v34::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.lg-product-content-tabs{overflow-x:auto;overflow-y:hidden}
.lg-order-summary .is-total strong{max-width:72%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:780px){
  .lg-onepage{padding-bottom:calc(148px + env(safe-area-inset-bottom))!important}
  .lg-mobile-buybar{
    z-index:940!important;left:0!important;right:0!important;bottom:calc(68px + env(safe-area-inset-bottom))!important;width:100dvw!important;max-width:100dvw!important;
    min-height:64px!important;padding:8px 12px!important;grid-template-columns:minmax(0,1fr) minmax(100px,38vw)!important;overflow:hidden!important;box-sizing:border-box!important
  }
  .lg-mobile-buybar>span{overflow:hidden!important}.lg-mobile-buybar button{width:100%!important;min-width:0!important;max-width:100%!important;padding-inline:10px!important}
  .lg-order-summary .is-total strong{max-width:68%;font-size:21px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .lg-product-content-tabs{padding-right:0!important}
}


/* =========================================================
   v3.8 product UI — balanced hero, compact unavailable states,
   portrait-safe gift cards and mobile-safe checkout
   ========================================================= */
.lg-product-v38{overflow-x:clip}
.lg-product-v38 .lg-product-hero-inner{padding-inline:24px}
.lg-product-v38 .lg-product-hero-art{
  border:0!important;background:transparent!important;box-shadow:none!important;
  border-radius:18px!important;overflow:hidden;
}
.lg-product-v38 .lg-product-hero-art.is-square-art{width:186px;height:186px}
.lg-product-v38 .lg-product-hero-art.is-portrait-art{width:150px;height:202px}
.lg-product-v38 .lg-product-hero-art img{padding:0!important;background:transparent!important;border-radius:16px}
.lg-product-v38 .lg-product-hero-art.is-portrait-art img{object-fit:contain!important}
.lg-product-v38 .lg-product-hero-copy{padding-left:4px}
.lg-product-v38 .lg-product-stock.is-out{
  padding:5px 8px;border-radius:999px;background:rgba(255,88,102,.14);color:#ffd9dd;border:1px solid rgba(255,170,178,.22)
}

.lg-product-v38 .lg-product-purchase-layout.is-unavailable-layout{grid-template-columns:1fr}
.lg-product-unavailable{
  min-height:116px;display:flex;align-items:center;gap:14px;padding:18px;
  border:1px solid #e5e9f0;border-radius:14px;background:#fbfcfe
}
.lg-unavailable-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;display:grid;place-items:center;background:#fff1f2;color:#d84c5e}
.lg-unavailable-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2}
.lg-product-unavailable h2{margin:0 0 4px;font-size:17px;color:#17213a}
.lg-product-unavailable p{margin:0;color:#748095;font-size:11px;line-height:1.55}

.lg-single-package-summary.is-compact{min-height:74px}
.lg-single-package-summary.is-compact>span{width:38px;height:38px}
.lg-single-package-summary.is-compact>b{font-size:15px}

.lg-payment-card.is-unavailable{min-height:0}
.lg-payment-unavailable-note{
  display:flex;align-items:flex-start;gap:9px;margin-top:4px;padding:12px 13px;border:1px solid #f0d9dc;border-radius:11px;
  background:#fff7f8;color:#8d4550;font-size:10.5px;line-height:1.5
}
.lg-payment-unavailable-note.is-neutral{border-color:#dfe6ef;background:#f7f9fc;color:#617086}
.lg-payment-unavailable-note svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:2}
.lg-checkout-trust{opacity:1!important}
.lg-checkout-trust span{color:#5b697e!important;font-weight:700}
.lg-checkout-trust svg{color:#28a47c!important}

.lg-product-v38 .lg-variation-grid{align-items:stretch}
.lg-product-v38 .lg-variation-card{min-height:88px}
.lg-product-v38 .lg-option-thumb{width:50px;height:50px}
.lg-product-v38 .lg-option-copy small{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.lg-product-v38 .lg-price-regular{text-decoration:line-through;color:#9aa5b5}
.lg-product-v38 .lg-price-sale,.lg-product-v38 .lg-price-current{color:#1268d9;font-weight:850;text-decoration:none}
.lg-product-v38 .lg-order-summary strong[data-lg-summary-price]{font-size:25px;line-height:1.08;letter-spacing:-.035em;white-space:nowrap}
.lg-product-v38 .lg-order-summary .is-total{align-items:center}
.lg-product-v38 .lg-payment-card.no-payment-methods .lg-order-summary{margin-bottom:10px}

.lg-product-content-section{position:relative}
.lg-product-content-section:after{display:none!important}
.lg-product-content-tabs{scrollbar-width:none!important;-ms-overflow-style:none!important}
.lg-product-content-tabs::-webkit-scrollbar{display:none!important}

@media(min-width:1100px){
  .lg-product-v38 .lg-product-hero-inner{padding-left:46px;padding-right:46px;grid-template-columns:190px minmax(0,1fr);column-gap:34px}
  .lg-product-v38 .lg-product-hero-art{justify-self:start}
  .lg-product-v38.has-single-option .lg-packages-panel{max-width:100%}
}

@media(max-width:900px){
  .lg-product-v38 .lg-product-hero-inner{padding-inline:20px}
  .lg-product-v38 .lg-product-purchase-layout.is-unavailable-layout{grid-template-columns:1fr}
}

@media(max-width:780px){
  .lg-product-v38 .lg-product-hero-inner{
    min-height:0;padding:18px 18px 16px;grid-template-columns:128px minmax(0,1fr);grid-template-rows:auto auto;column-gap:16px;row-gap:10px
  }
  .lg-product-v38 .lg-product-hero-art.is-square-art{width:124px;height:124px;grid-row:1}
  .lg-product-v38 .lg-product-hero-art.is-portrait-art{width:112px;height:150px;grid-row:1;justify-self:center}
  .lg-product-v38 .lg-product-hero-copy{grid-column:2;grid-row:1;align-self:center;padding-left:0}
  .lg-product-v38 .lg-product-hero-copy h1{font-size:clamp(22px,6vw,29px);line-height:1.08}
  .lg-product-v38 .lg-product-hero-meta{gap:8px 11px;margin-top:10px}
  .lg-product-v38 .lg-product-hero-meta span{font-size:11px}
  .lg-product-v38 .lg-product-hero-note{grid-column:1/-1;grid-row:2;margin-top:0;font-size:10.7px;line-height:1.5}
  .lg-product-v38 .lg-product-purchase-layout{padding-top:14px}
  .lg-product-v38 .lg-clean-card,.lg-product-v38 .lg-checkout-card,.lg-product-v38 .lg-product-content-section,.lg-product-v38 .lg-related-section-v34{border-radius:16px}
  .lg-product-v38 .lg-variation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .lg-product-v38 .lg-variation-card{min-height:112px;padding:13px 50px 13px 38px}
  .lg-product-v38 .lg-option-thumb{width:43px;height:43px;right:8px;bottom:9px}
  .lg-product-v38 .lg-order-summary strong[data-lg-summary-price]{font-size:22px}
  .lg-product-v38 .lg-checkout-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
  .lg-product-v38 .lg-checkout-trust span{justify-content:center;gap:4px;font-size:8.3px;text-align:center;white-space:nowrap}
  .lg-product-v38 .lg-mobile-buybar{
    bottom:calc(64px + env(safe-area-inset-bottom));z-index:110
  }
  .lg-product-v38 .lg-product-description-body img,
  .lg-product-v38 .lg-product-description-body table,
  .lg-product-v38 .lg-product-description-body iframe{max-width:100%!important;height:auto}
  .lg-product-v38 .lg-product-description-body{overflow-wrap:anywhere}
}
@media(max-width:390px){
  .lg-product-v38 .lg-product-hero-inner{grid-template-columns:108px minmax(0,1fr);column-gap:12px;padding-inline:14px}
  .lg-product-v38 .lg-product-hero-art.is-square-art{width:104px;height:104px}
  .lg-product-v38 .lg-product-hero-art.is-portrait-art{width:94px;height:130px}
  .lg-product-v38 .lg-product-hero-copy h1{font-size:20px}
  .lg-product-v38 .lg-variation-card{padding-right:45px}
  .lg-product-v38 .lg-checkout-trust span{font-size:7.8px}
}

@supports (content-visibility:auto){
  .lg-product-content-section,.lg-related-section-v34{content-visibility:auto;contain-intrinsic-size:620px}
}

/* 3.8.2 direct checkout: all variations stay visible; single quantity only. */
.lg-product-v38 .lg-variation-card[hidden]{display:flex!important}
.lg-product-v38 .lg-show-packages{display:none!important}
.lg-product-return-notice{margin-top:14px;padding:11px 13px;display:flex;align-items:center;gap:9px;border:1px solid #f0d5da;border-radius:12px;background:#fff7f8;color:#8d3947;font-size:10px;line-height:1.45}.lg-product-return-notice svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;flex:0 0 auto}
.lg-secure-field-note{margin-top:10px;padding:9px 10px;display:flex;align-items:flex-start;gap:7px;border-radius:10px;background:#f6f7fb;color:#697386;font-size:9px;line-height:1.45}.lg-secure-field-note svg{width:14px;height:14px;flex:0 0 auto;fill:none;stroke:#6254df;stroke-width:2}
.lg-direct-billing{margin:2px 0 14px}.lg-direct-billing-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:8px}.lg-direct-billing-grid label{display:grid;gap:5px}.lg-direct-billing-grid label>span{font-size:9px;font-weight:750;color:#636d80}.lg-direct-billing-grid input,.lg-direct-billing-grid select{width:100%;min-height:42px;border:1px solid #dfe4ec;border-radius:10px;background:#fff;padding:0 10px;color:#222c40;font-size:10px;outline:0;transition:border-color .18s,box-shadow .18s}.lg-direct-billing-grid input:focus,.lg-direct-billing-grid select:focus{border-color:#9ba9e9;box-shadow:0 0 0 3px rgba(89,76,214,.08)}.lg-direct-billing-grid [aria-invalid=true]{border-color:#d76572!important;box-shadow:0 0 0 3px rgba(215,101,114,.08)!important}
.lg-purchase-message{margin:10px 0 0;padding:9px 11px;border-radius:10px;font-size:9px;line-height:1.45}.lg-purchase-message.is-error{background:#fff1f3;border:1px solid #f4d5da;color:#963e4c}.lg-purchase-message.is-info{background:#f1f5ff;border:1px solid #dce5ff;color:#425a9c}.lg-buy-button[disabled],[data-lg-mobile-order][disabled]{cursor:wait!important;opacity:.7!important;transform:none!important}
.lg-product-v38 .lg-variation-grid{max-height:none!important;overflow:visible!important}.lg-product-v38 .lg-variation-card{content-visibility:auto;contain-intrinsic-size:64px}
@media(max-width:780px){.lg-direct-billing-grid{grid-template-columns:1fr}.lg-product-return-notice{margin-top:10px}.lg-product-v38 .lg-variation-card{content-visibility:visible}}

/* =========================================================
   v3.8.6 — mobile purchase parity + responsive descriptions
   ========================================================= */
/* Editorial/product-description media is never cropped by card/hero rules. */
.lg-product-v38 .lg-product-content-section{overflow:visible!important}
.lg-product-v38 .lg-product-description-body{max-width:100%!important;overflow:visible!important}
.lg-product-v38 .lg-product-description-body :where(picture,figure,.wp-block-image,.wp-block-gallery){max-width:100%!important;height:auto!important;overflow:visible!important}
.lg-product-v38 .lg-product-description-body :where(img,video,canvas){display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;margin-inline:auto!important}
.lg-product-v38 .lg-product-description-body iframe{display:block!important;width:100%!important;max-width:100%!important;aspect-ratio:16/9;height:auto!important;border:0}
.lg-product-v38 .lg-product-description-body table{max-width:100%!important}

@media(max-width:780px){
  /* The in-flow secure Pay/Buy action must exist on mobile, exactly as desktop. */
  .lg-product-v38 .lg-buy-button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:48px!important}
  .lg-product-v38 .lg-product-description-body{overflow:visible!important;word-break:normal!important}
  .lg-product-v38 .lg-product-description-body table{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;table-layout:auto!important;-webkit-overflow-scrolling:touch}
  .lg-product-v38 .lg-product-description-body th,.lg-product-v38 .lg-product-description-body td{min-width:92px;word-break:normal!important}
  /* Sticky helper appears only after the real in-flow button leaves the viewport. */
  .lg-product-v38 .lg-mobile-buybar{display:grid!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(calc(100% + 12px))!important;transition:transform .18s ease,opacity .18s ease,visibility .18s ease!important}
  .lg-product-v38 .lg-mobile-buybar.is-visible{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0)!important}
}
@media(prefers-reduced-motion:reduce){.lg-product-v38 .lg-mobile-buybar{transition:none!important}}


/* =========================================================
   v3.8.7 — mobile purchase parity + editorial media safety
   ========================================================= */
.lg-product-v38,.lg-product-v38 *{min-width:0}
.lg-product-v38 .lg-product-description-body{
  width:100%!important;max-width:100%!important;overflow:visible!important;
}
.lg-product-v38 .lg-product-description-body :where(img,picture,figure,.wp-block-image,.wp-block-gallery,video,canvas){
  max-width:100%!important;height:auto!important;overflow:visible!important;
}
.lg-product-v38 .lg-product-description-body img{
  width:auto!important;max-width:100%!important;height:auto!important;max-height:none!important;
  object-fit:contain!important;object-position:center!important;
}
.lg-product-v38 .lg-product-description-body :where(picture,figure,.wp-block-image){margin-left:auto!important;margin-right:auto!important}
.lg-product-v38 .lg-product-description-body iframe{max-width:100%!important}

@media(max-width:780px){
  .lg-product-v38{width:100%;max-width:100%;overflow-x:hidden}
  .lg-product-v38 .lg-product-purchase-layout,
  .lg-product-v38 .lg-checkout-shell,
  .lg-product-v38 .lg-checkout-fields-card,
  .lg-product-v38 .lg-purchase-packages,
  .lg-product-v38 .lg-payment-card{width:100%!important;max-width:100%!important;min-width:0!important}
  .lg-product-v38 .lg-buy-button{
    display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
    width:100%!important;max-width:100%!important;min-height:50px!important;
  }
  .lg-product-v38 .lg-mobile-buybar{
    left:0!important;right:0!important;width:auto!important;
    bottom:calc(72px + env(safe-area-inset-bottom))!important;
    padding:8px 10px!important;grid-template-columns:minmax(0,1fr) minmax(112px,38%)!important;
  }
  .lg-product-v38 .lg-mobile-buybar button{width:100%!important;min-width:0!important}
  .lg-product-v38 .lg-product-description-body{
    width:100%!important;max-width:100%!important;overflow:visible!important;padding-inline:0!important;
  }
  .lg-product-v38 .lg-product-description-body img{
    display:block!important;width:auto!important;max-width:100%!important;height:auto!important;margin-inline:auto!important;
  }
  .lg-product-v38 .lg-product-description-body table{
    display:block!important;width:max-content!important;min-width:100%!important;max-width:100%!important;
    overflow-x:auto!important;table-layout:auto!important;-webkit-overflow-scrolling:touch;
  }
  .lg-product-v38 .lg-product-description-body :where(.wp-block-table,.table-responsive){
    width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;
  }
}


/* 3.9.4 master checkout OFF: product information/packages remain readable while
   the checkout column and sticky purchase controls are not rendered at all. */
.lg-product-v38 .lg-product-purchase-layout.is-checkout-disabled{grid-template-columns:1fr!important}
