/* ============================================================
   Single-page Checkout — reference polish
   ============================================================ */

.co {
    --co-ink: #111;
    --co-muted: #6b6b6b;
    --co-line: #e6e6e6;
    --co-soft: #f6f6f6;
    --co-bg: #f3f3f3;
    --co-card: #fff;
    --co-radius: 14px;
    --co-accent: var(--primary, #e62e04);
    font-family: 'Hind Siliguri', sans-serif;
    background: var(--co-bg);
    padding: 18px 0 120px;
    min-height: 60vh;
}

.co__page-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.co__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--co-ink);
    text-decoration: none !important;
    border: 1px solid var(--co-line);
    background: #fff;
    font-size: 18px;
}

.co__back:hover {
    background: #fff;
    color: var(--co-ink);
}

.co__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--co-ink);
}

.co__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
    gap: 18px;
    align-items: start;
}

/* Stack sections with real gaps (avoids margin-collapse sticking cards together) */
.co__main #checkout-form,
.co__main #shipping_info {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    row-gap: 18px !important;
}

.co__main #checkout-form > #shipping_info,
.co__main #checkout-form > .co-card,
.co__main #shipping_info > .co-card {
    margin: 0 !important;
}

.co-card {
    background: var(--co-card);
    border: 1px solid var(--co-line);
    border-radius: var(--co-radius);
    padding: 20px 18px 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Fallback gap if flex/gap is overridden anywhere */
.co__main #checkout-form > .co-card,
.co__main #checkout-form > #shipping_info {
    margin-bottom: 0 !important;
}

.co__main #checkout-form > .co-card + .co-card,
.co__main #checkout-form > #shipping_info + .co-card,
.co__main #checkout-form > .co-card + #payment_info,
.co__main #shipping_info > .co-card + .co-card {
    margin-top: 18px !important;
}

.co-card__title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--co-ink);
}

.co-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.co-card__head .co-card__title {
    margin: 0;
}

.co-card__hint {
    font-size: 12px;
    color: var(--co-muted);
}

/* Destination strip */
.co-dest__head {
    margin-bottom: 10px;
}

.co-dest__label {
    font-size: 12px;
    color: var(--co-muted);
    font-weight: 500;
}

.co-dest__body {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--co-ink);
    margin-bottom: 12px;
}

.co-dest__flag {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
}

.co-dest__note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #eefaf1;
    color: #1f6b3a;
    font-size: 12px;
    line-height: 1.45;
}

.co-dest__note i {
    font-size: 16px;
    margin-top: 1px;
}

/* Fields */
.co-field {
    margin-bottom: 14px;
}

.co-field > label,
.co .co-field-label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #6b7280;
}

.co .text-danger {
    color: var(--co-accent) !important;
}

.co .form-control,
.co .bootstrap-select > .dropdown-toggle {
    border-radius: 12px !important;
    border: 1px solid #e8eaed !important;
    min-height: 48px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Hind Siliguri', sans-serif;
    background: #fafafa !important;
    box-shadow: none !important;
    color: #111 !important;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.co textarea.form-control {
    min-height: 84px;
    padding: 12px 14px;
    resize: vertical;
}

.co .form-control:hover {
    background: #fff !important;
    border-color: #d7dbe0 !important;
}

.co .form-control:focus {
    background: #fff !important;
    border-color: #c5cad1 !important;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.04) !important;
}

.co-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.co-phone {
    display: flex;
    gap: 8px;
    align-items: stretch;
    overflow: visible;
}

.co-phone .iti,
.co-field:has(.co-phone) {
    overflow: visible;
}

.co-phone .form-control {
    flex: 1;
}

.co-phone .iti__flag-container {
    left: 0 !important;
    right: auto !important;
    padding: 1px !important;
}

/* Unify country-code selector with phone input background (#fafafa) */
.co-phone .iti--separate-dial-code .iti__selected-flag,
.co-phone .iti--allow-dropdown .iti__selected-flag,
.co-phone .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background: #fafafa !important;
    margin-left: 0 !important;
    border-right: 1px solid #e8eaed !important;
    border-radius: 11px 0 0 11px;
    height: 100%;
    padding: 0 10px 0 12px;
    box-sizing: border-box;
}

.co-phone .iti:hover .iti__selected-flag,
.co-phone .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background: #fff !important;
    border-right-color: #d7dbe0 !important;
}

.co-phone .iti:focus-within .iti__selected-flag {
    background: #fff !important;
    border-right-color: #c5cad1 !important;
}

.co-phone .iti--separate-dial-code .iti__selected-dial-code {
    color: #111;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Hind Siliguri', sans-serif;
    line-height: 1;
}

.co-phone .iti__arrow {
    border-top-color: #6b7280;
    opacity: 0.85;
}

.co-phone .iti__arrow--up {
    border-bottom-color: #6b7280;
}

.co-phone .iti--allow-dropdown input,
.co-phone .iti--separate-dial-code input,
.co-phone .iti input[type="tel"] {
    padding-left: 96px !important;
}

body:has(.co:not(.co--cart)) .iti--container {
    z-index: 10050 !important;
}

body:has(.co:not(.co--cart)) .iti--container .iti__country-list {
    background: #fff !important;
    border: 1px solid var(--co-line) !important;
    border-radius: 12px !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16) !important;
    opacity: 1 !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body:has(.co:not(.co--cart)) .iti--container .iti__country {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.35;
}

body:has(.co:not(.co--cart)) .iti--container .iti__country.iti__highlight {
    background: var(--co-soft) !important;
}

body:has(.co:not(.co--cart)) .iti--container .iti__divider {
    border-bottom-color: var(--co-line);
    margin-bottom: 0;
    padding-bottom: 0;
}

.co-verify-btn {
    border-radius: 10px !important;
    background: #222 !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    padding: 0 16px;
    white-space: nowrap;
    border: 0 !important;
}

.co-login-prompt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--co-line);
    text-decoration: none !important;
    color: var(--co-ink);
    margin-bottom: 14px;
}

.co-login-prompt:hover {
    border-color: #ccc;
    color: var(--co-ink);
}

.co-login-prompt__title {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 2px;
}

.co-login-prompt__sub {
    font-size: 12px;
    color: var(--co-muted);
    margin: 0;
}

.co-login-hint {
    font-size: 12px;
    color: var(--co-muted);
    line-height: 1.45;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f3f8ff;
}

.co-login-hint a {
    color: var(--co-ink);
}

/* Logged-in address chrome */
.co-addr__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.co-addr__tabs {
    flex: 1;
    min-width: 0;
}

.co-addr__tabs .nav-tabs {
    border: 0;
    gap: 18px;
    margin-bottom: 0;
}

.co-addr__tabs .nav-link {
    border: 0 !important;
    padding: 0 0 8px !important;
    margin: 0 !important;
    font-size: 14px;
    font-weight: 700;
    color: #9ca3af !important;
    background: transparent !important;
    position: relative;
    font-family: 'Hind Siliguri', sans-serif;
}

.co-addr__tabs .nav-link.active {
    color: #111 !important;
}

.co-addr__tabs .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--co-accent, #e62e04);
    border-radius: 2px;
}

.co-addr__link {
    border: 0;
    background: transparent;
    padding: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--co-accent, #e62e04);
    font-family: 'Hind Siliguri', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
}

.co-addr__link:hover {
    color: var(--hov-primary, #c42703);
    text-decoration: underline;
}

.co-addr__card {
    border: 1px solid var(--co-line, #e6e6e6);
    border-radius: 12px;
    background: #fff;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.co-addr__card.is-disabled {
    border-color: #f5c2c0;
    background: #fff8f8;
}

.co-addr__card-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.co-addr__pick {
    flex: 1;
    min-width: 0;
}

.co-addr__pick .aiz-megabox-elem {
    box-shadow: none !important;
    background: transparent !important;
}

.co-addr__text {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    line-height: 1.5;
}

.co-addr__change {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #111 !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    font-family: 'Hind Siliguri', sans-serif;
}

.co-addr__change:hover {
    background: #222 !important;
    color: #fff !important;
}

.co-addr__warn {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #f0c4c2;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #b42318;
}

.co-addr__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}

.co-addr__actions--end {
    justify-content: flex-end;
}

.co-addr__add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(230, 46, 4, 0.22);
    background: rgba(230, 46, 4, 0.06);
    color: var(--co-accent, #e62e04);
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Hind Siliguri', sans-serif;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.co-addr__add i {
    font-size: 16px;
    line-height: 1;
}

.co-addr__add:hover {
    background: rgba(230, 46, 4, 0.12);
    border-color: rgba(230, 46, 4, 0.4);
    color: var(--co-accent, #e62e04);
}

/* Delivery options */
.co-delivery-block__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--co-muted);
    margin-bottom: 8px;
}

.co-delivery-opt {
    margin-bottom: 8px !important;
    background: transparent !important;
    border-radius: 12px;
    overflow: hidden;
}

.co-delivery-opt.bg-white {
    background: transparent !important;
}

.co-delivery-opt__elem {
    border-radius: 12px !important;
    border: 1px solid var(--co-line) !important;
    padding: 14px 16px !important;
    min-height: 52px;
    background: #fff;
}

.co #delivery_info .aiz-megabox input:checked + .aiz-megabox-elem {
    border-color: #111 !important;
    box-shadow: inset 0 0 0 1px #111;
}

.co-delivery-opt__price {
    color: var(--co-ink);
    font-size: 14px;
}

/* Dual logistics: courier + package (same megabox structure as other delivery opts) */
.co-intl-test-banner {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 500;
    color: #7a5b00;
    background: #fff8e1;
    border: 1px solid #f0d78c;
}

.co-intl-carrier__brand {
    gap: 12px;
    min-width: 0;
}

.co-intl-carrier__logo {
    display: block;
    flex-shrink: 0;
    width: 88px;
    height: 48px;
    object-fit: cover;
    object-position: center;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 12px;
    background: transparent;
}

.co-intl-carrier__logo--dhl,
.co-intl-carrier__logo--aramex {
    object-fit: cover;
    background: transparent;
    padding: 0;
}

.co-intl-carrier__copy {
    min-width: 0;
}

.co-intl-carrier__name {
    font-size: 14px;
    line-height: 1.25;
    color: var(--co-ink, #111);
}

.co-intl-carrier__hint {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--co-muted, #9ca3af);
    margin-top: 2px;
}

.co-intl-package.is-hidden-carrier,
.co-intl-package[hidden] {
    display: none !important;
}

.co-intl-package__name {
    font-size: 14px;
    line-height: 1.3;
    color: var(--co-ink, #111);
}

.co-intl-eta {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f3f5f7;
    border: 1px solid #e6eaee;
    font-size: 12px;
    line-height: 1.2;
    color: #5b6570;
}

.co-intl-eta i {
    font-size: 14px;
    color: #111;
}

.co-intl-eta__value {
    font-weight: 700;
    color: #111;
}

.co-intl-package__price {
    white-space: nowrap;
    font-size: 15px;
}

.co #delivery_info .co-intl-package input:checked + .aiz-megabox-elem .co-intl-eta {
    background: #111;
    border-color: #111;
    color: #fff;
}

.co #delivery_info .co-intl-package input:checked + .aiz-megabox-elem .co-intl-eta i,
.co #delivery_info .co-intl-package input:checked + .aiz-megabox-elem .co-intl-eta__value {
    color: #fff;
}

.co #delivery_info .co-intl-package input:checked + .aiz-megabox-elem .co-intl-eta__label {
    color: rgba(255, 255, 255, 0.82);
}

/* Coupon (Order Summary promo) */
#payment_info.co-card {
    margin-top: 18px !important;
}

#co_delivery_card.co-card.is-hidden,
#co_delivery_card.co-card[hidden],
#co_delivery_card.co-card.d-none {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    gap: 0;
}

.co-summary__promo {
    margin: 2px 0 4px;
}

.co-summary__promo-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 6px 0;
    min-height: 36px;
    border: 0;
    background: transparent;
    color: var(--co-muted, #6b6b6b);
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
}

