/* Local mobile detail concept. Desktop layouts and theme tokens are retained. */
.sq-mobile-tools,.lp-mobile-product-head,.pdp-mobile-variants{display:none}.lp-mobile-description{margin:0}.lp-mobile-description>summary{display:none}.pdp-mobile-description{display:contents}.pdp-mobile-description>summary{display:none}
@media(max-width:760px){
 html:is([data-store-layout=landing],[data-product-page=true]) .store-frame{padding-bottom:104px}
 html:is([data-store-layout=landing],[data-product-page=true]) .store-frame>header:not([hidden]){display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 14px;min-height:56px}
 html:is([data-store-layout=landing],[data-product-page=true]) .store-frame>header[hidden]{display:none!important}
 html:is([data-store-layout=landing],[data-product-page=true]) .store-frame>header nav,html:is([data-store-layout=landing],[data-product-page=true]) .store-frame>header #searchBox{display:none!important}
 html:is([data-store-layout=landing],[data-product-page=true]) .store-frame>header .brand{font-size:16px;gap:7px;max-width:120px}
 html:is([data-store-layout=landing],[data-product-page=true]) .store-frame>header .brand small{font-size:8px}
 html:is([data-store-layout=landing],[data-product-page=true]) .store-frame>header .brand img,html:is([data-store-layout=landing],[data-product-page=true]) .store-frame>header .brand .mark{width:32px;height:32px}
 html:is([data-store-layout=landing],[data-product-page=true]) .store-frame>header #cartToggle{width:auto!important;min-width:0;flex:none;padding:7px 9px;font-size:10px;border-radius:18px;margin:0;min-height:32px}
 html:is([data-store-layout=landing],[data-product-page=true]) .store-preferences{margin:0;gap:5px;padding:0;flex:none}
 html:is([data-store-layout=landing],[data-product-page=true]) .store-preferences select{max-width:74px;font-size:10px;padding:5px}
 html:is([data-store-layout=landing],[data-product-page=true]) .store-preferences button{width:30px;height:30px;min-height:0}
 /* A single stable image canvas. The side rail has its own reserved space. */
 .pdp-layout>.pdp-gallery,html #storeLanding .lp-gallery{position:relative!important;top:auto!important;min-width:0;margin:0}
 .pdp-gallery>.sq-gallery,html #storeLanding .lp-gallery>.sq-gallery{position:relative}
 .pdp-gallery>.sq-gallery>.sq-gallery-stage,html #storeLanding .lp-gallery>.sq-gallery>.sq-gallery-stage{height:clamp(320px,54svh,480px);aspect-ratio:auto;border-radius:24px;background:var(--soft);border:1px solid var(--border)}
 .pdp-gallery>.sq-gallery .sq-gallery-track,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-track{top:60px;bottom:18px;left:10px;right:10px}
 .pdp-gallery>.sq-gallery:has(.sq-gallery-navigation) .sq-gallery-track,html #storeLanding .lp-gallery>.sq-gallery:has(.sq-gallery-navigation) .sq-gallery-track{right:76px}
 .pdp-gallery>.sq-gallery .sq-gallery-expand-icon,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-expand-icon{display:none}
 .pdp-gallery>.sq-gallery .sq-gallery-counter,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-counter{bottom:28px;font-size:10px;background:var(--surface);color:var(--ink)}
 .pdp-gallery>.sq-gallery>.sq-gallery-navigation,html #storeLanding .lp-gallery>.sq-gallery>.sq-gallery-navigation{position:absolute;right:10px;top:72px;bottom:52px;width:58px;margin:0;display:block;z-index:2}
 .pdp-gallery>.sq-gallery .sq-gallery-arrow,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-arrow{display:none}
 .pdp-gallery>.sq-gallery .sq-gallery-thumbs,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-thumbs{display:flex;flex-direction:column;gap:8px;overflow-y:auto;overflow-x:hidden;max-height:100%;height:100%;padding:2px;overscroll-behavior-y:contain;scrollbar-width:none}
 .pdp-gallery>.sq-gallery .sq-gallery-thumbs button,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-thumbs button{width:54px;height:62px;flex:0 0 62px;min-height:62px;border-radius:13px;background:var(--surface);padding:2px}
 .pdp-gallery>.sq-gallery .sq-gallery-thumbs img,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-thumbs img{border-radius:10px;object-fit:cover}
 .sq-mobile-tools{position:absolute;top:14px;left:14px;right:14px;display:flex;direction:ltr;align-items:center;justify-content:space-between;gap:12px;z-index:4;pointer-events:none}
 .sq-mobile-tools>a,.sq-mobile-tools>button{pointer-events:auto;display:grid;place-items:center;flex:none;width:38px;height:38px;min-height:38px;padding:9px;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--ink);box-shadow:0 3px 12px #263d3010}
 .sq-mobile-tools svg{width:19px;height:19px;display:block}.sq-mobile-tools>span{font-size:12px;font-weight:600;color:var(--ink)}
 .sq-mobile-tools [aria-pressed=true] svg{fill:var(--accent);stroke:var(--accent)}html[data-show-favorites=false] .sq-mobile-tools [data-favorite]{display:none!important}
 /* Rounded purchase card immediately follows the gallery. */
 #productPage .pdp-shell{padding:10px 10px 20px;background:var(--soft)}#productPage .pdp-breadcrumb{display:none}
 #productPage .pdp-layout{display:flex;flex-direction:column;gap:0;direction:rtl}
 #productPage .pdp-gallery{width:100%}
 #productPage .pdp-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:5px 12px;width:calc(100% - 8px);margin:-18px 4px 0;padding:21px 17px 18px;background:var(--surface);border:1px solid var(--border);border-radius:25px;box-shadow:0 7px 24px #263d3008;position:relative;z-index:2}
 #productPage .pdp-category{grid-column:1;grid-row:1;justify-self:start;margin:0;font-size:9px;background:none;padding:0;color:var(--muted)}
 #productPage .pdp-summary h1{grid-column:1;grid-row:2;margin:2px 0;font-size:19px;line-height:1.6}
 #productPage .pdp-price{grid-column:1;grid-row:3;font-size:21px;margin:2px 0 8px;font-weight:700}
 #productPage .pdp-short-description,#productPage .pdp-options,#productPage .pdp-selection-note{display:none}
 #productPage .pdp-stock{grid-column:1/-1;grid-row:4;margin:0;padding:4px 0 9px;border:0;font-size:11px}
 #productPage .pdp-buy-row{display:contents}#productPage .pdp-buy-row>.pdp-add,#productPage .pdp-buy-row>.pdp-favorite{display:none}
 #productPage .pdp-quantity{grid-column:2;grid-row:2 / span 2;display:flex;margin-top:4px;border:1px solid var(--border);border-radius:22px;overflow:hidden;background:var(--soft)}
 #productPage .pdp-quantity input{width:30px;padding:0;border:0;background:transparent;font-size:13px}#productPage .pdp-quantity button{width:30px;height:34px;min-height:34px;padding:0;border:0;background:transparent}
 #productPage [data-mobile-family=true] .pdp-buy-row>.pdp-quantity{display:none}
 #productPage .pdp-quick-order{grid-column:1/-1;padding:0;margin:5px 0 0;border:0;border-radius:0;background:none;box-shadow:none}
 #productPage .quick-order-heading{display:none}#productPage .pdp-promises,#productPage .pdp-sku{grid-column:1/-1}
 #productPage .pdp-promises{margin-top:13px;padding-top:12px;font-size:10px}#productPage .pdp-promises small{font-size:9px}
 #productPage .pdp-information{margin:12px 4px 0;padding:17px;background:var(--surface);border:1px solid var(--border);border-radius:21px}
 .pdp-mobile-description{display:block;width:100%;margin:0}.pdp-mobile-description>summary,.lp-mobile-description>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;font-weight:600;cursor:pointer;list-style:none;color:var(--ink)}
 .pdp-mobile-description>summary::-webkit-details-marker,.lp-mobile-description>summary::-webkit-details-marker{display:none}.pdp-mobile-description[open]>summary,.lp-mobile-description[open]>summary{margin-bottom:14px}
 .pdp-mobile-description[open]>summary>span,.lp-mobile-description[open]>summary>span{transform:rotate(180deg)}
 #productPage .pdp-info-copy{min-width:0}#productPage .pdp-tabs{gap:12px;flex-wrap:wrap}#productPage .pdp-tabs button{font-size:11px;padding:8px 0}#productPage .shop-rich-description{font-size:13px;line-height:1.95}
 #productPage .pdp-related{padding-inline:5px;margin-top:25px}#productPage .pdp-bottom-link{margin:18px 0}
 /* Mobile product variants: thumbnails + independent quantities, one order. */
 .pdp-mobile-variants{display:block;border:0;border-top:1px solid var(--border);padding:16px 0 13px;margin:0 0 15px;min-width:0}.pdp-mobile-variants legend{float:inline-start;width:100%;font-size:13px;font-weight:600;margin-bottom:7px;padding:0}.pdp-mobile-variants>p{clear:both;margin:0 0 12px;color:var(--muted);font-size:10px;line-height:1.7}
 .pdp-mobile-variant-list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(99px,1fr);gap:9px;overflow-x:auto;padding:2px 1px 7px;scrollbar-width:none;overscroll-behavior-x:contain}
 .pdp-mobile-variant{border:1px solid var(--border);border-radius:13px;min-width:0;background:var(--surface);overflow:hidden}.pdp-mobile-variant[data-selected=true]{border-color:var(--accent);background:var(--soft);box-shadow:inset 0 0 0 1px var(--accent)}
 .pdp-mobile-variant>label{display:flex;flex-direction:column;align-items:center;position:relative;padding:9px 6px 5px;gap:5px;cursor:pointer;text-align:center;min-width:0}
 .pdp-mobile-variant label>input{position:absolute;top:7px;inset-inline-end:7px;width:13px;height:13px;accent-color:var(--accent);margin:0}
 .pdp-mobile-variant label>img{width:53px;height:58px;object-fit:cover;border-radius:8px;border:1px solid var(--border)}.pdp-mobile-variant strong{font-size:10px;font-weight:600;line-height:1.5;max-width:100%;overflow-wrap:anywhere}.pdp-mobile-variant small{font-size:10px}
 .pdp-mobile-variant-count{display:flex;align-items:center;justify-content:center;margin:4px 6px 7px;padding:1px;border:1px solid var(--border);border-radius:18px;background:var(--surface);direction:rtl}
 .pdp-mobile-variant-count button{width:27px;height:30px;min-height:30px;padding:0;border:0;background:none;font-size:18px;color:var(--ink)}.pdp-mobile-variant-count input{width:26px;height:30px;border:0;background:none;padding:0;text-align:center;font-size:12px;color:var(--ink);appearance:textfield}.pdp-mobile-variant-count input::-webkit-inner-spin-button{appearance:none}
 .pdp-mobile-selection{margin-top:9px!important;padding:7px 9px;border-radius:8px;background:var(--soft);font-size:10px!important}
 /* The landing page uses the same photo-first purchase hierarchy. */
 html #storeLanding .lp-hero{display:none}html #storeLanding .lp-purchase{display:flex;flex-direction:column;gap:0;padding:10px 10px 0;max-width:none;background:var(--soft);margin:0}
 html #storeLanding .lp-gallery{width:100%}html #storeLanding .lp-order-form{position:relative!important;top:auto!important;width:calc(100% - 8px);max-width:none;margin:-18px 4px 0;padding:21px 17px 18px;border:1px solid var(--border);border-radius:25px;background:var(--surface);color:var(--ink);z-index:2;box-shadow:0 7px 24px #263d3008}
 .lp-mobile-product-head{display:block}.lp-mobile-product-head>p{font-size:10px;color:var(--muted);margin:0 0 4px}.lp-mobile-product-head h1{font-size:19px;line-height:1.6;margin:0 0 8px;color:var(--ink)}.lp-mobile-price{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}.lp-mobile-price strong{font-size:21px}.lp-mobile-price small{font-size:10px;color:var(--muted)}
 html #storeLanding .lp-order-form>h2{font-size:15px;margin:17px 0 12px;padding-top:15px;border-top:1px solid var(--border)}html #storeLanding .lp-order-intro{display:none}
 html #storeLanding .lp-variants{padding:0 0 13px}html #storeLanding .lp-variants legend{font-size:13px}html #storeLanding .lp-variants>p{font-size:10px;margin-bottom:10px}
 html #storeLanding .lp-variant-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(99px,1fr);grid-template-columns:none;gap:9px;overflow-x:auto;padding:2px 1px 7px;scrollbar-width:none;overscroll-behavior-x:contain}
 html #storeLanding .lp-variant-card{display:flex;flex-direction:column;gap:0;border-radius:13px;min-width:0;border:1px solid var(--border);background:var(--surface);overflow:hidden}
 html #storeLanding .lp-variant-card[data-selected=true]{border-color:var(--accent);background:var(--soft);box-shadow:inset 0 0 0 1px var(--accent)}
 html #storeLanding .lp-variant-choice{display:flex;flex-direction:column;position:relative;align-items:center;gap:5px;padding:9px 6px 5px;text-align:center}
 html #storeLanding .lp-variant-choice>input{position:absolute;top:7px;inset-inline-end:7px;transform:none;width:13px;height:13px;margin:0;accent-color:var(--accent)}
 html #storeLanding .lp-variant-choice .lp-variant-photo{width:53px;height:58px;aspect-ratio:auto;border-radius:8px;flex:none}.lp-variant-photo img{object-fit:cover}
 html #storeLanding .lp-variant-info{padding:0;text-align:center;width:100%;min-width:0}html #storeLanding .lp-variant-info strong{font-size:10px;line-height:1.5}html #storeLanding .lp-variant-info b{font-size:10px}html #storeLanding .lp-variant-info small{display:none}
 html #storeLanding .lp-variant-quantity{align-self:center;margin:4px 6px 7px;border-radius:18px;padding:1px;gap:0;background:var(--surface)}html #storeLanding .lp-variant-quantity button{width:27px;height:30px;min-height:30px;padding:0;font-size:18px}html #storeLanding .lp-variant-quantity input{width:26px;height:30px;padding:0;font-size:12px}
 html #storeLanding .lp-selection-summary{font-size:10px;padding:7px 9px;margin-top:8px}html #storeLanding .lp-form-section-title{font-size:13px;margin:15px 0 10px}
 html #storeLanding .lp-product-description{width:calc(100% - 8px);margin:12px 4px 0;padding:17px;border:1px solid var(--border);border-radius:21px;background:var(--surface);font-size:13px;line-height:1.95}html #storeLanding .lp-description-desktop-title{display:none}
 html #storeLanding .lp-mobile-description{display:block}html #storeLanding .lp-mobile-description>summary{display:flex}
 html :is(#productContent,#storeLanding) .quick-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}html :is(#productContent,#storeLanding) .quick-fields .quick-field:has([name=name]),html :is(#productContent,#storeLanding) .quick-fields .quick-field:has([name=phone]){grid-column:1/-1}
 html :is(#productContent,#storeLanding) .quick-fields input,html :is(#productContent,#storeLanding) .quick-fields select{height:47px;font-size:14px!important;border-radius:12px}
 html :is(#productContent,#storeLanding) .sq-order-action-slot{height:16px;margin-top:0}html :is(#productContent,#storeLanding) .quick-consent{font-size:10px;line-height:1.9}html :is(#productContent,#storeLanding) .quick-privacy{font-size:9px}
}

@media(max-width:760px){
 html #storeLanding .lp-mobile-product-head h1,html #productPage .pdp-summary h1{font-size:19px!important;line-height:1.6!important;margin:2px 0 8px!important}
 .pdp-gallery>.sq-gallery>.sq-gallery-stage,html #storeLanding .lp-gallery>.sq-gallery>.sq-gallery-stage{height:clamp(300px,48svh,440px)}
 .pdp-mobile-variant-list,html #storeLanding .lp-variant-grid{grid-auto-columns:minmax(84px,1fr)}
 .pdp-mobile-variant-count,html #storeLanding .lp-variant-quantity{margin-inline:4px;align-self:stretch;justify-content:space-between}
 .pdp-mobile-variant-count button,html #storeLanding .lp-variant-quantity button{width:24px;flex:1;min-width:0}
 .pdp-mobile-variant-count input,html #storeLanding .lp-variant-quantity input{width:22px;flex:none}
}

.lp-mobile-promo-copy{display:none}@media(max-width:760px){.lp-mobile-promo-copy{display:block;border-bottom:1px solid var(--border);margin-bottom:14px;padding-bottom:12px}.lp-mobile-promo-copy strong{font-size:14px}.lp-mobile-promo-copy p{font-size:12px;line-height:1.9}}

.pdp-mobile-base-price{display:none}
@media(max-width:760px){
 #productPage .pdp-mobile-base-price{display:block}#productPage [data-mobile-family=true] .pdp-desktop-price{display:none}#productPage .pdp-mobile-base-price small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:4px}
 html :is(#productContent,#storeLanding) .quick-fields>.quick-field{display:block;position:relative;margin:0;padding:0}
 html :is(#productContent,#storeLanding) .quick-field-icon{position:absolute;inset-inline-start:12px;top:50%;transform:translateY(-50%);z-index:1;pointer-events:none;margin:0;padding:0}
 html :is(#productContent,#storeLanding) .quick-fields .quick-field input,html :is(#productContent,#storeLanding) .quick-fields .quick-field select{width:100%;padding-inline-start:38px;padding-inline-end:26px}
 html :is(#productContent,#storeLanding) .quick-fields .quick-field input{font-size:16px!important}
 html[dir=rtl] :is(#productContent,#storeLanding) .quick-fields .quick-field input[dir=ltr]{padding-left:12px;padding-right:38px}
}

.pdp-mobile-form-title{display:none}@media(max-width:760px){.pdp-mobile-form-title{display:block;font-size:13px;margin:15px 0 12px;padding-top:14px;border-top:1px solid var(--border)}}

/* Photo fills its canvas; thumbnails float within it, never resize the slide. */
@media(max-width:760px){
 .pdp-gallery>.sq-gallery .sq-gallery-track,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-track,.pdp-gallery>.sq-gallery:has(.sq-gallery-navigation) .sq-gallery-track,html #storeLanding .lp-gallery>.sq-gallery:has(.sq-gallery-navigation) .sq-gallery-track{inset:0}
 .pdp-gallery>.sq-gallery [data-gallery-image],html #storeLanding .lp-gallery>.sq-gallery [data-gallery-image]{object-fit:cover!important}
 .pdp-gallery>.sq-gallery>.sq-gallery-navigation,html #storeLanding .lp-gallery>.sq-gallery>.sq-gallery-navigation{right:10px;top:68px;bottom:38px;width:54px}
 .pdp-gallery>.sq-gallery .sq-gallery-thumbs button,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-thumbs button{width:50px;height:57px;min-height:57px;flex-basis:57px;background:#fff;box-shadow:0 2px 9px #0002}
 .sq-mobile-tools>span{padding:3px 9px;border-radius:12px;background:#ffffffdf;color:#171c1a}
 .pdp-gallery>.sq-gallery .sq-gallery-counter,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-counter{bottom:22px}
 #productPage .pdp-summary,html #storeLanding .lp-order-form{padding:16px 14px 14px;gap:3px 9px}
 html #storeLanding .lp-mobile-product-head h1,html #productPage .pdp-summary h1{line-height:1.4!important;margin:0 0 5px!important;font-size:18px!important}
 .lp-mobile-product-head>p{margin-bottom:2px}.lp-mobile-price{gap:6px}.lp-mobile-price strong,#productPage .pdp-price{font-size:19px}
 #productPage .pdp-stock{padding:2px 0 5px}#productPage .pdp-price{margin:0 0 4px}
 .pdp-mobile-variants{padding:10px 0 6px;margin-bottom:7px}.pdp-mobile-variants>p,html #storeLanding .lp-variants>p{margin-bottom:6px;line-height:1.4}.pdp-mobile-variants legend{margin-bottom:4px}
 html #storeLanding .lp-variants{padding-bottom:6px}html #storeLanding .lp-order-form>h2{margin:10px 0 7px;padding-top:9px}
 .pdp-mobile-variant>label,html #storeLanding .lp-variant-choice{padding:4px;gap:4px}
 .pdp-mobile-variant-photo,html #storeLanding .lp-variant-choice .lp-variant-photo{position:relative;display:block;width:100%;height:82px;border-radius:9px;overflow:hidden}
 .pdp-mobile-variant-photo img{display:block;width:100%;height:100%;object-fit:cover}
 .pdp-mobile-variant-photo small,html #storeLanding .lp-variant-info b{position:absolute;bottom:4px;left:7px;right:7px;display:block;width:auto;padding:2px 4px;border-radius:6px;background:#fffffff0;color:#111;font-size:10px;line-height:1.5;font-weight:700;text-align:center;box-shadow:0 1px 4px #0001}
 html #storeLanding .lp-variant-info{display:contents}html #storeLanding .lp-variant-info b{top:59px;bottom:auto}
 .pdp-mobile-variant label>input,html #storeLanding .lp-variant-choice>input{z-index:2;top:8px;inset-inline-end:8px}
 .pdp-mobile-variant-count,html #storeLanding .lp-variant-quantity{margin:2px 7px 5px;padding:0;align-self:center;width:76px;max-width:calc(100% - 10px)}
 .pdp-mobile-variant-count button,html #storeLanding .lp-variant-quantity button{width:24px;height:25px;min-height:25px;font-size:16px}
 .pdp-mobile-variant-count input,html #storeLanding .lp-variant-quantity input{width:22px;height:25px;font-size:11px}
 #productPage .pdp-quantity button{width:27px;height:29px;min-height:29px}#productPage .pdp-quantity input{width:25px}
 .pdp-mobile-selection,html #storeLanding .lp-selection-summary{margin-top:4px!important;padding:5px 7px}
 .pdp-mobile-form-title,html #storeLanding .lp-form-section-title{margin:9px 0 7px;padding-top:9px}
 html :is(#productContent,#storeLanding) .quick-fields{gap:8px}
}

/* Separate the image canvas and purchase form with a consistent mobile gutter. */
:is(.pdp-gallery,.lp-gallery) .sq-gallery-counter{display:none!important}
@media(max-width:760px){
 #productPage .pdp-summary,html #storeLanding .lp-order-form{margin:14px 0 0;width:100%;border-radius:22px}
 #productPage .pdp-information,html #storeLanding .lp-product-description{margin:14px 0 0;width:100%}
 #productPage .pdp-shell,html #storeLanding .lp-purchase{padding-inline:12px}
}

/* Square variant photos with a shared inset radius and a price badge. */
@media(max-width:760px){
 .pdp-mobile-variant-photo,html #storeLanding .lp-variant-choice .lp-variant-photo{height:auto;aspect-ratio:1/1;width:100%;border-radius:9px;overflow:hidden}
 .pdp-mobile-variant-photo img,html #storeLanding .lp-variant-photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
 html #storeLanding .lp-variant-choice{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}
 html #storeLanding .lp-variant-choice .lp-variant-photo,html #storeLanding .lp-variant-info b{grid-column:1;grid-row:1}
 html #storeLanding .lp-variant-info b{position:relative;top:auto;bottom:auto;left:auto;right:auto;align-self:end;justify-self:stretch;margin:0 4px 4px;z-index:1}
 html #storeLanding .lp-variant-info strong{grid-column:1;grid-row:2}
}

/* Keep the price physically inside its photo wrapper. */
.lp-variant-photo{position:relative}
html #storeLanding .lp-variant-photo>.lp-variant-image-price{position:absolute;inset:auto 4px 4px;display:block;padding:2px 4px;border-radius:6px;background:#fffffff0;color:#111;font-size:10px;line-height:1.5;font-weight:700;text-align:center;z-index:1;box-shadow:0 1px 4px #0001}

/* One thin selection border; no secondary inset or outer ring. */
html #storeLanding .lp-variant-card[data-selected=true],html #productContent .pdp-mobile-variant[data-selected=true]{border-width:1px;box-shadow:none!important}

/* Selection uses the existing 1px border, including while its input is focused. */
html #storeLanding .lp-variant-card:focus-within{outline:none!important;outline-offset:0;box-shadow:none!important}
html #storeLanding .lp-variant-choice>input:focus:not(:focus-visible){outline:none}
/* Bounded tiles retain their proportions as the form grows. */
html #storeLanding .lp-variant-grid{grid-template-columns:repeat(auto-fill,minmax(96px,128px));grid-auto-flow:row;grid-auto-columns:auto;justify-content:start;gap:9px}
html #storeLanding .lp-variant-card{display:flex;flex-direction:column;max-width:128px;width:100%;align-items:stretch}
html #storeLanding .lp-variant-choice{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:4px;position:relative;text-align:center}
html #storeLanding .lp-variant-choice .lp-variant-photo{width:100%;height:auto;aspect-ratio:1;grid-column:1;grid-row:1;border-radius:9px}
html #storeLanding .lp-variant-info{display:contents}
html #storeLanding .lp-variant-info strong{grid-column:1;grid-row:2;font-size:10px;line-height:1.5}
html #storeLanding .lp-variant-info small{display:none}
html #storeLanding .lp-variant-quantity{align-self:center;max-width:82px;margin:3px 5px 6px}
@media(max-width:760px){
 html #storeLanding .lp-variant-grid,.pdp-mobile-variant-list{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:clamp(84px,27vw,116px);justify-content:start}
 html #storeLanding .lp-variant-card,.pdp-mobile-variant{max-width:116px}
}

/* Phone QA: use the available canvas and keep three bounded variants visible. */
@media(max-width:760px){
 html main:has(>#storeLanding){padding-inline:0}
 html #storeLanding .lp-variant-grid,.pdp-mobile-variant-list{grid-auto-columns:min(116px,calc((100% - 20px)/3));gap:8px}
 html #storeLanding .lp-variants{margin-bottom:5px}
 html #storeLanding .lp-form-section-title{margin-top:5px}
 html #storeLanding .lp-variant-quantity button,.pdp-mobile-variant-count button{min-height:30px;height:30px}
 html #storeLanding .lp-variant-quantity input,.pdp-mobile-variant-count input{height:30px}
}

@media(max-width:360px){html :is(#productContent,#storeLanding) .quick-fields{grid-template-columns:minmax(0,1fr)}}

/* Desktop gallery shares the mobile full-bleed canvas and inset thumbnail rail. */
@media(min-width:761px){
 .pdp-gallery>.sq-gallery,html #storeLanding .lp-gallery>.sq-gallery{position:relative}
 .pdp-gallery>.sq-gallery>.sq-gallery-stage,html #storeLanding .lp-gallery>.sq-gallery>.sq-gallery-stage{height:clamp(440px,68vh,700px);aspect-ratio:auto;border-radius:24px;overflow:hidden;background:var(--soft);border:1px solid var(--border)}
 .pdp-gallery>.sq-gallery .sq-gallery-track,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-track{inset:0}
 .pdp-gallery>.sq-gallery [data-gallery-image],html #storeLanding .lp-gallery>.sq-gallery [data-gallery-image]{object-fit:cover!important}
 .pdp-gallery>.sq-gallery>.sq-gallery-navigation,html #storeLanding .lp-gallery>.sq-gallery>.sq-gallery-navigation{position:absolute;right:14px;top:68px;bottom:22px;width:66px;margin:0;display:block;z-index:2}
 .pdp-gallery>.sq-gallery .sq-gallery-thumbs,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-thumbs{display:flex;flex-direction:column;gap:9px;height:100%;max-height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;padding:2px;scrollbar-width:none}
 .pdp-gallery>.sq-gallery .sq-gallery-thumbs button,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-thumbs button{width:62px;height:68px;min-height:68px;flex:0 0 68px;border-radius:13px;padding:2px;background:#fff;box-shadow:0 2px 9px #0002}
 .pdp-gallery>.sq-gallery .sq-gallery-thumbs img,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-thumbs img{border-radius:10px;object-fit:cover}
 .pdp-gallery>.sq-gallery .sq-gallery-arrow,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-arrow{display:none}
 .pdp-gallery>.sq-gallery .sq-gallery-expand-icon,html #storeLanding .lp-gallery>.sq-gallery .sq-gallery-expand-icon{top:14px;left:14px;right:auto;inset-inline-end:auto}
}

/* Wrap additional variants so every option is discoverable on phones. */
@media(max-width:760px){
 html #storeLanding .lp-variant-grid,.pdp-mobile-variant-list{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:8px;overflow:visible;max-width:364px}
 html #storeLanding .lp-variant-card,.pdp-mobile-variant{width:100%;max-width:116px}
}

/* Shared inset field icons, visible in landing and product forms at every size. */
html :is(#storeLanding,#productContent,#cardOrderContent) .quick-fields>label.quick-field{position:relative;display:block;min-width:0}
html :is(#storeLanding,#productContent,#cardOrderContent) .quick-field-icon{display:flex!important;position:absolute;inset-inline-start:12px;top:50%;transform:translateY(-50%);width:18px;height:18px;padding:0;margin:0;color:var(--muted,#52616b);pointer-events:none;z-index:1}
html :is(#storeLanding,#productContent,#cardOrderContent) .quick-field-icon svg{display:block;width:18px;height:18px;stroke-width:1.5}
html :is(#storeLanding,#productContent,#cardOrderContent) .quick-fields .quick-field input,html :is(#storeLanding,#productContent,#cardOrderContent) .quick-fields .quick-field select{width:100%;padding-inline-start:39px;padding-inline-end:27px}
html :is(#storeLanding,#productContent,#cardOrderContent) .quick-field:focus-within .quick-field-icon{color:var(--ink,#24313b)}
html :is(#storeLanding,#productContent,#cardOrderContent) .quick-field:has(.sq-field-invalid) .quick-field-icon{color:#b65e5e}

/* Shared product/landing canvas: gently portrait, independent of viewport height. */
.pdp-gallery>.sq-gallery>.sq-gallery-stage,html #storeLanding .lp-gallery>.sq-gallery>.sq-gallery-stage{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:5/6}

/* Keep variant prices inside the image, with clearer compact type. */
.pdp-mobile-variant-photo small,html #storeLanding .lp-variant-photo>.lp-variant-image-price{font-size:12px;font-weight:800;line-height:1.5;color:#111;background:#fffffff5;font-variant-numeric:tabular-nums;padding:3px 4px}

/* The same in-place multi-variant picker on desktop, phone and quick-order dialogs. */
:is(#productContent,#cardOrderContent) .pdp-mobile-variants{display:block;min-width:0;border:0;border-top:1px solid var(--border);padding:12px 0 6px;margin:0 0 10px}
:is(#productContent,#cardOrderContent) .pdp-mobile-variants legend{float:none;width:100%;padding:0;margin-bottom:5px;font-size:13px;font-weight:650;color:var(--ink)}
:is(#productContent,#cardOrderContent) .pdp-mobile-variants>p{clear:both;margin:0 0 9px;color:var(--muted);font-size:11px;line-height:1.5}
:is(#productContent,#cardOrderContent) .pdp-mobile-variant-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,116px));grid-auto-flow:row;grid-auto-columns:auto;gap:9px;justify-content:start;max-width:491px;overflow:visible;padding:1px}
:is(#productContent,#cardOrderContent) .pdp-mobile-variant{width:100%;max-width:116px;min-width:0;border:1px solid var(--border);border-radius:12px;background:var(--surface);overflow:hidden;box-shadow:none}
:is(#productContent,#cardOrderContent) .pdp-mobile-variant[data-selected=true]{border-color:var(--ink);background:var(--soft);box-shadow:none;outline:0}
:is(#productContent,#cardOrderContent) .pdp-mobile-variant>label{display:flex;flex-direction:column;align-items:center;position:relative;gap:5px;padding:4px;cursor:pointer;text-align:center;min-width:0}
:is(#productContent,#cardOrderContent) .pdp-mobile-variant label>input{position:absolute;top:8px;inset-inline-end:8px;z-index:2;width:14px;height:14px;margin:0;accent-color:var(--ink)}
:is(#productContent,#cardOrderContent) .pdp-mobile-variant-photo{position:relative;display:block;width:100%;height:auto;aspect-ratio:1;overflow:hidden;border-radius:8px}
:is(#productContent,#cardOrderContent) .pdp-mobile-variant-photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
:is(#productContent,#cardOrderContent) .pdp-mobile-variant-photo small{position:absolute;bottom:4px;left:4px;right:4px;padding:3px 2px;border-radius:5px;background:#fffffff2;color:#111;font-size:12px;font-weight:800;line-height:1.4;text-align:center;white-space:nowrap}
:is(#productContent,#cardOrderContent) .pdp-mobile-variant strong{font-size:11px;font-weight:600;line-height:1.5;max-width:100%;overflow-wrap:anywhere;color:var(--ink)}
:is(#productContent,#cardOrderContent) .pdp-mobile-variant-count{display:flex;align-items:center;justify-content:center;direction:rtl;gap:0;width:80px;max-width:calc(100% - 10px);padding:0;margin:2px auto 6px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}
:is(#productContent,#cardOrderContent) .pdp-mobile-variant-count button{display:grid;place-items:center;width:27px;height:30px;min-height:30px;padding:0;margin:0;border:0;background:transparent;box-shadow:none;font-size:17px;color:var(--ink)}
:is(#productContent,#cardOrderContent) .pdp-mobile-variant-count input{width:24px;min-width:0;height:30px;border:0;background:transparent;padding:0;text-align:center;font-size:12px;color:var(--ink);appearance:textfield}
:is(#productContent,#cardOrderContent) .pdp-mobile-variant-count input::-webkit-inner-spin-button{appearance:none}
:is(#productContent,#cardOrderContent) .pdp-mobile-selection{margin-top:8px!important;padding:6px 8px;border-radius:8px;background:var(--soft);font-size:11px!important}
.pdp-mobile-form-title{font-size:13px;font-weight:650;margin:12px 0 9px;padding-top:10px;border-top:1px solid var(--border)}
#productPage [data-mobile-family=true] .pdp-buy-row{display:none!important}
@media(max-width:760px){:is(#productContent,#cardOrderContent) .pdp-mobile-variant-list{grid-template-columns:repeat(3,minmax(0,1fr));max-width:364px;gap:8px}}
