﻿/* ribbon colors */
.ribbon-gold {
    border-top: 25px solid gold;
    color: black !important;
}

.ribbon-red {
    border-top: 25px solid red;
    color: white !important;
}

.ribbon-black {
    border-top: 25px solid #000;
    color: white !important;
}

.ribbon-blue {
    border-top: 25px solid blue;
    color: white !important;
}

.ribbon-silver {
    border-top: 25px solid #c0c0c0;
    color: black !important;
}

.ribbon-copper {
    border-top: 25px solid #ff5733;
    color: white !important;
}

.ribbon-grey {
    border-top: 25px solid #808080;
    color: black !important;
}

.ribbon-milky {
    border-top: 25px solid #f7f8ff;
    color: black !important;
}

.ribbon-orange {
    border-top: 25px solid #ffa500;
    color: black !important;
}

.ribbon-green {
    border-top: 25px solid Green;
    color: white !important;
}

.ribbon-brown {
    border-top: 25px solid Brown;
    color: white !important;
}

.ribbon-violet {
    border-top: 25px solid #ee82ee;
    color: black !important;
}

.ribbon-yellow {
    border-top: 25px solid Yellow;
    color: black !important;
}

.ribbon-pink {
    border-top: 25px solid #ffc0cb;
    color: black !important;
}

#textwhite {
    color: white !important;
}

#textwhite2 {
    color: white !important;
}

.ribbon-box {
    -webkit-transform: rotate(585deg);
    -moz-transform: rotate(585deg);
    -ms-transform: rotate(585deg);
    -o-transform: rotate(585deg);
    transform: rotate(585deg);
    border: 25px solid transparent;
    position: absolute;
    top: -0px;
    right: -35px;
    width: 120px;
    font-family: sans-serif;
    z-index: 500;
    font-size: 8px;
}

.ribbon-box .ribbon-box-text {
    transform: rotate(-180deg);
    top: -20px;
    position: absolute;
}

.ribbon {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -ms-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
    border: 25px solid transparent;
    position: absolute;
    bottom: 15px;
    right: -45px;
    padding: 0 10px;
    font-family: sans-serif;
    z-index: 500;
    font-size: 11px;
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 2;
}

.ribbon .ribbon-text {
    position: absolute;
    top: -20px;
    left: 20px;
}

