﻿/* Flamingo */

.colourFeatureCircle {
    position: relative;
    height: 20px;
    width: 20px;
    border-radius: 100px;
    border: solid #a7a7a7 1px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.moreColoursBadge {
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 25px;
    font-weight: 100;
    height: 100%;
    width: 100%;
    background: white;
}

.shopContainer {
    max-width: 1600px;
    margin: auto;
    padding: 1.5rem;
}
/*.colourFeatureCircle.hasMoreColours::before {
    content: "";
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    display: flex;
    width: 100%;
    height: 100%;
}*/
/* ----- Sort / Filter Section ----- */
.sort-radio-hidden {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.sort-option {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--grey-color-500);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--charcoal);
    font-weight: 400;
}
.back-option {
    display: block;
    padding: 14px 0;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--clay);
    font-weight: 400;
}
.view-more {
    font-size: 1rem;
    color: var(--concrete);
    min-width: 75px;
}

.featureItem {
    cursor: pointer;
    user-select: none;
}
.featureItem .checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

/* ----- Product Card ----- */

.priceContainer {
    font-family: var(--secondaryFont);
    text-align: center;
}
.productColorFeaturesContainer {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
}
.productCard {
    text-align: center;
}
.productCard img {
    border-radius: 15px;
    width: 100%;
    border: 5px solid var(--highlight);
}

/* ----- Animations ----- */

.slide-in {
    animation: slideInFromRight 0.25s ease-out forwards;
}
.slide-back {
    animation: slideInFromLeft 0.25s ease-out forwards;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ----- Media Queries ----- */

/* -- Max Width -- */
@media(min-width:400px) {
    .sort-option {
        font-size: 1.3rem;
    }
}
@media(min-width:600px) {
    .sort-option {
        font-size: 1.4rem;
    }
}
}

/* ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* Not Flamingo */

#bannerTextArea {
    position: absolute;
    top: 0;
    height: 50%;
    width: 100%;
    max-width: 450px;
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
    justify-content: start;
    align-items: center;
    font-size: 1.6rem;
    background-color:rgba(0,0,0,0.4);
    color: white;
    border-radius: 1px;
    transform: translate(50px,50%);
    overflow:hidden;
}

.filtersContainer a {
    text-decoration: none;
    font-weight: 400;
    font-style: normal;
    font-family: var(--primaryFont);
    font-size: 0.9rem;
}

.featuresList span {
    font-family: var(--primaryFont);
    font-weight: 400;
    font-style: normal;
    font-size: 0.9rem;
}

.featuresList {
    max-height: 190px;
    overflow: hidden;
}

.filtersContainer a:hover {
    text-decoration: underline !important;
    color: var(--primary-color);
}


.filterContainer .active {
    animation: moreoptions 0.5s forwards;
    overflow-x: hidden;
}

.filtersContainer ul li {
    padding: 5px 0px;
}

.filtersContainer ul {
    padding-top: 15px;
}
.filterContainer .fa-chevron-down {
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), color 0.25s;
}

.filterContainer .fa-chevron-down.active {
    transform: rotate(180deg);
}

.filterTextContainer {
    display: flex;
    height: 50px;
    justify-content: center;
    border-radius: 10px;
}

.filterContainer {
    padding: 1rem 1rem;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 4px;
    border-radius: 15px 15px 40px 15px;
}

.sortBySelection {
    padding-top: 15px;
}
.sortBySelection .sort-option input[type="radio"]:checked + span {
    color: var(--highlight);
    font-weight: 600;
}

.breadcrumbs {
    font-size: 2.2em;
    color: var(--primary-color);
    font-family: var(--primaryFont);
    font-weight: 600;
    font-style: normal;
}

.breadcrumbs:before {
    content: "\A";
    white-space: pre;
    display: block;
    max-height: 0px;
}

.limitCategoryText {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#breadcrumbGroupedCategory:has(+ #breadcrumbCurrentCategory + #breadcrumbCurrentSubCategory):after,
#breadcrumbGroupedCategory:has(+ #breadcrumbCurrentSubCategory + #breadcrumbCurrentGroup):after,
#breadcrumbCurrentCategory:has(+ #breadcrumbCurrentSubCategory + #breadcrumbCurrentGroup):after,
#breadcrumbGroupedCategory:has(+ #breadcrumbCurrentCategory + #breadcrumbCurrentGroup ):after {
    content: '\f054';
    font-style: normal;
    font-weight: normal;
    font-family: "Font Awesome 6 Pro";
    font-size: 12px;
}

