* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html, body {
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fa;
    color: #1a1a2e;
    padding-bottom: 0;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media(max-width:767px) {
    body {
        padding-bottom: 56px;
        font-size: 14px;
    }
}

::-webkit-scrollbar {
    width: 5px
}

::-webkit-scrollbar-track {
    background: #f1f1f1
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px
}

#mcDr {
    z-index: 1000 !important;
}

.scr::-webkit-scrollbar {
    width: 3px
}

.scr::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 2px
}

@media (min-width: 1024px) {
    .lg\:grid-cols-5 {
        grid-template-columns: repeat(9, minmax(0, 1fr));
    }
}

.text-xs {
    font-size: 12px !important;
}

.text-sm {
    font-size: 13px !important;
}

.text-base {
    font-size: 15px !important;
}

.text-lg {
    font-size: 17px !important;
}

.text-xl {
    font-size: 19px !important;
}

.text-2xl {
    font-size: 22px !important;
}

.text-3xl {
    font-size: 26px !important;
}

.text-\[9px\] {
    font-size: 10px !important;
}

.text-\[10px\] {
    font-size: 11px !important;
}

.text-\[11px\] {
    font-size: 11px !important;
}

@keyframes fi {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.afi {
    animation: fi .3s ease-out forwards
}

.promo {
    background: #d60b0a;
    overflow: hidden;
}

.promo-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.promo-item {
    flex-shrink: 0;
    padding: 0 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes sh {
    0% {
        background-position: -200% 0
    }

    100% {
        background-position: 200% 0
    }
}

.pc {
    transition: all .2s ease
}

.pc:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08)
}

.ci {
    transition: all .15s ease;
    border-left: 3px solid transparent
}

.ci:hover,
.ci.act {
    background: #eff6ff;
    border-left-color: #0d6fbd
}

.ci.act .cn {
    color: #0d6fbd;
    font-weight: 600
}

.vbtn {
    transition: all .15s ease;
    cursor: pointer
}

.vbtn.sel {
    background: #0d6fbd;
    color: #fff;
    border-color: #0d6fbd
}

.qb {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s
}

.qb:hover {
    background: #0d6fbd;
    color: #fff
}

.ov {
    background: rgba(0, 0, 0, .5);
    transition: opacity .3s;
    z-index: 60 !important;
}

.thb {
    border: 2px solid transparent;
    transition: all .15s;
    cursor: pointer
}

.thb.act {
    border-color: #1e40af
}

.lc2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.sbr {
    transition: all .15s
}

.sbr:hover {
    transform: scale(1.1)
}

.tst {
    animation: fi .3s ease-out forwards
}

@media only screen and (max-width: 767px) {
    .w-auto {
        width: 130px !important;
        height: auto;
    }

    .overflow-y-auto {
        overflow-y: auto;
        padding: 10px;
    }
}

.loc-popup-overlay {
    background: rgba(0, 0, 0, 0.5);
    transition: opacity .3s;
}

.loc-popup {
    animation: fi .3s ease-out forwards;
}

.loc-suggestions {
    max-height: 200px;
    overflow-y: auto;
}

.loc-sug-item {
    transition: background .15s;
    cursor: pointer;
}

.loc-sug-item:hover {
    background: #eff6ff;
}

@media (max-width: 767px) {
    .sub-cat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

.fb-bar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.fb-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.fb-divider {
    width: 1px;
    height: 22px;
    background: #e2e8f0;
    flex-shrink: 0;
}

.fb-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.fb-group-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
}

.fb-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    user-select: none;
}

.fb-chip:hover {
    border-color: #0d6fbd;
    color: #0d6fbd;
    background: #eff6ff;
}

.fb-chip.fb-active {
    border-color: #0d6fbd;
    background: #0d6fbd;
    color: #fff;
}

.fb-chip.fb-active:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
}

