/* COXO homepage preview. Scoped to the homepage; category/product pages retain their layout. */
.cx-shopping-home .cx-studio-hero .cx-slide{grid-template-columns:1.05fr 1fr;min-height:250px}
.cx-shopping-home .cx-studio-hero .cx-hero-copy{padding:22px 30px;justify-content:center}
.cx-site .cx-shopping-home .cx-studio-hero h2{font-size:34px;line-height:1.08;letter-spacing:-.035em;max-width:none;margin:12px 0 10px}
.cx-site .cx-shopping-home .cx-studio-hero .cx-hero-description{font-size:13px;line-height:1.6;max-width:520px;min-height:0;margin:0}
.cx-site .cx-shopping-home .cx-studio-hero .cx-button{min-height:42px;margin-top:16px;padding:10px 16px;gap:16px}
.cx-shopping-home .cx-hero-footnote{display:none}
.cx-shopping-home .cx-shopping-nav a{min-height:48px;padding:6px 12px;gap:8px}
.cx-shopping-home .cx-shopping-nav a>.cx-icon:first-child{width:20px;height:20px}
.cx-shopping-home .cx-shopping-nav a>.cx-icon:last-child{width:14px;height:14px}
.cx-shopping-home .cx-studio-hero .cx-hero-visual{height:250px;padding:0;align-self:center;--cx-photo-height:246px;--cx-photo-inset:18px;--cx-photo-center:50%}
.cx-shopping-home .cx-studio-hero .cx-hero-visual img{position:absolute;left:50%;top:var(--cx-photo-center);width:min(calc((100% - var(--cx-photo-inset)) * var(--cx-photo-width-scale,1)),calc(var(--cx-photo-height) * var(--cx-photo-aspect-scale,1)));height:auto;max-width:none;max-height:none;margin:0;object-fit:contain;transform:translate(var(--cx-photo-x,-50%),var(--cx-photo-y,-50%));transition:none}
.cx-shopping-home .cx-studio-wordmark{font-size:120px;top:18%}
.cx-shopping-home .cx-studio-caption{left:25px;bottom:13px;gap:3px}
.cx-shopping-home .cx-studio-caption>strong{font-size:22px}
.cx-shopping-home .cx-studio-caption>span{font-size:8px}
.cx-shopping-home .cx-studio-hero .cx-visual-badge{width:32px;height:32px;right:25px;bottom:16px}
.cx-shopping-home .cx-cross-top{top:12px;left:16px}
.cx-shopping-home .cx-cross-bottom{bottom:13px;right:16px}
.cx-shopping-home .cx-studio-controls{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding-right:12px}
.cx-shopping-home .cx-studio-controls .cx-slide-dots{grid-template-columns:repeat(var(--cx-slide-count,5),minmax(0,1fr))}
.cx-site .cx-shopping-home .cx-studio-controls .cx-slide-dots button{grid-template-columns:34px minmax(0,1fr);height:62px;min-height:62px;padding:10px;gap:8px}
.cx-shopping-home .cx-studio-controls .cx-slide-dots img{width:34px;height:34px}
.cx-shopping-home .cx-studio-controls .cx-slide-dots button>span,.cx-shopping-home .cx-studio-controls .cx-slide-dots .cx-icon{display:none}
.cx-shopping-home .cx-studio-controls .cx-slide-dots strong{font-size:11px;line-height:1.35;overflow-wrap:anywhere}
.cx-shopping-home .cx-studio-controls .cx-slide-buttons{gap:5px;padding:0;border:0}
.cx-shopping-home .cx-studio-controls .cx-slide-buttons button{width:40px;height:44px}
.cx-shopping-home #handpiece-additional{padding-bottom:52px}
/* Equal price/action rows for priced products and the existing request-price card. */
.cx-shopping-home #selected .cx-product-grid{grid-auto-rows:1fr}
.cx-shopping-home #selected .cx-card-body h3{min-height:6em;margin-bottom:16px;-webkit-line-clamp:4}
.cx-shopping-home #selected .cx-card-buy{min-height:160px;margin-top:auto}
.cx-shopping-home #selected .cx-card-buy>.js_shop_form{display:flex;flex-direction:column}
.cx-shopping-home #selected .cx-card-buy .addict-field:has(.shop_form_param:empty){display:none}
.cx-site .cx-shopping-home #selected .shop-item-price,.cx-shopping-home #selected .cx-no-price{box-sizing:border-box;height:56px;min-height:56px;margin:0!important;display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start}
.cx-shopping-home #selected .cx-no-price{font-size:13px;line-height:1.45}
.cx-site .cx-shopping-home #selected .shop-buy-form-to-cart,.cx-shopping-home #selected .cx-card-buy>.cx-button,.cx-shopping-home #selected .shop-row-one-click-buy{margin:8px 0 0!important}
.cx-site .cx-shopping-home #selected .shop-buy-form-to-cart>.shop-buy-form-to-cart-btn,.cx-shopping-home #selected .cx-card-buy>.cx-button,.cx-site .cx-shopping-home #selected .shop-row-one-click-buy>input{box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;height:44px;min-height:44px;margin:0!important;padding:10px 12px!important;font-size:12px!important;line-height:1.4!important}
.cx-shopping-home #selected .cx-card-buy>.cx-button{margin-top:8px!important}
@media(min-width:1600px){
 .cx-shopping-home .cx-studio-hero .cx-slide{min-height:280px}
 .cx-shopping-home .cx-studio-hero .cx-hero-visual{height:280px;--cx-photo-height:276px}
 .cx-site .cx-shopping-home .cx-studio-hero h2{font-size:38px}
}
@media(min-width:1051px) and (max-width:1250px){
 .cx-shopping-home .cx-studio-caption{left:8px;max-width:70px;gap:3px}
 .cx-shopping-home .cx-studio-caption>strong{font-size:12px;line-height:1.3;overflow-wrap:anywhere}
 .cx-shopping-home .cx-studio-caption>span{font-size:7px;line-height:1.4}
}
@media(max-width:1050px){
 .cx-shopping-home .cx-studio-hero .cx-hero-copy{padding:20px 24px}
 .cx-site .cx-shopping-home .cx-studio-hero h2{font-size:29px}
 .cx-site .cx-shopping-home .cx-studio-hero .cx-hero-description{font-size:12px;line-height:1.5}
 .cx-shopping-home .cx-studio-controls{grid-template-columns:1fr;padding:0;gap:0}
 .cx-shopping-home .cx-studio-controls .cx-slide-buttons{justify-content:flex-end;padding:4px 12px;border-top:1px solid #e2e7dd}
}
@media(min-width:651px) and (max-width:1050px){
 .cx-shopping-home .cx-studio-hero .cx-hero-visual{--cx-photo-height:210px;--cx-photo-inset:12px;--cx-photo-center:108px}
 .cx-shopping-home .cx-studio-caption{bottom:4px}
 .cx-shopping-home .cx-studio-caption>strong{font-size:16px;line-height:1.2}
 .cx-shopping-home .cx-studio-caption>span{line-height:1.4}
}
@media(max-width:650px){
 .cx-shopping-home .cx-shopping-nav a{min-height:52px;padding:6px 10px;font-size:12px;line-height:1.4}
 .cx-shopping-home #selected .cx-card-body h3{min-height:6em}
 .cx-shopping-home #selected .cx-no-price{font-size:12px}
 .cx-shopping-home .cx-studio-hero .cx-slide{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);min-height:230px}
 .cx-shopping-home .cx-studio-hero .cx-hero-copy{padding:18px 15px}
 .cx-site .cx-shopping-home .cx-studio-hero .cx-eyebrow{font-size:8px!important;line-height:1.5;gap:6px;letter-spacing:0}
 .cx-site .cx-shopping-home .cx-studio-hero h2{font-size:25px;line-height:1.12;margin:12px 0 0;overflow-wrap:normal}
 .cx-site .cx-shopping-home .cx-studio-hero .cx-hero-description{display:none}
 .cx-site .cx-shopping-home .cx-studio-hero .cx-button{font-size:11px;line-height:1.4;padding:10px;min-height:44px;margin-top:18px;gap:8px;white-space:normal}
 .cx-shopping-home .cx-studio-hero .cx-button .cx-icon{width:16px;min-width:16px}
 .cx-shopping-home .cx-studio-hero .cx-hero-visual{height:230px;padding:0;--cx-photo-height:174px;--cx-photo-inset:2px;--cx-photo-center:89px}
 .cx-shopping-home .cx-studio-wordmark{font-size:70px;top:22%}
 .cx-shopping-home .cx-studio-caption{left:10px;right:10px;bottom:16px}
 .cx-shopping-home .cx-studio-caption>strong{font-size:18px;line-height:1.2;overflow-wrap:anywhere}
 .cx-shopping-home .cx-studio-caption>span{font-size:8px;line-height:1.4}
 .cx-shopping-home .cx-studio-hero .cx-visual-badge,.cx-shopping-home .cx-studio-cross{display:none}
 .cx-shopping-home .cx-studio-controls .cx-slide-dots{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:124px;overflow-x:auto}
 .cx-site .cx-shopping-home .cx-studio-controls .cx-slide-dots button{height:56px;min-height:56px;padding:8px;gap:6px}
 .cx-shopping-home .cx-studio-controls .cx-slide-dots strong{font-size:10px}
 .cx-shopping-home #handpiece-additional{padding-bottom:36px}
}
@media(max-width:360px){
 .cx-shopping-home .cx-studio-hero .cx-hero-copy{padding:16px 12px}
 .cx-site .cx-shopping-home .cx-studio-hero h2{font-size:22px}
 .cx-site .cx-shopping-home .cx-studio-hero .cx-button{font-size:10px;padding:9px 8px;gap:5px}
}

