/* Product purchase controls follow the active storefront palette. */

.neo-store .store-detail .store-purchase-controls{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:end;gap:18px 16px;padding-top:4px;max-width:520px}

.store-purchase-controls .store-purchase-size{grid-column:1/-1;min-width:0}

.store-purchase-controls .store-purchase-size>label,.store-purchase-controls .store-purchase-quantity>label{display:block;margin:0 0 8px;font-size:14px;line-height:1.4;font-weight:600}

.neo-store .store-purchase-controls .store-purchase-size>select{display:block;width:100%;min-height:48px;margin:0;padding:11px 14px;font:inherit;line-height:1.4;background-color:#fff;color:inherit;border:1px solid #b9c5ba;border-radius:4px;cursor:pointer}

.neo-store .store-purchase-controls .store-product-stepper{width:132px;height:48px;margin:0}

.neo-store .store-purchase-controls .store-product-stepper>button{width:40px;min-width:40px;height:46px}

.neo-store .store-purchase-controls .store-product-stepper>input{flex:1;width:50px;min-width:0;height:46px}

.neo-store .store-purchase-controls>.store-purchase-submit{width:100%;min-height:48px;margin:0;padding:12px 20px;line-height:1.4;font-size:15px}

.store-purchase-controls select:focus-visible{outline:2px solid currentColor;outline-offset:3px}

.store-purchase-controls>.store-purchase-submit:disabled{opacity:.5;cursor:not-allowed}

.store-detail .store-product-share{margin-top:22px}

@media(max-width:380px){.neo-store .store-detail .store-purchase-controls{grid-template-columns:116px minmax(0,1fr);gap:16px 12px}.neo-store .store-purchase-controls .store-product-stepper{width:116px}.neo-store .store-purchase-controls .store-product-stepper>button{width:34px;min-width:34px}.neo-store .store-purchase-controls>.store-purchase-submit{padding-inline:12px;font-size:14px}}



.neo-store-theme .neo-store .store-purchase-controls>.store-purchase-submit{height:48px!important;min-height:48px!important;font-size:15px!important;line-height:1.4!important;padding:12px 20px!important}



.store-size-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}

.neo-store .store-purchase-controls .store-size-choice{position:relative;display:flex;flex-direction:column;gap:7px;min-height:86px;margin:0;padding:15px 38px 15px 16px;border:1px solid #cbd2cd;border-radius:5px;background:#fff;color:inherit;cursor:pointer;line-height:1.35;transition:border-color .15s,background-color .15s,box-shadow .15s}

.store-size-choice>input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;opacity:0;overflow:hidden}

.store-size-choice-name{font-size:15px;font-weight:600}

.store-size-choice-price{font-size:14px;font-weight:400}

.store-size-choice-price del{color:#727a74;font-size:12px;margin-right:3px}

.neo-store .store-purchase-controls .store-size-choice:hover{border-color:#526458}

.neo-store .store-purchase-controls .store-size-choice:has(input:checked){border-color:#26382c;background:#f3f6f3;box-shadow:inset 0 0 0 1px #26382c}

.store-size-choice:has(input:checked)::after{content:'✓';position:absolute;right:14px;top:16px;font-size:17px;font-weight:700;color:#26382c}

.store-size-choice:has(input:focus-visible){outline:2px solid #26382c;outline-offset:3px}

.neo-store .store-purchase-controls .store-size-choice.is-unavailable{opacity:.5;cursor:not-allowed;background:#f7f7f7}

.store-size-choice-stock{font-size:12px;color:#68716a}

@media(max-width:380px){.store-size-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.neo-store .store-purchase-controls .store-size-choice{padding:13px 26px 13px 12px}.store-size-choice:has(input:checked)::after{right:10px}}



.neo-store .store-detail .store-purchase-controls{margin:26px 0 28px;padding-top:0;row-gap:22px}


/* Equal cells keep the quantity and both step buttons centred. */
.neo-store .store-purchase-controls .store-product-stepper{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:144px;height:48px}
.neo-store .store-purchase-controls .store-product-stepper>button,.neo-store .store-purchase-controls .store-product-stepper>input{display:flex;align-items:center;justify-content:center;width:100%!important;min-width:0!important;height:46px!important;margin:0!important;padding:0!important;text-align:center;line-height:1!important;box-sizing:border-box}
.neo-store .store-purchase-controls .store-product-stepper>input{display:block;border:0!important;border-left:1px solid #dce3dd!important;border-right:1px solid #dce3dd!important;border-radius:0!important;box-shadow:none!important}
.neo-store .store-detail .store-purchase-controls{grid-template-columns:144px minmax(0,1fr)}
@media(max-width:380px){.neo-store .store-detail .store-purchase-controls{grid-template-columns:120px minmax(0,1fr)}.neo-store .store-purchase-controls .store-product-stepper{width:120px}}

.neo-store .store-purchase-controls .store-product-stepper>input{max-width:none!important;justify-self:stretch}

.neo-store .store-detail>div:not(.store-product-gallery){padding-top:12px}
.neo-store .store-detail h1{margin-bottom:16px}
.neo-store .store-detail .store-purchase-controls{margin-top:36px}

.neo-store-theme .neo-store .store-detail h1{font-size:24px!important;line-height:1.3!important}
.neo-store-theme .neo-store .store-detail .store-price,.neo-store-theme .neo-store .store-detail .store-original-price{font-size:18px!important;line-height:1.4!important}

/* Larger thumbnails for product and variation galleries. */
.neo-store .store-product-gallery .store-gallery-thumbs{gap:14px;margin-top:18px;flex-wrap:wrap}
.neo-store .store-product-gallery .store-gallery-thumbs>button{width:112px!important;height:112px!important;min-width:112px!important;flex:0 0 112px!important;padding:5px!important}
.neo-store .store-product-gallery .store-gallery-thumbs>button>img{display:block;width:100%!important;height:100%!important;object-fit:contain}
@media(max-width:480px){.neo-store .store-product-gallery .store-gallery-thumbs>button{width:96px!important;height:96px!important;min-width:96px!important;flex-basis:96px!important}}

/* One thumbnail row only, with a consistent gap below the main image. */
.neo-store .store-product-gallery .store-gallery-thumbs{margin:16px 0 0;padding:0;gap:14px}
.neo-store .store-product-gallery .store-gallery-thumbs:empty{display:none}

/* Keep variation stock counts readable and visually distinct from prices. */
.neo-store .store-size-choice .store-size-choice-stock{display:inline-flex;align-items:center;justify-self:start;gap:6px;width:fit-content;margin-top:8px;padding:5px 9px;border:1px solid #c8dfcf;border-radius:999px;background:#edf7ef;color:#245b36;font-size:12px;font-weight:600;line-height:1.2;letter-spacing:0;white-space:nowrap}
.neo-store .store-size-choice .store-size-choice-stock::before{content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#35834b}
.neo-store .store-size-choice.is-unavailable .store-size-choice-stock{background:#fbefed;border-color:#e8cdc7;color:#853c31}
.neo-store .store-size-choice.is-unavailable .store-size-choice-stock::before{background:#a64c3e}
