/**
 * Chowk Bazar Look & Feel Stylesheet
 * Reference: chowk-bazar.com
 */

:root {
    --cb-primary: #f8a31a;
    --cb-primary-rgb: 248, 163, 26;
    --cb-primary-hover: #e08e0e;
    --cb-primary-light: #fff8ee;
    --cb-secondary: #414140;
    --cb-secondary-rgb: 65, 65, 64;
    --cb-bg: #f8f9fa;
    --cb-card-bg: #ffffff;
    --cb-text-dark: #111827;
    --cb-text-muted: #6b7280;
    --cb-border: #e5e7eb;
    --cb-radius-lg: 16px;
    --cb-radius-md: 12px;
    --cb-radius-sm: 8px;
    --cb-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --cb-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --cb-shadow-hover: 0 10px 20px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

html, body {
    overflow-x: clip !important;
}

body {
    background-color: var(--cb-bg) !important;
    font-family: 'Poppins', 'Hind Siliguri', 'Tiro Bangla', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: var(--cb-text-dark) !important;
}

/* ==========================================================================
   STICKY / FIXED HEADER ON SCROLL
   ========================================================================== */
header#navbar_top {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9990 !important;
    background: #ffffff !important;
    transition: box-shadow 0.25s ease !important;
}

header#navbar_top.is-scrolled,
header#navbar_top.fixed-top {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.09) !important;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.cb-topbar {
    background: #1a1a2e;
    color: #ffffff;
    font-size: 12.5px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cb-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cb-topbar-promo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.cb-topbar-promo i {
    color: var(--cb-primary);
}

.cb-topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cb-topbar-right a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cb-topbar-right a:hover {
    color: var(--cb-primary);
}

/* ==========================================================================
   MAIN HEADER (Desktop & Mobile)
   ========================================================================== */
.main-header {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.logo-header {
    padding: 12px 0 !important;
}

/* Modern Header & Logo Area */
.logo-area {
    background: #ffffff !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

.logo-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    width: 100% !important;
}

.main-logo {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.main-logo a {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.main-logo img {
    height: 48px !important;
    max-height: 48px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain !important;
    display: block !important;
    transition: transform 0.2s ease !important;
}

.main-logo a:hover img {
    transform: scale(1.02) !important;
}

/* Modern Search Box (Matching Reference Image 2 with Brand Gradient) */
.main-search {
    position: relative !important;
    max-width: 580px !important;
    width: 100% !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 16px !important;
}

.main-search form,
.main-search .cb-search-form {
    position: relative !important;
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 46px !important;
    background: #ffffff !important;
    border: 2px solid #ff7a00 !important;
    border-radius: 8px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.main-search form:focus-within,
.main-search .cb-search-form:focus-within {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3.5px rgba(255, 122, 0, 0.18) !important;
}

.main-search input#searchbox,
.main-search input.search_keyword,
.main-search form input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 16px !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    outline: none !important;
    box-shadow: none !important;
    text-align: left !important;
    direction: ltr !important;
    text-indent: 0 !important;
}

.main-search input#searchbox::placeholder,
.main-search input.search_keyword::placeholder,
.main-search form input::placeholder {
    color: #94a3b8 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-align: left !important;
    direction: ltr !important;
    float: none !important;
}

.main-search button,
.main-search .cb-search-btn,
.main-search form button {
    position: static !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    float: none !important;
    height: 100% !important;
    padding: 0 22px !important;
    border-radius: 0 !important;
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.main-search button i,
.main-search .cb-search-btn i {
    font-size: 14px !important;
    color: #ffffff !important;
}

.main-search button:hover,
.main-search .cb-search-btn:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
}

/* Header list items (Track Order, Account, Cart) */
.header-list-items {
    flex-shrink: 0 !important;
}

.header-list-items > ul {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.header-list-items > ul > li > a {
    text-decoration: none !important;
}

/* Track Order Pill Button */
.header-list-items > ul > li.track_btn a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 9px 18px !important;
    border-radius: 9999px !important;
    background: #fff8f1 !important;
    border: 1.5px solid #fed7aa !important;
    color: #ea580c !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.header-list-items > ul > li.track_btn a i {
    font-size: 14px !important;
    color: #ea580c !important;
    transition: color 0.2s ease !important;
}

.header-list-items > ul > li.track_btn a:hover {
    background: #ea580c !important;
    border-color: #ea580c !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25) !important;
}

.header-list-items > ul > li.track_btn a:hover i {
    color: #ffffff !important;
}

/* Account Pill Button */
.header-list-items > ul > li.for_order p {
    margin: 0 !important;
}

.header-list-items > ul > li.for_order a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 9px 18px !important;
    border-radius: 9999px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #334155 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    transition: all 0.2s ease !important;
}

.header-list-items > ul > li.for_order a i {
    font-size: 14px !important;
    color: #64748b !important;
    transition: color 0.2s ease !important;
}

.header-list-items > ul > li.for_order a:hover {
    background: #fff8f1 !important;
    border-color: #fed7aa !important;
    color: #ea580c !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.15) !important;
}

.header-list-items > ul > li.for_order a:hover i {
    color: #ea580c !important;
}

/* Cart Button with Brand Gradient */
.header-list-items ul li p.margin-shopping > span,
.header-list-items p.margin-shopping > span,
#cart-qty p.margin-shopping > span {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
}

.header-list-items > ul > li.cart-dialog,
#cart-qty {
    position: relative !important;
}

