/* ============================================
   CHECKOUT REDESIGN - Modern 3-Step Checkout
   ============================================ */

/* ---- CSS Reset for checkout pages ---- */
body#order,
body#authentication {
    background: #f5f5f5;
    overflow-x: hidden;
}
body#order #columns,
body#authentication #columns {
    background: transparent;
    padding-bottom: 40px;
}
body#order #center_column,
body#authentication #center_column {
    background: transparent;
}

#order-opc .opc-main-block,
#order-opc .page-heading.step-num {
    display: none;
}

/* ---- 3-Step Progress Bar ---- */
.checkout-steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 420px;
    margin: 0 auto 36px;
    padding: 0;
}

.checkout-steps-bar .step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.checkout-steps-bar .step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
    transition: all 0.3s ease;
}

.checkout-steps-bar .step-item.todo .step-circle {
    background: #f0ece6;
    color: #b0a898;
    border: 2px solid #e0dad2;
}

.checkout-steps-bar .step-item.active .step-circle {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.checkout-steps-bar .step-item.done .step-circle {
    background: #000;
    color: #fff;
    border: 2px solid #000;
}

.checkout-steps-bar .step-label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #b0a898;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-steps-bar .step-item.active .step-label {
    color: #000;
}
.checkout-steps-bar .step-item.done .step-label {
    color: #555;
}

.checkout-steps-bar .step-line {
    flex: 1;
    height: 2px;
    background: #e0dad2;
    margin: 0 -8px;
    margin-bottom: 22px;
    z-index: 1;
}

.checkout-steps-bar .step-line.done {
    background: #000;
}

/* ---- Checkout Layout ---- */
.checkout-page-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin-top: 28px;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

/* ---- Checkout USP Bar ---- */
.checkout-usp-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-bottom: 24px;
    padding: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.checkout-usp {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #888;
    white-space: nowrap;
}
.checkout-usp svg {
    flex-shrink: 0;
    opacity: 0.6;
}
/* ---- Checkout & Cart Alert Messages ---- */
.alert {
    border: none !important;
    border-radius: 10px !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-bottom: 20px !important;
    line-height: 1.5 !important;
}
.alert p {
    margin: 0 !important;
    padding: 0 !important;
}
.alert-danger {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border-left: 4px solid #dc2626 !important;
}
.alert-success, .voucher-success-msg {
    background: #f0fdf4 !important;
    color: #166534 !important;
    border-left: 4px solid #16a34a !important;
}
.alert-warning {
    background: #fffbeb !important;
    color: #92400e !important;
    border-left: 4px solid #f59e0b !important;
}

.checkout-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.checkout-main {
    flex: 1;
    min-width: 0;
}

.checkout-sidebar {
    width: 370px;
    flex-shrink: 0;
}

/* ---- Express Checkout Block ---- */
.checkout-express-block {
    background: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
}
.checkout-express-header {
    margin-bottom: 12px;
}
.checkout-express-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}
.checkout-express-buttons {
    margin-bottom: 16px;
}
.checkout-express-buttons .trust-payment_options {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: none;
}
.checkout-express-buttons .express-checkout-header {
    display: none;
}
.checkout-express-buttons .express-checkout-options {
    display: flex;
    gap: 12px;
    /* align-items: stretch; */
}
.checkout-express-buttons .st-gpay-container,
.checkout-express-buttons .st-apple-pay-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.checkout-express-buttons .st-gpay-container #st-google-pay,
.checkout-express-buttons .st-apple-pay-container #st-apple-pay {
    flex: 1;
    /* display: flex; */
}
.checkout-express-buttons .st-apple-pay-container #st-apple-pay {
    margin-top: 0 !important;
}
.checkout-express-buttons #st-apple-pay apple-pay-button {
    /* --apple-pay-button-height: 100%;
    min-height: 48px; */
}
.checkout-express-buttons #gpay-button-online-api-id {
    /* min-height: 48px; */
    /* height: 100% !important; */
    border-radius: 6px;
}
.checkout-express-buttons .st-control-frame-iframe {
    display: none;
}
.checkout-express-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #999;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.checkout-express-divider::before,
.checkout-express-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

/* ---- Checkout Panels ---- */
.checkout-panel {
    border: none;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 12px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
}

.checkout-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkout-panel-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-panel-header .checkmark {
    color: #22c55e;
    font-size: 16px;
}

.checkout-panel-header .edit-link {
    font-size: 13px;
    color: #666;
    text-decoration: underline;
    cursor: pointer;
}

.checkout-panel-header .edit-link:hover {
    color: #111;
}

/* ---- Step 1: Details (Guest/Login) ---- */
.checkout-step-details {
    display: none;
}

.checkout-step-details.active {
    display: block;
}

.details-tabs {
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 30px;
}

.details-tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.details-tab.active {
    color: #333;
    border-bottom-color: #333;
    background: #f8f8f8;
}

.details-tab:hover {
    color: #333;
}

.details-guest-form,
.details-login-form {
    display: none;
    padding: 20px 0;
}

.details-guest-form.active,
.details-login-form.active {
    display: block;
}

/* ---- Form Styles ---- */
.checkout-form-group {
    margin-bottom: 16px;
}

.checkout-form-row {
    display: flex;
    gap: 12px;
}

.checkout-form-row .checkout-form-group {
    flex: 1;
}

.checkout-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.checkout-form-group label .required-star {
    color: #e74c3c;
    font-weight: 400;
}

.checkout-form-group input[type="text"],
.checkout-form-group input[type="email"],
.checkout-form-group input[type="password"],
.checkout-form-group input[type="tel"],
.checkout-form-group select,
.checkout-form-group textarea {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    padding: 13px 14px !important;
    border: 1.5px solid #d4d4d4 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    color: #111 !important;
    background: #fff !important;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.checkout-form-group input:focus,
.checkout-form-group select:focus,
.checkout-form-group textarea:focus {
    border-color: #111 !important;
    background: #fff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06) !important;
}

.checkout-form-group input::placeholder {
    color: #b0b0b0;
    font-weight: 400;
}

.checkout-form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding-right: 40px !important;
    cursor: pointer;
}

.checkout-form-group .address-search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.checkout-form-group .input-with-icon {
    position: relative;
}

/* Panel title */
.checkout-panel-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: none;
}

/* Completed Details panel (logged-in) */
.checkout-panel--compact {
    padding: 16px 32px !important;
    background: #fafafa !important;
}
.checkout-panel-userinfo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}
.checkout-panel-user {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}
.checkout-panel-switch {
    font-size: 12px;
    color: #aaa;
    text-decoration: underline;
    transition: color 0.15s;
}
.checkout-panel-switch:hover {
    color: #111;
}

/* ---- Checkbox Styles ---- */
.checkout-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    font-size: 14px;
    color: #333;
}

.checkout-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #111;
    border-radius: 4px;
    cursor: pointer;
}
.checkout-checkbox label {
    cursor: pointer;
    font-weight: 400;
}

/* ---- Button Styles ---- */
.checkout-btn {
    display: block;
    width: 100%;
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
        background: #000;
    color: #fff;
}

.checkout-btn-primary {
    background: #000;
    color: #fff;
}

.checkout-btn-primary:hover {
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Global button loading state */
.checkout-btn--loading {
    pointer-events: none;
    opacity: 0.8;
    position: relative;
    color: transparent !important;
}
.checkout-btn--loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btnSpin 0.6s linear infinite;
}
@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

.checkout-btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.checkout-btn-pay {
    background: #c17f24;
    color: #fff;
}

.checkout-btn-pay:hover {
    background: #a86d1e;
    color: #fff;
    text-decoration: none;
}

.checkout-helper-text {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 16px;
}

