.elementor-160789 .elementor-element.elementor-element-e73bc28{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;--z-index:999;}.elementor-160789 .elementor-element.elementor-element-e73bc28:not(.elementor-motion-effects-element-type-background), .elementor-160789 .elementor-element.elementor-element-e73bc28 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-secondary );}.elementor-160789 .elementor-element.elementor-element-bce39f3.elementor-element{--align-self:stretch;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(max-width:1024px){.elementor-160789 .elementor-element.elementor-element-e73bc28{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}@media(max-width:767px){.elementor-160789 .elementor-element.elementor-element-e73bc28{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}/* Start custom CSS for shortcode, class: .elementor-element-bce39f3 *//* Kasambili Header Styles - With Enhanced Menu Panel Animation */
:root {
    --header-bg: #ffffff;
    --header-text: #000000;
    --quick-link-color: #000000;
    --quick-link-hover: #4CAF50;
    --border-light: #e0e0e0;
    
    --ksmb-header-bg: #ffffff;
    --ksmb-header-text: #000000;
    --ksmb-border-light: #e0e0e0;
    --ksmb-green: #26A95F;
    --ksmb-danger: #f15e5e;
    --ksmb-warning: #ffb74d;
    --ksmb-crown: #FFD700;
    --ksmb-bg-primary: #1a1e24;
    --ksmb-bg-secondary: #232830;
    --ksmb-bg-hover: #2c333d;
    --ksmb-text-primary: #0f172a;
    --ksmb-text-secondary: #475569;
    --ksmb-co-acc-text-muted: #64748b;
    --ksmb-border-color: #2f3540;
    --ksmb-menu-color: #e4e6eb;
    --ksmb-co-acc-border-color: #e2e8f0;
    --ksmb-co-acc-bg-primary: #ffffff;
    --ksmb-co-acc-bg-secondary: #f8fafc;
    --ksmb-co-acc-success-color: #26A95F;
    --ksmb-co-acc-success-hover: #1e8a4d;
    --ksmb-co-acc-danger-color: #f15e5e;
    --ksmb-co-acc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Base Styles */
.ksmb-custom-header {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 1300px;
    max-width: 100%;
    margin: 0 auto;
    background: var(--ksmb-header-bg);
    position: relative;
    z-index: 101 !important;
    overflow: visible;
    /* Create a stacking context */
    isolation: isolate;
}

.ksmb-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0rem;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 100;
    background: var(--ksmb-header-bg);
}

/* Logo Section */
.ksmb-logo-section {
    flex-shrink: 0;
}

.ksmb-logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ksmb-logo-link:hover {
    opacity: 0.9;
}

.ksmb-header-logo {
    max-height: 45px;
    width: auto;
    display: block;
}

.ksmb-logo-text {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.5px;
    background: #D46A00;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Right Section */
.ksmb-right-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Cart Total */
.ksmb-cart-total {
    background: transparent;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--ksmb-header-text);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid var(--ksmb-border-light);
}

.ksmb-cart-total:hover {
    border-color: var(--ksmb-green);
    background: rgba(38, 169, 95, 0.05);
}

.ksmb-cart-total i {
    font-size: 18px;
    color: var(--ksmb-green);
}

.cart-amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--ksmb-header-text);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--ksmb-green);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Profile Trigger Button */
.ksmb-profile-trigger {
    background: none;
    border: 2px solid var(--ksmb-border-light);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100;
}

.ksmb-profile-trigger:hover {
    border-color: var(--ksmb-green);
    transform: scale(1.05);
}

.ksmb-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ksmb-profile-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.ksmb-profile-placeholder i {
    font-size: 20px;
}

/* Profile Dropdown Panel - Pure slide from top (no fade) */
.ksmb-profile-panel {
    position: absolute;
    top: 100%;
    right: 0rem;
    width: 380px;
    max-width: calc(100% - 4rem);
    background: var(--ksmb-bg-secondary);
    border-radius: 0 0 16px 16px;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 1;
    border: 1px solid var(--ksmb-border-color);
    border-top: none;
    overflow: hidden;
    pointer-events: none;
}

.ksmb-profile-panel.active {
    visibility: visible;
    transform: translateY(0);
    z-index: 97;
    pointer-events: auto;
}

/* Ensure header content stays above the panel */
.ksmb-right-section,
.ksmb-logo-section,
.ksmb-cart-total {
    position: relative;
    z-index: 101;
    background: var(--ksmb-header-bg);
}

/* Profile Header */
.ksmb-profile-panel .ksmb-profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--ksmb-bg-primary);
    border-bottom: 1px solid var(--ksmb-border-color);
}

.ksmb-profile-panel .ksmb-profile-image-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ksmb-green);
}

.ksmb-profile-panel .ksmb-profile-placeholder-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--ksmb-bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ksmb-text-secondary);
    border: 2px solid var(--ksmb-green);
}

.ksmb-profile-panel .ksmb-profile-info {
    flex: 1;
}

