/* ================================================
   checkout.css — Cart & Checkout shared styles
   ================================================ */

/* ===== Checkout Sections (Steps) ===== */
.checkout-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    overflow: hidden;
}

.checkout-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    background: #fafafa;
}

.checkout-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--mainColor);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.checkout-section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
}

.checkout-section-body {
    padding: 20px;
}

/* ===== Checkbox labels ===== */
.checkout-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    margin: 0;
}

.checkout-checkbox-label .form-check-input {
    margin-top: 3px;
    flex-shrink: 0;
}

.checkout-field-error {
    display: none;
    margin-top: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    line-height: 1.5;
}

.checkout-field-error.d-block {
    display: block;
}

.checkout-field-error:has(.alert) {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.checkout-invalid {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, .15) !important;
}

input.checkout-invalid,
select.checkout-invalid {
    background: #fff5f5 !important;
}

.checkout-invalid.checkout-section {
    border-color: #dc2626 !important;
    box-shadow: none !important;
}

.form-check-input.checkout-invalid {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* ===== Disabled delivery/payment card ===== */
.delivery-method-card.delivery-method-disabled,
.payment-method-card.payment-method-disabled {
    opacity: .5;
    pointer-events: none;
    cursor: not-allowed;
    position: relative;
}

.delivery-method-card.delivery-method-disabled .delivery-method-inner,
.payment-method-card.payment-method-disabled .payment-method-inner {
    background: #f9fafb;
}

.delivery-method-card.delivery-method-disabled .delivery-method-title,
.payment-method-card.payment-method-disabled .payment-method-label {
    color: #9ca3af;
}

.delivery-method-card.delivery-method-disabled .delivery-method-desc,
.payment-method-card.payment-method-disabled .payment-method-note {
    color: #9ca3af;
    font-style: italic;
}

/* ===== Submit Button ===== */
.checkout-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    background: var(--mainColor);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all .2s ease;
}

.checkout-submit-btn:hover {
    background: #b01215;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(207, 22, 26, .3);
}

.checkout-submit-btn:active {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .checkout-submit-btn {
        width: 50%;
    }
}

/* ===== Sidebar ===== */
.checkout-sidebar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    overflow: hidden;
}

.checkout-sidebar-header {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 16px;
    color: #1f2937;
    background: #fafafa;
    border-bottom: 1px solid #f3f4f6;
}

.checkout-sidebar-body {
    padding: 16px 20px;
}

/* ===== Cart Items in Sidebar ===== */
.checkout-cart-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.checkout-cart-item-img {
    width: 56px;
    height: 76px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #f3f4f6;
}

.checkout-cart-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-cart-item-price {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ===== Delivery Method Cards ===== */
.delivery-method-card {
    display: block;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
    background: #fff;
    margin: 0;
}

.delivery-method-card:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.delivery-method-card:has(input:checked) {
    border-color: var(--mainColor);
    background: #fef2f2;
    box-shadow: 0 0 0 1px var(--mainColor);
}

.delivery-method-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
}

.delivery-method-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--mainColor);
}

.delivery-method-card:has(input:checked) .delivery-method-icon {
    background: var(--mainColor);
    color: #fff;
}

.delivery-method-icon:has(img) {
    width: 72px;
    height: 32px;
    border-radius: 0;
    background: transparent;
    color: inherit;
}

.delivery-method-icon:has(img) img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.delivery-method-card:has(input:checked) .delivery-method-icon:has(img) {
    background: transparent;
    color: inherit;
}

.delivery-method-content {
    flex: 1;
    min-width: 0;
}

.delivery-method-title {
    font-weight: 700;
    font-size: 14px;
    color: #1f2937;
}

.delivery-method-desc {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

/* BoxNow free delivery promo badge */
.boxnow-free-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #065f46;
    background: #d1fae5;
    border-radius: 20px;
    line-height: 1.4;
}