.checkout-secure-text {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.checkout-secure-text i {
    font-size: 14px;
}

/* ---- Guest Checkout - Login Prompt ---- */
.checkout-login-prompt__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.checkout-login-prompt__text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}
.checkout-login-prompt__btn {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.checkout-login-prompt__btn:hover {
    color: #000;
}
.checkout-login-form {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.checkout-login-form__fields {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.checkout-login-form__fields .checkout-form-group {
    flex: 1;
    margin-bottom: 0;
}
.checkout-login-form__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.checkout-login-form__forgot {
    font-size: 13px;
    color: #888;
}
.checkout-login-form__forgot:hover {
    color: #333;
}
.checkout-btn--sm {
    display: inline-block;
    width: auto;
    padding: 10px 24px;
    font-size: 14px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}
.checkout-btn--sm:hover {
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
}

/* Guest checkout form */
.checkout-guest-form .checkout-form-row--half {
    display: flex;
    gap: 12px;
}
.checkout-guest-form .checkout-form-row--half .checkout-form-group {
    flex: 1;
}
.checkout-form-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 0 20px;
}
.checkout-form-group .required {
    color: #e53e3e;
}
.checkout-form-actions {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .checkout-login-form__fields {
        flex-direction: column;
        gap: 0;
    }
    .checkout-guest-form .checkout-form-row--half {
        flex-direction: column;
        gap: 0;
    }
}

/* ---- Order Summary Sidebar ---- */
.order-summary-sidebar {
    border: none;
    border-radius: 16px;
    padding: 24px;
    background: #fafafa;
    position: sticky;
    top: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
}

.order-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.order-summary-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.order-summary-header .item-count {
    font-size: 13px;
    font-weight: 400;
    color: #888;
}

.order-summary-toggle {
    font-size: 12px;
    color: #666;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 4px 12px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s;
}
.order-summary-toggle:hover {
    border-color: #999;
    color: #333;
}

.order-summary-items {
    /* border-bottom: 1px solid #e8e8e8;
    padding-bottom: 16px; */
    margin-bottom: 16px;
}

.order-summary-item {
    display: flex;
    gap: 12px;
    padding: 8px 0;
}

.order-summary-item-image {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.order-summary-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-summary-item-details {
    flex: 1;
}

.order-summary-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin-bottom: 3px;
    line-height: 1.35;
}

.order-summary-item-qty {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.order-summary-item-attrs {
    font-size: 11px;
    color: #999;
    line-height: 1.4;
}
.order-summary-item-availability {
    font-size: 11px;
    color: #16a34a;
    margin-top: 3px;
    line-height: 1.3;
    font-weight: 500;
}

/* Promo Code in Sidebar */
.checkout-promo-sidebar {
    border-top: 1px solid #e8e8e8;
    padding-top: 14px;
    margin-bottom: 14px;
}

.checkout-promo-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    padding: 4px 0;
    user-select: none;
}

.checkout-promo-toggle:hover {
    color: #111;
}

.checkout-promo-toggle span:first-child {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.checkout-promo-arrow {
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    color: #888;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-promo-form {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
    padding: 0;
}

.checkout-promo-form.open {
    max-height: 200px;
    padding-top: 10px;
}

.checkout-promo-input-row {
    display: flex;
    gap: 8px;
}

.checkout-promo-input-row input[type="text"] {
    flex: 1;
    border: 1.5px solid #d4d4d4;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
}

.checkout-promo-input-row input[type="text"]:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.checkout-promo-apply-btn {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.checkout-promo-apply-btn:hover {
    background: #333;
}
.checkout-promo-apply-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}
.checkout-promo-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: promoSpin 0.6s linear infinite;
    vertical-align: middle;
}
@keyframes promoSpin {
    to { transform: rotate(360deg); }
}
.checkout-promo-msg {
    display: none;
}
.checkout-promo-msg--error {
    display: block;
    background: #fef2f2;
    color: #dc2626;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
    border: 1px solid #fecaca;
}
.checkout-promo-msg--success {
    display: block;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #bbf7d0;
}

/* Applied Vouchers */
.checkout-applied-vouchers {
    padding: 10px 0;
    border-top: 1px solid #e8e8e8;
}
.checkout-applied-voucher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    margin-bottom: 6px;
}
.checkout-applied-voucher:last-child {
    margin-bottom: 0;
}
.checkout-applied-voucher__info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.checkout-applied-voucher__code {
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
    white-space: nowrap;
}
.checkout-applied-voucher__value {
    font-size: 12px;
    color: #555;
    margin-left: auto;
}
.checkout-applied-voucher__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #999;
    margin-left: 6px;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.checkout-applied-voucher__remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Summary Totals */
.order-summary-totals {
    padding-top: 0;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 13px;
    color: #555;
}

.order-summary-row.savings .order-summary-value {
    color: #dc2626;
}

.order-summary-row.total {
    border-top: 1.5px solid #ddd;
    margin-top: 10px;
    padding-top: 14px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.order-summary-row.deposit {
    padding-top: 8px;
    font-size: 14px;
    color: #666;
}

.order-summary-row.deposit .order-summary-value {
    font-weight: 600;
    color: #333;
}

.order-summary-balance-link {
    text-align: right;
    margin-top: 4px;
    font-size: 13px;
    color: #666;
}

.order-summary-balance-link a {
    color: #333;
    text-decoration: underline;
}

/* ---- Step Sections ---- */
.checkout-step-section {
    display: none;
}

.checkout-step-section.active {
    display: block;
}

/* Completed step summary */
.step-completed-summary {
    display: none;
}

.step-completed-summary.visible {
    display: block;
}

/* ============================================
   Cart Page - Nursery Retailer Design
   Warm, family-friendly, trustworthy
   ============================================ */

/* Nursery color variables (used via direct values below) */
/* Primary: #2d5f6e (warm teal)  Accent: #e8927c (soft coral)
   Warm BG: #faf8f5 (cream)      Soft BG: #f0ece6 (warm grey)
   Success: #3a8a6d (sage green)  Text: #2c3e3e (warm dark) */

/* Page background override */
body#order #columns {
    background: #faf8f5;
}
body#order #center_column {
    background: transparent;
}

/* Page title */
.cart-page-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #2c3e3e;
    margin: 10px 0 32px;
    letter-spacing: -0.3px;
    line-height: 1.3;
}
.cart-page-title .cart-page-count {
    font-weight: 400;
    color: #8a9a9a;
    font-size: 22px;
}

/* Layout */
.cart-wrapper {
    display: flex;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}
.cart-main {
    flex: 1;
    min-width: 0;
}
.cart-sidebar {
    width: 400px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}
/* Supplementary section inside cart-main - 2-col grid on desktop */
.cart-supplementary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 8px;
}
.cart-supplementary .cart-continue-shopping {
    grid-column: 1 / -1;
}
.cart-supplementary .cart-recently-viewed {
    grid-column: 1 / -1;
}

/* ---- Product Card ---- */
.cart-card {
    position: relative;
    display: flex;
    gap: 22px;
    padding: 22px;
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid #e8e2da;
    border-radius: 14px;
    transition: all 0.25s ease;
}
.cart-card:hover {
    border-color: #d4ccc2;
    box-shadow: 0 6px 24px rgba(45,95,110,0.07);
}
.cart-card--custom {
    padding: 12px 22px;
    background: #faf8f5;
    border-radius: 0 0 14px 14px;
    margin-top: -14px;
    border-top: none;
}

/* Remove X */
.cart-card__remove {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #c4b8ab;
    text-decoration: none;
    transition: all 0.2s;
    z-index: 2;
}
.cart-card__remove:hover {
    background: #fef2f2;
    color: #e8927c;
    transform: scale(1.1);
}

/* Image */
.cart-card__img {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
    background: #f5f1ec;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.cart-card__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.cart-card__img a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Body */
.cart-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cart-card__top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.cart-card__details {
    flex: 1;
    min-width: 0;
}

/* Name */
.cart-card__name {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e3e;
    margin: 0 0 8px;
    line-height: 1.45;
    padding-right: 30px;
}
.cart-card__name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}
.cart-card__name a:hover {
    color: #2d5f6e;
}

/* Attributes */
.cart-card__attrs {
    font-size: 12px;
    color: #7a8a8a;
    margin-bottom: 8px;
    background: #f0ece6;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.2px;
}

/* Delivery */
.cart-card__delivery {
    font-size: 12px;
    color: #3a8a6d;
    font-weight: 600;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    background: #eef7f1;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.2px;
}
.cart-card__delivery svg {
    color: #3a8a6d;
}

/* Pricing */
.cart-card__pricing {
    text-align: right;
    flex-shrink: 0;
    padding-top: 0;
}
.cart-card__price {
    display: block;
    font-size: 19px;
    font-weight: 700;
    color: #2c3e3e;
    letter-spacing: -0.3px;
}
.cart-card__was {
    display: block;
    font-size: 13px;
    color: #c4b8ab;
    text-decoration: line-through;
    margin-top: 4px;
}
.cart-card__gift {
    color: #3a8a6d;
    font-weight: 700;
    font-size: 15px;
}

/* Bottom row */
.cart-card__bottom {
    margin-top: 0;
    padding-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Quantity */
.cart-card__qty {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e8e2da;
    border-radius: 10px;
    overflow: hidden;
    height: 38px;
    background: #fff;
}
.cart-card__qty-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #7a8a8a;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.15s;
    line-height: 1;
    cursor: pointer;
    border: none;
    font-weight: 500;
}
.cart-card__qty-btn:hover {
    background: #f0ece6;
    color: #2d5f6e;
    text-decoration: none;
}
.cart-card__qty-input {
    width: 42px;
    height: 38px;
    border: none;
    border-left: 2px solid #e8e2da;
    border-right: 2px solid #e8e2da;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #2c3e3e;
    background: #faf8f5;
    -moz-appearance: textfield;
}
.cart-card__qty-input::-webkit-outer-spin-button,
.cart-card__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Boori notice */
.cart-card__boori-notice {
    color: #d46b5a;
    font-size: 12px;
    margin-top: 4px;
}

/* Bundle */
.cart-card__bundle {
    margin-top: 12px;
    border-top: 1px dashed #e8e2da;
    padding-top: 12px;
}
.cart-card__bundle summary {
    font-size: 13px;
    color: #8a9a9a;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: color 0.15s;
}
.cart-card__bundle summary:hover {
    color: #2d5f6e;
}
.cart-card__bundle summary::-webkit-details-marker {
    display: none;
}
.cart-card__bundle summary::after {
    content: '\25BC';
    font-size: 9px;
    color: #c4b8ab;
    transition: transform 0.25s;
    margin-left: auto;
}
.cart-card__bundle[open] summary::after {
    transform: rotate(180deg);
}
.cart-card__bundle-content {
    padding-top: 10px;
    font-size: 13px;
    color: #5a6e6e;
    line-height: 1.6;
}

/* Discount rows */
.cart-discount-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #eef7f1 0%, #e8f5ec 100%);
    border: 1px solid #c5e5d0;
    border-radius: 12px;
}
.cart-discount-row__badge {
    display: inline-block;
    background: #2d5f6e;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.cart-discount-row__name {
    margin-left: 12px;
    font-size: 14px;
    color: #2c3e3e;
    font-weight: 500;
}
.cart-discount-row__right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cart-discount-row__value {
    color: #3a8a6d;
    font-weight: 700;
    font-size: 15px;
}
.cart-discount-row__delete {
    color: #e8927c;
    opacity: 0.5;
    transition: opacity 0.15s;
}
.cart-discount-row__delete:hover {
    opacity: 1;
}

/* ---- Continue Shopping Link ---- */
.cart-continue-shopping {
    margin-top: 8px;
    margin-bottom: 24px;
}
.cart-continue-shopping__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    transition: color 0.15s;
}
.cart-continue-shopping__link:hover {
    color: #111;
}
.cart-continue-shopping__link svg {
    transition: transform 0.15s;
}
.cart-continue-shopping__link:hover svg {
    transform: translateX(-3px);
}

/* ---- Why Shop With Us - Trust Section ---- */
.cart-trust-section {
    background: #fff;
    border: 1px solid #e8e2da;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(45,95,110,0.05);
        grid-column: 1 / -1;
}
.cart-trust-section__title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e3e;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0ece6;
}
.cart-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.cart-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.cart-trust-item__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdf4;
    border-radius: 10px;
}
.cart-trust-item__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cart-trust-item__text strong {
    font-size: 13px;
    font-weight: 600;
    color: #222;
}
.cart-trust-item__text span {
    font-size: 12px;
    color: #888;
    line-height: 1.3;
}

/* ---- Next Day Delivery Countdown Banner ---- */
.cart-countdown-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fbbf24;
    border-radius: 12px;
    margin-bottom: 14px;
}
.cart-countdown-banner--info {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-color: #93c5fd;
}
.cart-countdown-banner--info .cart-countdown-banner__icon svg {
    stroke: #2563eb;
}
.cart-countdown-banner__icon {
    flex-shrink: 0;
}
.cart-countdown-banner__text {
    font-size: 14px;
    color: #92400e;
    line-height: 1.4;
}
.cart-countdown-banner--info .cart-countdown-banner__text {
    color: #1e40af;
}
.cart-countdown-timer {
    color: #b45309;
    font-variant-numeric: tabular-nums;
    font-size: 15px;
}

