
body {
    background-color: #FAFAFA;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: none;           
    box-shadow: none;          
    outline: none;
    margin-bottom: 0;
}

.button {
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 36.7rem;
    height: 15.4rem;
    background-color: #ffffff; 
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0.6; 
    border: 1px solid #f0f0f0;
}


.button.active {
    opacity: 0.85 !important;
    background-color: #ffffff; 
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); 
}

.button:hover {
    opacity: 1;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
}

.button-img {
    width: 14.1rem;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}

.button-text {
    flex: 1;
    text-align: center;
    color: #000000;
    font-size: 2.5rem;
}

.button.active .button-text {
    text-decoration: underline;
    text-underline-offset: 5px; 
}

.main_container_retail {
    margin-left: 39.4rem;
    width: calc(100% - 39.4rem);
    padding: 2.2rem 6.0rem;
    box-sizing: border-box;
    background-color: #FAFAFA;
    min-height: 100vh;
}

.retail_features {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 8rem;
    margin-top: 4.0rem;
    margin-bottom: 4.0rem;
    flex-wrap: nowrap;
}

.description {
    font-size: 2rem;
    font-weight: 200;
}

.feature_item {
    flex: 0 1 auto;
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.feature_item img {
    width: 3rem;
    height: auto;
    margin-bottom: 2.5rem;
}

.feature_item p {
    font-family: "futura-pt", sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
    color: #000000;
    margin: 0;
    max-width: 20rem;
    text-wrap: balance;
}

.retail_gallery {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 100%;
}

.gallery_row {
    display: flex;
    gap: 0.2rem;
    width: 100%;
}

.gallery_item {
    position: relative;
    height: 47.1rem;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.gallery_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.size_sm { width: 32.6rem; }
.size_md { width: 49.8rem; }
.size_lg { width: 55.4rem; }

.gallery_label {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    color: #ffffff;
    z-index: 10;
    pointer-events: none;
}

.gallery_label h4 {
    font-family: "futura-pt", sans-serif;
    font-size: 2.4rem;
    font-weight: 400;
    margin: 0 0 0.5rem 0;
}

.gallery_label p {
    font-family: "futura-pt", sans-serif;
    font-size: 2.1rem;
    font-weight: 300;
    margin: 0;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 45, 45, 0.98);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    display: flex;
    gap: 6rem;
    max-width: 90%;
    align-items: stretch; 
    height: auto;
    max-height: 80vh;
}

.lightbox-image-container {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.main-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.main-image-wrapper img {
    max-height: 80vh;
    width: auto;
    object-fit: contain;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.3);
    display: block;
}

.prev-arrow, .next-arrow {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 4rem;
    cursor: pointer;
    padding: 2rem;
    z-index: 20;
    font-weight: 100;
    opacity: 0.7;
    top: 50%;
    transform: translateY(-50%);
}

.prev-arrow { left: -6rem; }
.next-arrow { right: -6rem; }

.close-lightbox {
    position: absolute;
    top: 3rem;
    right: 5rem;
    color: white;
    font-size: 4rem;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-info {
    flex: 0 0 45rem;
    color: white !important;
    font-family: "futura-pt", sans-serif;
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: flex-start;
}

.info-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    height: 50%;
    padding-right: 2rem; 
    padding-bottom: 6rem;
    box-sizing: border-box;
}

.info-category {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: white;
}

#modal-project-title {
    font-size: 2rem !important;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: white !important;
}

#modal-project-title a {
    color: white !important;
    text-decoration: none;
}

#modal-project-title a:hover {
    color: white !important;
    text-decoration: underline;
    text-decoration-thickness: 0.01rem; 
    text-underline-offset: 4px;
}

#modal-project-desc {
    font-size: 2rem !important;
    opacity: 0.8;
    margin-bottom: 0;
    font-weight: 300;
    color: white !important;
}

.btn-collection {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background-color: white !important;
    color: black !important;
    border-radius: 5rem;
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 400;
    white-space: nowrap;
    
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 100;
}

.lightbox-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 8.5rem);
    gap: 1.5rem;
    margin-top: auto; 
}

.thumb {
    width: 8.5rem;
    height: 8.5rem;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    cursor: pointer;
}

.thumb.active, .thumb:hover {
    opacity: 1;
    outline: 2px solid white;
}

@media (max-width: 1550px) {
    .main_container_retail {
        margin-left: 30rem;
        width: calc(100% - 30rem);
    }
}

@media (max-width: 1440px) {
    .main_container_retail {
        padding: 6.0rem 4.0rem;
    }
    .size_sm { width: 25%; }
    .size_md { width: 35%; }
    .size_lg { width: 40%; }
    .gallery_item { height: 38rem; }
}

@media (max-width: 1100px) {
    .main_container_retail {
        margin-left: 0;
        width: 100%;
        padding: 4rem 2rem;
    }
    .lightbox-content {
        flex-direction: column;
        height: auto;
        max-height: 95vh;
        overflow-y: auto;
        gap: 3rem;
        padding: 4rem 2rem;
        align-items: center;
    }
    .lightbox-info {
        flex: 1;
        width: 100%;
        align-items: center;
        text-align: center;
        min-height: 40rem;
    }
    .info-text-wrapper {
        height: auto;
        padding-bottom: 8rem;
    }
    .btn-collection { 
        position: relative;
        top: 0;
        transform: none;
        margin: 2rem auto; 
    }
    .lightbox-thumbnails { 
        justify-content: center; 
        margin-top: 2rem;
    }
}