/* Focus the existing product pixels, compensating for unequal blank image margins. */
 .cx-shopping-home .cx-studio-hero .cx-hero-visual img[src*="/1084_"]{--cx-photo-width-scale:1.07066381;--cx-photo-aspect-scale:1.41643059;--cx-photo-x:-50.000000%;--cx-photo-y:-46.250000%}
 .cx-shopping-home .cx-studio-hero .cx-hero-visual img[src*="/1570_"]{--cx-photo-width-scale:1.05485232;--cx-photo-aspect-scale:1.18203310;--cx-photo-x:-50.300000%;--cx-photo-y:-53.200000%}
 .cx-shopping-home .cx-studio-hero .cx-hero-visual img[src*="/1597_"]{--cx-photo-width-scale:1.08695652;--cx-photo-aspect-scale:1.44092219;--cx-photo-x:-54.400000%;--cx-photo-y:-49.800000%}
 .cx-shopping-home .cx-studio-hero .cx-hero-visual img[src*="/1600_"]{--cx-photo-width-scale:1.75746924;--cx-photo-aspect-scale:1.52825748;--cx-photo-x:-57.650000%;--cx-photo-y:-48.050975%}
 .cx-shopping-home .cx-studio-hero .cx-hero-visual img[src*="/1769_"]{--cx-photo-width-scale:1.01880878;--cx-photo-aspect-scale:0.84125379;--cx-photo-x:-49.399038%;--cx-photo-y:-49.150000%}

/* Future CMS photographs keep a normal contain fit until their focus is calibrated. */
.cx-shopping-home .cx-studio-hero .cx-hero-visual img:not([src*="/1084_"]):not([src*="/1570_"]):not([src*="/1597_"]):not([src*="/1600_"]):not([src*="/1769_"]){width:calc(100% - var(--cx-photo-inset));height:var(--cx-photo-height);transform:translate(-50%,-50%)}

/* Long category names fit the compact mobile slide without crossing its image. */
@media(max-width:650px){.cx-site .cx-shopping-home .cx-studio-hero h2{font-size:clamp(17px,5.2vw,25px);width:100%;min-width:0;overflow-wrap:anywhere}}