.header-list-items > ul > li.cart-dialog a,
#cart-qty > a {
    text-decoration: none !important;
    display: inline-block !important;
}

.header-list-items > ul > li.cart-dialog p.margin-shopping,
#cart-qty p.margin-shopping {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    height: 42px !important;
    border-radius: 9999px !important;
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.32) !important;
    transition: all 0.2s ease !important;
    border: none !important;
    line-height: 1 !important;
    position: relative !important;
    overflow: hidden !important;
}

.header-list-items > ul > li.cart-dialog p.margin-shopping:hover,
#cart-qty p.margin-shopping:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.42) !important;
}

.header-list-items > ul > li.cart-dialog p.margin-shopping i,
#cart-qty p.margin-shopping i {
    font-size: 16px !important;
    color: #ffffff !important;
}

/* Cart Count Badge */
.header-list-items > ul > li.cart-dialog > a > p.margin-shopping > span.cb-cart-badge,
.header-list-items > ul > li.cart-dialog > a > p.margin-shopping > span.mobilecart-qty,
#cart-qty > a > p.margin-shopping > span.mobilecart-qty,
#cart-qty > a > p.margin-shopping > span {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    color: #ea580c !important;
    border-radius: 9999px !important;
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 6px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18) !important;
    margin-left: 2px !important;
}

/* Invisible hover bridge between cart button and dropdown */
.header-list-items > ul > li.cart-dialog::after,
#cart-qty::after {
    content: "" !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    height: 14px !important;
}

/* ==========================================================================
   DESKTOP CART PREVIEW DROPDOWN (.cshort-summary)
   ========================================================================== */
.cshort-summary {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    width: 380px !important;
    max-width: 92vw !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 40px -4px rgba(0, 0, 0, 0.16), 0 4px 14px -2px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e5e7eb !important;
    padding: 0 !important;
    z-index: 99999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease !important;
    pointer-events: none !important;
    overflow: hidden !important;
    text-align: left !important;
}

/* Total immunity for all elements inside .cshort-summary against parent leaks */
.cshort-summary,
.cshort-summary * {
    box-sizing: border-box !important;
}

.cshort-summary span {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Open / Active State on Hover */
#cart-qty:hover .cshort-summary,
.cart-dialog:hover .cshort-summary,
.cshort-summary:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Header */
.cb-mini-cart-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #edf2f7 !important;
}

.cb-mini-cart-title {
    position: static !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
}

.cb-mini-cart-title i {
    color: var(--cb-primary) !important;
}

.cb-mini-cart-count {
    position: static !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    background: #e2e8f0 !important;
    padding: 2px 8px !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
}

/* Scrollable Item Body */
.cb-mini-cart-body {
    max-height: 310px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 4px 14px !important;
    background: #ffffff !important;
}

.cb-mini-cart-body::-webkit-scrollbar {
    width: 5px !important;
}
.cb-mini-cart-body::-webkit-scrollbar-track {
    background: #f8fafc !important;
}
.cb-mini-cart-body::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 4px !important;
}

/* Cart Item Row */
.cb-mini-cart-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.cb-mini-cart-item:last-child {
    border-bottom: none !important;
}

.cb-mini-cart-thumb {
    flex-shrink: 0 !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.cb-mini-cart-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
}

.cb-mini-cart-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.cb-mini-cart-name {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
    margin-bottom: 3px !important;
    transition: color 0.15s ease !important;
}

.cb-mini-cart-name:hover {
    color: var(--cb-primary) !important;
}

.cb-mini-cart-variants {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin-bottom: 3px !important;
}

.cb-mini-cart-badge {
    font-size: 10px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
}

.cb-mini-cart-controls-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 4px !important;
}

.cb-mini-cart-qty-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    height: 26px !important;
    min-height: 26px !important;
    position: relative !important;
    user-select: none !important;
    vertical-align: middle !important;
}