#breadcrumbGroupedCategory:has(+ #breadcrumbCurrentCategory),
#breadcrumbCurrentCategory:has(+ #breadcrumbCurrentSubCategory),
#breadcrumbCurrentSubCategory:has(+ #breadcrumbCurrentGroup) {
    font-size: 1em;
    color: var(--primary-color);
    font-weight: 500;
    font-style: normal;
}

#breadcrumbGroupedCategory:has(+ #breadcrumbCurrentGroup ),
#breadcrumbGroupedCategory:has(+ #breadcrumbCurrentSubCategory ),
#breadcrumbCurrentCategory:has(+ #breadcrumbCurrentGroup ) {
    font-size: 1em;
}

#breadcrumbGroupedCategory:has(+ #breadcrumbCurrentCategory):before,
#breadcrumbCurrentCategory:has(+ #breadcrumbCurrentSubCategory):before,
#breadcrumbCurrentSubCategory:has(+ #breadcrumbCurrentGroup):before,
#breadcrumbCurrentCategory:has(+ #breadcrumbCurrentGroup ):before {
    content: "";
    white-space: normal;
    display: none;
}

.breadcrumbs:hover {
    color: var(--primary-color) !important;
}

#clearAllFilters {
    cursor: pointer;
}

#sortbyContainer {
    margin-bottom:1rem;
}

#sortbyContainer .selectContainer {
    min-width: 220px;
    max-width: 220px;
}

#sortbyContainer select {
    height: 50px;
    background-color: var(--white-color-100);
}

#sortbyContainer label {
    top: -13px;
    left: 13px;
    background-color: var(--white-color-100);
}

#sortbyContainer label span {
    font-size: 12px;
}

#categoriesDesktopList ul li {
    height: 50px;
    margin-bottom: 35px;
    overflow: hidden;
    font-size: 0.9rem;
    min-width: 225px; /*210*/
}

#categoriesDesktopList ul a {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 3px;
}

#categoriesDesktopList ul a img {
    border-radius: 3px 0px 0px 3px;
}

#categoriesDesktopList .imgContainer {
    max-width: 50px
}

/*#mobileFiltersContainer {
    display: none;
}*/

/*.productCard:hover {
    box-shadow: 0px 4px 8px rgb(from var(--primary-color) r g b / 0.2);
}*/

.productCard .code {
    max-width: 140px;
    overflow: hidden;
}

/*.mobileShopFilterButton {
    display: none;
    text-align: center;
    border-radius: 1px;
    font-size: 1rem;
    padding: 0.6rem 0rem;
    cursor: pointer;
}*/


/*#mobileSidebar {
    background-color: white;
    position: fixed;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    z-index: 999999;
    top: 0;
    transition: left 0.4s;
}*/


/*#mobileSidebar {
    overflow-y: scroll;
}*/

.strikedOutPriceContainer {
    position: absolute;
    font-weight: 500;
    margin-left: 5px;
    top: -12px;
    color: var(--grey-color-300);
    font-family: var(--primaryFont);
}


.percentageTag {
    position: absolute;
    top: 20px;
    right: 0px;
    padding: 4px 21px;
    background-color: var(--primary-color);
    color: black;
    border-radius: 28px 0px 0px 28px;
    font-weight: 400;
}

.saleTag {
    position: absolute;
    top: 25px;
    left: 10px;
    background-color: red;
    color: white;
    padding: 2px 10px;
    border-radius: 14px;
}

/*#mobileSidebar .header {
    padding-top:1.2rem;
    padding-bottom:1.2rem;
    background-color:red;

}*/
/*


.sidebarMainContentContainer {
    overflow-y: auto;
}
*/


/*scroll visual*/

#mobileSidebar *::-webkit-scrollbar {
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.2) inset;
    border-radius: 10px;
    background-color: var(--primary-color);
    width: 3px;
    height: 3px;
}

#mobileSidebar *::-webkit-scrollbar-track {
    background-color: var(--grey-color-500);
}

#mobileSidebar *::-webkit-scrollbar-thumb {
    background-color: var(--blue-color-600 );
    border-radius: 50px;
}