/* ---- Social Proof / Trustpilot ---- */
.cart-social-proof {
    background: #fff;
    border: 1px solid #e8e2da;
    border-radius: 16px;
    padding: 20px 24px;
    margin-top: 14px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(45,95,110,0.05);
}
.cart-social-proof__stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}
.cart-social-proof__text {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}
.cart-social-proof__text strong {
    color: #111;
}
.cart-social-proof__quotes {
    border-top: 1px solid #f0ece6;
    padding-top: 12px;
}
.cart-social-proof__quote {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cart-social-proof__quote-text {
    font-size: 13px;
    color: #666;
    font-style: italic;
    line-height: 1.4;
}
.cart-social-proof__quote-author {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

/* ---- Recently Viewed Products ---- */
.cart-recently-viewed {
    background: #fff;
    border: 1px solid #e8e2da;
    border-radius: 16px;
    padding: 24px 28px;
    margin-top: 14px;
    box-shadow: 0 2px 12px rgba(45,95,110,0.05);
}
.cart-recently-viewed__title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e3e;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0ece6;
}
.cart-recently-viewed__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.cart-recently-viewed__item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f0ece6;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.cart-recently-viewed__item:hover {
    border-color: #d4d4d4;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cart-recently-viewed__img {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f9f9f9;
}
.cart-recently-viewed__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cart-recently-viewed__info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cart-recently-viewed__name {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cart-recently-viewed__price {
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

/* ---- Estimated Delivery in Sidebar ---- */
.cart-summary__delivery-estimate {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0 0;
    margin-top: 4px;
    font-size: 13px;
    color: #16a34a;
    border-top: 1px dashed #e8e2da;
}
.cart-summary__delivery-estimate strong {
    color: #15803d;
}

/* ---- Order Summary Sidebar ---- */
.cart-summary {
    background: #fff;
    border: 1px solid #e8e2da;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(45,95,110,0.05);
}
.cart-summary__title {
    font-size: 19px;
    font-weight: 700;
    color: #2c3e3e;
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0ece6;
    letter-spacing: -0.2px;
}

/* Summary rows */
.cart-summary__rows {
    padding-bottom: 16px;
    border-bottom: 1px solid #f0ece6;
    margin-bottom: 0;
}
.cart-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #5a6e6e;
}
.cart-summary__row span:first-child {
    font-weight: 500;
}
.cart-summary__row span:last-child {
    font-weight: 700;
    color: #2c3e3e;
    font-size: 15px;
}
.cart-summary__row--green span:last-child {
    color: #3a8a6d;
}
.cart-summary__free-ship {
    color: #3a8a6d !important;
    font-weight: 700 !important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: #eef7f1;
    padding: 3px 10px;
    border-radius: 20px;
}

/* Promo */
.cart-summary__promo {
    border-bottom: 1px solid #f0ece6;
}
.cart-summary__promo-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    cursor: pointer;
    font-size: 14px;
    color: #5a6e6e;
    font-weight: 500;
    transition: color 0.15s;
}
.cart-summary__promo-toggle:hover {
    color: #2d5f6e;
}
.cart-summary__promo-arrow {
    font-size: 20px;
    font-weight: 300;
    color: #c4b8ab;
    line-height: 1;
    transition: transform 0.2s;
}
.cart-summary__promo-form {
    display: none;
    padding: 0 0 16px;
}
.cart-summary__promo-form.open {
    display: block;
}
.cart-summary__promo-input-row {
    display: flex;
    gap: 8px;
}
.cart-summary__promo-input-row input[type="text"] {
    flex: 1;
    padding: 9px 14px;
    border: 2px solid #e8e2da;
    border-radius: 10px;
    font-size: 14px;
    color: #2c3e3e;
    outline: none;
    transition: border-color 0.2s;
    background: #faf8f5;
}
.cart-summary__promo-input-row input[type="text"]:focus {
    border-color: #2d5f6e;
    background: #fff;
}
.cart-summary__promo-input-row button#submitAddDiscount {
    padding: 11px 22px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    height: auto !important;
    line-height: normal !important;
}
.cart-summary__promo-input-row button:hover {
    background: #222;
    transform: translateY(-1px);
}

/* Total */
.cart-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 18px 0 6px;
}
.cart-summary__total span:first-child {
    font-size: 17px;
    font-weight: 700;
    color: #2c3e3e;
}
.cart-summary__total span:last-child {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e3e;
    letter-spacing: -0.3px;
}
.cart-summary__vat {
    text-align: right;
    font-size: 12px;
    color: #8a9a9a;
    margin: 0 0 18px;
    font-weight: 500;
}

body#order .cart-wrapper{
    margin-bottom: 35px;
}
/* Checkout button */
.cart-summary__checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(45,95,110,0.2);
}
.cart-summary__checkout-btn:hover {
    background: #245a5a;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45,95,110,0.28);
}
.cart-summary__checkout-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(45,95,110,0.15);
}

/* Trust badges row */
.cart-summary__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    padding: 12px 0;
    flex-wrap: wrap;
}
.cart-summary__trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #7a8a8a;
    font-weight: 500;
    white-space: nowrap;
}
.cart-summary__trust-item svg {
    flex-shrink: 0;
}

/* Payment icons */
.cart-summary__payments {
    margin-top: 14px;
    text-align: center;
    padding-top: 14px;
    border-top: 1px solid #f0ece6;
}
.cart-summary__payments-label {
    font-size: 11px;
    color: #8a9a9a;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    font-weight: 600;
}
.cart-summary__payment-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.cart-summary__payment-icons li {
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.15s;
}
.cart-summary__payment-icons li:hover {
    opacity: 1;
}
.cart-summary__payment-icons svg {
    border-radius: 4px;
}

/* Spread cost & hooks */
.cart-spread-cost {
    max-width: 1200px;
    margin: 20px auto 0;
}
.cart-spread-cost fieldset {
    border: 1px solid #e8e2da;
    border-radius: 14px;
    padding: 22px 26px;
    background: #fff;
}
.cart-spread-cost legend {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e3e;
    padding: 0 10px;
}
.cart-hook-area {
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- Payment Step ---- */
/* ============================================
   Payment Step - Modern Redesign
   ============================================ */

/* Kill global.css: .paiement_block { background:#f0f2f4; width:50%; float:left } */
body#order .paiement_block {
    background: none !important;
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    border: none !important;
    font-size: 14px !important;
    color: #2c3e3e !important;
}

body#order .paiement_block h2 {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
    color: #2c3e3e !important;
}

/* Payment module cards */
body#order p.payment_module {
    display: block !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
    border: none !important;
    position: relative;
}

body#order p.payment_module a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #e8e2da !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2c3e3e !important;
    letter-spacing: 0 !important;
    line-height: 1.4 !important;
    background: #fff !important;
    background-image: none !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    cursor: pointer;
}

body#order p.payment_module a:hover {
    border-color: #2d5f6e !important;
    background: #faf8f5 !important;
    box-shadow: 0 2px 12px rgba(45,95,110,0.1);
}

/* Kill old arrow pseudo-elements */
body#order p.payment_module a.cheque::after,
body#order p.payment_module a.bankwire::after,
body#order p.payment_module a.cash::after {
    display: none !important;
}

/* Payment module images/logos */
body#order p.payment_module a img {
    max-height: 28px;
    width: auto;
    flex-shrink: 0;
}

/* Klarna specific - kill padding-left */
body#order p.payment_module.payment_module_klarna a {
    padding-left: 20px !important;
}

body#order p.payment_module.bankwire a {
    padding-left: 20px !important;
    background-image: none !important;
}

body#order p.payment_module.bankwire a img {
    margin-right: 0 !important;
}

/* Active/selected payment module */
body#order p.payment_module a.selected,
body#order p.payment_module.active a {
    border-color: #2d5f6e !important;
    background: #f0f9f6 !important;
}

/* Payment module span */
body#order p.payment_module a span {
    font-weight: 600 !important;
    color: #2c3e3e !important;
}

/* Trust Payments / card payment iframe area */
body#order .payment_module .box,
body#order .payment_module.box {
    margin-top: 0 !important;
    border: 2px solid #e8e2da;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
}

/* Place Order / Pay button - any button inside payment area */
body#order #HOOK_PAYMENT input[type="submit"],
body#order #HOOK_PAYMENT button[type="submit"],
body#order .paiement_block input[type="submit"],
body#order .paiement_block button[type="submit"],
body#order .place-order-btn,
body#order #payment-confirmation button,
body#order .ps_checkout-express-button,
body#order .payment_module button {
    display: block !important;
    width: 100% !important;
    padding: 16px 24px !important;
    background: #000 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: all 0.25s;
    float: none !important;
    line-height: 1.4 !important;
    height: auto !important;
    margin-top: 12px;
}

body#order #HOOK_PAYMENT input[type="submit"]:hover,
body#order #HOOK_PAYMENT button[type="submit"]:hover,
body#order .place-order-btn:hover {
    background: #012d46 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Terms text */
.terms-text {
    text-align: center;
    font-size: 13px;
    color: #8a9a9a;
    margin-top: 16px;
    padding: 14px 20px;
    background: #faf8f5;
    border-radius: 10px;
    border: 1px solid #e8e2da;
}

.terms-text a {
    color: #2d5f6e;
    font-weight: 600;
    text-decoration: underline;
}

.terms-text a:hover {
    color: #023B5A;
}

/* Hide PS checkout separator */
body#order .ps_checkout-express-separator {
    display: none !important;
}

/* PayPal buttons within checkout */
body#order .paypal-buttons-layout-horizontal {
    margin-bottom: 10px;
}

/* Checkout panel heading on payment page */
body#order .checkout-panel h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e3e;
    margin: 0 0 20px;
}

/* CKO / Card payment iframe */
body#order iframe.cko-iframe {
    width: 100%;
    max-width: 100%;
    border: none;
    border-radius: 8px;
}

/* Trust Payments iframe */
body#order #st-notification-frame,
body#order .trustpayments-iframe {
    border-radius: 8px;
    overflow: hidden;
}

/* ---- Hide old elements ---- */
#order-opc .stepsmain,
#order-opc #order_step,
.stepsmain,
#order_step {
    display: none !important;
}

/* Hide old page heading on payment page */
body#order .page-heading {
    display: none !important;
}

/* ---- Carrier/Delivery page styles ---- */
/* ============================================
   Carrier / Delivery Step - Modern Redesign
   ============================================ */

/* Kill global.css: #carrier_area { width:50%; float:left } */
body#order #carrier_area {
    width: 100% !important;
    float: none !important;
}

/* Main content wrapper - no card styling, already inside .checkout-panel */
body#order #carrier_area .order_carrier_content {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 0;
    box-shadow: none;
}

/* ---- Address Cards ---- */
body#order #carrier_area .delivery_address {
    padding: 0 !important;
    line-height: 1.6 !important;
}