.cb-mini-cart-qty-btn {
    border: none !important;
    background: transparent !important;
    width: 24px !important;
    height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    transition: background 0.15s, color 0.15s !important;
    padding: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.cb-mini-cart-qty-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.cb-mini-cart-qty-num {
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 6px !important;
    min-width: 22px !important;
    height: 26px !important;
    line-height: 26px !important;
    text-align: center !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cb-mini-cart-price {
    position: static !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--cb-primary) !important;
    background: transparent !important;
    display: inline !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
}

.cb-mini-cart-action {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
}

.cb-mini-cart-item-total {
    position: static !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    background: transparent !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
}

.cb-mini-cart-remove {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    border: none !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 10px !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.cb-mini-cart-remove:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
}

/* Footer */
.cb-mini-cart-footer {
    padding: 13px 16px !important;
    background: #ffffff !important;
    border-top: 1px solid #edf2f7 !important;
}

.cb-mini-cart-subtotal {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 13.5px !important;
    color: #475569 !important;
    margin-bottom: 11px !important;
}

.cb-mini-cart-subtotal span {
    position: static !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    background: transparent !important;
    display: inline !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
}

.cb-mini-cart-subtotal strong {
    font-size: 16.5px !important;
    font-weight: 800 !important;
    color: var(--cb-primary) !important;
}

.cb-mini-cart-btn-checkout {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    background: var(--cb-primary) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(248, 163, 26, 0.35) !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
}

.cb-mini-cart-btn-checkout:hover {
    background: var(--cb-primary-hover) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(248, 163, 26, 0.45) !important;
    transform: translateY(-1px) !important;
}

.cb-mini-cart-btn-checkout span {
    position: static !important;
    top: auto !important;
    right: auto !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: inline !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    border-radius: 0 !important;
}

.cb-mini-cart-btn-checkout i {
    color: #ffffff !important;
    font-size: 13px !important;
}

/* Empty State */
.cb-mini-cart-empty {
    padding: 28px 20px !important;
    text-align: center !important;
}

.cb-empty-icon {
    font-size: 32px !important;
    color: #cbd5e1 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.cb-mini-cart-empty p {
    font-size: 13.5px !important;
    color: #64748b !important;
    margin: 0 0 12px 0 !important;
}

.cb-empty-btn {
    display: inline-block !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 6px 16px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.cb-empty-btn:hover {
    background: var(--cb-primary) !important;
    color: #ffffff !important;
}

/* Bulletproof fallback for legacy <ul><li> markup inside .cshort-summary */
.cshort-summary ul {
    display: flex !important;
    flex-direction: column !important;
    max-height: 310px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 4px 12px !important;
    margin: 0 !important;
    list-style: none !important;
}

.cshort-summary ul li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Category menu bar with Brand Gradient (Matching Reference Image 3) */
.menu-area {
    background: linear-gradient(90deg, #e65100 0%, #ff6d00 50%, #ff8f00 100%) !important;
    box-shadow: 0 3px 12px rgba(230, 81, 0, 0.25) !important;
    border: none !important;
    padding: 0 !important;
    position: relative !important;
}

.cb-menu-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.catagory_menu {
    flex-grow: 1 !important;
}

.catagory_menu > ul {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    gap: 4px !important;
}

/* Override individual chunky orange backgrounds from style.css */
li.cat_bar {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

li.cat_bar > a,
.catagory_menu li.cat_bar > a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    letter-spacing: 0.2px !important;
    padding: 12px 16px !important;
    height: auto !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

li.cat_bar:hover > a,
.catagory_menu li.cat_bar:hover > a {
    background: rgba(255, 255, 255, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

li.cat_bar i.cat_down {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: transform 0.2s ease !important;
}

li.cat_bar:hover i.cat_down {
    transform: rotate(180deg) !important;
}

/* Right Side FLASH SALE Pill (Reference Image 3) */
.cb-flash-sale-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 7px 18px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 9999px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.14) !important;
    backdrop-filter: blur(4px) !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
}

.cb-flash-sale-pill i {
    color: #ffeb3b !important;
    font-size: 13px !important;
    animation: flashPulse 1.8s infinite ease-in-out !important;
}

@keyframes flashPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.85; }
}

.cb-flash-sale-pill:hover {
    background: #ffffff !important;
    color: #e65100 !important;
    border-color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16) !important;
    transform: translateY(-1px) !important;
}

.cb-flash-sale-pill:hover i {
    color: #e65100 !important;
}

/* Dropdown Submenu Modern Card */
.menu-area .Cat_menu {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 14px 35px -4px rgba(0, 0, 0, 0.14), 0 4px 10px -2px rgba(0, 0, 0, 0.05) !important;
    min-width: 230px !important;
    padding: 8px 0 !important;
    z-index: 9999 !important;
}

.menu-area .Cat_menu li a {
    color: #1e293b !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    padding: 9px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-transform: capitalize !important;
    transition: all 0.18s ease !important;
    text-decoration: none !important;
}

.menu-area .Cat_menu li:hover > a {
    background: #fff7ed !important;
    color: #ea580c !important;
    font-weight: 600 !important;
    padding-left: 22px !important;
}

.menu-area .Cat_menu li a i {
    font-size: 11px !important;
    color: #94a3b8 !important;
}

.menu-area .Cat_menu li:hover > a i {
    color: #ea580c !important;
}

/* Mobile Header */
.mobile-header {
    background: #ffffff !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 8px 12px !important;
}

.mobile-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.mobile-logo .menu-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

header .mobile-logo .menu-bar a.toggle,
.mobile-logo .menu-bar a.toggle,
.mobile-logo .menu-bar .toggle,
.mobile-logo a.toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    border-radius: 10px !important;
    background: #fff8f1 !important;
    border: 1.5px solid #fed7aa !important;
    color: #ea580c !important;
    font-size: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(234, 88, 12, 0.1) !important;
    position: static !important;
    float: none !important;
}

header .mobile-logo .menu-bar a.toggle:active,
.mobile-logo .menu-bar a.toggle:active,
.mobile-logo .menu-bar .toggle:active {
    transform: scale(0.94) !important;
    background: #fed7aa !important;
}