.ksmb-profile-panel .ksmb-profile-name {
    display: block;
    color: var(--ksmb-header-bg);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.ksmb-profile-panel .ksmb-profile-email {
    display: block;
    color: #b0b3b8;
    font-size: 0.85rem;
    word-break: break-all;
}

/* Divider */
.ksmb-divider {
    height: 1px;
    background: var(--ksmb-border-color);
    margin: 0;
}

/* Passbook Info */
.ksmb-passbook-info {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ksmb-bg-primary);
}

.ksmb-passbook-info i {
    color: var(--ksmb-green);
    font-size: 18px;
}

.passbook-label {
    font-size: 0.85rem;
    color: #b0b3b8;
    font-weight: 500;
}

.passbook-number {
    font-size: 0.85rem;
    color: var(--ksmb-header-bg);
    font-weight: 600;
    margin-left: auto;
}

/* Menu Buttons */
.ksmb-menu-buttons {
    padding: 0.5rem 0;
}

.ksmb-menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1.5rem;
    color: var(--ksmb-menu-color);
    text-decoration: none;
    transition: background 0.2s ease, border-left-color 0.2s ease, color 0.2s ease;
    border-left: 3px solid transparent;
}

.ksmb-menu-btn i,
.ksmb-menu-btn span {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ksmb-menu-btn:hover {
    background: var(--ksmb-bg-hover);
    border-left-color: var(--ksmb-green);
    text-decoration: none;
    color: var(--ksmb-text-primary);
}

.ksmb-menu-btn:hover i,
.ksmb-menu-btn:hover span {
    transform: translateX(6px);
}

.ksmb-menu-btn i {
    width: 20px;
    font-size: 16px;
}

.ksmb-menu-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

.ksmb-menu-btn.logout-btn:hover {
    background: rgba(241, 94, 94, 0.1);
    border-left-color: var(--ksmb-danger);
    color: var(--ksmb-danger);
}

.ksmb-menu-btn.logout-btn:hover i,
.ksmb-menu-btn.logout-btn:hover span {
    transform: translateX(6px);
}

.ksmb-menu-btn.login-btn:hover,
.ksmb-menu-btn.register-btn:hover {
    background: rgba(38, 169, 95, 0.1);
    border-left-color: var(--ksmb-green);
    color: var(--ksmb-green);
}

/* Staggered Animation for Panel Items */
@keyframes ksmbSlideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply staggered animation to panel sections */
.ksmb-profile-panel.active .ksmb-profile-header,
.ksmb-profile-panel.active .ksmb-divider,
.ksmb-profile-panel.active .ksmb-passbook-info,
.ksmb-profile-panel.active .ksmb-menu-buttons {
    animation: ksmbSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

/* Staggered delays for smoother entrance */
.ksmb-profile-panel.active .ksmb-profile-header { 
    animation-delay: 0.05s; 
}

.ksmb-profile-panel.active .ksmb-divider { 
    animation-delay: 0.08s; 
}

.ksmb-profile-panel.active .ksmb-passbook-info { 
    animation-delay: 0.1s; 
}

.ksmb-profile-panel.active .ksmb-menu-buttons { 
    animation-delay: 0.15s; 
}

/* Individual menu button animations */
.ksmb-profile-panel.active .ksmb-menu-btn {
    animation: ksmbSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

.ksmb-profile-panel.active .ksmb-menu-btn:nth-child(1) { animation-delay: 0.18s; }
.ksmb-profile-panel.active .ksmb-menu-btn:nth-child(2) { animation-delay: 0.21s; }
.ksmb-profile-panel.active .ksmb-menu-btn:nth-child(3) { animation-delay: 0.24s; }
.ksmb-profile-panel.active .ksmb-menu-btn:nth-child(4) { animation-delay: 0.27s; }
.ksmb-profile-panel.active .ksmb-menu-btn:nth-child(5) { animation-delay: 0.30s; }
.ksmb-profile-panel.active .ksmb-menu-btn:nth-child(6) { animation-delay: 0.33s; }

/* ================= CART MODAL STYLES ================= */

/* Cart Modal Container */
.ksmb-cart-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.ksmb-cart-modal-content {
    background-color: var(--ksmb-co-acc-bg-primary);
    width: 100%;
    max-width: 900px;
    border-radius: 16px;
    box-shadow: var(--ksmb-co-acc-shadow-md);
    animation: slideIn 0.3s ease;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Cart Modal Header */
.ksmb-cart-modal-header {
    padding: 20px 20px;
    border-bottom: 1px solid var(--ksmb-co-acc-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.ksmb-cart-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--ksmb-text-primary);
    font-weight: 600;
}

.ksmb-cart-modal-header h3 i {
    color: var(--ksmb-green);
    margin-right: 10px;
}

.ksmb-cart-modal-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--ksmb-co-acc-text-muted);
    transition: color 0.2s ease;
}

.ksmb-cart-modal-close:hover {
    color: var(--ksmb-text-primary);
}

/* Cart Items List Container */
.ksmb-cart-items-list {
    width: 100%;
}

/* Cart Modal Item - Desktop Grid Layout */
.ksmb-cart-modal-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    padding: 10px 20px;
    border-bottom: 1px solid var(--ksmb-co-acc-border-color);
    align-items: center;
    gap: 15px;
    transition: background 0.2s ease;
}

.ksmb-cart-modal-item:hover {
    background: #f9fafb;
}

/* Product Column */
.ksmb-cart-items-list .ksmb-cart-item-product {
    display: flex;
    gap: 15px;
    align-items: center;
}

.ksmb-cart-items-list .ksmb-cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid var(--ksmb-co-acc-border-color);
}