body#order #carrier_area .delivery_address .row {
    display: flex !important;
    gap: 20px;
}

body#order #carrier_area .delivery_address .col-xs-12.col-md-6 {
    flex: 1;
    background: #faf8f5;
    border: 2px solid #e8e2da;
    border-radius: 12px;
    padding: 24px !important;
}

body#order #carrier_area .delivery_address h2 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #2d5f6e !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

body#order #carrier_area .delivery_address span {
    font-size: 14px;
    color: #2c3e3e;
    line-height: 1.6;
}

/* Edit/change address link - kill global.css height:30px, line-height:26px */
body#order #carrier_area .delivery_address a.button_mini,
body#order #carrier_area .delivery_address a.button_mini.graylarge {
    display: inline-block !important;
    padding: 8px 18px !important;
    border: 2px solid #2d5f6e !important;
    border-radius: 8px !important;
    color: #2d5f6e !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    background: #fff !important;
    margin-top: 12px;
    transition: all 0.2s;
    height: auto !important;
    line-height: 1.4 !important;
    float: none !important;
    clear: none !important;
}

body#order #carrier_area .delivery_address a.button_mini:hover,
body#order #carrier_area .delivery_address a.button_mini.graylarge:hover {
    background: #2d5f6e !important;
    color: #fff !important;
}

/* Billing same as shipping checkbox */
body#order #carrier_area #billingoptioncarrier {
    accent-color: #2d5f6e;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 6px;
}

/* ---- Delivery Options Section ---- */
body#order #carrier_area .delivery_options_block {
    margin-top: 24px;
    background: none !important;
    padding: 0 !important;
}

body#order #carrier_area .delivery_options_block > div[style] {
    background-color: transparent !important;
}

body#order #carrier_area h2.carrier_title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #2c3e3e !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

body#order #carrier_area .delivery_options {
    border: none !important;
}

.carrier-card__body{
   margin-bottom: 0 !important;
}

/* Individual carrier option cards */
body#order #carrier_area .delivery_option {
    display: flex !important;
    align-items: center;
    border: 2px solid #e8e2da !important;
    border-radius: 12px !important;
    padding: 7px 20px !important;
    margin-bottom: 12px !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff !important;
    background-image: none !important;
    overflow: visible;
    position: relative;
        gap: 18px;
}

body#order  #carrier_area .carrier-card.hidden,
body#order  #carrier_area .delivery_option.hidden {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}



body#order #carrier_area .delivery_option:hover {
    border-color: #2d5f6e !important;
    box-shadow: 0 2px 12px rgba(45,95,110,0.1);
}

body#order #carrier_area .delivery_option.selected {
    border-color: #2d5f6e !important;
    background: #f0f9f6 !important;
    box-shadow: 0 2px 12px rgba(45,95,110,0.12);
    padding: 4px 17px !important;
    gap: 20px;
}

/* Radio button - inline left */
body#order #carrier_area .delivery_option_radio {
    accent-color: #2d5f6e;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    float: none !important;
    flex-shrink: 0;
    cursor: pointer;
}

/* Carrier label - takes remaining space */
body#order #carrier_area .delivery_option label {
    display: block !important;
    flex: 1;
    padding: 0 0 0 14px !important;
    margin: 0 !important;
    cursor: pointer;
    background: none !important;
    background-image: none !important;
    position: relative;
}

/* Cheapest/quickest badges */
body#order #carrier_area .delivery_option label.cheapest::before,
body#order #carrier_area .delivery_option label.quickest::before {
    position: absolute;
    top: -8px;
    right: 0;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
}

body#order #carrier_area .delivery_option label.cheapest::before {
    content: 'Best Value' !important;
    background: #3a8a6d !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    top: -10px;
    right: 0;
}

body#order #carrier_area .delivery_option label.quickest::before {
    content: 'Fastest' !important;
    background: #2d5f6e !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    top: -10px;
    right: 0;
}

/* Resume table inside label */
body#order #carrier_area .delivery_option table.resume {
    border: none !important;
    background: none !important;
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

body#order #carrier_area .delivery_option table.resume td {
    border: none !important;
    padding: 0 !important;
    background: none !important;
    vertical-align: middle;
}

/* Delivery option title */
body#order #carrier_area .delivery_option .delivery_option_title {
    font-size: 15px;
    color: #2c3e3e;
}

body#order #carrier_area .delivery_option .delivery_option_title strong {
    font-weight: 700;
    font-size: 16px;
    color: #2c3e3e;
    display: block;
    margin-bottom: 2px;
}

/* Shipping price */
body#order #carrier_area .delivery_option .shipping-price {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e3e;
    display: block;
    margin-top: 2px;
}

body#order #carrier_area .delivery_option .shipping-price.free-shipping {
    color: #3a8a6d;
    font-weight: 700;
}

/* Hide the secondary carrier detail table */
body#order #carrier_area .delivery_option table.delivery_option_carrier.not-displayable {
    display: none !important;
}

/* Delivery time estimate */
body#order #carrier_area .delivery-timeselected {
    font-size: 13px;
    color: #3a8a6d;
    font-weight: 500;
    padding: 8px 0 4px;
}

/* Carrier option logo images */
body#order #carrier_area .delivery_option td img {
    max-width: 50px;
    max-height: 40px;
}

/* ---- Notes/Message Section ---- */
body#order #carrier_area #ordermsg {
    margin-top: 24px;
    background: #fff;
    border: 1px solid #e8e2da;
    border-radius: 14px;
    padding: 24px 36px;
    box-shadow: 0 2px 16px rgba(45,95,110,0.06);
}

body#order #carrier_area #ordermsg h2 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #2c3e3e !important;
    margin: 0 0 12px !important;
    border: none !important;
    background: none !important;
}

body#order #carrier_area #ordermsg h2 span {
    font-weight: 400;
    color: #8a9a9a;
    font-size: 14px;
}

body#order #carrier_area textarea,
body#order #carrier_area textarea#message {
    width: 100% !important;
    padding: 13px 16px !important;
    border: 2px solid #e8e2da !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #2c3e3e !important;
    background: #faf8f5 !important;
    box-sizing: border-box !important;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    min-height: 80px;
}

body#order #carrier_area textarea:focus {
    border-color: #2d5f6e !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(45,95,110,0.1) !important;
}

/* ---- Continue Checkout Button ---- */
body#order #carrier_area .submitcarrier {
    margin-top: 24px;
}

body#order #carrier_area .submitcarrier button,
body#order #carrier_area #processCarrier {
    display: block !important;
    width: 100% !important;
    padding: 16px 24px !important;
    background: #000 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: all 0.25s;
    float: none !important;
    line-height: 1.4 !important;
    height: auto !important;
}

body#order #carrier_area .submitcarrier button:hover,
body#order #carrier_area #processCarrier:hover {
    background: #012d46 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Hide old cart_navigation on carrier page */
body#order #carrier_area .cart_navigation {
    display: none !important;
}

/* ---- Address Edit Form (shown when phone missing) ---- */
body#order #carrier_area .identity_c .form-group {
    margin-bottom: 14px;
}

body#order #carrier_area .identity_c .form-group label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #2c3e3e !important;
    margin-bottom: 6px !important;
    width: auto !important;
    float: none !important;
    padding: 0 !important;
}

body#order #carrier_area .identity_c .form-group label sup {
    color: #e8927c;
}

body#order #carrier_area .identity_c .form-control {
    width: 100% !important;
    padding: 13px 16px !important;
    border: 2px solid #e8e2da !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: #2c3e3e !important;
    background: #faf8f5 !important;
    box-sizing: border-box !important;
    height: auto !important;
    box-shadow: none !important;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    max-width: 100% !important;
}

body#order #carrier_area .identity_c .form-control:focus {
    border-color: #2d5f6e !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(45,95,110,0.1) !important;
}

/* Save Address button */
body#order #carrier_area .identity_c .submit2 input[type="submit"],
body#order #carrier_area #delivery_submitAddress,
body#order #carrier_area #invoice_submitAddress {
    display: inline-block;
    padding: 10px 24px;
    background: #000;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s;
}

body#order #carrier_area .identity_c .submit2 input[type="submit"]:hover {
    background: #245a5a;
}

/* Gift section */
body#order #carrier_area .gift_title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #2c3e3e !important;
    margin: 24px 0 12px !important;
    border: none !important;
    background: none !important;
}

body#order #carrier_area p.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    background: #faf8f5;
    border-radius: 8px;
    margin-bottom: 12px;
}

body#order #carrier_area p.checkbox input[type="checkbox"] {
    accent-color: #2d5f6e;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

body#order #carrier_area p.checkbox label {
    font-size: 14px;
    color: #2c3e3e;
}

/* Paypal message */
body#order #carrier_area .paypalmessage {
    background: #fff8e1;
    border: 1px solid #f0d48c;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #7a6a2e;
    margin-bottom: 16px;
}

/* Reset OPC styles */
#order-opc .opc-main-block {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

#order-opc .page-heading.step-num {
    display: none !important;
}

/* ---- Address form page overrides ---- */
.checkout-panel .form-group,
.checkout-panel .checkout-form-group {
    margin-bottom: 12px;
}

.checkout-panel .form-control {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    width: 100%;
    box-sizing: border-box;
}

.checkout-panel .form-control:focus {
    border-color: #2d5f6e;
    outline: none;
    box-shadow: none;
}

.checkout-panel select.form-control {
    padding: 12px 14px;
    height: auto;
}

/* Hide old labels - using placeholders instead */
.checkout-panel .identity_c label {
    display: none;
}