header .mobile-logo .menu-bar a.toggle i,
.mobile-logo .menu-bar a.toggle i,
.mobile-logo .menu-bar .toggle i {
    font-size: 16px !important;
    color: #ea580c !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.mobile-logo .menu-logo img {
    max-height: 36px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* Modern Mobile Cart Button Matching Desktop Brand Gradient */
.mobile-logo .menu-bag {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.mobile-logo .menu-bag .margin-shopping {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    height: 36px !important;
    width: auto !important;
    border-radius: 9999px !important;
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.3) !important;
    cursor: pointer !important;
    position: relative !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
}

.mobile-logo .menu-bag:active .margin-shopping {
    transform: scale(0.94) !important;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
}

.mobile-logo .menu-bag .margin-shopping i {
    font-size: 14px !important;
    color: #ffffff !important;
}

.mobile-logo .menu-bag span.mobilecart-qty {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    color: #ea580c !important;
    border-radius: 9999px !important;
    min-width: 19px !important;
    height: 19px !important;
    padding: 0 5px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    margin: 0 !important;
}

/* Modern Mobile Search Box - EXACT SAME DESIGN AS DESKTOP, FULLY RESPONSIVE */
.mobile-search {
    background: #ffffff !important;
    padding: 8px 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    position: relative !important;
}

.mobile-search form,
.mobile-search .cb-search-form {
    position: relative !important;
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 42px !important;
    background: #ffffff !important;
    border: 2px solid #ff7a00 !important;
    border-radius: 8px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.mobile-search form:focus-within,
.mobile-search .cb-search-form:focus-within {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.18) !important;
}

.mobile-search form input,
.mobile-search input#mobilesearchbox,
.mobile-search input.msearch_keyword {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    padding: 0 14px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    box-shadow: none !important;
    text-align: left !important;
    direction: ltr !important;
    text-indent: 0 !important;
}

.mobile-search form input::placeholder,
.mobile-search input#mobilesearchbox::placeholder,
.mobile-search input.msearch_keyword::placeholder {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-align: left !important;
    direction: ltr !important;
    float: none !important;
}

.mobile-search form button,
.mobile-search .cb-search-btn {
    position: static !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: 100% !important;
    padding: 0 16px !important;
    border-radius: 0 !important;
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.mobile-search form button i,
.mobile-search .cb-search-btn i {
    font-size: 13px !important;
    color: #ffffff !important;
}

.mobile-search form button:active,
.mobile-search .cb-search-btn:active {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
}

/* ==========================================================================
   HERO BANNER SLIDER (CLS Locked as in Chowk Bazar)
   ========================================================================== */
.cb-hero-section {
    padding: 14px 0 6px 0 !important;
}

.cb-banner-wrapper {
    width: 100% !important;
    border-radius: var(--cb-radius-lg) !important;
    overflow: hidden !important;
    box-shadow: var(--cb-shadow-md) !important;
    background: #f3f4f6 !important;
    aspect-ratio: 16 / 9 !important;
}

@media (min-width: 768px) {
    .cb-banner-wrapper {
        aspect-ratio: 21 / 9 !important;
    }
}

.cb-banner-wrapper .main_slider,
.cb-banner-wrapper .owl-stage-outer,
.cb-banner-wrapper .owl-stage,
.cb-banner-wrapper .owl-item,
.cb-banner-wrapper .slider-item {
    height: 100% !important;
}

.cb-banner-wrapper .slider-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* Banner Owl Navigation Dots & Arrows */
.cb-banner-wrapper .owl-dots {
    position: absolute !important;
    bottom: 12px !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    text-align: center !important;
}

.cb-banner-wrapper .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    margin: 0 4px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    border-radius: 9999px !important;
    transition: all 0.25s !important;
}

.cb-banner-wrapper .owl-dot.active span {
    width: 24px !important;
    background: var(--cb-primary) !important;
}

/* ==========================================================================
   TOP CATEGORIES (Clean Circular / Rounded Cards)
   ========================================================================== */
.cb-section {
    padding: 16px 0 !important;
}

.cb-section-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 14px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #f0f0f0 !important;
    position: relative !important;
}

.cb-section-header::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 60px !important;
    height: 2px !important;
    background: var(--cb-primary) !important;
}

.cb-section-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--cb-text-dark) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    letter-spacing: -0.2px !important;
}

.cb-section-title i {
    color: var(--cb-primary) !important;
}

.cb-view-all-link {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--cb-primary) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: gap 0.2s !important;
}

.cb-view-all-link:hover {
    gap: 7px !important;
    color: var(--cb-primary-hover) !important;
}

/* Category Grid / Carousel */
.cb-category-grid {
    display: grid !important;
    grid-template-columns: repeat(8, 1fr) !important;
    gap: 12px !important;
}

@media (max-width: 1200px) {
    .cb-category-grid { grid-template-columns: repeat(6, 1fr) !important; }
}

@media (max-width: 992px) {
    .cb-category-grid { grid-template-columns: repeat(5, 1fr) !important; }
}

@media (max-width: 768px) {
    .cb-category-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 8px !important; }
}

@media (max-width: 480px) {
    .cb-category-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
}

.cb-category-card {
    background: #ffffff !important;
    border: 1px solid var(--cb-border) !important;
    border-radius: var(--cb-radius-md) !important;
    padding: 12px 6px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-shadow: var(--cb-shadow-sm) !important;
}

.cb-category-card:hover {
    border-color: var(--cb-primary) !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--cb-shadow-hover) !important;
}

.cb-category-icon-box {
    width: 62px !important;
    height: 62px !important;
    border-radius: 50% !important;
    background: #f9fafb !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 8px !important;
    overflow: hidden !important;
    border: 1px solid #f3f4f6 !important;
    transition: transform 0.25s ease !important;
}

.cb-category-card:hover .cb-category-icon-box {
    transform: scale(1.08) !important;
}

.cb-category-icon-box img {
    width: 80% !important;
    height: 80% !important;
    object-fit: contain !important;
}

.cb-category-name {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #374151 !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.cb-category-card:hover .cb-category-name {
    color: var(--cb-primary) !important;
}

/* ==========================================================================
   HOT DEALS (Timer & Header)
   ========================================================================== */
