.store-order-cart [hidden] { display: none !important; }
.store-order-cart-heading { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.store-order-cart-heading h1 { margin-bottom: 0; }
.store-order-cart-heading span, .store-order-cart small, .store-order-cart-summary p { color: #475f68; }
.store-order-cart-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(270px,31%); gap: 20px; padding-bottom: 32px; }
.store-order-cart-line, .store-order-cart-summary { border: 1px solid #cfdee2; border-radius: 12px; background: #f9fbfb; }
.store-order-cart-line {
    display: grid;
    grid-template-columns: 78px minmax(0,1fr) auto minmax(78px,auto);
    align-items: start;
    gap: 14px;
    padding: 16px;
    margin-bottom: 10px;
}
.store-order-cart-photo img { width: 78px; height: 78px; object-fit: contain; }
.store-order-cart-details, .store-order-cart-quantity { display: flex; flex-direction: column; gap: 5px; }
.store-order-cart-name { font-weight: 750; overflow-wrap: anywhere; }
.store-order-cart .store-order-cart-remove { align-self: start; color: #475f68; text-decoration: underline; }
.store-order-cart-stepper { display: flex; border: 1px solid #afc6ce; border-radius: 7px; overflow: hidden; width: max-content; }
.store-order-cart-stepper button, .store-order-cart-stepper input { width: 38px; min-height: 40px; border: 0; text-align: center; background: white; color: #08161a; }
.store-order-cart-stepper button { font-size: 19px; }
.store-order-cart-stepper button:hover:enabled { background: #bff2ed; }
.store-order-cart-stepper button:disabled { opacity: .4; }
.store-order-cart-stepper input { appearance: textfield; }
.store-order-cart-stepper input::-webkit-inner-spin-button { appearance: none; }
.store-order-cart-line-total { white-space: nowrap; text-align: right; }
.store-order-cart-summary { align-self: start; padding: 20px; }
.store-order-cart-summary h2 { font-size: 22px; margin: 0 0 12px; }
.store-order-cart-adjustment, .store-order-cart-grand { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.store-order-cart-grand { margin: 12px 0 16px; }
.store-order-cart-grand strong { font-size: 24px; white-space: nowrap; }
.store-order-cart-summary .store-order-button { width: 100%; justify-content: space-between; }
.store-order-cart-summary p { font-size: 12px; margin: 9px 0 0; }
.store-order-cart .store-order-cart-continue { display: inline-block; margin-top: 8px; text-decoration: underline; }
@media (max-width: 991px) {
    .store-order-cart-layout { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 575px) {
    .store-order-cart-line { grid-template-columns: 54px minmax(0,1fr) auto; gap: 10px; padding: 12px; }
    .store-order-cart-photo img { width: 54px; height: 58px; }
    .store-order-cart-details { grid-column: 2 / -1; }
    .store-order-cart-quantity { grid-column: 2; }
    .store-order-cart-line-total { grid-column: 3; align-self: center; }
}

.store-order-checkout { padding-bottom: 32px; }
.store-order-checkout h1 { margin-bottom: 18px; }
.store-order-checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 36%); gap: 20px; align-items: start; }
.store-order-checkout-main { display: grid; gap: 12px; }
.store-order-checkout-panel { padding: 20px; border: 1px solid #cfdee2; border-radius: 12px; background: #f9fbfb; }
.store-order-checkout-panel legend, .store-order-checkout-panel h2 { color: #08161a; font-size: 21px; font-weight: 800; margin-bottom: 12px; }
.store-order-checkout-panel fieldset + fieldset { margin-top: 14px; }
.store-order-checkout-summary-heading, .store-order-checkout-total, .store-order-checkout-item { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.store-order-checkout-summary-heading a { color: #28545d; text-decoration: underline; }
.store-order-checkout-item { padding: 12px 0; border-top: 1px solid #dbe7e9; }
.store-order-checkout-item small { display: block; color: #475f68; }
.store-order-checkout-item strong, .store-order-checkout-total strong { white-space: nowrap; }
.store-order-checkout-total { margin-top: 6px; }
.store-order-checkout-total:last-of-type { margin: 14px 0 16px; font-size: 18px; }
.store-order-checkout-summary #checkout-payment .btn { width: 100%; }
.store-order-checkout-note { color: #475f68; font-size: 13px; }
.store-order-checkout-details summary { cursor: pointer; margin: 8px 0; }
@media (max-width: 767px) {
    .store-order-checkout-layout { grid-template-columns: minmax(0, 1fr); }
    .store-order-checkout-panel { padding: 14px; }
}


.store-order-cart-line, .store-order-cart-summary, .store-order-checkout-panel, .store-order-cart-empty {
    border-color: #dfe4e8;
    background: #fff;
}
.store-order-cart, .store-order-checkout { padding-bottom: 24px; }
.store-order-cart-line .img-thumbnail { border: 0; }
.store-order-cart-line .store-order-cart-name { font-weight: 700; }
.store-order-cart-empty {
    border: 1px solid #dfe4e8;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
}
.store-order-cart-empty h2 { margin-top: 0; }
.store-order-cart-summary .store-order-button { display: flex; align-items: center; gap: 10px; }
.store-order-cart-stepper button:hover:enabled { background: #edf0f2; }
.store-order-checkout-panel .btn, .store-order-cart .store-order-button { min-height: 44px; }
.store-order-checkout-panel form > .row { margin-bottom: 0; }
.store-order-checkout-panel .input-group > .form-control { min-width: 0; }
.store-order-checkout-item a { overflow-wrap: anywhere; }
.store-order-checkout-panel .alert:empty, .store-order-checkout-panel .invalid-feedback:empty { display: none; }
.store-order-checkout-panel form > .row > .required:empty { display: none; }
.store-order-checkout-panel .store-order-checkout-details { width: 100%; }
.store-order-checkout-details > .row { margin: 0; }
.store-order-checkout-guest-note { font-size: 13px; margin-bottom: 0; }
@media (max-width: 420px) {
    .store-order-cart-line { grid-template-columns: 44px minmax(0,1fr) auto; }
    .store-order-cart-photo img { width: 44px; height: 50px; }
    .store-order-cart-stepper button, .store-order-cart-stepper input { width: 34px; }
    .store-order-cart-summary { padding: 15px; }
    .store-order-checkout-panel .input-group { flex-wrap: wrap; }
    .store-order-checkout-panel .input-group > button { max-width: 100%; white-space: normal; }
}
