@tailwind base;
@tailwind components;
@tailwind utilities;
@import 'icomoon/style.css';



:root {
    --primary-color: #1F1F1F;
    --primary-light: #404040;
    --primary-dark:  #000000;
    --accent-color:  #E62E04;
}

.theme-btn {
    background: var(--primary-color);
}

.chunk-loading {
    position: relative;
    opacity: 0.5;
    pointer-events: none;
}

.progress {
    position: absolute;
    top: 0;
    height: 4.5px;
    width: 100%;
    background: linear-gradient(var(--black) 0 0),
        linear-gradient(var(--black) 0 0),
        #dbdcef;
    background-size: 60% 100%;
    background-repeat: no-repeat;
    animation: progress-7x9cg2 2.4000000000000004s infinite;
}

@keyframes progress-7x9cg2 {
    0% {
        background-position: -150% 0, -150% 0;
    }

    66% {
        background-position: 250% 0, -150% 0;
    }

    100% {
        background-position: 250% 0, 250% 0;
    }
}

.st-text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 160px;
}

.footer-main {
    background: var(--primary-color);
    color: white;
}

.header-logo img {
    max-height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.header-logo img.logo-vertical {
    max-height: 48px;
    max-width: 56px;
}

.header-logo.fixed {
    margin-top: inherit !important;
}

.header-logo.fixed img {
    max-height: 44px !important;
    width: auto !important;
    max-width: 150px !important;
}

.header-logo.fixed img.logo-vertical {
    max-height: 44px !important;
    max-width: 52px !important;
}

.footer-quick-menus :nth-child(n+3).caption1 {
    padding-top: 0.5rem;
}

.skeleton-item {
    border-radius: 1rem;
    overflow: hidden;
    background-color: #fff;
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

.bg-gray-300 {
    background-color: #d1d5db;
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.animate-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.visibility-hidden {
    visibility: hidden;
}

/* Price range bar – override global .progress loading animation */
.filter-price .tow-bar-block .progress {
    animation: none !important;
    background: var(--black) !important;
    background-size: 100% 100% !important;
    width: auto !important;
    top: 0 !important;
}

/* Filter loading state on product grid */
.list-product {
    transition: opacity 0.18s ease;
}
.list-product.filtering {
    opacity: 0.45;
    pointer-events: none;
}

/* Active-filter count badge on the Filters button */
.filter-count-badge {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--black);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 991px) {

    .header-logo img,
    .header-logo.fixed img {
        max-height: 36px !important;
        width: auto !important;
        max-width: 110px !important;
    }

    .header-logo img.logo-vertical,
    .header-logo.fixed img.logo-vertical {
        max-height: 36px !important;
        max-width: 40px !important;
    }

    .slider-block {
        height: 150px !important;
    }

    .mobile-view-off {
        display: none !important;
    }
}