/* Loaded only for the admin-selected premium product page. */
html[data-mgb-store-style="premium"] .mgb-product-page {
  --bg:var(--mgb-page-bg);--card:var(--mgb-page-surface);--soft:var(--mgb-page-soft);
  --text:var(--mgb-page-ink);--muted:var(--mgb-page-muted);--line:var(--mgb-page-line);
  --brand:var(--mgb-page-accent);--brand-dark:var(--mgb-page-accent);
  background:var(--bg);color:var(--text);
}
html[data-mgb-store-style="premium"] .mgb-product-page .product-site-header {width:100%;max-width:1180px;padding:22px 28px;border-bottom:1px solid var(--line);}
html[data-mgb-store-style="premium"] .mgb-product-page .product-page-shell {width:100%;max-width:1180px;padding:24px 28px 48px;}
html[data-mgb-store-style="premium"] .mgb-product-page .breadcrumb {margin-bottom:24px;line-height:1.6;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-product-card {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;
  width:100%;min-width:0;transform:none;
  padding:28px;border-radius:28px;background:var(--card);border-color:var(--line);
  box-shadow:0 20px 60px -35px rgba(102,72,28,.25);
}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-product-gallery {align-self:start;position:static;width:100%;min-width:0;max-width:100%;}
/* Shared premium CSS also shadows these inner columns; keep one outer card. */
html[data-mgb-store-style="premium"] .mgb-product-page .seo-product-card > :is(.seo-product-gallery,.seo-product-info) {
  background:transparent;box-shadow:none;border:0;
}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-main-image {
  position:relative;display:flex;align-items:center;justify-content:center;
  width:100%;min-width:0;min-height:420px;padding:24px 24px 64px;border:1px solid #ebe5d9;
  border-radius:22px;background:radial-gradient(ellipse at 50% 40%,#fff 20%,#f5f2eb 100%);
}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-main-image picture {display:flex;align-items:center;justify-content:center;width:100%;min-width:0;max-width:100%;height:340px;}
/* Dark gallery surfaces follow the theme instead of retaining light colors. */
html[data-mgb-store-style="premium"][data-theme="dark"] .mgb-product-page .seo-main-image {
  background:radial-gradient(ellipse at 50% 40%,#28313a,#171d24);
  border-color:var(--line);
}
html[data-mgb-store-style="premium"][data-theme="dark"] .mgb-product-page :is(.seo-thumb,.mgb-product-lightbox img,.mgb-related-seo-thumb) {
  background:#1a222b;
}
html[data-mgb-store-style="premium"][data-theme="dark"] .mgb-product-page .seo-main-image :is(picture,img) {background:transparent;}
html[data-mgb-store-style="premium"][data-theme="dark"] .mgb-product-page .mgb-gallery-tools :is(button,span) {
  background:#26313b;color:#f7f2e9;border-color:#4c5660;
}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-main-image img {display:block;width:100%;min-width:0;max-width:100%;height:100%;max-height:100%;margin:auto;object-fit:contain;object-position:center;filter:none!important;mix-blend-mode:normal!important;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-thumbnails {gap:10px;padding:4px 2px 12px;scrollbar-width:thin;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-thumb {width:72px;height:72px;flex-basis:72px;background:#faf8f2;border:1px solid var(--line);border-radius:14px;transition:border-color .2s,box-shadow .2s;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-thumb.active {border:2px solid var(--brand);box-shadow:0 0 0 3px rgba(204,159,76,.12);}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-product-info {width:100%;min-width:0;max-width:100%;padding:8px 0;background:transparent;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-product-kicker {gap:8px;letter-spacing:.08em;text-transform:uppercase;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-product-kicker span {color:var(--muted);border-color:var(--line);padding:6px 11px;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-product-info h1 {font-size:clamp(27px,3vw,42px);line-height:1.15;letter-spacing:-.045em;color:var(--text);margin:20px 0;overflow-wrap:anywhere;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-price-row {flex-wrap:wrap;gap:8px 14px;padding:18px 0 8px;margin:0;border-top:1px solid var(--line);}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-price-row strong {font-size:clamp(30px,3.4vw,42px);line-height:1.2;color:var(--brand-dark);letter-spacing:-.04em;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-price-row del {color:var(--muted);}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-stock {margin:8px 0 22px;border-radius:999px;padding:8px 12px;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-color-only-head {display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--text);}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-color-only-head span {color:var(--muted);}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-visual-swatches {padding:12px 4px 20px;gap:12px;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-visual-swatch {width:38px;height:38px;min-width:38px;box-shadow:0 0 0 1px var(--line);}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-visual-swatch.active {outline:2px solid var(--brand);outline-offset:4px;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-variant {border-color:var(--line);background:var(--soft);color:var(--text);border-radius:14px;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-variant.active {border-color:var(--brand);}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-actions {display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-actions .hidden {display:none!important;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-actions > .seo-buy {flex:1 0 100%;min-height:54px;border-radius:14px;font-size:15px;background:linear-gradient(115deg,#d9a54b,#f0ce8a);color:#2a1c09;font-weight:800;border:1px solid #c4923e;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-actions :is(.seo-secondary,.seo-wishlist-form) {flex:1 1 160px;min-width:0;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-secondary {display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;text-align:center;background:var(--soft);border:1px solid var(--line);color:var(--text);border-radius:12px;font-size:12px;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-wishlist-form .seo-secondary {width:100%;height:100%;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-facts {border-color:var(--line);margin-top:24px;gap:14px;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-facts dt {color:var(--muted);}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-facts dd {color:var(--text);overflow-wrap:anywhere;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-computer-specs {
  padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--soft);
}
html[data-mgb-store-style="premium"] .mgb-product-page :is(.seo-computer-specs h2,.seo-computer-spec-grid dd) {color:var(--text);}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-description-full,html[data-mgb-store-style="premium"] .mgb-product-page .mgb-related-seo {
  padding:28px;margin-top:28px;border:1px solid var(--line);border-radius:22px;background:var(--card);
}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-description-full h2 {letter-spacing:-.03em;color:var(--text);}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-description-full p {
  width:100%;max-width:none;margin:0;line-height:1.65;color:var(--muted);
  column-count:3;column-gap:28px;column-fill:balance;text-align:left;
}
@media(max-width:1000px) {
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-description-full p {column-count:2;column-gap:24px;}
}
@media(max-width:650px) {
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-description-full p {column-count:1;column-gap:0;column-rule:none;}
}
html[data-mgb-store-style="premium"] .mgb-product-page .mgb-related-seo-grid a {border-color:var(--line);background:var(--soft);border-radius:14px;}
html[data-mgb-store-style="premium"] .mgb-product-page .mgb-product-help {display:flex;flex-wrap:wrap;gap:8px 18px;padding-top:18px;margin-top:18px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);}
html[data-mgb-store-style="premium"] .mgb-product-page .mgb-product-help a {text-decoration:underline;text-underline-offset:4px;}
html[data-mgb-store-style="premium"] .mgb-product-page .mgb-gallery-tools {position:absolute;inset:auto 12px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;}
html[data-mgb-store-style="premium"] .mgb-product-page .mgb-gallery-tools button {width:40px;height:40px;border:1px solid #ddd2be;border-radius:12px;background:#fffdf7;color:#34291d;font:inherit;font-size:20px;cursor:pointer;}
html[data-mgb-store-style="premium"] .mgb-product-page .mgb-gallery-tools span {padding:6px 12px;border-radius:999px;background:#fffdf7;color:#6d5935;font-size:11px;}
html[data-mgb-store-style="premium"] .mgb-product-page .mgb-gallery-zoom {margin-left:auto;}
html[data-mgb-store-style="premium"] .mgb-product-page .mgb-product-lightbox {
  width:min(1100px,calc(100% - 24px));max-width:none;height:min(820px,90dvh);
  max-height:90dvh;padding:16px;border:1px solid var(--line);border-radius:22px;
  background:var(--card);color:var(--text);overflow:hidden;
}
html[data-mgb-store-style="premium"] .mgb-product-page .mgb-product-lightbox::backdrop {background:rgba(8,10,13,.88);}
html[data-mgb-store-style="premium"] .mgb-product-page .mgb-product-lightbox[open] {display:flex;flex-direction:column;gap:12px;}
html[data-mgb-store-style="premium"] .mgb-product-page .mgb-lightbox-tools {display:flex;justify-content:space-between;align-items:center;gap:8px;flex-shrink:0;}
html[data-mgb-store-style="premium"] .mgb-product-page .mgb-lightbox-tools button {min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:var(--text);font:inherit;cursor:pointer;}
html[data-mgb-store-style="premium"] .mgb-product-page .mgb-product-lightbox img {min-height:0;flex:1;object-fit:contain;width:100%;background:#faf9f6;border-radius:14px;}
html[data-mgb-store-style="premium"] .mgb-product-page .mgb-mobile-purchase {display:none;}
html[data-mgb-store-style="premium"] .mgb-product-page :is(a,button):focus-visible {outline:2px solid var(--brand);outline-offset:4px;}
@media(min-width:1000px) and (hover:hover) {
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-main-image img {transition:transform .4s ease;}
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-main-image:hover img {transform:scale(1.04);}
}
@media(max-width:1000px) {
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-product-card {gap:24px;padding:22px;}
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-main-image {min-height:360px;padding:20px 20px 60px;}
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-main-image picture {height:280px;}
}
@media(max-width:900px) {
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-product-card {grid-template-columns:minmax(0,1fr);}
}
@media(max-width:760px) {
  html[data-mgb-store-style="premium"] .mgb-product-page .product-brand span {display:block;}
  html[data-mgb-store-style="premium"] .mgb-product-page .product-site-header {padding:16px;gap:12px;flex-wrap:wrap;}
  html[data-mgb-store-style="premium"] .mgb-product-page .product-page-shell {padding:18px 12px 30px;}
  html[data-mgb-store-style="premium"] .mgb-product-page .breadcrumb {margin-bottom:16px;}
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-product-card {grid-template-columns:minmax(0,1fr);padding:14px;gap:18px;border-radius:22px;}
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-product-gallery {position:static;}
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-main-image {min-height:300px;padding:22px 18px 58px;border-radius:16px;}
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-main-image picture {height:250px;}
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-product-info {padding:0 4px 8px;}
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-product-info h1 {font-size:29px;}
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-actions :is(.seo-secondary,.seo-wishlist-form) {flex-basis:130px;}
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-description-full,html[data-mgb-store-style="premium"] .mgb-product-page .mgb-related-seo {padding:20px 16px;}
  html[data-mgb-store-style="premium"] .mgb-product-page.mgb-has-purchase-bar {padding-bottom:calc(86px + env(safe-area-inset-bottom));}
  html[data-mgb-store-style="premium"] .mgb-product-page .mgb-mobile-purchase {
    display:flex;align-items:center;justify-content:space-between;gap:14px;position:fixed;
    inset:auto 0 0;z-index:90;background:var(--card);border-top:1px solid var(--line);
    padding:12px 16px;padding-bottom:max(12px,env(safe-area-inset-bottom));box-shadow:0 -8px 28px rgba(0,0,0,.08);
  }
  html[data-mgb-store-style="premium"] .mgb-product-page .mgb-mobile-purchase[hidden] {display:none;}
  html[data-mgb-store-style="premium"] .mgb-product-page .mgb-mobile-purchase > div {min-width:0;}
  html[data-mgb-store-style="premium"] .mgb-product-page .mgb-mobile-purchase small {display:block;color:var(--muted);font-size:10px;}
  html[data-mgb-store-style="premium"] .mgb-product-page .mgb-mobile-purchase strong {font-size:21px;color:var(--text);white-space:nowrap;}
  html[data-mgb-store-style="premium"] .mgb-product-page .mgb-mobile-purchase button {min-height:48px;border:1px solid #c4923e;border-radius:13px;background:linear-gradient(115deg,#d9a54b,#f0ce8a);color:#2a1c09;padding:12px 18px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;}
  html[data-mgb-store-style="premium"] .mgb-product-page .mgb-qb-card :is(input,textarea,select) {font-size:16px!important;}
}
@media(prefers-reduced-motion:reduce) {
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-main-image img,html[data-mgb-store-style="premium"] .mgb-product-page .seo-thumb {transition:none;}
  html[data-mgb-store-style="premium"] .mgb-product-page .seo-main-image:hover img {transform:none;}
}

/* Contain intrinsic image/text widths at every grid boundary. */
html[data-mgb-store-style="premium"] .mgb-product-page .seo-product-card:hover {transform:none;}
html[data-mgb-store-style="premium"] .mgb-product-page .seo-thumbnails {width:100%;min-width:0;max-width:100%;}
html[data-mgb-store-style="premium"] .mgb-product-page :is(.seo-computer-spec-grid,.seo-facts,.seo-description-full,.mgb-related-seo,.mgb-related-seo-grid,.mgb-related-seo-grid a) {min-width:0;max-width:100%;}
html[data-mgb-store-style="premium"] .mgb-product-page :is(.seo-computer-spec-grid dd,.seo-description-full p,.mgb-related-seo-info) {overflow-wrap:anywhere;min-width:0;}
