:root {
    --blue: #1744fd !important;
    --yellow: #fdd017 !important;
    --muted: #7c7c7c !important;
    --text: #323232 !important;
    --bg: #ffffff !important;
    --container: 1536px !important;
}

* {
    box-sizing: border-box !important;
}

body {
    font-family: Tahoma, Arial, sans-serif !important;
    color: var(--text) !important;
    background: var(--bg) !important;
    margin: 0 !important;
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: var(--container) !important;
    margin: 0 auto !important;
    padding: 24px 80px !important;
    flex: 1 !important;
}

.nav {
    background: linear-gradient(91deg, #fff 0%, #82cbff 40%, #1744fd 100%) !important;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 20 !important
}

.nav-inner {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    padding: 14px 24px !important
}

.logo img {
    height: 40px !important
}

.nav-links {
    display: flex !important;
    gap: 14px !important;
    margin-left: 24px !important
}

/* .nav-links a {
    font-weight: 600 !important
} */

.nav-actions {
    margin-left: auto !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center !important
}

.search {
    padding: 8px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #ddd !important
}

.lang {
    background: var(--blue) !important;
    color: white !important;
    border: none !important;
    padding: 8px 12px !important;
    border-radius: 8px !important
}

.breadcrumbs {
    color: var(--muted) !important;
    font-size: 14px !important;
    margin-bottom: 50px !important;
}

.current-breadcrumb {
    color: #1744FD;
    font-family: Tahoma;
    font-style: normal;
    font-weight: 700;
    margin-left: 6px !important;
}

.page-title {
    font-size: 40px !important;
    font-weight: 700 !important;
    margin: 8px 0 20px !important
}

.lead {
    font-size: 16px !important;
    margin: 0 0 30px !important;
    color: var(--muted) !important
}

.all-products-label {
    color: var(--800, #323232) !important;

    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 700 !important;
}

.top-categories {
    margin: 18px 0 !important;
    position: relative !important;
}

.cat-list {
    display: flex !important;
    gap: 16px !important;
    overflow-x: auto !important;
    padding-bottom: 50px !important;
    scrollbar-color: var(--blue) #f1f1f1 !important;
    scrollbar-width: thin !important;
}

.cat-list::-webkit-scrollbar {
    height: 8px !important;
}

.cat-list::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 4px !important;
}

.cat-list::-webkit-scrollbar-thumb {
    background: var(--blue) !important;
    border-radius: 4px !important;
}

.scroll-arrow {
    position: absolute !important;
    top: 40px !important;
    /* Adjust to center vertically relative to the images, ignoring padding/scrollbar */
    transform: translateY(-50%) !important;
    background: var(--blue) !important;
    color: white !important;
    border: 1px solid #ddd !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    border-radius: 50% !important;
    width: 56px !important;
    height: 56px !important;
    display: none !important;
    /* Managed by JS */
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    transition: opacity 0.2s !important;
}

.scroll-arrow-left {
    left: -20px !important;
}

.scroll-arrow-right {
    right: -20px !important;
}

.scroll-arrow i {
    font-size: 24px !important;
    color: #ffffff !important;
}

.cat {
    min-width: 187px !important;
    max-width: 187px !important;
    text-align: center !important;
}

.cat img {
    width: 100% !important;
    border-radius: 8px !important;
    height: 84px !important;
    object-fit: cover !important
}

.cat p {
    font-size: 14px !important;
    margin: 8px 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
}

.meta-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 18px 0 !important
}

.results {
    color: var(--muted) !important
}

.controls {
    display: flex !important;
    gap: 12px !important
}

.filter,
.sort,
.woocommerce-ordering .orderby {
    border: 1px solid var(--blue) !important;
    background: white !important;
    color: var(--blue) !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
}

.woocommerce-ordering {
    position: relative !important;
}

.woocommerce-ordering::before {
    content: "Sort :" !important;
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--blue) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    font-size: 14px !important;
}

