.et_pb_section {
    padding-top: 0 !important;
}

.et_pb_row_0 {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.beautysociety-details-container {
    width: 100%;
}

/* CSS Custom Properties for pixel-perfect control */
:root {
    --header-height: 106px;
    --product-section-margin-bottom: 40px;
}

/* Desktop ≥2560px - Full height for large monitors (2560x1440) */
.beautysociety-product-details-top-section {
    display: flex;
    margin-bottom: var(--product-section-margin-bottom);
    flex-wrap: wrap;
}

.beautysociety-product-details-top-images-section {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-height: 100%;
    overflow: hidden;
    min-height: 0; /* Allows flex shrinking */
    background-color: #E9E1DE;
}

.beautysociety-product-details-top-images-section > img {
    height: 100%;
    width: 110%;
}

.beautysociety-product-details-image-selector-container {
    position: absolute; 
    display: flex;
    left: 50%;
    transform: translateX(-50%);
    bottom: 28px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 100;
}

.beautysociety-product-details-image-selector {
    position: relative;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
    background-color: #EFEFEB;
    user-select: none;
}

.beautysociety-product-details-image-selector:hover {
    cursor: pointer;
}

.beautysociety-product-details-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.beautysociety-product-details-description-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex: 1;
    padding-top: 30px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 30px;
    overflow: hidden; /* Prevent overflow beyond top section height */
    min-height: 0; /* Allows flex shrinking */
}

.beautysociety-product-details-description-section > div:first-child {
    flex-shrink: 0; /* Title/price section - don't shrink */
}

.beautysociety-product-details-title {
    font-family: 'FeatureDisplay-Regular';
    font-weight: 400;
    font-size: 42px;
    line-height: 100%;
    color: #151514;
}

.beautysociety-product-details-title-container {
    flex: 1;
    margin-bottom: 11px;
}

.beautysociety-product-details-sub-title {
    margin-top: 11px;
    font-family: 'SuisseIntl-Light' !important;
    font-size: 16px;
    font-weight: 300;
    line-height: 20.75px;
}

.beautysociety-product-details-title-and-price-container {
    display: flex;
    align-items: baseline;
}

.beautysociety-product-details-price {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'SuisseIntl-Light';
    font-size: 16px;
    font-weight: 300;
    color: #151514;
}

.beautysociety-product-details-price-old {
    text-decoration: line-through;
    color: #939393;
}

.beautysociety-product-details-total-reviews {
    display: flex;
    align-items: center;
    font-family: 'SuisseIntl-Light';
    font-weight: 300;
    font-size: 11px;
}

.beautysociety-product-details-reviews-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.beautysociety-product-details-rewards-container {
    display: flex;
    align-items: center;
    gap: 3px;
    font-family: 'SuisseIntl-Light';
    font-size: 11px;
    color: #B8987D;
}

.beautysociety-product-details-reviews-and-rewards-container {
    display: flex;
    gap: 25px;
}

.beautysociety-product-details-add-to-bag-button-container {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex: 1;
    gap: 20px;
    margin-bottom: 41px;
}

.beautysociety-product-details-middle-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Allows flex shrinking */
    overflow: hidden; /* Prevent overflow */
    margin-bottom: 0;
}

.beautysociety-product-details-description {
    max-height: 350px;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    min-height: 0; /* Allows flex shrinking */
    margin-bottom: 20px;
}

.beautysociety-product-details-buttons-section {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0;
    flex-shrink: 0; /* Keep buttons visible at bottom */
}

.beautysociety-product-details-description::-webkit-scrollbar {
    display: none;
}

.beautysociety-product-details-description * {
    font-family: 'FeatureDisplay-Light' !important;
    font-weight: 300 !important;
    font-size: 18px !important;
    line-height: 22.14px !important;
}

.beautysociety-product-details-separator,
.beautysociety-product-details-separator-desktop {
    width: 100%;
    height: 1px;
    background-color: #B6B6B6;
    flex-shrink: 0; /* Don't shrink separator */
}

.beautysociety-product-details-subscription-container {
    display: flex;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    flex-shrink: 0; /* Don't shrink subscription container */
}

.beautysociety-product-details-subscription-container > div {
    flex: 1;
    font-family: 'SuisseIntl-Light';
    font-size: 14px;
    font-weight: 300;
}

