.store-flow-page,
.store-account-page {
    background: #f5f6fa !important;
    max-width: var(--site-max, 1580px);
    margin: 0 auto;
    padding: 34px var(--site-pad, 48px) 72px;
}

.store-account-bar {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #edf0f5;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin: 0 auto;
    max-width: var(--site-max, 1580px);
    padding: 14px var(--site-pad, 48px);
}

.store-account-bar form {
    margin: 0;
}

.store-account-pill,
.store-account-link,
.store-account-count {
    align-items: center;
    border: 0;
    border-radius: 8px;
    color: #111827;
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    min-height: 44px;
    padding: 0 14px;
}

.store-account-pill {
    background: #eef5ff;
    color: #0b4eb3;
}

.store-account-pill.login {
    background: #dcfbff;
    color: #0095a8;
    cursor: pointer;
}

.store-account-pill.active,
.store-account-link.active {
    box-shadow: inset 0 0 0 2px rgba(11, 78, 179, .18);
}

.store-account-count,
.store-account-link {
    background: transparent;
}

.store-steps {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 0 0 28px;
}

.store-steps span {
    background: #fff;
    border: 1px solid #dfe4ef;
    border-radius: 999px;
    color: #70798c;
    font-weight: 800;
    padding: 12px 20px;
}

.store-steps .active {
    background: #0b4eb3;
    border-color: #0b4eb3;
    color: #fff;
}

.store-card {
    background: #fff;
    border: 1px solid #e0e5ee;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(29, 38, 64, .06);
}

.store-flow-grid,
.store-account-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 28px;
}

.cart-table-card,
.billing-card,
.order-summary-card,
.checkout-summary-card,
.account-form,
.account-side {
    padding: 28px;
}

.cart-table-head,
.cart-line-pro {
    display: grid;
    grid-template-columns: minmax(250px, 1.25fr) 130px 120px 140px;
    gap: 22px;
    align-items: center;
}

.cart-table-head {
    border-bottom: 1px solid #e0e5ee;
    color: #334057;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .05em;
    padding: 0 0 18px 46px;
    text-transform: uppercase;
}

.cart-line-pro {
    border-bottom: 1px solid #e0e5ee;
    padding: 24px 0;
    position: relative;
}

.cart-remove {
    background: transparent;
    border: 0;
    color: #6b7487;
    cursor: pointer;
    font-size: 30px;
    left: 6px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.cart-product {
    align-items: center;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    padding-left: 46px;
}

.cart-product img,
.cart-img-placeholder,
.mini-order-line img {
    border: 1px solid #e0e5ee;
    border-radius: 8px;
    height: 82px;
    object-fit: cover;
    width: 82px;
}

.cart-img-placeholder {
    display: grid;
    place-items: center;
}

.qty-control span {
    display: none;
}

.qty-control input,
.coupon-row input,
.billing-card input:not([type="radio"]):not([type="checkbox"]),
.billing-card textarea,
.account-form input:not([type="radio"]):not([type="checkbox"]) {
    border: 1px solid #d5deec;
    border-radius: 14px;
    min-height: 48px;
    padding: 12px 14px;
    width: 100%;
}

.coupon-row {
    display: flex;
    gap: 12px;
    padding-top: 22px;
}

.coupon-button,
.checkout-button,
.account-primary {
    background: #f6a10a;
    border: 0;
    border-radius: 999px;
    color: #111827;
    cursor: pointer;
    display: block;
    font-weight: 700;
    padding: 16px 24px;
    text-align: center;
    width: 100%;
}

.coupon-button {
    width: 130px;
}

.cart-update {
    margin-top: 16px;
}

.order-summary-card h2,
.checkout-summary-card h2,
.account-form h1,
.account-side h2,
.billing-card h1 {
    font: 800 clamp(26px, 2.2vw, 34px)/1.1 Arial, sans-serif;
    margin: 0 0 22px;
}

.order-summary-card p,
.checkout-summary-card p {
    border-bottom: 1px solid #e0e5ee;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 14px 0;
}

.order-summary-card b,
.checkout-summary-card b,
.summary-total b {
    color: #0b4eb3;
}

.order-summary-card small,
.checkout-summary-card small,
.account-form p,
.account-side p {
    color: #5e6a80;
    line-height: 1.65;
}

.summary-total {
    font-size: 20px;
    font-weight: 900;
    margin: 12px 0 18px !important;
}

.clear-cart {
    background: transparent;
    border: 0;
    color: #70798c;
    cursor: pointer;
    display: block;
    font-weight: 800;
    margin: 14px auto 0;
}

.login-reminder {
    background: #fff;
    border: 1px solid #e0e5ee;
    border-radius: 14px;
    font-weight: 800;
    margin-bottom: 22px;
    padding: 14px 20px;
}

.login-reminder a {
    color: #0b4eb3;
    text-decoration: underline;
}

.billing-type {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
}

.billing-type label,
.payment-radio,
.terms-check {
    align-items: center;
    display: flex;
    gap: 10px;
    font-weight: 800;
}

.billing-type input,
.payment-radio input,
.terms-check input {
    accent-color: #0b4eb3;
    flex: 0 0 auto;
    height: 16px;
    min-height: 0;
    padding: 0;
    width: 16px;
}

.checkout-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkout-fields label {
    color: #30394d;
    font-weight: 700;
}

.checkout-fields .full {
    grid-column: 1 / -1;
}

.mini-order-head,
.mini-order-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 16px;
}