.cb-hotdeal-header {
    background: linear-gradient(135deg, #fff7ed, #ffffff) !important;
    border: 1.5px solid #fed7aa !important;
    border-radius: var(--cb-radius-md) !important;
    padding: 12px 16px !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.cb-hotdeal-badge-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.cb-fire-badge {
    background: #ea580c !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    text-transform: uppercase !important;
}

.cb-timer-container {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.cb-timer-label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #9a3412 !important;
    margin-right: 4px !important;
}

/* Timer SyoTimer Override */
.cb-timer-container .syotimer-cell {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1f2937 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    min-width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    padding: 0 4px !important;
    margin: 0 2px !important;
}

.cb-timer-container .syotimer-cell__value {
    color: #ffffff !important;
}

.cb-timer-container .syotimer-cell__unit {
    display: none !important;
}

/* ==========================================================================
   HOT DEALS SLIDER (Owl Carousel)
   ========================================================================== */
.cb-deals-slider {
    position: relative !important;
}

.cb-deals-slider .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

.cb-deals-slider .owl-item {
    display: flex !important;
    flex-direction: column !important;
}

.cb-deals-slider .cb-product-card {
    height: 100% !important;
    margin: 4px 1px !important;
    width: 100% !important;
}

/* Centered Modern Navigation Controls */
.cb-deals-slider .owl-nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 18px auto 8px auto !important;
    width: 100% !important;
    text-align: center !important;
    position: static !important;
    float: none !important;
    clear: both !important;
}

.cb-deals-slider .owl-nav button.owl-prev,
.cb-deals-slider .owl-nav button.owl-next {
    position: static !important;
    float: none !important;
    transform: none !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #1f2937 !important;
    border: 1.5px solid #e5e7eb !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cb-deals-slider .owl-nav button.owl-prev i,
.cb-deals-slider .owl-nav button.owl-next i {
    font-size: 15px !important;
    color: #1f2937 !important;
    line-height: 1 !important;
    display: block !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.cb-deals-slider .owl-nav button.owl-prev:hover,
.cb-deals-slider .owl-nav button.owl-next:hover,
.cb-deals-slider .owl-nav button.owl-prev:active,
.cb-deals-slider .owl-nav button.owl-next:active {
    background: #f8a31a !important;
    color: #ffffff !important;
    border-color: #f8a31a !important;
    box-shadow: 0 4px 16px rgba(248, 163, 26, 0.45) !important;
    transform: translateY(-2px) scale(1.08) !important;
}

.cb-deals-slider .owl-nav button.owl-prev:hover i,
.cb-deals-slider .owl-nav button.owl-next:hover i,
.cb-deals-slider .owl-nav button.owl-prev:active i,
.cb-deals-slider .owl-nav button.owl-next:active i {
    color: #ffffff !important;
}

.cb-deals-slider .owl-nav button.owl-prev:hover i {
    transform: translateX(-2px) !important;
}

.cb-deals-slider .owl-nav button.owl-next:hover i {
    transform: translateX(2px) !important;
}

@media (max-width: 768px) {
    .cb-deals-slider .owl-nav {
        margin: 14px auto 6px auto !important;
        gap: 14px !important;
    }
    .cb-deals-slider .owl-nav button.owl-prev,
    .cb-deals-slider .owl-nav button.owl-next {
        width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
    }
    .cb-deals-slider .owl-nav button.owl-prev i,
    .cb-deals-slider .owl-nav button.owl-next i {
        font-size: 14px !important;
    }
}

/* ==========================================================================
   PRODUCT CARDS (Chowk Bazar Style: "product-card-two")
   ========================================================================== */
.cb-product-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
}

@media (max-width: 1200px) {
    .cb-product-grid { grid-template-columns: repeat(5, 1fr) !important; }
}

@media (max-width: 992px) {
    .cb-product-grid { grid-template-columns: repeat(4, 1fr) !important; }
}

/* Category & Shop Page Product Grid (with 3-col sidebar on desktop) */
.cb-category-product-grid,
.col-sm-9 .category-product {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    overflow: visible !important;
}

@media (min-width: 1400px) {
    .cb-category-product-grid,
    .col-sm-9 .category-product {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 16px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .cb-category-product-grid,
    .col-sm-9 .category-product {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 14px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .cb-category-product-grid,
    .col-sm-9 .category-product {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .cb-category-product-grid,
    .col-sm-9 .category-product {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }
}

@media (max-width: 768px) {
    .cb-product-grid,
    .cb-category-product-grid,
    .category-product,
    .col-sm-9 .category-product {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px 10px !important;
    }
}

@media (max-width: 480px) {
    .cb-product-grid,
    .cb-category-product-grid,
    .category-product,
    .col-sm-9 .category-product {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px 8px !important;
    }
}

/* Modernized Pagination for Category / Shop Pages */
.custom_paginate {
    margin-top: 32px !important;
    margin-bottom: 24px !important;
    display: flex !important;
    justify-content: center !important;
}

.custom_paginate .pagination {
    margin: 0 !important;
    gap: 6px !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

.custom_paginate .page-item .page-link {
    color: var(--cb-text-dark) !important;
    border-radius: 8px !important;
    border: 1px solid var(--cb-border) !important;
    padding: 8px 14px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
}

.custom_paginate .page-item.active .page-link {
    background: linear-gradient(90deg, #f8a31a, #e08e0e) !important;
    border-color: #f8a31a !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(248, 163, 26, 0.35) !important;
}

.custom_paginate .page-item .page-link:hover:not(.active) {
    background-color: var(--cb-primary-light) !important;
    color: var(--cb-primary) !important;
    border-color: var(--cb-primary) !important;
}

.cb-product-card {
    background: #ffffff !important;
    border: 1px solid var(--cb-border) !important;
    border-radius: var(--cb-radius-md) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.25s ease !important;
    position: relative !important;
    box-shadow: var(--cb-shadow-sm) !important;
}

.cb-product-card:hover {
    border-color: var(--cb-primary) !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--cb-shadow-hover) !important;
}

/* Floating Discount Badge */
.cb-discount-badge {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 2 !important;
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 3px 7px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35) !important;
    letter-spacing: 0.2px !important;
    line-height: 1.2 !important;
}

/* Image Slot */
.cb-product-img-box {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: #f9fafb !important;
    display: block !important;
}

.cb-product-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.35s ease !important;
    padding: 0 !important; /* Fix old 14% padding bug */
}

.cb-product-card:hover .cb-product-img-box img {
    transform: scale(1.06) !important;
}

/* Product Info */
.cb-product-body {
    padding: 10px 10px 6px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.cb-product-title {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--cb-text-dark) !important;
    line-height: 1.35 !important;
    margin: 0 0 6px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 36px !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.cb-product-title:hover {
    color: var(--cb-primary) !important;
}

/* Pricing Row */
.cb-product-pricing {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    margin-top: auto !important;
    margin-bottom: 8px !important;
}

.cb-price-current {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #e65100 !important;
    letter-spacing: -0.3px !important;
}

@media (max-width: 576px) {
    .cb-price-current { font-size: 14.5px !important; }
    .cb-product-title { font-size: 12.5px !important; min-height: 34px !important; }
}

.cb-price-old {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #9ca3af !important;
    text-decoration: line-through !important;
}

/* Order Now Action Button */
.cb-product-action {
    padding: 0 10px 10px 10px !important;
    margin-top: auto !important;
}

.cb-product-action form {
    margin: 0 !important;
    padding: 0 !important;
}

.cb-btn-order {
    width: 100% !important;
    background: linear-gradient(90deg, #f8a31a, #e08e0e) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--cb-radius-sm) !important;
    padding: 8px 12px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(248, 163, 26, 0.25) !important;
    transition: all 0.2s ease !important;
}

.cb-btn-order:hover {
    background: linear-gradient(90deg, #e08e0e, #ca7a04) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(248, 163, 26, 0.4) !important;
    transform: translateY(-1px) !important;
}

.cb-btn-order:active {
    transform: translateY(1px) !important;
}

/* Reset any interfering old styles */
.product_item,
.product_item_inner {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.pro_img img {
    padding-top: 0 !important;
}

/* ==========================================================================
   FLOATING CHAT & MOBILE INSETS (Chowk Bazar reference)
   ========================================================================== */
.cb-float-chat {
    position: fixed !important;
    bottom: 75px !important;
    right: 18px !important;
    z-index: 999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.cb-float-chat-btn {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: #25d366 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 26px !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4) !important;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.cb-float-chat-btn:hover {
    transform: scale(1.1) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.6) !important;
}

/* ==========================================================================
   MODERN BRANDED BOTTOM NAVIGATION BAR (.footer_nav)
   ========================================================================== */
.footer_nav {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 60px !important;
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
    z-index: 9980 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.footer_nav ul {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    align-items: center !important;
}

.footer_nav ul li {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.footer_nav ul li a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    color: #64748b !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
}

.footer_nav ul li a:hover,
.footer_nav ul li a:active {
    color: #ea580c !important;
}

.footer_nav .cb-foot-icon-wrap {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 24px !important;
}

.footer_nav .cb-foot-icon-wrap i {
    font-size: 19px !important;
    color: inherit !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
}

.footer_nav .cb-whatsapp-icon {
    color: #25d366 !important;
    font-size: 21px !important;
}

.footer_nav ul li a:hover .cb-foot-icon-wrap i,
.footer_nav ul li a:active .cb-foot-icon-wrap i {
    transform: scale(1.1) !important;
    color: #ea580c !important;
}

.footer_nav .cb-foot-label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: inherit !important;
    margin-top: 2px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.2px !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* Center Floating Brand Home Button */
.footer_nav ul li.mobile_home {
    position: relative !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: 100% !important;
}

.footer_nav ul li.mobile_home a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-bottom: 5px !important;
}

.footer_nav .cb-home-circle {
    position: absolute !important;
    top: -18px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
    border: 3.5px solid #ffffff !important;
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.footer_nav .cb-home-circle i {
    color: #ffffff !important;
    font-size: 20px !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.footer_nav ul li.mobile_home a:active .cb-home-circle {
    transform: translateX(-50%) scale(0.92) !important;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.5) !important;
}

.footer_nav ul li.mobile_home .cb-foot-label {
    color: #ea580c !important;
    font-weight: 700 !important;
    margin-top: 32px !important;
}

/* Floating Cart Badge on Bottom Nav */
.footer_nav .cb-foot-cart-badge,
.footer_nav .mobilecart-qty {
    position: absolute !important;
    top: -5px !important;
    right: -8px !important;
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
    min-width: 17px !important;
    height: 17px !important;
    padding: 0 4px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid #ffffff !important;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4) !important;
}

/* WhatsApp Floating Button on Mobile: Keep above 60px bottom nav */
.whatapp,
.cb-float-chat {
    bottom: 76px !important;
    right: 16px !important;
    z-index: 9970 !important;
}

/* Banner ads section */
.cb-ad-banner {
    border-radius: var(--cb-radius-md) !important;
    overflow: hidden !important;
    box-shadow: var(--cb-shadow-sm) !important;
    margin-bottom: 16px !important;
}

.cb-ad-banner img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.cb-ad-banner:hover img {
    transform: scale(1.02) !important;
}

/* View More Button (Chowk Bazar Pill Style) */
.show_more_btn,
.cb-view-more-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 20px !important;
    margin-bottom: 8px !important;
    width: 100% !important;
}

.view_more_btn,
.cb-btn-view-more {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 9px 30px !important;
    border-radius: 9999px !important;
    border: 2px solid var(--cb-primary) !important;
    background: #ffffff !important;
    color: var(--cb-primary) !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 6px rgba(248, 163, 26, 0.15) !important;
}

.view_more_btn:hover,
.cb-btn-view-more:hover {
    background: var(--cb-primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(248, 163, 26, 0.35) !important;
}

/* ==========================================================================
   INFINITE SCROLL LOADER & SPINNER
   ========================================================================== */
.cb-scroll-loader {
    display: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px 0 16px 0 !important;
    gap: 10px !important;
    color: var(--cb-text-muted) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    width: 100% !important;
}

.cb-scroll-loader.is-loading {
    display: flex !important;
}

.cb-spinner {
    width: 32px !important;
    height: 32px !important;
    border: 3px solid rgba(248, 163, 26, 0.2) !important;
    border-top-color: var(--cb-primary) !important;
    border-radius: 50% !important;
    animation: cb-spin 0.75s linear infinite !important;
}

@keyframes cb-spin {
    to { transform: rotate(360deg); }
}

.cb-end-of-products {
    display: none !important;
}

.cb-bottom-spacer {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Mobile Square Box refinements */
@media (max-width: 768px) {
    #all-products-section {
        padding-bottom: 20px !important;
    }
    .cb-product-card {
        border-radius: 12px !important;
    }
    .cb-product-body {
        padding: 8px 8px 4px 8px !important;
    }
    .cb-product-title {
        font-size: 12.5px !important;
        min-height: 34px !important;
        margin-bottom: 4px !important;
    }
    .cb-product-pricing {
        margin-bottom: 6px !important;
    }
    .cb-price-current {
        font-size: 14.5px !important;
    }
    .cb-product-action {
        padding: 0 8px 8px 8px !important;
    }
    .cb-btn-order {
        padding: 7px 8px !important;
        font-size: 12.5px !important;
        border-radius: 6px !important;
    }
    .cb-discount-badge {
        font-size: 10px !important;
        padding: 2px 6px !important;
        top: 6px !important;
        left: 6px !important;
    }
}

/* ==========================================================================
   MOBILE CART DRAWER (CHOWK BAZAR STYLE)
   ========================================================================== */
a.menu-bag {
    display: inline-flex !important;
    text-decoration: none !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
}

a.menu-bag:hover,
a.menu-bag:focus {
    text-decoration: none !important;
}

.mobile-logo .menu-bag .margin-shopping {
    cursor: pointer !important;
    transition: transform 0.15s ease, background-color 0.2s ease !important;
}

.mobile-logo .menu-bag:active .margin-shopping {
    transform: scale(0.92) !important;
}

.cb-cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cb-cart-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

body.cb-cart-open {
    overflow: hidden !important;
}

.cb-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 88vw;
    max-width: 390px;
    height: 100%;
    height: 100dvh;
    background: #ffffff;
    z-index: 99999;
    box-shadow: -6px 0 28px rgba(0, 0, 0, 0.2);
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cb-cart-drawer.is-open {
    transform: translateX(0);
}

.cb-cart-drawer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.cb-cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    flex-shrink: 0;
}

.cb-cart-drawer-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cb-cart-drawer-title i {
    color: var(--cb-primary);
    font-size: 17px;
}

.cb-cart-drawer-badge {
    background: var(--cb-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 9999px;
    line-height: 1.2;
}

.cb-cart-drawer-close {
    background: #f1f5f9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    outline: none;
}

.cb-cart-drawer-close:hover,
.cb-cart-drawer-close:active {
    background: #e2e8f0;
    color: #0f172a;
}

.cb-cart-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 14px 16px;
    -webkit-overflow-scrolling: touch;
}

.cb-cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cb-cart-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    position: relative;
    transition: background 0.15s ease;
}

.cb-cart-item-thumb {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cb-cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-cart-item-details {
    flex: 1 1 auto;
    min-width: 0;
}

.cb-cart-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 3px;
}

.cb-cart-item-name:hover {
    color: var(--cb-primary);
}

.cb-cart-item-variants {
    display: flex;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 4px;
}

.cb-cart-item-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}

.cb-cart-qty-pill {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    height: 26px;
}

.cb-cart-qty-btn {
    border: none;
    background: transparent;
    width: 24px;
    height: 100%;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    outline: none;
    transition: background 0.15s;
}

.cb-cart-qty-btn:active {
    background: #f1f5f9;
}

.cb-cart-qty-num {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    padding: 0 6px;
    min-width: 20px;
    text-align: center;
}

.cb-cart-item-price {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--cb-primary);
}

.cb-cart-item-remove {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
    align-self: center;
}

.cb-cart-item-remove:hover,
.cb-cart-item-remove:active {
    color: #ef4444;
    background: #fee2e2;
}

/* Empty State */
.cb-cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 16px;
    height: 100%;
}

.cb-cart-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff7ed;
    color: var(--cb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 16px;
}

.cb-cart-empty-state h4 {
    font-size: 16.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.cb-cart-empty-state p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.cb-cart-shop-now {
    background: var(--cb-primary);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(248, 163, 26, 0.35);
    transition: all 0.2s ease;
}

/* Drawer Footer */
.cb-cart-drawer-footer {
    padding: 14px 18px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.cb-cart-drawer-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14.5px;
    color: #475569;
}

.cb-cart-total-amount {
    font-size: 18.5px;
    font-weight: 800;
    color: var(--cb-primary);
}

.cb-cart-drawer-checkout-btn {
    background: var(--cb-primary);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(248, 163, 26, 0.4);
    transition: all 0.2s ease;
    text-align: center;
}

.cb-cart-drawer-checkout-btn:active {
    transform: scale(0.98);
}

.cb-cart-drawer-continue-btn {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    padding: 9px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
}

.cb-cart-drawer-continue-btn:hover,
.cb-cart-drawer-continue-btn:active {
    background: #f8fafc;
    color: #1e293b;
}

/* ==========================================================================
   PRODUCT DETAILS: COLLAPSIBLE DESCRIPTION ("SEE MORE")
   ========================================================================== */
.cb-description-container {
    position: relative;
    margin-top: 15px;
}

.cb-description-content {
    position: relative;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
    transition: max-height 0.4s ease-in-out;
}

.cb-description-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 10px 0;
}

/* Initially Collapsed Mode */
.cb-description-container.is-collapsible .cb-description-content {
    max-height: 220px;
}

/* Gradient Fade Overlay when collapsed */
.cb-description-container .cb-description-fade {
    display: none;
}

.cb-description-container.is-collapsible .cb-description-fade {
    display: block;
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 70%, #ffffff 100%);
    pointer-events: none;
    z-index: 2;
}

/* Expanded state */
.cb-description-container.is-expanded .cb-description-content {
    max-height: none !important;
}

.cb-description-container.is-expanded .cb-description-fade {
    display: none !important;
}

/* See More / See Less Button */
.cb-see-more-wrap {
    display: none;
    text-align: center;
    position: relative;
    z-index: 3;
    padding-top: 15px;
    margin-bottom: 10px;
}

.cb-description-container.is-collapsible .cb-see-more-wrap {
    display: block;
}

.cb-btn-see-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #20409a;
    border: 1.5px solid #20409a;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(32, 64, 154, 0.08);
    transition: all 0.25s ease;
    outline: none;
}

.cb-btn-see-more:hover {
    background: #20409a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(32, 64, 154, 0.22);
    transform: translateY(-1px);
}

.cb-btn-see-more:active {
    transform: translateY(0);
}

.cb-btn-see-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.cb-description-container.is-expanded .cb-btn-see-more i {
    transform: rotate(180deg);
}

/* Related Products Add to Cart Button Styling in details.blade.php */
.related-product-section .cb-btn-add-cart {
    background: #20409a;
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
}

.related-product-section .cb-btn-add-cart:hover {
    background: #172f75;
}

/* ==========================================================================
   RESPONSIVE HEADER, SEARCH BOX & CART BUTTON BREAKPOINTS
   ========================================================================== */
@media (max-width: 1280px) {
    .main-search {
        margin: 0 12px !important;
    }
    .main-search button,
    .main-search .cb-search-btn {
        padding: 0 18px !important;
    }
    .header-list-items > ul {
        gap: 8px !important;
    }
    .header-list-items > ul > li.track_btn a,
    .header-list-items > ul > li.for_order a {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
    .header-list-items > ul > li.cart-dialog p.margin-shopping,
    #cart-qty p.margin-shopping {
        padding: 7px 14px !important;
        height: 40px !important;
    }
}

@media (max-width: 1080px) {
    .main-logo img {
        max-width: 135px !important;
        height: 40px !important;
    }
    .main-search {
        margin: 0 8px !important;
    }
    .main-search button,
    .main-search .cb-search-btn {
        padding: 0 14px !important;
        font-size: 13px !important;
        gap: 5px !important;
    }
    .header-list-items > ul {
        gap: 6px !important;
    }
    .header-list-items > ul > li.track_btn a,
    .header-list-items > ul > li.for_order a {
        padding: 7px 10px !important;
        font-size: 12.5px !important;
        gap: 5px !important;
    }
    .header-list-items > ul > li.cart-dialog p.margin-shopping,
    #cart-qty p.margin-shopping {
        padding: 7px 12px !important;
        height: 38px !important;
    }
}

@media (max-width: 991px) {
    .main-header {
        display: none !important;
    }
    .mobile-header,
    .mobile-search {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .mobile-header,
    .mobile-search {
        display: none !important;
    }
    .main-header {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .mobile-logo {
        padding: 8px 10px !important;
    }
    .mobile-logo .menu-logo img {
        max-height: 32px !important;
    }
    .mobile-search {
        padding: 6px 10px !important;
    }
    .mobile-search form,
    .mobile-search .cb-search-form {
        height: 40px !important;
    }
    .mobile-search form input,
    .mobile-search input#mobilesearchbox,
    .mobile-search input.msearch_keyword {
        padding: 0 10px !important;
        font-size: 13px !important;
    }
    .mobile-search form button,
    .mobile-search .cb-search-btn {
        padding: 0 12px !important;
        font-size: 12.5px !important;
        gap: 5px !important;
    }
    .mobile-logo .menu-bag .margin-shopping {
        height: 34px !important;
        padding: 5px 10px !important;
    }
}