.delivery-method-meta {
    flex-shrink: 0;
}

.delivery-time-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eff6ff;
    color: #2563eb;
    white-space: nowrap;
}

.delivery-method-check {
    color: #d1d5db;
    flex-shrink: 0;
    transition: color .2s ease;
}

.delivery-method-card:has(input:checked) .delivery-method-check {
    color: var(--mainColor);
}

label[for="delivery_boxnow_locker"]:has(input:checked) {
    border-color: #00a651;
    background: #ecfdf3;
    box-shadow: 0 0 0 1px #00a651;
}

label[for="delivery_boxnow_locker"]:has(input:checked) .delivery-method-check {
    color: #00a651;
}

label[for="delivery_speedy_office"]:has(input:checked),
label[for="delivery_speedy_address"]:has(input:checked) {
    border-color: #e31e24;
    background: #fef2f2;
    box-shadow: 0 0 0 1px #e31e24;
}

label[for="delivery_speedy_office"]:has(input:checked) .delivery-method-check,
label[for="delivery_speedy_address"]:has(input:checked) .delivery-method-check {
    color: #e31e24;
}

label[for="bgpost_address"]:has(input:checked) {
    border-color: #f59e0b;
    background: #fffbeb;
    box-shadow: 0 0 0 1px #f59e0b;
}

label[for="bgpost_address"]:has(input:checked) .delivery-method-check {
    color: #f59e0b;
}

/* ===== Delivery Sub-fields ===== */
.delivery-subfields {
    padding: 16px 20px;
    margin: -4px 12px 8px 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 10px 10px;
    border-top: none;
}

/* ===== Selected Office Card ===== */
.selected-office-card {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1px solid #86efac;
    border-radius: 10px;
    padding: 14px 16px;
}

/* ===== Delivery Deadline Badge ===== */
.delivery-deadline-badge {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 500;
}

/* ===== Office Items ===== */
.speedy-office-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all .15s ease;
    background: #fff;
}

.speedy-office-item:hover {
    border-color: var(--mainColor);
    background: #fef2f2;
}

.speedy-office-item.selected {
    border-color: #16a34a;
    background: #f0fdf4;
    box-shadow: 0 0 0 1px #16a34a;
}

.speedy-office-item .office-name {
    font-weight: 600;
    font-size: 13px;
    color: #1f2937;
}

