/* SPB MOBIL v2.9.1 - native mobile layout and motion corrections.
   This file loads LAST; no store, price, order or media binding changes. */
:root{--spbm-nav-motion:cubic-bezier(.22,1,.36,1)}

/* Brand: all public-facing logos scaled down approx. 12%, with their ratios intact. */
.navbar .spbm-brand-logo{width:162px;max-width:100%;max-height:none;height:auto}
.footer-top .spbm-brand-logo{width:180px;max-width:100%;max-height:none;height:auto}
@media(min-width:761px) and (max-width:1150px){
 .navbar .spbm-brand-logo{width:138px}
}

@media(max-width:760px){
 .navbar .spbm-brand-logo{width:134px;height:auto;max-height:none}
 .footer-top .spbm-brand-logo{width:163px;max-width:100%;height:auto}
 .navbar .nav-inner{gap:8px}
 .navbar .nav-tools{gap:1px;flex-shrink:0}
 .navbar .nav-tools .icon-button{width:37px;height:38px}
 .navbar .nav-tools svg{width:21px;height:21px}

 /* Closing is as smooth as opening. display:none blocked every exit transition. */
 html.ui-ready body .navbar #mainNav.nav-links{
  display:flex!important;position:absolute;inset-inline:0;top:100%;bottom:auto;
  width:100%;height:calc(100dvh - var(--header));height:calc(100svh - var(--header));
  max-height:none;min-height:0!important;
  flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;
  background:#ffffff!important;padding:17px 24px 30px;
  box-shadow:0 18px 42px rgba(16,24,40,.08);
  overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  opacity:0;transform:translate3d(0,-14px,0);visibility:hidden;pointer-events:none;
  transition:opacity .29s ease,transform .36s var(--spbm-nav-motion),visibility .36s linear;
  animation:none!important;
  will-change:opacity,transform;
 }
 html.ui-ready body .navbar #mainNav.nav-links.open{
  opacity:1;transform:translate3d(0,0,0);visibility:visible;pointer-events:auto;
  animation:none!important;
 }
 #menuToggle svg{transition:transform .33s var(--spbm-nav-motion),opacity .22s ease;transform-origin:center}
 #menuToggle[aria-expanded="true"] svg{transform:rotate(90deg) scale(.92)}

 /* The submenu animates its exact measured scrollHeight (supplied by home.js). */
 html.ui-ready #mainNav .nav-group .mega-panel{
  position:relative!important;top:auto;left:auto;right:auto;display:block;
  padding:0;margin:0;visibility:visible!important;
  max-height:0!important;overflow:hidden!important;
  opacity:0!important;transform:translate3d(0,-7px,0)!important;
  pointer-events:none!important;border:0;box-shadow:none;background:transparent;
  transition:max-height .42s var(--spbm-nav-motion),opacity .27s ease,transform .36s var(--spbm-nav-motion)!important;
 }
 html.ui-ready #mainNav .nav-group.is-open .mega-panel{
  max-height:var(--spbm-panel-height,850px)!important;
  opacity:1!important;transform:translate3d(0,0,0)!important;
  pointer-events:auto!important;
 }
 html.ui-ready #mainNav .mega-inner{padding:8px 0 22px;gap:20px}
 #mainNav .nav-trigger svg{transition:transform .32s var(--spbm-nav-motion)}

 /* Editorial preview: text and product photo occupy separate rows, never collide. */
 .design-story.spbm-spotlight{
  height:auto!important;min-height:0!important;overflow:hidden!important;
  background:var(--spbm-preview-bg,#000)!important;
 }
 .design-story.spbm-spotlight .story-inner{
  width:calc(100% - 40px);height:auto!important;min-height:0!important;
  padding:48px 0 22px;display:flex!important;flex-direction:column!important;
  align-items:stretch;justify-content:flex-start;gap:0;
 }
 .design-story.spbm-spotlight .story-copy{
  position:relative;order:0;flex:none;width:100%!important;max-width:none!important;
  padding:0!important;margin:0!important;z-index:4;
 }
 .design-story.spbm-spotlight .story-copy .eyebrow{font-size:12px;line-height:1.4;margin:0 0 17px}
 .design-story.spbm-spotlight .story-copy h2{
  font-size:clamp(39px,10vw,52px)!important;line-height:1.07;letter-spacing:-.055em;
  margin:0 0 22px;max-width:380px;overflow-wrap:normal;word-break:normal;
 }
 .design-story.spbm-spotlight .story-copy p:not(.eyebrow){
  max-width:340px;font-size:14px!important;line-height:1.6;margin-bottom:0;
 }
 .design-story.spbm-spotlight .story-swatches{margin:24px 0 12px;gap:10px}
 .design-story.spbm-spotlight .story-color-name{font-size:11px;margin:0 0 20px}
 .design-story.spbm-spotlight .story-copy .btn{position:relative;z-index:4;margin:0;padding:12px 21px;min-height:44px;font-size:12px}
 .design-story.spbm-spotlight .story-art.spbm-preview-art{
  position:relative!important;inset:auto!important;order:1;flex:0 0 auto;
  margin:14px -20px 0;width:calc(100% + 40px)!important;
  height:clamp(330px,98vw,475px)!important;max-height:475px;
  pointer-events:none;overflow:hidden;isolation:isolate;z-index:1;
 }
 .design-story.spbm-spotlight .story-art.spbm-preview-art picture{
  position:absolute!important;inset:0!important;display:block!important;width:100%;height:100%;
 }
 .design-story.spbm-spotlight .story-art.spbm-preview-art picture img{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center center!important;
  transform:none!important;filter:none!important;
 }
 .design-story.spbm-spotlight .story-art.spbm-preview-art::after,
 .design-story.spbm-spotlight .story-art.spbm-preview-art::before{display:none!important;content:none!important}
 .design-story.spbm-spotlight .story-bottom{
  position:relative;inset:auto;order:2;width:100%;flex:none;
  display:flex;justify-content:space-between;gap:10px;
  padding:10px 0 0;font-size:10px;line-height:1.45;
 }
 .design-story.spbm-spotlight .story-bottom span:last-child{display:block;text-align:right}

 /* Product gallery: physical image, scrollable filmstrip and caption never overlap. */
 .product-visual.local-gallery{
  position:relative!important;top:auto!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  display:flex!important;flex-direction:column;justify-content:flex-start;align-items:stretch;
  padding:18px 15px 14px!important;overflow:hidden!important;
 }
 .product-visual.local-gallery .product-gallery-stage.local-gallery-stage{
  position:relative!important;inset:auto!important;top:auto!important;left:auto!important;
  display:block!important;flex:0 0 auto;width:100%;height:clamp(290px,88vw,390px)!important;
  min-height:0!important;max-height:none!important;overflow:hidden!important;
 }
 .product-visual.local-gallery .local-gallery-image-wrap,
 .product-visual.local-gallery .local-gallery-image-wrap.is-placeholder{
  position:absolute!important;inset:8px 29px 8px!important;
  display:grid;place-items:center;overflow:hidden;
 }
 .product-visual.local-gallery .local-gallery-image-wrap>img{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:center center!important;
  max-width:100%!important;max-height:100%!important;
 }
 .product-visual.local-gallery .local-gallery-thumbs{
  position:relative!important;inset:auto!important;left:auto!important;bottom:auto!important;
  transform:none!important;flex:0 0 auto;align-self:stretch;
  width:100%!important;max-width:100%!important;
  min-height:70px;display:flex;justify-content:flex-start;align-items:center;gap:9px;
  overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
  padding:8px 4px 10px;scroll-snap-type:x proximity;scrollbar-width:thin;
 }
 .product-visual.local-gallery .local-gallery-thumb{
  flex:0 0 64px;width:64px;height:56px;scroll-snap-align:center;
  border-radius:10px;overflow:hidden;padding:4px;
 }
 .product-visual.local-gallery .local-gallery-thumb img{
  display:block;width:100%;height:100%;max-height:100%;object-fit:contain;
 }
 .product-visual.local-gallery .local-gallery-caption{
  position:relative!important;inset:auto!important;bottom:auto!important;left:auto!important;right:auto!important;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:6px 12px;min-height:26px;padding:8px 5px 0;
  font-size:11px;line-height:1.4;
 }
 .product-visual.local-gallery .local-gallery-caption>span:nth-child(2){
  flex:1 1 60px;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 }
 .product-visual.local-gallery .product-gallery-arrow{
  top:calc(18px + min(44vw,195px))!important;
  width:34px;height:34px;transform:translateY(-50%)!important;
 }
 .product-visual.local-gallery .product-gallery-prev{left:7px!important}
 .product-visual.local-gallery .product-gallery-next{right:7px!important}
 .product-visual.local-gallery .gallery-photo-badge{top:14px;left:16px}
 .product-dialog .product-config,.dialog-product .product-config{padding-top:26px}
}
@media(max-width:370px){
 .navbar .spbm-brand-logo{width:117px}
 .design-story.spbm-spotlight .story-copy h2{font-size:37px!important}
 .product-visual.local-gallery .product-gallery-stage.local-gallery-stage{height:285px!important}
 .product-visual.local-gallery .local-gallery-thumb{flex-basis:58px;width:58px;height:52px}
}
@media(prefers-reduced-motion:reduce){
 html.ui-ready #mainNav.nav-links,
 html.ui-ready #mainNav .nav-group .mega-panel,
 #menuToggle svg{transition:none!important;animation:none!important}
 .spbm-spotlight .story-art.spbm-preview-art picture img{transition:none!important}
}

