/* Theme-only styling for the shared product and quantity markup. */
.index-product-price:has(.s724-price-old),.s724-product-price:has(.s724-price-old){display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;line-height:1.4}
body .s724-price-old{display:inline-block;color:#778499;font-size:14px;font-weight:500;text-decoration:line-through;text-decoration-thickness:1.5px;white-space:nowrap;margin-right:10px}
body .s724-price-current{display:inline-block;color:#00275f;font-size:22px;font-weight:800;white-space:nowrap}
body .s724-discount-badge{display:inline-flex;align-items:center;gap:4px;vertical-align:middle;white-space:nowrap;border-radius:6px;padding:4px 7px;background:#e8f2ff;color:#0052a7;font:700 11px/1.2 Arial,sans-serif}
body .s724-discount-badge svg{display:inline-block;flex:none;width:12px;height:12px}
body .s724-product-card-unified .s724-card-cart-row{
    display:flex;flex-direction:column;align-items:stretch;gap:12px;
    width:100%;margin-top:auto;padding-top:12px;
}
body .s724-card-qty-control{
    display:inline-grid;grid-template-columns:34px 38px 34px auto;
    align-items:center;justify-content:start;align-self:flex-start;
    width:max-content;max-width:100%;height:36px;gap:0;
    padding:0;border:0;background:transparent;border-radius:0;
}
body .s724-card-qty-control>button{
    display:flex;align-items:center;justify-content:center;
    grid-row:1;width:34px;height:36px;min-height:0;margin:0;padding:0;
    border:1px solid #d5dfed;background:#f1f5fb;color:#003878;
    font-size:19px;font-weight:500;line-height:1;cursor:pointer;
    box-shadow:none;transition:background .15s,color .15s;
}
body .s724-card-qty-control>button:first-of-type{grid-column:1;border-radius:8px 0 0 8px}
body .s724-card-qty-control>button:last-of-type{grid-column:3;border-radius:0 8px 8px 0}
body .s724-card-qty-control>button:hover{background:#dfebfc;color:#0058bd}
body .s724-card-qty-control>input{
    grid-column:2;grid-row:1;display:block;width:38px;min-width:0;max-width:38px;
    height:36px;margin:0;padding:0 3px;border:0;border-top:1px solid #d5dfed;
    border-bottom:1px solid #d5dfed;border-radius:0;background:#fff;color:#142b49;
    font:700 14px/1 Arial,Helvetica,sans-serif;text-align:center;
    font-variant-numeric:tabular-nums;box-shadow:none;outline-offset:-2px;
}
body .s724-card-qty-control>span{
    grid-column:4;grid-row:1;display:block;padding:0 0 0 8px;margin:0;
    font-size:12px;font-weight:400;line-height:1.3;color:#677b94;white-space:nowrap;
}
body .s724-product-card-unified .s724-card-cart-row>.s724-product-button,
body .s724-product-card-unified .s724-card-cart-row>.index-product-button,
body .s724-detail-cart-row>.s724-product-add-cart{
    display:flex;align-items:center;justify-content:center;flex:none;
    width:100%;min-width:0;min-height:44px;height:auto;margin:0;padding:11px 14px;
    border:1px solid #003878;border-radius:9px;
    background:linear-gradient(110deg,#004b9f,#00316f);color:#fff;
    font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:700;
    line-height:1.4;letter-spacing:.15px;text-align:center;
    box-shadow:0 3px 8px #00387812;cursor:pointer;
    transition:background .15s,box-shadow .15s;
}
body .s724-product-card-unified .s724-card-cart-row>.s724-product-button:hover,
body .s724-product-card-unified .s724-card-cart-row>.index-product-button:hover,
body .s724-detail-cart-row>.s724-product-add-cart:hover{
    background:linear-gradient(110deg,#0064ce,#00418f);box-shadow:0 4px 12px #00387820;
}
body .s724-product-card-unified .s724-card-cart-row>button:disabled{opacity:.6;cursor:wait}
body .s724-card-qty-control>button:focus-visible,
body .s724-card-qty-control>input:focus-visible,
body .s724-product-card-unified .s724-card-cart-row>button:focus-visible{outline:2px solid #007cff;outline-offset:3px}
@media(max-width:420px){
    body .s724-card-qty-control{grid-template-columns:30px 32px 30px auto;height:34px}
    body .s724-card-qty-control>button{width:30px;height:34px}
    body .s724-card-qty-control>input{width:32px;max-width:32px;height:34px}
    body .s724-card-qty-control>span{font-size:11px;padding-left:6px}
}

body .s724-product-card-modern{border:1px solid #e8eef6;box-shadow:0 5px 18px #12345a0a}
body .s724-detail-cart-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
body .s724-detail-cart-row>.s724-product-add-cart{flex:1;min-width:160px;width:auto}