.speedy-office-item .office-address {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.speedy-office-item .office-badges {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.speedy-office-item .office-badges .badge {
    font-size: 10px;
    font-weight: 500;
}

/* ===== Speedy Tabs ===== */
.speedy-type-tabs .nav-link {
    font-size: 13px;
    color: #6b7280;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
}

.speedy-type-tabs .nav-link:hover {
    background: #f3f4f6;
}

.speedy-type-tabs .nav-link.active {
    font-weight: 600;
    color: #fff;
    background: var(--mainColor);
    border-color: var(--mainColor);
}

.speedy-type-tabs .nav-link.active .badge {
    background: rgba(255, 255, 255, .25) !important;
    color: #fff !important;
}

/* ===== Scrollable Office Lists ===== */
.speedy-offices-scroll {
    max-height: 280px;
    overflow-y: auto;
    padding: 4px 2px;
}

.speedy-offices-scroll::-webkit-scrollbar {
    width: 5px;
}

.speedy-offices-scroll::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

/* ===== Payment Method Cards ===== */
.payment-method-card {
    display: block;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
    background: #fff;
    margin: 0;
}

.payment-method-card:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.payment-method-card:has(input:checked) {
    border-color: var(--mainColor);
    background: #fef2f2;
    box-shadow: 0 0 0 1px var(--mainColor);
}

.payment-method-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

.payment-method-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6b7280;
}

.payment-method-card:has(input:checked) .payment-method-icon {
    background: var(--mainColor);
    color: #fff;
}

.payment-method-label {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
}

.payment-method-check {
    color: #d1d5db;
    flex-shrink: 0;
    transition: color .2s ease;
}

.payment-method-card:has(input:checked) .payment-method-check {
    color: var(--mainColor);
}

/* ===== Delivery Mobile ===== */
@media (max-width: 575px) {
    .delivery-method-inner {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
    }

    .delivery-method-meta {
        order: -1;
        margin-left: auto;
    }

    .delivery-method-check {
        display: none;
    }
}

/* ================================================
   Cart Index Page
   ================================================ */

/* ===== Shipping Progress Bar ===== */
.cart-shipping-banner {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.cart-shipping-banner .shipping-text {
    font-size: 14px;
    color: #374151;
    margin-bottom: 10px;
}

.cart-shipping-banner .shipping-text strong {
    color: var(--mainColor);
}

.cart-shipping-progress {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.cart-shipping-progress-bar {
    height: 100%;
    border-radius: 4px;
    transition: width .4s ease;
}

.cart-shipping-progress-bar.complete {
    background: #16a34a;
}

.cart-shipping-progress-bar.partial {
    background: #f59e0b;
}

/* ===== Cart Item Card ===== */
.cart-item-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    overflow: hidden;
    transition: border-color .2s ease;
}

.cart-item-card:hover {
    border-color: #d1d5db;
}

.cart-item-body {
    padding: 16px 20px;
}

.cart-item-image {
    width: 80px;
    height: 110px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #f3f4f6;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-author {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.cart-item-title {
    font-weight: 700;
    font-size: 15px;
    color: #1f2937;
    text-decoration: none;
    line-height: 1.3;
    display: block;
}

.cart-item-title:hover {
    color: var(--mainColor);
}

.cart-item-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
}

.cart-item-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-item-detail-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.cart-item-detail-value {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
}

.cart-item-final-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--mainColor);
}

.cart-item-old-price {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
}

.cart-item-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #9ca3af;
    text-decoration: none;
    transition: all .2s ease;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: #fef2f2;
    border-color: var(--mainColor);
    color: var(--mainColor);
}

.cart-item-remove svg {
    width: 16px;
    height: 16px;
}

/* ===== Cart Item Autograph Section ===== */
.cart-item-autograph {
    padding: 12px 20px;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

/* ===== Promo Code Section ===== */
.cart-promo-section {
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 12px;
}

.cart-promo-section .promo-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 6px;
}

.cart-promo-section .promo-hint {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

.cart-promo-form {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color .2s ease;
}

.cart-promo-form:focus-within {
    border-color: var(--mainColor);
    box-shadow: 0 0 0 2px rgba(207, 22, 26, .1);
}

.cart-promo-form input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 14px;
    background: transparent;
}

.cart-promo-form button {
    padding: 10px 20px;
    background: var(--mainColor);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s ease;
    white-space: nowrap;
}

.cart-promo-form button:hover {
    background: #b01215;
}

.cart-promo-form.has-error {
    border-color: #b42318;
    box-shadow: 0 0 0 1px #b42318;
}

.cart-promo-error {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid #e8a5a5;
    border-left: 4px solid #b42318;
    border-radius: 8px;
    background: #fff0ee;
    color: #7a1b14;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.cart-promo-error svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #b42318;
}

.cart-promo-error-title {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

/* ===== Cart Checkout Button ===== */
.cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    background: var(--mainColor);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
}

.cart-checkout-btn:hover {
    background: #b01215;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(207, 22, 26, .3);
}

.cart-checkout-btn:active {
    transform: translateY(0);
}

/* ===== Continue Shopping ===== */
.cart-continue-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: color .2s ease;
}

.cart-continue-link:hover {
    color: var(--mainColor);
}

/* ===== E-book Badge in Cart ===== */
.cart-ebook-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: #eff6ff;
    color: #2563eb;
}

/* ===== Discount Badge ===== */
.cart-discount-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: #fef2f2;
    color: var(--mainColor);
}