.co-summary__promo-toggle:hover {
    color: var(--co-ink, #111);
}

.co-summary__promo-toggle:focus {
    outline: none;
}

.co-summary__promo-toggle:focus-visible {
    outline: 2px solid rgba(230, 46, 4, 0.28);
    outline-offset: 2px;
    border-radius: 6px;
}

.co-summary__promo-toggle-left {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.co-summary__promo-toggle-left > i {
    font-size: 15px;
    color: var(--co-accent, #e62e04);
    flex-shrink: 0;
    line-height: 1;
}

.co-summary__promo-chevron {
    font-size: 13px;
    color: var(--co-muted, #6b6b6b);
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.15s ease;
}

.co-summary__promo-toggle.is-open .co-summary__promo-chevron {
    transform: rotate(180deg);
}

.co-summary__promo-panel {
    margin-top: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.co-summary__promo-panel .co-coupon {
    margin: 0;
}

.co-summary__promo .co-coupon--applied {
    margin: 0;
}

/* Checkout summary coupon field — blend into white card */
.co-summary__promo .co-coupon {
    gap: 8px;
    align-items: stretch;
}

.co-summary__promo .co-coupon__field > i {
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 17px;
    line-height: 1;
    color: var(--co-muted, #6b6b6b);
}

.co-summary__promo .co-coupon .form-control,
.co-summary__promo .co-coupon__field .form-control {
    min-height: 48px !important;
    height: 48px;
    padding: 0 14px 0 42px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    font-size: 14px !important;
    font-weight: 500;
    color: var(--co-ink, #111) !important;
}

.co-summary__promo .co-coupon .form-control::placeholder,
.co-summary__promo .co-coupon__field .form-control::placeholder {
    color: #9ca3af !important;
    font-weight: 400;
}

.co-summary__promo .co-coupon .form-control:hover,
.co-summary__promo .co-coupon__field .form-control:hover {
    border-color: #d1d5db !important;
    background: #fff !important;
}

.co-summary__promo .co-coupon .form-control:focus,
.co-summary__promo .co-coupon__field .form-control:focus {
    border-color: var(--co-accent, #e62e04) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(230, 46, 4, 0.12) !important;
}

.co-summary__promo .co-apply-btn {
    min-width: 72px;
    width: auto;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    font-size: 14px;
}

.co-summary__promo .co-apply-btn:hover {
    background: var(--hov-primary, #c42703) !important;
}

.co-summary__promo .co-apply-btn:focus-visible {
    outline: 2px solid rgba(230, 46, 4, 0.35);
    outline-offset: 2px;
}

.co-summary__promo .co-apply-btn--remove {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    min-width: 72px;
    padding: 0 12px !important;
}

.co-summary__row--discount .co-summary__val {
    color: #16a34a;
    font-weight: 700;
}

.co-apply-btn.is-loading,
.co-apply-btn:disabled {
    opacity: 0.65;
    pointer-events: none;
    cursor: wait;
}

.co-coupon {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: stretch;
    margin: 0;
    width: 100%;
}

.co-coupon__field {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.co-coupon__field > i {
    position: absolute;
    left: 14px;
    font-size: 18px;
    color: var(--co-muted, #6b6b6b);
    pointer-events: none;
    z-index: 1;
}

.co-coupon .form-control,
.co-coupon__field .form-control {
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: 44px !important;
    height: 44px;
    margin: 0 !important;
    padding: 0 12px 0 40px !important;
    border: 1px solid var(--co-line, #e6e6e6) !important;
    border-radius: 10px !important;
    background: #fff !important;
    font-size: 13px !important;
    font-weight: 500;
    color: var(--co-ink, #111) !important;
    box-shadow: none !important;
}

.co-coupon .form-control::placeholder,
.co-coupon__field .form-control::placeholder {
    color: #9aa0a6 !important;
    font-weight: 400;
}

.co-coupon .form-control:hover,
.co-coupon__field .form-control:hover {
    background: #fff !important;
    border-color: #d7dbe0 !important;
}

.co-coupon .form-control:focus,
.co-coupon__field .form-control:focus {
    background: #fff !important;
    border-color: #c5cad1 !important;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.04) !important;
}

.co-coupon--applied {
    align-items: center;
    padding: 8px 8px 8px 12px;
    border: 1px solid rgba(22, 163, 74, 0.18);
    border-radius: 12px;
    background: rgba(22, 163, 74, 0.06);
    gap: 10px;
}

.co-coupon__applied {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.co-coupon__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
    font-size: 18px;
    flex-shrink: 0;
}

.co-coupon__copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.co-coupon__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--co-muted, #6b6b6b);
}

.co-coupon__code {
    font-size: 14px;
    font-weight: 700;
    color: var(--co-ink, #111);
    letter-spacing: 0.02em;
}

.co-apply-btn {
    flex-shrink: 0;
    align-self: stretch;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
    background: var(--co-accent, #e62e04) !important;
    color: #fff !important;
    border: 0 !important;
    font-weight: 700;
    font-size: 13px;
    min-width: 78px;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 16px !important;
    line-height: 1 !important;
    margin: 0 !important;
    font-family: 'Hind Siliguri', sans-serif;
    box-shadow: none !important;
}

.co-apply-btn:focus-visible {
    outline: 2px solid rgba(230, 46, 4, 0.35);
    outline-offset: 2px;
}

.co-apply-btn:hover {
    background: var(--hov-primary, #c42703) !important;
    color: #fff !important;
}

.co-apply-btn--remove {
    background: transparent !important;
    color: var(--co-muted, #6b6b6b) !important;
    border: 1px solid var(--co-line, #e6e6e6) !important;
    min-width: 84px;
}

.co-apply-btn--remove:hover {
    background: #fff !important;
    color: var(--co-ink, #111) !important;
    border-color: #ccc !important;
}

/* Coupon login shortcut */
.co-coupon-login {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--co-line);
    text-decoration: none !important;
    color: var(--co-ink) !important;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.co-coupon-login:hover {
    border-color: #ccc;
    color: var(--co-ink) !important;
}

/* Checkout / address modals */
.co-modal .modal-content {
    border: 0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(17, 17, 17, 0.18);
    font-family: 'Hind Siliguri', sans-serif;
}

.co-modal .modal-header {
    border-bottom: 1px solid #eee;
    padding: 16px 18px;
    align-items: center;
}

.co-modal .modal-title {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.co-modal__close {
    position: relative;
    z-index: 2;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    min-height: 36px;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #94a3b8 !important;
    opacity: 1 !important;
    text-shadow: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none !important;
    transition: color 0.15s ease;
}

.co-modal__close:hover,
.co-modal__close:focus {
    background: transparent !important;
    border: 0 !important;
    color: #0f172a !important;
    opacity: 1 !important;
}

/* Kill AIZ/Bootstrap ghost close glyph */
.co-modal__close::before,
.co-modal .modal-header .close::before {
    display: none !important;
    content: none !important;
}

.co-modal__close span {
    display: none !important;
}

.co-modal__close-icon {
    display: block;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.co-modal .modal-body {
    padding: 16px 18px;
}

.co-modal .modal-footer {
    border-top: 1px solid #eee;
    padding: 14px 18px;
    justify-content: flex-end;
}

.co-modal__form .co-field {
    margin-bottom: 14px;
}

.co-modal__form .co-field-label,
.co-modal .co-field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.co-modal .form-control,
.co-modal .bootstrap-select > .dropdown-toggle {
    border-radius: 10px !important;
    border: 1px solid #e6e6e6 !important;
    min-height: 46px;
    font-size: 14px;
    font-family: 'Hind Siliguri', sans-serif;
    background: #fff !important;
    box-shadow: none !important;
}

.co-modal textarea.form-control {
    min-height: 72px;
    padding-top: 12px;
}

.co-modal .form-control:focus {
    border-color: #cfcfcf !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04) !important;
}

.co-modal .co-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.co-modal__btn {
    min-height: 44px;
    min-width: 120px;
    padding: 10px 22px !important;
    border-radius: 10px !important;
    border: 0 !important;
    background: var(--primary, #e62e04) !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Hind Siliguri', sans-serif;
}

.co-modal__btn:hover {
    background: var(--hov-primary, #c42703) !important;
    color: #fff !important;
}

.co-modal .co-addr__card:last-of-type {
    margin-bottom: 14px;
}

@media (max-width: 575.98px) {
    .co-addr__head {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .co-addr__link {
        align-self: flex-end;
        padding-bottom: 0;
    }

    .co-addr__card-row {
        flex-direction: column;
    }

    .co-addr__change {
        align-self: flex-end;
    }

    .co-coupon {
        flex-direction: row !important;
        align-items: stretch;
        gap: 8px;
    }

    .co-apply-btn {
        width: auto;
        min-width: 72px;
        height: 44px !important;
        padding: 0 14px !important;
    }

    .co-summary__promo-panel {
        padding: 0;
        background: transparent;
        border: 0;
    }

    .co-summary__promo .co-coupon {
        gap: 6px;
    }

    .co-summary__promo .co-coupon .form-control,
    .co-summary__promo .co-coupon__field .form-control,
    .co-summary__promo .co-apply-btn {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }

    .co-summary__promo .co-apply-btn {
        min-width: 68px;
        padding: 0 12px !important;
    }

    .co-summary__promo .co-coupon--applied {
        flex-wrap: wrap;
        padding: 8px 10px;
    }

    .co-summary__promo .co-apply-btn--remove {
        width: 100%;
        min-width: 0;
    }

    .co-modal .co-row-2 {
        grid-template-columns: 1fr;
    }
}

/* Rewards / club points */
.co-rewards {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none !important;
    color: var(--co-ink) !important;
    font-size: 13px;
    font-weight: 500;
}

.co-rewards--static {
    cursor: default;
}

.co-rewards__pts {
    color: #1f8a4c;
    font-weight: 700;
}

/* Collapsible order note */
.co-note__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--co-ink);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Hind Siliguri', sans-serif;
    cursor: pointer;
}

.co-note__toggle i {
    font-size: 16px;
}

.co-note__body {
    margin-top: 10px;
}

/* Hide payment section duplicate label when card titled */
.co #payment_info > .co-field-label,
.co #payment_info > div > .co-field-label.mb-2 {
    display: none;
}


.co #payment_info .aiz-megabox-elem {
    border-radius: 12px !important;
    border: 1px solid var(--co-line) !important;
}

.co #payment_info .aiz-megabox input:checked + .aiz-megabox-elem {
    border-color: #111 !important;
    box-shadow: inset 0 0 0 1px #111;
}

.co #payment_info .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
}

.co #payment_info textarea.form-control {
    margin-bottom: 12px;
}

/* Summary */
.co-summary {
    background: #fff;
    border: 1px solid var(--co-line);
    border-radius: var(--co-radius);
    padding: 16px 16px 14px;
    position: sticky;
    top: 88px;
}

.co-summary__ship-est {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: var(--co-muted);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--co-line);
}

.co-summary__ship-est i {
    font-size: 16px;
}

.co-summary__ship-est strong {
    color: var(--co-ink);
    font-size: 12px;
}

.co-summary__ship-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.co-summary__ship-title {
    font-weight: 600;
    color: var(--co-ink);
}

.co-summary__ship-meta {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--co-muted);
}

.co-summary__eta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: -2px 0 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f4f6f8;
    border: 1px solid #e7ebef;
    font-size: 12px;
    line-height: 1.3;
    color: #5b6570;
}

.co-summary__eta-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.co-summary__eta i {
    font-size: 15px;
    color: #111;
}

.co-summary__eta strong {
    font-size: 12px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

/* Free delivery progress — clean minimal strip */
.co-ship-goal--done,
.co-ship-goal--progress {
    --co-ship-pct: 0%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    animation: co-ship-pop 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.co-ship-goal--done {
    background: #eefaf1;
}

.co-ship-goal--progress {
    background: var(--co-soft, #f6f6f6);
}

.co-ship-goal__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.co-ship-goal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
}

.co-ship-goal--done .co-ship-goal__icon {
    background: #1f6b3a;
    color: #fff;
}

.co-ship-goal--progress .co-ship-goal__icon {
    background: #111;
    color: #fff;
}

.co-ship-goal__copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}

.co-ship-goal__title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.co-ship-goal--done .co-ship-goal__title {
    color: #1f6b3a;
}

.co-ship-goal--progress .co-ship-goal__title {
    color: var(--co-ink, #111);
}

.co-ship-goal__sub {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

.co-ship-goal--done .co-ship-goal__sub {
    color: #1f6b3a;
    opacity: 0.85;
}

.co-ship-goal--progress .co-ship-goal__sub {
    color: var(--co-muted, #6b6b6b);
}

.co-ship-goal__pct {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--co-ink, #111);
    letter-spacing: -0.02em;
    min-width: 2.4em;
    text-align: right;
}

.co-ship-goal__track {
    position: relative;
    height: 6px;
    margin: 2px 2px 0;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.1);
    overflow: visible;
}

.co-ship-goal__fill {
    position: absolute;
    inset: 0 auto 0 0;
    display: block;
    height: 100%;
    width: 0;
    max-width: 100%;
    border-radius: inherit;
    background: #111;
    overflow: hidden;
    animation: co-ship-fill 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.co-ship-goal__shine {
    position: absolute;
    top: 0;
    left: -45%;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: co-ship-shine 1.6s ease-in-out 0.35s infinite;
}

.co-ship-goal__knob {
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    border-radius: 50%;
    background: #111;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(17, 17, 17, 0.2);
    transform: translateY(-50%);
    animation: co-ship-knob 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    z-index: 1;
}

.co-ship-goal__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--co-muted, #6b6b6b);
}

@keyframes co-ship-fill {
    from { width: 0; }
    to { width: var(--co-ship-pct); }
}

@keyframes co-ship-knob {
    from { left: 0; }
    to { left: min(var(--co-ship-pct), 100%); }
}

@keyframes co-ship-shine {
    0% { transform: translateX(0); opacity: 0; }
    25% { opacity: 1; }
    100% { transform: translateX(280%); opacity: 0; }
}

@keyframes co-ship-pop {
    0% { transform: translateY(3px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .co-ship-goal--done,
    .co-ship-goal--progress,
    .co-ship-goal__fill,
    .co-ship-goal__knob,
    .co-ship-goal__shine {
        animation: none !important;
    }

    .co-ship-goal__fill {
        width: var(--co-ship-pct);
    }

    .co-ship-goal__knob {
        left: min(var(--co-ship-pct), 100%);
    }
}

.co-free-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f1faf4 0%, #e8f6ee 100%);
    border: 1px solid #cfe8d8;
}

.co-free-banner--progress {
    background: linear-gradient(135deg, #f7f8fa 0%, #f1f3f6 100%);
    border-color: #e3e7ec;
}

.co-free-banner__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

.co-free-banner__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.co-free-banner__title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: #146c3f;
    letter-spacing: -0.01em;
}

.co-free-banner--progress .co-free-banner__title {
    color: var(--co-ink, #111);
}

.co-free-banner__sub {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: #3f7a58;
}

.co-free-banner--progress .co-free-banner__sub {
    color: var(--co-muted, #6b7280);
}

.co-free-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 11px;
    border-radius: 999px;
    background: #111;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
}

.co-summary__row.is-shipping.is-free .co-summary__val {
    font-weight: 700;
}

.co-intl-package__price .co-free-pill,
.co-delivery-opt__price .co-free-pill {
    vertical-align: middle;
}

.co-summary__item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    margin-bottom: 14px;
    min-width: 0;
    max-width: 100%;
}

.co-summary__thumb {
    width: 58px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--co-soft);
}

.co-summary__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--co-ink);
    line-height: 1.3;
    margin: 0 0 2px;
}

.co-summary__var {
    font-size: 12px;
    color: var(--co-muted);
    margin: 0 0 8px;
}

.co-summary__qty {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border: 1px solid var(--co-line);
    border-radius: 8px;
    padding: 2px;
    background: #fff;
}

.co-summary__qty button {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: var(--co-ink);
    cursor: pointer;
    border-radius: 6px;
    line-height: 1;
    font-size: 14px;
}

.co-summary__qty button:hover {
    background: var(--co-soft);
}

.co-summary__qty span {
    min-width: 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.co-summary__price {
    font-size: 13px;
    font-weight: 700;
    color: var(--co-ink);
    text-align: right;
    white-space: nowrap;
}

.co-summary__rows {
    border-top: 1px solid var(--co-line);
    padding-top: 12px;
    margin-top: 2px;
}

.co-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: var(--co-muted);
    margin-bottom: 8px;
}

.co-summary__row .co-summary__val {
    color: var(--co-ink);
    font-weight: 500;
}

.co-summary__row.is-shipping .co-summary__val {
    color: var(--co-accent);
    font-weight: 700;
}

.co-summary__row.is-shipping.is-free .co-summary__val {
    color: var(--co-ink);
    font-weight: 700;
}

.co-summary__row.is-total {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--co-line);
    font-size: 14px;
    font-weight: 700;
    color: var(--co-ink);
}

.co-summary__row.is-total .co-summary__val {
    font-size: 15px;
    font-weight: 700;
}

.co-summary__note {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff4e5;
    color: #8a5a1a;
    font-size: 12px;
    line-height: 1.4;
}

/* Sticky footer */
.co-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: #fff;
    border-top: 1px solid var(--co-line);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.06);
    padding: 14px 0;
}

.co-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.co-footer__total {
    font-size: 16px;
    font-weight: 700;
    color: var(--co-ink);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.co-footer__usd {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}

.co-footer__info-btn {
    width: 16px;
    height: 16px;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    cursor: help;
}

.co-footer__legal {
    margin: 0;
    font-size: 11px;
    color: var(--co-muted);
    max-width: 560px;
    line-height: 1.45;
}

.co-footer__legal a {
    color: var(--co-ink);
    font-weight: 700;
    text-decoration: none;
}

.co-footer__legal a:hover {
    text-decoration: underline;
}

.co-footer__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.co-summary__row--usd .co-summary__usd {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

.co-footer__agree {
    display: none !important;
}

.co-place-btn {
    appearance: none;
    border: 0;
    border-radius: 10px;
    background: var(--co-accent, #e62e04);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 32px;
    min-width: 168px;
    cursor: pointer;
    font-family: 'Hind Siliguri', sans-serif;
    transition: background 0.15s ease, filter 0.15s ease;
}

.co-place-btn:hover {
    background: var(--hov-primary, #c42703);
    filter: none;
    color: #fff !important;
}

.co-place-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.co-summary .card,
.co-summary .card-header,
.co-summary .card-body {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.co-summary .sticky-top-lg {
    position: static !important;
}

@media (max-width: 991.98px) {
    .co:not(.co--cart) {
        padding-bottom: 110px;
        margin-bottom: 0;
        min-height: 0;
    }

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

    .co:not(.co--cart) .co-summary {
        position: static;
        order: -1;
    }

    .co:not(.co--cart) .co__aside {
        order: -1;
    }

    .co-footer__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .co-footer__actions {
        width: 100%;
        justify-content: space-between;
    }

    .co-place-btn {
        flex: 1;
    }

    .co-row-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .co:not(.co--cart) {
        padding-bottom: 124px;
    }

    body:has(.aiz-mobile-bottom-nav) .co-footer {
        bottom: var(--mob-nav-total, 58px);
    }

    .co-footer__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .co-place-btn {
        width: 100%;
    }
}

/* ============================================================
   Cart page — same visual language as checkout
   ============================================================ */

.co--cart {
    padding-bottom: 40px;
}

.co-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.co-welcome__title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.co-welcome__text {
    font-size: 12px;
    color: var(--co-muted);
}

.co-cart__select-all {
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--co-line);
}

.co-cart__select-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--co-ink);
    margin-left: 4px;
}

.co-cart__group {
    padding-top: 8px;
}

.co-cart__group + .co-cart__group {
    margin-top: 8px;
    border-top: 1px dashed var(--co-line);
    padding-top: 14px;
}

.co-cart__group-head {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--co-ink);
}

.co-cart__item {
    display: grid;
    grid-template-columns: 22px 64px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--co-line);
}

.co-cart__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.co-cart__check {
    margin: 0;
}

.co-cart__thumb {
    width: 64px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--co-soft);
}

.co-cart__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--co-ink);
    line-height: 1.3;
    margin-bottom: 2px;
}

.co-cart__var,
.co-cart__unit {
    font-size: 12px;
    color: var(--co-muted);
}

.co-cart__unit {
    margin-top: 4px;
    font-weight: 600;
    color: var(--co-ink);
}

.co-cart__controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.co-cart__qty {
    display: inline-flex !important;
    align-items: center;
    border: 1px solid var(--co-line);
    border-radius: 10px;
    overflow: hidden;
    width: auto !important;
    background: #fff;
}

.co-cart__qty .btn {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    width: 32px;
    height: 34px;
    color: var(--co-ink);
}

.co-cart__qty .input-number {
    width: 40px;
    border: 0 !important;
    height: 34px;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    -moz-appearance: textfield;
}

.co-cart__qty .input-number::-webkit-outer-spin-button,
.co-cart__qty .input-number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.co-cart__line {
    min-width: 88px;
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    color: var(--co-ink);
}

.co-cart__remove {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #999 !important;
    text-decoration: none !important;
}

.co-cart__remove:hover {
    background: #f4f4f4;
    color: var(--co-accent) !important;
}

.co-cart__checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none !important;
    background: var(--co-accent);
}

.co-cart__checkout-btn:hover {
    color: #fff !important;
    filter: brightness(1.05);
}

.co-cart__empty {
    text-align: center;
    padding: 56px 28px 48px;
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: var(--co-radius);
    border: 1px solid var(--co-line);
    background: #fff;
    box-shadow: none !important;
    animation: none;
}

.co-cart__empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid var(--co-line);
    color: #94a3b8;
}

.co-cart__empty-icon i {
    font-size: 32px;
    margin: 0;
    color: inherit;
    display: block;
}

.co-cart__empty h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    color: var(--co-ink);
}

.co-cart__empty-text {
    margin: 0 auto 22px;
    max-width: 340px;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
    color: var(--co-muted);
}

.co-cart__empty-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.co-cart__empty .co-place-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    min-width: 220px;
    min-height: 48px;
    border-radius: 12px;
    background: #0f172a;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.co-cart__empty .co-place-btn:hover {
    background: #000;
    filter: none;
    transform: none;
    box-shadow: none;
}

.co-cart__empty-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--co-accent) !important;
    text-decoration: none !important;
}

.co-cart__empty-link:hover {
    text-decoration: underline !important;
}

@media (max-width: 575.98px) {
    .co-cart__empty {
        padding: 40px 18px 36px;
        margin-top: 4px;
    }

    .co-cart__empty .co-place-btn {
        width: 100%;
        min-width: 0;
    }
}

/* ============================================================
   Shopping Bag offcanvas
   ============================================================ */

#rightOffcanvas:has(.sbag),
#rightOffcanvas.sbag-open {
    padding: 0 !important;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    max-height: 100dvh;
    min-height: 0;
    background: #fff;
}

#rightOffcanvas:has(.sbag) .right-offcanvas-body,
#rightOffcanvas:has(.sbag) .sbag__body,
#rightOffcanvas.sbag-open .right-offcanvas-body,
#rightOffcanvas.sbag-open .sbag__body {
    width: 100%;
    overflow-x: hidden;
    position: relative !important;
    height: auto !important;
    padding-bottom: 20px !important;
}