/* Carrier page - keep labels visible */
#carrier_area .identity_c label {
    display: block;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .checkout-wrapper {
        flex-direction: column;
    }

    /* Cart page: flatten cart-main so children can reorder around sidebar */
    .cart-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    .cart-wrapper .cart-main {
        display: contents;
    }
    /* Product cards and countdown banner stay at top */
    .cart-wrapper .cart-countdown-banner { order: 1; }
    .cart-wrapper .cart-card,
    .cart-wrapper .cart-card--custom { order: 2; }
    .cart-wrapper .cart-discount-row { order: 3; }
    /* Sidebar (Order Summary) comes right after products */
    .cart-wrapper .cart-sidebar {
        order: 4;
        width: 100%;
        position: static;
    }
    /* Supplementary content comes last */
    .cart-wrapper .cart-supplementary {
        order: 5;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }

    .checkout-sidebar {
        width: 100%;
        position: static;
    }

    .order-summary-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .checkout-page-title {
        font-size: 24px;
    }

    /* Cart page mobile layout */
    .cart-page-title {
        font-size: 22px;
        margin-bottom: 14px;
        padding: 0 16px;
    }
    .cart-wrapper {
        padding: 0 16px;
        gap: 10px;
    }
    .cart-countdown-banner {
        border-radius: 10px;
        padding: 10px 14px;
        font-size: 13px;
    }
    .cart-countdown-banner__icon svg {
        width: 18px;
        height: 18px;
    }

    .cart-card {
        padding: 14px;
        gap: 12px;
        border-radius: 12px;
        flex-direction: row;
    }
    .cart-card__img {
        width: 90px;
        height: 90px;
        flex-shrink: 0;
        border-radius: 8px;
    }
    .cart-card__body {
        min-width: 0;
    }
    .cart-card__name {
        font-size: 13px;
        line-height: 1.3;
    }
    .cart-card__top {
        flex-direction: column;
        gap: 4px;
    }
    .cart-card__pricing {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .cart-card__price {
        font-size: 15px;
    }
    .cart-card__was {
        display: inline;
        margin-top: 0;
        font-size: 12px;
    }
    .cart-card__remove {
        top: 8px;
        right: 8px;
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    .cart-card__qty {
        margin-top: 8px;
    }
    .cart-card__qty-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .cart-card__qty-val {
        width: 36px;
        height: 32px;
        font-size: 14px;
    }
    .cart-card__avail {
        font-size: 11px;
        margin-top: 4px;
    }
    .cart-card--custom {
        padding: 10px 14px;
        border-radius: 0 0 12px 12px;
        margin-top: -12px;
        font-size: 12px;
    }

    /* Cart sidebar on mobile */
    .cart-sidebar {
        width: 100% !important;
    }
    .cart-sidebar .order-summary-sidebar {
        border-radius: 12px;
        padding: 16px;
    }
    .cart-sidebar .order-summary-header h3 {
        font-size: 18px;
    }
    .free-shipping-bar {
        padding: 10px 12px;
        border-radius: 8px;
    }
    .free-shipping-bar__text {
        font-size: 12px;
    }

    /* Cart supplementary */
    .cart-supplementary {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .checkout-panel {
        padding: 20px;
    }
    .checkout-form-row {
        flex-direction: column;
        gap: 0;
    }
    .checkout-steps-bar {
        max-width: 300px;
    }
}

/* ---- Override existing cart styles when using new design ---- */
body#order .row_cart_summary,
body#order .table_block,
body#order .numberofitems,
body#order .desktopshopmore {
    display: none !important;
}

/* Hide old cart navigation (the checkout button row below old table) - but not .cart_navigation inside hidden div */
body#order > .cart_navigation,
body#order #columns > .cart_navigation,
body#order #center_column > .cart_navigation {
    display: none !important;
}

/* Override old cart table styles that may bleed through */
body#order #order-detail-content {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure new elements are properly displayed */
body#order .cart-wrapper {
    display: flex !important;
}

body#order .cart-page-title {
    display: block !important;
}

/* Reset old #columns layout that may constrain width */
body#order #columns,
body#order-opc #columns {
    background: #faf8f5;
}

body#order #center_column,
body#order-opc #center_column {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 15px;
}

/* Hide left/right columns on checkout pages */
body#order #left_column,
body#order #right_column,
body#order-opc #left_column,
body#order-opc #right_column {
    display: none !important;
}

/* Override old breadcrumb/navigation on checkout */
body#order .breadcrumb {
    display: none;
}

/* Remove old cart-related backgrounds and borders */
body#order .table_block,
body#order #order-detail-content {
    border: none !important;
    box-shadow: none !important;
}

/* Remove any old button styling that leaks into new buttons */
body#order .checkout-btn,
body#order .cart-checkout-btn {
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Ensure gift icon renders properly */
.cart-item-price .gift-icon {
    color: #16a34a;
    font-weight: 600;
}

/* Ensure OPC checkout sections hidden by default in new design */
#order-opc.new-checkout #opc_new_account,
#order-opc.new-checkout #carrier_area,
#order-opc.new-checkout #opc_payment_methods,
#order-opc.new-checkout #opc_delivery_methods {
    display: none;
}

#order-opc.new-checkout .checkout-step-section.active #opc_new_account,
#order-opc.new-checkout .checkout-step-section.active #carrier_area,
#order-opc.new-checkout .checkout-step-section.active #opc_payment_methods,
#order-opc.new-checkout .checkout-step-section.active #opc_delivery_methods {
    display: block;
}

/* ============================================
   Authentication Page - Checkout Login
   ============================================ */

/* Apply nursery background to authentication page too */
body#authentication #columns {
    background: #faf8f5;
}
body#authentication #center_column {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 15px;
    background: transparent;
}
body#authentication #left_column,
body#authentication #right_column {
    display: none !important;
}
body#authentication .breadcrumb {
    display: none;
}
body#authentication .page-heading {
    display: none !important;
}

/* Hide old fieldset styling on auth page in checkout */
body#authentication .account_bg {
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- Global CSS overrides for auth checkout ---- */
body#authentication .auth-checkout #create-account_form.std.inorderprocess,
body#authentication .auth-checkout #login_form.std.inorderprocess {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    min-height: auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

body#authentication .auth-checkout #create-account_form fieldset,
body#authentication .auth-checkout #login_form fieldset {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: auto !important;
}

body#authentication .auth-checkout .form_content {
    padding: 0 !important;
    background: none !important;
}

/* Auth checkout - Tabbed card layout */
.auth-checkout {
    max-width: 500px;
    margin: 40px auto 30px;
}

.auth-checkout__card {
    background: #fff;
    border: 1px solid #e8e2da;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(45,95,110,0.08);
}

/* Tab navigation */
.auth-checkout__tabs {
    display: flex;
    border-bottom: 2px solid #e8e2da;
}

.auth-checkout__tab {
    flex: 1;
    padding: 18px 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #9aabab;
    background: #f5f1ec;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    outline: none;
    line-height: 1.4;
}

.auth-checkout__tab:hover {
    color: #2d5f6e;
    background: #f0ece6;
}

.auth-checkout__tab--active {
    color: #2d5f6e;
    background: #fff;
}

.auth-checkout__tab--active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #2d5f6e;
    border-radius: 3px 3px 0 0;
}

/* Tab content */
.auth-checkout__tab-content {
    display: none;
    padding: 36px 40px 36px;
}

.auth-checkout__tab-content--active {
    display: block;
}

.auth-checkout__tab-content form {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    float: none !important;
    width: 100% !important;
}

/* Input fields */
.auth-checkout__field {
    width: 100% !important;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.auth-checkout__input {
    width: 100% !important;
    padding: 15px 18px !important;
    border: 2px solid #e8e2da !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: #2c3e3e !important;
    background: #faf8f5 !important;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    box-sizing: border-box !important;
    outline: none !important;
    height: auto !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.auth-checkout__input:focus {
    border-color: #2d5f6e !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(45,95,110,0.1) !important;
}

.auth-checkout__input::placeholder {
    color: #aab8b8;
    font-size: 14px;
}

.auth-checkout__forgot {
    width: 100%;
    text-align: right;
    margin-bottom: 20px;
    margin-top: -8px;
}

.auth-checkout__forgot a {
    font-size: 13px;
    color: #2d5f6e;
    text-decoration: none;
    font-weight: 500;
}

.auth-checkout__forgot a:hover {
    text-decoration: underline;
}

/* Buttons */
.auth-checkout__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 16px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    margin-top: 4px;
    box-sizing: border-box;
    float: none !important;
    line-height: 1.4 !important;
    height: auto !important;
}

.auth-checkout__btn--primary {
    background: #000 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.auth-checkout__btn--primary:hover {
    background: #012d46 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: #fff !important;
    text-decoration: none;
}

/* Helper text */
.auth-checkout__helper {
    font-size: 13px;
    color: #8a9a9a;
    text-align: center;
    margin: 16px 0 0;
    line-height: 1.5;
}

/* Error display */
.auth-checkout .error {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: #fff5f5;
    border: 1px solid #e8927c;
    border-radius: 8px;
    color: #c0392b;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 520px) {
    .auth-checkout {
        margin: 20px 12px;
        max-width: 100%;
    }
    .auth-checkout__tab-content {
        padding: 28px 20px 24px;
    }
    .auth-checkout__tab {
        font-size: 12px;
        padding: 14px 12px;
        letter-spacing: 0.8px;
    }
}

/* ============================================
   Guest Checkout Address Form
   ============================================ */

/* ---- RESET authentication.css + global.css overrides ---- */

/* #new_account_form: kill float, width:50%, background from authentication.css */
body#authentication #new_account_form,
body#authentication #new_account_form.std {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    background: none !important;
}

/* Fieldset: kill background, border, padding from authentication.css & global.css */
body#authentication #new_account_form fieldset,
body#authentication #new_account_form fieldset.guestcheckout_field,
body#authentication #new_account_form.std fieldset,
body#authentication .std fieldset {
    background: #fff !important;
    border: 1px solid #e8e2da !important;
    border-radius: 14px !important;
    padding: 32px 36px !important;
    margin: 0 0 20px !important;
    box-shadow: 0 2px 16px rgba(45,95,110,0.06);
}

/* H3: kill border-bottom, margin, color from authentication.css */
body#authentication #new_account_form h3 {
    border-bottom: none !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    background: none !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #2c3e3e !important;
    text-transform: none !important;
    line-height: 1.3 !important;
}

/* .identity_c: kill width:700px, margin from authentication.css */
body#authentication #new_account_form .identity_c {
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0 0 !important;
    padding: 0 !important;
}

/* All p: kill authentication.css margin/padding overrides */
body#authentication #center_column #new_account_form p {
    margin: 0 0 18px !important;
    padding: 0 !important;
}

/* Labels: kill width:162px, inline-block, float from authentication.css */
body#authentication #new_account_form p.text label,
body#authentication #new_account_form p.password label,
body#authentication #new_account_form p.select label,
body#authentication #new_account_form p.textarea label,
body#authentication #new_account_form .identity_c label {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #2c3e3e !important;
    margin-bottom: 6px !important;
    float: none !important;
    text-align: left !important;
    letter-spacing: 0.3px;
}

body#authentication #new_account_form p.select span {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
}

body#authentication #new_account_form .identity_c label sup,
body#authentication #center_column #new_account_form sup {
    color: #e8927c !important;
    top: 0 !important;
    font-size: 14px;
}

