/* assets/ecommerce.css - Minimalist E-Commerce Styles */

/* 1. Slide-out Drawer Cart */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}
.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer-modal {
    position: fixed;
    top: 0;
    right: -480px;
    width: 440px;
    max-width: 90vw;
    height: 100vh;
    background: #ffffff;
    color: #1a1a1a;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.cart-drawer-modal.active {
    right: 0;
}

.cart-drawer-header {
    padding: 20px 24px;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-drawer-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}
.cart-drawer-close {
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    color: #333;
    transition: transform 0.2s;
}
.cart-drawer-close:hover {
    transform: scale(1.1);
}

/* Shipping Notice */
.cart-shipping-bar {
    background: #f8f9fa;
    padding: 12px 24px;
    border-bottom: 1px solid #eeeeee;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-align: center;
    color: #222;
}
.cart-shipping-progress {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}
.cart-shipping-fill {
    height: 100%;
    background: #000000;
    transition: width 0.3s ease;
}

/* Items List */
.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}
.cart-drawer-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}
.cart-item-img {
    width: 76px;
    height: 95px;
    object-fit: cover;
    background: #f5f5f5;
    border-radius: 2px;
    flex-shrink: 0;
}
.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}
.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart-qty-picker {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cccccc;
    border-radius: 2px;
    overflow: hidden;
}
.cart-qty-btn {
    background: #fdfdfd;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.cart-qty-btn:hover {
    background: #eaeaea;
}
.cart-qty-val {
    width: 32px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}
.cart-item-remove {
    background: none;
    border: none;
    color: #888888;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}
.cart-item-remove:hover {
    color: #d93025;
}

/* Empty State */
.cart-empty-box {
    text-align: center;
    padding: 60px 20px;
}
.cart-empty-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}
.cart-empty-sub {
    font-size: 13px;
    color: #777;
    margin-bottom: 24px;
}

/* Footer / Checkout */
.cart-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid #eeeeee;
    background: #ffffff;
}
/* Cart Drawer Coupon Section */
.cart-drawer-coupon {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.drawer-coupon-form {
    display: flex;
    gap: 8px;
}
.drawer-coupon-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #d2d2d2;
    border-radius: 2px;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.drawer-coupon-input:focus {
    border-color: #000000;
}
.drawer-coupon-btn {
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 2px;
    padding: 0 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}
.drawer-coupon-btn:hover {
    background: #333333;
}
.drawer-coupon-btn:disabled {
    background: #888888;
    cursor: not-allowed;
}
.drawer-coupon-msg {
    font-size: 12px;
    margin-top: 6px;
    display: none;
}
.drawer-applied-coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e8f4ec;
    border: 1px solid #c2e2cc;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 12px;
    color: #0e623b;
    font-weight: 500;
}
.drawer-remove-coupon-btn {
    background: none;
    border: none;
    color: #0e623b;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    padding: 0 2px;
}
.drawer-remove-coupon-btn:hover {
    color: #c53030;
}
.cart-footer-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}
.cart-footer-tax {
    font-size: 11px;
    color: #777;
    margin-bottom: 16px;
}
.cart-checkout-btn {
    display: block;
    width: 100%;
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s;
    box-sizing: border-box;
}
.cart-checkout-btn:hover {
    background: #333333;
    color: #ffffff;
}
.cart-view-link {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #555;
    text-decoration: underline;
    margin-top: 12px;
}

/* Toast Notifications */
.ecom-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #111111;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 4px;
    font-size: 13px;
    letter-spacing: 0.5px;
    z-index: 1000000;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.ecom-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Enable all action buttons that might have been disabled */
button[name="add"], .add-to-cart, #gokwik-buy-now, .gokwik-checkout button {
    opacity: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* Hide any residual tracker iframes */
#clevertap-frame, iframe[src*="/a/s/"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Hide Cookie & Privacy Popups */
pandectes-cmp,
#pandectes-banner,
.pandectes-banner,
.pandectes-rules,
[id*="pandectes"],
[class*="pandectes"],
[id*="cookie-banner"],
[class*="cookie-banner"],
[id*="cookieConsent"],
[class*="cookieConsent"],
#shopify-section-popups,
.cookie-bar,
.cookie-notice {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Hide Web Push Notification & Marketing Popups */
#wzrk-confirm,
#wzrk-wrapper,
.wzrk-alert,
.wzrk-overlay-bg,
[id*="wzrk"],
[class*="wzrk"],
.sotp-popup,
.sotp-popup-overlay,
#sotp-popup-container,
.purands-notif-popup,
.purands-popup,
#purands-chat {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Hide External Broken Side-Carts & Loaders & Duplicate Drawers */
#side-cart,
.side-cart,
#gokwik-side-cart,
.gokwik-side-cart,
gokwik-side-cart,
shadow-dom-container,
[id*="kwikcart"],
[class*="kwikcart"],
[data-gokwik-cart],
.gokwik-loading-wrapper,
.addloadr,
.cir-loader,
#site-cart-sidebar,
#site-cart-sidebar-sticky {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    z-index: -1 !important;
}