.sbag {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    max-height: 100dvh;
    background: #fff;
    font-family: 'Hind Siliguri', sans-serif;
    color: #1a1a1a;
}

.sbag__head {
    position: relative;
    flex-shrink: 0;
    padding: 18px 20px 14px;
    text-align: center;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.sbag__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111;
}

.sbag__close {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #e62e04;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sbag__close:hover {
    color: #111;
    background: #f3f3f3;
}

.sbag__body {
    position: relative !important;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 18px 20px !important;
    height: auto !important;
}

.sbag__login {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    text-decoration: none !important;
    color: inherit;
    margin-bottom: 18px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.sbag__login:hover {
    border-color: #ccc;
    background: #fafafa;
    color: inherit;
}

.sbag__login-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sbag__login-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.sbag__login-text span {
    font-size: 12px;
    color: #888;
    line-height: 1.35;
}

.sbag__login > i {
    color: #999;
    font-size: 16px;
    flex-shrink: 0;
}

.sbag__summary-label {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.sbag__summary-label strong {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.sbag__summary-label span {
    font-size: 13px;
    color: #888;
}

.sbag__duties {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid #b7e4c7;
    background: #eaf8ef;
    color: #1b4332;
}

.sbag__duties-icon {
    flex-shrink: 0;
    color: #2d6a4f;
    margin-top: 1px;
}

.sbag__duties-text {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #1b4332;
}

.sbag__select-all {
    margin-bottom: 6px;
}

.sbag__select-label {
    font-size: 13px;
    font-weight: 600;
    color: #111;
}

.sbag .aiz-checkbox .aiz-square-check {
    border-color: #d0d0d0;
    border-radius: 3px;
}

.sbag .aiz-checkbox > input:checked ~ .aiz-square-check {
    border-color: #e62e04;
    background: #e62e04;
}

.sbag .aiz-checkbox > input:checked ~ .aiz-square-check:after {
    border-color: #fff;
}


.sbag__items {
    display: flex;
    flex-direction: column;
}

/* Row: checkbox | thumb | info | price */
.sbag__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sbag__item-check {
    padding-top: 6px;
    flex-shrink: 0;
}

.sbag__thumb-wrap {
    flex-shrink: 0;
    display: block;
    width: 80px !important;
    height: 80px !important;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.sbag__thumb {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: cover !important;
    border-radius: 8px;
    background: #f5f5f5;
    display: block !important;
}

.sbag__item-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 1px;
}

.sbag__item-name {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    text-decoration: none !important;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sbag__item-name:hover {
    color: #e62e04;
}

.sbag__item-var {
    font-size: 12px;
    color: #777;
    margin-bottom: 4px;
}

.sbag__qty {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    margin-top: 4px;
}

.sbag__qty-btn {
    width: 34px;
    height: 34px;
    border: 0;
    background: #fff;
    color: #444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.sbag__qty-btn:hover {
    background: #f7f7f7;
}

.sbag__qty-trash {
    color: #e62e04 !important;
    border-right: 1px solid #eee;
}

.sbag__qty-val {
    min-width: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #111;
    border-right: 1px solid #eee;
    line-height: 34px;
}

.sbag__price {
    flex: 0 0 auto;
    margin-left: auto;
    padding-top: 2px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    text-align: right;
}

.sbag__totals {
    margin-top: 16px;
    padding-top: 8px;
}

.sbag__total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #444;
    padding: 6px 0;
}

.sbag__total-row--strong {
    font-weight: 700;
    color: #111;
    font-size: 15px;
    padding-top: 8px;
}

.sbag__empty {
    text-align: center;
    padding: 64px 20px;
    color: #999;
}

.sbag__empty i {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.sbag__empty p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #666;
}

.sbag__footer {
    position: static;
    flex-shrink: 0;
    display: flex;
    gap: 10px;
    padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #eee;
    z-index: 2;
}

.sbag__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.sbag__btn--ghost {
    background: #fff;
    color: #111 !important;
    border: 1.5px solid #111;
}

.sbag__btn--ghost:hover {
    background: #f7f7f7;
    color: #111 !important;
}

.sbag__btn--primary {
    background: #111;
    color: #fff !important;
    border: 1.5px solid #111;
}

.sbag__btn--primary:hover {
    background: #000;
    color: #fff !important;
}

@media (max-width: 991.98px) {
    #rightOffcanvas:has(.sbag),
    #rightOffcanvas.sbag-open {
        width: min(100%, 440px) !important;
        right: min(-100%, -440px) !important;
    }

    #rightOffcanvas:has(.sbag).active,
    #rightOffcanvas.sbag-open.active {
        right: 0 !important;
    }

    .sbag__head { padding: 16px 18px 12px; }
    .sbag__body { padding-left: 16px !important; padding-right: 16px !important; }
    .sbag__footer { padding-left: 16px; padding-right: 16px; }

    .sbag__thumb-wrap,
    .sbag__thumb {
        width: 72px !important;
        height: 72px !important;
        max-width: 72px !important;
        max-height: 72px !important;
    }
}

@media (max-width: 767.98px) {
    #rightOffcanvas:has(.sbag),
    #rightOffcanvas.sbag-open {
        width: min(100%, 400px) !important;
        right: min(-100%, -400px) !important;
    }

    .sbag__title { font-size: 17px; }
    .sbag__login { padding: 12px 14px; }
    .sbag__login-text strong { font-size: 13px; }
    .sbag__duties { padding: 10px 12px; }
    .sbag__duties-text { font-size: 11px; }
}