/* Text inputs: kill width:240px, height:28px, box-shadow from authentication.css */
body#authentication #new_account_form p.text input,
body#authentication #new_account_form p.password input,
body#authentication #new_account_form p.select input,
body#authentication #new_account_form .identity_c input.text,
body#authentication #new_account_form .identity_c input[type="text"],
body#authentication #new_account_form .identity_c input[type="email"],
body#authentication #new_account_form .identity_c input[type="tel"] {
    width: 100% !important;
    padding: 13px 16px !important;
    border: 2px solid #e8e2da !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: #2c3e3e !important;
    background: #faf8f5 !important;
    box-sizing: border-box !important;
    outline: none !important;
    height: auto !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

body#authentication #new_account_form p.text input:focus,
body#authentication #new_account_form .identity_c input.text:focus,
body#authentication #new_account_form .identity_c input[type="text"]:focus,
body#authentication #new_account_form .identity_c input[type="email"]:focus,
body#authentication #new_account_form .identity_c input[type="tel"]:focus {
    border-color: #2d5f6e !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(45,95,110,0.1) !important;
}

/* Postcode: kill width:100px from authentication.css */
body#authentication #center_column #new_account_form #postcode {
    width: 100% !important;
}

/* Selects: kill height:28px, box-shadow, border:0 from authentication.css */
body#authentication #new_account_form p.select select,
body#authentication #new_account_form .identity_c select,
body#authentication #new_account_form .identity_c .form-control,
body#authentication #new_account_form .form-group .form-control {
    width: 100% !important;
    max-width: 100% !important;
    padding: 13px 16px !important;
    border: 2px solid #e8e2da !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: #2c3e3e !important;
    background: #faf8f5 !important;
    box-sizing: border-box !important;
    outline: none !important;
    height: auto !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    transition: border-color 0.2s, background 0.2s;
    appearance: auto;
    cursor: pointer;
}

body#authentication #new_account_form .identity_c select:focus,
body#authentication #new_account_form .identity_c .form-control:focus,
body#authentication #new_account_form .form-group .form-control:focus {
    border-color: #2d5f6e !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(45,95,110,0.1) !important;
}

/* DOB row: kill max-width:115px/.form-control max-width:84px from global.css */
body#authentication #center_column form.std .row .col-xs-4 {
    max-width: 100% !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

body#authentication #center_column form.std .row {
    display: flex !important;
    margin-left: -5px;
    margin-right: -5px;
}

body#authentication #center_column form.std .row .col-xs-4 .form-control {
    max-width: 100% !important;
    padding: 11px 10px !important;
    font-size: 14px !important;
}

/* Radio (Title): kill float, width:162px from authentication.css */
body#authentication #new_account_form p.radio label {
    display: inline !important;
    width: auto !important;
    padding: 0 !important;
    float: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    margin-right: 12px !important;
    margin-bottom: 0 !important;
}

body#authentication #new_account_form p.radio span {
    width: auto !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
}

body#authentication #new_account_form p.radio span label {
    width: auto !important;
    padding: 0 4px !important;
    font-weight: 500 !important;
    margin-right: 14px !important;
    cursor: pointer;
}

body#authentication #new_account_form p.radio input {
    float: none !important;
    margin: 0 !important;
    accent-color: #2d5f6e;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

/* Checkbox: kill authentication.css overrides */
body#authentication #new_account_form p.checkbox label {
    display: inline !important;
    width: auto !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #5a6e6e !important;
    line-height: 1.5;
    float: none !important;
}

body#authentication #new_account_form p.checkbox input {
    margin-left: 0 !important;
    margin-right: 8px !important;
    accent-color: #2d5f6e;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

/* Email separator */
body#authentication #center_column #new_account_form .email_top {
    border-top: 2px solid #e8e2da !important;
    margin: 24px 0 20px !important;
    padding: 0 !important;
}

/* form_info / inline-infos: kill margin-left:167px from authentication.css */
body#authentication #new_account_form span.form_info,
body#authentication #new_account_form p.inline-infos {
    margin: 4px 0 0 0 !important;
    font-size: 12px;
    color: #8a9a9a;
}

/* Cart navigation / submit button */
body#authentication #center_column #new_account_form p.cart_navigation {
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
}

body#authentication .cart_navigation #submitGuestAccount.exclusive,
body#authentication #new_account_form #submitGuestAccount {
    padding: 16px 24px !important;
    margin: 0 !important;
    width: 100% !important;
    display: block !important;
    float: none !important;
}

/* Date select label: kill float, width:162px from authentication.css */
body#authentication #new_account_form .date-select label {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Kill #create-account_form.inorderprocess float */
body#authentication #create-account_form.inorderprocess {
    float: none !important;
    margin-right: 0 !important;
}

body#authentication #create-account_form.inorderprocess fieldset {
    border: none !important;
    background: none !important;
}

/* DNI hidden by default */
body#authentication #new_account_form .dni {
    display: none;
}

/* Subtext under heading */
body#authentication #new_account_form .guestcheckout_field h3::after {
    content: 'Fill in your details to proceed with checkout';
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #8a9a9a;
    margin-top: 6px;
    margin-bottom: 16px;
}

/* Radio (Title): styled container */
body#authentication #new_account_form .identity_c p.radio {
    display: flex !important;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 20px !important;
    padding: 14px 16px !important;
    background: #faf8f5;
    border: 2px solid #e8e2da;
    border-radius: 10px;
}

/* Date select - flex row */
body#authentication #new_account_form .date-select {
    margin-bottom: 18px;
}

body#authentication #new_account_form .date-select .row {
    display: flex !important;
    gap: 10px;
}

body#authentication #new_account_form .date-select .col-xs-4 {
    flex: 1;
    width: auto !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* Checkbox styled containers */
body#authentication #new_account_form p.checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px !important;
    padding: 12px 16px !important;
    background: #faf8f5;
    border-radius: 8px;
}

body#authentication #new_account_form p.checkbox input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Terms link */
body#authentication #new_account_form .checkbox a.termsc {
    color: #2d5f6e;
    font-weight: 600;
    text-decoration: underline;
}

/* Submit button */
body#authentication #new_account_form .cart_navigation .exclusive,
body#authentication #new_account_form #submitGuestAccount {
    display: block !important;
    width: 100% !important;
    padding: 16px 24px !important;
    background: #000 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    float: none !important;
    line-height: 1.4 !important;
    height: auto !important;
}

body#authentication #new_account_form #submitGuestAccount:hover {
    background: #012d46 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

body#authentication #new_account_form .cart_navigation span {
    display: none;
}

/* Required field note */
body#authentication #new_account_form .cart_navigation.required::before {
    content: '* Required fields';
    display: block;
    font-size: 12px;
    color: #8a9a9a;
    margin-bottom: 12px;
    text-align: left;
}

/* Invoice address section */
body#authentication #new_account_form #opc_invoice_address h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #2c3e3e !important;
    margin: 10px 0 20px !important;
    padding-top: 20px !important;
    border-top: 2px solid #e8e2da !important;
    border-bottom: none !important;
}

/* Order summary sidebar in checkout context */
body#authentication .checkout-sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

/* Responsive */
@media (max-width: 767px) {
    .auth-checkout__panels {
        flex-direction: column;
    }

    .auth-checkout__divider {
        width: 100%;
        height: 1px;
        writing-mode: initial;
    }

    .auth-checkout__divider span {
        writing-mode: horizontal-tb;
        padding: 0 12px;
    }

    .auth-checkout__panel {
        padding: 30px 24px;
    }

    #new_account_form .guestcheckout_field {
        padding: 20px;
    }
}

/* ---- Guest form: responsive media query overrides ---- */
/* Kill global.css media query overrides that use !important */
@media (min-width: 769px) and (max-width: 1000px) {
    body#authentication #new_account_form p.text input,
    body#authentication #new_account_form p.password input,
    body#authentication #new_account_form p.select input {
        width: 100% !important;
        height: auto !important;
        padding: 13px 16px !important;
        border: 2px solid #e8e2da !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        background: #faf8f5 !important;
        font-size: 15px !important;
        box-sizing: border-box !important;
    }
    body#authentication #new_account_form p.select select {
        width: 100% !important;
        height: auto !important;
        padding: 13px 16px !important;
        border: 2px solid #e8e2da !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        background: #faf8f5 !important;
    }
}

@media (max-width: 768px) {
    body#authentication #new_account_form p.text input,
    body#authentication #new_account_form p.password input,
    body#authentication #new_account_form p.select input {
        width: 100% !important;
        height: auto !important;
        padding: 13px 16px !important;
        border: 2px solid #e8e2da !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        background: #faf8f5 !important;
        font-size: 15px !important;
        box-sizing: border-box !important;
    }
    body#authentication #new_account_form p.select select {
        width: 100% !important;
        height: auto !important;
        padding: 13px 16px !important;
        border: 2px solid #e8e2da !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        background: #faf8f5 !important;
    }
    body#authentication #new_account_form .identity_c {
        padding: 0 !important;
        margin: 20px 0 0 !important;
        width: 100% !important;
    }
    body#authentication #new_account_form p.radio {
        padding-bottom: 14px !important;
    }
    body#authentication #new_account_form p.radio label {
        padding-left: 0 !important;
    }
    body#authentication #new_account_form fieldset {
        padding: 24px 20px !important;
    }
}

@media (min-width: 840px) and (max-width: 1000px) {
    body#authentication #new_account_form p.text input,
    body#authentication #new_account_form p.password input,
    body#authentication #new_account_form p.select input {
        width: 100% !important;
        height: auto !important;
        padding: 13px 16px !important;
        display: block !important;
    }
}

/* ============================================
   FREE SHIPPING PROGRESS BAR
   ============================================ */
.free-shipping-bar {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
}
.free-shipping-bar--unlocked {
    background: #f0fdf4;
    border-color: #86efac;
}
.free-shipping-bar__text {
    font-size: 13px;
    color: #166534;
    margin-bottom: 8px;
    line-height: 1.4;
}
.free-shipping-bar__text strong {
    font-weight: 700;
}
.free-shipping-bar__track {
    height: 6px;
    background: #dcfce7;
    border-radius: 3px;
    overflow: hidden;
}
.free-shipping-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* ============================================
   CARRIER PAGE - Radio Cards
   ============================================ */

/* Address summary (compact panel) */
.checkout-address-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 4px;
}
.checkout-address-summary span {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    width: 100%;
}

/* Carrier radio cards */
.carrier-cards .delivery_options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Remove extra spacing/padding from old carrier markup */
.delivery_options_block {
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
}
.delivery_options_block > div[style*="background-color"] {
    background: none !important;
    padding: 0 !important;
}
.delivery_options_address {
    padding: 0 !important;
    margin: 0 !important;
}
#HOOK_BEFORECARRIER {
    margin: 0 !important;
    padding: 0 !important;
}
/* Collapse hidden carrier wrappers */
.delivery_options_block .delivery_options {
    margin: 0 !important;
    padding: 0 !important;
}
/* Hide DPD locator elements that take up space when not active */
body#order .hook_extracarrier,
body#order #HOOK_BEFORECARRIER {
    overflow: hidden;
}
body#order #googlemap_shops_outer,
body#order #googlemap,
body#order .selected-parcelshop,
body#order .selected-parcelshop2,
body#order .options_ship_to_shop,
body#order .dpd-alert {
    display: none;
}
/* Collapse carrier cards with hidden class */