.fb-price-range {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fb-price-input {
    width: 68px;
    padding: 4px 8px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    color: #1a1a2e;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.15s;
}

.fb-price-input:focus {
    border-color: #0d6fbd;
    background: #fff;
}

.fb-price-sep {
    font-size: 11px;
    color: #94a3b8;
}

.fb-apply-btn {
    padding: 4px 12px;
    background: #1e40af;
    color: #fff;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.15s;
    white-space: nowrap;
}

.fb-apply-btn:hover {
    background: #1e3a8a;
}

.fb-clear {
    margin-left: auto;
    font-size: 11px;
    color: #ef4444;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.15s;
}

.fb-clear:hover {
    background: #fef2f2;
}

.fb-active-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    background: #ef4444;
    color: #fff;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    padding: 0 4px;
}

.fb-mobile-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    transition: all 0.15s;
}

.fb-mobile-btn:hover,
.fb-mobile-btn.fb-has-filters {
    border-color: #0d6fbd;
    color: #0d6fbd;
    background: #eff6ff;
}

.fb-drawer-overlay {
    background: rgba(0, 0, 0, 0.6);
    z-index: 100;
}

.fb-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    z-index: 101;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 90vh;
    overflow-y: auto;
    padding-bottom: env(safe-area-inset-bottom, 20px);
}

@media(max-width:767px) {
    .fb-drawer {
        bottom: 0;
    }
}

.fb-drawer.fb-open {
    transform: translateY(0);
}

.fb-drawer-handle {
    width: 36px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    margin: 10px auto 0;
}

.fb-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 10px;
    border-bottom: 1px solid #f1f5f9;
}

.fb-drawer-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 7px;
}

.fb-drawer-section {
    padding: 14px 18px;
    border-bottom: 1px solid #f8fafc;
}

.fb-drawer-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.fb-drawer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.fb-drawer-footer {
    padding: 14px 18px;
    display: flex;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #f1f5f9;

}



.fb-drawer-reset {
    flex: 1;
    padding: 11px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
}

.fb-drawer-reset:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.fb-drawer-apply {
    flex: 2;
    padding: 11px;
    background: #1e40af;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
    text-align: center;
}

.fb-drawer-apply:hover {
    background: #1e3a8a;
}

.fb-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fb-price-input-lg {
    flex: 1;
    min-width: 80px;
    padding: 9px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    color: #1a1a2e;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.15s;
}

.fb-price-input-lg:focus {
    border-color: #0d6fbd;
    background: #fff;
}

.fb-active-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 0 10px 0;
}

.fb-active-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px 3px 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #0d6fbd;
}

.fb-tag-x {
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    color: #3b82f6;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fb-tag-x:hover {
    background: #dbeafe;
    color: #0d6fbd;
}