@media (max-width: 575.98px) {
    #rightOffcanvas:has(.sbag),
    #rightOffcanvas.sbag-open {
        width: 100% !important;
        right: -100% !important;
    }

    #rightOffcanvas:has(.sbag).active,
    #rightOffcanvas.sbag-open.active {
        right: 0 !important;
    }

    .sbag__item { gap: 8px; }

    .sbag__thumb-wrap,
    .sbag__thumb {
        width: 64px !important;
        height: 64px !important;
        max-width: 64px !important;
        max-height: 64px !important;
    }

    .sbag__price { font-size: 13px; }
    .sbag__btn { height: 48px; min-height: 48px; }
}

/* ============================================================
   Select Variant Canvas — matches Shopping Bag (.sbag)
   ============================================================ */

#rightOffcanvas:has(.svc),
#rightOffcanvas.svc-open {
    padding: 0 !important;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    max-height: 100dvh;
    min-height: 0;
    background: #fff;
}

#rightOffcanvas:has(.svc) .right-offcanvas-body,
#rightOffcanvas:has(.svc) .svc__body,
#rightOffcanvas.svc-open .right-offcanvas-body,
#rightOffcanvas.svc-open .svc__body {
    width: 100%;
    overflow-x: hidden;
    position: relative !important;
    height: auto !important;
    padding-bottom: 12px !important;
}

.svc {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    max-height: 100dvh;
    background: #fff;
    font-family: 'Hind Siliguri', sans-serif;
    color: #1a1a1a;
}

.svc__head {
    position: relative;
    flex-shrink: 0;
    padding: 18px 20px 14px;
    text-align: center;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.svc__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111;
    line-height: 1.3;
}

.svc__close {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #e62e04;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.svc__close:hover {
    color: #111;
    background: #f3f3f3;
}

.svc__body {
    position: relative !important;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 18px 20px !important;
    height: auto !important;
}

/* Product row — mirrors .sbag__item */
.svc .sbag__login,
.svc .sbag__duties,
.svc .sbag__summary-label {
    margin-left: 0;
    margin-right: 0;
}

.svc__product.sbag__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 0 0 16px;
    margin: 0 0 16px;
    border-bottom: 1px solid #f0f0f0;
}

.svc__thumb-wrap,
.svc .sbag__thumb-wrap {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    max-width: 80px;
    max-height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f6f6f6;
    border: 1px solid #eee;
}

.svc__thumb,
.svc .sbag__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.svc__product-info,
.svc .sbag__item-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.svc__product-name,
.svc .sbag__item-name {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    line-height: 1.35;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc__product-var,
.svc .sbag__item-var {
    font-size: 12px;
    color: #777;
    line-height: 1.35;
    font-weight: 500;
}

.svc__product-price,
.svc .sbag__price {
    flex: 0 0 auto;
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    align-self: flex-start;
}

.svc__product-price strong,
.svc #chosen_price {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.svc__price-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.svc__price-old {
    font-size: 13px;
    font-weight: 500;
    color: #999;
}

.svc__badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(230, 46, 4, 0.1);
    color: #e62e04;
    font-size: 11px;
    font-weight: 700;
}

.svc__unit,
.svc__club {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.svc__section {
    margin: 4px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid #f0f0f0;
}

.svc__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.svc__section-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.01em;
}

.svc__guide {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
}

.svc__guide:hover {
    color: #111;
}

.svc__option {
    margin: 0;
}

.svc__option + .svc__option {
    margin-top: 20px;
    padding-top: 4px;
}

.svc__option-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #111;
    margin: 0 0 12px;
    line-height: 1.3;
}

.svc__pills,
.svc .aiz-radio-inline.svc__pills {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
}

.svc__pills .aiz-megabox,
.svc .svc__pills .aiz-megabox {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto;
}

.svc .svc__pill,
.svc .svc__pills .aiz-megabox-elem {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 48px !important;
    height: 42px !important;
    padding: 0 16px !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: #f5f5f5 !important;
    color: #333 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    line-height: 1 !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.svc .svc__pills .aiz-megabox:hover .svc__pill,
.svc .svc__pills .aiz-megabox:hover .aiz-megabox-elem {
    background: #ebebeb !important;
    border-color: transparent !important;
    color: #111 !important;
}

.svc .aiz-megabox > input:checked ~ .svc__pill,
.svc .svc__pills .aiz-megabox > input:checked ~ .aiz-megabox-elem,
.svc .svc__pills .aiz-megabox > input:focus ~ .svc__pill,
.svc .svc__pills .aiz-megabox > input:focus ~ .aiz-megabox-elem {
    background: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
    box-shadow: none !important;
    outline: none !important;
    font-weight: 700 !important;
}

.svc__colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.svc .svc__color {
    padding: 4px !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: none !important;
}

.svc .aiz-megabox > input:checked ~ .svc__color {
    border-color: #111 !important;
    box-shadow: inset 0 0 0 1.5px #111;
}

.svc__swatch {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.svc__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 14px 0 0;
    padding: 0;
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

.svc__stock {
    font-weight: 700;
    color: #555;
}

.svc__limits {
    color: #999;
    font-weight: 500;
}

/* Qty — mirrors .sbag__qty */
.svc__qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 20px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid #f0f0f0;
}

.svc__qty-label {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.svc__qty,
.svc .sbag__qty {
    display: inline-flex !important;
    align-items: stretch;
    align-self: auto;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    height: 40px;
    margin-top: 0;
}

.svc__qty-btn,
.svc .sbag__qty-btn {
    width: 40px;
    height: 40px;
    border: 0 !important;
    background: #fff !important;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 15px;
}

.svc__qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.svc__qty-btn:hover:not(:disabled) {
    background: #f7f7f7 !important;
}

.svc__qty-input,
.svc .sbag__qty .svc__qty-input,
.svc .sbag__qty .input-number,
.svc .sbag__qty .sbag__qty-val {
    width: 44px !important;
    min-width: 44px !important;
    height: 40px !important;
    margin: 0 !important;
    border: 0 !important;
    border-left: 1px solid #eee !important;
    border-right: 1px solid #eee !important;
    border-radius: 0 !important;
    text-align: center;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111 !important;
    background: #fff !important;
    box-shadow: none !important;
    line-height: 40px !important;
    -moz-appearance: textfield;
}

.svc__qty-input::-webkit-outer-spin-button,
.svc__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.svc__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #128c7e;
    text-decoration: none !important;
}

.svc__whatsapp:hover {
    color: #0f6f64;
}

.svc__footer.sbag__footer {
    flex-shrink: 0;
    flex-wrap: wrap;
    position: static;
    display: flex;
    gap: 10px;
    padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #eee;
}

.svc .sbag__footer .sbag__btn {
    flex: 1 1 0;
    cursor: pointer;
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 14px;
    font-weight: 700;
    height: 46px;
    min-height: 46px;
    border-radius: 8px;
    -webkit-appearance: none;
    appearance: none;
    text-decoration: none !important;
}

.svc .sbag__footer .sbag__btn--ghost {
    background: #fff !important;
    color: #111 !important;
    border: 1.5px solid #111 !important;
}

.svc .sbag__footer .sbag__btn--ghost:hover {
    background: #f7f7f7 !important;
}

.svc .sbag__footer .sbag__btn--primary {
    background: #111 !important;
    color: #fff !important;
    border: 1.5px solid #111 !important;
}

.svc .sbag__footer .sbag__btn--primary:hover {
    background: #000 !important;
}

.svc__btn--disabled {
    background: #f0f0f0 !important;
    color: #999 !important;
    border: 1.5px solid #eee !important;
    cursor: not-allowed;
}

.svc__details-wrap {
    flex-shrink: 0;
    padding: 0 18px calc(14px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    text-align: center;
}

.svc__details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    text-decoration: none !important;
}

.svc__details:hover {
    color: #111;
}

@media (max-width: 991.98px) {
    #rightOffcanvas:has(.svc),
    #rightOffcanvas.svc-open {
        width: min(100%, 440px) !important;
        right: min(-100%, -440px) !important;
    }

    #rightOffcanvas:has(.svc).active,
    #rightOffcanvas.svc-open.active {
        right: 0 !important;
    }

    .svc__body { padding-left: 16px !important; padding-right: 16px !important; }
    .svc__footer { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 767.98px) {
    #rightOffcanvas:has(.svc),
    #rightOffcanvas.svc-open {
        width: min(100%, 400px) !important;
        right: min(-100%, -400px) !important;
    }

    .svc__title { font-size: 17px; }
    .svc__thumb-wrap {
        width: 80px;
        height: 80px;
        flex-basis: 80px;
    }
}