.delivery-timeselected {
    font-size: 13px;
    color: #16a34a;
    font-weight: 500;
    margin-top: 8px;
}

.carrier-card {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #fff;
    position: relative;
}
.carrier-card:hover {
    border-color: #bbb;
}
.carrier-card--selected {
    border-color: #000;
    background: #fafafa;
    box-shadow: 0 0 0 1px #000;
}
.carrier-card.hidden {
    display: none !important;
}

.carrier-card__radio {
    width: 20px;
    height: 20px;
    margin-right: 14px;
    accent-color: #000;
    flex-shrink: 0;
    cursor: pointer;
}

.carrier-card__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.carrier-card__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.carrier-card__name {
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.carrier-card__delay {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}

.carrier-card__price {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    margin-left: 0;
}

.carrier-card__free {
    color: #16a34a;
    font-weight: 700;
    font-size: 15px;
}

/* Hide old carrier tables inside card labels */
.carrier-card table.resume,
.carrier-card table.delivery_option_carrier {
    display: none !important;
}

/* Override old delivery_option styles - keep carrier-card styles intact */
.carrier-cards .delivery_option:not(.carrier-card) {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure carrier-card border/padding wins over any old .delivery_option overrides */
.carrier-card.delivery_option {
    padding: 16px 20px !important;
    border: 2px solid #e5e5e5 !important;
    border-radius: 12px !important;
    background: #fff !important;
    margin-bottom: 0 !important;
}
.carrier-card.delivery_option:hover {
    border-color: #bbb !important;
    background: #fafafa !important;
}
.carrier-card.delivery_option.carrier-card--selected,
.carrier-card.delivery_option.selected {
    border-color: #000 !important;
    background: #fafafa !important;
    box-shadow: 0 0 0 1px #000;
}

/* Gift wrapping section */
.carrier-gift-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.carrier-gift-price {
    font-weight: 400;
    color: #888;
    font-size: 13px;
}
.carrier-gift-message {
    margin-top: 12px;
}
.carrier-gift-message label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}
.carrier-gift-message textarea {
    width: 100%;
    border: 1.5px solid #d4d4d4;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    resize: vertical;
    min-height: 70px;
    font-family: inherit;
}
.carrier-gift-message textarea:focus {
    border-color: #111;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

/* Tighten carrier content spacing */
.order_carrier_content {
    margin: 0;
    padding: 0;
}

/* Order notes on carrier page */
.carrier-order-note {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
.carrier-order-note label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.carrier-order-note textarea {
    width: 100%;
    border: 1.5px solid #d4d4d4;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    resize: vertical;
    min-height: 70px;
    font-family: inherit;
}
.carrier-order-note textarea:focus {
    border-color: #111;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

/* Hide old carrier page elements */
.carrier_title {
    display: none !important;
}
.delivery_address h2 {
    display: none !important;
}
#ordermsg {
    display: none !important;
}
.submitcarrier .exclusive {
    display: none !important;
}
.order_carrier_content .checkbox {
    display: none !important;
}
.order_carrier_content h2.carrier_title,
.order_carrier_content h3.gift_title {
    display: none !important;
}
#extra_carrier {
    display: none !important;
}
/* Hide old textarea styling from carrier content */
.order_carrier_content p.textarea {
    display: none !important;
}

/* ============================================
   PAYMENT PAGE - Method Cards & Terms
   ============================================ */
.payment-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Style payment module links as cards */
.payment-methods-grid .payment_module {
    border: 2px solid #e5e5e5 !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
    overflow: hidden;
    transition: all 0.2s ease;
    background: #fff !important;
}
.payment-methods-grid .payment_module:hover {
    border-color: #bbb !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.payment-methods-grid .payment_module a {
    display: flex !important;
    align-items: center;
    padding: 18px 20px !important;
    text-decoration: none !important;
    color: #111 !important;
    font-size: 15px;
    font-weight: 500;
    background: none !important;
    border: none !important;
    line-height: 1.4;
    min-height: auto !important;
}
.payment-methods-grid .payment_module a img {
    max-height: 32px;
    margin-right: 16px;
    flex-shrink: 0;
}
.payment-methods-grid .payment_module a::after {
    content: '\203A';
    margin-left: auto;
    font-size: 24px;
    color: #ccc;
    font-weight: 300;
}

/* Terms text */
.terms-text {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 16px;
    padding: 12px 0;
}
.terms-text a {
    color: #555;
    text-decoration: underline;
}
.terms-text a:hover {
    color: #111;
}

/* ============================================
   MOBILE STICKY BOTTOM BAR
   ============================================ */

/* Hidden on desktop by default */
.mobile-checkout-bar,
.mobile-summary-overlay,
.mobile-summary-drawer {
    display: none;
}

@media (max-width: 768px) {
    /* Hide sidebar on mobile, show sticky bar + drawer instead */
    .checkout-sidebar {
        display: none;
    }
    .mobile-summary-overlay,
    .mobile-summary-drawer {
        display: block;
    }

    .checkout-wrapper {
        flex-direction: column;
        gap: 0;
        padding: 0 12px;
    }

   body#order .checkout-wrapper > .checkout-main {
        width: 100% !important;
    }

    .checkout-panel {
        padding: 20px;
        border-radius: 12px;
    }

    .checkout-panel--compact {
        padding: 14px 20px !important;
    }

    /* Express checkout mobile */
    .checkout-express-block {
        padding: 16px;
        border-radius: 12px;
    }
    .checkout-express-buttons .express-checkout-options {
        flex-direction: column;
        gap: 8px;
    }

    /* Carrier cards mobile */
    .carrier-card {
        padding: 14px 16px;
    }
    .carrier-card__radio {
        margin-right: 12px;
    }
    .carrier-card__name {
        font-size: 14px;
    }
    .carrier-card__price {
        font-size: 14px;
    }

    /* Mobile sticky bottom bar - modern */
    .mobile-checkout-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 14px 18px;
        z-index: 10001;
        display: flex;
        flex-direction: column;
        gap: 6px;
       box-shadow: rgba(0, 0, 0, 0.4) 0px 30px 90px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .mobile-checkout-bar__row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .mobile-checkout-bar__info {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: #666;
    }
    .mobile-checkout-bar__items {
        font-weight: 500;
        color: #555;
    }
    .mobile-checkout-bar__dot {
        color: #ccc;
    }
    .mobile-checkout-bar__shipping {
        display: flex;
        align-items: center;
    }
    .mobile-checkout-bar__chevron {
        transition: transform 0.3s ease;
        color: #999;
        flex-shrink: 0;
    }
    .mobile-checkout-bar__label {
        font-size: 15px;
        font-weight: 600;
        color: #111;
    }
    .mobile-checkout-bar__price {
        font-size: 20px;
        font-weight: 800;
        color: #111;
        letter-spacing: -0.3px;
    }

    /* Add padding at bottom so content doesn't hide behind sticky bar */
    body#order #columns {
        padding-bottom: 100px !important;
    }

    /* Cart page mobile - handled by 991px breakpoint */

    /* Trust grid single column on mobile */
    .cart-trust-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .cart-trust-section {
        padding: 20px;
    }

    /* Recently viewed 2 columns on mobile */
    .cart-recently-viewed__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .cart-recently-viewed {
        padding: 20px;
    }
    .cart-social-proof {
        padding: 16px 20px;
    }
    .cart-countdown-banner {
        padding: 12px 16px;
        gap: 10px;
    }
    .cart-countdown-banner__text {
        font-size: 13px;
    }
}

/* ============================================
   MOBILE RESPONSIVE - Checkout Steps
   ============================================ */
@media (max-width: 480px) {
    .checkout-page-title {
        font-size: 20px;
        margin-top: 20px;
    }
    .checkout-steps-bar {
        max-width: 280px;
        margin-bottom: 24px;
    }
    .checkout-steps-bar .step-circle {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .checkout-steps-bar .step-label {
        font-size: 10px;
    }
    .checkout-form-row {
        flex-direction: column;
        gap: 0;
    }
}
.gpay-button {
    width: 100% !important;
}

/* ---- Step 2+ layout: force Bootstrap containers to allow checkout flex ---- */
body#order #columns.container {
    width: 100% !important;
}
body#order #column_inner.row,
body#order .row#column_inner {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body#order #center_column,
body#order .center_column {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body#order .checkout-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 32px !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    align-items: flex-start !important;
}
body#order .checkout-wrapper > .checkout-main {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
}
body#order .checkout-wrapper > .checkout-sidebar {
    flex: 0 0 350px !important;
    width: 350px !important;
    min-width: 350px !important;
    position: sticky !important;
    top: 20px !important;
    align-self: flex-start !important;
    float: none !important;
}
@media (max-width: 991px) {
    body#order .checkout-wrapper {
        flex-direction: column !important;
        gap: 16px !important;
    }
    body#order .checkout-wrapper > .checkout-sidebar {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        position: static !important;
    }
}

/* Carrier page: hide old page heading if exists */
body#order .page-heading.step-num {
    display: none !important;
}

/* Carrier page: panels styling */
.checkout-panel-userinfo {
    padding: 0 24px 16px;
    font-size: 14px;
    color: #666;
}
.checkout-panel-user {
    font-size: 14px;
}

/* Delivery time display */
.delivery-timeselected {
    font-size: 13px;
    color: #16a34a;
    font-weight: 600;
    margin-top: 6px;
    padding: 0 4px;
}

/* Carrier gift section */
.carrier-gift-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e8e2da;
}
.carrier-gift-price {
    color: #888;
    font-weight: 400;
    font-size: 13px;
}
.carrier-gift-message {
    margin-top: 10px;
}
.carrier-gift-message label {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    display: block;
}
.carrier-gift-message textarea {
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    padding: 10px 12px;
    font-size: 14px;
    width: 100%;
    resize: vertical;
}

/* Carrier order note */
.carrier-order-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e8e2da;
}
.carrier-order-note label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: block;
}
.carrier-order-note textarea {
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    padding: 10px 12px;
    font-size: 14px;
    width: 100%;
    resize: vertical;
}

/* Checkout checkbox styling */
.checkout-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.checkout-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.checkout-checkbox label {
    font-size: 14px;
    color: #444;
    cursor: pointer;
}