/* Filter & Sort Enhancements */
.facet-checkbox {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    user-select: none;
    font-size: 14px;
    color: #222;
}
/* ==========================================================================
   E-Commerce Sort & Filter Modern Minimalist Styling
   ========================================================================== */

/* 1. Sort by Dropdown */
.collection-filters__field {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
}
.collection-filters__label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}
.collection-filters__item.sorting .select {
    position: relative !important;
    display: inline-block !important;
}
.collection-filters__sort,
select.select__select,
#desktop-SortBy,
#mobile-SortBy,
.ecom-sort-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23111111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 12px) center !important;
    background-size: 10px 6px !important;
    padding: 8px 34px 8px 12px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-family: inherit !important;
    font-weight: 500 !important;
    color: #111111 !important;
    cursor: pointer !important;
    outline: none !important;
    line-height: 1.4 !important;
    min-width: 170px !important;
    max-width: 100% !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.collection-filters__sort:hover,
select.select__select:hover,
#desktop-SortBy:hover,
#mobile-SortBy:hover,
.ecom-sort-select:hover {
    border-color: #111111 !important;
}
.collection-filters__sort:focus,
select.select__select:focus,
#desktop-SortBy:focus,
#mobile-SortBy:focus,
.ecom-sort-select:focus {
    border-color: #111111 !important;
    box-shadow: 0 0 0 1px #111111 !important;
}

/* 2. Filter Checkbox Items */
.facets__form--vertical .facets__item label.facet-checkbox,
label.facet-checkbox,
.ecom-facet-label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    position: relative !important;
    cursor: pointer !important;
    user-select: none !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #333333 !important;
    padding: 6px 0 !important;
    line-height: 1.4 !important;
    transition: color 0.15s ease !important;
}
.facets__form--vertical .facets__item label.facet-checkbox:hover,
label.facet-checkbox:hover,
.ecom-facet-label:hover {
    color: #000000 !important;
}
.facet-checkbox input.styled-checkbox,
.facets__item input[type="checkbox"],
.ecom-facet-label input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    position: relative !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    border: 1.5px solid #cccccc !important;
    border-radius: 3px !important;
    background-color: #ffffff !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    outline: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: border-color 0.15s ease, background-color 0.15s ease !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}
.facet-checkbox input.styled-checkbox:hover,
.facets__item input[type="checkbox"]:hover,
.ecom-facet-label input[type="checkbox"]:hover {
    border-color: #000000 !important;
}
.facet-checkbox input.styled-checkbox:checked,
.facets__item input[type="checkbox"]:checked,
.ecom-facet-label input[type="checkbox"]:checked {
    background-color: #111111 !important;
    border-color: #111111 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1.5 5.2L4.2 8L10.5 1.5' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 11px 9px !important;
}

/* Suppress all rogue pseudo-elements from bleeding onto label text */
.facet-checkbox:after,
.facet-checkbox:before,
label.facet-checkbox:after,
label.facet-checkbox:before,
.ecom-facet-label:after,
.ecom-facet-label:before,
.styled-checkbox:after,
.styled-checkbox:before,
input[type="checkbox"].styled-checkbox:after,
input[type="checkbox"].styled-checkbox:before {
    display: none !important;
    content: none !important;
    clip-path: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* 3. Filter Section Headers */
.facets__summary-text,
.ecom-facet-title {
    cursor: pointer !important;
    user-select: none !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #111111 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 10px !important;
    margin-top: 14px !important;
    letter-spacing: 0.3px !important;
}
.show-more_toggler,
.ecom-show-more-btn {
    cursor: pointer !important;
    color: #111111 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    text-decoration: underline !important;
    margin-top: 8px !important;
    display: inline-block !important;
}
#site-filters-sidebar.sidebar--opened,
#site-filters-sidebar.active {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 320px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    background: #fff !important;
    z-index: 999999 !important;
    box-shadow: -4px 0 20px rgba(0,0,0,0.2) !important;
    overflow-y: auto !important;
    padding: 20px !important;
}

/* Product and Banner Filter Visibility Control */
.product-item.ecom-hidden,
.col_center_banner.ecom-hidden,
[data-js-product-item].ecom-hidden,
.grid__item.ecom-hidden {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}