@media (max-width: 575.98px) {
    #rightOffcanvas:has(.svc),
    #rightOffcanvas.svc-open {
        width: 100% !important;
        right: -100% !important;
    }

    #rightOffcanvas:has(.svc).active,
    #rightOffcanvas.svc-open.active {
        right: 0 !important;
    }

    .svc__btn { height: 48px; min-height: 48px; }
}

/* ============================================================
   Auth / Login modal — matches split login page
   ============================================================ */

#login_modal.auth-modal {
    --auth-ink: #0f172a;
    --auth-muted: #64748b;
    --auth-line: #e2e8f0;
    --auth-soft: #f1f5f9;
    --auth-accent: var(--primary, #e62e04);
    --auth-radius: 12px;
}

#login_modal.auth-modal .modal-dialog {
    max-width: 440px;
    margin: 1.25rem auto;
}

@media (min-width: 992px) {
    #login_modal.auth-modal.fade .auth-modal__dialog {
        transform: translateY(18px) scale(0.96);
        opacity: 0;
        transition:
            transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.28s ease;
    }

    #login_modal.auth-modal.show .auth-modal__dialog {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

body.modal-open .modal-backdrop.show {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background-color: rgba(15, 23, 42, 0.48);
}

#login_modal .auth-modal__content {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
    overflow: hidden;
    font-family: 'Hind Siliguri', sans-serif;
    background: #fff;
    color: var(--auth-ink);
}

#login_modal .auth-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 24px 0;
    border-bottom: 0;
}

#login_modal .auth-modal__head-text {
    min-width: 0;
    flex: 1;
}

#login_modal .auth-modal__title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: var(--auth-ink);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

#login_modal .auth-modal__lead {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--auth-muted);
    max-width: 320px;
}

#login_modal .auth-modal__close {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: var(--auth-soft);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#login_modal .auth-modal__close:hover {
    background: #e2e8f0;
    color: var(--auth-ink);
    transform: rotate(90deg);
}

#login_modal .auth-modal__body {
    padding: 18px 24px 24px;
}

#login_modal .auth-modal__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    margin: 0 0 16px;
    background: var(--auth-soft);
    border: 1px solid var(--auth-line);
    border-radius: 999px;
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

#login_modal .auth-modal__tab {
    border: 0;
    background: transparent;
    border-radius: 999px;
    min-height: 40px;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--auth-muted);
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

#login_modal .auth-modal__tab.is-active {
    background: #fff;
    color: var(--auth-ink);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

#login_modal .auth-modal__tab:hover:not(.is-active) {
    color: var(--auth-ink);
}

#login_modal .auth-modal__meta--end {
    justify-content: flex-end;
}

#login_modal .auth-modal__meta--verify {
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

#login_modal .auth-modal__label-hint {
    color: var(--auth-muted);
    font-weight: 500;
}

#login_modal .auth-modal__countdown {
    color: var(--auth-accent, #e62e04);
    font-weight: 700;
    font-size: 13px;
}

#login_modal .auth-modal__resend {
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

#login_modal .auth-modal__resend:disabled {
    cursor: default;
}

#login_modal .auth-modal__inline-error {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(230, 46, 4, 0.08);
    color: #c2410c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

#login_modal.show .auth-modal__tabs,
#login_modal.show .auth-modal__social,
#login_modal.show .auth-modal__divider,
#login_modal.show .auth-modal__field,
#login_modal.show .auth-modal__meta,
#login_modal.show .auth-modal__submit,
#login_modal.show .auth-modal__register-line,
#login_modal.show .auth-modal__switch {
    animation: auth-modal-rise 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#login_modal.show .auth-modal__tabs { animation-delay: 0.02s; }
#login_modal.show .auth-modal__social { animation-delay: 0.06s; }
#login_modal.show .auth-modal__divider { animation-delay: 0.1s; }
#login_modal.show .auth-modal__field:nth-of-type(1) { animation-delay: 0.12s; }
#login_modal.show .auth-modal__field:nth-of-type(2) { animation-delay: 0.16s; }
#login_modal.show .auth-modal__switch { animation-delay: 0.14s; }
#login_modal.show .auth-modal__meta { animation-delay: 0.2s; }
#login_modal.show .auth-modal__submit { animation-delay: 0.24s; }
#login_modal.show .auth-modal__register-line { animation-delay: 0.28s; }

@keyframes auth-modal-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#login_modal .auth-modal__social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 4px;
}

#login_modal .auth-modal__social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    /* Optical center: fixed label column leaves unused space on the right,
       so nudge the group slightly right for balanced empty space. */
    padding: 0 10px 0 22px;
    border: 1px solid var(--auth-line);
    border-radius: var(--auth-radius);
    background: #fff;
    color: var(--auth-ink) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

#login_modal .auth-modal__social-btn > img,
#login_modal .auth-modal__social-btn > svg,
#login_modal .auth-modal__social-btn > i {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: block;
    object-fit: contain;
    margin-right: 10px;
}

#login_modal .auth-modal__social-btn > span {
    flex: 0 0 178px;
    width: 178px;
    text-align: left;
    line-height: 1.2;
    white-space: nowrap;
}

#login_modal .auth-modal__social-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-1px);
    color: var(--auth-ink) !important;
}

#login_modal .auth-modal__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: var(--auth-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

#login_modal .auth-modal__divider::before,
#login_modal .auth-modal__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--auth-line);
}

#login_modal .auth-modal__field {
    margin-bottom: 14px;
}

#login_modal .auth-modal__label {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--auth-ink);
}

#login_modal .auth-modal__input.form-control {
    height: 48px;
    border: 1px solid var(--auth-line);
    border-radius: var(--auth-radius);
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--auth-ink);
    background: #fff;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}

#login_modal .auth-modal__input.form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

#login_modal .auth-modal__input.form-control:focus {
    border-color: #94a3b8;
    background: #fff;
}

#login_modal .auth-modal__password-wrap {
    position: relative;
}

#login_modal .auth-modal__password-wrap .auth-modal__input {
    padding-right: 44px;
}

#login_modal .auth-modal__eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #94a3b8;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    padding: 0;
}

#login_modal .auth-modal__eye:hover {
    color: var(--auth-ink);
}

#login_modal .auth-modal__switch {
    text-align: right;
    margin: -6px 0 10px;
}

#login_modal .auth-modal__link-btn {
    border: 0;
    background: transparent;
    color: var(--auth-accent);
    font-size: 12px;
    font-style: italic;
    font-weight: 500;
    font-family: inherit;
    padding: 0;
    cursor: pointer;
}

#login_modal .auth-modal__back-link {
    border: 0;
    background: transparent;
    color: var(--auth-ink);
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    font-family: inherit;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}

#login_modal .auth-modal__back-link:hover {
    color: var(--auth-accent);
}

#login_modal .auth-modal__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 0 18px;
    flex-wrap: wrap;
}

#login_modal .auth-modal__remember {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#login_modal .auth-modal__remember-text {
    font-size: 13px;
    color: var(--auth-muted);
    font-weight: 500;
}

#login_modal .auth-modal__forgot {
    font-size: 13px;
    color: #64748b;
    text-decoration: none !important;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

#login_modal .auth-modal__forgot:hover {
    color: var(--auth-accent);
}

#login_modal .auth-modal__submit {
    position: relative;
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: var(--auth-accent, #e62e04);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    box-shadow: none;
    transition:
        background 0.25s ease,
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

#login_modal .auth-modal__submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.22) 45%,
        transparent 70%
    );
    transform: translateX(-120%);
    transition: transform 0.55s ease;
    z-index: 0;
    pointer-events: none;
}

#login_modal .auth-modal__submit-label,
#login_modal .auth-modal__submit-arrow {
    position: relative;
    z-index: 1;
}

#login_modal .auth-modal__submit-arrow {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

#login_modal .auth-modal__submit:hover {
    background: var(--hov-primary, #c42703);
    color: #fff;
    filter: none;
    transform: translateY(-2px);
    box-shadow: none;
}

#login_modal .auth-modal__submit:hover::before {
    transform: translateX(120%);
}

#login_modal .auth-modal__submit:hover .auth-modal__submit-arrow {
    transform: translateX(5px);
}

#login_modal .auth-modal__submit:active {
    transform: translateY(0);
    box-shadow: none;
    filter: none;
}

#login_modal .auth-modal__otp-hint {
    text-align: center;
    margin: 14px 0 0;
    font-size: 12px;
    color: var(--auth-muted);
    line-height: 1.45;
}

#login_modal .auth-modal__otp-hint a {
    color: var(--auth-ink);
    font-weight: 700;
    text-decoration: none !important;
}

#login_modal .auth-modal__otp-hint a:hover {
    color: var(--auth-accent);
}

#login_modal .auth-modal__register-line {
    text-align: center;
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--auth-muted);
    line-height: 1.5;
}

#login_modal .auth-modal__register-line a {
    color: var(--auth-ink);
    font-weight: 700;
    text-decoration: none !important;
}

#login_modal .auth-modal__register-line a:hover {
    color: var(--auth-accent);
}

#login_modal .auth-modal__form .iti {
    width: 100%;
}

