/*
Theme Name: Slimora Commerce
Theme URI: https://startupradiator.com
Author: Startup Radiator
Author URI: https://startupradiator.com
Description: Ultra-fast, zero-Elementor direct COD eCommerce theme built for maximum conversion speed and native WooCommerce performance by Startup Radiator.
Version: 1.8.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: slimora
*/

:root {
    --brand-50: #fff1f2;
    --brand-100: #ffe4e6;
    --brand-200: #fecdd3;
    --brand-700: #9f1239;
    --brand-800: #831828;
    --brand-900: #6e1624;
    --brand-dark: #4c0519;
    --accent: #d97706;
    --dark: #0f172a;
    --gray-bg: #f8fafc;
    --border: #e2e8f0;
}

body {
    font-family: 'Hind Siliguri', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Base Utility & Reset */
* {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Line Clamp Utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* GoKart-Style Banners Carousel */
.banners-wrap {
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
}
.banners {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.banners::-webkit-scrollbar { display: none; }
.bn {
    flex: 0 0 100%;
    scroll-snap-align: center;
    border-radius: 20px;
    min-height: 180px;
    display: grid;
    grid-template-columns: 1fr 130px;
    align-items: center;
    gap: 12px;
    padding: 18px 16px;
    overflow: hidden;
    position: relative;
    background-color: #6e1624;
    color: #ffffff !important;
}
@media (min-width: 640px) {
    .bn {
        grid-template-columns: 1fr 190px;
        min-height: 220px;
        padding: 24px 32px;
    }
}
.bn h2 {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    margin: 6px 0 4px;
}
.bn h2 a {
    color: #ffffff !important;
}
@media (min-width: 640px) {
    .bn h2 {
        font-size: 26px;
    }
}
.bn p {
    margin: 4px 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95) !important;
}
.bn img, .bn .banner-product-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    display: block;
}
@media (min-width: 640px) {
    .bn img, .bn .banner-product-img {
        width: 175px;
        height: 175px;
        border-radius: 20px;
    }
}
.bn .tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
}
.bn-burgundy {
    background: linear-gradient(135deg, #6e1624 0%, #8b1e32 100%) !important;
    color: #ffffff !important;
}

.bn-emerald {
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%) !important;
    color: #ffffff !important;
}
.bn-plum {
    background: linear-gradient(135deg, #4a044e 0%, #701a75 100%) !important;
    color: #ffffff !important;
}
.dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding-top: 6px;
    padding-bottom: 8px;
}
.dots i {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: #cbd5e1;
    transition: width 0.25s ease, background-color 0.25s ease;
    display: inline-block;
}
.dots i.on {
    width: 20px;
    background: #6e1624;
}

/* Upcoming Campaign Lead Notification Modal */
#notify-lead-modal {
    z-index: 99999 !important;
}

/* Live Instant Search Autocomplete Dropdown */
.slimora-search-results {
    max-height: 420px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #fecdd3 transparent;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.slimora-search-results::-webkit-scrollbar {
    width: 5px;
}
.slimora-search-results::-webkit-scrollbar-track {
    background: transparent;
}
.slimora-search-results::-webkit-scrollbar-thumb {
    background-color: #fecdd3;
    border-radius: 999px;
}
.slimora-search-results::-webkit-scrollbar-thumb:hover {
    background-color: #fda4af;
}

/* Ensure banner text contrast across all slides */
.bn h2, .bn h2 a, .bn p, .bn .num {
    color: #ffffff !important;
}
.bn-emerald {
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%) !important;
    color: #ffffff !important;
}
.bn-plum {
    background: linear-gradient(135deg, #4a044e 0%, #701a75 100%) !important;
    color: #ffffff !important;
}
.bn-burgundy {
    background: linear-gradient(135deg, #6e1624 0%, #8b1e32 100%) !important;
    color: #ffffff !important;
}

/* GoKart-Style Swipable Category Pills (Single-Line Horizontal Swipe on Mobile) */
.chips {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    overflow-x: auto !important;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    padding-top: 2px;
    margin-bottom: 12px;
}
.chips::-webkit-scrollbar {
    display: none;
}
.chip {
    flex: 0 0 auto !important;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap !important;
    user-select: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.chip:hover {
    border-color: #6e1624;
    color: #6e1624;
    background: #fff1f2;
}
.chip.on {
    background: #6e1624 !important;
    border-color: #6e1624 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(110, 22, 36, 0.22);
}
