/* New Redesign Css Starts */

#product-search {
    display: flex;
    padding-top: 24px;
    justify-content: space-between;
}

.product-count-container {
    display: flex;
    justify-content: space-between;
}

#showcase_list_id {
    display: flex;
    justify-content: center;
    padding-top: 24px;
    /* border: 2px solid #309d0b; */
}

.product-filter-section {
    width: 100%;
    max-width: 312px;
    flex: 0 0 312px;
    /* border: 1px solid blue; */
}

.product-list-section-right {
    margin-left: 24px;
    width: 100%;
    max-width: 984px;
    /* border: 1px solid red; */
}

.product-list-section {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.filter-panel {
    padding: 8px 16px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333335;
    height: 1616px;
    width: 100%;
    max-width: 312px;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-color: #957127 #f5f5f5;
    scrollbar-width: thin;
}

/* Chrome, Edge, Safari */
.filter-panel::-webkit-scrollbar {
    width: 6px;
}

.filter-panel::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.filter-panel::-webkit-scrollbar-thumb {
    background-color: #957127;
    border-radius: 10px;
}

.filter-panel::-webkit-scrollbar-thumb:hover {
    background-color: #7a5c1f;
}

.filter-panel::after {
    content: "";
    position: sticky;
    bottom: 0;
    height: 30px;
    background: linear-gradient(transparent, #fff);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.filter-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-brown);
    font-family: var(--font-family-Libre-Franklin, "Libre Franklin");
    font-size: var(--font-size-lg, 18px);
    font-style: normal;
    font-weight: var(--font-weight-semibold, 600);
    line-height: var(--line-height-12, 32px);
    letter-spacing: -0.216px;
}

.clear-all {
    display: none;
    text-decoration: none;
    font-family: "Libre Franklin";
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.24px;
    text-transform: uppercase;
    color: var(--color-brown) !important;
    text-decoration: underline;
}

.active-filters {
    display: none;
    align-items: flex-start;
    align-content: flex-start;
    gap: 0 8px;
    padding: 8px;
    align-self: stretch;
    flex-wrap: wrap;
}

.active-filters.show {
    display: block;
}

.active-filter-border {
    display: none;
}

.text-filter-by {
    display: none;
}

.filter-view-toggle {
    display: none;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    color: #333335;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
}

.filter-tag img {
    margin-left: 6px;
    cursor: pointer;
}

.filter-panel hr {
    border: none;
    border-top: 1px solid var(--color-brown);
    margin: 8px auto 0;
}

.filter-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.24px;
    text-transform: uppercase;
    font-family: var(--font-family-Libre-Franklin);
    padding: 15px 8px 7px;
    font-size: 12px;
    color: var(--color-brown);
}

.filter-group-header .count {
    display: none;
    background: var(--color-milk);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    margin-left: 6px;
    border-radius: 4px;
}

.filter-group-header .chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--color-brown);
    border-bottom: 2px solid var(--color-brown);
    transform: rotate(45deg);
    transition: 0.3s;
}

.filter-group.open .chevron {
    transform: rotate(-135deg);
}