@media (max-width: 991.98px) {
    #login_modal.auth-modal {
        padding: 0 !important;
    }

    #login_modal.auth-modal.show {
        display: flex !important;
        align-items: stretch;
        justify-content: flex-end;
        padding: 0 !important;
    }

    #login_modal.auth-modal .modal-dialog,
    #login_modal.auth-modal .modal-dialog.modal-dialog-centered {
        max-width: 100%;
        width: 100%;
        height: 100%;
        min-height: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: stretch;
    }

    #login_modal.auth-modal.fade .auth-modal__dialog {
        transform: translateX(100%);
        opacity: 1;
        transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    }

    #login_modal.auth-modal.show .auth-modal__dialog {
        transform: translateX(0);
        opacity: 1;
    }

    #login_modal .auth-modal__content {
        flex: 1 1 auto;
        width: 100%;
        min-height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        box-shadow: none;
        overflow: hidden;
    }

    #login_modal .auth-modal__head {
        padding: calc(16px + env(safe-area-inset-top, 0px)) 16px 0;
        flex-shrink: 0;
    }

    #login_modal .auth-modal__body {
        flex: 1 1 auto;
        min-height: 0;
        padding: 12px 16px calc(20px + env(safe-area-inset-bottom, 0px));
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    #login_modal .auth-modal__title {
        font-size: 22px;
    }

    #login_modal .auth-modal__lead {
        font-size: 13px;
        max-width: none;
    }

    #login_modal .auth-modal__close {
        width: 40px;
        height: 40px;
    }

    #login_modal .auth-modal__social-btn {
        height: 48px;
        padding: 0 14px;
        font-size: 13px;
    }

    #login_modal .auth-modal__social-btn > span {
        flex: 1 1 auto;
        width: auto;
        white-space: nowrap;
    }

    #login_modal .auth-modal__social-btn > img,
    #login_modal .auth-modal__social-btn > svg,
    #login_modal .auth-modal__social-btn > i {
        margin-right: 8px;
    }

    #login_modal .auth-modal__input.form-control {
        height: 48px;
        font-size: 16px;
    }

    #login_modal .auth-modal__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    #login_modal .auth-modal__submit {
        height: 50px;
        border-radius: 14px;
        box-shadow: none;
    }

    #login_modal .auth-modal__submit:hover {
        transform: none;
    }

    #login_modal .auth-modal__submit:active {
        transform: scale(0.98);
    }

    #login_modal .auth-modal__password-wrap .auth-modal__input {
        padding-right: 48px;
    }

    #login_modal .auth-modal__eye {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767.98px) {
    #login_modal .auth-modal__head {
        padding-top: 14px;
    }

    #login_modal .auth-modal__body {
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media (max-width: 379.98px) {
    #login_modal .auth-modal__title {
        font-size: 20px;
    }

    #login_modal .auth-modal__social-btn {
        font-size: 12px;
        padding: 0 10px;
    }

    #login_modal .auth-modal__social-btn > span {
        white-space: normal;
        line-height: 1.2;
    }
}

@media (prefers-reduced-motion: reduce) {
    #login_modal.auth-modal.fade .auth-modal__dialog,
    #login_modal.auth-modal.show .auth-modal__dialog,
    #login_modal .auth-modal__close,
    #login_modal .auth-modal__submit {
        transition: none !important;
        transform: none !important;
    }

    #login_modal.show .auth-modal__social,
    #login_modal.show .auth-modal__divider,
    #login_modal.show .auth-modal__field,
    #login_modal.show .auth-modal__meta,
    #login_modal.show .auth-modal__submit,
    #login_modal.show .auth-modal__register-line,
    #login_modal.show .auth-modal__switch,
    #login_modal.show .auth-modal__otp-hint {
        animation: none !important;
    }
}

/* ============================================================
   Add-to-cart success modal — login + checkout language
   ============================================================ */

#addToCart.cart-added-modal {
    --ca-ink: #0f172a;
    --ca-muted: #64748b;
    --ca-line: #e2e8f0;
    --ca-soft: #f1f5f9;
    --ca-ok: #059669;
    --ca-err: #b91c1c;
    --ca-accent: var(--primary, #e62e04);
    --ca-radius: 12px;
    --ca-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ca-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
}

#addToCart.cart-added-modal .modal-dialog {
    max-width: 440px;
    margin: 1.25rem auto;
}

#addToCart.cart-added-modal .modal-dialog.modal-lg {
    max-width: 800px;
}

#addToCart.cart-added-modal.fade .cart-added-modal__dialog {
    transform: translateY(22px) scale(0.94);
    opacity: 0;
    transition:
        transform 0.48s var(--ca-ease),
        opacity 0.32s ease;
}

#addToCart.cart-added-modal.show .cart-added-modal__dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

#addToCart .cart-added-modal__content.modal-content {
    border: 0;
    border-radius: 16px !important;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
    overflow: hidden;
    font-family: 'Hind Siliguri', sans-serif;
    background: #fff;
    color: var(--ca-ink);
}

#addToCart .cart-added-modal__loader {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.86);
    z-index: 4;
    color: var(--ca-muted);
    pointer-events: none;
}

#addToCart .cart-added-modal__loader.is-visible {
    display: flex !important;
}

#addToCart .cart-added-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--ca-soft);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ca-ease);
}

#addToCart .cart-added-modal__close:hover {
    background: #e2e8f0;
    color: var(--ca-ink);
    transform: rotate(90deg);
}

#addToCart .cart-added-modal__close:focus-visible {
    outline: 2px solid var(--ca-accent);
    outline-offset: 2px;
}

#addToCart .cart-added-modal__body {
    padding: 0;
}

.cart-added {
    padding: 28px 24px 22px;
}

.cart-added__hero {
    position: relative;
    text-align: center;
    padding: 8px 8px 6px;
    margin-bottom: 20px;
}

.cart-added__burst {
    position: absolute;
    left: 50%;
    top: 34px;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 0;
}

.cart-added__burst span {
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--ca-accent);
    opacity: 0;
    animation: ca-burst 0.7s var(--ca-ease) both;
}

.cart-added__burst span:nth-child(1) { --a: 0deg;   animation-delay: 0.38s; background: var(--ca-ok); }
.cart-added__burst span:nth-child(2) { --a: 45deg;  animation-delay: 0.42s; }
.cart-added__burst span:nth-child(3) { --a: 90deg;  animation-delay: 0.4s;  background: #f59e0b; }
.cart-added__burst span:nth-child(4) { --a: 135deg; animation-delay: 0.46s; }
.cart-added__burst span:nth-child(5) { --a: 180deg; animation-delay: 0.4s;  background: var(--ca-ok); }
.cart-added__burst span:nth-child(6) { --a: 225deg; animation-delay: 0.44s; }
.cart-added__burst span:nth-child(7) { --a: 270deg; animation-delay: 0.42s; background: #f59e0b; }
.cart-added__burst span:nth-child(8) { --a: 315deg; animation-delay: 0.48s; }

.cart-added__mark {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.cart-added__mark-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.18);
    animation: ca-pulse 1.15s var(--ca-ease) 0.12s both;
}

.cart-added__mark-pulse--late {
    animation-delay: 0.32s;
    background: rgba(5, 150, 105, 0.1);
}

.cart-added__mark-core {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    margin: 0;
    border-radius: 50%;
    background: var(--ca-ok);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.28);
    animation: ca-mark-pop 0.55s var(--ca-spring) both;
}

.cart-added__mark-core svg {
    display: block;
}

.cart-added__mark-check {
    stroke-dasharray: 24;
    animation: ca-check-draw 0.42s ease 0.32s both;
}

.cart-added__title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--ca-ink);
    animation: ca-rise 0.45s var(--ca-ease) 0.18s both;
}

.cart-added__lead {
    margin: 0 auto;
    max-width: 320px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ca-muted);
    animation: ca-rise 0.45s var(--ca-ease) 0.24s both;
}

.cart-added__lead--alert {
    font-size: 15px;
    font-weight: 600;
    color: var(--ca-ink);
    max-width: 360px;
}

.cart-added__product {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid var(--ca-line);
    border-radius: var(--ca-radius);
    background: #fafafa;
    animation: ca-rise 0.48s var(--ca-ease) 0.3s both;
}

.cart-added__thumb {
    width: 72px;
    height: 88px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--ca-soft);
    border: 1px solid var(--ca-line);
}

.cart-added__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: ca-thumb 0.5s var(--ca-spring) 0.34s both;
}

.cart-added__info {
    min-width: 0;
    flex: 1;
    padding-top: 2px;
}

.cart-added__name {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ca-ink);
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-added__var {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--ca-muted);
    line-height: 1.35;
}

.cart-added__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cart-added__qty {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ca-line);
    color: var(--ca-ink);
    font-size: 12px;
    font-weight: 700;
}

.cart-added__amount {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ca-accent);
    line-height: 1;
}

.cart-added__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    animation: ca-rise 0.48s var(--ca-ease) 0.38s both;
}

.cart-added__btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    line-height: 1;
    text-decoration: none !important;
    border: 0;
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.25s var(--ca-ease),
        border-color 0.2s ease,
        color 0.2s ease;
}

#addToCart a.cart-added__btn--secondary,
#addToCart a.cart-added__btn--secondary:hover,
#addToCart a.cart-added__btn--secondary:visited {
    color: var(--ca-ink) !important;
}

.cart-added__btn:focus-visible {
    outline: 2px solid var(--ca-accent);
    outline-offset: 3px;
}

.cart-added__btn--secondary {
    background: #fff;
    color: var(--ca-ink) !important;
    border: 1px solid var(--ca-line);
}

.cart-added__btn--secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--ca-ink) !important;
    transform: translateY(-1px);
}

.cart-added__btn--primary {
    background: var(--ca-accent);
    color: #fff !important;
}

#addToCart a.cart-added__btn--primary,
#addToCart a.cart-added__btn--primary:hover,
#addToCart a.cart-added__btn--primary:visited {
    color: #fff !important;
}

.cart-added__btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.22) 45%,
        transparent 70%
    );
    transform: translateX(-120%);
    transition: transform 0.55s ease;
    z-index: 0;
    pointer-events: none;
}

.cart-added__btn-label,
.cart-added__btn-arrow {
    position: relative;
    z-index: 1;
}

.cart-added__btn-arrow {
    display: inline-block;
    transition: transform 0.25s var(--ca-ease);
}

.cart-added__btn--primary:hover {
    background: var(--hov-primary, #c42703);
    color: #fff !important;
    transform: translateY(-2px);
}

.cart-added__btn--primary:hover::before {
    transform: translateX(120%);
}

.cart-added__btn--primary:hover .cart-added__btn-arrow {
    transform: translateX(5px);
}

.cart-added__btn--primary:active,
.cart-added__btn--secondary:active {
    transform: translateY(0);
}

.cart-added__back {
    display: block;
    width: 100%;
    margin-top: 14px;
    border: 0;
    background: transparent;
    color: var(--ca-muted);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    padding: 6px;
    animation: ca-rise 0.48s var(--ca-ease) 0.46s both;
    transition: color 0.2s ease;
}

.cart-added__back:hover {
    color: var(--ca-ink);
}

.cart-added--error .cart-added__hero {
    margin-bottom: 18px;
}

.cart-added--error .cart-added__mark-core {
    background: var(--ca-err);
    box-shadow: 0 10px 24px rgba(185, 28, 28, 0.22);
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.cart-added--error .cart-added__mark-pulse {
    background: rgba(185, 28, 28, 0.14);
}

.cart-added--error .cart-added__btn {
    width: 100%;
}

.cart-added--error .cart-added__btn--primary {
    background: #0f172a;
}

.cart-added--error .cart-added__btn--primary:hover {
    background: #000;
}

[dir="rtl"] .cart-added__btn-arrow,
[dir="rtl"] .cart-added__btn--primary:hover .cart-added__btn-arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .cart-added__btn--primary:hover .cart-added__btn-arrow {
    transform: scaleX(-1) translateX(5px);
}

@keyframes ca-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ca-mark-pop {
    0% { transform: scale(0.55); opacity: 0; }
    70% { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes ca-check-draw {
    from { stroke-dashoffset: 24; }
    to { stroke-dashoffset: 0; }
}

@keyframes ca-pulse {
    0% { transform: scale(0.7); opacity: 0.55; }
    100% { transform: scale(1.55); opacity: 0; }
}

@keyframes ca-burst {
    0% {
        opacity: 0;
        transform: rotate(var(--a)) translateY(8px) scale(0.4);
    }
    35% { opacity: 1; }
    100% {
        opacity: 0;
        transform: rotate(var(--a)) translateY(-34px) scale(0.85);
    }
}

@keyframes ca-thumb {
    from { transform: scale(1.08); opacity: 0.4; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 767.98px) {
    #addToCart.cart-added-modal.show {
        display: flex !important;
        align-items: flex-end;
        padding: 0 !important;
    }

    #addToCart.cart-added-modal .modal-dialog,
    #addToCart.cart-added-modal .modal-dialog.modal-dialog-centered {
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    #addToCart.cart-added-modal.fade .cart-added-modal__dialog {
        transform: translateY(36px);
        opacity: 0;
    }

    #addToCart.cart-added-modal.show .cart-added-modal__dialog {
        transform: translateY(0);
        opacity: 1;
    }

    #addToCart .cart-added-modal__content.modal-content {
        border-radius: 20px 20px 0 0 !important;
        box-shadow: 0 -10px 44px rgba(15, 23, 42, 0.2);
        max-height: min(92dvh, calc(100vh - env(safe-area-inset-top, 0px)));
    }

    #addToCart .cart-added-modal__content::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        margin: 10px auto 0;
        border-radius: 999px;
        background: #e2e8f0;
    }

    #addToCart .cart-added-modal__close {
        top: 16px;
        right: 12px;
    }

    .cart-added {
        padding: 18px 18px calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .cart-added__title {
        font-size: 22px;
    }

    .cart-added__actions {
        grid-template-columns: 1fr;
    }

    .cart-added__btn:hover,
    .cart-added__btn--primary:hover {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .cart-added__thumb {
        width: 64px;
        height: 80px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #addToCart.cart-added-modal.fade .cart-added-modal__dialog,
    #addToCart.cart-added-modal.show .cart-added-modal__dialog,
    #addToCart .cart-added-modal__close,
    .cart-added__btn,
    .cart-added__btn-arrow,
    .cart-added__btn--primary::before {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }

    .cart-added__hero,
    .cart-added__title,
    .cart-added__lead,
    .cart-added__product,
    .cart-added__thumb img,
    .cart-added__actions,
    .cart-added__back,
    .cart-added__mark-core,
    .cart-added__mark-pulse,
    .cart-added__mark-check,
    .cart-added__burst span {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        stroke-dashoffset: 0 !important;
    }

    .cart-added__burst {
        display: none;
    }
}

/* ============================================================
   co-pick — clean location picker (country / state / city)
   ============================================================ */

.co-pick {
    --cp-ink: #111;
    --cp-muted: #8b929a;
    --cp-line: #e8eaed;
    --cp-soft: #f5f5f5;
    --cp-panel: #fff;
    --cp-accent: var(--co-accent, #e62e04);
    position: relative;
    width: 100%;
    font-family: 'Hind Siliguri', sans-serif;
}

.co-pick__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.co-pick__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--cp-line);
    border-radius: 12px;
    background: #fff;
    color: var(--cp-ink);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.co-pick__btn:hover {
    border-color: #d5d8dc;
}

.co-pick.is-open .co-pick__btn,
.co-pick__btn:focus {
    outline: none;
    border-color: #c8ccd1;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.04);
}

.co-pick.is-disabled .co-pick__btn {
    opacity: 0.55;
    cursor: not-allowed;
    background: var(--cp-soft);
}

.co-pick__value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--cp-ink);
}

