:root{--store-navy:#12253f;--store-blue:#1261b5;--store-pale:#f3f6f9;--store-border:#d9e1e8;--store-text:#24303c;--store-green:#167345;--store-red:#a52b2b}*{box-sizing:border-box}.store-body{margin:0;background:var(--store-pale);color:var(--store-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.store-header{min-height:74px;background:#fff;border-bottom:1px solid var(--store-border);display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 1rem;position:sticky;top:0;z-index:20}.store-brand{display:flex;align-items:center;gap:.7rem;color:var(--store-navy);text-decoration:none}.store-brand img{width:42px;height:52px;object-fit:contain}.store-brand span{display:flex;flex-direction:column}.store-brand small{font-size:.66rem;letter-spacing:.08em}.store-brand strong{font-size:1.15rem}.store-header nav{display:flex;align-items:center;gap:.8rem}.store-header nav>a{color:var(--store-blue);font-weight:650;text-decoration:none}.cart-link span{display:inline-grid;place-items:center;min-width:1.6rem;height:1.6rem;border-radius:1rem;background:var(--store-blue);color:#fff;font-size:.8rem}.store-shell{width:min(1180px,100%);margin:0 auto;padding:1rem}.narrow-store{width:min(900px,100%)}.store-hero{background:var(--store-navy);color:#fff;border-radius:1rem;padding:2rem 1.25rem;margin:0 0 1rem}.store-hero h1,.page-heading h1{font-size:clamp(2rem,7vw,3.3rem);line-height:1.05;margin:.25rem 0 .8rem}.store-hero p:last-child{max-width:720px;margin:0;color:#d8e1ec;font-size:1.05rem;line-height:1.55}.eyebrow{font-weight:800;letter-spacing:.12em;font-size:.72rem;margin:0;color:#69a9eb}.page-heading{padding:1rem 0}.page-heading p:last-child{color:#65717c}.store-alert{padding:.9rem 1rem;border-radius:.65rem;margin:1rem 0;font-weight:650}.store-alert.success{background:#e3f5eb;color:#125d38;border:1px solid #9ed3b4}.store-alert.error{background:#fde9e8;color:#85201f;border:1px solid #edaaa7}.category-filter{display:flex;gap:.55rem;overflow-x:auto;padding:.4rem 0 1.1rem}.category-filter a{white-space:nowrap;padding:.55rem .9rem;border:1px solid var(--store-border);background:#fff;border-radius:2rem;color:var(--store-navy);text-decoration:none;font-weight:650}.category-filter a.active{background:var(--store-blue);border-color:var(--store-blue);color:#fff}.product-grid{display:grid;grid-template-columns:1fr;gap:1rem}.product-card{background:#fff;border:1px solid var(--store-border);border-radius:.9rem;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 .25rem .8rem rgba(18,37,63,.06)}.product-image{aspect-ratio:4/3;background:#fff;display:grid;place-items:center;border-bottom:1px solid var(--store-border)}.product-image img{width:100%;height:100%;object-fit:contain;padding:.8rem}.product-content{display:flex;flex-direction:column;flex:1;padding:1rem}.product-category{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#607080;font-weight:750;margin:0 0 .3rem}.product-card h2{color:var(--store-navy);font-size:1.25rem;margin:.2rem 0}.product-description{color:#5d6874;line-height:1.5;margin:.4rem 0 1rem}.product-buy{display:flex;flex-direction:column;gap:.75rem;margin-top:auto}.product-buy>strong{font-size:1.5rem;color:var(--store-navy)}.product-buy form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:.6rem}.product-buy label{display:flex;flex-direction:column;font-size:.75rem;font-weight:650}.product-buy input,.cart-item input{width:4.3rem;padding:.62rem;border:1px solid #aebbc7;border-radius:.45rem;font:inherit}.product-buy button,.store-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:var(--store-blue);color:#fff;padding:.72rem 1rem;border-radius:.5rem;font-weight:750;font-size:1rem;text-decoration:none;cursor:pointer}.store-button.secondary{background:#e8eef4;color:var(--store-navy)}.store-empty,.success-card{background:#fff;border:1px solid var(--store-border);border-radius:1rem;padding:2rem 1.25rem;text-align:center}.store-footer{text-align:center;padding:2rem 1rem;color:#63717e;font-size:.9rem}.store-footer a,.text-link{color:var(--store-blue)}.cart-form{display:grid;gap:1rem}.cart-list,.cart-summary,.checkout-card,.order-summary{background:#fff;border:1px solid var(--store-border);border-radius:.9rem}.cart-list{overflow:hidden}.cart-item{display:grid;grid-template-columns:72px 1fr auto;gap:.8rem;padding:1rem;border-bottom:1px solid var(--store-border);align-items:start}.cart-item:last-child{border-bottom:0}.cart-item img{width:72px;height:72px;object-fit:contain;border:1px solid var(--store-border);border-radius:.45rem}.cart-item h2{font-size:1rem;margin:0 0 .25rem}.cart-item p{margin:.1rem 0 .5rem;color:#66717c}.cart-item label{display:flex;align-items:center;gap:.5rem;font-size:.85rem}.cart-item small{display:block;color:#6a747d;margin-top:.3rem}.cart-summary{padding:1.1rem;display:grid;gap:.8rem}.cart-summary>div{display:flex;justify-content:space-between;font-size:1.2rem}.cart-summary p{font-size:.9rem;color:#67737f;margin:0}.checkout-grid{display:grid;gap:1rem}.checkout-main{display:grid;gap:1rem}.checkout-card,.order-summary{padding:1rem}.checkout-card h2,.order-summary h2{margin-top:0;color:var(--store-navy)}.field-grid{display:grid;grid-template-columns:1fr;gap:.85rem}.field-grid label,.field-block{display:flex;flex-direction:column;gap:.35rem;font-weight:650}.field-grid input,.field-block input,.field-block select,.admin-field input,.admin-field select,.admin-field textarea{width:100%;padding:.75rem;border:1px solid #aebbc7;border-radius:.45rem;background:#fff;font:inherit}.field-grid label span,.field-block span{color:var(--store-red)}.field-grid label.invalid input,.field-block.invalid input{border-color:var(--store-red);box-shadow:0 0 0 2px rgba(165,43,43,.12)}.field-error{display:block;color:var(--store-red);font-weight:650}.field-block{margin-top:1rem}.field-block small{color:#687681;font-weight:400}.phone-options,.fulfilment-options{border:0;padding:0;margin:1rem 0;display:grid;gap:.6rem}.phone-options legend{font-weight:750;margin-bottom:.5rem}.phone-options label,.fulfilment-options label{display:flex;align-items:center;gap:.65rem;border:1px solid var(--store-border);border-radius:.55rem;padding:.75rem;cursor:pointer}.phone-options label:has(input:checked),.fulfilment-options label:has(input:checked){border-color:var(--store-blue);background:#edf5fe}.phone-options span,.fulfilment-options span{display:flex;flex-direction:column}.phone-options strong,.fulfilment-options small{font-size:.88rem;color:#62707c}.shipping-fields{border-top:1px solid var(--store-border);margin-top:1rem;padding-top:1rem}.shipping-fields[hidden]{display:none}.order-summary{align-self:start}.summary-line,.summary-total{display:flex;justify-content:space-between;gap:1rem;padding:.4rem 0}.summary-line span{max-width:70%}.summary-total{font-size:1.3rem;padding:1rem 0}.order-summary>p{color:#65717d;font-size:.88rem}.order-summary .store-button{width:100%}.success-shell{min-height:100vh;display:grid;place-items:center}.success-card{width:min(620px,100%);text-align:center}.success-card>img{width:72px;height:88px;object-fit:contain}.receipt,.next-step{margin:1.25rem 0;padding:1rem;background:#f6f8fa;border-radius:.7rem;text-align:left}.receipt h2,.next-step h2{font-size:1.1rem;margin-top:0}.receipt>div{display:flex;justify-content:space-between;gap:1rem;padding:.35rem 0}.success-card>.store-button,.success-card>.text-link{display:flex;margin:.7rem auto;max-width:280px;justify-content:center}
@media(min-width:600px){.store-header{padding:.65rem 1.5rem}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid .full{grid-column:1/-1}.cart-form{grid-template-columns:1fr 260px}.cart-summary{align-self:start;position:sticky;top:90px}}
@media(min-width:900px){.store-shell{padding:1.5rem}.store-hero{padding:3.2rem}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.checkout-grid{grid-template-columns:minmax(0,1fr) 350px}.order-summary{position:sticky;top:92px}.checkout-card,.order-summary{padding:1.5rem}}
@media(max-width:640px){.store-header nav{gap:.35rem}.store-header nav>a:not(.cart-link):not(:last-child){display:none}.cart-item{grid-template-columns:58px 1fr}.cart-item img{width:58px;height:58px}.cart-item>strong{grid-column:2;text-align:right}.store-hero{border-radius:.7rem}.product-buy form button{flex:1}}

/* Build 0027 - configurable product sizes */
.product-buy select{width:100%;min-width:0;padding:.62rem;border:1px solid #aebbc7;border-radius:.45rem;background:#fff;font:inherit}.product-buy .size-choice{min-width:0}.product-unavailable{font-size:.85rem;font-weight:750;color:var(--store-red);padding:.55rem 0}.product-buy button:disabled,.product-buy input:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:520px){.product-buy .size-choice{grid-column:1/-1}.product-buy .quantity-choice{grid-column:1}.product-buy .quantity-choice input{width:100%}.product-buy form button{grid-column:2;width:100%}}

/* Build 0028A - product option layout correction */
.product-buy .quantity-choice{min-width:0}.product-buy .quantity-choice input{width:100%}.product-buy form button{width:100%;min-width:0}.cart-summary .store-button{width:100%}


/* Build 0028B - stronger customer/store presentation */
.store-body { color: #1f3042; }
.store-shell { padding-top: 1.1rem; }
.store-hero {
    background: rgba(255,255,255,.88);
    color: var(--store-text);
    border: 1px solid rgba(18,63,115,.14);
    border-left: 5px solid #1677ca;
    border-radius: .8rem;
    padding: 1.15rem 1.35rem;
    margin: 0 0 1rem;
    box-shadow: 0 .35rem 1rem rgba(18,37,63,.08);
    backdrop-filter: blur(3px);
}
.store-hero h1,
.page-heading h1 { color: var(--store-navy); font-size: clamp(1.8rem,4vw,2.55rem); margin: .15rem 0 .4rem; }
.store-hero p:last-child { color: #42566a; margin: 0; font-size: 1rem; line-height: 1.55; }
.eyebrow { color: #0f63b6; }
.page-heading { padding: 1.15rem 1.35rem; }
.category-filter { padding-top: .15rem; }
.category-filter a {
    border-color: rgba(18,63,115,.22);
    color: #123f73;
    box-shadow: 0 .15rem .4rem rgba(18,37,63,.05);
}
.category-filter a:hover,
.category-filter a:focus { background: #e7f2fb; border-color: #5a9bd3; }
.category-filter a.active { background: #0f63b6; border-color: #0f63b6; box-shadow: 0 .25rem .65rem rgba(15,99,182,.22); }
.product-card {
    border-color: rgba(18,63,115,.17);
    border-top: 3px solid #2d8bb8;
    box-shadow: 0 .35rem 1rem rgba(18,37,63,.10);
}
.product-category { color: #0f63b6; }
.product-buy button,
.store-button { background: #0f63b6; box-shadow: 0 .18rem .45rem rgba(15,99,182,.18); }
.product-buy button:hover,
.product-buy button:focus,
.store-button:hover,
.store-button:focus { background: #0b4f92; color: #fff; }
.store-button.secondary { background: #e4edf5; color: #123f73; box-shadow: none; }
.store-button.secondary:hover,
.store-button.secondary:focus { background: #d6e5f1; color: #0d365f; }
.cart-list,
.cart-summary,
.checkout-card,
.order-summary,
.store-empty,
.success-card { border-color: rgba(18,63,115,.16); box-shadow: 0 .3rem .9rem rgba(18,37,63,.08); }
.checkout-card h2,
.order-summary h2,
.cart-item h2 { color: #123f73; }
.phone-options label:has(input:checked),
.fulfilment-options label:has(input:checked) { border-color: #0f63b6; background: #e7f3fd; }
.receipt,
.next-step { background: rgba(235,244,250,.82); border: 1px solid rgba(18,63,115,.10); }
@media(max-width:640px){
    .store-hero { padding: 1rem; border-left-width: 4px; }
}
