/*hero start*/

.hero-section {
    width: 100%;
    height: 360px;
    position: relative;
    background-color: #58595B;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-hover-60);
}

.hero-section img {
    height: 360px;
    width: 100%;
    object-fit: cover;
}

.hero-section .text-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: nowrap;
}

.hero-section .text-content h1 {
    font-size: 45px;
    font-weight: 700;
    color: #F5F5F5;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .hero-section .text-content h1 {
        font-size: 30px;
    }
}

.hero-section .breadcrumb {
    margin-bottom: 0;
}

.hero-section .breadcrumb-wrapper li {
    font-size: 13px;
    color: var(--secondary-hover);
}

.hero-section .breadcrumb-wrapper a {
    text-decoration: none;
    color: #F5F5F5;
}

.hero-section .breadcrumb-wrapper li.active {
    color: var(--primary-color);
}

.hero-section .breadcrumb-item + .breadcrumb-item::before {
    padding: 0 5px;
    font-weight: 500;
    color: #F5F5F5 !important;
}


/*hero end*/

.product-cards .card {
    border: none;
    border-radius: 0;
    height: 100%;
    position: relative;
    background-color: transparent;
}

.product-cards .card .card-badge {
    position: absolute;
    bottom: 120px;
    width: 83%;
    left: 26px;
    text-align: center;
    z-index: 20;
    font-size: 14px;
    color: var(--primary-color);
    background-color: var(--primary-hover-60);
    padding: 10px;
    clip-path: var(--card-first-shape-btn);
    opacity: 0;
    transition: opacity 0.4s ease;
}

@media (max-width: 992px) {
    .product-cards .card .card-badge {
        width: 81%;
        left: 39px;
    }
}

.product-cards .card:hover .card-badge {
    opacity: 1;
}

.product-cards .card-body {
    border: none;
}