.ksmb-cart-items-list .ksmb-cart-item-image-placeholder {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 24px;
    flex-shrink: 0;
}

.ksmb-cart-items-list .ksmb-cart-item-details {
    flex: 1;
}

.ksmb-cart-items-list .ksmb-cart-item-name {
    font-weight: 600;
    color: var(--ksmb-text-primary);
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.ksmb-cart-items-list .ksmb-cart-item-uom {
    font-size: 12px;
    color: var(--ksmb-co-acc-text-muted);
    display: block;
}

/* Price Column */
.ksmb-cart-items-list .ksmb-cart-item-price-col {
    text-align: right;
}

.ksmb-cart-items-list .ksmb-cart-item-price {
    font-weight: 600;
    color: var(--ksmb-text-primary);
    font-size: 14px;
}

/* Quantity Column */
.ksmb-cart-items-list .ksmb-cart-item-quantity-col {
    text-align: center;
}

.ksmb-cart-items-list .ksmb-cart-item-quantity {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    padding: 4px 8px;
    border-radius: 10px;
}

/* Quantity Input */
.ksmb-cart-items-list .ksmb-cart-qty-input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--ksmb-co-acc-border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ksmb-text-primary);
    background: #ffffff;
    padding: 0 4px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.ksmb-cart-items-list .ksmb-cart-qty-input:focus {
    outline: none;
    border-color: var(--ksmb-green);
    box-shadow: 0 0 0 2px rgba(38, 169, 95, 0.1);
}