.co-pick__value.is-placeholder {
    color: var(--cp-muted);
    font-weight: 500;
}

.co-pick__chevron {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #9aa1a9;
    border-bottom: 1.5px solid #9aa1a9;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.18s ease;
}

.co-pick.is-open .co-pick__chevron {
    transform: translateY(2px) rotate(225deg);
}

.co-pick__panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 40;
    display: flex;
    flex-direction: column;
    max-height: min(320px, 55vh);
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: var(--cp-panel);
    box-shadow:
        0 2px 6px rgba(15, 23, 42, 0.04),
        0 16px 36px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.co-pick__panel[hidden] {
    display: none !important;
}

.co-pick__search {
    flex: 0 0 auto;
    padding: 10px 10px 8px;
    border-bottom: 1px solid #f0f1f3;
    background: #fff;
}

.co-pick__search[hidden] {
    display: none !important;
}

.co-pick__search-input {
    width: 100%;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: var(--cp-soft);
    padding: 0 12px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    color: var(--cp-ink);
    outline: none;
}

.co-pick__search-input::placeholder {
    color: var(--cp-muted);
}

.co-pick__search-input:focus {
    background: #efefef;
}

.co-pick__list-wrap {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
}

.co-pick__list {
    max-height: 240px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 6px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #d0d4d8 transparent;
}

.co-pick__list::-webkit-scrollbar {
    width: 6px;
}

.co-pick__list::-webkit-scrollbar-track {
    background: transparent;
}

.co-pick__list::-webkit-scrollbar-thumb {
    background: #d0d4d8;
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.co-pick__fade {
    position: absolute;
    left: 0;
    right: 0;
    height: 28px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 1;
}

.co-pick__fade--top {
    top: 0;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.co-pick__fade--bottom {
    bottom: 0;
    background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.co-pick__list-wrap.has-fade-top .co-pick__fade--top,
.co-pick__list-wrap.has-fade-bottom .co-pick__fade--bottom {
    opacity: 1;
}

.co-pick__option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #222;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.1s ease, color 0.1s ease;
}

.co-pick__option:hover,
.co-pick__option:focus {
    outline: none;
    background: #f3f4f5;
}

.co-pick__option.is-selected {
    background: transparent;
    color: var(--cp-accent);
    font-weight: 600;
}

.co-pick__option.is-selected:hover {
    background: #fff4f1;
}

.co-pick__option.is-placeholder {
    color: var(--cp-muted);
    font-weight: 500;
}

.co-pick__option.is-placeholder.is-selected {
    color: var(--cp-muted);
    background: transparent;
    font-weight: 500;
}

.co-pick__option[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.co-pick__empty {
    padding: 18px 12px;
    text-align: center;
    color: var(--cp-muted);
    font-size: 13px;
}

.co-billing-same-note {
    opacity: 0.85;
    cursor: default;
}

.co-billing-same-note input[disabled] {
    pointer-events: none;
}

#co_contact_card input[readonly] {
    background: #f8fafc;
    color: #64748b;
}

.co #co_shipping_card,
.co #billing-address,
.co-card,
.co-fields,
.co-row-2,
.co-field {
    overflow: visible;
}

#shipping-address {
    position: relative;
}

.co-ship-head {
    align-items: center;
    margin-bottom: 10px;
}

.co-autofill-tip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #64748b;
    border-radius: 0;
    padding: 2px 0;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.15s ease;
}

.co-autofill-tip i {
    font-size: 13px;
    color: inherit;
}

.co-autofill-tip:hover,
.co-autofill-tip--link:hover {
    background: transparent;
    border-color: transparent;
    color: #111;
}

.co-autofill-note {
    display: none;
}

.co-places {
    margin: 0 0 16px;
}

.co-places.is-disabled,
.co-places.is-hidden-mode,
.co-places.is-filled-hide,
.co-places[hidden] {
    display: none !important;
}

.co-places-again {
    display: none !important;
}

.co-field__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
}

.co-field__head > label {
    margin-bottom: 0;
}

.co-places-change {
    flex-shrink: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--co-accent, #e62e04);
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    line-height: 1;
}

.co-places-change[hidden] {
    display: none !important;
}

.co-places-change:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.co-places.is-loading .co-places__input {
    opacity: 0.85;
}

.co-places-hint {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: calc(var(--co-radius, 14px) - 2px);
    border: 1px solid var(--co-line, #e6e6e6);
    background: var(--co-soft, #f6f6f6);
    animation: co-places-hint-in 0.35s ease both;
}

.co-places-hint.is-leaving {
    animation: co-places-hint-out 0.28s ease both;
    pointer-events: none;
}

.co-places-hint.is-done,
.co-places-hint[hidden] {
    display: none !important;
}

.co-places-hint__mark {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--co-line, #e6e6e6);
    color: var(--co-accent, #e62e04);
    font-size: 16px;
    animation: co-places-mark-soft 2.4s ease-in-out infinite;
}

.co-places-hint__body {
    min-width: 0;
    padding-top: 1px;
}

.co-places-hint__title {
    margin: 0 0 3px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--co-ink, #111);
}

.co-places-hint__text {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--co-muted, #6b6b6b);
}

.co-places__label {
    display: none;
}

.co-places__field {
    position: relative;
}

.co-places__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #94a3b8;
    pointer-events: none;
    z-index: 1;
}

.co-places__input {
    padding-left: 40px !important;
    padding-right: 84px !important;
    min-height: 46px;
    border-radius: 10px !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.co-places__input:focus {
    border-color: rgba(230, 46, 4, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(230, 46, 4, 0.1) !important;
}

.co-places__chip {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--co-accent, #e62e04);
    background: rgba(230, 46, 4, 0.1);
    border: 1px solid rgba(230, 46, 4, 0.18);
    pointer-events: none;
    line-height: 1.2;
}

.co-places__badge {
    display: none !important;
}

@keyframes co-places-hint-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes co-places-hint-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-4px);
    }
}

@keyframes co-places-mark-soft {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-1.5px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .co-places-hint,
    .co-places-hint.is-leaving,
    .co-places-hint__mark {
        animation: none !important;
    }
}

.co-places__status {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #64748b;
}

.co-places__status.is-ok {
    color: #15803d;
}

.co-places__status.is-err {
    color: #c2410c;
}

.co-places__manual {
    display: inline-flex;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.co-places__manual:hover {
    color: #111;
}

.co-places-dd {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 60;
    max-height: 280px;
    overflow: auto;
    padding: 6px;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12);
    animation: co-addr-fade-in 0.16s ease;
}

.co-places-dd__item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
}

.co-places-dd__item:hover,
.co-places-dd__item.is-active {
    background: #f8fafc;
}

.co-places-dd__main {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    line-height: 1.35;
}

.co-places-dd__sub {
    font-size: 12px;
    color: #64748b;
    line-height: 1.35;
}

.co-places-filled {
    outline: 2px solid rgba(230, 46, 4, 0.2);
    outline-offset: 2px;
    transition: outline-color 0.3s ease;
}

.co-addr-summary {
    display: none;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 12px;
    padding: 14px 16px;
    border: 1px solid #e8ebef;
    border-radius: 12px;
    background: #fafbfc;
    animation: co-addr-fade-in 0.2s ease;
}

.co-addr-summary.is-visible,
.co-addr-summary:not([hidden]) {
    display: flex;
}

.co-addr-summary__check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf3;
    color: #15803d;
    font-size: 14px;
    margin-top: 1px;
}

.co-addr-summary__check.is-pulse {
    animation: co-addr-check-pulse 0.55s ease;
}

.co-addr-summary__body {
    flex: 1;
    min-width: 0;
}

.co-addr-summary__line {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #111;
}

.co-addr-summary__sub {
    margin: 3px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #64748b;
}

.co-addr-summary__change {
    flex-shrink: 0;
    align-self: center;
    border: 0;
    background: transparent;
    padding: 2px 0;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.co-addr-summary__change:hover {
    color: #374151;
}

.co-addr-details {
    margin: 0 0 12px;
}

.co-addr-details__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
}

.co-addr-details__toggle i {
    font-size: 12px;
    transition: transform 0.18s ease;
}

.co-addr-details.is-open .co-addr-details__toggle i {
    transform: rotate(180deg);
}

.co-addr-details__toggle:hover {
    color: #111;
}

.co-addr-details__panel {
    margin-top: 12px;
    animation: co-addr-fade-in 0.18s ease;
}

.co-addr-details__panel[hidden] {
    display: none !important;
}

@keyframes co-addr-fade-in {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes co-addr-check-pulse {
    0% {
        transform: scale(0.85);
        opacity: 0.5;
    }
    55% {
        transform: scale(1.08);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.co-postal {
    position: relative;
    display: block;
}

.co-postal__input {
    padding-right: 14px !important;
}

/* Kill native datalist / disclosure arrows if any linger */
.co-postal__input::-webkit-calendar-picker-indicator,
.co-postal__input::-webkit-list-button {
    display: none !important;
    opacity: 0 !important;
    -webkit-appearance: none;
    appearance: none;
}

.co-postal__toggle {
    display: none !important;
}

.co-postal__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 40;
    max-height: 220px;
    overflow: auto;
    padding: 6px;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.1);
}

.co-postal__option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.co-postal__option:hover {
    background: #f5f6f8;
}

.co-postal__code {
    font-weight: 650;
    font-size: 13px;
    color: #111;
    min-width: 52px;
}

.co-postal__label {
    font-size: 12px;
    color: #8b929a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.co-postal__empty {
    padding: 12px;
    font-size: 12px;
    color: #8b929a;
}

.co-postal__hint,
#coPostalHint {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #8b929a;
}