/* ================================================
   Checkout Form Inputs
   ================================================ */

/* ===== Text Inputs & Textareas ===== */
.order-form .checkout-section-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.order-form .checkout-section-body textarea {
    width: 100%;
    height: 48px;
    padding: 10px 14px;
    font-size: 14px;
    color: #1f2937;
    background: #fff;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.order-form .checkout-section-body textarea {
    height: auto;
    min-height: 80px;
    resize: vertical;
}

.order-form .checkout-section-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.order-form .checkout-section-body textarea:focus {
    border-color: var(--mainColor);
    box-shadow: 0 0 0 3px rgba(207, 22, 26, .1);
}

.order-form .checkout-section-body input::placeholder,
.order-form .checkout-section-body textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* ===== Labels ===== */
.order-form .checkout-section-body label:not(.form-check-label):not(.checkout-checkbox-label):not(.delivery-method-card):not(.payment-method-card) {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

/* ===== Select2 Custom Styling ===== */
.order-form .select2-container--default .select2-selection--single {
    height: 48px;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.order-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px;
    color: #1f2937;
    font-size: 14px;
    padding-left: 0;
}

.order-form .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9ca3af;
}

.order-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 10px;
}

.order-form .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--mainColor);
    box-shadow: 0 0 0 3px rgba(207, 22, 26, .1);
}

.order-form .select2-container--default .select2-selection--single .select2-selection__clear {
    font-size: 18px;
    color: #9ca3af;
    margin-right: 8px;
}

.order-form .select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: var(--mainColor);
}

/* Select2 Dropdown */
.select2-container--default .select2-dropdown {
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
    overflow: hidden;
    margin-top: 4px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    padding: 10px 14px;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    outline: none;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-bottom-color: var(--mainColor);
}

.select2-container--default .select2-results__option {
    padding: 10px 14px;
    font-size: 14px;
    color: #374151;
    transition: background .15s ease;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: #fef2f2;
    color: var(--mainColor);
}

.select2-container--default .select2-results__option--selected {
    background: #f3f4f6;
}

.select2-container--default .select2-results__message {
    padding: 12px 14px;
    font-size: 13px;
    color: #6b7280;
}

/* ===== Invoice checkbox styling ===== */
.order-form .form-check-input {
    width: 18px;
    height: 18px;
    border: 1.5px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    transition: all .15s ease;
}

.order-form .form-check-input:checked {
    background-color: var(--mainColor);
    border-color: var(--mainColor);
}

.order-form .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(207, 22, 26, .15);
    border-color: var(--mainColor);
}

/* ===== Mobile adjustments ===== */
@media (max-width: 767px) {
    .cart-item-body {
        padding: 14px;
    }

    .cart-item-image {
        width: 64px;
        height: 88px;
    }

    .cart-item-details {
        gap: 10px;
    }

    .checkout-section-body {
        padding: 14px;
    }

    .checkout-sidebar-body {
        padding: 14px;
    }

    .checkout-submit-btn {
        width: 100%;
    }
}

/* ===== BoxNow Locker ===== */
.boxnow-select-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #00a651;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s ease;
}

.boxnow-select-btn:hover {
    background: #008c44;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 166, 81, .25);
}

.boxnow-select-btn.boxnow-selected {
    background: #e6f7ed;
    color: #00a651;
    border: 2px solid #00a651;
}

.boxnow-select-btn.boxnow-selected:hover {
    background: #d0f0dc;
    box-shadow: none;
    transform: none;
}

.boxnow-selected-card {
    background: linear-gradient(135deg, #e6f7ed, #d0f0dc);
    border: 1px solid #86efac;
    border-radius: 10px;
    padding: 14px 16px;
}

.boxnow-selected-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #00a651;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.boxnow-change-btn {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.checkout-sidebar.sticky-lg-top {
    z-index: auto !important;
}