.beautysociety-product-details-features {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    font-family: 'SuisseIntl-Light';
    font-size: 11px;
    color: #151514;
    flex-shrink: 0; /* Keep features visible at bottom */
    margin-top: auto; /* Push to bottom */
}

.beautysociety-product-details-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding-left: 0 !important;
    padding-bottom: 40px !important;
    border-bottom: 0 !important;
}

.beautysociety-product-details-tabs > li {
    flex-shrink: 0;
}

.beautysociety-product-details-tabs-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 100px !important;
    text-transform: uppercase;
    margin-right: 0 !important;
    padding: 14px 23px 14px 23px !important;
    font-family: 'SuisseIntl-Light';
    border-color: #151514 !important;
    color: #151514 !important;
}

.beautysociety-product-details-tab-content {
    display: flex;
    padding-top: 60px;
    padding-right: 40px;
    padding-bottom: 60px;
}

.beautysociety-product-details-tab-content > div {
    flex: 1;
}

.beautysociety-product-details-tab-description-title {
    padding-left: 120px;
    font-family: 'SuisseIntl-Light';
    font-size: 18px;
    font-weight: 300;
}

.beautysociety-product-details-tabs-section {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}

.page-id-25622 .nav-tabs > li.active > a {
    border: 0 !important;
}

.beautysociety-product-details-customer-reviews {
    padding-top: 30px;
    padding-bottom: 30px;
}

.beautysociety-product-details-customer-reviews-title {
    padding-top: 30px;
    padding-bottom: 45px;
    font-family: 'SuisseIntl-Light';
    font-size: 24px;
    font-weight: 300;
    line-height: 100%;
    color: #151514;
}

.beautysociety-product-details-customer-review-title {
    min-width: 300px;
    padding-left: 20px;
    padding-right: 20px;
}

.beautysociety-product-details-customer-reviews-section {
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 60px;
}

.beautysociety-product-details-customer-reviews-content {
    padding-left: 320px;
    margin-bottom: 30px;
}

.beautysociety-product-details-customer-reviews {
    display: flex;
}

.beautysociety-product-details-reviews-stars {
    display: flex;
    align-items: baseline;
    gap: 3px;
    padding-bottom: 3px;
}

.beautysociety-product-details-customer-reviewer-name {
    font-family: 'SuisseIntl-Light';
    font-weight: bold;
}

.beautysociety-product-details-rewards-mobile  {
    display: none;
}

.beautysociety-product-details-subscription-container-mobile {
    display: none;
}

.beautysociety-product-details-subscription-container-desktop-v2 {
    border-bottom: 0.5px solid #B6B6B6;
}

.beautysociety-product-details-customer-review-sub-title {
    margin-bottom: 9px;
    font-family: 'FeatureDisplay-Light';
    font-size: 18px;
    color: #151514;
}

.beautysociety-product-details-customer-review-title-container {
    margin-bottom: 6px;
}

.beautysociety-product-details-customer-review-title-container > div {
    font-family: 'SuisseIntl-Light';
    color: #151514;
}

.beautysociety-star-rating {
    display: flex;
    align-items: center;
    gap: 3px;
}

.beautysociety-star-rating > span {
    height: 16px;
}

.beautysociety-product-details-add-to-wishlist-container {
    width: 24px;
    height: 24px;
}

.beautysociety-product-details-add-to-wishlist-container:hover {
    cursor: pointer;
}

.beautysociety-product-details-add-to-wishlist-container-mobile {
    display: none;
}

.beautysociety-product-details-customer-reviews-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 0.5px solid #B6B6B6;
    padding-top: 20px;
    padding-bottom: 20px;
}

.beautysociety-related-products-container {
    padding-left: 30px;
    padding-right: 30px;
}

.beautysociety-related-products-title-container {
    font-family: 'FeatureDisplay-Light';
    font-size: 42px;
    border-top: 0.5px solid #B6B6B6;
}

.beautysociety-related-products-title-container > div {
    padding-top: 40px;
    padding-bottom: 40px;
    line-height: 100%;
}

.beautysociety-related-products-image {
    height: 319px;
    margin-bottom: 10px;
    background-color: #C4C4C4;
}

.beautysociety-related-product {
    display: inline-block;
    width: 319px;
    flex-shrink: 0;
}