.ribbon-inner {
    position: absolute;
    display: block;
    width: 225px;
    padding: 8px 0;
    background-color: var(--ribbon-color, #e74c3c);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    text-align: center;
    right: -25px;
    top: 30px;
    transform: rotate(45deg);
}

/* ribbon colors */
/* clerance section */

.slider-container {
    display: flex;
    background-color: #2b7dc0;
    padding: 10px;
    border-radius: 0 30px 0 0;
    flex-wrap: wrap;
}

.swiper-button-next,
.swiper-button-prev {
    background: none;
    color: transparent;
    width: 80px;
    height: 80px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none !important;
}

.product-card-in-clearance {
    border: 1px solid var(--bg-color-ededed);
    background-color: #fff;
    padding-bottom: 8px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
}

.product-card {
    border: 1px solid var(--bg-color-ededed);
    background-color: #fff;
    padding-bottom: 8px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.product-card-for-related {
    border: 1px solid var(--bg-color-ededed);
    background-color: #fff;
    padding-bottom: 8px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
}

.compare-btn__in-clearance {
    background-color: white;
    border-bottom-right-radius: 10px;
    padding: 4px;
}

.compare-btn__in-clearance.compare-active {
    background-color: #2b7dc0;
}

.compare-btn__in-clearance svg {
    color: #93979E;
}

.compare-btn__in-shop-cart {
    background-color: white;
    border-bottom-right-radius: 10px;
    padding: 4px;
}

.compare-btn__in-shop-cart.compare-active {
    background-color: #2b7dc0;
}

.compare-btn__in-shop-cart svg {
    color: #93979E;
}

.compare-btn__in-shop-cart.compare-active svg {
    color: #93979E;
}

.product-card-in-clearance__heart {
    position: absolute !important;
    z-index: 99 !important;
    top: 42px !important;
    background-color: white;
    border-bottom-right-radius: 10px;
}

.product-card-in-clearance__heart svg {
    color: #93979E;
}

.product-card-in-clearance__heart * {
    color: #93979E;
}

.card-product_shop .product-card-in-clearance__heart {
    position: absolute;
    z-index: 99;
    top: 45px;
    padding-left: 0.1rem;
}

.card-product_shop-in-clearance h2 {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 23ch;
}

.z-99 {
    z-index: 99 !important;
}

.card-product_shop-in-clearance h5,
.card-product_shop-in-clearance a {
    font-size: 10px;
}

.card-product_shop h2 {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 23ch;
}

.card-product_shop h5,
.card-product_shop a {
    font-size: 10px;
}

.tag-product-container {
    position: absolute;
    right: 10px;
    top: 6px;
    display: flex;
    align-items: center;
}

.indoor-tag-product {
    background-color: #fde8b3;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 0 10px 0 0;
}

/* clerance section */
/* page shop style */
.ribbon.primary .ribbon-inner {
    background-color: #007bff;
}

.ribbon.success .ribbon-inner {
    background-color: #28a745;
}

.ribbon.info .ribbon-inner {
    background-color: #17a2b8;
}

.ribbon.warning .ribbon-inner {
    background-color: #ffc107;
}

.ribbon.danger .ribbon-inner {
    background-color: #dc3545;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background-color: #FDE8B3;
    color: #333;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    z-index: 2;
    border-top-right-radius: 12px;
}

.product-badge.primary {
    background-color: #007bff;
}

.product-badge.success {
    background-color: #28a745;
}

.product-badge.info {
    background-color: #17a2b8;
}

.product-badge.warning {
    background-color: #ffc107;
}

.product-badge.danger {
    background-color: #dc3545;
}

.card-product_shop-in-clearance .favorite-btn {
    position: absolute;
    left: 8px;
    top: 15px;
    z-index: 2;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.card-product_shop-in-clearance .favorite-btn:hover {
    transform: scale(1.1);
}

.product-card-in-clearance__heart.and_more {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-product_shop-in-clearance .favorite-btn.active path {
    fill: #FF4B4B;
    stroke: #FF4B4B;
}

/*  */
.product-card .favorite-btn {
    position: absolute;
    left: px;
    top: 12px;
    z-index: 2;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.product-card .favorite-btn:hover {
    transform: scale(1.1);
}

.product-card .favorite-btn.active path {
    fill: #FF4B4B;
    stroke: #FF4B4B;
}

.product-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/*  */
.product-card-for-related .favorite-btn {
    position: absolute;
    left: px;
    top: 12px;
    z-index: 2;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.product-card-for-related .favorite-btn:hover {
    transform: scale(1.1);
}

.product-card-for-related .favorite-btn.active path {
    fill: #FF4B4B;
    stroke: #FF4B4B;
}

.product-card-for-related {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-for-related .product-image {
    width: 250px;
    height: 250px;
}

.product-card-for-related h2 {
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 23ch;
}

.product-card-for-related .favorite-btn {
    width: 40px;
    height: 40px;
}

.btn-card_hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: #5597CD;
    color: white;
    padding: 12px;
    text-decoration: none;
    gap: 8px;
}

.product-card:hover .btn-card_hover {
    display: flex;
}

.btn-card_on-hover {
    text-decoration: none;
}

.section_glass-type-input:checked+.check-box_custom {
    border-color: #5597cd;
    background-color: #eaf2f9;
    background-image: url(/new/Images/texture/Vector-tick.png);
    background-repeat: no-repeat;
    background-position: center;
}

/* Filter section states - will be overridden by media queries */
.open-filter-section {
    transform: translateY(0);
    opacity: 1;
    height: auto;
    visibility: visible;
}

.cluse-filter-section {
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
}

.choices[data-type*="select-one"] {
    border: none;
    border-radius: 0 24px 0 0;
    background-color: transparent;
    border: 0;
    margin: 0;
    margin-top: 0;
}

.choices[data-type*="select-one"] .choices__inner {
    border: none;
    border-radius: 0 24px 0 0;
    background-color: transparent;
    width: 180px;
    border: 1px solid #c4c6ca;
}

.bg-baner-slider_shop-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.content-baner-slider_shop-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
}



.form-search-filters {
    border: 1px solid var(--bg-color-for-header);
    padding: 5px;
    margin-top: 10px;
    display: flex;
    align-items: stretch;
    border-radius: 8px;
    background-color: white;
}

.form-search-filters input {
    font-size: 20px;
    border: none;
    outline: none;
    padding: 8px;
}

/* Fix spacing for search section */
.mt-16-px {
    margin-top: 20px !important;
}

.form-search-filters button {
    padding: 10px;
    background-color: var(--bg-color-main);
    border-radius: 4px;
    border: none;
}

.check-clearance-sale {
    width: 20px;
    height: 20px;
}

.check-clearance-sale input[type="checkbox"] {
    width: 100%;
    height: 100%;
}

.accordion-filter_shop {
    width: 100%;
    margin: 20px auto;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-filter_shop .accordion-header {
    width: 100%;
    padding: 10px 0;
    padding-bottom: 0;
    color: var(--bg-color-313A48);
    background-color: transparent;
    outline: none;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: first-font-regular;
}

.choices__inner {
    border: 1px solid var(--bg-color-for-header) !important;
}

.accordion-filter_shop .accordion-header span svg {
    transition: all 0.3s ease-out;
}

.accordion-filter_shop .accordion-item.active .accordion-header span svg {
    transform: rotate(180deg);
}

.accordion-filter_shop .accordion-content {
    height: 0;
    overflow: hidden;
    transition: all 0.8s ease-in-out;
    opacity: 0;
    visibility: hidden;
    box-shadow: none;
}

.accordion-filter_shop .accordion-item.active .accordion-content {
    height: auto;
    padding: 10px;
    margin: 0;
    opacity: 1;
    visibility: unset;
}

.accordion-section_color-items {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-color-ededed);
    padding: 8px;
    cursor: pointer;
}

.accordion-section_color-items p {
    display: inline-block;
    width: 7ch;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.accordion-section_color-items .accordion-section_color-items__input {
    display: none;
}

.accordion-section_color-items .svg-container {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 0 0 0 8px;
    border: 1px solid #a3a3a38e;
}

.accordion-section_color-items .svg-container .toggle-svg {
    opacity: 0;
    transition: opacity linear 0.3s;
}

.accordion-section_color-items .accordion-section_color-items__input:checked~.svg-container .toggle-svg {
    opacity: 1;
}

.accordion-content .accordion-section_glass-type {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-content .accordion-section_glass-type label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 0.2rem !important;
}

.accordion-content .accordion-section_glass-type input {
    width: 20px;
    height: 20px;
}

.accordion-content .accordion-section_glass-type span {
    font-size: 16px;
}

.accordion-content .accordion-section_glass-type input:checked~span {
    font-weight: bold;
}

.dropdown_sort-by {
    position: relative;
    display: inline-block;
    width: 250px;
}

.dropdown-btn_sort-by {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 0 15px 0 0;
    background-color: white;
    cursor: pointer;
    text-align: left;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-content_sort-by {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s linear, opacity 0.3s linear;
    opacity: 0;
    position: absolute;
    width: 100%;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.dropdown-content_sort-by div {
    padding: 10px;
    cursor: pointer;
}

.dropdown-content_sort-by div:hover {
    background-color: #dddddd;
}

.dropdown-btn_sort-by-svg {
    transition: all 0.3s ease-in-out;
}

.dropdown_sort-by:hover .dropdown-content_sort-by {
    max-height: 500px;
    opacity: 1;
}

.dropdown_sort-by:hover .dropdown-btn_sort-by-svg {
    transform: rotate(180deg);
}


.btn-card_on-hover {
    display: block;
    color: var(--text-color-main-sec);
}

.filters-shop_butten {
    border: 1px solid var(--text-color-main-sec);
    display: flex;
    padding: 10px 12px;
    border-top-right-radius: 24px;
    color: var(--text-color-main-sec);
    align-items: center;
    line-height: 1.2;
}

.filters-shop_butten p {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.section_glass-type-input {
    display: none;
}

.section_glass-type-input:checked+.check-box_custom {
    border-color: #5597cd;
    background-color: #eaf2f9;
    background-image: url(/new/assets/Images/texture/Vector-tick.png);
    background-repeat: no-repeat;
    background-position: center;
}

/* Duplicate styles for other filter input types */
.section_finish-input {
    display: none;
}

.section_finish-input:checked+.check-box_custom {
    border-color: #5597cd;
    background-color: #eaf2f9;
    background-image: url(/new/assets/Images/texture/Vector-tick.png);
    background-repeat: no-repeat;
    background-position: center;
}

.section_chemistry-input {
    display: none;
}

.section_chemistry-input:checked+.check-box_custom {
    border-color: #5597cd;
    background-color: #eaf2f9;
    background-image: url(/new/assets/Images/texture/Vector-tick.png);
    background-repeat: no-repeat;
    background-position: center;
}

.section_unit-input {
    display: none;
}

.section_unit-input:checked+.check-box_custom {
    border-color: #5597cd;
    background-color: #eaf2f9;
    background-image: url(/new/assets/Images/texture/Vector-tick.png);
    background-repeat: no-repeat;
    background-position: center;
}

.check-box_custom {
    width: 16px;
    height: 16px;
    border: 1px solid #c4c6ca;
}

.filters-section_wrapper {
    z-index: 100;
    background-color: white;
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    border-radius: 24px 24px 0 0;
    box-shadow: -40px 0 50px #00000071;
    transition: transform 0.7s ease-in-out;
    overflow-y: auto;
    margin-top: 20px;
}

/* Mobile: Hide filter section by default */
@media (max-width: 991px) {
    .filters-section_wrapper {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 30px;
        border-radius: 24px 24px 0 0;
        box-shadow: -40px 0 50px #00000071;
        transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
        overflow-y: auto;
    }
}






.choices[data-type*="select-one"] .choices__inner {
    border: none;
    border-radius: 0 24px 0 0;
    background-color: transparent;
    width: 180px;
    white-space: nowrap;
}

.choices__item--selectable {
    background-color: transparent;
    border: none;
    white-space: nowrap;
}

/* Prevent line breaks in dropdown options */
.choices__list--dropdown .choices__item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Prevent line breaks in the selected item display */
.choices__item--choice {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.border-top-filters_wrapper {
    border-top: 1px solid #e9eaea;
    padding: 15px 0;
}

/* Mobile styles for sort and results section */
@media (max-width: 991px) {
    .border-top-filters_wrapper {
        padding: 12px 15px;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .border-top-filters_wrapper::-webkit-scrollbar {
        display: none;
    }

    .border-top-filters_wrapper > div:first-child {
        flex: 1 1 auto;
        min-width: 0;
        flex-wrap: nowrap;
        gap: 8px;
        align-items: center;
    }

    .border-top-filters_wrapper .fs-2-0-px {
        font-size: 14px !important;
        white-space: nowrap;
        margin-right: 4px;
        margin-left: 0;
        flex: 0 0 auto;
    }

    .border-top-filters_wrapper > div:first-child > div:first-child {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .border-top-filters_wrapper #my-select2 {
        min-width: 140px;
        max-width: 180px;
        flex: 0 0 auto;
    }

    .border-top-filters_wrapper #results-count {
        flex: 0 0 auto;
        font-size: 14px !important;
        white-space: nowrap;
        margin-left: auto;
        padding-left: 12px;
    }

    /* Ensure choices.js dropdown is properly sized on mobile */
    .border-top-filters_wrapper .choices {
        min-width: 140px;
        max-width: 180px;
        flex: 0 0 auto;
    }

    .border-top-filters_wrapper .choices__inner {
        padding: 6px 10px;
        font-size: 13px;
        min-height: 32px;
    }

    .border-top-filters_wrapper .choices__inner .choices__item--selectable {
        font-size: 13px;
    }
}

#filters-header {
    position: relative;
    z-index: 20;
    margin-bottom: 30px;
    padding: 15px 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 8px;
}

/* Mobile styles for filters header */
@media (max-width: 991px) {
    #filters-header {
        margin-bottom: 15px;
        padding: 10px 15px;
        min-height: auto;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    #filters-header::-webkit-scrollbar {
        display: none;
    }

    #filters-header .filters-shop_butten {
        flex: 0 0 auto;
        min-width: auto;
        padding: 8px 12px;
        font-size: 14px;
        white-space: nowrap;
    }

    #filters-header .filters-shop_butten p {
        font-size: 14px;
        margin: 0;
        white-space: nowrap;
    }

    #filters-header .filter-item-selected_wrapper {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        order: 0;
        margin-top: 0;
        margin-left: 8px;
        margin-right: 8px;
    }

    #filters-header #reset-filters {
        flex: 0 0 auto;
        font-size: 12px;
        padding: 6px 10px;
        white-space: nowrap;
    }
}

.filter-item-selected {
    background-color: #fff6de;
    padding: 7px;
    border-radius: 0 16px 0 0;
    color: var(--text-color-first);
    font-size: 14px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    margin-bottom: 5px;
    display: inline-block;
    white-space: nowrap;
}

.filter-item-selected_wrapper {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    width: 50%;
    overflow-x: scroll;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.filter-item-selected_wrapper::-webkit-scrollbar {
    height: 5px;
}

.filter-item-selected_wrapper::-webkit-scrollbar-thumb {
    width: auto;
    height: 5px;
    background-color: #5597cd;
    border-radius: 10px;
}

.content-baner-slider_shop-wrapper img {
    width: 25%;
    margin: 0 auto;
}

@media (min-width: 576px) {}

@media (min-width: 768px) {
    .content-baner-slider_shop-wrapper img {
        width: 50%;
        margin: 0 auto;
    }
}

@media (min-width: 992px) {
    .filters-shop_butten {
        border: 0;
        color: var(--text-color-dark);
        padding: 0;
        align-items: center;
    }

    .filters-shop_butten p {
        margin: 0;
        padding: 0;
        line-height: 1.2;
    }

    .filters-section_wrapper {
        position: sticky;
        top: 20px;
        box-shadow: none;
        padding: 0;
        z-index: 10;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        /* Hide scrollbar */
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* Internet Explorer 10+ */
    }
}

/* Ensure filters header is properly positioned */
.col-lg-3 {
    overflow: visible;
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge) */
.filters-section_wrapper::-webkit-scrollbar {
    display: none;
}

/* Mobile: Hide filter section when closed */
@media (max-width: 991px) {
    .cluse-filter-section {
        transform: translateY(100%);
        opacity: 0;
        height: 0;
        visibility: hidden;
    }

    .open-filter-section {
        transform: translateY(0);
        opacity: 1;
        height: auto;
        visibility: visible;
    }
}

/* Desktop: Always show filter section */
@media (min-width: 992px) {
    .cluse-filter-section {
        transform: translateY(0);
        opacity: 1;
        height: auto;
        visibility: unset;
    }

    .open-filter-section {
        transform: translateY(0);
        opacity: 1;
        height: auto;
        visibility: unset;
    }
}

.border-top-filters_wrapper {
    border-top: none;
}

.card-product_shop-in-clearance img {
    max-width: 200px;
    max-height: 200px;
}

.card-product_shop-in-clearance h2 {
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 23ch;
}

.card-product_shop-in-clearance h5,
.card-product_shop-in-clearance a {
    font-size: 16px;
}

.card-product_shop img {
    max-width: 200px;
    max-height: 200px;
}

.card-product_shop h2 {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 23ch;
}

.card-product_shop h5,
.card-product_shop a {
    font-size: 16px;
}

.filter-item-selected_wrapper {
    display: flex;
}




@media (min-width: 1200px) {}

@media (min-width: 1400px) {}

@media (min-width: 1600px) {}

/* 6-column grid compact styles */
.grid-6-cols .card-product_shop img,
.grid-6-cols .card-product_shop-in-clearance img,
.grid-6-cols .product-image {
    max-width: 120px !important;
    max-height: 120px !important;
}

.grid-6-cols .card-product_shop h2 {
    font-size: 14px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 23ch;
}

.grid-6-cols .card-product_shop h5,
.grid-6-cols .card-product_shop a {
    font-size: 14px !important;
}

.grid-6-cols .card-product_shop-in-clearance h2 {
    font-size: 14px !important;
}

.grid-6-cols .card-product_shop-in-clearance h5,
.grid-6-cols .card-product_shop-in-clearance a {
    font-size: 14px !important;
}

/* Compare functionality styles */
.compare-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.compare-btn:hover {
    transform: scale(1.05);
}

.compare-btn.compare-active svg path:first-child {
    fill: white !important;
}

.compare-btn.compare-active {
    fill: white !important;
}


.compare-btn svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.compare-bar {
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 80px;
}

.compare-products-list {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: calc(100% - 150px);
}

.compare-products-list::-webkit-scrollbar {
    height: 4px;
}

.compare-products-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 2px;
}

.compare-products-list::-webkit-scrollbar-thumb {
    background: #5597CD;
    border-radius: 2px;
}

.compare-product-item {
    flex-shrink: 0;
    margin-right: 20px;
    padding: 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    position: relative;
    min-width: 200px;
}

.compare-product-circle {
    width: 60px;
    height: 50px;
    border-radius: 6px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.compare-product-image {
    width: 55px;
    height: 45px;
    object-fit: contain;
    border-radius: 4px;
}

.btn-close-compare {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    border: 1px solid #9AA6B2;
    color: #9AA6B2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-close-compare:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(220, 53, 69, 0.3);
}

.btn-close-compare svg {
    width: 12px;
    height: 12px;
}

.compare-product-info h6 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    margin-left: 4px;
}

.compare-product-info p {
    font-size: 12px;
    color: #666;
    margin-left: 4px;
}

.compare-btn-action {
    background: #5597CD !important;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    color: white !important;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.compare-btn-action:hover {
    background: #4a86b8 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(85, 151, 205, 0.3);
}

.compare-notification {
    animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

#compare-section {
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .compare-bar {
        flex-direction: column;
        gap: 15px;
        padding: 15px !important;
    }

    .compare-products-list {
        max-width: 100%;
        justify-content: center;
    }

    .compare-product-item {
        min-width: 180px;
        padding: 10px;
    }

    .compare-product-circle {
        width: 50px;
        height: 40px;
    }

    .compare-product-image {
        width: 45px;
        height: 35px;
    }

    .compare-product-info h6 {
        font-size: 12px !important;
        max-width: 100px;
    }

    .compare-product-info p {
        font-size: 10px !important;
    }

    .compare-btn-action {
        width: 100%;
        text-align: center;
    }
}

.bg-color-transparent.cursor-pointer.p-2.grid-toggle.active svg {
    color: #5597CD;
}

.bg-color-transparent.cursor-pointer.p-2.grid-toggle svg {
    color: #93979E;
}

/*  */


#backToTop {
    --size: 36px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: var(--size);
    height: var(--size);
    border-radius: 9999px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(180deg, #5597CD, #5597CD);
    color: white;
    border: 0;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
    cursor: pointer;
    transform: translateY(16px) scale(.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s cubic-bezier(.2, .9, .3, 1);
    z-index: 9999;
}

#backToTop.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#backToTop svg {
    width: 20px;
    height: 20px;
}

#backToTop:focus {
    outline: 3px solid rgba(99, 102, 241, 0.18);
    outline-offset: 4px;
}

.fake-paragraph {
    margin-bottom: 24px;
}