@font-face {
    font-family: Gotham;
    src: url(./fonts/gotham-webfont.woff2);
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Gotham";
}
body {
    background-color: #f4f4f4;
}
/*.container {*/
/*    margin: 40px auto;*/
/*}*/
#header {
    width: 100%;
    height: 60px;
    box-shadow: 5px 5px 15px #e8e8e8;
}
.col-lg-4,
.col-md-6 {
    padding-right: 0;
}

button.btn.btn-hide {
    height: inherit;
    background-color: #ff935d;
    color: #fff;
    font-size: 0.82rem;
    padding-left: 40px;
    padding-right: 40px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.btn:focus {
    box-shadow: none;
}
.box-label .btn {
    background-color: #fff;
    padding: 0;
    font-size: 0.8rem;
}
.btn-red {
    background-color: #e00000ce;
}
.btn-orange {
    background-color: #ffa500;
}
.btn-pink {
    background-color: #e0009dce;
}
.btn-green {
    background-color: #00811c !important;
}
.btn-blue {
    background-color: #026bc2;
}
.btn-brown {
    background-color: #FAF5EF;
}
.navbar {
    display: inline-flex;
}
.pagination .page-item .page-link {
    color: #333;
    border: none;
    width: 40px;
    text-align: center;
}
.pagination .page-item.active .page-link {
    background-color: #fff;
    border: 1px solid #333;
}
select {
    outline: none;
    padding: 6px 12px;
    margin: 0px 4px;
    color: #999;
    font-size: 0.85rem;
    width: 140px;
}
#select2 {
    border: 1px solid #777;
    color: #999;
}
#pro {
    border: none;
    color: #333;
    font-weight: 700;
    padding-left: 0px;
    width: initial;
}
#filterbar {
    width: 30%;
    /*background-color: #fff;*/
    /*border: 1px solid #ddd;*/
    /*border-radius: 15px;*/
    float: left;
}
#filterbar input[type="checkbox"] {
    visibility: hidden;
}
#filterbar input[type="checkbox"]:checked {
    background-color: #16c79a;
    border: none;
}
#filterbar .btn.btn-success {
    background-color: #DB1E27;
    color: #fff;
    border: none;
    width: 115px;
}
#filterbar .btn.btn-success:hover {
    background-color: #ef3f44;
    color: #444;
}
#filterbar .btn-success:not(:disabled):not(.disabled).active,
#filterbar .btn-success:not(:disabled):not(.disabled):active {
    background-color: #16c79a;
    color: #fff;
}
label {
    cursor: pointer;
}
.tick {
    display: block;
    position: relative;
    padding-left: 23px;
    cursor: pointer;
    font-size: 0.9rem;
    margin: 0;
}
.tick input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.check {
    position: absolute;
    top: 1px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
}
.tick:hover input ~ .check {
    background-color: #f3f3f3;
}
.tick input:checked ~ .check {
    background-color: #ffffff;
}
.check:after {
    content: "";
    position: absolute;
    display: none;
}
.tick input:checked ~ .check:after {
    display: block;
    transform: rotate(45deg) scale(1);
}
.tick .check:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid rgb(0, 0, 0);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg) scale(2);
}
.box {
    padding: 10px;
}
.box-label {
    color: #11698e;
    font-size: 0.9rem;
    font-weight: 800;
}
#inner-box,
#inner-box2,
#inner-box3 {
    height: 150px;
    overflow-y: scroll;
}
#inner-box2,
#inner-box3 {
    height: 132px;
}
#inner-box::-webkit-scrollbar,
#inner-box3::-webkit-scrollbar,
#inner-box2::-webkit-scrollbar {
    width: 6px;
}
#inner-box::-webkit-scrollbar-track,
#inner-box3::-webkit-scrollbar-track,
#inner-box2::-webkit-scrollbar-track {
    background-color: #ddd;
    border-radius: 2px;
}
#inner-box::-webkit-scrollbar-thumb,
#inner-box3::-webkit-scrollbar-thumb,
#inner-box2::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 2px;
}
#price {
    height: 45px;
}
#size input[type="checkbox"] {
    visibility: hidden;
}
#size input[type="checkbox"]:checked {
    background-color: #16c79a;
    border: none;
}
#size .btn.btn-success {
    background-color: #ddd;
    color: #333;
    border: none;
    width: 40px;
    font-size: 0.8rem;
    border-radius: 0;
}
#size .btn.btn-success:hover {
    background-color: #aff1e1;
    color: #444;
}
#size .btn-success:not(:disabled):not(.disabled).active,
#size .btn-success:not(:disabled):not(.disabled):active {
    background-color: #16c79a;
    color: #fff;
}
#size label {
    margin: 10px;
    margin-left: 0px;
}
.card {
    padding: 10px;
    cursor: pointer;
    transition: 0.3s all ease-in-out;
    height: 350px;
}
.card .product-name {
    font-weight: 600;
}
.card-body {
    padding-bottom: 0;
}
.card .text-muted {
    font-size: 0.82rem;
}
.card-img img {
    padding-top: 10px;
    width: inherit;
    height: 180px;
    object-fit: contain;
    display: block;
}
.card-body .btn-group .btn {
    padding: 0;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    border-radius: 50%;
    position: relative;
}
.card-body .btn-group > .btn-group:not(:last-child) > .btn,
.card-body .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-radius: 50%;
    transition: ease-in all 0.4s;
}
.card-body input[type="checkbox"] {
    visibility: hidden;
}
.card-body .btn:not(:disabled):not(.disabled).active::after,
.card-body .btn:not(:disabled):not(.disabled):active::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 4px;
    left: 4.2px;
    background-color: #fff;
    position: absolute;
    transition: ease-in all 0.4s;
}
.card-body .btn.btn-light:not(:disabled):not(.disabled).active::after,
.card-body .btn.btn-light:not(:disabled):not(.disabled):active::after {
    background-color: #000;
}
#avail-size input[type="checkbox"] {
    visibility: hidden;
}
#avail-size input[type="checkbox"]:checked {
    background-color: #16c79a;
    border: none;
}
#avail-size .btn.btn-success {
    background-color: #ddd;
    color: #333;
    border: none;
    width: 20px;
    font-size: 0.7rem;
    border-radius: 0;
    padding: 0;
}
#avail-size .btn.btn-success:hover {
    background-color: #aff1e1;
    color: #444;
}
#avail-size .btn-success:not(:disabled):not(.disabled).active,
#avail-size .btn-success:not(:disabled):not(.disabled):active {
    background-color: #16c79a;
    color: #fff;
}
#avail-size label {
    margin: 10px;
    margin-left: 0px;
}
#shirt {
    height: 170px;
}
.middle {
    position: relative;
    width: 100%;
    margin-top: 25px;
}
.slider {
    position: relative;
    z-index: 1;
    height: 5px;
    margin: 0 15px;
}
.slider > .track {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 5px;
    background-color: #ddd;
}
.slider > .range {
    position: absolute;
    z-index: 2;
    left: 25%;
    right: 25%;
    top: 0;
    bottom: 0;
    border-radius: 5px;
    background-color: #f30000;
}
.slider > .thumb {
    position: absolute;
    top: 2px;
    z-index: 3;
    width: 20px;
    height: 20px;
    background-color: #f30000;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(243, 0, 0, 0.705);
    transition: box-shadow 0.3s ease-in-out;
}
.slider > .thumb::after {
    position: absolute;
    width: 8px;
    height: 8px;
    left: 28%;
    top: 30%;
    border-radius: 50%;
    content: "";
    background-color: #fff;
}
.slider > .thumb.left {
    left: 25%;
    transform: translate(-15px, -10px);
}
.slider > .thumb.right {
    right: 25%;
    transform: translate(10px, -10px);
}
.slider > .thumb.hover {
    box-shadow: 0 0 0 10px rgba(243, 0, 0, 0.5);
}
.slider > .thumb.active {
    box-shadow: 0 0 0 10px rgba(243, 0, 0, 0.6);
}
input[type="range"] {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    height: 10px;
    width: 100%;
    opacity: 0;
}
input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    width: 30px;
    height: 30px;
    border-radius: 0;
    border: 0 none;
    background-color: red;
    -webkit-appearance: none;
}
.del {
    text-decoration: line-through;
    color: red;
}
@media (min-width: 1199.6px) {
    #filterbar {
        width: 40%;
    }
}
@media (max-width: 1199.5px) {
    #filterbar {
        width: 28%;
    }
    .card {
        height: 350px;
    }
    .price {
        font-size: 0.9rem;
    }
    .product-name {
        font-size: 0.8rem;
    }
}
@media (max-width: 991.5px) {
    .navbar-nav {
        min-width: 290px;
        position: absolute;
        left: -168px;
        bottom: -146px;
        padding: 20px 10px;
        display: block;
        background-image: none;
        z-index: 2;
        background-color: #1d1c1cb2;
    }
    #filterbar {
        width: 36%;
    }
    #sort {
        background-color: inherit;
        color: #fff;
        margin: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    #sort option,
    #pro option {
        color: #000;
    }
    #pro,
    #select2,
    .result {
        background-color: inherit;
        color: #fff;
    }
    .card {
        height: 345px;
    }
    .price {
        font-size: 0.85rem;
    }
}
@media (max-width: 767.5px) {
    #filterbar {
        width: 50%;
    }
}
@media (max-width: 525.5px) {
    #filterbar {
        float: none;
        width: 100%;
        margin-bottom: 20px;
        border-radius: 5px;
    }
    #content.my-5 {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
    .col-lg-4,
    .col-md-6 {
        padding-left: 0;
    }
}
@media (max-width: 500.5px) {
    .pagination {
        display: none;
    }
}
/* Existing slider container */
.slider-container {
    position: relative;
    width: 100%;
    height: 30px;
}