.woocommerce-ordering .orderby {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231744fd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding: 8px 40px 8px 55px !important;
    width: auto !important;
    cursor: pointer !important;
    height: auto !important;
    font-size: 14px !important;
    color: var(--blue) !important;
    background-color: white !important;
}

.products {
    display: grid !important;
    /* Creates as many columns as possible with a min-width of 0px. */
    /* If space is left over, the 1fr allows columns to stretch and fill it. */
    grid-template-columns: repeat(auto-fill, minmax(296px, 1fr)) !important;
    gap: 24px !important;
    /* Adds space between grid items */
}

.product {
    background: #fff !important;
    border-radius: 8px !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 60px !important;
    width: 100% !important;
}

.product-image-wrapper {
    height: 240px !important;
    width: 296px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}

.product img {
    height: 100% !important;
    object-fit: cover !important
}

.product h3 {
    font-size: 16px !important;
    margin: 12px 0 6px !important;
    font-weight: 700 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.5em !important;
    height: 3em !important;
}

.product .muted {
    color: var(--muted) !important;
    font-size: 14px !important;
    margin: 0 0 8px !important
}

.product .link {
    margin-top: 12px !important;
    font-weight: 400 !important;
    font-style: Regular !important;
    font-size: 16px !important;
    text-decoration: underline !important;
    text-decoration-style: solid !important;
    color: #1744FD !important;
    cursor: pointer !important;
}

.cta-banner {
    background: var(--yellow) !important;
    border-radius: 8px !important;
    margin: 36px 0px 60px 0px !important;
    padding: 28px !important;
    position: relative !important;
    overflow: hidden !important;
}

.cta-banner-subcategory {
    background: #D1DAFF !important;
    border-radius: 8px !important;
    margin: 36px 0px 60px 0px !important;
    padding: 28px !important;
    position: relative !important;
    overflow: hidden !important;
}

.cta-inner {
    display: flex !important;
    align-items: center !important;
    margin: 32px 80px !important;
}

.cta-banner .cta-copy {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    max-width: 514px !important;
}

.cta-banner-subcategory .cta-copy {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    max-width: 624px !important;
}

.cta-copy h2 {
    font-weight: 700 !important;
    color: #1744FD !important;
    font-size: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.cta-copy p {
    margin: 0 !important;
    padding: 0 !important;
}

.btn-primary {
    display: inline-flex !important;
    background: var(--blue) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    margin-top: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    height: 56px !important;
    justify-content: center !important;
    align-items: center !important;
}

.cta-copy a {
    display: inline-flex !important;
    background: var(--blue) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    margin-top: 16px !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    height: 56px !important;
    justify-content: center !important;
    align-items: center !important;
}

.cta-banner .cta-graphic {
    width: auto !important;
    height: 360px !important;
    opacity: 0.2 !important;
    position: absolute !important;
    top: -40px !important;
    right: 40px !important;
    background-blend-mode: overlay;
}

.cta-banner-subcategory .cta-graphic {
    height: 100% !important;
    width: 514px !important;
    position: absolute !important;
    top: 0px !important;
    right: 0px !important;
}

.cta-graphic img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    background-blend-mode: overlay;
}

.pagination {
    display: flex !important;
    gap: 8px !important;
    justify-content: center !important;
    margin: 30px 0 !important
}

.page-numbers {
    padding: 8px 12px !important;
    border-radius: 6px !important
}