.product-cards .card img {
    border-radius: 0;
    object-fit: cover;
    clip-path: var(--card-first-shape);
    padding: 8px;
    border: 1px solid transparent;
    display: block;
    width: 100%;
    height: 450px;

    transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-cards .card a {
    text-decoration: none;
    color: #7A7A7A;
}

.product-cards .card-text {
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.product-cards .text-title {
    text-align: start;
    line-height: 26px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
}

.product-cards .price-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-cards .text-price {
    text-align: start;
    color: rgb(122, 122, 122);
    font-weight: 400;
    line-height: 23px;
    font-size: 15px;
}

.product-cards .price-wrapper del {
    font-size: 13px;
    opacity: 0.8;
}

.product-cards .new-price {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 500;
    line-height: 23px;
}

@media (max-width: 1200px) {
    .product-cards .card-text {
        gap: 10px;
    }

    .product-cards .text-title {
        text-align: center;
        font-size: 14px;
    }

    .product-cards .price-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .product-cards .text-price {
        text-align: center;
        font-size: 13px;
    }

    .product-cards .new-price {
        text-align: center;
        font-size: 16px;
    }
}

.product-cards .card:hover img {
    transform: scale(0.98);
    border-color: var(--primary-hover);
}

/*sort filter start*/

/* ===== Resets and Housekeeping ===== */


/* ===== Actual Styles ===== */

/* ===== Horizontal Rule ===== */
.rule {
    margin: 10px 0;
    border: none;
    height: 1.5px;
    background-image: linear-gradient(left, #f0f0f0, #c9bbae, #f0f0f0);
}

/* ===== Select Box ===== */
.sel {
    font-size: 8px;
    display: inline-block;
    width: 210px;
    background-color: transparent;
    position: relative;
    cursor: pointer;
    text-align: right;
}

.sel::before {
    position: absolute;
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("../svg/down.svg");
    background-size: cover;
    left: 0;
    top: calc(50% - 0.5em);
    transition: transform 0.3s ease;
}

.sel.active::before {
    transform: rotateX(-180deg);
}

.sel__placeholder {
    display: block;
    font-size: 2.3em;
    color: #838e95;
    padding: 0.2em 0.5em;
    text-align: right;
    pointer-events: none;
    user-select: none;
    visibility: visible;
}

.sel.active .sel__placeholder {
    visibility: hidden;
}

.sel__placeholder::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.2em 0.5em;
    content: attr(data-placeholder);
    visibility: hidden;
}

.sel.active .sel__placeholder::before {
    visibility: visible;
}

.sel__box {
    position: absolute;
    top: calc(100% + 4px);
    left: -4px;
    display: none;
    list-style-type: none;
    text-align: left;
    font-size: 1em;
    background-color: #FFF;
    width: calc(100% + 8px);
    box-sizing: border-box;
}

.sel.active .sel__box {
    display: block;
    animation: fadeInUp 500ms;
}

.sel__box__options {
    display: list-item;
    font-size: 2em;
    color: #838e95;
    padding: 0.5em 1em;
    user-select: none;
    text-align: right;
}

.sel__box__options:hover {
    background-color: #ebedef;
}

.sel {
    border-bottom: 4px solid var(--primary-bg);
}

.sel--black-panther {
    z-index: 3;
}

.sel--superman {
    /*   display: none; */
    z-index: 2;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/*sort filter end*/

/*SIDE MENU START*/

.side-menu {
    position: sticky;
    top: 20px;
    border-radius: 0;
    padding: 10px 0;
    background-color: #EBEEEE4A;
    height: fit-content;
}

.side-menu ul li {
    list-style: none;
    position: relative;
}

.side-menu ul {
    color: rgb(84, 89, 95);
    font-size: 15px;
    font-weight: 600;
    line-height: 27px;
}

.side-menu li {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    margin-top: 8px;
}

.side-menu li a {
    text-decoration: none;
    color: rgb(0, 31, 51);
    transition: color 0.3s ease;
}

.side-menu li a:hover {
    color: var(--secondary-color);
}

.side-menu ul li::before {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    width: 10px;
    height: 10px;
    right: -20px;
    top: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.side-menu ul li:hover::before {
    background-color: var(--secondary-color);
}

.side-menu {
    background: var(--primary-bg);
    padding: 10px;
    border-radius: 0;
    font-family: inherit;
}

.accordion-header {
    font-weight: 600;
    cursor: pointer;
    position: relative;
}
.accordion-header::after {
    position: absolute;
    content: '';
    width: 14px;
    height: 14px;
    background-image: url(../svg/down.svg);
    background-size: cover;
    left: 0;
    top: calc(50% - 0.5em);
    transition: transform 0.3s ease;
}
.accordion-header.active::after {
    transform: translateY(-50%) rotate(180deg);
}

/* hidden by default */
.accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}
.accordion-content.open {
    max-height: 2000px; /* enough for any content */
}

/* optional styling for links */
.accordion-content a {
    text-decoration: none;
    color: #333;
}
.accordion-content a:hover {
    color: #21665F;
}

/*filter start*/
.loop-grid .filters {
    position: sticky;
    top: 20px;
    border-radius: 0;
    padding: 10px;
    background-color: var(--primary-bg);
    height: fit-content;
}

/* MOBILE/TABLET view */
@media (max-width: 991px) {
    /* hide sidebar by default */
    .loop-grid .filters {
        position: fixed;
        left: 0;
        right: 0;
        bottom: -100%;
        top: auto;
        z-index: 10001;
        background: #fff;
        border-radius: 0;
        box-shadow: 0 -2px 15px rgba(0,0,0,0.25);
        padding: 20px;
        max-height: 80vh;
        overflow-y: auto;
        transition: bottom 0.35s ease-in-out;
    }

    /* show when active */
    .filters.active {
        bottom: 0;
    }

    /* overlay */
    .filter-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10000;
    }
    .filter-overlay.active {
        display: block;
    }

    /* floating button */
    .filter-toggle-btn {
        width: fit-content;
        /*position: absolute;*/
        /*top: 20px;*/
        /*left: 20px;*/
        background-color: #fff;
        border: 1px solid var(--primary-color);
        color: var(--primary-color);
        padding: 5px 15px;
        border-radius: 25px;
        font-size: 13px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    }

    /* close button inside sidebar */
    .filters .close-filter {
        display: block;
        text-align: center;
        background: var(--primary-color);
        color: #fff;
        padding: 10px;
        border: none;
        font-size: 13px;
        margin-bottom: 10px;
    }
}

/* hide close button on desktop */
@media (min-width: 992px) {
    .filters .close-filter {
        display: none !important;
    }
}

.loop-grid .jet-range__slider__track {
    height: 2px;
    background-color: var(--primary-color);
    border-style: none;
    border-radius: 155px 155px 155px 155px;
}

.loop-grid .jet-range__values {
    padding-top: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6em;
    letter-spacing: 0px;
    text-align: center;
}

.loop-grid input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance: none;
    appearance: none;
    width: 17px;
    height: 17px;
    background-color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.loop-grid input[type="range"]:hover::-webkit-slider-thumb {
    background-color: var(--primary-color);
    box-shadow: none;
}

.loop-grid input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.loop-grid .jet-range__slider .jet-range__slider__input {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: none !important;
    appearance: none !important;
    position: absolute;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    height: 16px;
    background: rgba(0, 0, 0, 0) !important;
}

.loop-grid input[type="checkbox"]
{
    -webkit-appearance:none;
    width: 14px;
    height: 14px;
    display: inline-block;
    background: #FFFFFF;
    border: 1px solid rgba(220,220,225,1);
}

.loop-grid input[type="checkbox"]:after {
    content: "";
    display: inline-block;
    position: relative;
    top: -7px;
    left: -4px;
    width: 4px;
    height: 8px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: rotate(45deg);
}

.loop-grid input[type=checkbox]:checked   {
    background: var(--primary-color);
    outline: none;
    border: 1px solid var(--primary-color);
}

.loop-grid .checkbox-wrapper label  {
    font-size: 14px;
    color: #000;
}

.loop-grid input[type="text"] {
    font-size: 14px;
    padding: 5px;
    border-color: var(--primary-color);
    border-radius: 0;
}

.loop-grid input[type="text"]:focus {
    outline: none;
    box-shadow: none;
    border-color: #000;
}

.loop-grid .filter-body select {
    border-radius: 0;
}

.loop-grid .checkbox-filter-body {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    max-height: 100px;
    overflow-y: auto;
}

.loop-grid .clear-search {
    position: absolute;
    left: 10px;
    top: 16px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    font-size: 18px;
    color: #616161;
    cursor: pointer;
    padding: 0;
    z-index: 2;
}

.loop-grid .clear-filter-button button {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 0;
}

/*side menu end*/

.pagination-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pagination-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 2px 8px;
    clip-path: var(--card-first-shape);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.pagination-btn svg {
    width: 12px;
    stroke: #fff;
    fill: #fff;
}
.pagination-numbers button {
    margin: 0 4px;
    padding: 8px 12px;
    background-color: #f1f1f1;
    border: none;
    clip-path: var(--card-second-shape);
    cursor: pointer;
    line-height: 15px;
    transition: background 0.3s ease, color 0.3s ease;
}

.pagination-btn:hover,
.pagination-numbers button:hover {
    background-color: var(--primary-hover);
    color: #fff;
}

.pagination-numbers button.active {
    background-color: var(--secondary-color);
    color: white;
}
