/* --- MAIN SECTION CONTAINER --- */
.page-by-color-slider-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 0 40px 20px;
    background-color: #ecf3f8;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* --- LEFT SECTION (DESCRIPTION) --- */
.page-by-color-slider-container-description {
    flex: 1 1 30%;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 8rem;
    color: #333;
}

@media (max-width: 768px) {
    .page-by-color-slider-container-description {
        padding: 2rem;
        flex: 1 1 100%;
    }
    .page-by-color-slider-container {
        padding: 20px;
    }
}

.page-by-color-slider-container-description-name {
    font-family: "Onest", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #566472;
    margin-bottom: 10px;
}

.page-by-color-slider-container-description-title {
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.2;
    color: #566472;
    margin-bottom: 20px;
}

.page-by-color-slider-container-description-text {
    font-family: "Rubik", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #566472;
}

/* --- Slider (RIGHT) --- */
.page-by-color-slider-wrapper {
    flex: 1 1 60%;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- ITEM SLIDER --- */
.page-by-color-slider {
    display: block;
    width: 100%;
}

/* Slider card */
.page-by-color-slider-item {
    box-sizing: border-box;
    outline: none;
    margin-right: 20px;
    width: auto;
    overflow: hidden;
    text-align: left;
}

/* IMAGE + LIGHTBOX */
.page-by-color-slider-item-product-image img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
    margin: 0.6rem 0;
    cursor: zoom-in;
    transition: opacity 0.3s ease;
}

.page-by-color-slider-item-product-image img:hover {
    opacity: 0.8;
}

.page-by-color-slider-item-info {
    padding-top: 5px;
}

.page-by-color-slider-item-project-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin: 0.5rem 0;
}

.page-by-color-slider-item-product-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.page-by-color-slider-item-product-title {
    font-weight: 500;
    font-size: 15px;
    color: #1a73e8;
    text-decoration: none;
}

/* --- ARROWS SLIDER BOTTOM --- */

.slick-arrows-bottom {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.slick-arrows-bottom button {
    position: static !important;
    transform: none !important;

    background-color: #ecf3f8;
    color: #7ea2c3;
    border: none;

    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.slick-arrows-bottom button:hover {
    color: #566472;
}

/* --- LIGHTBOX (Corrected) --- */

.simple-lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    box-sizing: border-box;

    align-items: center;
    justify-content: center;
    padding: 20px;
}

.simple-lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 900px;
    position: relative;

    padding: 0;
    height: 100%;
    max-height: 100%;
}

#lightbox-image {
    width: 100%;
    height: auto;
    max-height: 90vh;
    display: block;
    object-fit: contain;
    max-width: 900px;
    background-color: transparent;
}

/* Close Button (X) */
.close-lightbox {
    position: absolute;
    top: 20%;
    right: 0;

    z-index: 1002;

    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;

    padding: 5px 15px;
    line-height: 1;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .simple-lightbox {
        padding: 0;
    }

    .simple-lightbox-content {
        width: 100%;
        max-width: 100%;
    }

    .close-lightbox {
        top: 10px;
        right: 20px;
        font-size: 30px;
        padding: 0;
    }
}
/*Spec Colors block on product page CSS Start*/
.spec-color-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    background-color: #ecf3f8;
    padding: 6rem 8rem;
}

.spec-color-headings {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.spec-color-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
.spec-color-subheading {
    font-family: Rubik;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #566472;
}

.spec-color-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 4rem 0 0 0;
}
.tiles-by-color-list {
    list-style-type: none;
    padding: 0;
}

.tiles-by-color-list.grid-3-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    column-gap: 5rem;
    row-gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
@media (max-width: 768px) {
    .tiles-by-color-list.grid-3-columns {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
        row-gap: 1rem;
    }
    .spec-color-container {
        margin-top: 1rem;
        margin-bottom: 1rem;
        margin-left: auto;
        margin-right: auto;
        background-color: #ecf3f8;
        padding: 1rem 1rem;
    }
    .spec-color-items {
        margin-top: 1rem;
    }
}

.tiles-by-color-list.grid-3-columns li {
    text-align: center;
}

.spec-color-color {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.spec-color-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    color: #566472;
    text-decoration: underline;
}

/*Spec Colors block on product page CSS End*/

/*Filter on Acessories Page CSS Start*/

.product-types-filter {
    list-style: none;
    display: flex;
    justify-content: start;
    column-gap: 1rem;
    row-gap: 0rem;
    flex-wrap: wrap;
}
.filter-btn {
    display: inline-flex;
    align-items: center;
    background-color: #566472;
    cursor: pointer;
    border: none;
    padding: 0.2rem 0.5rem;
    color: #ffffff;
    border-radius: 5px;
}
.filter-btn .filter-icon-svg {
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}

.filter-item.is-active .filter-btn .filter-icon-svg path {
    stroke: #ffffff;
}
.filter-item.is-active .filter-btn {
    background-color: #1e1e1e !important;
    color: #ffffff;
}

/*Filter on Acessories Page CSS End*/

@media (max-width: 767px) {
    #accessories-block {
        margin-top: 0rem !important;
        margin-bottom: 0rem !important;
    }
}