/* Slider track */
.slider-track {
    position: absolute;
    background: #ddd;
    height: 8px;
    border-radius: 5px;
    top: 10px; /* Center the track vertically */
    width: 100%;
}

/* Range (the colored part between the thumbs) */
.slider-range {
    position: absolute;
    height: 8px;
    background: #007bff;
    border-radius: 5px;
    top: 10px;
}

/* Slider thumb */
.slider-thumb {
    position: absolute;
    top: -8px;
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
}

/* Left Thumb */
.slider-thumb-left {
    z-index: 2;
}

/* Right Thumb */
.slider-thumb-right {
    z-index: 2;
}
.loader-div {
    display: none;
    position: fixed;
    margin: 0px;
    padding: 0px;
    right: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 30001;
    opacity: 0.8;
}

.loader-img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.productSelect {
    display: none;
}


#productContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    /*padding: 1rem;*/
}

@media (min-width: 768px) {
    #productContainer {
        grid-template-columns: repeat(3, 1fr);
    }
    .px-6{
        padding-left: 70px !important;
        padding-right: 70px !important;
    }
}
@media (min-width: 1200px) {
    #productContainer {
        grid-template-columns: repeat(4, 1fr);
    }
}
.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-card .score {
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 6px;
    color: white;
    margin-bottom: 0.5rem;
}

