/* ==========================================
   1. BASE & ANIMATIONS
   ========================================== */
@keyframes saFadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes saPulse { 0% { transform: scale(1); } 50% { transform: scale(1.02); } 100% { transform: scale(1); } }
@keyframes sa-spin { to { transform: rotate(360deg); } }

.sa-animate-card { animation: saFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.sa-btn-pulse { animation: saPulse 0.4s ease; }
.sa-loader { display:inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: sa-spin 1s ease-in-out infinite; margin-right:5px; }

/* Added to Cart Color Override */
.sa-wrapper .added-to-cart, .sa-pc-wrapper .added-to-cart, .sa-pc-btn.added-to-cart { background-color: #10b981 !important; color: #fff !important; border-color: #059669 !important; }
.sa-pc-btn.added-to-cart svg { stroke: #fff !important; }

/* ==========================================
   2. LAYOUT WRAPPERS (Bulletproof Structure)
   ========================================== */
.sa-pc-wrapper, .sa-wrapper { font-family: 'Anek Bangla', sans-serif !important; max-width: 100% !important; margin: 0 auto !important; box-sizing: border-box !important; color: #333 !important; }
.sa-wrapper *, .sa-pc-wrapper * { box-sizing: border-box !important; }
.sa-row { display: flex !important; flex-wrap: wrap !important; gap: 20px !important; align-items: flex-start !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }

.sa-col-left { flex: 1.5 !important; min-width: 300px !important; border: 1px solid #eaeaea !important; border-radius: 8px !important; padding: 20px !important; background: #fff !important; box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important; box-sizing: border-box !important; display: block !important; width: auto !important; }
.sa-col-right { flex: 1 !important; min-width: 300px !important; border: 1px solid #eaeaea !important; border-radius: 8px !important; padding: 20px !important; background: #fff !important; position: sticky !important; top: 20px !important; box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important; box-sizing: border-box !important; display: block !important; width: auto !important; }
.sa-heading { font-size: 18px !important; font-weight: 700 !important; margin-bottom: 10px !important; margin-top: 5px !important; color: #222 !important; display: block !important; }

/* ==========================================
   3. CATEGORY GRID & CARDS
   ========================================== */
.sa-pc-grid { display: grid !important; gap: 15px !important; margin-bottom: 30px !important; width: 100% !important; }
.sa-pc-card-hz { background: #fff !important; border: 1px solid #eaeaea !important; border-radius: 10px !important; box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important; margin-bottom: 15px !important; display: flex !important; transition: all 0.3s ease !important; width: 100% !important; box-sizing: border-box !important;}
.sa-pc-card-hz:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 25px rgba(0,0,0,0.06) !important; border-color: #cbd5e1 !important; }

/* Vertical Card Layout */
.sa-card-layout-vertical { flex-direction: column !important; align-items: center !important; text-align: center !important; padding: 0 !important; gap: 0 !important; overflow: visible !important; }
.sa-card-layout-vertical .sa-pc-card-hz-img-wrap { position: relative !important; width: 100% !important; aspect-ratio: 1 / 1 !important; text-align: center !important; overflow: hidden !important; border-radius: 10px 10px 0 0 !important; display: block !important; background: #f8fafc !important; border-bottom: 1px solid #f1f5f9 !important; }
.sa-card-layout-vertical img { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 10px 10px 0 0 !important; transition: transform 0.5s ease !important; display: block !important; margin: 0 !important; }
.sa-pc-card-hz:hover img { transform: scale(1.05) !important; }

.sa-card-layout-vertical .sa-pc-card-hz-content { position: relative !important; padding: 18px 15px 20px 15px !important; width: 100% !important; box-sizing: border-box !important; overflow: visible !important; }
.sa-card-layout-vertical .sa-pc-btn-wrap { justify-content: center !important; width: 100% !important; margin-top: 15px !important; display: flex !important; }

/* Horizontal Card Layout */
.sa-card-layout-horizontal { flex-direction: row !important; align-items: center !important; text-align: left !important; padding: 15px !important; gap: 15px !important; }
.sa-card-layout-horizontal .sa-pc-card-hz-img-wrap { position: relative !important; width: 80px !important; height: 80px !important; flex-shrink: 0 !important; overflow: hidden !important; border-radius: 6px !important; display: block !important; }
.sa-card-layout-horizontal img { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 6px !important; border: 1px solid #f1f1f1 !important; }
.sa-card-layout-horizontal .sa-pc-card-hz-content { position: relative !important; justify-content: center !important; overflow: visible !important; }
.sa-card-layout-horizontal .sa-pc-btn-wrap { margin-left: auto !important; margin-top: 0 !important; display: flex !important; }

.sa-pc-card-hz-content { width: 100% !important; display: flex !important; flex-direction: column !important; position: relative !important; overflow: visible !important; }
.sa-pc-card-hz-title { font-size: 16px !important; font-weight: 600 !important; color: #333 !important; margin: 0 0 4px 0 !important; line-height: 1.3 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; text-overflow: ellipsis !important; }
.sa-pc-card-hz-price { font-size: 18px !important; color: #f97316 !important; margin: 0 !important; font-weight: bold !important; display: flex !important; align-items: center !important; }
.sa-card-layout-vertical .sa-pc-card-hz-price { justify-content: center !important; width: 100% !important; }
.sa-card-layout-horizontal .sa-pc-card-hz-price { justify-content: flex-start !important; }

/* Discount Badge Styling */
.sa-discount-badge { position: absolute !important; top: 0 !important; left: 50% !important; transform: translate(-50%, -50%) !important; background: #ef4444 !important; background-color: #ef4444 !important; color: #ffffff !important; padding: 4px 12px !important; border-radius: 50px !important; font-size: 12px !important; font-weight: 800 !important; z-index: 20 !important; line-height: 1 !important; box-shadow: none !important; white-space: nowrap !important; letter-spacing: 0.5px !important; border: none !important; margin: 0 !important; display: inline-block !important; width: auto !important; height: auto !important; text-transform: none !important; }
.sa-card-layout-horizontal .sa-discount-badge { display: none !important; }

/* Image Gallery Hint Badge */
.sa-gallery-hint { position: absolute !important; top: 8px !important; left: 50% !important; transform: translateX(-50%) !important; background: rgba(15, 23, 42, 0.65) !important; color: #fff !important; font-size: 11px !important; padding: 4px 10px !important; border-radius: 30px !important; display: flex !important; align-items: center !important; gap: 4px !important; pointer-events: none !important; backdrop-filter: blur(4px) !important; z-index: 5 !important; font-weight: 600 !important; letter-spacing: 0.5px !important; white-space: nowrap !important; transition: 0.3s !important; border: 1px solid rgba(255,255,255,0.1) !important; bottom: auto !important; }
.sa-card-layout-horizontal .sa-gallery-hint { display: none !important; }
.sa-pc-card-hz:hover .sa-gallery-hint { background: rgba(15, 23, 42, 0.85) !important; }

/* ==========================================
   4. BUTTONS & QUANTITY CONTROLS
   ========================================== */
.sa-pc-btn-wrap { display: flex !important; align-items: center !important; }
.sa-col-left .sa-pc-btn-wrap { margin-left: auto !important; }

.sa-pc-btn { background: #f97316; color: #fff !important; border: none !important; outline: none !important; border-radius: 50px !important; padding: 8px 18px !important; font-size: 15px !important; font-weight: 600 !important; cursor: pointer !important; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 5px !important; font-family: inherit !important; position:relative !important; overflow:hidden !important; box-shadow: none !important; white-space: nowrap !important; }
.sa-col-left .sa-pc-btn { border-radius: 50px !important; padding: 8px 18px !important; font-size: 14px !important; }
.sa-pc-btn:not(:disabled):hover { opacity: 0.9 !important; transform: translateY(-2px) !important; box-shadow: 0 4px 12px rgba(249,115,22,0.2) !important; }
.sa-pc-btn:not(:disabled):active { transform: scale(0.92) translateY(0) !important; box-shadow: 0 1px 3px rgba(249,115,22,0.1) !important; }
.sa-pc-btn.hidden { display: none !important; }

.sa-qty-ctrl { display: none !important; align-items: center !important; background: #f8f9fa !important; border: 1px solid #eaeaea !important; border-radius: 50px !important; padding: 4px !important; font-size: 16px !important; font-weight: 600 !important; width: 110px !important; justify-content: space-between !important; transition: all 0.3s ease !important; flex-shrink: 0 !important; }
.sa-col-left .sa-qty-ctrl { padding: 4px !important; font-size: 15px !important; width: 110px !important; border-radius: 50px !important; }
.sa-qty-ctrl.active { display: inline-flex !important; animation: saFadeInUp 0.3s ease forwards !important; }

.sa-qty-btn { background: #f97316; border: none !important; color: #fff !important; width: 28px !important; height: 28px !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important; font-size: 20px !important; font-weight: bold !important; line-height: 1 !important; padding: 0 !important; box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important; transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important; flex-shrink: 0 !important; }
.sa-col-left .sa-qty-btn { width: 26px !important; height: 26px !important; font-size: 18px !important; }
.sa-qty-btn:hover { transform: scale(1.1) !important; }
.sa-qty-btn:active { transform: scale(0.85) !important; }
.sa-qty-val { padding: 0 !important; flex: 1 !important; text-align: center !important; color: #333 !important; font-size: 17px !important; display: block !important; }
.sa-col-left .sa-qty-val { font-size: 15px !important; }

/* Main submit button inside form */
.sa-main-submit-btn { display: block !important; width: 100% !important; padding: 14px !important; background-color: #f97316; color: #fff !important; text-align: center !important; font-size: 18px !important; font-weight: 700 !important; border: none !important; outline: none !important; border-radius: 50px !important; cursor: pointer !important; margin-top: 15px !important; font-family: inherit !important; transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important; position: relative !important; overflow: hidden !important; box-shadow: none !important; white-space: nowrap !important; }
.sa-main-submit-btn:not(:disabled):hover { opacity: 0.9 !important; transform: translateY(-2px) !important; box-shadow: 0 6px 15px rgba(249,115,22,0.3) !important; }
.sa-main-submit-btn:not(:disabled):active { transform: scale(0.96) translateY(0) !important; box-shadow: 0 2px 5px rgba(249,115,22,0.2) !important; }
.sa-main-submit-btn:disabled { opacity: 0.5 !important; cursor: not-allowed !important; }

/* Modal Submit Wrap for Sticky Bottom inside Form */
.sa-checkout-modal .sa-main-submit-wrap {
    position: sticky !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #fff !important;
    padding: 12px 20px !important;
    border-top: 1px solid #eaeaea !important;
    z-index: 100 !important;
    border-radius: 0 0 12px 12px !important; 
    box-sizing: border-box !important;
    margin-top: 10px !important;
}
.sa-checkout-modal.layout-bottom_sheet .sa-main-submit-wrap {
    border-radius: 0 !important;
    padding-bottom: max(12px, env(safe-area-inset-bottom)) !important;
}
/* Adjusted Submit Button for Modals */
.sa-checkout-modal .sa-main-submit-btn {
    padding: 12px !important; 
    font-size: 16px !important;
    box-shadow: none !important; 
    border-radius: 8px !important;
    border: none !important;
    outline: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important; 
    width: 100% !important;
}
.sa-checkout-modal .sa-main-submit-btn:hover {
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.9 !important;
}

/* ==========================================
   5. HERO PRODUCT & VARIATIONS
   ========================================== */
.sa-pc-single-layout { margin-bottom: 10px !important; display: block !important; width: 100% !important;}

.sa-pc-single-layout .sa-pc-card-hz { padding: 12px !important; gap: 15px !important; border-radius: 8px !important; box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important; flex-wrap: wrap !important; align-items: center !important; }
.sa-pc-single-layout .sa-pc-card-hz-img { position: relative !important; width: 70px !important; height: 70px !important; flex-shrink: 0 !important; display:flex !important; align-items:center !important; justify-content:center !important; overflow: hidden !important; border-radius: 6px !important;}
.sa-pc-single-layout .sa-pc-card-hz-img img { max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; border-radius: 6px !important; transition: transform 0.4s ease !important;}
.sa-pc-single-layout .sa-pc-card-hz:hover .sa-pc-card-hz-img img { transform: scale(1.08) !important; }
.sa-pc-single-layout .sa-gallery-hint { top: 6px !important; bottom: auto !important; font-size: 9px !important; padding: 2px 6px !important; }

.sa-pc-single-layout .sa-pc-card-hz-content { flex: 1 1 0% !important; width: auto !important; min-width: 0 !important; justify-content: center !important; }
.sa-pc-single-layout .sa-pc-btn-wrap { margin-left: auto !important; flex: 0 0 auto !important; }

.sa-hero-var-grid { flex: 0 0 100% !important; display: flex !important; flex-wrap: wrap !important; gap: 10px !important; margin: 12px 0 0 0 !important; width: 100% !important; }
.sa-hero-var-box { border: 1px solid #cbd5e1 !important; border-radius: 6px !important; overflow: hidden !important; cursor: pointer !important; transition: all 0.2s ease !important; background: #fff !important; display: flex !important; position: relative !important; align-items: center !important; }
.sa-hero-var-box:hover { border-color: #f97316 !important; transform: translateY(-2px) !important; }
.sa-hero-var-box:active { transform: scale(0.95) !important; }
.sa-hero-var-box.selected { border-color: #f97316 !important; box-shadow: 0 0 0 1px #f97316 !important; background: #fffaf5 !important; }
.sa-hero-var-img img { max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; mix-blend-mode: multiply !important; }
.sa-hero-var-title { font-weight: 600 !important; color: #334155 !important; line-height: 1.2 !important; word-break: break-word !important; font-size: 14px !important; }

/* Vertical Hero Var Layout */
.sa-hero-var-grid.layout-vertical .sa-hero-var-box { flex: 1 !important; min-width: 70px !important; max-width: 100px !important; flex-direction: column !important; justify-content: center !important; }
.sa-hero-var-grid.layout-vertical .sa-hero-var-img { width: 100% !important; aspect-ratio: 1/1 !important; display: flex !important; align-items: center !important; justify-content: center !important; background: #f8fafc !important; border-bottom: 1px solid #eaeaea !important; padding: 4px !important; overflow:hidden !important;}
.sa-hero-var-grid.layout-vertical .sa-hero-var-title { font-size: 13px !important; padding: 6px !important; text-align: center !important; width: 100% !important; display: block !important; }
.sa-hero-var-grid.layout-vertical .sa-hero-var-box.no-img .sa-hero-var-title { padding: 12px 8px !important; font-size: 14px !important; }

/* Horizontal Hero Var Layout */
.sa-hero-var-grid.layout-horizontal { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; }
.sa-hero-var-grid.layout-horizontal .sa-hero-var-box { flex-direction: row !important; justify-content: flex-start !important; padding: 6px 10px !important; max-width: 100% !important; width: 100% !important; }
.sa-hero-var-grid.layout-horizontal .sa-hero-var-img { width: 32px !important; height: 32px !important; flex-shrink: 0 !important; margin-right: 10px !important; display: flex !important; align-items: center !important; justify-content: center !important; background: transparent !important; border-bottom: none !important; border-radius: 4px !important; padding: 0 !important; }
.sa-hero-var-grid.layout-horizontal .sa-hero-var-title { font-size: 14px !important; text-align: left !important; padding: 0 !important; display: block !important; }

/* ==========================================
   6. RECOMMENDED PRODUCTS
   ========================================== */
.sa-rec-grid { display: grid !important; grid-template-columns: repeat(6, 1fr) !important; gap: 8px !important; margin-bottom: 10px !important; width: 100% !important; }
@media (min-width: 769px) { .sa-rec-grid-right { grid-template-columns: repeat(3, 1fr) !important; margin-top: 20px !important; } }
.sa-rec-card { border: 1px solid #eaeaea !important; border-radius: 8px !important; padding: 8px 6px !important; text-align: center !important; background: #fff !important; display: flex !important; flex-direction: column !important; justify-content: space-between !important; box-shadow: 0 1px 4px rgba(0,0,0,0.02) !important; transition: all 0.3s ease !important; box-sizing: border-box !important;}
.sa-rec-card:hover { border-color: #cbd5e1 !important; transform: translateY(-3px) !important; box-shadow: 0 6px 15px rgba(0,0,0,0.04) !important; }
.sa-rec-img-wrap { position: relative !important; width: 100% !important; aspect-ratio: 1/1 !important; display:flex !important; align-items:center !important; justify-content:center !important; overflow: hidden !important; margin-bottom: 6px !important; background: transparent !important;}
.sa-rec-img { max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; transition: transform 0.4s ease !important; }
.sa-rec-card:hover .sa-rec-img { transform: scale(1.1) !important; }
.sa-rec-title { font-size: 13px !important; font-weight: 600 !important; margin: 0 0 4px !important; color: #333 !important; line-height: 1.3 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
.sa-rec-price { font-size: 14px !important; font-weight: 700 !important; color: #f97316 !important; margin-bottom: 8px !important; display: flex !important; align-items: center !important; justify-content: center !important; text-align: center !important; }

.sa-rec-btn-wrap { display: flex !important; justify-content: center !important; width: 100% !important; height: 30px !important; align-items: center !important; box-sizing: border-box !important; }

.sa-rec-add-btn { padding: 4px 8px !important; font-size: 12px !important; height: 100% !important; width: 100% !important; justify-content: center !important; border-radius: 50px !important; background: rgba(249, 115, 22, 0.1) !important; color: #f97316 !important; border: 1px solid rgba(249, 115, 22, 0.3) !important; outline: none !important; box-shadow:none !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; box-sizing: border-box !important; margin: 0 !important; }
.sa-rec-add-btn span { white-space: nowrap !important; }
.sa-rec-add-btn svg { stroke: #f97316 !important; width: 10px !important; height: 10px !important; flex-shrink: 0 !important; }
.sa-rec-add-btn:not(.added-to-cart):hover { background: rgba(249, 115, 22, 0.2) !important; transform: translateY(-2px) !important; }
.sa-rec-add-btn:active { transform: scale(0.92) translateY(0) !important; }

.sa-rec-card .sa-qty-ctrl { height: 100% !important; padding: 2px !important; border-radius: 50px !important; width: 100% !important; justify-content: space-between !important; box-sizing: border-box !important; margin: 0 !important; }
.sa-rec-card .sa-qty-btn { width: 24px !important; height: 24px !important; font-size: 15px !important; }
.sa-rec-card .sa-qty-val { font-size: 14px !important; }

/* ==========================================
   7. FORM INPUTS & DELIVERY OPTIONS
   ========================================== */
.sa-input-group { margin-bottom: 8px !important; display: block !important; width: 100% !important; }
.sa-input-group:last-child { margin-bottom: 0 !important; }
.sa-input { width: 100% !important; padding: 12px 15px !important; border: 1px solid #eaeaea !important; border-radius: 8px !important; font-size: 15px !important; background: #fafafa !important; font-family: inherit !important; transition: 0.3s !important; box-sizing: border-box !important; color: #333 !important; }
.sa-input:focus { outline: none !important; border-color: #f97316 !important; background: #fff !important; box-shadow: 0 0 0 3px rgba(249,115,22,0.1) !important; }
textarea.sa-input { resize: none !important; height: 55px !important; min-height: 55px !important; }

.sa-delivery-box { border: 1px solid #ddd !important; padding: 12px 15px !important; border-radius: 8px !important; margin-bottom: 8px !important; cursor: pointer !important; display: flex !important; align-items: center !important; transition: all 0.3s ease !important; background: #fff !important; width: 100% !important; box-sizing: border-box !important; }
.sa-delivery-box:hover { border-color: #cbd5e1 !important; transform: translateY(-1px) !important; }
.sa-delivery-box:active { transform: scale(0.98) !important; }
.sa-delivery-box.active { border-color: #f97316 !important; background: #fffaf5 !important; transform: translateY(-2px) !important; box-shadow: 0 4px 10px rgba(249,115,22,0.1) !important; }
.sa-delivery-icon { width: 32px !important; height: 32px !important; border-radius: 50% !important; background: #f97316 !important; display: flex !important; align-items: center !important; justify-content: center !important; margin-right: 12px !important; transition: all 0.3s ease !important; flex-shrink: 0 !important;}
.sa-delivery-box:not(.active) .sa-delivery-icon { background: #f1f1f1 !important; }
.sa-delivery-box.active .sa-delivery-icon svg { fill: #fff !important; }
.sa-delivery-box:not(.active) .sa-delivery-icon svg { fill: #666 !important; }
.sa-delivery-icon svg { width: 16px !important; display: block !important; }

.sa-delivery-text { flex: 1 !important; display: block !important; text-align: left !important;}
.sa-delivery-text strong { display: block !important; font-size: 15px !important; color: #f97316 !important; font-weight: 600 !important; margin-bottom: 2px !important; }
.sa-delivery-box:not(.active) .sa-delivery-text strong { color: #333 !important; }
.sa-delivery-text span { font-size: 13px !important; color: #666 !important; display: inline-block !important; line-height: 1.4 !important; }
.sa-radio-input { display: none !important; }

/* ==========================================
   8. ORDER SUMMARY TABLE
   ========================================== */
.sa-table { width: 100% !important; border-collapse: collapse !important; border: none !important; margin: 0 !important; background: transparent !important;}
.sa-table tbody, .sa-table thead, .sa-table tfoot, .sa-table tr { border: none !important; background: transparent !important; outline: none !important; box-shadow: none !important; }
.sa-table th, .sa-table td { padding: 10px 0 !important; text-align: left !important; background: transparent !important; border-left: none !important; border-right: none !important;}
.sa-table th { font-weight: 700 !important; font-size: 15px !important; border-bottom: 1px dashed #ddd !important; border-top: none !important; color: #111 !important;}
.sa-table td { font-size: 14px !important; color: #444 !important; border-bottom: 1px dashed #ddd !important; transition: all 0.3s ease !important; border-top: none !important;}
.sa-table td:last-child, .sa-table th:last-child { text-align: right !important; }
.sa-prod-td { display: flex !important; align-items: center !important; gap: 8px !important; animation: saFadeInUp 0.4s ease forwards !important; border-bottom: none !important;}

/* Premium Circular Delete 'X' Button styling */
.sa-remove-item { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 22px !important; height: 22px !important; border: 1.5px solid #ef4444 !important; border-radius: 50% !important; color: #ef4444 !important; font-size: 12px !important; font-weight: bold !important; cursor: pointer !important; transition: all 0.3s ease !important; background: #fff !important; line-height: 1 !important; margin-right: 8px !important; flex-shrink: 0 !important; }
.sa-remove-item:hover { background: #fef2f2 !important; color: #dc2626 !important; border-color: #dc2626 !important; transform: scale(1.1) !important; }
.sa-remove-item:active { transform: scale(0.9) !important; }

.sa-prod-td img { width: 35px !important; height: 35px !important; border-radius: 6px !important; object-fit: cover !important; display: block !important; }
.sa-total-row td { border-bottom: none !important; font-size: 18px !important; font-weight: 700 !important; color: #000 !important; padding-top: 15px !important; }
#sa-dynamic-cart-items tr td { padding: 8px 0 !important; }

/* ==========================================
   8.1. CHECKOUT MODAL & BOTTOM SHEET (NEW)
   ========================================== */
.sa-checkout-modal { position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; z-index: 999999 !important; display: flex !important; opacity: 0 !important; pointer-events: none !important; transition: opacity 0.3s ease !important; margin: 0 !important; padding: 0 !important; }
.sa-checkout-modal.sa-show { opacity: 1 !important; pointer-events: auto !important; }
.sa-checkout-modal-overlay { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background: rgba(15,23,42,0.6) !important; backdrop-filter: blur(4px) !important; }

.sa-checkout-close-wrap { position: sticky !important; top: 0 !important; z-index: 99 !important; text-align: right !important; background: #fff !important; padding: 12px 15px !important; border-bottom: 1px dashed #eaeaea !important; display: flex !important; justify-content: flex-end !important; align-items: center !important; }
.sa-checkout-close-btn { background: #f1f5f9 !important; border: none !important; font-size: 24px !important; line-height: 1 !important; color: #64748b !important; cursor: pointer !important; border-radius: 50% !important; width: 34px !important; height: 34px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; transition: 0.2s !important; padding: 0 !important; margin: 0 !important; }
.sa-checkout-close-btn:hover { background: #e2e8f0 !important; color: #ef4444 !important; }

/* Popup Style */
.sa-checkout-modal.layout-popup { align-items: center !important; justify-content: center !important; padding: 20px !important; box-sizing: border-box !important;}
.sa-checkout-modal.layout-popup #sa-checkout-area { position: relative !important; z-index: 2 !important; background: #fff !important; width: 850px !important; max-width: 100% !important; max-height: 90vh !important; overflow-y: auto !important; border-radius: 12px !important; transform: scale(0.95) !important; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; padding: 0 !important; margin: 0 !important; box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important; }
.sa-checkout-modal.sa-show.layout-popup #sa-checkout-area { transform: scale(1) !important; }
.sa-checkout-modal.layout-popup .sa-checkout-close-wrap { border-radius: 12px 12px 0 0 !important; }

/* Bottom Sheet Style */
.sa-checkout-modal.layout-bottom_sheet { align-items: flex-end !important; justify-content: center !important; }
.sa-checkout-modal.layout-bottom_sheet #sa-checkout-area { position: relative !important; z-index: 2 !important; background: #fff !important; width: 100vw !important; max-width: 850px !important; max-height: 85vh !important; overflow-y: auto !important; border-radius: 20px 20px 0 0 !important; transform: translateY(100%) !important; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important; padding: 0 !important; margin: 0 auto !important; box-shadow: 0 -10px 40px rgba(0,0,0,0.1) !important; }
.sa-checkout-modal.sa-show.layout-bottom_sheet #sa-checkout-area { transform: translateY(0) !important; }
.sa-checkout-modal.layout-bottom_sheet .sa-checkout-close-wrap { border-radius: 20px 20px 0 0 !important; padding-top: 15px !important; }

/* Adjust elements inside modals */
.sa-checkout-modal .sa-row { padding: 0 20px 20px 20px !important; margin-top: 15px !important; }
.sa-checkout-modal .sa-col-right { position: relative !important; top: 0 !important; }

/* Modal Open state on body */
body.sa-modal-open .sa-mobile-sticky-checkout-wrap { display: none !important; }

/* ==========================================
   9. MODALS (Variation, Fraud & Gallery)
   ========================================== */
.sa-var-modal { display: none !important; position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; background: rgba(15,23,42,0.6) !important; z-index: 9999999 !important; align-items: center !important; justify-content: center !important; backdrop-filter: blur(3px) !important; opacity:0 !important; transition: opacity 0.3s ease !important; margin: 0 !important; padding: 0 !important;}
.sa-var-modal.sa-show { display: flex !important; opacity: 1 !important; }
.sa-var-box { background: #fff !important; width: 500px !important; max-width: 90% !important; border-radius: 12px !important; padding: 20px !important; box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important; transform: scale(0.95) !important; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; box-sizing: border-box !important;}
.sa-var-modal.sa-show .sa-var-box { transform: scale(1) !important; }
.sa-var-title { margin:0 0 15px !important; font-size:18px !important; color:#0f172a !important; font-weight:700 !important; border-bottom:1px solid #e2e8f0 !important; padding-bottom:10px !important; display:flex !important; justify-content:space-between !important; align-items:center !important; }

/* Modal Dynamic List Layouts (Horizontal vs Vertical) */
.sa-var-list { max-height: 60vh !important; overflow-y: auto !important; padding-right: 5px !important; }

/* Vertical (Grid) Layout inside Modal */
.sa-var-list.layout-vertical { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 12px !important; }
@media (max-width: 600px) { .sa-var-list.layout-vertical { grid-template-columns: repeat(2, 1fr) !important; } }

.sa-var-item-vertical { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: space-between !important; padding: 10px !important; border: 1px solid #cbd5e1 !important; border-radius: 8px !important; background: #fff !important; width: 100% !important; box-sizing: border-box !important; text-align: center !important; transition: all 0.2s ease !important; }
.sa-var-item-vertical:hover { border-color: #f97316 !important; transform: translateY(-2px) !important; box-shadow: 0 4px 10px rgba(249,115,22,0.05) !important;}
.sa-var-item-vertical .sa-var-item-img { width: 100% !important; aspect-ratio: 1/1 !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; margin-bottom: 8px !important; background: #f8fafc !important; border-radius: 6px !important; }
.sa-var-item-vertical .sa-var-item-img img { max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; }
.sa-var-item-vertical .sa-var-item-details { flex: 1 !important; display: flex !important; flex-direction: column !important; justify-content: flex-start !important; margin-bottom: 10px !important; width: 100% !important; }
.sa-var-item-vertical .sa-var-item-name { font-size: 13px !important; font-weight: 600 !important; color: #334155 !important; margin: 0 0 4px !important; line-height: 1.2 !important; }
.sa-var-item-vertical .sa-var-item-price { font-size: 14px !important; font-weight: 700 !important; color: #f97316 !important; margin: 0 !important; }
.sa-var-item-vertical .sa-var-item-actions { width: 100% !important; display: flex !important; justify-content: center !important; }

/* Horizontal (List) Layout inside Modal */
.sa-var-list.layout-horizontal { display: flex !important; flex-direction: column !important; gap: 10px !important; }

.sa-var-item { display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 10px !important; border: 1px solid #cbd5e1 !important; border-radius: 8px !important; background: #fff !important; width: 100% !important; box-sizing: border-box !important; transition: all 0.2s ease !important; }
.sa-var-item:hover { border-color: #f97316 !important; box-shadow: 0 4px 10px rgba(249,115,22,0.05) !important;}
.sa-var-item-left { display: flex !important; align-items: center !important; gap: 15px !important; flex: 1 !important; }
.sa-var-item-left img { width: 45px !important; height: 45px !important; border-radius: 6px !important; object-fit: contain !important; background: #f8fafc !important; border: 1px solid #eaeaea !important; padding: 2px !important;}
.sa-var-item-info { display: flex !important; flex-direction: column !important; justify-content: center !important; }
.sa-var-item .sa-var-item-name { font-size: 14px !important; font-weight: 600 !important; color: #334155 !important; margin: 0 0 4px !important; line-height: 1.2 !important; }
.sa-var-item .sa-var-item-price { font-size: 15px !important; font-weight: 700 !important; color: #f97316 !important; margin: 0 !important; }
.sa-var-item-actions { display: flex !important; align-items: center !important; gap: 10px !important; }

/* Image Gallery Trigger */
.sa-gallery-trigger { cursor: zoom-in !important; }

/* Gallery Popup Modal */
.sa-gallery-modal { display: none !important; position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; background: rgba(0,0,0,0.92) !important; z-index: 9999999 !important; align-items: center !important; justify-content: center !important; flex-direction: column !important; opacity: 0 !important; transition: opacity 0.3s ease !important; margin:0 !important; padding:0 !important;}
.sa-gallery-modal.sa-show { display: flex !important; opacity: 1 !important; }
.sa-gallery-close { position: absolute !important; top: 20px !important; right: 25px !important; color: #fff !important; font-size: 40px !important; cursor: pointer !important; z-index: 2 !important; line-height: 1 !important; text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;}
.sa-gallery-content { position: relative !important; max-width: 90% !important; max-height: 75vh !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.sa-gallery-img { max-width: 100% !important; max-height: 75vh !important; object-fit: contain !important; border-radius: 8px !important; transition: opacity 0.2s ease !important; box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important; }
.sa-gallery-nav { display: flex !important; align-items: center !important; justify-content: center !important; gap: 20px !important; margin-top: 25px !important; }
.sa-gallery-btn { background: rgba(255,255,255,0.15) !important; color: #fff !important; border: 1px solid rgba(255,255,255,0.3) !important; width: 45px !important; height: 45px !important; border-radius: 50% !important; font-size: 20px !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; transition: 0.3s !important; padding:0 !important;}
.sa-gallery-btn:hover { background: #f97316 !important; border-color: #f97316 !important; }

/* ==========================================
   10. MOBILE SPECIFIC & GLOBAL DESKTOP FOOTER
   ========================================== */

/* Sticky Mobile Checkout Footer (with fill-progress bar) */
.sa-mobile-sticky-checkout-wrap {
    display: none !important;
    font-family: 'Anek Bangla', sans-serif !important;
}

/* Desktop floating variant (only used for non-inline / modal checkout layouts,
   which have no other visible way to open the checkout modal on desktop). */
.sa-mobile-sticky-checkout-wrap.sa-show-on-desktop.sa-show-sticky-checkout {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 500px !important;
    background: #fff !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12) !important;
    padding: 14px 20px !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    animation: saFadeInUp 0.5s ease !important;
}
@media (min-width: 769px) {
    .sa-mobile-sticky-checkout-wrap.sa-show-on-desktop .sa-main-submit-btn {
        width: 100% !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 768px) {
    .sa-pc-wrapper, .sa-wrapper { padding: 0 2.5% !important; margin: 0 auto !important; box-sizing: border-box !important; overflow-x: hidden !important; display: block !important;}
    .elementor-widget-business_assi_checkout, .elementor-widget-business_assi_products_display { margin: 0 !important; padding: 0 !important; }

    .sa-row { display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
    .sa-col-left { padding: 10px 8px 15px 8px !important; display: block !important; width: 100% !important; max-width: 100% !important; border: none !important; border-radius: 0 !important; margin: 0 !important; box-sizing: border-box !important; box-shadow: none !important; }
    .sa-col-right { padding: 15px 8px 20px 8px !important; display: block !important; width: 100% !important; max-width: 100% !important; border-left: none !important; border-right: none !important; border-radius: 0 !important; margin: 0 0 70px 0 !important; box-sizing: border-box !important; box-shadow: none !important; border-top: 8px solid #f1f5f9 !important; background: #fff !important; }
    
    .sa-pc-grid { gap: 10px !important; }
    
    .sa-pc-card-hz { padding: 8px !important; margin-bottom: 8px !important; gap: 8px !important; }
    .sa-card-layout-vertical.sa-pc-card-hz { padding: 0 !important; gap: 0 !important; }
    .sa-card-layout-vertical .sa-pc-card-hz-content { padding: 12px 10px 15px 10px !important; }
    
    .sa-card-layout-horizontal { padding: 10px !important; gap: 10px !important; }
    .sa-card-layout-horizontal .sa-pc-card-hz-img-wrap { width: 60px !important; height: 60px !important; }

    .sa-pc-single-layout .sa-pc-card-hz { flex-wrap: wrap !important; padding: 10px !important; gap: 10px !important; }
    .sa-pc-card-hz-img { width: 60px !important; height: 60px !important; }
    .sa-pc-card-hz-title { font-size: 15px !important; margin-bottom: 2px !important; }
    .sa-pc-card-hz-price { font-size: 15px !important; }
    .sa-pc-single-layout .sa-pc-btn-wrap { width: auto !important; margin-left: auto !important; flex: 0 0 auto !important; }
    
    .sa-pc-single-layout .sa-gallery-hint { top: 6px !important; bottom: auto !important; font-size: 9px !important; padding: 2px 6px !important; }

    .sa-pc-btn { padding: 6px 12px !important; font-size: 14px !important; border-radius: 50px !important; }
    .sa-card-layout-vertical .sa-pc-btn { width: 85% !important; max-width: 250px !important; margin: 0 auto !important; }
    
    .sa-qty-ctrl { padding: 3px !important; width: 90px !important; border-radius: 50px !important; }
    .sa-card-layout-vertical .sa-qty-ctrl { width: 85% !important; max-width: 250px !important; margin: 0 auto !important; }
    .sa-qty-btn { width: 26px !important; height: 26px !important; font-size: 18px !important; }
    
    .sa-hero-var-grid.layout-vertical { gap: 6px !important; margin-top: 8px !important;}
    .sa-hero-var-grid.layout-vertical .sa-hero-var-box { min-width: 60px !important; max-width: 85px !important; }
    .sa-hero-var-grid.layout-vertical .sa-hero-var-title { font-size: 12px !important; padding: 4px 2px !important; }
    .sa-hero-var-grid.layout-vertical .sa-hero-var-box.no-img .sa-hero-var-title { padding: 8px 4px !important; font-size: 13px !important; }
    
    .sa-hero-var-grid.layout-horizontal { grid-template-columns: repeat(3, 1fr) !important; gap: 4px !important; margin-top: 8px !important;}
    .sa-hero-var-grid.layout-horizontal .sa-hero-var-box { padding: 4px !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; }
    .sa-hero-var-grid.layout-horizontal .sa-hero-var-img { width: 20px !important; height: 20px !important; margin-right: 4px !important; margin-bottom: 0 !important; padding: 0 !important; border:none !important;}
    .sa-hero-var-grid.layout-horizontal .sa-hero-var-title { font-size: 12px !important; padding: 0 !important; text-align: left !important; line-height: 1.1 !important;}

    .sa-rec-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 6px !important; margin-bottom: 10px !important; }
    .sa-rec-card { padding: 6px 4px !important; box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important; margin-bottom: 0 !important;}
    .sa-rec-img-wrap { margin-bottom: 4px !important; }
    .sa-rec-title { font-size: 12px !important; margin-bottom: 3px !important; line-height: 1.1 !important; }
    .sa-rec-price { font-size: 13px !important; margin-bottom: 5px !important; }
    
    .sa-rec-btn-wrap { height: 28px !important; }
    .sa-rec-add-btn { padding: 2px 6px !important; font-size: 12px !important; }
    .sa-rec-card .sa-qty-btn { padding: 2px !important; font-size: 14px !important; width: 20px !important; height: 20px !important; }
    .sa-rec-card .sa-qty-val { padding: 0 2px !important; min-width: 12px !important; font-size: 13px !important; }
    
    .sa-btn-desktop { display: none !important; }

    .sa-mobile-sticky-checkout-wrap.sa-show-sticky-checkout {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: #fff !important;
        z-index: 999999 !important;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.15) !important;
        padding: 8px 12px 10px 12px !important;
        box-sizing: border-box !important;
        border-top: 1px solid #e2e8f0 !important;
        animation: saFadeInUp 0.4s ease !important;
        border-radius: 16px 16px 0 0 !important;
        font-family: 'Anek Bangla', sans-serif !important;
    }

    /* Hide the original submit button when the sticky footer is showing */
    .sa-hide-main-btn .sa-main-submit-wrap:not(.sa-mobile-sticky-checkout-wrap .sa-main-submit-wrap),
    body.sa-sticky-active .sa-main-submit-wrap:not(.sa-mobile-sticky-checkout-wrap .sa-main-submit-wrap) {
        display: none !important;
    }

    .sa-sticky-checkout-progress {
        text-align: center;
        margin-bottom: 12px;
    }
    .sa-sticky-checkout-progress p {
        font-family: 'Anek Bangla', sans-serif !important;
        font-size: 13px !important;
        color: #ef4444;
        font-weight: 700 !important;
        margin: 0 0 6px 0 !important;
        line-height: 1.2 !important;
        transition: color 0.3s ease !important;
    }
    .sa-progress-bar-bg {
        width: 100%;
        height: 6px;
        background: #f1f5f9;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
    }
    .sa-progress-bar-fill {
        height: 100%;
        width: 0%;
        background: #ef4444;
        border-radius: 10px;
        position: absolute;
        left: 0;
        top: 0;
    }
    .sa-mobile-sticky-checkout-wrap .sa-main-submit-btn {
        display: flex !important;
        width: 100% !important;
        font-family: 'Anek Bangla', sans-serif !important;
        font-size: 15px !important;
        padding: 8px !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 12px rgba(249,115,22,0.3) !important;
    }

    /* Prevent sticky footer from covering order summary / totals at bottom */
    .sa-col-right {
        padding-bottom: 20px !important;
        margin-bottom: 175px !important;
    }

    /* Hide main submit button inside form if NOT in modal */
    .sa-main-submit-btn { display: none !important; }
    .layout-popup .sa-main-submit-btn,
    .layout-bottom_sheet .sa-main-submit-btn,
    .sa-mobile-sticky-checkout-wrap .sa-main-submit-btn { display: flex !important; margin-top: 15px !important; }
    /* Inline layout has its own button right under Order Summary (no icon,
       centered via text-align on the base rule) - shown on mobile too now,
       alongside the sticky footer's button, per client request. */
    .layout-inline .sa-main-submit-btn { display: block !important; margin-top: 15px !important; }

    .sa-var-box { padding-bottom: 80px !important; }
}

/* ==========================================
   Offer Progress Bar (Discount / Free Shipping) — shared by the sticky
   checkout footer and the cart drawer step-1 view
   ========================================== */
.sa-sticky-progress-container {
    width: 100% !important;
    padding: 2px 4px !important;
    box-sizing: border-box !important;
}
.sa-sticky-progress-info {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    color: #475569 !important;
}
.sa-sticky-progress-msg { line-height: 1.3 !important; }
.sa-sticky-progress-pct { font-weight: 700 !important; }
.sa-sticky-progress-bar-bg {
    width: 100% !important;
    height: 6px !important;
    background-color: #f1f5f9 !important;
    border-radius: 9999px !important;
    overflow: hidden !important;
}
.sa-sticky-progress-bar-fill {
    width: 0%;
    height: 100% !important;
    background: linear-gradient(90deg, #3b82f6, #10b981) !important;
    border-radius: 9999px !important;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.sa-sticky-progress-container.achieved .sa-sticky-progress-info,
.sa-sticky-progress-container.achieved .sa-sticky-progress-msg span,
.sa-sticky-progress-container.achieved .sa-sticky-progress-pct {
    color: #10b981 !important;
}
.sa-sticky-progress-container.achieved .sa-sticky-progress-bar-fill {
    background: #10b981 !important;
    background-color: #10b981 !important;
}

/* ==========================================
   Cart Drawer (attached to the Category Products widget)
   ========================================== */
.sa-cart-drawer {
    --sa-cart-primary: #fb0a3f;
    --sa-cart-btn-bg: #fb0a3f;
    --sa-cart-btn-text: #ffffff;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 2147483645 !important;
    visibility: hidden !important;
    transition: visibility 0.3s ease !important;
    box-sizing: border-box !important;
}
.sa-cart-drawer.sa-show { visibility: visible !important; }
.sa-cart-drawer-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}
.sa-cart-drawer.sa-show .sa-cart-drawer-overlay { opacity: 1 !important; }
.sa-cart-drawer-content {
    position: absolute !important;
    top: 0 !important;
    right: -450px !important;
    width: 100% !important;
    max-width: 420px !important;
    height: 100vh !important;
    background: #ffffff !important;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: var(--sa-cart-radius, 20px) 0 0 var(--sa-cart-radius, 20px) !important;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
}
.sa-cart-drawer.sa-show .sa-cart-drawer-content { right: 0 !important; }

@media (max-width: 768px) {
    .sa-cart-drawer-content {
        top: auto !important;
        right: 0 !important;
        bottom: -100% !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 85vh !important;
        max-height: 85dvh !important;
        border-radius: var(--sa-cart-radius, 20px) var(--sa-cart-radius, 20px) 0 0 !important;
        transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }
    .sa-cart-drawer.sa-show .sa-cart-drawer-content { bottom: 0 !important; }
    .sa-cart-drawer-header { padding: 16px 20px !important; }
    .sa-drawer-stepper { padding: 12px 24px 0 !important; }
    .sa-cart-drawer-body { padding: 15px 20px !important; }
    .sa-cart-drawer-footer {
        padding: 16px 20px max(16px, env(safe-area-inset-bottom, 16px)) 20px !important;
        background: #ffffff !important;
    }
}

.sa-cart-drawer-header {
    padding: 20px 24px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}
.sa-cart-drawer-header h3 { margin: 0 !important; font-size: 18px !important; font-weight: 700 !important; color: #0f172a !important; }
.sa-cart-drawer-header h3 svg { stroke: var(--sa-cart-primary, #fb0a3f) !important; }
.sa-cart-drawer-close {
    font-size: 28px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: color 0.2s !important;
    line-height: 1 !important;
}
.sa-cart-drawer-close:hover { color: #0f172a !important; }
.sa-drawer-stepper { flex-shrink: 0 !important; }
.sa-cart-drawer-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding: 20px 24px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
}
.sa-cart-drawer-items { display: flex !important; flex-direction: column !important; gap: 16px !important; }
.sa-cart-item-row {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    box-sizing: border-box !important;
}
.sa-cart-item-img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
}
.sa-cart-item-details { flex: 1 !important; display: flex !important; flex-direction: column !important; }
.sa-cart-item-name { font-size: 14px !important; font-weight: 600 !important; color: #1e293b !important; margin-bottom: 6px !important; line-height: 1.3 !important; }
.sa-cart-item-price-qty { display: flex !important; align-items: center !important; justify-content: space-between !important; }
.sa-cart-item-price { font-size: 14px !important; font-weight: 700 !important; color: var(--sa-cart-primary, #f97316) !important; }
.sa-cart-item-qty-control {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #f1f5f9 !important;
    border-radius: 20px !important;
    padding: 4px 10px !important;
}
.sa-cart-item-qty-btn {
    border: none !important;
    background: none !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: #64748b !important;
    cursor: pointer !important;
    padding: 0 !important;
    line-height: 1 !important;
    outline: none !important;
}
.sa-cart-item-qty-btn:hover { color: var(--sa-cart-primary, #f97316) !important; }
.sa-cart-item-qty-val { font-size: 14px !important; font-weight: 600 !important; color: #1e293b !important; }
.sa-cart-item-remove { color: #ef4444 !important; cursor: pointer !important; font-size: 18px !important; padding: 4px !important; transition: color 0.2s !important; }
.sa-cart-item-remove:hover { color: #b91c1c !important; }
.sa-cart-drawer-footer {
    padding: 20px 24px !important;
    border-top: 1px solid #f1f5f9 !important;
    background: #f8fafc !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}
.sa-cart-drawer-subtotal { display: flex !important; align-items: center !important; justify-content: space-between !important; margin-bottom: 16px !important; }
.sa-cart-drawer-subtotal span:first-child { font-size: 15px !important; font-weight: 600 !important; color: #64748b !important; }
.sa-cart-drawer-total-amount { font-size: 20px !important; font-weight: 800 !important; color: #0f172a !important; }
.sa-cart-drawer-final-amount { color: var(--sa-cart-primary, #e11d48) !important; }
.sa-cart-drawer-checkout-btn,
#sa-drawer-step-2 .sa-main-submit-btn {
    width: 100% !important;
    padding: 14px !important;
    background: var(--sa-cart-btn-bg, var(--sa-cart-primary, #fb0a3f)) !important;
    background-color: var(--sa-cart-btn-bg, var(--sa-cart-primary, #fb0a3f)) !important;
    color: var(--sa-cart-btn-text, #ffffff) !important;
    border: none !important;
    border-radius: var(--sa-cart-btn-radius, 8px) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
    outline: none !important;
    box-sizing: border-box !important;
}
.sa-cart-drawer-checkout-btn:hover,
#sa-drawer-step-2 .sa-main-submit-btn:hover {
    filter: brightness(0.92) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18) !important;
    transform: translateY(-1px) !important;
}

/* ==========================================
   Hot Badge / Variation Highlight
   ========================================== */
.sa-hero-var-box.sa-hot-var {
    border-color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.01) !important;
    padding-left: 28px !important;
    position: relative !important;
}
.sa-hero-var-box.sa-hot-var.selected {
    border-color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.03) !important;
    box-shadow: 0 0 0 1px #ef4444 !important;
}
.sa-hero-var-badge {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: auto !important;
    writing-mode: vertical-rl !important;
    transform: rotate(180deg) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 3px !important;
    border-radius: 6px 0 0 6px !important;
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    z-index: 150 !important;
    line-height: 1 !important;
    box-shadow: 2px 0 4px rgba(0,0,0,0.1) !important;
}

/* ==========================================
   Storefront Widget — Header, Search, Category Grid, Custom Blocks
   ========================================== */
.sa-storefront-header {
    width: auto !important;
    max-width: 100% !important;
    margin: 15px 15px 30px 15px !important;
    border-radius: 12px !important;
    padding: 15px 40px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    box-sizing: border-box !important;
}
body.admin-bar .sa-storefront-header { top: 32px !important; }
@media (max-width: 782px) { body.admin-bar .sa-storefront-header { top: 46px !important; } }
@media (max-width: 768px) {
    .sa-storefront-header { padding: 8px 12px !important; margin: 10px 10px 20px 10px !important; border-radius: 12px !important; position: -webkit-sticky !important; position: sticky !important; top: 0 !important; z-index: 99999 !important; }
    .sa-sf-search-wrap { display: none !important; }
    .sa-storefront-wrapper { padding: 0 16px 20px 16px !important; }
    .sa-sf-blocks-wrap { padding: 0 16px !important; margin: 15px 0 !important; }
}
.sa-sf-search-wrap { position: relative !important; width: 100% !important; max-width: 400px !important; margin: 0 20px !important; }
.sa-sf-search-input { width: 100% !important; padding: 10px 16px 10px 42px !important; border: 1px solid #cbd5e1 !important; border-radius: 50px !important; font-size: 14px !important; color: #1e293b !important; background: #f8fafc !important; outline: none !important; transition: all 0.2s ease !important; box-shadow: none !important; }
.sa-sf-search-input:focus { border-color: #f97316 !important; background: #ffffff !important; box-shadow: 0 0 0 3px rgba(249,115,22,0.1) !important; }
.sa-sf-search-icon { position: absolute !important; left: 14px !important; top: 50% !important; transform: translateY(-50%) !important; color: #64748b !important; pointer-events: none !important; width: 18px !important; height: 18px !important; }
.sa-sf-header-actions { display: flex !important; align-items: center !important; gap: 12px !important; }
.sa-sf-cart-trigger { position: relative !important; display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important; transition: all 0.2s ease !important; box-sizing: border-box !important; background: #f1f5f9 !important; border-radius: 50%; width: 44px; height: 44px; }
.sa-sf-cart-trigger:hover { background: #e2e8f0 !important; transform: scale(1.05) !important; }
.sa-sf-cart-trigger svg { color: #334155 !important; width: 22px !important; height: 22px !important; stroke: currentColor !important; fill: none !important; }
.sa-sf-cart-badge { position: absolute !important; top: -4px !important; right: -4px !important; background: var(--sa-cart-primary, #f97316) !important; color: #ffffff !important; font-size: 11px !important; font-weight: 800 !important; padding: 2px 6px !important; border-radius: 50px !important; min-width: 18px !important; height: 18px !important; display: flex !important; align-items: center !important; justify-content: center !important; }

.sa-storefront-wrapper { width: 100% !important; max-width: 100% !important; padding: 0 40px 40px 40px !important; box-sizing: border-box !important; }
.sa-sf-blocks-wrap { width: 100% !important; margin: 20px 0 !important; padding: 0 40px !important; box-sizing: border-box !important; display: flex !important; flex-direction: column !important; gap: 20px !important; }

.sa-storefront-wrapper .sa-sf-card { padding: 0 !important; margin: 0 !important; background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 12px !important; overflow: hidden !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; display: flex !important; flex-direction: column !important; position: relative !important; }
.sa-sf-card:hover { transform: translateY(-4px) !important; box-shadow: 0 12px 30px rgba(0,0,0,0.06) !important; }
.sa-storefront-wrapper .sa-sf-img-wrap { position: relative !important; width: 100% !important; aspect-ratio: 1/1 !important; background: #f8fafc !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; cursor: zoom-in !important; margin: 0 !important; border-radius: 12px 12px 0 0 !important; }
.sa-sf-img-wrap img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform 0.3s ease !important; margin: 0 !important; display: block !important; }
.sa-sf-card:hover .sa-sf-img-wrap img { transform: scale(1.04) !important; }
.sa-sf-content { padding: 16px !important; display: flex !important; flex-direction: column !important; flex-grow: 1 !important; }
.sa-sf-title { font-size: 14px !important; font-weight: 400 !important; color: #1e293b !important; margin: 0 0 10px 0 !important; line-height: 1.4 !important; min-height: 38px !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; text-align: center !important; }
.sa-sf-price-row { display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; margin-bottom: 14px !important; margin-top: auto !important; }
.sa-sf-sale-price { font-size: 18px !important; font-weight: 700 !important; color: #f97316 !important; }
.sa-sf-reg-price { font-size: 14px !important; color: #94a3b8 !important; text-decoration: line-through !important; font-weight: 400 !important; }

.sa-sf-block-banner img { max-width: 100%; }

/* Quantity Combo Step Progress Bar & Offer System (Shadow-Free & Clean) */
.sa-step-offer-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 8px;
    margin-bottom: 8px;
    box-shadow: none !important;
    font-family: 'Anek Bangla', sans-serif !important;
}

.sa-sticky-step-wrapper {
    margin-bottom: 6px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    box-shadow: none !important;
}

.sa-step-clean-msg-bar {
    text-align: center;
    padding: 6px 10px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 6px;
    box-shadow: none !important;
}

.sa-step-clean-msg-text {
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;
    display: block;
    white-space: normal;
    word-break: break-word;
}

.sa-active-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    background: #22c55e;
    color: #ffffff;
    border-radius: 50%;
    font-size: 10.5px;
    font-weight: 900;
    margin-right: 5px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.sa-offer-arrow {
    margin: 0 6px;
    display: inline-block;
    color: #fef08a;
    font-size: 13px;
    vertical-align: middle;
}

.sa-next-tier-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 20px;
    margin-left: 5px;
    vertical-align: middle;
    letter-spacing: 0.2px;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.sa-step-clean-msg-text div {
    font-size: 11.5px;
    font-weight: 500;
    margin-top: 3px;
    opacity: 0.95;
    line-height: 1.3;
}

.sa-step-compact-nodes-wrap {
    position: relative;
    padding: 2px 2px 4px 2px;
}

.sa-step-compact-track {
    position: absolute;
    top: 13px;
    left: 20px;
    right: 20px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 4px;
    z-index: 1;
}

.sa-step-compact-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f97316 0%, #16a34a 100%);
    border-radius: 4px;
    transition: width 0.35s ease;
}

.sa-step-compact-nodes-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.sa-step-node {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
}

.sa-step-node-pill {
    background: #ffffff;
    border: 1.5px solid #94a3b8;
    border-radius: 20px;
    padding: 2px 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #334155;
    transition: all 0.2s ease;
    box-shadow: none !important;
    white-space: nowrap;
}

.sa-node-qty-num {
    font-weight: 800;
}

.sa-node-disc-label {
    font-size: 10.5px;
    color: #16a34a;
    font-weight: 700;
    margin-top: 3px;
    line-height: 1.1;
    white-space: nowrap;
}

.sa-step-node.active .sa-step-node-pill {
    border-color: #ea580c !important;
    background: #fff7ed !important;
    color: #ea580c !important;
}

.sa-step-node.active .sa-node-disc-label {
    color: #ea580c !important;
    font-weight: 800;
}

.sa-step-node.completed .sa-step-node-pill {
    border-color: #16a34a !important;
    background: #16a34a !important;
    color: #ffffff !important;
}

.sa-step-node.completed .sa-node-disc-label {
    color: #16a34a !important;
    font-weight: 800;
}

/* Phone Number Validation Styles */
.sa-input.sa-input-error,
input[name="assi_phone"].sa-input-error {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 1px #ef4444 !important;
}

.sa-phone-validation-msg {
    color: #ef4444 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-top: 4px !important;
    text-align: left !important;
    line-height: 1.3 !important;
}

/* In-Page Variation Display (Category Grid) */
.sa-inpage-variation-section { margin: 15px 0; }
.sa-inpage-var-heading { font-size: 14px !important; font-weight: 700 !important; color: #0f172a !important; margin-bottom: 10px !important; }

.sa-inpage-var-list { max-height: none !important; overflow: visible !important; padding-right: 0 !important; }

.sa-var-item.selected, .sa-var-item-vertical.selected {
    border-color: #f97316 !important;
    background: #fff7ed !important;
    box-shadow: 0 4px 10px rgba(249,115,22,0.1) !important;
}

/* Column Count Overrides (Desktop) */
.sa-var-list.cols-d-1 { grid-template-columns: repeat(1, 1fr) !important; }
.sa-var-list.cols-d-2 { grid-template-columns: repeat(2, 1fr) !important; }
.sa-var-list.cols-d-3 { grid-template-columns: repeat(3, 1fr) !important; }
.sa-var-list.cols-d-4 { grid-template-columns: repeat(4, 1fr) !important; }
.sa-var-list.cols-d-5 { grid-template-columns: repeat(5, 1fr) !important; }
.sa-var-list.cols-d-6 { grid-template-columns: repeat(6, 1fr) !important; }

/* Column Count Overrides (Mobile) */
@media (max-width: 600px) {
    .sa-var-list.cols-m-1 { grid-template-columns: repeat(1, 1fr) !important; }
    .sa-var-list.cols-m-2 { grid-template-columns: repeat(2, 1fr) !important; }
    .sa-var-list.cols-m-3 { grid-template-columns: repeat(3, 1fr) !important; }
    .sa-var-list.cols-m-4 { grid-template-columns: repeat(4, 1fr) !important; }
}
.sa-sf-block-html { width: 100%; }