/* Product purchase surface. Palette references the shared Theme tokens. */
body.cp-shared-product .variations select.cp-live-native{position:absolute!important;width:1px!important;min-width:0!important;max-width:1px!important;left:0!important;right:auto!important;height:1px!important;min-height:1px!important;padding:0!important;margin:0!important;opacity:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
body.cp-shared-product .cp-live-colors{display:flex;flex-wrap:wrap;gap:7px;margin:5px 0 9px}
body.cp-shared-product .cp-live-color{display:inline-grid;place-items:center;width:49px;height:49px;padding:3px;border:1px solid #d8dfe7;border-radius:9px;background:#fff;cursor:pointer;color:#17243a;font-size:10px;font-weight:750;overflow:hidden}
body.cp-shared-product .cp-live-color img{width:100%;height:100%;display:block;object-fit:contain}
body.cp-shared-product .cp-live-color.is-selected{border-color:var(--cp-color-accent,#bf0069);box-shadow:0 0 0 2px rgba(191,0,105,.16)}
body.cp-shared-product .cp-live-color:focus-visible,body.cp-shared-product .cp-product-media-thumb:focus-visible{outline:3px solid var(--cp-color-ink,#071a3d);outline-offset:2px}
body.cp-shared-product .cp-live-color:disabled{opacity:.38;cursor:not-allowed}
body.cp-shared-product .cp-live-size-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(68px,82px));gap:8px;margin:5px 0 8px}
body.cp-shared-product .cp-live-size{display:flex;flex-direction:column;align-items:center;gap:5px!important;padding:8px 6px!important;border:1px solid #d8dfe7;border-radius:10px;background:#fff;color:#17243a;font-size:12px!important;font-weight:750}
body.cp-shared-product .cp-live-size.is-unavailable{opacity:.48;background:#f5f7fa;cursor:not-allowed}
body.cp-shared-product .cp-live-size:focus-within{border-color:var(--cp-color-accent,#bf0069);box-shadow:0 0 0 2px rgba(191,0,105,.16)}
body.cp-shared-product .cp-live-size input[type=number]{display:block;box-sizing:border-box;width:100%;height:44px!important;min-height:44px!important;line-height:44px!important;margin:0;padding:0!important;text-align:center!important;text-indent:0!important;font-size:16px!important;border:1px solid #d8dfe7;border-radius:6px;background:#fff;appearance:textfield;-moz-appearance:textfield}
body.cp-shared-product .cp-live-size input::-webkit-inner-spin-button,body.cp-shared-product .cp-live-size input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body.cp-shared-product form.cp-live-matrix .variations_button{display:none!important}
body.cp-shared-product .cp-live-add{width:100%;min-height:48px;margin:10px 0 0}
body.cp-shared-product .cp-live-error{color:#a41e37;font-size:13px;margin:8px 0 0}
body.cp-shared-product .cp-live-error[hidden]{display:none!important}
body.cp-shared-product .cp-live-color-status{display:inline;margin:0;color:#536079;font-size:13px;font-weight:500}
body.cp-shared-product .variations tr:has(.cp-live-size-grid) th.label{display:flex!important;align-items:center;justify-content:space-between;gap:12px}
body.cp-shared-product .cp-live-guide-trigger{display:inline-flex;align-items:center;gap:6px;min-height:44px;border:0;background:transparent;padding:3px 0;color:var(--cp-color-accent,#bf0069);font-size:13px;font-weight:800;text-decoration:underline;cursor:pointer;white-space:nowrap}
body.cp-shared-product .cp-live-guide-trigger svg{width:19px;height:19px;flex:none}
body.cp-shared-product .cp-live-guide[hidden]{display:none!important}
body.cp-shared-product.cp-guide-open{overflow:hidden}
body.cp-shared-product .cp-live-guide{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:14px;background:rgba(12,22,39,.62)}
body.cp-shared-product .cp-live-guide-panel{position:relative;box-sizing:border-box;width:min(720px,100%);max-height:88dvh;overflow:auto;padding:22px;border-radius:14px;background:#fff;box-shadow:0 18px 60px rgba(0,0,0,.2);color:#17243a}
body.cp-shared-product .cp-live-guide-panel h2{font-size:18px;line-height:1.25;margin:0 48px 14px 0;color:#12213c}
body.cp-shared-product .cp-live-guide-close{position:absolute;top:10px;right:10px;width:44px;height:44px;border:1px solid #d8dfe7;border-radius:8px;background:#fff;color:#17243a;font-size:24px;line-height:1;cursor:pointer}
body.cp-shared-product .cp-live-guide-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
body.cp-shared-product .cp-live-guide-figure{position:relative;margin:0;text-align:center}
body.cp-shared-product .cp-live-guide-figure img{display:block;width:100%;height:250px;object-fit:contain;margin:0 auto}
body.cp-shared-product .cp-live-guide-width{position:absolute;top:31%;left:18%;width:64%;border-top:2px dashed #17243a;font-size:10px;font-weight:850;color:#17243a;text-align:center}
body.cp-shared-product .cp-live-guide-height{position:absolute;top:12%;right:14%;height:65%;border-right:2px dashed #17243a;font-size:10px;font-weight:850;color:#17243a;writing-mode:vertical-rl;display:flex;justify-content:center;align-items:center}
body.cp-shared-product .cp-live-guide-figure figcaption{font-size:11px;line-height:1.35;color:#576478;margin-top:5px}
body.cp-shared-product .cp-live-guide-measures{min-width:0}
body.cp-shared-product .cp-live-guide table{display:table!important;width:100%;border-collapse:collapse;background:#fff;font-size:12px;line-height:1.2}
body.cp-shared-product .cp-live-guide thead{display:table-header-group!important;background:#f3f6fa}
body.cp-shared-product .cp-live-guide tbody{display:table-row-group!important}
body.cp-shared-product .cp-live-guide tr{display:table-row!important}
body.cp-shared-product .cp-live-guide th,body.cp-shared-product .cp-live-guide td{display:table-cell!important;float:none!important;width:auto!important;border:1px solid #d8dfe7;padding:5px 4px;text-align:center;vertical-align:middle}
body.cp-shared-product .cp-live-guide tbody tr:nth-child(even){background:#fafbfe}
body.cp-shared-product .cp-live-guide-panel>p{font-size:11px;line-height:1.35;color:#576478;margin:12px 0 0}
body.cp-shared-product .cp-product-media-image-link[hidden],body.cp-shared-product .cp-product-media-video[hidden]{display:none!important}
@media(max-width:720px){
 body.cp-shared-product .cp-live-colors{gap:6px}
 body.cp-shared-product .cp-live-color{width:44px;height:44px}
 body.cp-shared-product .cp-live-guide-panel{max-height:86dvh;padding:16px}
 body.cp-shared-product .cp-live-guide-panel h2{font-size:16px;margin-bottom:10px}
 body.cp-shared-product .cp-live-guide-body{grid-template-columns:1fr;gap:10px}
 body.cp-shared-product .cp-live-guide-figure img{height:150px}
 body.cp-shared-product .cp-live-guide-width{top:29%}
 body.cp-shared-product .cp-live-guide-height{top:9%;height:63%}
 body.cp-shared-product .cp-live-guide-figure figcaption{margin-top:2px}
 body.cp-shared-product .cp-live-guide th,body.cp-shared-product .cp-live-guide td{padding:4px 3px;font-size:12px}
}
body.cp-shared-product .cp-live-unit-price{display:block;min-height:17px;font-size:12px;line-height:1.4;color:#536079;font-weight:600}
body.cp-shared-product .cp-live-summary{margin:20px 0 0;padding:22px;border:0;border-radius:20px;background:var(--cp-color-ink,#251420);color:#fff;font-size:14px;font-weight:400}
body.cp-shared-product form.cp-live-matrix .single_variation .woocommerce-variation-price{display:none!important}
body.cp-shared-product .cp-live-color:not(:has(img)){width:auto;min-width:44px;max-width:105px;padding:5px;overflow-wrap:anywhere}
body.cp-shared-product .cp-live-size[hidden],body.cp-shared-product .cp-live-summary [hidden]{display:none!important}
body.cp-shared-product .cp-live-size.is-selected{border-color:var(--cp-color-accent,#bf0069);background:var(--cp-color-accent-soft,#fff3f9);box-shadow:inset 0 0 0 1px var(--cp-color-accent,#bf0069)}
body.cp-shared-product .cp-live-summary h3{margin:0 0 12px!important;color:#fff!important;font-size:20px!important;line-height:1.3!important}
body.cp-shared-product .cp-live-summary .cp-live-selection-detail{color:#e1d7de!important;margin:0 0 18px!important;font-size:13px!important;line-height:1.5!important}
body.cp-shared-product .cp-live-summary-row{display:flex;justify-content:space-between;gap:16px;margin:10px 0;color:#e1d7de}
body.cp-shared-product .cp-live-summary-row>span:last-child{color:#fff;font-weight:650;white-space:nowrap}
body.cp-shared-product .cp-live-total-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:16px;margin-top:16px;border-top:1px solid #64515e}
body.cp-shared-product .cp-live-total-row>span{font-weight:700}
body.cp-shared-product .cp-live-total-row small{display:block;margin-top:4px;color:#e1d7de;font-size:12px;font-weight:400}
body.cp-shared-product .cp-live-total-row strong{color:#fff!important;font-size:29px!important;line-height:1.2;white-space:nowrap}
body.cp-shared-product .cp-live-summary .cp-live-shipping{color:#e1d7de!important;font-size:12px!important;margin:12px 0 16px!important;line-height:1.5!important}
body.cp-shared-product .cp-live-summary .cp-live-add{display:block;width:100%;background:var(--cp-color-accent,#bf0069)!important;color:#fff!important;border:1px solid var(--cp-color-accent,#bf0069)!important;border-radius:var(--cp-control-radius,12px)!important;min-height:50px!important;margin:0!important;font-size:16px!important;font-weight:750!important;box-shadow:none!important}
body.cp-shared-product .cp-live-summary .cp-live-add:hover{background:var(--cp-color-accent-hover,#990054)!important;border-color:var(--cp-color-accent-hover,#990054)!important}
body.cp-shared-product .cp-live-summary .cp-live-add:focus-visible{outline:3px solid #fff;outline-offset:4px}
body.cp-shared-product .cp-live-summary .cp-live-error{color:#ffcfda!important;margin:8px 0 12px}
body.cp-shared-product .reset_variations{font-size:13px!important;color:#59677d!important;text-decoration:underline!important}
body.cp-shared-product .cp-live-base-price{display:inline-flex;align-items:baseline;gap:6px;color:var(--cp-color-ink,#251420);font-weight:750}
body.cp-shared-product .cp-live-price-unit{font-size:14px;font-weight:400}
body.cp-shared-product .cp-live-tax-note{display:block;color:#536079;font-size:13px;font-weight:400;line-height:1.5;margin-top:5px}
@media(max-width:480px){body.cp-shared-product .cp-live-summary{padding:18px;border-radius:18px}body.cp-shared-product .cp-live-total-row strong{font-size:26px!important}}
body.cp-shared-product .cp-live-measure-diagram{max-width:280px;margin:0 auto 18px;text-align:center}
body.cp-shared-product .cp-live-measure-diagram svg{display:block;width:100%;height:200px}
body.cp-shared-product .cp-live-measure-diagram figcaption{font-size:12px;line-height:1.5;color:#536079}
body.cp-shared-product .cp-live-size-grid[hidden],body.cp-shared-product .cp-live-color-prompt[hidden]{display:none!important}
body.cp-shared-product .cp-live-color-prompt{margin:6px 0 12px;font-size:13px;color:#536079}
body.cp-shared-product .cp-live-summary .cp-live-selection-product{color:#fff!important;font-size:14px!important;font-weight:650!important;line-height:1.4!important;margin:0 0 7px!important}
body.cp-shared-product .cp-live-summary .cp-live-selection-color{color:#e1d7de!important;font-size:13px!important;margin:0 0 6px!important}
body.cp-shared-product .cp-ps:has(.cp-ps__chooser:not([open])){padding:14px!important;margin:12px 0!important}
body.cp-shared-product .cp-ps:has(.cp-ps__chooser:not([open])) .cp-ps__head,body.cp-shared-product .cp-ps:has(.cp-ps__chooser:not([open])) .cp-ps__plain-state{display:none!important}
body.cp-shared-product .cp-ps__chooser{margin-top:0!important}
@media(min-width:981px){
 body.cp-shared-product .cp-woocommerce{max-width:1240px!important;width:calc(100% - 48px)!important;margin-left:auto!important;margin-right:auto!important}
 body.cp-shared-product .cp-woocommerce>div.product{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 36px;align-items:start}
 body.cp-shared-product .cp-woocommerce>div.product:before,body.cp-shared-product .cp-woocommerce>div.product:after{content:none!important}
 body.cp-shared-product .cp-woocommerce>div.product>.cp-product-media-shell{grid-column:1;grid-row:1;position:relative!important;top:auto;float:none!important;width:100%!important;min-width:0;margin:0!important;align-self:start}
 body.cp-shared-product.admin-bar .cp-woocommerce>div.product>.cp-product-media-shell{top:auto}
 body.cp-shared-product .cp-woocommerce>div.product>.summary{grid-column:2;grid-row:1;float:none!important;width:100%!important;min-width:0;margin:0!important}
 body.cp-shared-product .cp-woocommerce>div.product>:not(.cp-product-media-shell):not(.summary){grid-column:1/-1;min-width:0}
 body.cp-shared-product .product_title{font-size:clamp(27px,2.3vw,34px)!important;line-height:1.12!important;letter-spacing:-.6px!important}
 body.cp-shared-product .cp-product-media-main{height:min(390px,calc(100dvh - 235px))!important;min-height:240px!important}
 body.cp-shared-product .cp-product-media-image-link{height:100%!important;min-height:0!important;max-height:100%!important;display:flex;align-items:center;justify-content:center}
 body.cp-shared-product .cp-product-media-image{width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;object-fit:contain!important}
 body.cp-shared-product .cp-product-media-video{width:auto!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-height:0!important;object-fit:contain!important;background:transparent!important;margin:0 auto!important}
 body.cp-shared-product .woocommerce-product-details__short-description{font-size:14px!important;line-height:1.5!important;margin-bottom:16px!important}
 body.cp-shared-product .cp-product-family-switcher{margin:12px 0!important}
}
body.cp-shared-product .variations th.label:has(.cp-live-color-status){display:flex!important;align-items:baseline!important;justify-content:flex-start!important;gap:5px!important;flex-wrap:wrap}
body.cp-shared-product .variations th.label:has(.cp-live-color-status)>label{display:inline!important;width:auto!important;margin:0!important}
body.cp-shared-product .variations th.label .cp-live-color-status{display:inline!important;width:auto!important;margin:0!important;line-height:inherit}
/* Editor beneath product. Controls stay inside the native Woo form. */
@media(min-width:1100px){
 body.cp-shared-product .cp-woocommerce>div.product:has(form.cp-live-matrix){column-gap:28px;row-gap:12px}
 body.cp-shared-product .cp-woocommerce>div.product:has(form.cp-live-matrix)>.summary,body.cp-shared-product form.cp-live-matrix{display:contents!important}
 body.cp-shared-product .cp-woocommerce>div.product:has(form.cp-live-matrix)>.cp-product-media-shell{grid-row:1/6!important;grid-column:1!important}
 body.cp-shared-product .summary>.product_title{grid-column:2;grid-row:1;font-size:28px!important;margin:0!important}
 body.cp-shared-product .summary>.price{grid-column:2;grid-row:2;margin:0!important}
 body.cp-shared-product .summary>.woocommerce-product-details__short-description{grid-column:2;grid-row:3;margin:0!important}
 body.cp-shared-product form.cp-live-matrix>.cp-product-family-switcher{grid-column:2;grid-row:4;margin:0!important}
 body.cp-shared-product form.cp-live-matrix>.variations{grid-column:2;grid-row:5;margin:0!important;min-width:0}
 body.cp-shared-product form.cp-live-matrix>.single_variation_wrap{grid-column:1/-1;grid-row:6;display:grid!important;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:22px;align-items:start;min-width:0;margin:12px 0 0!important}
 body.cp-shared-product .single_variation_wrap>.cp-ps{grid-column:1;grid-row:1;margin:0!important;min-width:0;padding:16px!important}
 body.cp-shared-product .single_variation_wrap>.cp-live-summary{grid-column:2;grid-row:1;margin:0!important;min-width:0;padding:18px}
 body.cp-shared-product .single_variation_wrap>.single_variation{grid-column:1/-1}
 body.cp-shared-product .single_variation_wrap>.variations_button{display:none!important}
 body.cp-shared-product .cp-ps__layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:16px!important;align-items:start}
 body.cp-shared-product .cp-ps__preview,body.cp-shared-product .cp-ps__controls{min-width:0!important}
 body.cp-shared-product .cp-ps__stage{width:100%!important;max-width:340px!important;margin:0 auto!important}
 body.cp-shared-product .cp-ps__head{margin-bottom:10px!important}
 body.cp-shared-product .cp-product-media-main{height:340px!important}
 body.cp-shared-product .cp-live-color{width:44px;height:44px}
 body.cp-shared-product .cp-site-nav{height:64px!important;min-height:64px!important}
 body.cp-shared-product .cp-brand img{max-height:54px!important;width:auto!important}
 body.cp-shared-product .cp-store-mega-nav{top:calc(var(--cp-safe-offset,0px) + 64px)!important}
 body.cp-shared-product.admin-bar .cp-store-mega-nav{top:calc(var(--cp-safe-offset,0px) + 96px)!important}
 body.cp-shared-product .cp-store-mega-inner{min-height:46px!important;padding-top:4px!important;padding-bottom:4px!important}
 body.cp-shared-product .single_variation_wrap:has(.cp-ps__chooser[open])>.cp-live-summary{position:sticky;top:var(--cp-order-top,126px)!important;align-self:start;max-height:calc(100dvh - var(--cp-order-top,126px) - 12px);overflow-y:auto;z-index:2}
}
@media(max-width:1099px){
 body.cp-shared-product form.cp-live-matrix>.single_variation_wrap:has(.cp-ps__chooser[open]){display:flex!important;flex-direction:column;align-items:stretch}
 body.cp-shared-product .single_variation_wrap:has(.cp-ps__chooser[open])>.cp-live-summary{order:1;position:static!important;top:auto!important;z-index:auto;margin:14px 0 0!important;padding:12px!important;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;max-height:none!important;overflow:visible!important}
 body.cp-shared-product .single_variation_wrap:has(.cp-ps__chooser[open])>.cp-live-summary>h3,
 body.cp-shared-product .single_variation_wrap:has(.cp-ps__chooser[open])>.cp-live-summary>.cp-live-selection-product,
 body.cp-shared-product .single_variation_wrap:has(.cp-ps__chooser[open])>.cp-live-summary>.cp-live-summary-row,
 body.cp-shared-product .single_variation_wrap:has(.cp-ps__chooser[open])>.cp-live-summary>.cp-live-shipping{display:none}
 body.cp-shared-product .single_variation_wrap:has(.cp-ps__chooser[open])>.cp-live-summary>.cp-live-selection-color,
 body.cp-shared-product .single_variation_wrap:has(.cp-ps__chooser[open])>.cp-live-summary>.cp-live-selection-detail{grid-column:1/-1;margin:0!important;font-size:12px}
 body.cp-shared-product .single_variation_wrap:has(.cp-ps__chooser[open])>.cp-live-summary>.cp-live-total-row{margin:0;padding:5px 0 0;border:0;gap:8px}
 body.cp-shared-product .single_variation_wrap:has(.cp-ps__chooser[open])>.cp-live-summary>button{width:auto;margin:0!important;padding:10px!important;min-height:44px;font-size:13px}
}
@media(max-width:500px){body.cp-shared-product .cp-live-size-grid{grid-template-columns:repeat(auto-fit,minmax(64px,1fr))}}
body.cp-shared-product .cp-live-summary>.cp-live-add{float:none!important;box-sizing:border-box}
body.cp-shared-product .cp-ps .cp-ps__guide-link a{color:var(--cp-color-accent,#bf0069)!important;text-decoration:underline!important;text-underline-offset:3px;font-weight:700}