.product-card .info {
    text-align: center;
    margin-bottom: 0.5rem;
}

.product-card label {
    margin-top: 10px;
}

.product-card input[type="checkbox"] {
    margin-right: 5px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background-color: #FAF5EF !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 430px;
    padding: 0;
    cursor: pointer;
    border: unset !important;
    border-radius: unset;
}

.card:hover {
    background-color: #F2EDE7 !important;
    transform: scale(1.01);
}

.card:active {
    background-color: #E6E1DB !important;
}

.card-header {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 20px 15px 10px;
    text-align: left;
}

.card-header span {
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
}

.green { background-color: #219a29; }
.light-green { background-color: #80b009; }
.yellow { background-color: #dfb000; }
.orange { background-color: #e18400; }
.red { background-color: #d4000a; }

.card-body {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.brand {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.model {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
    padding-bottom: 10px;
}

.price {
    color: #444;
    margin-bottom: 15px;
}

.product-image {
    width: 100%;
    max-height: 200px;
    height: 200px;
    object-fit: contain;
    /*margin-bottom: 15px;*/
}

.compare {
    padding: 10px 15px 15px;
    border-top: 1px solid #eee;
    text-align: left;
}

/* Fancy checkbox style */
.fancy-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    font-weight: bold;
    color: #444;
}

.fancy-checkbox input[type="checkbox"] {
    display: none;
}

.fancy-checkbox .checkmark {
    width: 18px;
    height: 18px;
    background-color: #ddd;
    border-radius: 4px;
    position: relative;
    transition: background-color 0.3s;
}

.fancy-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 0px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.fancy-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: #DB1E27;
}

.fancy-checkbox input[type="checkbox"]:checked + .checkmark::after {
    display: block;
}

.fancy-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.fancy-checkbox .checkmark {
    width: 18px;
    height: 18px;
    background-color: #ddd;
    border-radius: 6px;
    position: relative;
    transition: background-color 0.3s;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Default desktop styles */
/*.hero-section {*/
/*    background: white;*/
/*    padding: 1rem;*/
/*    !*border-bottom: 1px solid #e0e0e0;*!*/
/*}*/

.hero-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text .text h1 {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -2.5px;
    margin: 0;
}

.hero-text .text h1 span {
    color: #e30613;
}

.logo {
    height: 50px;
    object-fit: contain;
}

.filter-toggle-btn {
    background-color: #e30613;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    margin-left: 1rem;
}

/* === Responsive Mobile Layout === */
@media (max-width: 768px) {
    .hero-text {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo {
        order: -1; /* Move logo to top */
        margin-bottom: 0.8rem;
    }

    .text {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .text h1 {
        font-size: 1rem;
        margin: 0;
        text-align: left;
    }

    /* Place the filter button inside .text, float right if needed */
    .text::after {
        background-color: #e30613;
        color: white;
        padding: 0.3rem 0.6rem;
        border-radius: 5px;
        font-size: 0.9rem;
        font-weight: bold;
        cursor: pointer;
        margin-left: auto;
    }
}
.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    gap: 1rem;
}
.hero-text-wrapper {
    width: 100%;
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 0 1rem;
    border-bottom: 1px solid #e0e0e0;
}
/* Logo default style */
.hero-text .logo {
    height: 60px;
    object-fit: contain;
    align-self: center;
}

/* Text block stacked */
.hero-text .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

/* Icon + "TEST" */
.hero-text .text span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: flex-start;
    width: 100%;
}

.hero-text .text span p {
    margin: 0;
    font-weight: bold;
    font-size: 1rem;
    color: #DB1E27;
}

/* Title */
.hero-text .text h1 {
    margin: 0;
    font-size: 40px;
    font-weight: 900;
    color: #000;
    text-align: left;
    letter-spacing: -2.5px;
}
.links-wrapper{
    display: flex;
    flex-direction: row;
}
/* Desktop layout */
@media (min-width: 768px) {
    .hero-text {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.5rem;
    }

    .hero-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .links {
        display: flex;
        flex-direction: row !important;
        gap: 1rem;
        width: unset;
    }

    .links-button {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        text-decoration: none;
        font-size: 0.9rem;
        color: #333;
        border: 1px solid #dcdcdc;
        border-radius: 30px;
        padding: 0.4rem 0.9rem;
        transition: background 0.2s;
    }

    .links-button:hover {
        background: #f5f5f5;
    }

    .links-icon {
        width: 16px;
        height: 16px;
    }

    .logo-img {
        width: 120px;
        height: auto;
    }

    .hero-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .test-label {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        color: #DB1E27;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .hero-bottom h1 {
        font-size: 2rem;
        font-weight: 700;
        margin: 0;
    }

}
/* Hide filter by default on mobile */
@media (max-width: 767px) {
    #filterbar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        max-width: 100%;
        background: white;
        z-index: 9999;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        padding: 1rem;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    .clear-btn{
        margin-right: 15px;
        margin-bottom: 15px;
    }
    .selected-filters{
        margin-right: 15px;
    }
    #filterbar.active {
        transform: translateY(0);
    }

    .filter-toggle-btn {
        display: block;
        padding: 0.6rem 1.2rem;
        background-color: #DB1E27;
        color: white;
        border: none;
        border-radius: 5px;
        font-weight: bold;
        cursor: pointer;
        margin: 1rem;
    }

    .close-filter {
        display: block;
        background: none;
        border: none;
        font-size: 1.6rem;
        margin-left: auto;
        color: #DB1E27;
        cursor: pointer;
    }
}

/* Desktop: show filter normally, hide toggle btn */
@media (min-width: 768px) {
    .filter-toggle-btn,
    .close-filter {
        display: none !important;
    }

    #filterbar.active {
        transform: none;
    }
}
/*sticky footer Begin*/
/* Default: hidden on desktop */
.sticky-footer {
    display: none;
}

/* Mobile: always fixed to bottom of screen */
@media (max-width: 767px) {
    .sticky-footer {
        position: sticky;
        display: block;
        bottom: 0;
        background: white;
        margin-top: 5px;
        border-top: 1px solid #ccc;
    }

    .sticky-footer button {
        background-color: #dc3545;
        color: white;
        border: none;
        padding: 6px 10px;
        border-radius: 5px;
        width: 100%;

    }

    /* Ensure content isn't hidden behind the fixed button */
    /*#filterbar {*/
    /*    padding-bottom: 80px; !* adjust to button height *!*/
    /*}*/
}

/*sticky footer End*/
.filter-toggle-btn {
    display: flex;
    width: 91%;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background-color: white;
    color: #2b2b2b;
    border: 1px solid #e6e0db;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: none;
    transition: background 0.2s ease;
}

.filter-toggle-btn:hover {
    background-color: #f5f5f5;
}
/* Comparison bar wrapper */
.compare-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 1rem;
}

/* Group the right-side elements */
.compare-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.selected-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.selected-info .count {
    font-weight: 500;
    color: #333;
}

.selected-info .images {
    display: flex;
    gap: 0.4rem;
}

.selected-info img {
    width: 65px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.cancel-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-weight: bold;
    cursor: pointer;
}

.compare-btn {
    background-color: #DB1E27;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    font-weight: bold;
    cursor: pointer;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    /*.selected-info .images {*/
    /*    display: none;*/
    /*}*/

    .compare-bar {
        flex-direction: column-reverse;
        justify-content: space-between;
    }

    .compare-right {
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
        margin-left:unset;
    }
    .selected-info{
        flex-direction: column;
    }
}
#compare-products:disabled {
    background-color: #ccc; /* Greyed out */
    color: #666;
    cursor: not-allowed;
    opacity: 0.7;
    border: 1px solid #999;
}
.product-placeholder {
    background: #eee;
    border-radius: 8px;
    height: 380px;
    margin: 10px;
    position: relative;
    overflow: hidden;
}

.product-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150px;
    height: 100%;
    width: 150px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -150px; }
    50% { left: 100%; }
    100% { left: 100%; }
}
.productScrollWrapper {
    overflow: visible !important;
    height: auto !important;
}
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-overlay .spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #ddd;
    border-top-color: #db1e27;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    /*background: #f9f9f9;*/
}