/* Guest checkout form errors */
.checkout-form-errors {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    color: #991b1b;
    font-size: 13px;
    line-height: 1.5;
}
.checkout-form-errors ul {
    margin: 0;
    padding: 0 0 0 18px;
    list-style: disc;
}
.checkout-form-errors ul li {
    margin-bottom: 2px;
}
.checkout-form-errors ul li:last-child {
    margin-bottom: 0;
}

/* ============================================
   MOBILE RESPONSIVE - Comprehensive
   90% mobile customers - optimised for touch
   ============================================ */

/* ---- Tablet: 768-991px ---- */
@media (max-width: 991px) {
    /* Sidebar stacks below on tablet */
    body#order .checkout-wrapper {
        flex-direction: column !important;
        gap: 20px !important;
    }
    body#order .checkout-wrapper > .checkout-sidebar {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        position: static !important;
    }
    /* Remove inline styles override for tablet */
    .checkout-sidebar[style] {
        flex: 0 0 auto !important;
        width: 100% !important;
        position: static !important;
    }
}

/* ---- Mobile: 768px and below ---- */
@media (max-width: 768px) {
    /* Hide sidebar, show mobile sticky bar */
    .checkout-sidebar,
    .checkout-sidebar[style] {
        display: none !important;
    }

    /* Page title */
    .checkout-page-title {
        font-size: 22px;
        margin-bottom: 8px;
    }

    /* USP bar - 2x2 grid on mobile */
    .checkout-usp-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 16px;
        max-width: 100%;
        padding: 12px 16px;
        margin-bottom: 14px;
        background: #fff;
        border-radius: 0;
        border: 1px solid #eee;
    }
    .checkout-usp {
        font-size: 12px;
        gap: 6px;
        justify-content: flex-start;
        white-space: nowrap;
        color: #555;
    }
    .checkout-usp svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        opacity: 0.7;
    }

    /* Steps bar compact */
    .checkout-steps-bar {
        max-width: 260px;
        margin-bottom: 16px;
    }
    .checkout-steps-bar .step-circle {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .checkout-steps-bar .step-label {
        font-size: 10px;
        margin-top: 4px;
    }
    .checkout-steps-bar .step-line {
        height: 2px;
    }

    /* Checkout wrapper full width */
    body#order .checkout-wrapper,
    .checkout-wrapper,
    .checkout-wrapper[style] {
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 12px !important;
        max-width: 100% !important;
    }
    .checkout-main,
    .checkout-main[style] {
        width: 100% !important;
        min-width: 0 !important;
    }

    /* Panels - compact on mobile */
    .checkout-panel {
        padding: 14px;
        border-radius: 10px;
        margin-bottom: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.03);
    }
    .checkout-panel-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .checkout-panel--compact {
        padding: 10px 14px !important;
        margin-bottom: 15px;
    }
    .checkout-panel-header h2 {
        font-size: 14px !important;
    }
    .checkout-panel-userinfo {
        padding: 0 14px 8px;
        font-size: 12px;
    }
    .checkout-panel-user {
        font-size: 12px;
    }
    .checkout-panel-switch {
        font-size: 11px;
    }
    .checkout-address-summary {
        font-size: 12px;
        line-height: 1.4;
    }
    .edit-link {
        font-size: 12px;
    }

    /* Form inputs - touch friendly 44px */
    .checkout-guest-form .form-control,
    .checkout-login-form .form-control,
    #guest_checkout_form .form-control,
    .checkout-form-group .form-control,
    .checkout-form-group select,
    .checkout-form-group input[type="text"],
    .checkout-form-group input[type="email"],
    .checkout-form-group input[type="tel"],
    .checkout-form-group input[type="password"] {
        height: 44px !important;
        min-height: 44px !important;
        font-size: 16px !important; /* prevents iOS zoom */
        padding: 10px 12px !important;
        border-radius: 8px !important;
        border: 1px solid #ddd !important;
    }
    .checkout-form-group label {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 3px;
        color: #444;
    }
    .checkout-form-group {
        margin-bottom: 8px;
    }

    /* Form rows stack on mobile */
    .checkout-form-row,
    .checkout-form-row--half {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .checkout-form-row > .checkout-form-group {
        width: 100% !important;
    }

    /* Form divider */
    .checkout-form-divider {
        margin: 6px 0 !important;
    }

    /* Checkbox */
    .checkout-checkbox {
        margin: 12px 0 !important;
    }
    .checkout-checkbox label {
        font-size: 13px;
    }

    /* Login prompt */
    .checkout-login-prompt__row {
        flex-wrap: wrap;
        gap: 6px;
    }
    .checkout-login-prompt__text {
        font-size: 12px;
    }
    .checkout-login-prompt__btn {
        font-size: 13px;
        font-weight: 600;
    }
    .checkout-login-form__fields {
        flex-direction: column;
        gap: 0;
    }
    .checkout-login-form__actions {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    .checkout-login-form__actions .checkout-btn--sm {
        width: 100%;
        text-align: center;
    }

    /* Buttons - full width, touch friendly */
    .checkout-btn,
    .checkout-btn-primary,
    #submitGuestAccount,
    #submitAddress,
    #processCarrier {
        width: 100% !important;
        min-height: 48px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
        padding: 12px 20px !important;
    }
    .checkout-form-actions {
        margin-top: 12px;
    }
    .checkout-secure-text {
        font-size: 11px;
        margin-top: 6px;
    }

    /* Carrier cards on mobile */
    .carrier-card {
        padding: 12px;
        border-radius: 10px;
        margin-bottom: 6px;
    }
    .carrier-card__radio {
        width: 20px !important;
        height: 20px !important;
        margin-right: 10px;
    }
    .carrier-card__name {
        font-size: 14px;
    }
    .carrier-card__delay {
        font-size: 11px;
    }
    .carrier-card__price {
        font-size: 14px;
        font-weight: 700;
            margin-left: 0;
    }
    .carrier-card__free {
        font-size: 13px;
    }

    body#order #carrier_area .delivery_option{
    padding: 4px 17px !important;
    }

    #order .delivery_option > div, #order-opc .delivery_option > div{
     margin-bottom: 0;
    }

    body#order #carrier_area .delivery_option{
    gap: 15px;
    }

    /* Carrier gift & notes */
    .carrier-gift-section,
    .carrier-order-note {
        margin-top: 10px;
        padding-top: 10px;
    }
    .carrier-gift-message textarea,
    .carrier-order-note textarea {
        font-size: 16px !important; /* prevents iOS zoom */
        min-height: 50px;
    }

    /* Payment methods */
    .payment-methods-grid .payment-method,
    .paiement_block .payment_module a,
    .paiement_block .payment_module {
        padding: 12px !important;
        border-radius: 10px !important;
        margin-bottom: 6px !important;
        font-size: 14px !important;
    }

    /* Terms text */
    .terms-text {
        font-size: 12px;
        padding: 10px 0;
    }

    /* Mobile summary slide-up drawer */
    .mobile-summary-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.4);
        z-index: 10000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .mobile-summary-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }
    .mobile-summary-drawer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 10002;
        border-radius: 16px 16px 0 0;
        max-height: 75vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
        box-shadow: 0 -8px 30px rgba(0,0,0,0.12);
        padding-bottom: 20px;
        pointer-events: none;
    }
    .mobile-summary-drawer.open {
        transform: translateY(0);
        pointer-events: auto;
    }
    .mobile-summary-drawer__handle {
        display: flex;
        justify-content: center;
        padding: 12px 0 4px;
        cursor: pointer;
        position: sticky;
        top: 0;
        background: #fff;
        border-radius: 16px 16px 0 0;
        z-index: 1;
    }
    .mobile-summary-drawer__handle-bar {
        width: 36px;
        height: 4px;
        background: #d0d0d0;
        border-radius: 4px;
    }
    .mobile-summary-drawer__content {
        padding: 4px 16px 16px;
    }
    .mobile-summary-drawer__content .order-summary-sidebar {
        border: none;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        background: transparent;
    }
    .mobile-summary-drawer__content .order-summary-header h3 {
        font-size: 18px;
    }
    .mobile-summary-drawer__content .order-summary-toggle {
        display: none;
    }
    .mobile-summary-drawer__content .order-summary-items {
        display: block !important;
    }
    .mobile-summary-drawer__content .order-summary-item-image img {
        width: 56px;
        height: 56px;
    }
    /* Hide the continue button inside drawer (already in sticky bar) */
    .mobile-summary-drawer__content .checkout-btn-primary {
        display: none;
    }

    /* Bottom padding for sticky bar */
    body#order #columns {
        padding-bottom: 20px !important;
    }

    /* Errors on mobile */
    .checkout-form-errors {
        font-size: 13px;
        padding: 10px 14px;
        border-radius: 8px;
    }

    /* Bootstrap overrides for checkout on mobile */
    body#order #columns.container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    body#order #center_column {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
     body#order .checkout-wrapper > .checkout-main{
        width: 100% !important;
    }
}

/* ---- Small phones: 480px and below ---- */
@media (max-width: 480px) {
    .checkout-page-title {
        font-size: 20px;
    }
    .checkout-usp {
        font-size: 10px;
        padding: 0 10px;
    }
    .checkout-steps-bar {
        max-width: 220px;
    }
    .checkout-steps-bar .step-circle {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    .checkout-steps-bar .step-label {
        font-size: 9px;
    }
    .checkout-panel {
        padding: 12px;
        border-radius: 8px;
    }
    .checkout-panel--compact {
        padding: 8px 12px !important;
    }
    .checkout-panel-title {
        font-size: 15px !important;
    }
    .checkout-form-group .form-control,
    .checkout-form-group select,
    .checkout-form-group input[type="text"],
    .checkout-form-group input[type="email"],
    .checkout-form-group input[type="tel"],
    .checkout-form-group input[type="password"] {
        height: 42px !important;
        min-height: 42px !important;
        font-size: 14px !important;
        padding: 8px 10px !important;
    }
    .checkout-form-group label {
        font-size: 11px;
    }
    .checkout-form-group {
        margin-bottom: 6px;
    }
    .mobile-checkout-bar__price {
        font-size: 18px;
    }
    .mobile-checkout-bar__info {
        font-size: 12px;
    }
    body#order p.payment_module a{
            padding: 10px 18px !important;
    font-size: 13px !important;
    }
    body#order p.payment_module{
            margin-bottom: 5px !important;
    }
    .express-checkout-options{
        flex-wrap: wrap;
    }
    .express-checkout-options .st-apple-pay-container{
        width: 100% !important;
    }

}

.gpay-card-info-container {
    width: 100% !important;
}