/* 25Y viewcart visual layer. Business fields remain in the core template. */
.ewy-viewcart-form {
    --ewy-cart-radius: 4px;
    --ewy-cart-theme: var(--theme-color-9, var(--theme-color-12, #3860f4));
    --ewy-cart-theme-strong: var(--theme-color-12, #165dff);
    --ewy-cart-border: #e8edf5;
    display: block;
    max-width: 1440px;
    margin: 0 auto;
}
.ewy-viewcart-form.ewy-viewcart--rounded { --ewy-cart-radius: 18px; }
.ewy-viewcart-form.ewy-viewcart--compact { --ewy-cart-radius: 4px; }
.ewy-viewcart-form > .row { margin-left: -10px; margin-right: -10px; }
.ewy-viewcart-form > .row > [class*="col-"] { padding-left: 10px; padding-right: 10px; }
.ewy-viewcart-form .card {
    overflow: hidden;
    border: 1px solid var(--ewy-cart-border);
    border-radius: var(--ewy-cart-radius);
    background: #fff;
    box-shadow: 0 12px 32px rgba(55, 69, 103, .06);
}
.ewy-viewcart-form .card-body { padding: 24px; }
.ewy-viewcart-form .card h5,
.ewy-viewcart-form .card h4 { color: #27334d; font-weight: 650; }
.ewy-viewcart-form .ewy-cart-product-card {
    display: block;
    margin: 0 0 14px;
    padding: 16px;
    border: 1px solid var(--ewy-cart-border);
    border-radius: calc(var(--ewy-cart-radius) - 2px);
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ewy-viewcart-form .ewy-cart-product-card:hover {
    border-color: var(--ewy-cart-theme);
    box-shadow: 0 8px 22px rgba(55, 69, 103, .08);
    transform: translateY(-1px);
}
.ewy-viewcart-form .ewy-cart-product-card strong { color: #27334d; }
.ewy-viewcart-form .ewy-cart-product-card a,
.ewy-viewcart-form .goods_info .title,
.ewy-viewcart-form .text-primary { color: var(--ewy-cart-theme-strong) !important; }
.ewy-viewcart-form .ewy-configure-item { transition: color .18s ease, opacity .18s ease; }
.ewy-viewcart-form .ewy-configure-item:hover { color: var(--ewy-cart-theme) !important; opacity: .78; }
.ewy-viewcart-form .ewy-configure-item.is-loading { opacity: .5; pointer-events: none; }
.ewy-viewcart-form .btn-primary,
.ewy-viewcart-form .submit-btn,
.ewy-viewcart-form .input-group-append .btn {
    color: #fff;
    border-color: var(--ewy-cart-theme-strong);
    background: var(--ewy-cart-theme-strong);
}
.ewy-viewcart-form .btn-primary:hover,
.ewy-viewcart-form .submit-btn:hover,
.ewy-viewcart-form .input-group-append .btn:hover {
    border-color: var(--ewy-cart-theme);
    background: var(--ewy-cart-theme);
}
.ewy-viewcart-form .cart_qty .btn {
    color: var(--ewy-cart-theme-strong);
    border: 1px solid var(--ewy-cart-theme-strong);
    background: transparent !important;
}
.ewy-viewcart-form .cart_qty .btn:hover {
    color: #fff;
    background: var(--ewy-cart-theme-strong) !important;
}
.ewy-viewcart-form .btn-danger,
.ewy-viewcart-form .deleteBtn .btn { color: #fff; }
.ewy-viewcart-form .btn-danger { border-color: #dc3545; background: #dc3545; }
.ewy-viewcart-form .ewy-cart-product-card a[onclick] { color: #dc3545 !important; }
.ewy-viewcart-form .form-control:focus {
    border-color: var(--ewy-cart-theme);
    box-shadow: 0 0 0 .18rem rgba(56, 96, 244, .18);
}
.ewy-login-checkout-tip {
    display: none !important;
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid #ffd4d4;
    border-radius: var(--ewy-cart-radius);
    color: #a32222;
    background: #fff5f5;
    line-height: 1.7;
}
.ewy-login-checkout-tip.is-visible { display: block !important; }
.ewy-login-checkout-tip a { color: var(--ewy-cart-theme-strong); font-weight: 650; }
@media (max-width: 767.98px) {
    .ewy-viewcart-form .card-body { padding: 16px; }
    .ewy-viewcart-form .ewy-cart-product-card { padding: 12px; }
    .ewy-viewcart-form > .row { margin-left: -6px; margin-right: -6px; }
    .ewy-viewcart-form > .row > [class*="col-"] { padding-left: 6px; padding-right: 6px; }
}

/* Downloaded server viewcart layout (ewy-viewcart-* classes). */
body:has(.shopping-cart-viewcart) { background: #f7f8fb; }
body:has(.shopping-cart-viewcart) .header-container-wrap,
body:has(.shopping-cart-viewcart) .header-container,
body:has(.shopping-cart-viewcart) .bor-header-container-top {
    height: 60px;
}
.shopping-cart-viewcart {
    --ewy-viewcart-radius: 4px;
    --ewy-viewcart-control-radius: 4px;
    --ewy-viewcart-theme: var(--ewy-cart-theme, var(--theme-color-9, #2a5bf9));
    --ewy-viewcart-theme-strong: var(--ewy-cart-theme-strong, var(--theme-color-12, #2948df));
    width: 100%;
    max-width: none;
    min-height: calc(100vh - 60px);
    margin: 0;
    padding: 74px 0 110px;
    box-sizing: border-box;
    background: #f7f8fb;
    overflow-x: hidden;
}
.shopping-cart-viewcart.ewy-viewcart--rounded {
    --ewy-viewcart-radius: var(--ewy-viewcart-radius-custom, 18px);
    --ewy-viewcart-control-radius: var(--ewy-viewcart-radius-custom, 18px);
}
.shopping-cart-viewcart.ewy-viewcart--compact {
    --ewy-viewcart-radius: 0;
    --ewy-viewcart-control-radius: 0;
}
.shopping-cart-viewcart .ewy-viewcart-body {
    width: min(75vw, 1440px);
    min-width: 0;
    margin: 0 auto;
}
.shopping-cart-viewcart .ewy-viewcart-cart-body,
.shopping-cart-viewcart .ewy-viewcart-pay-body {
    overflow: hidden;
    border: 1px solid #e6eaf2;
    border-radius: var(--ewy-viewcart-radius);
    background: #fff;
    box-shadow: 0 12px 34px rgba(37, 56, 88, .06);
}
.shopping-cart-viewcart .ewy-viewcart-continue,
.shopping-cart-viewcart .previousStep,
.shopping-cart-viewcart .nextStep,
.shopping-cart-viewcart .ewy-viewcart-checkout-btn .submit-btn,
.shopping-cart-viewcart .ewy-viewcart-empty-footer-btn {
    border-radius: 0;
}
.shopping-cart-viewcart.ewy-viewcart--rounded .ewy-viewcart-continue,
.shopping-cart-viewcart.ewy-viewcart--rounded .previousStep,
.shopping-cart-viewcart.ewy-viewcart--rounded .nextStep,
.shopping-cart-viewcart.ewy-viewcart--rounded .ewy-viewcart-checkout-btn .submit-btn,
.shopping-cart-viewcart.ewy-viewcart--rounded .ewy-viewcart-empty-footer-btn {
    border-radius: var(--ewy-viewcart-radius);
}
.shopping-cart-viewcart.ewy-viewcart--compact .ewy-viewcart-continue,
.shopping-cart-viewcart.ewy-viewcart--compact .previousStep,
.shopping-cart-viewcart.ewy-viewcart--compact .nextStep,
.shopping-cart-viewcart.ewy-viewcart--compact .ewy-viewcart-checkout-btn .submit-btn,
.shopping-cart-viewcart.ewy-viewcart--compact .ewy-viewcart-empty-footer-btn {
    border-radius: 0 !important;
}
.shopping-cart-viewcart .ewy-viewcart-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-bottom: 1px solid #edf0f5;
}
.shopping-cart-viewcart .ewy-viewcart-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--ewy-viewcart-radius);
    color: #6f7c91;
    font-size: 16px;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}
.shopping-cart-viewcart .ewy-viewcart-back:hover {
    background: rgba(42, 91, 249, .08);
    color: var(--ewy-viewcart-theme-strong);
}
.shopping-cart-viewcart .ewy-viewcart-title {
    margin: 0;
    color: #17233e;
    font-size: 18px;
    font-weight: 600;
}
.shopping-cart-viewcart .ewy-viewcart-count { margin-left: auto; color: #8792a5; font-size: 14px; }
.shopping-cart-viewcart .ewy-viewcart-count strong { font-weight: 600; }
.shopping-cart-viewcart .ewy-viewcart-items { padding: 18px 16px 28px; }
.shopping-cart-viewcart .ewy-viewcart-empty { min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fff; }
.shopping-cart-viewcart .ewy-viewcart-empty-icon { margin-bottom: 22px; color: #c9ced8; font-size: 48px; line-height: 1; }
.shopping-cart-viewcart .ewy-viewcart-empty-title { margin-bottom: 8px; color: #25334f; font-size: 16px; font-weight: 600; }
.shopping-cart-viewcart .ewy-viewcart-empty-desc { margin-bottom: 22px; color: #a2adbd; font-size: 14px; }
.shopping-cart-viewcart .ewy-viewcart-empty-btn,
.shopping-cart-viewcart .ewy-viewcart-empty-footer-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--ewy-viewcart-theme-strong); background: var(--ewy-viewcart-theme-strong); color: #fff; text-decoration: none; }
.shopping-cart-viewcart .ewy-viewcart-empty-btn { min-width: 124px; min-height: 40px; padding: 8px 18px; }
.shopping-cart-viewcart .ewy-viewcart-empty-btn:hover,
.shopping-cart-viewcart .ewy-viewcart-empty-footer-btn:hover { color: #fff; filter: brightness(.96); text-decoration: none; }
.shopping-cart-viewcart .ewy-viewcart-items-c {
    margin-bottom: 14px;
    padding: 18px 20px;
    border: 1px solid #e8edf5;
    border-radius: var(--ewy-viewcart-radius);
    background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.shopping-cart-viewcart .ewy-viewcart-items-c:hover {
    border-color: var(--ewy-viewcart-theme-strong);
    box-shadow: 0 0 0 1px var(--ewy-viewcart-theme-strong);
}
.shopping-cart-viewcart .ewy-viewcart-item-header,
.shopping-cart-viewcart .ewy-viewcart-item-price-info,
.shopping-cart-viewcart .ewy-viewcart-price-row,
.shopping-cart-viewcart .ewy-viewcart-item-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.shopping-cart-viewcart .ewy-viewcart-item-header { padding-bottom: 12px; border-bottom: 1px solid #f0f2f6; }
.shopping-cart-viewcart .ewy-viewcart-item-name { display: flex; align-items: center; gap: 8px; color: #25334f; }
.shopping-cart-viewcart .ewy-viewcart-host-tag { display: inline-flex; align-items: center; min-height: 22px; max-width: 260px; padding: 2px 8px; border: 1px solid #dbe5f4; border-radius: 4px; background: #f5f8fc; color: #53617a; font-size: 12px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shopping-cart-viewcart .ewy-viewcart-item-name a,
.shopping-cart-viewcart .ewy-viewcart-item-actions a { color: #7d8da4; }
.shopping-cart-viewcart .ewy-viewcart-item-actions { display: flex; align-items: center; gap: 6px; }
.shopping-cart-viewcart .ewy-viewcart-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: var(--ewy-viewcart-control-radius);
    background: transparent;
    color: #7d8da4;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}
.shopping-cart-viewcart .ewy-viewcart-action:hover { background: rgba(42, 91, 249, .06); color: var(--ewy-viewcart-theme-strong) !important; text-decoration: none; }
.shopping-cart-viewcart .ewy-viewcart-action-delete { color: #7d8da4 !important; }
.shopping-cart-viewcart .ewy-viewcart-action-delete:hover { background: rgba(42, 91, 249, .06); color: var(--ewy-viewcart-theme-strong) !important; }
.shopping-cart-viewcart .ewy-viewcart-action-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.shopping-cart-viewcart [data-ewy-tooltip] { position: relative; }
.shopping-cart-viewcart [data-ewy-tooltip]::after {
    position: absolute;
    right: 50%;
    bottom: calc(100% + 8px);
    z-index: 40;
    padding: 5px 8px;
    border-radius: 2px;
    background: #343a40;
    color: #fff;
    content: attr(data-ewy-tooltip);
    font-size: 12px;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    transform: translateX(50%) translateY(3px);
    transition: opacity .15s ease, transform .15s ease;
    white-space: nowrap;
}
.shopping-cart-viewcart [data-ewy-tooltip]::before {
    position: absolute;
    right: 50%;
    bottom: calc(100% + 3px);
    z-index: 40;
    width: 0;
    height: 0;
    border-top: 5px solid #343a40;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: '';
    opacity: 0;
    pointer-events: none;
    transform: translateX(50%) translateY(3px);
    transition: opacity .15s ease, transform .15s ease;
}
.shopping-cart-viewcart [data-ewy-tooltip]:hover::before,
.shopping-cart-viewcart [data-ewy-tooltip]:hover::after,
.shopping-cart-viewcart [data-ewy-tooltip]:focus-visible::before,
.shopping-cart-viewcart [data-ewy-tooltip]:focus-visible::after { opacity: 1; transform: translateX(50%) translateY(0); }
.shopping-cart-viewcart .ewy-viewcart-item-details { padding: 12px 0; }
.shopping-cart-viewcart .ewy-viewcart-config-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.shopping-cart-viewcart .ewy-viewcart-config-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 3px;
    background: #f5f7fa;
    color: #35415a;
    font-size: 12px;
    line-height: 1.4;
}
.shopping-cart-viewcart .ewy-viewcart-config-tag-label { color: #78869b; }
.shopping-cart-viewcart .ewy-viewcart-config-empty { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; color: #aeb8c8; font-size: 13px; line-height: 1.4; }
.shopping-cart-viewcart .ewy-viewcart-config-empty i { color: #c9ced8; font-size: 20px; line-height: 1; }
.shopping-cart-viewcart .ewy-viewcart-item-price-info { padding-top: 12px; border-top: 1px solid #f0f2f6; }
.shopping-cart-viewcart .ewy-viewcart-price-content { width: auto; min-width: 0; margin-left: 12px; }
.shopping-cart-viewcart .ewy-viewcart-price-row { gap: 4px; }
.shopping-cart-viewcart .ewy-viewcart-price-row > div:last-child { margin-left: auto; text-align: right; white-space: nowrap; }
.shopping-cart-viewcart .ewy-viewcart-price-content { width: 240px; flex: 0 0 240px; }
.shopping-cart-viewcart .ewy-viewcart-price-row + .ewy-viewcart-price-row { margin-top: 7px; }
.shopping-cart-viewcart .ewy-viewcart-final-row { margin-top: 9px; padding-top: 9px; border-top: 1px solid #f0f2f6; }
.shopping-cart-viewcart .ewy-viewcart-subtotal-value { color: #f04444; font-size: 16px; font-weight: 700; }
.shopping-cart-viewcart .ewy-viewcart-original-value { color: #53617a; }
.shopping-cart-viewcart .ewy-viewcart-discount-value { color: #25334f; font-size: 13px; }
.shopping-cart-viewcart .ewy-viewcart-subtotal-label,
.shopping-cart-viewcart .ewy-viewcart-price-label,
.shopping-cart-viewcart .ewy-viewcart-discount-label { color: #8792a5; font-size: 13px; }
.shopping-cart-viewcart .operation { display: flex; align-items: center; }
.shopping-cart-viewcart .cart_qty { display: inline-flex; align-items: center; gap: 8px; color: #8792a5; font-size: 13px; }
.shopping-cart-viewcart .progress-toolbar { display: inline-flex; align-items: center; border: 1px solid #dfe5ef; border-radius: var(--ewy-viewcart-control-radius); overflow: hidden; }
.shopping-cart-viewcart .progress-toolbar > * { width: 34px; height: 32px; border: 0; text-align: center; line-height: 32px; background: #f5f7fa; }
.shopping-cart-viewcart .progress-toolbar .number { width: 48px; border-left: 1px solid #e7ebf2; border-right: 1px solid #e7ebf2; background: #fff; outline: 0; appearance: textfield; }
.shopping-cart-viewcart .progress-toolbar .number::-webkit-outer-spin-button,
.shopping-cart-viewcart .progress-toolbar .number::-webkit-inner-spin-button { margin: 0; appearance: none; }
.shopping-cart-viewcart .ewy-cart-config-increase,
.shopping-cart-viewcart .ewy-cart-config-decrease { cursor: pointer; user-select: none; }
.shopping-cart-viewcart .cart_qty .btn { min-height: 32px; padding: 0; border-radius: var(--ewy-viewcart-control-radius); }
.shopping-cart-viewcart .ewy-cart-config-increase,
.shopping-cart-viewcart .ewy-cart-config-decrease { color: var(--ewy-viewcart-theme-strong); cursor: pointer; }
.shopping-cart-viewcart .cart_qty .btn,
.shopping-cart-viewcart .ewy-viewcart-checkout-btn .submit-btn { border: 0; border-radius: 6px; background: var(--ewy-viewcart-theme-strong); color: #fff; }
.shopping-cart-viewcart .ewy-viewcart-qty-update {
    width: auto;
    min-width: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 32px;
    padding: 0 10px;
    border-radius: var(--ewy-viewcart-control-radius) !important;
    font-size: 12px;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.shopping-cart-viewcart .ewy-viewcart-qty-update:hover,
.shopping-cart-viewcart .ewy-viewcart-qty-update:focus-visible {
    border-color: var(--ewy-viewcart-theme-strong);
    box-shadow: 0 0 0 1px var(--ewy-viewcart-theme-strong);
}
.shopping-cart-viewcart .ewy-viewcart-qty-update.is-loading,
.shopping-cart-viewcart .ewy-viewcart-qty-update.is-loading:hover {
    border-color: var(--ewy-viewcart-theme-strong);
    cursor: wait;
    opacity: .92;
}
.shopping-cart-viewcart .ewy-viewcart-qty-update.is-loading .ewy-viewcart-action-text {
    position: relative;
    width: 14px;
    height: 14px;
    margin: 0;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .48);
    border-top-color: #fff;
    border-radius: 50%;
    clip: auto;
    animation: ewy-viewcart-spin .7s linear infinite;
    font-size: 0;
    white-space: normal;
}
@keyframes ewy-viewcart-spin { to { transform: rotate(360deg); } }
.shopping-cart-viewcart .ewy-viewcart-qty-update .ewy-viewcart-action-text {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
}
.shopping-cart-viewcart .ewy-viewcart-pay-body { margin-top: 18px; }
.shopping-cart-viewcart .ewy-viewcart-pay-body[style*="display:none"] { display: none !important; }
.shopping-cart-viewcart .ewy-viewcart-pay-body .pay-body-content { padding: 0 16px 18px; }
.shopping-cart-viewcart .ewy-viewcart-remarks-header,
.shopping-cart-viewcart .ewy-viewcart-promo-card { margin: 12px 0; padding: 14px 16px; border: 1px solid #e8edf5; background: #fff; border-radius: var(--ewy-viewcart-radius); }
.shopping-cart-viewcart .ewy-viewcart-remarks-header { display: flex; align-items: center; gap: 16px; }
.shopping-cart-viewcart .ewy-viewcart-remarks-title { min-width: 76px; color: #25334f; font-weight: 600; }
.shopping-cart-viewcart .ewy-viewcart-remarks-input-group { flex: 1; }
.shopping-cart-viewcart .ewy-viewcart-remarks-input { min-height: 42px; border: 0; background: #f5f7fa; }
.shopping-cart-viewcart .ewy-viewcart-payment-card { margin: 12px 0; padding: 16px; border: 1px solid #e8edf5; background: #fff; border-radius: var(--ewy-viewcart-radius); }
.shopping-cart-viewcart .ewy-viewcart-payment-card .ewy-viewcart-section-title { margin-bottom: 14px; }
.shopping-cart-viewcart .ewy-viewcart-section-title,
.shopping-cart-viewcart .payment_method { margin: 0 0 12px; color: #25334f; font-size: 16px; font-weight: 600; }
.shopping-cart-viewcart .ewy-viewcart-section-title i { margin-right: 7px; color: var(--ewy-viewcart-theme-strong); }
.shopping-cart-viewcart .ewy-viewcart-payment-options { display: flex; flex-wrap: wrap; gap: 8px; }
.shopping-cart-viewcart .ewy-viewcart-payment-options .payment_method { flex-basis: 100%; }
.shopping-cart-viewcart .ewy-viewcart-payment-options .checkboxDiv,
.shopping-cart-viewcart .addfunds-payment { min-width: 160px; min-height: 58px; padding: 10px 14px; border: 1px solid #e4eaf3; border-radius: var(--ewy-viewcart-radius); background: #fff; }
.shopping-cart-viewcart .ewy-viewcart-payment-gateway-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: 12px 0 0; padding: 0; border: 0; }
.shopping-cart-viewcart .addfunds-payment { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; cursor: pointer; text-align: center; }
.shopping-cart-viewcart .addfunds-payment.active { border-color: var(--ewy-viewcart-theme-strong); background: rgba(42, 91, 249, .08); }
.shopping-cart-viewcart .addfunds-payment img { display: block; width: auto; max-width: 112px; height: 30px; max-height: 30px; object-fit: contain; }
.shopping-cart-viewcart .addfunds-payment::after { display: block; max-width: 100%; overflow: hidden; color: #71809a; font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.shopping-cart-viewcart .addfunds-payment[data-payment]::after { content: attr(title); }
.shopping-cart-viewcart .ewy-viewcart-promo-card .input-group { display: flex; }
.shopping-cart-viewcart .ewy-viewcart-promo-form { position: relative; flex-wrap: nowrap; }
.shopping-cart-viewcart .ewy-viewcart-promo-card .form-control { min-height: 40px; border: 0; background: #f5f7fa; }
.shopping-cart-viewcart .ewy-viewcart-promo-card .btn { min-width: 64px; border-radius: 0; }
.shopping-cart-viewcart .ewy-viewcart-promo-submit.is-loading { display: inline-flex; align-items: center; justify-content: center; gap: 5px; opacity: .82; cursor: wait; }
.shopping-cart-viewcart .ewy-viewcart-spinner { width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: ewy-viewcart-spin .7s linear infinite; }
.shopping-cart-viewcart .ewy-viewcart-promo-feedback { position: fixed; top: 38px; left: 50%; z-index: 100000; display: none; align-items: center; justify-content: center; gap: 8px; width: max-content; min-width: 0; max-width: calc(100vw - 32px); min-height: 48px; padding: 0 14px; border: 1px solid #e6e8ed; border-radius: 2px; background: #fff; color: #3f4652; font-size: 15px; line-height: 1.5; text-align: center; white-space: nowrap; box-shadow: 0 5px 18px rgba(27,40,64,.16); transform: translateX(-50%); box-sizing: border-box; }
.shopping-cart-viewcart .ewy-viewcart-promo-feedback.is-visible { display: inline-flex; }
.shopping-cart-viewcart .ewy-viewcart-promo-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; background: #ff4848; color: #fff; font-size: 11px; line-height: 1; }
.shopping-cart-viewcart .ewy-viewcart-promo-feedback.is-success .ewy-viewcart-promo-icon { background: #27ae60; }
.shopping-cart-viewcart .ewy-viewcart-promo-message { display: block; overflow: hidden; flex: 0 1 auto; text-align: center; text-overflow: ellipsis; }
.shopping-cart-viewcart .ewy-viewcart-promo-feedback.is-success { color: #3f4652; }
.shopping-cart-viewcart .ewy-viewcart-promo-applied { color: #53617a; }
.shopping-cart-viewcart .ewy-viewcart-promo-applied a { margin-left: 16px; color: #dc3545; }
.shopping-cart-viewcart .ewy-viewcart-terms { padding: 12px 0; }
.shopping-cart-viewcart .ewy-viewcart-terms-checkbox {
    appearance: none;
    -webkit-appearance: none;
    display: inline-grid;
    place-content: center;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin: 0 5px 0 0;
    padding: 0;
    border: 1px solid #b8c2d1;
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
}
.shopping-cart-viewcart .ewy-viewcart-terms-checkbox::before {
    width: 8px;
    height: 8px;
    content: '';
    transform: scale(0);
    transition: transform .12s ease-in-out;
    box-shadow: inset 1em 1em #fff;
    clip-path: polygon(14% 44%, 0 59%, 39% 100%, 100% 19%, 85% 5%, 38% 69%);
}
.shopping-cart-viewcart .ewy-viewcart-terms-checkbox:checked {
    border-color: var(--ewy-viewcart-theme-strong);
    background: var(--ewy-viewcart-theme-strong);
}
.shopping-cart-viewcart .ewy-viewcart-terms-checkbox:checked::before { transform: scale(1); }
.shopping-cart-viewcart .ewy-viewcart-terms label {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    line-height: 20px;
    cursor: pointer;
}
.shopping-cart-viewcart .ewy-viewcart-login {
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 32px);
    margin: 16px 16px 0;
    padding: 12px 16px;
    box-sizing: border-box;
    border: 1px solid rgba(42, 91, 249, .15);
    border-radius: var(--ewy-viewcart-radius);
    background: rgba(42, 91, 249, .06);
}
.shopping-cart-viewcart .ewy-viewcart-login-icon { flex: 0 0 auto; color: var(--ewy-viewcart-theme-strong); font-size: 32px; line-height: 1; }
.shopping-cart-viewcart .ewy-viewcart-login-text { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 2px; }
.shopping-cart-viewcart .ewy-viewcart-login-title { color: #25334f; font-size: 13px; font-weight: 600; }
.shopping-cart-viewcart .ewy-viewcart-login-desc { color: #8792a5; font-size: 12px; }
.shopping-cart-viewcart .ewy-viewcart-login-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 72px; min-height: 30px; padding: 5px 10px; border-radius: var(--ewy-viewcart-control-radius); white-space: nowrap; }
.shopping-cart-viewcart .ewy-viewcart-login-arrow { width: 0; overflow: hidden; opacity: 0; transition: width .2s, opacity .2s; font-size: 12px; }
.shopping-cart-viewcart .ewy-viewcart-login-btn:hover .ewy-viewcart-login-arrow { width: 14px; opacity: 1; }
.shopping-cart-viewcart .ewy-viewcart-login-notice a { color: var(--ewy-viewcart-theme-strong); font-weight: 700; }
.shopping-cart-viewcart .ewy-cart-delete-modal .modal-dialog { max-width: 420px; }
.shopping-cart-viewcart .ewy-cart-delete-modal .modal-content { border: 0; border-radius: 0; box-shadow: 0 18px 50px rgba(24, 36, 58, .2); }
.shopping-cart-viewcart .ewy-cart-delete-modal .modal-body { padding: 38px 28px 22px; text-align: center; }
.shopping-cart-viewcart .ewy-cart-delete-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 22px;
    border: 3px solid #ff7900;
    border-radius: 50%;
    color: #ff7900;
    font-size: 20px;
    font-weight: 700;
}
.shopping-cart-viewcart .ewy-cart-delete-title { color: #263550; font-size: 16px; font-weight: 600; }
.shopping-cart-viewcart .ewy-cart-delete-message { display: none; }
.shopping-cart-viewcart .ewy-cart-delete-modal .modal-footer { justify-content: center; gap: 16px; padding: 0 28px 20px; border-top: 0; }
.shopping-cart-viewcart .ewy-cart-delete-cancel,
.shopping-cart-viewcart .ewy-cart-delete-confirm { min-width: 50px; min-height: 32px; padding: 5px 14px; border-radius: 0; font-size: 12px; }
.shopping-cart-viewcart .ewy-cart-delete-cancel { border: 1px solid #dce1e8; background: #fff; color: #607089; }
.shopping-cart-viewcart .ewy-cart-delete-confirm { border-color: var(--ewy-viewcart-theme-strong); background: var(--ewy-viewcart-theme-strong); color: #fff; }
.shopping-cart-viewcart .ewy-cart-delete-confirm.is-loading { cursor: wait; font-size: 0; opacity: .9; }
.shopping-cart-viewcart .ewy-cart-delete-confirm.is-loading::after {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    content: '';
    animation: ewy-viewcart-spin .7s linear infinite;
}
.shopping-cart-viewcart .ewy-viewcart-items .no-data { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #8b95a6; background: #fff; }
.shopping-cart-viewcart .ewy-viewcart-items .no-data a { color: var(--ewy-viewcart-theme-strong); }
.shopping-cart-viewcart .ewy-viewcart-footer { position: fixed; right: 0; bottom: 0; left: 0; z-index: 30; padding: 12px 20px; border-top: 1px solid #e8ecf2; background: rgba(255,255,255,.96); box-shadow: 0 -8px 24px rgba(33, 53, 86, .08); }
.shopping-cart-viewcart .ewy-viewcart-footer-inner { display: flex; align-items: center; width: min(75vw, 1440px); min-width: 0; max-width: 1440px; margin: 0 auto; gap: 16px; }
.shopping-cart-viewcart .totalExpenses { flex: 1; min-width: 0; }
.shopping-cart-viewcart .ewy-viewcart-f { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.shopping-cart-viewcart .ewy-viewcart-footer-total { margin-right: auto; color: #53617a; font-size: 14px; }
.shopping-cart-viewcart .ewy-viewcart-footer-total strong { margin-left: 5px; color: #f04444; font-size: 22px; }
.shopping-cart-viewcart .ewy-viewcart-original-total { margin-left: 8px; color: #a0a8b5; font-size: 13px; font-weight: 400; }
.shopping-cart-viewcart .ewy-viewcart-discount-summary { margin-left: 8px; color: #a0a8b5; font-size: 12px; font-weight: 400; }
.shopping-cart-viewcart .ewy-viewcart-empty-footer-text { margin-right: auto; color: #8792a5; font-size: 14px; }
.shopping-cart-viewcart .ewy-viewcart-empty-footer-btn { min-width: 120px; min-height: 42px; padding: 8px 18px; }
.shopping-cart-viewcart .ewy-viewcart-continue,
.shopping-cart-viewcart .previousStep { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 22px; border: 1px solid var(--ewy-viewcart-theme-strong); background: #fff; color: var(--ewy-viewcart-theme-strong); text-decoration: none; }
.shopping-cart-viewcart .nextStep,
.shopping-cart-viewcart .ewy-viewcart-checkout-btn .submit-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 24px; border: 1px solid var(--ewy-viewcart-theme-strong); background: var(--ewy-viewcart-theme-strong); color: #fff; text-decoration: none; cursor: pointer; }
.shopping-cart-viewcart .ewy-viewcart-checkout-btn .submit-btn { min-width: 140px; min-height: 42px; }
.shopping-cart-viewcart .ewy-viewcart-terms { margin: 18px 0 4px; color: #66748c; }
.shopping-cart-viewcart .ewy-viewcart-terms a { color: var(--ewy-viewcart-theme-strong); }
.shopping-cart-viewcart.ewy-viewcart--rounded .ewy-viewcart-items-c,
.shopping-cart-viewcart.ewy-viewcart--rounded .ewy-viewcart-pay-body,
.shopping-cart-viewcart.ewy-viewcart--rounded .ewy-viewcart-cart-body { border-radius: var(--ewy-viewcart-radius); }
@media (max-width: 767px) {
    .shopping-cart-viewcart { margin: 0; padding: 74px 10px 94px; }
    .shopping-cart-viewcart .ewy-viewcart-body,
    .shopping-cart-viewcart .ewy-viewcart-footer-inner { width: 100%; min-width: 0; gap: 8px; }
    .shopping-cart-viewcart .ewy-viewcart-header,
    .shopping-cart-viewcart .ewy-viewcart-items { padding-right: 14px; padding-left: 14px; }
    .shopping-cart-viewcart .ewy-viewcart-title { font-size: 16px; }
    .shopping-cart-viewcart .ewy-viewcart-count { font-size: 12px; }
    .shopping-cart-viewcart .ewy-viewcart-login { align-items: flex-start; flex-wrap: wrap; width: calc(100% - 20px); margin: 12px 10px 0; padding: 10px 12px; gap: 8px; }
    .shopping-cart-viewcart .ewy-viewcart-login-icon { font-size: 26px; }
    .shopping-cart-viewcart .ewy-viewcart-login-text { flex-basis: calc(100% - 48px); }
    .shopping-cart-viewcart .ewy-viewcart-login-btn { margin-left: auto; }
    .shopping-cart-viewcart .ewy-viewcart-item-header { align-items: flex-start; }
    .shopping-cart-viewcart .ewy-viewcart-item-name { min-width: 0; }
    .shopping-cart-viewcart .ewy-viewcart-item-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .shopping-cart-viewcart .ewy-viewcart-item-actions { flex: 0 0 auto; }
    .shopping-cart-viewcart .ewy-viewcart-item-price-info { display: flex; align-items: center; gap: 8px; }
    .shopping-cart-viewcart .ewy-viewcart-price-content { width: auto; flex: 1 1 auto; margin-top: 0; margin-left: auto; }
    .shopping-cart-viewcart .ewy-viewcart-price-row { gap: 3px; }
    .shopping-cart-viewcart .ewy-viewcart-subtotal-label { font-size: 12px; }
    .shopping-cart-viewcart .ewy-viewcart-subtotal-value { font-size: 15px; }
    .shopping-cart-viewcart .ewy-viewcart-qty-update { min-width: 48px; padding-right: 8px; padding-left: 8px; }
    .shopping-cart-viewcart .ewy-cart-delete-modal .modal-dialog { width: calc(100% - 32px); margin: 1.75rem auto; }
    .shopping-cart-viewcart .ewy-cart-delete-modal .modal-body { padding: 30px 20px 18px; }
    .shopping-cart-viewcart .ewy-viewcart-footer { padding: 8px 10px; overflow-x: hidden; }
    .shopping-cart-viewcart .ewy-viewcart-footer { bottom: 74px; }
    .shopping-cart-viewcart .ewy-viewcart-footer-inner { display: block; }
    .shopping-cart-viewcart .totalExpenses,
    .shopping-cart-viewcart .ewy-viewcart-f { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
    .shopping-cart-viewcart .ewy-viewcart-f { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
    .shopping-cart-viewcart .ewy-viewcart-footer-total { flex: 1 0 100%; margin: 0 0 2px; text-align: right; font-size: 12px; }
    .shopping-cart-viewcart .ewy-viewcart-footer-total strong { font-size: 17px; }
    .shopping-cart-viewcart .ewy-viewcart-continue,
    .shopping-cart-viewcart .previousStep,
    .shopping-cart-viewcart .nextStep,
    .shopping-cart-viewcart .ewy-viewcart-checkout-btn { flex: 1 1 0; min-width: 0; }
    .shopping-cart-viewcart .ewy-viewcart-checkout-btn { max-width: 100%; overflow: hidden; }
    .shopping-cart-viewcart .ewy-viewcart-continue,
    .shopping-cart-viewcart .previousStep,
    .shopping-cart-viewcart .nextStep,
    .shopping-cart-viewcart .ewy-viewcart-checkout-btn .submit-btn {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 36px;
        padding: 6px 8px;
        font-size: 12px;
        box-sizing: border-box;
        white-space: nowrap;
    }
    .shopping-cart-viewcart .ewy-viewcart-terms { padding: 10px 0; }
    .shopping-cart-viewcart .ewy-viewcart-terms label { flex-wrap: wrap; }
    .shopping-cart-viewcart .ewy-viewcart-payment-gateway-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .shopping-cart-viewcart .addfunds-payment { min-width: 0; }
    .shopping-cart-viewcart .addfunds-payment img { max-width: 92px; height: 26px; max-height: 26px; }
}

@media (max-width: 768px) {
    .mobile-nav { justify-content: stretch !important; }
    .mobile-nav .nav-item { flex: 1 1 0 !important; width: 33.3333% !important; margin: 0 !important; text-align: center; }
}