#mobileSortSidebar *::-webkit-scrollbar {
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.2) inset;
    border-radius: 10px;
    background-color: var(--primary-color);
    width: 3px;
    height: 3px;
}

#mobileSortSidebar *::-webkit-scrollbar-track {
    background-color: var(--grey-color-500);
}

#mobileSortSidebar *::-webkit-scrollbar-thumb {
    background-color: var(--blue-color-600 );
    border-radius: 50px;
}

.productCardContainer {
    font-family: var(--secondaryFont);
}

.shop-button-container {
    background-color: var(--primary-color);
    border-radius: 5px;
}
.shop-button {
    color: var(--white-color-100);
}
.heart-button-container {
    border: 2px solid var(--grey-color-500);
    border-radius: 5px;
}
.heart-button {
    color: var(--primary-color);
}

/**/


.mobileSections {
    background-color: white;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
    scrollbar-color: var(--grey-color-700) transparent;
}



.mobileSections li {
    padding-top: 1rem;
    font-size:1.1rem;
}

.mobileSections li:first-child {
    padding-top: 0;
}


.sidebarMainContentContainer .mobileSections:last-of-type {
    margin-bottom: 4.5rem;
}

.sidebarClose {
    left: -130%;
}

.sidebaractive {
    left: 0;
}

#shopListProducts {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    width: 100%;
    gap: 0.6rem;
}

#shopListProducts a {
    text-decoration: none;
}

.moreOptionsContainer {
    font-size: 0.9rem;
}

.addToCartContainer {
    display: flex;
    justify-content: center;
}

.productTitleLength {
    padding-top: 2px;
}

.swal2-popup.swal2-toast .swal2-html-container {
    margin: 0 !important;
}

.AddProduct {
    transition: all 0.35s;
}

.filterContainer *::-webkit-scrollbar {
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.2) inset;
    border-radius: 10px;
    background-color: var(--primary-color);
    width: 6px;
    height: 3px;
}

.filterContainer *::-webkit-scrollbar-track {
    background-color: var(--grey-color-500);
}

.filterContainer *::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 50px;
}

.closedList {
    height: 0;
    overflow: hidden;
}


.sidebarMainContentContainer ul > :first-child {
    margin-top: 1rem;
}

/*.mobileFiltersTags {
    display: none;
}*/

#selectedFeaturesList {
    width: 100%;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

/*#selectedFeaturesList li {
    background-color: #b0e0e6;
    border-radius: 4px;
    max-width: 300px;
}*/

.mobileTagsContainer {
    width: 100%;
    height: 40px;
    background-color: var(--linen);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 50px;
    white-space: nowrap;
}

/* Do not show default checkbox */
.custom-checkbox input {
    display: none;
}

.custom-checkbox i {
    font-size: 1rem;
    color: var(--primary-color);
}

/* Checked icon hidden by default */
/*.custom-checkbox .fa-square-check {
    display: none;
    color: var(--primary-color);
}*/

/* when checked → swap icons */
/*.custom-checkbox input:checked + .fa-square {
    display: none;
}

.custom-checkbox input:checked + .fa-square + .fa-square-check {
    display: inline-block;
}*/


#paginationContainer {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}
.pagination {
    justify-content:center;
}

.page-link {
    background-color: transparent;
    border: 0px solid #dee2e6;
    color: var(--black-color-200);
}
.page-item {
    font-size:1.2rem;
}
.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    border-radius: 5px 5px 10px 5px;
    background-color:var(--primary-color);
}

.page-item.disabled .page-link {
    background-color: transparent;
}

/*TEASE PRODUCTs*/

#teaseProducts {
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1rem;
    width:100%;
}

#teaseProducts .productCardWidth {
    width: 100%;
}

#teaseProducts .productColorFeaturesContainer {
    height: auto;
}

#teaseProducts .glassPane {
    height: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    -webkit-backdrop-filter: blur(18.1px);
    border: 1px solid rgba(40, 40, 40, 0.3);
    background: rgb(29 52 107 /40%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18.1px);
    border: 1px solid rgb(14 45 91 / 30%);
}

.removeGlassPane {
    transform-origin: bottom; /* shrink from top to bottom */
    animation: heightDecreaseSmooth 0.8s ease-in-out forwards;
}