.beautysociety-related-product:hover {
    cursor: pointer;
}

.beautysociety-related-products-image > img {
    height: 100%;
    width: 100%;
    object-fit: cover !important;
}

.beautysociety-related-products-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    height: 56px;
    overflow: hidden;
    margin-bottom: 5px;
    white-space: normal !important;
}

.beautysociety-related-products-title > div > div {
    padding-left: 10px;
    word-break: break-word;
}

.beautysociety-related-products-title > div > div:first-child {
    margin-bottom: 4px;
    font-family: 'FeatureDisplay-Light';
    font-size: 18px;
    font-weight: 300;
}

.beautysociety-related-products-title > div > div:last-child {
    font-family: 'SuisseIntl-Light';
    font-size: 12px;
    line-height: 12px;
    font-weight: 300;
}

.beautysociety-related-products-title > div:first-child {
    font-family: 'FeatureDisplay-Light';
    font-size: 18px;
    line-height: 21px;
}

.beautysociety-related-products-title > div:nth-child(2) {
    flex-shrink: 0;
    font-family: 'SuisseIntl-Light';
    font-size: 16px;
    font-weight: 300;
    line-height: 16px;
}

.beautysociety-related-products-rewards {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    color: #B8987D;
}

.beautysociety-related-products-rewards > div {
    font-family: 'SuisseIntl-Light';
    font-size: 11px;
    line-height: 14px;
}

.beautysociety-related-products-container-inner {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    margin-bottom: 64px;
    white-space: nowrap;
    scrollbar-width: none;
}  

.beautysociety-related-products-rewards-and-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    padding-right: 10px;
}

.beautysociety-related-products-rewards-and-price > div:first-child {
    font-size: 16px;
}

.beautysociety-product-details-bottom {
    flex: 1;
}

.pagination-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
    padding-top: 10px;
}

.pagination-page {
    background: none !important;
    border: 0 !important;
    font-family: 'SuisseIntl-Light';
    font-weight: 500;
    color: #B6B6B6;
}

.pagination-next-button,
.pagination-previous-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    border: 0 !important;
    font-family: 'SuisseIntl-Light';
    font-weight: 500;   
}

.pagination-page.active,
.pagination-next-button.active,
.pagination-previous-button.active {
    font-weight: 400;
    color: #151514 !important;
}

.beautysociety-product-details-customer-review-container {
    border-bottom: 0.5px solid #B6B6B6;
}

.beautysociety-product-details-customer-review-container:first-child {
    border-top: 0.5px solid #B6B6B6 !important;
}

.beautysociety-product-details-customer-reviews-separator {
    display: flex;
}

.beautysociety-product-details-leave-a-review-button-container {
    width: 100%;
    padding-top: 30px;
}

.beautysociety-product-details-customer-reviews-pagination-container {
    padding-top: 20px;
}

.beautysociety-product-details-image-selector-overlay-active {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(21, 21, 20, 0.15);
}

.swiper {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
}

.swiper-slide-product-details {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8; 
}

.swiper-slide-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-pagination-custom {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.swiper-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.swiper-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* This preserves aspect ratio */
    object-position: center;
}

.swiper-pagination-bullet {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 0;
    opacity: 1;
    cursor: pointer;
    overflow: hidden;
}

.swiper-pagination-bullet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    transition: background-color 0.3s ease;
}

.swiper-pagination-bullet-active .swiper-pagination-bullet-overlay {
    background: rgba(255, 255, 255, 0);
}

.beautysociety-product-details-variation-name {
    margin-bottom: 25px;
    font-family: 'SuisseIntl-Light';
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 300;
    line-height: 20px;
}

.beautysociety-product-details-add-to-wishlist-and-add-to-cart-button-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

/* PulpoAR - Try on */
.beautysociety-product-details-virtual-try-button {
    position: absolute;
    top: 34px;
    right: 32px;
    left: auto;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 14px 23px;
    border: 0.5px solid #151514;
    border-radius: 100px;
    font-family: 'SuisseIntl-Light';
    font-size: 14px;
    font-weight: 300;
    background-color: #FFFFFF;
    color: #151514;
    transition: all 0.2s ease-in-out;
}
.beautysociety-product-details-virtual-try-button:hover {
    border: 0.5px solid #939393;
    color: #939393;
    transition: all 0.2s ease-in-out;
}