.page-numbers.next,
.page-numbers.prev {
    border: 1px solid #e6e6e6 !important;
    background: #F2F2F2 !important;
    padding: 8px 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.page-numbers.current {
    background: var(--blue) !important;
    color: white !important;
    border-color: var(--blue) !important
}

.site-footer {
    background: #0e2998 !important;
    color: white !important;
    padding: 36px 0 !important
}

.footer-inner {
    display: flex !important;
    gap: 24px !important
}

.footer-col {
    flex: 1 !important
}

.footer-col h4 {
    margin: 0 0 8px !important
}

.footer-bottom {
    text-align: center !important;
    color: #d1d5dc !important;
    margin-top: 18px !important
}

@media(max-width:900px) {
    .products {
        grid-template-columns: repeat(2, 1fr) !important
    }

    .cat {
        width: 120px !important
    }

    .cta-inner {
        flex-direction: column !important;
        gap: 12px !important
    }

    .cta-graphic img {
        width: 140px !important
    }
}

@media(max-width:520px) {
    .nav-inner {
        padding: 10px !important
    }
}

/* Filter Dropdown Styles */
.filter-dropdown-wrapper {
    position: relative !important;
}

.filter-dropdown-content {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    width: 280px !important;
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    z-index: 100 !important;
    padding: 20px !important;
    margin-top: 8px !important;
    max-height: 400px !important;
    overflow-y: auto !important;
}

.filter-dropdown-content.show {
    display: block !important;
}

.widget {
    margin-bottom: 24px !important;
}

.widget:last-child {
    margin-bottom: 0 !important;
}

.widget-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
    color: var(--text) !important;
}

/* Widget specific styles */
.widget ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget ul li {
    margin-bottom: 8px !important;
}

.widget ul li a {
    color: var(--muted) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: color 0.2s !important;
}

.widget ul li a:hover {
    color: var(--blue) !important;
}

/* Active filter state if available */
.widget ul li.current-cat>a,
.widget ul li.chosen>a {
    color: var(--blue) !important;
    font-weight: 600 !important;
}

/* Category list count style */
.widget ul li .count {
    color: #999 !important;
    font-size: 12px !important;
    margin-left: 4px !important;
}

/* Clear filter hover */
.clear-filter a:hover {
    text-decoration: underline !important;
    opacity: 0.8 !important;
}

@media(max-width:1300px) {
    .cta-banner-subcategory .cta-graphic {
        display: none !important;
    }
}

@media(max-width:1100px) {
    .cta-banner .cta-graphic, .cta-banner-subcategory .cta-graphic {
        display: none !important;
    }
}

@media screen and (max-width: 900px) {
    html {
        margin: 0px !important;
    }

    .container {
        padding: 20px 16px !important;
        margin: 0px !important;
    }

    .breadcrumbs {
        margin-bottom: 30px !important;
    }

    .page-title {
        margin: 8px 0 0px !important;
    }

    .cat-list {
        padding-bottom: 10px !important;
    }

    .meta-row {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between !important;
        align-items: flex-start !important;
        margin: 0px 0px 18px 0px !important;
        gap: 20px !important;
    }

    .meta-row .controls {
        margin: 0px -16px !important;
        gap: 0px !important;
    }

    .scroll-arrow {
        width: 48px !important;
        height: 48px !important;
    }

    .scroll-arrow-left {
        left: -10px !important;
    }

    .scroll-arrow-right {
        right: -10px !important;
    }

    .product-image-wrapper {
        height: 170px !important;
        width: auto !important;
    }

    .product {
        gap: 0px !important;
    }

    .product h3 {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        line-height: 1.5em !important;
        height: 3em !important;
    }

    .cta-banner, .cta-banner-subcategory {
        padding: 0px !important;
        border-radius: 0px !important;
        margin: 36px -16px 60px -16px !important;
    }

    .cta-banner .cta-graphic, .cta-banner-subcategory .cta-graphic {
        display: none !important;
    }

    .cta-inner, .cta-banner-subcategory .cta-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 32px !important;
    }

    .cta-copy h2 {
        font-size: 24px !important;
        line-height: 28.8px !important;
    }

    .filter-dropdown-wrapper {
        width: 50vw !important;
    }

    .sort, .woocommerce-ordering .orderby {
        justify-content: center !important;
        width: 100% !important;
        border-radius: 0px !important;
        border-right: none !important;
    }

    .filter {
        justify-content: space-between !important;
        width: 100% !important;
        border-radius: 0px !important;
        border-right: none !important;
    }

    .filter {
        border-left: none !important;
    }

    .filter-dropdown-content {
        left: 30px !important;
    }

.woocommerce-ordering {
	width: 50vw !important;
}
}