[data-theme="dark"] .co-postal__menu {
    background: var(--theme-surface, #1f1f2a);
    border-color: var(--theme-border, #333);
}

[data-theme="dark"] .co-postal__option:hover {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .co-postal__code {
    color: var(--theme-ink, #f3f4f6);
}

[data-theme="dark"] .co-postal__toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--theme-ink, #f3f4f6);
}

[data-theme="dark"] .co-postal__hint,
[data-theme="dark"] #coPostalHint {
    color: var(--theme-muted, #9ca3af);
}

.co-saved-addr {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    background: #f8f9fa;
}

.co-saved-addr__label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
}

.co-saved-addr__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #111827;
}

.co-saved-addr__change {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    padding: 2px 0;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.co-saved-addr__change:hover {
    color: #374151;
}

@media (max-width: 575px) {
    .co-saved-addr {
        flex-direction: column;
        gap: 10px;
    }
}

.co-autofill-traps {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

/* Helps Chrome fire autofill detection */
@keyframes co-af-on {
    from { opacity: 0.99; }
    to { opacity: 1; }
}

#shipping-address input:-webkit-autofill,
#shipping-address textarea:-webkit-autofill,
#co_contact_card input:-webkit-autofill,
.co-autofill-traps input:-webkit-autofill {
    animation-name: co-af-on;
    animation-duration: 0.001s;
}

/* ============================================================
   Payment accordion — Credit/Debit Card (Stripe)
   ============================================================ */

.co-pay-accordion {
    border: 1.5px solid #e8eaed;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.28s ease;
}

.co-pay-accordion.is-closed {
    border-color: #e8eaed;
    background: #fff;
}

.co-pay-accordion.is-closed:hover {
    border-color: #d1d5db;
}

.co-pay-accordion.is-open {
    border-color: #1f2937;
    background: #fff;
    box-shadow: none;
}

.co-pay-accordion__trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 15px 16px;
    cursor: pointer;
    user-select: none;
}

.co-pay-accordion.is-open .co-pay-accordion__trigger {
    border-bottom: 1px solid #eef0f3;
    background: #fff;
}

.co-pay-accordion__radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: #fff;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.22s ease, background 0.22s ease;
}

.co-pay-accordion.is-open .co-pay-accordion__radio,
#pay_option_stripe:checked ~ .co-pay-accordion__radio,
#pay_option_google_pay:checked ~ .co-pay-accordion__radio,
#pay_option_apple_pay:checked ~ .co-pay-accordion__radio,
#pay_option_amazon_pay:checked ~ .co-pay-accordion__radio,
#pay_option_paypal:checked ~ .co-pay-accordion__radio,
#pay_option_stripe_link:checked ~ .co-pay-accordion__radio,
#pay_option_stripe_bnpl:checked ~ .co-pay-accordion__radio {
    border-color: #111827;
    background: #111827;
    box-shadow: none;
}

.co-pay-accordion.is-open .co-pay-accordion__radio::after,
#pay_option_stripe:checked ~ .co-pay-accordion__radio::after,
#pay_option_google_pay:checked ~ .co-pay-accordion__radio::after,
#pay_option_apple_pay:checked ~ .co-pay-accordion__radio::after,
#pay_option_amazon_pay:checked ~ .co-pay-accordion__radio::after,
#pay_option_paypal:checked ~ .co-pay-accordion__radio::after,
#pay_option_stripe_link:checked ~ .co-pay-accordion__radio::after,
#pay_option_stripe_bnpl:checked ~ .co-pay-accordion__radio::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #fff;
}

.co-pay-accordion__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.co-pay-accordion__row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.co-pay-accordion__title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.co-pay-accordion__hint {
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
    line-height: 1.3;
    transition: opacity 0.25s ease, max-height 0.25s ease;
}

.co-pay-accordion.is-open .co-pay-accordion__hint {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.co-pay-accordion__brands {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.co-pay-accordion__brands svg {
    display: block;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.co-pay-accordion__chevron {
    font-size: 18px;
    color: #9ca3af;
    flex-shrink: 0;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), color 0.22s ease;
}

.co-pay-accordion.is-open .co-pay-accordion__chevron {
    transform: rotate(180deg);
    color: #6b7280;
}

.co-pay-accordion.is-closed .co-pay-accordion__body {
    display: none;
}

.co-pay-accordion.is-open .co-pay-accordion__body {
    display: grid;
    grid-template-rows: 1fr;
}

.co-pay-accordion__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.co-pay-accordion__body-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 16px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.28s ease 0.04s, transform 0.28s ease 0.04s, padding 0.38s ease;
}

.co-pay-accordion.is-open .co-pay-accordion__body-inner {
    padding: 14px 16px 16px;
    opacity: 1;
    transform: translateY(0);
}

.co-pay-accordion__card {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 14px;
    background: #fafbfc;
    min-height: 52px;
    position: relative;
    transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.co-pay-accordion.is-open .co-pay-accordion__card:focus-within {
    border-color: #9ca3af;
    background: #fff;
    box-shadow: none;
}

.co-pay-accordion__element {
    min-height: 24px;
    width: 100%;
}

.co-pay-accordion__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 14px;
    color: #9ca3af;
    pointer-events: none;
}

.co-pay-accordion__placeholder.d-none {
    display: none !important;
}

.co-pay-accordion__errors {
    margin: 10px 0 0;
    min-height: 0;
    font-size: 13px;
    font-weight: 500;
    color: #b42318;
}

.co-pay-accordion__same {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
}

.co-pay-accordion__same input {
    width: 17px;
    height: 17px;
    accent-color: #111827;
    cursor: pointer;
}

@media (max-width: 575.98px) {
    .co-pay-accordion__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .co-pay-accordion__brands {
        margin-left: 0;
    }
}

/* Wallet pay accordions (Google Pay / Apple Pay) */
.co-pay-accordion--gpay .co-pay-accordion__brands--gpay,
.co-pay-accordion--apay .co-pay-accordion__brands--apay {
    gap: 0;
}

.co-pay-accordion__brands--gpay .co-gpay-mark,
.co-pay-accordion__brands--apay .co-apay-mark {
    flex-shrink: 0;
}

.co-gpay-mark__img,
.co-apay-mark__img,
.co-amazon-mark__img {
    display: block;
    height: 24px;
    max-height: 24px;
    width: auto;
    object-fit: contain;
}

.co-gpay-mark__img {
    max-width: 64px;
}

.co-apay-mark__img {
    max-width: 58px;
}

.co-amazon-mark__img {
    max-width: 64px;
}

/* PayPal accordion */
.co-pay-accordion--paypal .co-pay-accordion__brands--paypal {
    gap: 0;
}

.co-pay-accordion__brands--paypal .co-paypal-mark {
    flex-shrink: 0;
}

.co-paypal-mark__img {
    display: block;
    height: 24px;
    max-height: 24px;
    max-width: 90px;
    width: auto;
    object-fit: contain;
}

.co-pay-paypal__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.co-pay-paypal__note {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
}

/* Amazon Pay accordion */
.co-pay-accordion--amazon .co-pay-accordion__brands--amazon {
    gap: 0;
}

.co-pay-accordion__brands--amazon .co-amazon-mark {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 24px;
}

.co-pay-amazon__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.co-pay-amazon__element {
    min-height: 44px;
}

.co-pay-amazon__placeholder,
.co-pay-amazon__unavailable,
.co-pay-amazon__note {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}

.co-pay-amazon__placeholder {
    color: #64748b;
}

.co-pay-amazon__unavailable {
    color: #b45309;
}

.co-pay-amazon__note {
    color: #64748b;
}

.co-pay-wallet__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.co-pay-wallet__button {
    min-height: 48px;
}

.co-pay-wallet__button:empty {
    display: none;
}

.co-pay-wallet__placeholder,
.co-pay-wallet__unavailable,
.co-pay-wallet__note {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}

.co-pay-wallet__placeholder {
    color: #64748b;
}

.co-pay-wallet__unavailable {
    color: #b45309;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.co-pay-wallet__note {
    color: #64748b;
}

/* Link by Stripe accordion */
.co-pay-accordion--link .co-pay-accordion__brands--link {
    gap: 0;
}

.co-pay-accordion__brands--link .co-link-mark {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.co-link-mark__img {
    display: block;
    height: 24px;
    width: 24px;
    max-width: 24px;
    object-fit: cover;
    object-position: left center;
    flex-shrink: 0;
}

.co-link-mark__text {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #111827;
    font-family: Inter, "Hind Siliguri", system-ui, sans-serif;
    text-transform: lowercase;
}

.co-pay-link__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.co-pay-link__auth,
.co-pay-link__element {
    width: 100%;
}

.co-pay-link__placeholder,
.co-pay-link__note {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}

.co-pay-link__placeholder {
    color: #64748b;
}

.co-pay-link__note {
    color: #64748b;
}

/* Pay in 4 / BNPL accordion — keep uploaded logos; only normalize size/gap */
.co-pay-accordion--bnpl .co-pay-accordion__brands--bnpl {
    gap: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: auto;
}

.co-bnpl-mark {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    flex-shrink: 0;
    width: auto;
    min-width: 0;
    height: 22px;
    line-height: 0;
}

.co-bnpl-mark__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 22px;
    line-height: 0;
}

/* Pull Klarna/Zip group closer to Afterpay+Affirm combo */
.co-bnpl-mark__item:first-child {
    margin-right: -3px;
}

.co-bnpl-mark__img,
.co-bnpl-mark__img--combo,
.co-bnpl-mark__img--klarna,
.co-bnpl-mark__img--affirm {
    display: block;
    height: 20px !important;
    max-height: 20px !important;
    width: auto !important;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center center;
    vertical-align: middle;
}

.co-bnpl-mark__img--combo {
    height: 22px !important;
    max-height: 22px !important;
    max-width: 140px;
}

.co-bnpl-mark__img--klarna {
    max-width: 72px;
    position: relative;
    top: 1.5px;
}

.co-bnpl-mark__img--affirm {
    max-width: 56px;
}

@media (max-width: 575.98px) {
    .co-pay-accordion--bnpl .co-pay-accordion__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .co-pay-accordion--bnpl .co-pay-accordion__brands--bnpl {
        width: auto;
        max-width: 100%;
        margin-left: 0;
        justify-content: flex-start;
        flex-shrink: 0;
    }

    .co-bnpl-mark {
        gap: 5px;
        height: 22px;
        width: auto;
        max-width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        flex-shrink: 0;
    }

    .co-bnpl-mark__item {
        height: 22px;
        flex-shrink: 0;
    }

    .co-bnpl-mark__item:first-child {
        margin-right: -3px;
    }

    .co-bnpl-mark__img,
    .co-bnpl-mark__img--klarna,
    .co-bnpl-mark__img--affirm {
        height: 20px !important;
        max-height: 20px !important;
        min-width: unset;
    }

    .co-bnpl-mark__img--combo {
        height: 22px !important;
        max-height: 22px !important;
        max-width: 140px;
    }

    .co-bnpl-mark__img--klarna {
        max-width: 72px;
        top: 1.5px;
    }

    .co-bnpl-mark__img--affirm {
        max-width: 56px;
    }
}

.co-pay-bnpl__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.co-pay-bnpl__element {
    width: 100%;
}

.co-pay-bnpl__placeholder,
.co-pay-bnpl__unavailable,
.co-pay-bnpl__note {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}

.co-pay-bnpl__placeholder {
    color: #64748b;
}

.co-pay-bnpl__unavailable {
    color: #b45309;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.co-pay-bnpl__note {
    color: #64748b;
}

#payment_info .aiz-megabox-elem {
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
}

#payment_info .aiz-megabox input:checked + .aiz-megabox-elem {
    border-color: #1f2937 !important;
    box-shadow: none;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