.seeTodaysOfferBtn {
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background: #233050;
    border-radius: 4px;
    border: none;
}

.seeTodaysOfferBtn i {
    font-size: 1.4rem;
    padding-right: 0.4rem;
    color: var(--secondary-color);
}


.seeTodaysOfferBtn:hover i {
    animation: spin 1s linear infinite;
}

.custom-underline {
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
}
.filterContainer {
    padding: 12px 16px;
}

/*Range Filter*/


.range-slider {
    position: relative;
    width: 100%;
    height: 60px;
    margin-top: 18px;
}

.rangeValues {
    display: flex;
    justify-content: space-between; /* min on left, max on right */
    font-size: 13px;
    font-weight: 600;
    color: #2d2d2d;
    margin-top: 10px;
    letter-spacing: 0.02em;
    width: 100%;
    left: 0;
}



.form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
    

.range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 30px; /* vertically center in the 18px container */
    left: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    margin: 0;
    z-index: 2;
}

/* Track */
.range-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
    border-radius: 3px;
}

.range-slider input[type="range"]::-moz-range-track {
    height: 6px;
    background: transparent;
    border-radius: 3px;
}

/* Thumb */
.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--primary-color);
    box-shadow: 0 1px 6px rgba(59,130,246,0.25);
    pointer-events: all;
    cursor: pointer;
    margin-top: -6px;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}

    .range-slider input[type="range"]::-moz-range-thumb {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #fff;
        border: 2.5px solid var(--primary-color);
        box-shadow: 0 1px 6px rgba(59,130,246,0.25);
        pointer-events: all;
        cursor: pointer;
        transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
    }

.range-slider input[type="range"]:active::-webkit-slider-thumb,
.range-slider input[type="range"]:focus::-webkit-slider-thumb {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
    transform: scale(1.1);
}

.range-slider input[type="range"]:active::-moz-range-thumb,
.range-slider input[type="range"]:focus::-moz-range-thumb {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
    transform: scale(1.1);
}

.range-slider::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 9px;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    z-index: 0;
}

/* Fill — browser resolves 100% AFTER layout, so calc is always accurate */
.range-slider .range-fill {
    position: absolute;
    top: 30px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 3px;
    z-index: 1;
    pointer-events: none;
    left: calc(var(--fill-left) * (100% - 18px) + 9px);
    width: calc((var(--fill-right) - var(--fill-left)) * (100% - 18px));
}

@media(max-width:1300px) {
    #shopListProducts {
        grid-template-columns: repeat(4, 1fr);
    }

    .filtersContainer {
        padding:0px;
        padding-right:10px;
    }
}

/*@media(max-width:1150px) {
    .mainContainerPadding {
        padding:1rem;
    }
}*/

@media(max-width:950px) {
    #shopListProducts {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:768px) {
    .filtersContainer {
        display: none;
    }

   
/*    #mobileFiltersContainer {
        display: flex;
    }*/

/*    .mobileShopFilterButton {
        display: block;
    }*/
/*    .mobileFiltersTags {
        display: block;
    }*/

    #sortbyContainer {
        display: none;
    }
}



@media(max-width:900px) {
    
    #bannerTextArea {
        max-width: 350px;
        font-size: 1.2rem;
    }
}

@media(max-width:770px) {

    #bannerShopContainer {
        display: none;
    }
    #teaseProducts {
        grid-template-columns: repeat(2, 1fr);
        gap:0.5rem;
    }
}



@media(max-width:575px) {
    #teaseProducts {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }

/*    .mainContainerPadding {
        padding: 0.5rem;
    }*/

    #shopListProducts {
        grid-template-columns: repeat(2,1fr);
    }
}


@media(max-width:460px) {
    .page-item {
        font-size: 1.4rem;
    }
    .pagination {
        justify-content: space-between;
    }
}


@media(max-width:391px) {

    #shopListProducts {
        grid-template-columns: repeat(1,1fr);
    }
}


@keyframes moreoptions {
    from {
        max-height: 190px;
    }

    to {
        max-height: 350px;
        overflow-y: auto;
    }
}

@keyframes heightDecreaseSmooth {
    from {
        transform: scaleY(1);
    }

    to {
        transform: scaleY(0);
    }
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-8deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(8deg);
    }

    100% {
        transform: rotate(0deg);
    }
}