@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800;900&display=swap');

:root {
    --primary-orange: #ea580c;
    --primary-orange-hover: #c2410c;
    --primary-orange-light: #fff7ed;
    --dark-bg: #111215;
    --dark-card: #1c1d22;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #fcfcfc;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* Custom subtle scrollbar */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Orange accent border left utility */
.orange-accent-bar {
    position: relative;
    padding-left: 0.85rem;
}
.orange-accent-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 3.5px;
    background-color: var(--primary-orange);
    border-radius: 2px;
}

/* Custom Dual Range Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
}
.slider-track {
    position: absolute;
    height: 100%;
    background: var(--primary-orange);
    border-radius: 4px;
}
.range-input {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
.range-input::-webkit-slider-thumb {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--primary-orange);
    pointer-events: auto;
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.1s ease;
}
.range-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}
.range-input::-moz-range-thumb {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--primary-orange);
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Card hover animation */
.product-card {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.08);
}

/* Toast container */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    pointer-events: auto;
    background: #111215;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid var(--primary-orange);
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.875rem;
}
@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Mobile responsive helpers */
@media (max-width: 640px) {
    #toast-container {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
    .toast {
        padding: 10px 14px;
        font-size: 0.8125rem;
    }
}

/* Smooth touch scrolling */
.touch-scroll {
    -webkit-overflow-scrolling: touch;
}

/* Mobile image constraints */
img {
    max-width: 100%;
    height: auto;
}