.filter-options {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-options li {
    display: none;
}

.filter-options {
    display: none;
}

.filter-group.open .filter-options {
    display: block;
}

.filter-options li:nth-child(-n+6) {
    display: flex;
}

.filter-options.expanded li {
    display: flex;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
    color: var(--Jet, #333335);
    font-family: var(--font-family-Libre-Franklin);
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    padding: 8px;
}

.filter-options input {
    display: none;
}

.custom-checkbox input {
    display: none;
}

.plp-checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #333335;
    border-radius: 4px;
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.plp-checkmark::after {
    content: "";
    position: absolute;
    display: none;
    right: 3px;
    top: -4px;
    width: 7px;
    height: 16px;
    border: solid #333335;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    z-index: 2;
}

.plp-checkmark::before {
    content: "";
    position: absolute;
    display: none;
    right: -3px;
    top: -5px;
    width: 10px;
    height: 18px;
    transform: rotate(45deg);
    z-index: 2;
    background: #ffffff;
}

.custom-checkbox input:checked+.plp-checkmark::after,
.custom-checkbox input:checked+.plp-checkmark::before {
    display: block;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Icon */
/* .filter-options .icon {
		width: 42px;
		height: 36px;
	} */

.plp-badge {
    background: var(--color-milk);
    padding: 2px 6px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    color: var(--color-brown);
}

.filter-group .view-more {
    display: inline-block;
    font-family: "Libre Franklin";
    font-size: 12px;
    color: var(--color-brown) !important;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding: 16px 8px;
    letter-spacing: 0.24px;
    text-transform: capitalize;
}

.filter-group:not(.open) .view-more {
    display: none;
}

.product-list-section-right .product-count {
    margin: 0;
    padding: 10px 0px;
}

.product-list-section-right .short-by-section {
    padding: 10px 0px;
}

.mobile-filter-btn {
    display: none;
}

/*  Modal css starts */

.filter-modal {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    height: 91%;
    background: #fff;
    z-index: 1000;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.filter-modal.open {
    bottom: 0;
}

.filter-modal .modal-content {
    overflow-y: auto;
    padding: 0px 16px 0px;
    flex: 1;
    /* border: 1px solid #999; */
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    outline: none;
    -webkit-box-shadow: 0px 0px 0px #444;
    scroll-behavior: smooth;
    scrollbar-color: #957127 #f5f5f5;
    scrollbar-width: thin;
    box-shadow: 0 -4px 10px 0 rgba(0, 0, 0, 0.25);
}

.filter-modal .filter-bor {
    height: 3px;
    width: 29px;
    background: var(--color-dark-100);
    display: flex;
    border-radius: 10px;
    margin: 8px auto;
}

.filter-modal .close-modal {
    color: var(--color-jet);
}

.filter-modal .modal-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    padding: 8px 8px 16px;
    font-family: var(--font-family-libre);
    font-size: var(--font-libre-18);
    line-height: 32px;
    letter-spacing: -0.216px;
    color: var(--color-brown);
    border: none;
}

.filter-modal .modal-header .icon img {
    margin-right: 8px;
}

.filter-modal .modal-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 20px 6px 18px;
    background: #fff;
    border: none;
    text-align: unset;
    box-shadow: 0 -4px 8px 0 rgba(0, 0, 0, 0.10);
}

.clear-btn {
    flex: 1;
    border: 1px solid #957127;
    background: #fff;
    padding: 11.5px 0px;
}

.apply-btn {
    flex: 2;
    background: #957127;
    color: #fff;
    padding: 11.5px 0px;
}

/*  Modal css ends */

.disabledfilter {
    opacity: .5;
    cursor: not-allowed !important;
    pointer-events: none;
}

.pagination-div button {
    margin: 20px 0 0px !important;
}

/* plp loader css starts */
    
    .product-list-section {
        position: relative;
    }

    .product-list-section .plp-loader{
        position: absolute;
        top: 180px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 99;
        display: none;
        width: 100%;
        max-width: 245px;
    }

    .product-list-section .plp-loader img{
        animation: spin 1s linear infinite;
    }

    .product-list-section.loading{
        opacity: 0.4;
        pointer-events: none;
    }

    @keyframes spin{
        100%{
            transform: rotate(360deg);
        }
    }
/* plp loader css ends */

/* New Redesign Mobile Css Starts */

@media (max-width: 991px) {

    .banner-info {
        background: none !important
    }

    .wedding-ring-cat-filter {
        margin: 0 !important;
    }

    .mobile-filter-btn {
        display: block;
        position: relative;
        width: 100%;
        background: #957127;
        color: #fff;
        padding: 12px;
        border: none;
        font-weight: 600;
        z-index: 999;
        vertical-align: middle;
    }

    .mobile-filter-btn .icon {
        margin-right: 10px;
    }

    .mobile-filter-btn .count,
    .apply-btn .count {
        display: none;
        margin-left: 8px;
        font-family: Libre Franklin;
        font-weight: 600;
        font-size: 12px;
        line-height: 100%;
        letter-spacing: 2%;
        text-align: center;
        vertical-align: middle;
        text-transform: uppercase;
        background: var(--color-milk);
        color: var(--color-brown);
        padding: 1.5px 6px;
        border-radius: 4px;
    }

    .mobile-filter-wrapper {
        position: relative;
        background: #ffffff;
        padding: 16px;
        transition: top 0.3s ease;
    }

    /* HEADER STATES */

    #header {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        z-index: 1000;
        overflow-x: hidden;
        transition: transform 0.3s ease;
    }

    #header.hide-header {
        transform: translate3d(0, -100%, 0);
    }

    #header.show-header {
        transform: translate3d(0, 0, 0);
    }

    .mobile-filter-wrapper.sticky-top {
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        z-index: 999;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.10);
    }

    .mobile-filter-wrapper.sticky-header {
        position: sticky;
        left: 0px;
        right: 0px;
        z-index: 999;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.10);
    }

    #showcase_list_id {
        display: block;
        padding: 0px;
        margin: 0;
    }

    .filter-tag {
        margin-right: 10px;
    }

    .plp-checkmark {
        width: 18px;
        height: 18px;
    }

    .plp-checkmark::before {
        right: -3px;
        top: -4px;
        width: 8px;
        height: 14px;
    }

    .plp-checkmark::after {
        right: 2px;
        top: -3px;
        width: 5px;
        height: 13px;
    }

    .product-filter-section {
        display: none;
    }

    #product-search {
        padding-top: 8px;
    }

    .product-list-section-right {
        margin: 0;
        max-width: 100%;
    }

    .product-list-section-right .short-by-section {
        display: none;
    }

    .filter-panel {
        padding: 8px 0px;
        max-width: 100%;
        height: auto;
    }

    .filter-header {
        display: none;
    }

    #mobileFiltersContainer .short-by-section, #mobileFiltersContainerSearch .short-by-section {
        display: block;
        padding: 12px 16px !important;
        border: 1px solid #ADADAE;
        float: none;
        border-radius: 4px;
    }

    #mobileFiltersContainer .short-by-section ul li.dropdown, #mobileFiltersContainerSearch .short-by-section ul li.dropdown {
        margin: 0;
    }

    #mobileFiltersContainer .short-by-section ul li .dropdown-menu, #mobileFiltersContainerSearch .short-by-section ul li .dropdown-menu {
        width: 100%;
    }

    .filter-group-header {
        padding: 15px 8px;
    }

    .filter-options label {
        padding: 12px 8px;
    }

    .filter-group .view-more {
        padding: 12px 8px;
    }

    .filter-options label {
        padding: 8px;
    }

    .filter-tags-container {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

  .active-filters.show .text-filter-by {
        display: block;
        overflow: hidden;
        color: var(--color-brown);
        font-family: "Libre Franklin";
        font-size: 12px;
        font-weight: 600;
        line-height: normal;
        letter-spacing: 0.24px;
        text-transform: uppercase;
  }

  .active-filters.show {
    display: block;
  }

  /* CLAMP TO 80px */
  .active-filters .filter-tags-container {
    max-height: 80px;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  /* EXPANDED */
  .active-filters.expanded .filter-tags-container {
    max-height: none;
  }

  /* VIEW MORE BUTTON */
  .filter-view-toggle {
    display: none;
    font-size: 14px;
    color: #8a6d2f;
    cursor: pointer;
    margin-top: 6px;
  }

  .filter-view-toggle.show {
    display: block;
  }

  .pagination-div button {
    margin: 8px 0 0px !important;
  }

  .filter-panel hr {
    margin: 0;
  }

}

/* New Redesign Mobile Css Ends */