/* Remove number input spinners */
.ksmb-cart-items-list .ksmb-cart-qty-input::-webkit-inner-spin-button,
.ksmb-cart-items-list .ksmb-cart-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ksmb-cart-items-list .ksmb-cart-qty-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Quantity Buttons */
.ksmb-cart-items-list .ksmb-cart-qty-decrease,
.ksmb-cart-items-list .ksmb-cart-qty-increase {
    width: 36px;
    height: 36px;
    border: 1px solid var(--ksmb-co-acc-border-color);
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: var(--ksmb-green);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.ksmb-cart-items-list .ksmb-cart-qty-decrease:hover:not(:disabled),
.ksmb-cart-items-list .ksmb-cart-qty-increase:hover:not(:disabled) {
    background: var(--ksmb-green);
    color: #ffffff;
    border-color: var(--ksmb-green);
}

.ksmb-cart-items-list .ksmb-cart-qty-decrease:disabled,
.ksmb-cart-items-list .ksmb-cart-qty-increase:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Subtotal Column */
.ksmb-cart-items-list .ksmb-cart-item-subtotal-col {
    text-align: right;
}

.ksmb-cart-items-list .ksmb-cart-item-subtotal {
    font-weight: 700;
    color: var(--ksmb-green);
    font-size: 14px;
}

/* Action Column */
.ksmb-cart-items-list .ksmb-cart-item-action-col {
    text-align: center;
}

.ksmb-cart-items-list .ksmb-cart-item-remove {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 14px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ksmb-cart-items-list .ksmb-cart-item-remove:hover {
    background: #ef4444;
    color: white;
}

/* Cart Modal Footer */
.ksmb-cart-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    border-top: 1px solid var(--ksmb-co-acc-border-color);
    background: var(--ksmb-co-acc-bg-primary);
    gap: 20px;
}

.ksmb-cart-modal-footer .ksmb-cart-total-section {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 500;
}

.ksmb-cart-modal-footer .ksmb-cart-modal-total {
    color: var(--ksmb-green);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.ksmb-cart-modal-footer .ksmb-cart-modal-actions {
    display: flex;
    gap: 12px;
    margin-left: auto;
}

.ksmb-cart-modal-footer .ksmb-clear-cart-btn {
    flex: 1;
    padding: 10px 30px;
    background: transparent;
    border: 1px solid var(--ksmb-co-acc-danger-color);
    color: var(--ksmb-co-acc-danger-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ksmb-cart-modal-footer .ksmb-clear-cart-btn:hover {
    background: var(--ksmb-co-acc-danger-color);
    color: white;
}

.ksmb-cart-modal-footer .ksmb-checkout-btn {
    flex: 2;
    padding: 10px 20px;
    background: var(--ksmb-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ksmb-cart-modal-footer .ksmb-checkout-btn:hover {
    background: var(--ksmb-co-acc-success-hover);
    text-decoration: none;
    color: white;
    transform: translateX(3px);
}

.ksmb-cart-modal-footer .ksmb-arrow-icon {
    transition: transform 0.2s ease;
}

.ksmb-cart-modal-footer .ksmb-checkout-btn:hover .ksmb-arrow-icon {
    transform: translateX(3px);
}

/* Empty Cart Styles */
.ksmb-cart-modal .ksmb-empty-cart-container {
    text-align: center;
    padding: 80px 20px;
}

.ksmb-cart-modal .ksmb-empty-cart-icon {
    font-size: 80px;
    color: var(--ksmb-green);
    margin-bottom: 20px;
}

.ksmb-cart-modal .ksmb-empty-cart-text {
    font-size: 18px;
    color: var(--ksmb-co-acc-text-muted);
    margin-bottom: 25px;
}

.ksmb-cart-modal .ksmb-continue-shopping-action {
    padding: 12px 30px;
    background: var(--ksmb-green);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ksmb-cart-modal .ksmb-continue-shopping-action:hover {
    background: var(--ksmb-co-acc-success-hover);
    transform: translateY(-2px);
}

/* Loading State */
.ksmb-cart-loading-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}

.ksmb-cart-loading {
    text-align: center;
    color: var(--ksmb-co-acc-text-muted);
}

.ksmb-cart-loading i {
    font-size: 50px;
    margin-bottom: 15px;
    color: var(--ksmb-green);
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* ================= CUSTOM NOTIFICATION TOAST STYLES ================= */

.ksmb-notification-container {
    position: fixed;
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    width: auto;
    min-width: 320px;
    max-width: 450px;
    /* Position will be set by JS */
    right: 0;
}

/* Desktop - align with header's right edge */
@media (min-width: 1300px) {
    .ksmb-notification-container {
        /* JS will calculate the exact right position to align with header */
    }
}

/* Base Notification Styles - Shared by all types */
.ksmb-notification {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.05);
    pointer-events: auto;
    animation: ksmbNotificationSlideIn 0.3s ease-out forwards;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Content Layout - Vertically centered */
.ksmb-notification-content {
    display: flex;
    align-items: center !important; /* Changed from flex-start to center */
    padding: 16px;
    gap: 12px;
}

/* Icon Container - Same size for all */
.ksmb-notification-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    align-self: center !important; /* Ensure vertical centering */
}

.ksmb-notification-icon i {
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Text Area - Vertically centered */
.ksmb-notification-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #1e293b;
    font-weight: 400;
    align-self: center !important; /* Ensure vertical centering */
    display: flex;
    align-items: center;
    min-height: 28px; /* Match icon height for better alignment */
}

.ksmb-notification-text strong {
    font-weight: 600;
    color: #0f172a;
}

/* Close Button - Vertically centered */
.ksmb-notification-close {
    flex-shrink: 0;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    width: 28px !important; /* Match icon container width */
    height: 28px !important; /* Match icon container height */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    transition: background 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
    align-self: center !important; /* Ensure vertical centering */
}

.ksmb-notification-close:hover {
    background: #f1f5f9 !important;
}

.ksmb-notification-close i,
.ksmb-notification-close .fas,
.ksmb-notification-close .fa-times {
    font-size: 14px !important;
    line-height: 1 !important;
    color: #94a3b8 !important;
    transition: color 0.2s ease !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ksmb-notification-close:hover i,
.ksmb-notification-close:hover .fas,
.ksmb-notification-close:hover .fa-times {
    color: #475569 !important;
}

/* Font Awesome pseudo-element - IDENTICAL for all */
.ksmb-notification-close i::before,
.ksmb-notification-close .fas::before,
.ksmb-notification-close .fa-times::before {
    color: #94a3b8 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ksmb-notification-close:hover i::before,
.ksmb-notification-close:hover .fas::before,
.ksmb-notification-close:hover .fa-times::before {
    color: #475569 !important;
}

/* ============================================= */
/* TYPE-SPECIFIC STYLES - Only border and icon colors differ */
/* ============================================= */

/* SUCCESS - Green */
.ksmb-notification-success {
    border-left: 4px solid #26A95F;
}

.ksmb-notification-success .ksmb-notification-icon {
    background: rgba(38, 169, 95, 0.1);
}

.ksmb-notification-success .ksmb-notification-icon i {
    color: #26A95F;
}

/* ERROR - Red */
.ksmb-notification-error {
    border-left: 4px solid #f15e5e;
}

.ksmb-notification-error .ksmb-notification-icon {
    background: rgba(241, 94, 94, 0.1);
}

.ksmb-notification-error .ksmb-notification-icon i {
    color: #f15e5e;
}

/* WARNING - Orange/Yellow */
.ksmb-notification-warning {
    border-left: 4px solid #f59e0b;
}

.ksmb-notification-warning .ksmb-notification-icon {
    background: rgba(245, 158, 11, 0.1);
}

.ksmb-notification-warning .ksmb-notification-icon i {
    color: #f59e0b;
}

/* INFO - Blue */
.ksmb-notification-info {
    border-left: 4px solid #3b82f6;
}

.ksmb-notification-info .ksmb-notification-icon {
    background: rgba(59, 130, 246, 0.1);
}

.ksmb-notification-info .ksmb-notification-icon i {
    color: #3b82f6;
}

/* ============================================= */
/* OVERRIDES - Ensure no type-specific close button colors */
/* ============================================= */

.ksmb-notification-success .ksmb-notification-close i,
.ksmb-notification-success .ksmb-notification-close i::before,
.ksmb-notification-error .ksmb-notification-close i,
.ksmb-notification-error .ksmb-notification-close i::before,
.ksmb-notification-warning .ksmb-notification-close i,
.ksmb-notification-warning .ksmb-notification-close i::before,
.ksmb-notification-info .ksmb-notification-close i,
.ksmb-notification-info .ksmb-notification-close i::before {
    color: #94a3b8 !important;
}

.ksmb-notification-success .ksmb-notification-close:hover i,
.ksmb-notification-success .ksmb-notification-close:hover i::before,
.ksmb-notification-error .ksmb-notification-close:hover i,
.ksmb-notification-error .ksmb-notification-close:hover i::before,
.ksmb-notification-warning .ksmb-notification-close:hover i,
.ksmb-notification-warning .ksmb-notification-close:hover i::before,
.ksmb-notification-info .ksmb-notification-close:hover i,
.ksmb-notification-info .ksmb-notification-close:hover i::before {
    color: #475569 !important;
}

/* ============================================= */
/* ANIMATIONS */
/* ============================================= */

@keyframes ksmbNotificationSlideIn {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes ksmbNotificationSlideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.ksmb-notification-removing {
    animation: ksmbNotificationSlideOut 0.3s ease-in forwards;
    pointer-events: none;
}

/* ============================================= */
/* RESPONSIVE */
/* ============================================= */

@media (max-width: 767px) {
    .ksmb-notification-container {
        min-width: 280px;
        max-width: calc(100vw - 32px);
        width: calc(100vw - 32px);
    }
    
    .ksmb-notification-content {
        padding: 12px;
        gap: 10px;
    }
    
    .ksmb-notification-text {
        font-size: 13px;
    }
    
    .ksmb-notification-icon {
        width: 24px;
        height: 24px;
    }
    
    .ksmb-notification-close {
        width: 24px !important;
        height: 24px !important;
    }
}

/* Notification Animations */
@keyframes ksmbNotificationSlideIn {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes ksmbNotificationSlideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Skeleton shimmer animation */
@keyframes ksmbSkeletonPulse {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.ksmb-notification-removing {
    animation: ksmbNotificationSlideOut 0.3s ease-in forwards;
    pointer-events: none;
}

/* ================= MOBILE CUSTOM LAYOUT STYLES ================= */

/* Mobile cart row layouts - Image left, content right */
.ksmb-cart-row-top {
    display: flex;
    gap: 12px;
    width: 100%;
}

/* Image styling on left */
.ksmb-cart-row-top > .ksmb-cart-item-image,
.ksmb-cart-row-top > .ksmb-cart-item-image-placeholder {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Right side content container */
.ksmb-cart-right-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Name and trash wrapper - inline */
.ksmb-cart-name-trash-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.ksmb-cart-name-trash-wrapper .ksmb-cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ksmb-text-primary);
    margin: 0;
    flex: 1;
}

.ksmb-cart-name-trash-wrapper .ksmb-cart-item-remove {
    background: transparent;
    border: none;
    color: var(--ksmb-co-acc-danger-color, #ef4444);
    cursor: pointer;
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.ksmb-cart-name-trash-wrapper .ksmb-cart-item-remove:hover {
    background: #ef4444;
    color: white;
}

/* UOM styling */
.ksmb-cart-right-content .ksmb-cart-item-uom {
    font-size: 11px;
    color: var(--ksmb-co-acc-text-muted);
    text-align: left;
}

/* Price styling */
.ksmb-cart-right-content .ksmb-cart-item-price-col {
    text-align: left;
}

.ksmb-cart-right-content .ksmb-cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--ksmb-text-primary);
}

/* Divider between top and bottom sections */
.ksmb-cart-divider {
    height: 1px;
    background: var(--ksmb-co-acc-border-color, #eef2f6);
    width: 100%;
    margin: 8px 0;
}

/* Bottom row - Subtotal left, Quantity right */
.ksmb-cart-row-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.ksmb-cart-item-subtotal-col {
    text-align: left;
}

.ksmb-cart-item-subtotal {
    font-size: 14px;
    font-weight: 700;
    color: var(--ksmb-green);
}

.ksmb-cart-item-quantity-col {
    text-align: right;
}

.ksmb-cart-item-quantity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    padding: 0;
    justify-content: flex-end;
}

/* ================= SKELETON LOADER STYLES ================= */

.ksmb-cart-skeleton-container {
    padding: 10px;
}
    
.ksmb-cart-skeleton-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    gap: 15px;
    align-items: center;
    padding: 10px 10px;
    background: #ffffff;
    border-bottom: 1px solid #eef2f6;
}

/* Product column wrapper */
.ksmb-cart-skeleton-product {
    display: flex;
    gap: 15px;
    align-items: center;
}

.ksmb-cart-skeleton-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    animation: ksmbSkeletonPulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

.ksmb-cart-skeleton-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ksmb-cart-skeleton-line {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: ksmbSkeletonPulse 1.5s ease-in-out infinite;
}

.ksmb-cart-skeleton-line.name {
    width: 70%;
    height: 16px;
}

.ksmb-cart-skeleton-line.uom {
    width: 40%;
    height: 12px;
}

/* Quantity column - thick (matches input/buttons) */
.ksmb-cart-skeleton-line.quantity {
    width: 100px;
    height: 36px;
    border-radius: 8px;
    justify-self: center;
}

/* Price column - slim line */
.ksmb-cart-skeleton-line.price {
    width: 60%;
    height: 16px;
    justify-self: flex-end;
}

/* Subtotal column - slim line */
.ksmb-cart-skeleton-line.subtotal {
    width: 60%;
    height: 16px;
    justify-self: flex-end;
}

/* Trash column - small square */
.ksmb-cart-skeleton-line.trash {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    justify-self: center;
}

/* Remove bottom border from the last skeleton item */
.ksmb-cart-skeleton-item:last-child {
    border-bottom: none;
}

/* Skeleton content wrapper for desktop */
.ksmb-cart-skeleton-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ================= RESPONSIVE STYLES ================= */

/* Tablet */
@media (max-width: 1023px) {
    .ksmb-custom-header {
        width: 1300px;
        max-width: 100%;
        margin: 0 auto;
    }

    .ksmb-header-container { 
        padding: 0.75rem 1.5rem; 
    }
    
    .ksmb-header-logo { 
        max-height: 40px; 
    }
    
    .ksmb-logo-text { 
        font-size: 1rem; 
    }
    
    .ksmb-right-section { 
        gap: 1rem; 
    }
    
    /* Profile Panel - Tablet - Right aligned with slide animation */
    .ksmb-profile-panel { 
        width: 360px;
        position: absolute;
        top: 100%;
        right: 1.5rem;
        left: auto;
        background: var(--ksmb-bg-secondary);
        border-radius: 0 0 16px 16px;
        transform: translateY(-100%);
        transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        z-index: 1;
        border: 1px solid var(--ksmb-border-color);
        border-top: none;
        overflow: hidden;
        pointer-events: none;
    }
    
    .ksmb-profile-panel.active {
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* Mobile View */
@media (max-width: 767px) {
    /* Header */
    .ksmb-custom-header {
        width: 1300px;
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 99;
    }
    
    .ksmb-header-container {
        padding: 0.75rem 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .ksmb-header-logo {
        max-height: 35px;
    }
    
    .ksmb-logo-text {
        font-size: 14px;
    }
    
    .ksmb-right-section {
        gap: 0.75rem;
    }
    
    .ksmb-cart-total span.cart-amount { 
        display: none !important;
    }
    
    .ksmb-cart-total { 
        padding: 8px 12px;
        gap: 0;
    }
    
    .ksmb-cart-total i { 
        font-size: 18px;
        margin: 0;
    }
    
    .cart-badge {
        position: absolute;
        top: -6px;
        right: -6px;
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    .ksmb-profile-trigger {
        width: 38px;
        height: 38px;
    }
    
    /* Profile Panel - Mobile - Right aligned with slide animation */
    .ksmb-profile-panel {
        position: absolute;
        top: 100%;
        right: 1rem;
        left: auto;
        width: 380px;
        max-width: calc(100% - 2rem);
        background: var(--ksmb-bg-secondary);
        border-radius: 0 0 16px 16px;
        transform: translateY(-100%);
        transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        z-index: 1;
        border: 1px solid var(--ksmb-border-color);
        border-top: none;
        overflow: hidden;
        pointer-events: none;
    }

    .ksmb-profile-panel.active {
        transform: translateY(0);
        pointer-events: auto;
    }
    
    /* Ensure header content stays above panel on mobile */
    .ksmb-right-section,
    .ksmb-logo-section,
    .ksmb-cart-total {
        position: relative;
        z-index: 101;
        background: var(--ksmb-header-bg);
    }
    
    /* Cart Modal Mobile */
    .ksmb-cart-modal {
        padding: 10px;
        justify-content: center;
        align-items: center;
    }
    
    .ksmb-cart-modal-content {
        max-width: 95%;
        width: 100%;
        max-height: 85vh;
        border-radius: 16px;
    }
    
    /* Cart Body Scroll */
    .ksmb-cart-body-scroll {
        background: #F3F4F6
    }
    
    .ksmb-cart-modal-header { 
        padding: 15px 16px; 
    }
    
    .ksmb-cart-modal-header h3 { 
        font-size: 18px; 
    }
    
    /* Mobile Card Layout - Override desktop grid */
    .ksmb-cart-modal-item {
        display: flex !important;
        flex-direction: column;
        padding: 16px !important;
        margin: 12px !important;
        background: #ffffff !important;
        border: 1px solid #eef2f6 !important;
        border-radius: 16px !important;
        gap: 12px;
    }
    
    .ksmb-cart-right-content {
        gap: 1px !important;
    }

    /* Ensure image sizing on mobile */
    .ksmb-cart-row-top > .ksmb-cart-item-image,
    .ksmb-cart-row-top > .ksmb-cart-item-image-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .ksmb-cart-name-trash-wrapper .ksmb-cart-item-name {
        font-size: 13px;
    }
    
    .ksmb-cart-item-price {
        font-size: 13px !important;
    }
    
    .ksmb-cart-item-subtotal {
        font-size: 16px !important;
    }
    
    /* Quantity button sizes on mobile */
    .ksmb-cart-qty-decrease,
    .ksmb-cart-qty-increase {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .ksmb-cart-qty-input {
        width: 45px;
        height: 32px;
        font-size: 14px;
    }
    
    /* Mobile Footer */
    .ksmb-cart-modal-footer {
        padding: 16px !important;
        flex-direction: column;
    }
    
    .ksmb-cart-total-section {
        font-size: 16px;
        justify-content: center;
        width: 100%;
    }
    
    .ksmb-cart-modal-total {
        font-size: 20px;
    }
    
    .ksmb-cart-modal-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-left: 0 !important;
    }
    
    .ksmb-clear-cart-btn,
    .ksmb-checkout-btn {
        width: 100%;
    }
    
    /* Empty Cart Mobile */
    .ksmb-empty-cart-container {
        padding: 50px 20px;
    }
    
    .ksmb-empty-cart-icon {
        font-size: 60px;
    }
    
    .ksmb-empty-cart-text {
        font-size: 16px;
    }
    
    /* Skeletal Loading Mobile */
    .ksmb-cart-skeleton-container {
        padding: 10px;
    }

    .ksmb-cart-skeleton-item {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
        padding: 10px !important;
        margin: 12px !important;
        background: #ffffff !important;
        border: 1px solid #eef2f6 !important;
        border-radius: 16px !important;
    }
    
    /* Mobile top row: image + name/trash */
    .ksmb-cart-skeleton-mobile-row-top {
        display: flex;
        gap: 12px;
        width: 100%;
    }
    
    .ksmb-cart-skeleton-image {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }
    
    .ksmb-cart-skeleton-mobile-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    
    .ksmb-cart-skeleton-mobile-name-trash {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .ksmb-cart-skeleton-line.mobile-name {
        width: 60%;
        height: 16px;
    }
    
    .ksmb-cart-skeleton-line.mobile-trash {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }
    
    .ksmb-cart-skeleton-line.mobile-uom {
        width: 35%;
        height: 11px;
    }
    
    .ksmb-cart-skeleton-line.mobile-price {
        width: 30%;
        height: 14px;
    }
    
    /* Mobile divider */
    .ksmb-cart-skeleton-mobile-divider {
        height: 1px;
        background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        width: 100%;
        margin: 4px 0;
        animation: ksmbSkeletonPulse 1.5s ease-in-out infinite;
    }
    
    /* Mobile bottom row: subtotal + quantity */
    .ksmb-cart-skeleton-mobile-row-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .ksmb-cart-skeleton-line.mobile-subtotal {
        width: 80px;
        height: 16px;
    }
    
    .ksmb-cart-skeleton-line.mobile-quantity {
        width: 100px;
        height: 32px;
        border-radius: 8px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    /* Profile Panel - Small mobile - Right aligned */
    .ksmb-profile-panel {
        width: 320px;
        right: 1rem;
        left: auto;
    }
    
    /* Cart Modal Mobile */
    .ksmb-cart-modal {
        padding: 10px;
        justify-content: center;
        align-items: center;
    }
    
    .ksmb-cart-modal-item {
        background: #f9fafb;
    }
    
    /* Smaller images on small mobile */
    .ksmb-cart-row-top > .ksmb-cart-item-image,
    .ksmb-cart-row-top > .ksmb-cart-item-image-placeholder {
        width: 75px;
        height: 75px;
    }
    
    .ksmb-cart-right-content {
        gap: 1px !important;
    }
    
    .ksmb-cart-name-trash-wrapper .ksmb-cart-item-name {
        font-size: 12px;
    }
    
    /* Smaller quantity controls on small mobile */
    .ksmb-cart-qty-decrease,
    .ksmb-cart-qty-increase {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .ksmb-cart-qty-input {
        width: 40px;
        height: 28px;
        font-size: 13px;
    }
    
    .ksmb-cart-item-price {
        font-size: 12px !important;
        font-weight: 700 !important;
    }
    
    .ksmb-cart-item-subtotal {
        font-size: 16px !important;
    }
    
    .ksmb-cart-modal-total {
        font-size: 20px !important;
    }
    
    .ksmb-cart-name-trash-wrapper .ksmb-cart-item-remove {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    /* Skeletal Loading Mobile */
    .ksmb-cart-skeleton-container {
        padding: 10px;
    }
    
    .ksmb-cart-skeleton-item {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
        padding: 16px !important;
        margin: 12px !important;
        background: #ffffff !important;
        border: 1px solid #eef2f6 !important;
        border-radius: 16px !important;
    }
    
    /* Mobile top row: image + name/trash */
    .ksmb-cart-skeleton-mobile-row-top {
        display: flex;
        gap: 12px;
        width: 100%;
    }
    
    .ksmb-cart-skeleton-image {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }
    
    .ksmb-cart-skeleton-mobile-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    
    .ksmb-cart-skeleton-mobile-name-trash {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .ksmb-cart-skeleton-line.mobile-name {
        width: 60%;
        height: 16px;
    }
    
    .ksmb-cart-skeleton-line.mobile-trash {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }
    
    .ksmb-cart-skeleton-line.mobile-uom {
        width: 35%;
        height: 11px;
    }
    
    .ksmb-cart-skeleton-line.mobile-price {
        width: 30%;
        height: 14px;
    }
    
    /* Mobile divider */
    .ksmb-cart-skeleton-mobile-divider {
        height: 1px;
        background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        width: 100%;
        margin: 4px 0;
        animation: ksmbSkeletonPulse 1.5s ease-in-out infinite;
    }
    
    /* Mobile bottom row: subtotal + quantity */
    .ksmb-cart-skeleton-mobile-row-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .ksmb-cart-skeleton-line.mobile-subtotal {
        width: 80px;
        height: 16px;
    }
    
    .ksmb-cart-skeleton-line.mobile-quantity {
        width: 100px;
        height: 32px;
        border-radius: 8px;
    }
}

/* Prevent flash of unstyled cart content during loading */
.ksmb-cart-body-scroll.ksmb-loading .ksmb-cart-skeleton-container {
    display: block;
}

.ksmb-cart-body-scroll.ksmb-loading > :not(.ksmb-cart-skeleton-container) {
    display: none;
}

/* ================= OUT OF STOCK OVERLAY & BANNER STYLES ================= */

/* Out of Stock Cart Item */
.ksmb-cart-modal-item.ksmb-out-of-stock {
    position: relative;
    overflow: hidden;
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}

.ksmb-cart-modal-item.ksmb-out-of-stock:hover {
    background: #fef2f2 !important;
}

/* Out of Stock Overlay - Light dark overlay */
.ksmb-out-of-stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 5;
    pointer-events: none;
}

/* Out of Stock Banner */
.ksmb-out-of-stock-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: #ef4444;
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    animation: ksmbBannerPulse 1.5s ease-in-out infinite;
}

.ksmb-out-of-stock-banner i {
    margin-right: 5px;
    font-size: 10px;
}

/* Banner animation */
/*@keyframes ksmbBannerPulse {*/
/*    0%, 100% {*/
/*        transform: translate(-50%, -50%) rotate(-15deg) scale(1);*/
/*    }*/
/*    50% {*/
/*        transform: translate(-50%, -50%) rotate(-15deg) scale(1.05);*/
/*    }*/
/*}*/

/* Ensure buttons are still clickable through overlay? No - keep disabled */
.ksmb-cart-modal-item.ksmb-out-of-stock .ksmb-cart-qty-decrease,
.ksmb-cart-modal-item.ksmb-out-of-stock .ksmb-cart-qty-increase,
.ksmb-cart-modal-item.ksmb-out-of-stock .ksmb-cart-qty-input {
    pointer-events: none;
}

/* But remove button should remain clickable */
.ksmb-cart-modal-item.ksmb-out-of-stock .ksmb-cart-item-remove {
    pointer-events: auto !important;
    position: relative;
    z-index: 15;
}

/* Disabled quantity input styling for out of stock items */
.ksmb-cart-modal-item.ksmb-out-of-stock .ksmb-cart-qty-input {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

.ksmb-cart-modal-item.ksmb-out-of-stock .ksmb-cart-qty-decrease,
.ksmb-cart-modal-item.ksmb-out-of-stock .ksmb-cart-qty-increase {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.ksmb-cart-modal-item.ksmb-out-of-stock .ksmb-cart-qty-decrease:hover,
.ksmb-cart-modal-item.ksmb-out-of-stock .ksmb-cart-qty-increase:hover {
    background: #f3f4f6;
    color: #9ca3af;
    border-color: var(--ksmb-co-acc-border-color);
}

/* Mobile adjustments for out of stock banner */
@media (max-width: 767px) {
    .ksmb-out-of-stock-banner {
        padding: 6px 16px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    .ksmb-out-of-stock-banner i {
        font-size: 12px;
        margin-right: 6px;
    }
}

@media (max-width: 480px) {
    .ksmb-out-of-stock-banner {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    .ksmb-out-of-stock-banner i {
        font-size: 12px;
        margin-right: 4px;
    }
}

/* Ensure account page uses the exact same notification styles as header */
.ksmb-account-page .ksmb-notification-container,
.ksmb-account-page .ksmb-notification,
.ksmb-account-page .ksmb-notification-content,
.ksmb-account-page .ksmb-notification-icon,
.ksmb-account-page .ksmb-notification-text,
.ksmb-account-page .ksmb-notification-close {
    /* Let the header's CSS handle everything */
    all: revert;
}

/* Remove any account-specific overrides */
.ksmb-account-page .ksmb-notification-container {
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-e73bc28 */.elementor-160789 .elementor-element.elementor-element-e73bc28 {
    border-bottom: 1px solid var(--border-light);
    z-index: 105 !important;
}/* End custom CSS */