.beautysociety-product-details-virtual-try-button svg path {
    fill: #151514;
    transition: all 0.2s ease-in-out;
}

.beautysociety-product-details-virtual-try-button:hover svg path {
    fill: #939393;
    transition: all 0.2s ease-in-out;
}

#beautysociety-product-details-virtual-try-iframe-dialog {
    width: 90vw;
    height: 80vh;
    padding: 0;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

#beautysociety-product-details-virtual-try-iframe-dialog::backdrop {
    background: rgba(0, 0, 0, 0.7);
}

iframe.beautysociety-product-details-virtual-try-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.beautysociety-product-details-virtual-try-dialog-header {
    position: fixed;
    top: 20px;
    right: 26px;
    z-index: 1;
}

#beautysociety-product-details-virtual-try-close-dialog-btn {
    background: rgb(198, 173, 151);
    color: white;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 100px;
    width: 40px;
    height: 40px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* PulpoAR - Try on END */

.custom-cart-filter-sort-reviews {
    min-width: 159px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-right: 6px;
    padding: 12px 27px 12px 15px;
    border: 1px solid #B6B6B6 !important;
    background-color: white;
    border-radius: 100px;
    text-align: center;
    font-family: 'SuisseIntl-Regular';
    text-transform: uppercase;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iNyIgdmlld0JveD0iMCAwIDEyIDciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjI2NDkgMS4yNjUwNUw2LjI2NDkyIDYuMjY1MDVDNi4xOTQ2MSA2LjMzNTI3IDYuMDk5MyA2LjM3NDcyIDUuOTk5OTIgNi4zNzQ3MkM1LjkwMDU1IDYuMzc0NzIgNS44MDUyNCA2LjMzNTI3IDUuNzM0OTIgNi4yNjUwNUwwLjczNDkyMyAxLjI2NTA1QzAuNjY4NjgzIDEuMTkzOTYgMC42MzI2MjIgMS4wOTk0IDAuNjM0MzM2IDEuMDAyNzhDMC42MzYwNSAwLjkwNTYzNCAwLjY3NTA2IDAuODEyOTQxIDAuNzQ0MTEyIDAuNzQ0MjM1QzAuODEyODE5IDAuNjc1NTI4IDAuOTA1MTEgMC42MzYxNzIgMS4wMDI2NiAwLjYzNDU4MkMxLjA5OTgxIDAuNjMyNzQ0IDEuMTkzODQgMC42ODgwNiAxLjI2NDkyIDAuNzM1MDQ2TDUuOTk5OTIgNS40Njk0MkwxMC43MzQ5IDAuNzM1MDQ2QzEwLjgwNiAwLjY2ODgwNiAxMC45IDAuNjMyNzQ0IDExLjA5NzIgMC42MzQ1ODJDMTEuMTk0MyAwLjYzNjE3MiAxMS4yMTg1IDAuNjc1NTI4IDExLjI1NTcgMC43NDQyMzVDMTEuMzI4NCAwLjgxMjk0MSAxMS4zNjM4IDAuOTA1NjM0IDExLjM2NTUgMS4wMDI3OEMxMS4zNjcyIDEuMDk5NCAxMS4zMzEyIDEuMTkzOTYgMTEuMjY0OSAxLjI2NTA1WiIgZmlsbD0iIzkzOTM5MyIvPjwvc3ZnPg==') no-repeat right 15px center;
    color: #B6B6B6;
}

.custom-cart-filter-sort-reviews:hover {
    cursor: pointer;
}

.beautysociety-product-details-customer-reviews-no-reviews {
    font-family: 'SuisseIntl-Light';
    font-size: 24px;
    font-weight: 300;
    color: #151514;
}

.beautysociety-product-details-tabs-section-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.beautysociety-product-details-variations-container {
    margin-bottom: 41px;
}

.beautysociety-share-button {
    width: 24px;
    height: 24px;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

.beautysociety-share-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.beautysociety-product-details-share-container {
    border-top: 1px solid #B6B6B6;
    padding-top: 10px;
}

.beautysociety-product-details-share-title {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: 'SuisseIntl-Light';
    font-size: 11px;
    color: #151514;
}