.fb-results-badge {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.fb-results-badge strong {
    color: #0d6fbd;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.scrollbar-hide {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

#dash {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

/* Mobile View */
@media (max-width: 767px) {
    #dash {
        width: auto;
        max-width: 100%;
    }
}

footer {
    background-color: #d7aa5d !important;
    color: #1a1a2e !important;
    margin-top: auto !important;
}

footer h3 {
    color: #1a1a2e !important;
}

footer p,
footer span,
footer li {
    color: #2d2d42 !important;
}

footer a {
    color: #2d2d42 !important;
    transition: color 0.15s ease !important;
}

footer a:hover {
    color: #d60b0a !important;
    /* Brand Red on hover */
}

/* Contacts Iconify icons - Use Brand Red to make them pop elegantly */
footer ul li iconify-icon {
    color: #d60b0a !important;
}

/* Social icons styling */
footer .flex.gap-3 a,
footer a.w-8.h-8 {
    background-color: rgba(26, 26, 46, 0.08) !important;
}

footer .flex.gap-3 a iconify-icon,
footer a.w-8.h-8 iconify-icon {
    color: #1a1a2e !important;
    transition: color 0.15s ease, transform 0.15s ease !important;
}

footer .flex.gap-3 a:hover,
footer a.w-8.h-8:hover {
    background-color: #d60b0a !important;
}

footer .flex.gap-3 a:hover iconify-icon,
footer a.w-8.h-8:hover iconify-icon {
    color: #ffffff !important;
}

/* Bottom copyright divider */
footer .border-t {
    border-color: rgba(26, 26, 46, 0.12) !important;
}

footer .border-t p {
    color: #4a4a60 !important;
}

/* Mobile & General List View layout (active when .list-view class is present and viewport is mobile) */
@media only screen and (max-width: 767px) {
    .list-view .pc {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        padding: 0.5rem !important;
        gap: 0.75rem !important;
        min-height: 120px !important;
    }

    .list-view .pc>div:first-child {
        width: 33% !important;
        max-width: 108px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .list-view .pc>div:first-child img {
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
        background-color: #f9fafb !important;
        border-radius: 0.5rem !important;
    }

    .list-view .pc .pc-add-mobile {
        display: block !important;
    }

    .list-view .pc .pc-add-desktop {
        display: none !important;
    }

    .list-view .pc>div:last-child {
        width: 67% !important;
        flex-grow: 1 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        min-height: unset !important;
        height: 100% !important;
    }

    .list-view .pc h3 {
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        color: #111827 !important;
        margin-bottom: 0.15rem !important;
    }

    /* Show description in list view */
    .list-view .pc .pc-desc {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-top: 0.15rem !important;
        margin-bottom: 0.4rem !important;
        color: #6b7280 !important;
        font-size: 0.7rem !important;
        line-height: 1.15rem !important;
    }

    .list-view .pc .list-show {
        display: inline !important;
    }

    .list-view .pc .list-hide {
        display: none !important;
    }

    .list-view .pc .add-btn {
        background-color: #000000 !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 9999px !important;
        padding: 0.4rem 1.2rem !important;
        font-size: 0.7rem !important;
        text-transform: none !important;
        font-weight: 600 !important;
        width: auto !important;
        letter-spacing: normal !important;
    }

    .list-view .pc .add-btn:hover {
        background-color: #1f2937 !important;
    }
}

/* Desktop screen styles for list view when active */
@media (min-width: 768px) {
    .md-list-view .pc {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        padding: 1rem !important;
        gap: 1.5rem !important;
        min-height: 160px !important;
    }

    .md-list-view .pc>div:first-child {
        width: 25% !important;
        max-width: 150px !important;
        flex-shrink: 0 !important;
    }

    .md-list-view .pc>div:first-child img {
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
        background-color: #f9fafb !important;
        border-radius: 0.5rem !important;
    }

    .md-list-view .pc>div:last-child {
        width: 75% !important;
        flex-grow: 1 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        min-height: unset !important;
        height: 100% !important;
    }

    .md-list-view .pc h3 {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: #111827 !important;
        margin-bottom: 0.25rem !important;
    }

    .md-list-view .pc .pc-desc {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-top: 0.25rem !important;
        margin-bottom: 0.5rem !important;
        color: #6b7280 !important;
        font-size: 0.75rem !important;
        line-height: 1.25rem !important;
    }

    .md-list-view .pc .list-show {
        display: inline !important;
    }

    .md-list-view .pc .list-hide {
        display: none !important;
    }

    .md-list-view .pc .add-btn {
        background-color: #000000 !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 9999px !important;
        padding: 0.5rem 1.5rem !important;
        font-size: 0.75rem !important;
        text-transform: none !important;
        font-weight: 600 !important;
        width: auto !important;
        letter-spacing: normal !important;
    }

    .md-list-view .pc .add-btn:hover {
        background-color: #1f2937 !important;
    }
}

/* Hide description and alternate label in grid view by default */
.pc .pc-desc {
    display: none;
}

.pc .list-show {
    display: none;
}

.pc .list-hide {
    display: inline;
}


@media only screen and (max-width: 768px) {
    #sec-section {
        display: none !important;
    }
}


#app {
    margin-bottom: 50px;
}