.image-wrapper .product-image {
    max-width: 100%;
    max-height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.image-wrapper .product-image.loaded {
    opacity: 1;
}

.image-wrapper .spinner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid #db1e27; /* your red */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.no-price {
    color: #999;
    font-style: italic;
}

.links-button {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 1px solid rgba(83, 56, 24, 0.16);
    box-shadow: 0px 4px 5px -3px rgba(0, 0, 0, 0.06);
    background-color: #FFF;
    padding: 8px 12px;
    gap: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.links-button:hover {
    background-color: #f8f8f8;
}

.links-button:focus {
    outline: 2px solid #19140E;
    outline-offset: 2px;
}

.links-icon {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    width: 24px;
    align-self: stretch;
    margin: auto 0;
    flex-shrink: 0;
}
.button-text {
    font-family: Gotham, sans-serif;
    font-size: 16px;
    color: #19140E;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: -0.2px;
    line-height: 20px;
    padding-top: 2px;
}


/* Wrapper spans full width — no centering */
.hero-text-wrapper {
    width: 100%;
}

/* Main block */
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 2rem;
}

/* === TOP ROW === */
.hero-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.links-button {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: #19140E;
    border: 1px solid rgba(83, 56, 24, 0.16);
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 5px -3px rgba(0, 0, 0, 0.06);
    padding: 8px 12px;
    transition: background-color 0.2s;
}

.links-button:hover {
    background-color: #f8f8f8;
}

.links-icon {
    width: 24px;
    height: 24px;
}

/* === LOGO === */
.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* === BOTTOM TEXT (TEST + TITLE) === */
.text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.text span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.text span p {
    margin: 0;
    font-weight: bold;
    font-size: 1rem;
    color: #DB1E27;
}

.text h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
}

/* === MOBILE === */
@media (max-width: 768px) {
    .hero-text {
        padding: 1rem;
        gap: 1rem;
    }

    .hero-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .logo-img {
        align-self: flex-end;
    }

    .text h1 {
        font-size: 1.3rem;
    }
}
#productSearch {
    background: url('../img/search.svg') no-repeat 10px center;
    padding-left: 35px;
    border: 1px solid #ccc;
    border-radius: 8px;
    height: 40px;
    background-color: white;
}

.details-btn {
    color: #19140E;
    font-size: 15px;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.2s ease;
}
.details-btn:hover{
    color: #19140E;
}