.mini-order-head {
    border-bottom: 1px solid #e0e5ee;
    font-size: 13px;
    font-weight: 900;
    padding-bottom: 14px;
    text-transform: uppercase;
}

.mini-order-line {
    align-items: center;
    border-bottom: 1px solid #e0e5ee;
    padding: 18px 0;
}

.mini-order-line img {
    float: left;
    height: 56px;
    margin-right: 12px;
    width: 56px;
}

.mini-order-line small {
    display: block;
}

.payment-note {
    background: #f6f6f7;
    border-radius: 12px;
    color: #5e6a80;
    line-height: 1.6;
    margin: 12px 0 18px;
    padding: 14px;
}

.terms-check {
    align-items: flex-start;
    font-size: 13px;
    margin-bottom: 18px;
}

.store-account-page {
    align-items: stretch;
}

.account-form label {
    display: block;
    font-weight: 800;
    margin: 16px 0;
}

.account-primary {
    background: #0b4eb3;
    color: #fff;
    border-radius: 6px;
}

.account-inline {
    width: auto;
}

.account-secondary {
    background: #fff;
    border: 1px solid #dfe4ef;
    border-radius: 6px;
    display: block;
    padding: 14px 18px;
    text-align: center;
    width: 100%;
}

.account-side {
    align-self: start;
    padding-top: 70px;
}

.account-profile,
.account-order {
    border: 1px solid #e0e5ee;
    border-radius: 14px;
    display: grid;
    gap: 14px;
    margin: 18px 0;
    padding: 16px;
}

.account-profile {
    grid-template-columns: 1fr 1fr;
}

.account-profile b,
.account-order small {
    display: block;
    color: #5e6a80;
}

.account-order {
    align-items: center;
    grid-template-columns: 1fr auto;
}

.customer-panel-page {
    align-items: start;
    background: #f5f6fa !important;
    display: grid;
    gap: 24px;
    grid-template-columns: 310px minmax(0, 1fr);
    margin: 0 auto;
    max-width: var(--site-max, 1580px);
    padding: 36px var(--site-pad, 48px) 72px;
}

.customer-sidebar {
    padding: 24px;
    position: sticky;
    top: 24px;
}

.customer-sidebar h1 {
    font: 800 clamp(30px, 2.4vw, 40px)/1.05 Arial, sans-serif;
    margin: 0 0 24px;
}

.customer-sidebar > b,
.customer-sidebar > p {
    display: block;
}

.customer-sidebar > p {
    color: #5e6a80;
    margin: 8px 0 18px;
}

.customer-sidebar nav {
    display: grid;
    gap: 10px;
}

.customer-sidebar nav a,
.customer-sidebar nav button {
    background: #fff;
    border: 1px solid #dfe4ef;
    border-radius: 7px;
    color: #30394d;
    cursor: pointer;
    display: block;
    font-weight: 900;
    padding: 14px 16px;
    text-align: left;
    width: 100%;
}

.customer-sidebar nav a:hover,
.customer-sidebar nav button:hover {
    background: #f7faff;
    border-color: #cbd8ef;
    color: #0b4eb3;
}

.customer-panel-content {
    display: grid;
    gap: 20px;
}

.customer-section {
    padding: 24px;
    scroll-margin-top: 120px;
}

.customer-section h2 {
    font: 800 clamp(24px, 2vw, 30px)/1.12 Arial, sans-serif;
    margin: 0 0 16px;
}

.customer-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-grid label {
    color: #30394d;
    font-weight: 800;
}

.customer-grid .full {
    grid-column: 1 / -1;
}

.customer-grid input,
.customer-grid textarea {
    border: 1px solid #d5deec;
    border-radius: 12px;
    display: block;
    margin-top: 7px;
    min-height: 46px;
    padding: 12px 14px;
    width: 100%;
}

.customer-action {
    align-self: end;
}

.customer-billing-type {
    margin-bottom: 18px;
}

.saved-addresses {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.saved-addresses article {
    background: #f8fbff;
    border: 1px solid #dfe7f4;
    border-radius: 14px;
    padding: 14px 16px;
}

.saved-addresses b,
.saved-addresses span {
    display: block;
}

.saved-addresses span,
.saved-addresses p {
    color: #5e6a80;
}

.saved-addresses p {
    margin: 8px 0 0;
}

.customer-panel-page .success,
.customer-panel-page .error {
    border-radius: 14px;
    padding: 14px 16px;
}

@media(max-width: 980px) {
    .store-flow-grid,
    .store-account-page {
        grid-template-columns: 1fr;
    }

    .cart-table-head {
        display: none;
    }

    .cart-line-pro {
        grid-template-columns: 1fr;
        padding-left: 30px;
    }

    .cart-product {
        padding-left: 0;
    }

    .checkout-fields,
    .account-profile {
        grid-template-columns: 1fr;
    }

    .customer-panel-page {
        grid-template-columns: 1fr;
    }

    .customer-sidebar {
        position: static;
    }

    .customer-grid {
        grid-template-columns: 1fr;
    }
}