/* User-disabled animations follow the same accessibility rules. */
body.no-motion #mainNav.nav-links,body.no-motion #mainNav .mega-panel,
body.no-motion #menuToggle svg{transition:none!important;animation:none!important}

/* SPB MOBIL 2.9.8: a separate contact strip above the existing sticky navigation. */
.spbm-contact-strip{background:var(--bg,#f5f5f7);color:var(--ink,#1d1d1f);width:100%;border:0}
.spbm-contact-inner{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-height:34px}
.spbm-contact-inner a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;transition:color .2s ease;white-space:nowrap;line-height:1}
.spbm-contact-inner a:hover{color:var(--blue,#0071e3)}
.spbm-header-phone{gap:7px;font-size:12px;font-weight:500;letter-spacing:.01em}
.spbm-header-phone svg{width:13px;height:13px;stroke-width:1.75}
.spbm-header-tg{min-width:28px;flex-shrink:0}
.spbm-header-tg svg{width:17px;height:17px}
@media(min-width:920px){
 .navbar .nav-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:12px}
 .navbar .nav-inner>.brand{grid-column:1;grid-row:1;justify-self:start}
 .navbar .nav-inner>#mainNav,.navbar .nav-inner>.standard-nav{grid-column:2;grid-row:1;justify-self:center}
 .navbar .nav-inner>.nav-tools{grid-column:3;grid-row:1;justify-self:end}
}
@media(max-width:760px){
 .spbm-contact-inner{min-height:36px;gap:9px}
 .spbm-contact-inner a{min-height:36px}
 .spbm-header-phone{font-size:12px}
 .spbm-header-tg{min-width:34px}
}

/* SPB MOBIL 3.0.0: compact footer contact row, using the header's typography and icons. */
.spbm-footer-right{min-width:0;max-width:100%}
.spbm-footer-contacts{justify-content:flex-start;flex-wrap:wrap;gap:4px 14px;min-height:0;margin-top:12px;padding-top:5px;border-top:1px solid #dcdce0;color:var(--ink,#1d1d1f)}
.spbm-footer-contact-label{font-size:11px;line-height:1.3;color:var(--muted,#747479);white-space:nowrap}
.spbm-footer-contacts .spbm-header-tg{gap:7px;min-width:0;font-size:12px;font-weight:500;letter-spacing:.01em}
.spbm-footer-contacts .spbm-header-phone+.spbm-header-tg{position:relative;padding-left:14px}
.spbm-footer-contacts .spbm-header-phone+.spbm-header-tg:before{content:"";position:absolute;left:0;top:50%;width:1px;height:14px;transform:translateY(-50%);background:#dcdce0}
@media(max-width:760px){
 .spbm-footer-contacts{gap:2px 9px;margin-top:10px;padding-top:4px}
 .spbm-footer-contacts .spbm-header-phone+.spbm-header-tg{padding-left:9px}
 .spbm-footer-contact-label{flex-basis:100%}
}


/* 3.1.3 - Main slider: real layout tracks instead of fixed media offsets.
   All slides occupy one grid cell to retain the crossfade and a stable height.
   Intrinsic text/CTA/price heights reserve their own space even on small screens. */
.hero.spbm-hero-balanced{
 display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;
 height:auto;min-height:clamp(740px,calc(100vh - 138px),990px);
 min-height:clamp(740px,calc(100svh - 138px),990px);max-height:none;
}
.hero.spbm-hero-balanced .hero-custom{
 position:relative;inset:auto;grid-area:1/1;min-width:0;
 display:grid;grid-template-columns:minmax(0,1fr);
 grid-template-rows:auto minmax(200px,1fr) auto;
 gap:clamp(16px,2.1vh,24px);
 padding:clamp(28px,4.8vh,58px) clamp(20px,4vw,70px) 72px;
}
.hero.spbm-hero-balanced .hero-custom .hero-top{
 grid-row:1;grid-column:1;min-width:0;width:100%;max-width:none;
 margin:0;padding:0;text-align:center;
}
.hero.spbm-hero-balanced .hero-custom .hero-top .hero-heading{
 max-width:min(100%,1200px);margin:12px auto 13px;
 font-size:clamp(45px,min(5.8vw,8.3vh),86px);
 overflow-wrap:anywhere;line-height:1.08;
}
.hero.spbm-hero-balanced .hero-custom .hero-desc{
 max-width:680px;margin:0 auto;line-height:1.5;overflow-wrap:anywhere;
}
.hero.spbm-hero-balanced .hero-custom .hero-actions{
 flex-wrap:wrap;justify-content:center;gap:8px 20px;margin-top:18px;
}
.hero.spbm-hero-balanced .hero-custom .hero-actions:empty,
.hero.spbm-hero-balanced .hero-custom .hero-actions:not(:has(> :not([hidden]))){display:none}
.hero.spbm-hero-balanced .hero-custom .hero-actions .btn,
.hero.spbm-hero-balanced .hero-custom .hero-actions .text-link{
 max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center;
}
.hero.spbm-hero-balanced .hero-custom .spbm-hero-scene{
 grid-row:2;grid-column:1;position:relative;inset:auto;
 width:100%;max-width:1080px;min-width:0;min-height:0;
 justify-self:center;align-self:stretch;overflow:hidden;
}
.hero.spbm-hero-balanced .hero-custom .spbm-hero-scene .spbm-hero-media{
 position:absolute!important;inset:0!important;transform:none!important;
 width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
 object-fit:var(--spbm-image-fit,contain)!important;object-position:center!important;
 will-change:auto;filter:none!important;
}
.hero.spbm-hero-balanced .hero-custom .hero-bottom{
 grid-row:3;grid-column:1;position:relative;inset:auto;
 transform:none;justify-self:center;max-width:650px;width:100%;
 white-space:normal;line-height:1.4;overflow-wrap:anywhere;
}
.hero.spbm-hero-balanced .hero-custom .hero-price{margin-bottom:5px;line-height:1.35}
.hero.spbm-hero-balanced .hero-custom .hero-note{line-height:1.45}
/* Side-by-side editorial slides retain their saved alignment on wide screens. */
@media(min-width:1001px){
 .hero.spbm-hero-balanced .hero-custom.spbm-hero-left{
  grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);
  grid-template-rows:minmax(220px,1fr) auto;column-gap:clamp(28px,4vw,68px);
 }
 .hero.spbm-hero-balanced .hero-custom.spbm-hero-left .hero-top{
  grid-column:1;grid-row:1;align-self:center;text-align:left;
 }
 .hero.spbm-hero-balanced .hero-custom.spbm-hero-left .hero-desc{margin-left:0}
 .hero.spbm-hero-balanced .hero-custom.spbm-hero-left .hero-actions{justify-content:flex-start}
 .hero.spbm-hero-balanced .hero-custom.spbm-hero-left .spbm-hero-scene{grid-column:2;grid-row:1}
 .hero.spbm-hero-balanced .hero-custom.spbm-hero-left .hero-bottom{grid-column:1/-1;grid-row:2}
}
@media(max-width:1000px){
 .hero.spbm-hero-balanced .hero-custom.spbm-hero-left .hero-top{text-align:left}
 .hero.spbm-hero-balanced .hero-custom.spbm-hero-left .hero-actions{justify-content:flex-start}
 .hero.spbm-hero-balanced .hero-custom.spbm-hero-left .hero-desc{margin-left:0}
}
@media(max-width:760px){
 .hero.spbm-hero-balanced{
  min-height:clamp(610px,calc(100vh - 125px),790px);
  min-height:clamp(610px,calc(100svh - 125px),790px);
 }
 .hero.spbm-hero-balanced .hero-custom{
  grid-template-rows:auto minmax(180px,1fr) auto;
  padding:clamp(26px,4.2vh,40px) 18px 68px;gap:16px;
 }
 .hero.spbm-hero-balanced .hero-custom .hero-top .hero-heading{
  font-size:clamp(34px,10.6vw,52px)!important;margin:10px auto 12px;
 }
 .hero.spbm-hero-balanced .hero-custom .hero-desc{max-width:350px}
 .hero.spbm-hero-balanced .hero-custom .hero-actions{margin-top:14px;gap:6px 15px}
 .hero.spbm-hero-balanced .hero-custom .spbm-hero-scene{max-width:620px}
}


/* 3.1.4 - Contacts inside mobile navigation; desktop strip and footer unchanged. */
.spbm-mobile-contacts,.spbm-page-mobile-menu{display:none}
@media(min-width:761px){html:not(.ui-ready) .navbar .standard-nav{display:flex}}
@media(max-width:760px){
 .spbm-contact-strip{display:none!important}
 /* A single editorial contact row, not a card. Phone is the primary action. */
 .navbar .spbm-mobile-contacts{display:block;flex:none;margin-top:22px;padding:17px 0 0;border-top:1px solid #e8e8ed;background:transparent;text-align:left;min-width:0}
 .navbar .spbm-mobile-contact-links{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
 .navbar .spbm-mobile-contact-links a{display:inline-flex!important;align-items:center;justify-content:center;padding:0!important;min-height:44px;background:transparent;border:0;border-radius:0;text-decoration:none;transition:color .2s ease,opacity .2s ease}
 .navbar .spbm-mobile-contact-links .spbm-header-phone{justify-content:flex-start;flex:0 1 auto;min-width:0;font-size:clamp(21px,6.6vw,29px)!important;font-weight:550;line-height:1.15;letter-spacing:-.045em!important;color:var(--ink,#1d1d1f);font-variant-numeric:tabular-nums}
 .navbar .spbm-mobile-contact-links .spbm-header-phone span{min-width:0;white-space:normal;overflow-wrap:anywhere}
 .navbar .spbm-mobile-contact-links .spbm-header-phone svg{display:none}
 .navbar .spbm-mobile-contact-links .spbm-header-tg{width:44px;min-width:44px;height:44px;flex:none;color:var(--blue,#0071e3)}
 .navbar .spbm-mobile-contact-links .spbm-header-tg svg{width:18px;height:18px;flex:none}
 .navbar .spbm-mobile-contact-links .spbm-header-tg:only-child{margin-left:auto}
 .navbar .spbm-mobile-contact-links a:hover,.navbar .spbm-mobile-contact-links a:focus-visible{color:var(--blue,#0071e3)}
 .navbar .spbm-mobile-contact-links .spbm-header-tg:active{opacity:.6}
 .navbar .native-links .spbm-mobile-contacts{margin:12px 0 0;padding:10px 0 0}
 .navbar .native-links .spbm-mobile-contact-links .spbm-header-phone{font-size:clamp(20px,5.6vw,23px)!important}
 html:not(.ui-ready) .navbar .native-preview-menu .native-links{width:min(310px,calc(100vw - 32px));max-height:calc(100svh - var(--header) - 24px);overflow-y:auto;right:0}
 /* Non-front pages have no storefront JS; use native details for their menu. */
 .navbar .standard-nav{display:none!important}
 .spbm-page-mobile-menu{display:block;position:static;margin-left:auto}
 .spbm-page-mobile-menu summary{list-style:none;display:grid;place-items:center;min-width:44px;min-height:44px;cursor:pointer;border-radius:50%}
 .spbm-page-mobile-menu summary::-webkit-details-marker{display:none}
 .spbm-page-mobile-menu[open] summary{background:#f5f5f7}
 .spbm-page-mobile-menu nav{position:absolute;inset:100% 0 auto;background:#fff;box-shadow:0 18px 42px rgba(16,24,40,.08);padding:16px 24px 24px;max-height:calc(100svh - var(--header));overflow:auto;overscroll-behavior:contain}
 .spbm-page-mobile-menu nav>a{display:block;padding:14px 0;font-size:19px;font-weight:500}
}

/* Per-device visual proportions. Actual media is contained in the reserved grid row. */
.hero.spbm-hero-balanced .hero-custom{
 --spbm-art-min:220px;--spbm-art-w:100%;--spbm-art-h:88%;
 grid-template-rows:auto minmax(var(--spbm-art-min),1fr) auto;
 gap:clamp(16px,1.9vh,22px);
 padding-top:clamp(25px,3.8vh,48px);
}
.hero.spbm-hero-balanced .hero-custom .hero-top .hero-heading{margin-top:10px;margin-bottom:10px}
.hero.spbm-hero-balanced .hero-custom .hero-actions{margin-top:15px}
.hero.spbm-hero-balanced .hero-custom[data-visual-profile="iphone"]{--spbm-art-min:clamp(365px,53vh,560px);--spbm-art-min:clamp(365px,53svh,560px);--spbm-art-w:min(100%,760px);--spbm-art-h:100%}
.hero.spbm-hero-balanced .hero-custom[data-visual-profile="ipad"]{--spbm-art-w:min(92%,750px);--spbm-art-h:92%}
.hero.spbm-hero-balanced .hero-custom[data-visual-profile="macbook"]{--spbm-art-w:min(88%,890px);--spbm-art-h:90%}
.hero.spbm-hero-balanced .hero-custom[data-visual-profile="airpods"]{--spbm-art-w:min(64%,440px);--spbm-art-h:68%}
.hero.spbm-hero-balanced .hero-custom[data-visual-profile="watch"]{--spbm-art-w:min(66%,420px);--spbm-art-h:79%}
.hero.spbm-hero-balanced .hero-custom .spbm-hero-scene .spbm-hero-media{
 inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;
 width:var(--spbm-art-w)!important;height:var(--spbm-art-h)!important;max-width:100%!important;max-height:100%!important;
}
/* Video keeps its full presentation area when sizing is automatic. */
.hero.spbm-hero-balanced .hero-custom[data-visual-size="auto"] .spbm-hero-scene .spbm-hero-video{width:100%!important;height:100%!important}
@media(min-width:1001px){
 .hero.spbm-hero-balanced .hero-custom.spbm-hero-left{grid-template-rows:minmax(var(--spbm-art-min),1fr) auto}
}
@media(max-width:760px){
 .hero.spbm-hero-balanced{min-height:clamp(610px,calc(100vh - 98px),800px);min-height:clamp(610px,calc(100svh - 98px),800px)}
 .hero.spbm-hero-balanced .hero-custom{--spbm-art-min:180px;padding-top:clamp(23px,3.4vh,33px);gap:16px}
 .hero.spbm-hero-balanced .hero-custom[data-visual-profile="iphone"]{--spbm-art-min:clamp(290px,96vw,450px);--spbm-art-w:100%;--spbm-art-h:100%}
 .hero.spbm-hero-balanced .hero-custom[data-visual-profile="ipad"]{--spbm-art-w:92%;--spbm-art-h:92%}
 .hero.spbm-hero-balanced .hero-custom[data-visual-profile="macbook"]{--spbm-art-w:94%;--spbm-art-h:90%}
 .hero.spbm-hero-balanced .hero-custom[data-visual-profile="airpods"]{--spbm-art-w:min(67%,310px);--spbm-art-h:70%}
 .hero.spbm-hero-balanced .hero-custom[data-visual-profile="watch"]{--spbm-art-w:65%;--spbm-art-h:79%}
}
/* Editor choices override the automatic sizing for that slide only. */
.hero.spbm-hero-balanced .hero-custom[data-visual-size="compact"]{--spbm-art-w:65%;--spbm-art-h:65%}
.hero.spbm-hero-balanced .hero-custom[data-visual-size="standard"]{--spbm-art-w:83%;--spbm-art-h:83%}
.hero.spbm-hero-balanced .hero-custom[data-visual-size="large"]{--spbm-art-w:100%;--spbm-art-h:100%}

/* 3.1.9: add 10px between the divider and the footer contact row. */
footer .spbm-footer-right{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
footer .spbm-footer-right .spbm-footer-contacts{margin:0;padding:10px 0 0;border-top:1px solid #dcdce0;width:100%;justify-content:flex-start;gap:4px 14px;min-height:0}
footer .spbm-footer-contacts a{min-height:30px;line-height:1.35;max-width:100%}
footer .spbm-footer-contacts a span{white-space:normal;overflow-wrap:anywhere}
footer .spbm-footer-contacts .spbm-footer-contact-label{line-height:1.4}
/* A wider iPhone scene without changing the saved image, media fit, or other slides. */
.hero.spbm-hero-balanced .hero-custom[data-visual-profile="iphone"]{--spbm-art-min:clamp(365px,53vh,560px);--spbm-art-min:clamp(365px,53svh,560px);--spbm-art-w:100%;--spbm-art-h:100%}
.hero.spbm-hero-balanced .hero-custom[data-visual-profile="iphone"] .spbm-hero-scene{max-width:1180px}
.hero.spbm-hero-balanced .hero-custom[data-visual-profile="iphone"][data-visual-size="standard"]{--spbm-art-w:96%;--spbm-art-h:96%}
.hero.spbm-hero-balanced .hero-custom[data-visual-profile="iphone"][data-visual-size="compact"]{--spbm-art-w:75%;--spbm-art-h:75%}
.hero.spbm-hero-balanced .hero-custom[data-visual-profile="iphone"][data-visual-size="large"]{--spbm-art-w:100%;--spbm-art-h:100%}
@media(max-width:1000px){
 /* No viewport-height minimum or oversized implicit grid tracks on tall phones.
    All slides share one cell, so changing slides does not move the page. */
 .hero.spbm-hero-balanced{height:auto;min-height:0;max-height:none;grid-template-rows:auto}
 .hero.spbm-hero-balanced .hero-custom{--spbm-art-min:clamp(205px,61vw,330px);grid-template-rows:auto minmax(var(--spbm-art-min),1fr) auto;gap:10px;padding:22px 14px 60px;min-height:0}
 .hero.spbm-hero-balanced .hero-custom .hero-top .hero-heading{font-size:clamp(31px,9vw,45px)!important;margin:8px auto 9px;line-height:1.08!important;max-width:100%}
 .hero.spbm-hero-balanced .hero-custom .eyebrow{font-size:15px;line-height:1.35}
 .hero.spbm-hero-balanced .hero-custom .hero-desc{font-size:13px;line-height:1.45;max-width:350px}
 .hero.spbm-hero-balanced .hero-custom .hero-actions{margin-top:12px;gap:5px 12px}
 .hero.spbm-hero-balanced .hero-custom .hero-actions .btn{min-height:39px;padding:9px 16px;font-size:12px}
 .hero.spbm-hero-balanced .hero-custom .hero-bottom{max-width:100%;width:100%;min-height:0}
 .hero.spbm-hero-balanced .hero-custom .hero-price{font-size:13px;margin:0 0 3px}
 .hero.spbm-hero-balanced .hero-custom .hero-note{font-size:10px;line-height:1.35}
 .hero.spbm-hero-balanced .hero-custom[data-visual-profile="iphone"]{--spbm-art-min:clamp(250px,73vw,375px)}
 .hero.spbm-hero-balanced .hero-custom[data-visual-profile="iphone"] .spbm-hero-scene{width:calc(100% + 28px);max-width:100vw;margin-inline:-14px}
 .hero.spbm-hero-balanced .hero-controls{bottom:15px}
 .hero.spbm-hero-balanced .motion-control{bottom:12px}
 footer .spbm-footer-right .spbm-footer-contacts{gap:2px 10px}
}
/* Crawlable model links, retaining the existing card layout and JS modal behavior. */
#catalog .product-info h3 .spbm-model-link{color:inherit;text-decoration:none}
#catalog .product-info h3 .spbm-model-link:focus-visible{outline:2px solid #0071e3;outline-offset:3px}
.spbm-catalog-archive-link{font-size:12px;text-decoration:underline;text-underline-offset:3px;white-space:normal}
.spbm-archive-categories{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:14px;margin:0 0 20px}
.spbm-archive-pagination{margin:30px 0 0}

@media (min-width:600px) and (max-width:1000px) and (max-height:500px) and (orientation:landscape){
 .hero.spbm-hero-balanced .hero-custom{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);grid-template-rows:minmax(210px,auto) auto;gap:8px 18px;padding:14px 22px 54px}
 .hero.spbm-hero-balanced .hero-custom .hero-top{grid-column:1;grid-row:1;align-self:center;text-align:left}
 .hero.spbm-hero-balanced .hero-custom .hero-top .hero-heading{font-size:clamp(26px,4.2vw,37px)!important}
 .hero.spbm-hero-balanced .hero-custom .hero-desc{margin-left:0}
 .hero.spbm-hero-balanced .hero-custom .hero-actions{justify-content:flex-start}
 .hero.spbm-hero-balanced .hero-custom .spbm-hero-scene,.hero.spbm-hero-balanced .hero-custom[data-visual-profile="iphone"] .spbm-hero-scene{grid-column:2;grid-row:1;width:100%;margin:0;max-width:100%}
 .hero.spbm-hero-balanced .hero-custom .hero-bottom{grid-column:1/-1;grid-row:2}
}
