/* Miller Gadgets buyer acquisition layer. */
.mg-buyer-proof{width:min(1360px,calc(100% - 32px));margin:18px auto 8px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.mg-buyer-proof a,.mg-buyer-proof span{display:flex;align-items:center;justify-content:center;min-height:54px;padding:10px 12px;border:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:14px;background:var(--card,#fff);color:inherit;text-align:center;font-size:.84rem;font-weight:750;line-height:1.25;text-decoration:none}
.mg-buyer-proof a:hover{transform:translateY(-1px)}
.mg-buyer-intro{width:min(1360px,calc(100% - 32px));margin:18px auto 8px;padding:18px 20px;border-radius:18px;background:var(--alt,#fff8f3);border:1px solid color-mix(in srgb,currentColor 10%,transparent)}
.mg-buyer-intro h2{margin:0 0 6px;font-size:clamp(1.12rem,2vw,1.42rem)}
.mg-buyer-intro p{margin:0;max-width:900px;line-height:1.65}
.mg-buyer-secondary-service{order:99}
@media(max-width:760px){.mg-buyer-proof{grid-template-columns:repeat(2,minmax(0,1fr));width:calc(100% - 24px);gap:8px}.mg-buyer-proof a,.mg-buyer-proof span{min-height:50px;font-size:.78rem;padding:8px}.mg-buyer-intro{width:calc(100% - 24px);padding:15px 16px}}
html[data-theme=dark] .mg-buyer-proof a,html[data-theme=dark] .mg-buyer-proof span{background:var(--card,#1e1d23)}
html[data-theme=dark] .mg-buyer-intro{background:var(--alt,#2d2a35)}

/* Final UI/UX polish: preserve the stable storefront while improving hierarchy,
   readability, support journeys, and high-density product selection. */
:root{
  --mg-polish-content:min(1180px,calc(100% - 48px));
  --mg-polish-line:rgba(17,9,51,.1);
  --mg-polish-shadow:0 18px 50px rgba(17,9,51,.08);
  --mg-polish-shadow-soft:0 10px 30px rgba(17,9,51,.06);
}

/* Sentence case is the default. Component-level eyebrow and badge rules retain
   their deliberate uppercase treatment. */
html body{text-transform:none!important}
html body :where(input,textarea)::placeholder{text-transform:none!important}

html body :where(h1,h2,h3){text-wrap:balance;letter-spacing:-.025em}
html body :where(p,li,dd){text-wrap:pretty}
html body :where(a,button,input,select,textarea,summary):focus-visible{
  outline:3px solid color-mix(in srgb,var(--accent,#fc6501) 38%,transparent)!important;
  outline-offset:3px!important;
}

html[data-theme=dark]{
  --mg-polish-line:rgba(230,223,244,.14);
  --mg-polish-shadow:0 18px 50px rgba(0,0,0,.3);
  --mg-polish-shadow-soft:0 10px 30px rgba(0,0,0,.22);
}

/* Support and business pages share a complete, responsive content system. */
body:is(.page-support,.page-business) .support-main{padding:28px 0 8px}
body:is(.page-support,.page-business) :is(.support-hero,.support-section,.repair-booking-zone){
  width:var(--mg-polish-content)!important;
  max-width:1180px!important;
  margin-inline:auto!important;
}
body:is(.page-support,.page-business) .support-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)!important;
  align-items:center;
  gap:clamp(28px,5vw,64px);
  min-height:0!important;
  padding:clamp(32px,5vw,68px)!important;
  border:1px solid var(--mg-polish-line);
  border-radius:28px;
  background:linear-gradient(135deg,#fff8f3 0%,#fff 64%);
  box-shadow:var(--mg-polish-shadow-soft);
}
body:is(.page-support,.page-business) .support-hero-copy{max-width:690px}
html[data-theme] body:is(.page-support,.page-business) #main-content .support-hero .support-hero-copy>p:not(.eyebrow){
  display:block!important;
  max-width:62ch;
  margin:16px 0 0;
  font-size:clamp(1rem,1.4vw,1.12rem);
  line-height:1.7;
}
body:is(.page-support,.page-business) .support-hero h1{
  max-width:15ch;
  margin:0;
  font-size:clamp(2.5rem,5vw,4.2rem)!important;
  line-height:1.01!important;
}
body.page-business .support-hero h1{max-width:16ch;font-size:clamp(2.5rem,4.5vw,3.7rem)!important}
body:is(.page-support,.page-business) .support-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:26px;
}
body:is(.page-support,.page-business) .support-hero-actions>a{min-height:48px}
body:is(.page-support,.page-business) .support-hero-card{
  display:grid;
  gap:10px;
  align-self:stretch;
  padding:10px;
  border:1px solid var(--mg-polish-line);
  border-radius:22px;
  background:rgba(255,255,255,.78);
}
body:is(.page-support,.page-business) .support-hero-card>div{
  display:grid;
  align-content:center;
  gap:6px;
  min-height:124px;
  padding:20px;
  border-radius:15px;
  background:#fff8f3;
}
body:is(.page-support,.page-business) .support-hero-card span{
  color:#b54400!important;
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}
body:is(.page-support,.page-business) .support-hero-card strong{font-size:1rem;line-height:1.35}
body:is(.page-support,.page-business) .support-hero-card p{margin:0;line-height:1.55;font-size:.88rem}

body:is(.page-support,.page-business) .support-section{padding:clamp(44px,6vw,76px) 0!important}
body:is(.page-support,.page-business) .support-section+.support-section{border-top:1px solid var(--mg-polish-line)}
body:is(.page-support,.page-business) .support-section-head{max-width:760px;margin:0 0 26px}
body:is(.page-support,.page-business) .support-section-head .eyebrow{margin-bottom:8px}
body:is(.page-support,.page-business) .support-section-head h2{
  max-width:20ch;
  margin:0;
  font-size:clamp(2rem,4vw,3.25rem)!important;
  line-height:1.06!important;
}
body:is(.page-support,.page-business) .support-section-head>p:not(.eyebrow){
  max-width:62ch;
  margin:12px 0 0;
  line-height:1.65;
}
body:is(.page-support,.page-business) .support-help-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:14px;
}
body:is(.page-support,.page-business) .support-help-card{
  display:grid;
  grid-template-rows:auto auto 1fr;
  align-content:start;
  gap:12px;
  min-height:218px;
  padding:24px;
  border:1px solid var(--mg-polish-line);
  border-radius:20px;
  background:#fff;
  color:inherit;
  box-shadow:var(--mg-polish-shadow-soft);
  text-decoration:none;
}
body:is(.page-support,.page-business) .support-help-card>span{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:12px;
  background:#fff0e5;
  color:#b54400!important;
  font-size:.75rem;
  font-weight:850;
}
body:is(.page-support,.page-business) .support-help-card h3{margin:0;font-size:1.22rem}
body:is(.page-support,.page-business) .support-help-card p{margin:0;line-height:1.6}
body:is(.page-support,.page-business) .support-help-card:hover{border-color:rgba(252,101,1,.42)!important}

body:is(.page-support,.page-business) .support-policy-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
body:is(.page-support,.page-business) .support-policy-card{
  min-height:176px;
  padding:24px;
  border:1px solid var(--mg-polish-line);
  border-radius:18px;
  background:#fff8f3;
}
body:is(.page-support,.page-business) .support-policy-card h3{margin:0 0 10px;font-size:1.08rem}
body:is(.page-support,.page-business) .support-policy-card p{margin:0;line-height:1.62}
body:is(.page-support,.page-business) .support-policy-actions{margin-top:18px}

body.page-support .support-contact-card{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
  gap:24px;
  padding:clamp(26px,4vw,44px);
  border:1px solid var(--mg-polish-line);
  border-radius:24px;
  background:#fff8f3;
}
body.page-support .support-contact-card h2{margin:0;font-size:clamp(2rem,4vw,3.1rem)!important}
body.page-support .support-contact-card p{max-width:58ch;margin:12px 0 0;line-height:1.65}
body.page-support .support-contact-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:10px;flex-wrap:wrap}
body.page-support .support-contact-actions a{min-height:48px}
body.page-support .support-contact-actions img{width:20px;height:20px}
body.page-support .support-social-row{
  grid-column:1/-1;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding-top:20px;
  border-top:1px solid var(--mg-polish-line);
}
body.page-support .support-social-row a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:8px 12px;
  border:1px solid var(--mg-polish-line);
  border-radius:999px;
  background:#fff;
  color:inherit;
  font-size:.83rem;
  font-weight:750;
  text-decoration:none;
}
body.page-support .support-social-row img{width:20px;height:20px}
body:is(.page-support,.page-business) .support-checklist{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 28px;
  border-block:1px solid var(--mg-polish-line);
}
body:is(.page-support,.page-business) .support-checklist>div{
  display:grid;
  gap:6px;
  padding:20px 0;
  border-bottom:1px solid var(--mg-polish-line);
}
body:is(.page-support,.page-business) .support-checklist>div:nth-last-child(-n+2){border-bottom:0}
body:is(.page-support,.page-business) .support-checklist p{margin:0;line-height:1.58}

html[data-theme=dark] body:is(.page-support,.page-business) .support-hero{
  background:linear-gradient(135deg,#211c25 0%,#151318 68%);
}
html[data-theme=dark] body:is(.page-support,.page-business) .support-hero-card{
  background:rgba(18,16,21,.72);
}
html[data-theme=dark] body:is(.page-support,.page-business) .support-hero-card>div,
html[data-theme=dark] body:is(.page-support,.page-business) .support-policy-card,
html[data-theme=dark] body.page-support .support-contact-card{
  background:#251f29;
}
html[data-theme=dark] body:is(.page-support,.page-business) .support-help-card,
html[data-theme=dark] body.page-support .support-social-row a{
  background:#19161c;
}
html[data-theme=dark] body:is(.page-support,.page-business) .support-help-card>span{
  background:#38251c;
  color:#ffb37f!important;
}
html[data-theme=dark] body:is(.page-support,.page-business) .support-hero-card span{
  color:#ffb37f!important;
}

/* Product pages keep every approved option while using the available width more
   efficiently and keeping the order decision visible. */
@media(min-width:1101px){
  body.page-product .product-detail-grid{
    grid-template-columns:minmax(250px,.82fr) minmax(390px,1.15fr) minmax(282px,.78fr)!important;
    gap:20px!important;
  }
  html[data-theme] body.page-product .product-detail-grid>.purchase-summary-card{
    position:sticky!important;
    top:88px!important;
    align-self:start!important;
  }
}
body.page-product :is(.product-config-card,.purchase-summary-card){padding:24px!important}
body.page-product #productName{font-size:clamp(2.55rem,4.1vw,3.35rem)!important;line-height:1.02!important}
body.page-product .selection-stack-title-v231{font-size:clamp(2rem,3vw,2.5rem)!important;line-height:1.05!important;margin-top:28px!important}
body.page-product #summaryProduct{font-size:clamp(1.8rem,2.8vw,2.35rem)!important;line-height:1.05!important;margin-bottom:12px!important}
body.page-product .selection-stack{gap:12px!important;margin-top:18px!important}
body.page-product .selection-step{padding:14px!important;border-radius:16px!important}
body.page-product .selection-step h3{font-size:.84rem!important;letter-spacing:0!important;text-transform:none!important}
body.page-product .option{min-height:48px!important;border-radius:13px!important}
body.page-product .summary-line{display:grid!important;gap:3px;padding:9px 0!important;line-height:1.35}
body.page-product .summary-line span{font-size:.84rem}
body.page-product .summary-line strong{text-align:left!important;font-size:.93rem}
body.page-product .summary-total{margin:14px 0!important;padding:14px!important;border-radius:16px!important}
body.page-product .summary-exact{font-size:.8rem!important;line-height:1.48!important}
body.page-product .summary-action-stack{margin-top:12px!important;gap:8px!important}
body.page-product .mg-checkout-faq-links{margin-top:14px!important;padding-top:14px!important}

/* A calmer first viewport and clearer offer treatment. */
body.page-store .apple-store-hero h1{font-size:clamp(2.55rem,5vw,3.85rem)!important;line-height:1.02!important}
body.page-store .mg-deals-promo{box-shadow:var(--mg-polish-shadow-soft)!important}
body :is(.mg-hot-deals-grid,.product-grid) :is(h3,.price){font-variant-numeric:tabular-nums}
body .mg-scroll-arrow{min-width:44px!important;width:44px!important;min-height:44px!important}

@media(max-width:900px){
  :root{--mg-polish-content:calc(100% - 28px)}
  body:is(.page-support,.page-business) .support-main{padding-top:14px}
  body:is(.page-support,.page-business) .support-hero{grid-template-columns:1fr!important;padding:34px!important}
  body:is(.page-support,.page-business) .support-hero-card{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.page-support .support-contact-card{grid-template-columns:1fr}
  body.page-support .support-contact-actions{justify-content:flex-start}
}

@media(max-width:620px){
  :root{--mg-polish-content:calc(100% - 24px)}
  body:is(.page-support,.page-business) .support-hero{gap:24px;padding:26px 20px!important;border-radius:22px}
  body:is(.page-support,.page-business) .support-hero h1{font-size:clamp(2.25rem,12vw,3.15rem)!important}
  body:is(.page-support,.page-business) .support-hero-actions{display:grid;grid-template-columns:1fr;margin-top:22px}
  body:is(.page-support,.page-business) .support-hero-card{grid-template-columns:1fr}
  body:is(.page-support,.page-business) .support-hero-card>div{min-height:0;padding:17px}
  body:is(.page-support,.page-business) .support-section{padding:40px 0!important}
  body:is(.page-support,.page-business) .support-section-head{margin-bottom:20px}
  body:is(.page-support,.page-business) .support-help-grid,
  body:is(.page-support,.page-business) .support-policy-grid,
  body:is(.page-support,.page-business) .support-checklist{grid-template-columns:1fr}
  body:is(.page-support,.page-business) .support-help-card{min-height:0;padding:20px}
  body:is(.page-support,.page-business) .support-policy-card{min-height:0;padding:20px}
  body:is(.page-support,.page-business) .support-checklist>div:nth-last-child(2){border-bottom:1px solid var(--mg-polish-line)}
  body.page-support .support-contact-card{padding:22px 18px}
  body.page-support .support-contact-actions{display:grid;grid-template-columns:1fr}
  body.page-support .support-social-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  body.page-support .support-social-row a{justify-content:center}
  body.page-product :is(.product-config-card,.purchase-summary-card){padding:18px!important}
  body.page-product #productName{font-size:clamp(2.2rem,12vw,3rem)!important}
  body.page-product .selection-stack-title-v231{font-size:clamp(1.85rem,9vw,2.35rem)!important}
}

@media(prefers-reduced-motion:reduce){
  html body :where(*,::before,::after){scroll-behavior:auto!important}
  body:is(.page-support,.page-business) .support-help-card{transition:none!important}
}

/* Codex refinement baseline: one spacing system for shared storefront controls. */
:root{
  --mg-space-1:4px;
  --mg-space-2:8px;
  --mg-space-3:12px;
  --mg-space-4:16px;
  --mg-space-5:24px;
  --mg-space-6:32px;
  --mg-space-7:48px;
  --mg-space-8:64px;
  --mg-control-min:44px;
  --mg-control-standard:48px;
  --mg-page-gutter:24px;
}

html body :where(.btn,.primary-btn,.secondary-btn,.cta-button,.price-cta){
  min-height:var(--mg-control-min);
}
html body :where(.form-card input,.form-card select,.form-card button){
  min-height:var(--mg-control-standard);
}
html body :where(.form-card textarea){min-height:112px}
html body :where(.form-card,.panel,.card){scroll-margin-top:calc(var(--mg-space-8) + var(--mg-space-4))}
html body form:not([data-mg-validation-interacted="true"]) :where(.mg-field-error,.mg-form-errors){display:none!important}

/* Guided recommendation */
.page-recommendation .mg-v170-hero-block{padding-bottom:var(--mg-space-6);max-width:1120px;margin-inline:auto}
.page-recommendation .mg-reuse-service-visual{max-width:920px;margin-top:var(--mg-space-6)}
.page-recommendation .mg-reuse-service-visual img{max-height:420px;object-fit:cover}
.mg-recommendation-shell{width:min(100% - 48px,1040px)!important;margin:0 auto var(--mg-space-8)!important;padding:0!important}
.mg-recommendation-flow{width:100%;padding:var(--mg-space-7);border:1px solid rgba(26,18,54,.1);border-radius:24px;box-shadow:0 20px 60px rgba(24,16,52,.08)}
.mg-recommendation-progress{display:grid;gap:var(--mg-space-3);margin-bottom:var(--mg-space-7)}
.mg-recommendation-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:var(--mg-space-3)}
.mg-recommendation-progress span{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.mg-recommendation-progress strong{font-size:13px}
.mg-recommendation-progressbar{height:8px;overflow:hidden;border-radius:999px;background:rgba(26,18,54,.09)}
.mg-recommendation-progressbar span{display:block;width:33.333%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#fc6501,#ff8c42);transition:width .28s ease}
.mg-recommendation-step{border:0;margin:0;padding:0;min-width:0}
.mg-recommendation-step[hidden]{display:none!important}
.mg-recommendation-step>legend{display:block;width:100%;margin:0 0 var(--mg-space-2);font-family:Sora,Manrope,sans-serif;font-size:clamp(24px,3vw,34px);font-weight:800;line-height:1.15}
.mg-recommendation-step>legend+p{margin:0 0 var(--mg-space-6);opacity:.72}
.mg-recommendation-step .form-grid{gap:var(--mg-space-4)}
.mg-recommendation-step label{display:grid;align-content:start;gap:var(--mg-space-2);font-weight:750}
.mg-recommendation-step input,.mg-recommendation-step select,.mg-recommendation-step textarea{margin:0!important}
.mg-recommendation-actions{display:flex;justify-content:flex-end;gap:var(--mg-space-3);margin-top:var(--mg-space-6)}
.mg-recommendation-actions .btn{min-width:144px}
.mg-recommendation-results-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--mg-space-4);margin-bottom:var(--mg-space-3)}
.mg-recommendation-results-head span{display:block;margin-bottom:var(--mg-space-1);color:#b34700;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.mg-recommendation-results-head h2{margin:0;font-size:clamp(24px,3vw,34px)}
.mg-recommendation-results>[data-recommendation-summary]{margin:0 0 var(--mg-space-6);opacity:.72}
.mg-recommendation-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--mg-space-4)}
.mg-recommendation-card{position:relative;overflow:hidden;display:grid;grid-template-rows:180px 1fr;border:1px solid rgba(26,18,54,.1);border-radius:20px;background:rgba(255,255,255,.72)}
.mg-recommendation-card>img{width:100%;height:180px;object-fit:contain;padding:var(--mg-space-4);background:#f6f5f8}
.mg-recommendation-card>div{display:flex;flex-direction:column;padding:var(--mg-space-4)}
.mg-recommendation-card p{margin:0 0 var(--mg-space-1);font-size:11px;font-weight:750;opacity:.62;text-transform:capitalize}
.mg-recommendation-card h3{margin:0 0 var(--mg-space-2);font-size:17px;line-height:1.25}
.mg-recommendation-card strong{font-size:15px;color:#b34700}
.mg-recommendation-reason{display:block;margin:var(--mg-space-2) 0 var(--mg-space-4);font-size:12px;line-height:1.55;opacity:.72}
.mg-recommendation-rank{position:absolute;z-index:1;top:var(--mg-space-3);left:var(--mg-space-3);display:grid!important;place-items:center;width:32px;height:32px;border-radius:50%;background:#fc6501;color:#fff;font-size:13px!important;letter-spacing:0!important}
.mg-recommendation-card-actions{display:grid;grid-template-columns:1fr;gap:var(--mg-space-2);margin-top:auto}
.mg-recommendation-card-actions a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid rgba(252,101,1,.34);border-radius:999px;color:#a83f00;font-size:12px;font-weight:800;text-decoration:none;text-align:center}
.mg-recommendation-card-actions a:last-child{background:#fc6501;border-color:#fc6501;color:#fff}
.mg-recommendation-results>.recommendation-validation-note{margin:var(--mg-space-6) 0 var(--mg-space-4)}
html[data-theme=dark] .mg-recommendation-flow,html[data-theme=dark] .mg-recommendation-card{border-color:rgba(255,255,255,.12);background:#1e1d23;box-shadow:none}
html[data-theme=dark] .mg-recommendation-card>img{background:#28262e}
html[data-theme=dark] .mg-recommendation-progressbar{background:rgba(255,255,255,.12)}
html[data-theme=dark] .mg-recommendation-results-head span,html[data-theme=dark] .mg-recommendation-card strong{color:#ff9c61}
html[data-theme=dark] .mg-recommendation-card-actions a{color:#fff}
@media(max-width:820px){
  .mg-recommendation-flow{padding:var(--mg-space-6)}
  .mg-recommendation-cards{grid-template-columns:1fr}
  .mg-recommendation-card{grid-template-columns:144px 1fr;grid-template-rows:auto}
  .mg-recommendation-card>img{width:144px;height:100%;min-height:220px}
}
@media(max-width:620px){
  .page-recommendation .mg-v170-hero-block{padding-bottom:var(--mg-space-4)}
  .page-recommendation .mg-reuse-service-visual{margin-top:var(--mg-space-4)}
  .page-recommendation .mg-reuse-service-visual img{max-height:240px}
  .mg-recommendation-shell{width:min(100% - 32px,1040px)!important}
  .mg-recommendation-flow{padding:var(--mg-space-5);border-radius:20px}
  .mg-recommendation-progress{margin-bottom:var(--mg-space-6)}
  .mg-recommendation-actions{display:grid;grid-template-columns:1fr 1fr}
  .mg-recommendation-actions .btn{min-width:0;width:100%}
  .mg-recommendation-results-head{display:grid}
  .mg-recommendation-results-head .btn{justify-self:start}
  .mg-recommendation-card{grid-template-columns:112px 1fr}
  .mg-recommendation-card>img{width:112px;min-height:220px;padding:var(--mg-space-3)}
  .mg-recommendation-card>div{padding:var(--mg-space-3)}
}
@media(max-width:390px){
  .mg-recommendation-flow{padding:var(--mg-space-4)}
  .mg-recommendation-card{grid-template-columns:96px 1fr}
  .mg-recommendation-card>img{width:96px;padding:var(--mg-space-2)}
}
@media(prefers-reduced-motion:reduce){.mg-recommendation-progressbar span{transition:none}}

/* Preserve the dark promotional treatment while restoring readable heading contrast. */
html[data-theme] body.page-store .mg-deals-promo :where(h2,h2 span,p,strong){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html[data-theme] body.page-store #storeDealsPromoTitle{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* 0.14.4.2 visual hardening: the Store Hot Deals promo title must remain readable on mobile.
   The CMS may replace the title text at runtime, so protect the actual child node as well as the container. */
html[data-theme] body.page-store .mg-deals-promo .mg-deals-banner-title-copy,
html[data-mg-app="0.14"] body.page-store .mg-commerce-store-deals .mg-deals-banner-title-copy {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
  filter:none!important;
  text-shadow:none!important;
  forced-color-adjust:none!important;
}

/* Search interaction polish. The existing index and ranking remain untouched. */
html[data-theme] body .mg-search-overlay{
  opacity:0;
  visibility:hidden;
  transition:opacity .2s ease,visibility .2s ease;
}
html[data-theme] body .mg-search-overlay.is-open{
  opacity:1;
  visibility:visible;
}
html[data-theme] body .mg-search-shell{
  transform:translateY(var(--mg-space-2));
  transition:transform .2s ease;
}
html[data-theme] body .mg-search-overlay.is-open .mg-search-shell{transform:translateY(0)}
html[data-theme] body .mg-search-form{
  gap:var(--mg-space-3)!important;
  min-height:var(--mg-control-standard);
}
html[data-theme] body .mg-search-input::-webkit-search-cancel-button{display:none}
html[data-theme] body .mg-search-close{
  min-width:72px!important;
  min-height:var(--mg-control-min)!important;
  padding-inline:var(--mg-space-3)!important;
  white-space:nowrap;
}
html[data-theme] body .mg-search-close::before{display:none!important;content:none!important}
html[data-theme] body .mg-search-result{
  min-height:72px;
  gap:var(--mg-space-3)!important;
  padding:var(--mg-space-3)!important;
}
html[data-theme] body .mg-search-result>img{
  width:56px!important;
  height:56px!important;
  aspect-ratio:1;
  border-radius:var(--mg-space-3)!important;
  object-fit:contain!important;
}
html[data-theme] body .mg-search-result mark{
  border-radius:var(--mg-space-1);
  padding:0 2px;
  background:#ffe0cc;
  color:#6f2b00;
}
html[data-theme=dark] body .mg-search-result mark{
  background:rgba(124,92,255,.28);
  color:#fff;
}
html[data-theme] body .mg-search-empty-v248{
  display:grid;
  gap:var(--mg-space-2);
  min-height:128px;
  align-content:center;
  padding:var(--mg-space-5)!important;
  border:1px dashed var(--mg-polish-line);
  border-radius:var(--mg-space-4);
}

@media(max-width:1024px){
  html body :where(#mobileMenu,#searchToggle){
    width:var(--mg-control-min)!important;
    min-width:var(--mg-control-min)!important;
    flex-basis:var(--mg-control-min)!important;
    height:var(--mg-control-min)!important;
    min-height:var(--mg-control-min)!important;
  }
  html body #themeToggle{min-height:var(--mg-control-min)!important}
  html body #storeGrid :where(button,.cta-button,.price-cta){min-height:var(--mg-control-min)!important}
}

@media(max-width:760px){
  :root{--mg-page-gutter:12px}
  html[data-theme] body .mg-search-shell{
    width:calc(100vw - 24px)!important;
    max-width:calc(100vw - 24px)!important;
    margin-inline:auto!important;
  }
  html[data-theme] body .mg-search-inner{padding:var(--mg-space-3)!important}
  html[data-theme] body .mg-search-form{gap:var(--mg-space-2)!important;padding:var(--mg-space-2)!important}
  html[data-theme] body .mg-search-symbol{flex:0 0 24px}
  html[data-theme] body .mg-search-input{font-size:1rem!important}
  html[data-theme] body .mg-search-close{min-width:64px!important;padding-inline:var(--mg-space-2)!important}
  html[data-theme] body .mg-search-result{min-height:76px;padding:var(--mg-space-2)!important}
  html[data-theme] body .mg-search-result>img{width:48px!important;height:48px!important;border-radius:var(--mg-space-2)!important}
  html[data-theme] body .mg-search-empty-v248{min-height:112px;padding:var(--mg-space-4)!important}
}

@media(prefers-reduced-motion:reduce){
  html[data-theme] body :where(.mg-search-overlay,.mg-search-shell){transition:none!important}
}

/* Header controls keep a full touch target even where older responsive rules are more specific. */
html body .top-nav #mobileMenu,
html body .top-nav #searchToggle,
html body .top-nav #themeToggle{
  min-height:var(--mg-control-min)!important;
  height:var(--mg-control-min)!important;
}
html body .top-nav #mobileMenu,
html body .top-nav #searchToggle{
  min-width:var(--mg-control-min)!important;
  width:var(--mg-control-min)!important;
  flex-basis:var(--mg-control-min)!important;
}
html[data-theme] body #mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu#mobileMenu,
html[data-theme] body #searchToggle#searchToggle#searchToggle#searchToggle#searchToggle#searchToggle#searchToggle#searchToggle#searchToggle#searchToggle#searchToggle#searchToggle#searchToggle#searchToggle#searchToggle#searchToggle#searchToggle#searchToggle#searchToggle#searchToggle{
  width:var(--mg-control-min)!important;
  min-width:var(--mg-control-min)!important;
  max-width:var(--mg-control-min)!important;
  height:var(--mg-control-min)!important;
  min-height:var(--mg-control-min)!important;
  max-height:var(--mg-control-min)!important;
  flex-basis:var(--mg-control-min)!important;
}
html[data-theme] body #themeToggle#themeToggle#themeToggle#themeToggle#themeToggle#themeToggle#themeToggle#themeToggle#themeToggle#themeToggle#themeToggle#themeToggle#themeToggle#themeToggle#themeToggle#themeToggle#themeToggle#themeToggle#themeToggle#themeToggle{
  --mg277-switch-height:var(--mg-control-min)!important;
  --mg277-slot-height:36px!important;
}
