.product-gallery {
    max-width: 100%;
    margin: auto;
    padding: 0;
}

.product-gallery__main {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.product-gallery__image-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.product-gallery__image-wrapper .button-container {
    position: absolute;
    z-index: 1;
}

.top-right-4 {
    top: 1.5rem;
    right: 1.5rem;
}

.bottom-right-4 {
    bottom: 1.5rem;
    right: 1.5rem;
}

.product-gallery__main-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.product-gallery__main-image.zoomed {
    transform: scale(1.8);
    cursor: zoom-out;
}

.product-gallery__zoom-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: #fff;
    border: none;
    font-size: 1.25rem;
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 2;
}

.product-gallery__thumbs-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.product-gallery__thumbs-track {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0;
    scroll-behavior: smooth;
}

/* Hide scrollbar */
.product-gallery__thumbs-track::-webkit-scrollbar {
    display: none;
}

.product-gallery__thumbs-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-gallery__thumb {
    width: 5.5rem;
    height: 5.5rem;
    object-fit: cover;
    cursor: pointer;
    border-radius: 0;
    transition: border 0.2s ease;
    flex-shrink: 0;
    opacity: 0.3;
    transition: all 0.2s ease-in-out;
}

.product-gallery__thumb.is-active {
    opacity: 1;
}

.product-gallery__arrow {
    border: none;
    font-size: 0;
    padding: 0;
    cursor: pointer;
    width: 1.5rem;
    height: 1.5rem;
}

.product-gallery__arrow--left {
    background: url(../images/icons/icon-arrow-left.svg) no-repeat center center;
    background-size: cover;
}

.product-gallery__arrow--right {
    background: url(../images/icons/icon-arrow-right.svg) no-repeat center center;
    background-size: cover;
}

.product-gallery__arrow:disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* Details Info */
.product-detail__sku {
    line-height: 1rem;
    margin-bottom: 0.25rem;
}

.product-detail__sku span {
    color: var(--primary-color);
}

.product-detail__title {
    font-size: var(--font-size-large);
}

.product-detail__description {
    line-height: 140%;
}

.product-detail__badge {
    font-size: 0;
    text-indent: -999px;
    overflow: hidden;
    width: 4.875rem;
    height: 2.125rem;
    background: url(../images/icons/icon-deal-of-the-day.svg) no-repeat center center;
}

.product-detail__price--strike {
    line-height: 1rem;
}

.product-detail__price {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
}

.product-detail__offer {
    background: #F0F6FF;
    position: relative;
    margin-top: 2rem;
}

.product-detail__offer-badge {
    display: inline-block;
    padding: 0 0.5rem;
    line-height: 21px;
    background: #003049;
    background: linear-gradient(90deg, rgba(0, 48, 73, 1) 0%, rgb(18 121 175) 100%);
    position: absolute;
    left: 0;
    top: -10.5px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-top-left-radius: 0.3rem;
}

.product-detail__offer-badge:after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 1.5rem;
    height: 100%;
    background: url(../images/icons/offer-badge-tail.svg) no-repeat 0 center;
    background-size: 100%;
}

.text-discount-coupon {
    display: inline-block;
    padding: 0.3rem 0.5rem;
    background: #DBE9FF;
    border-radius: 0.3rem;
}

.color-dot {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    margin-left: 0.5rem;
}

.color-dot--rose {
    background-color: #f9baba;
}

.color-dot--white {
    background-color: #d3d2d2;
}

.color-dot--yellow {
    background-color: #FFCC66;
}

.live-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #00c853;
    border-radius: 50%;
    display: inline-block;
}

/* ====== Custom Radio Box ====== */
.custom-radio-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    position: relative;
}

.custom-radio-box__track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 0.5rem;
    padding: 0 0 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.custom-radio-box__track::-webkit-scrollbar {
    display: none;
}

.custom-radio-box__option {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    text-align: center;
}

.custom-radio-box__option input[type="radio"] {
    display: none;
}

.custom-radio-box__option input[type="radio"]+span {
    border: 1.5px solid #E0E0E0;
    border-radius: 0.35rem;
    padding: 0.3rem 0.7rem;
    transition: all 0.2s ease-in-out;
    color: #003049a6;
}

.custom-radio-box__option input[type="radio"]:disabled+span {
    opacity: 0.5;
}

.custom-radio-box__option input[type="radio"]:checked+span {
    background: #ffffff;
    border: 1.5px solid #005BB0;
    color: #005BB0;
}

.custom-radio-box__arrow {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #003b4a;
}

.custom-radio-box__arrow.hide-arrow {
    opacity: 0.3;
    cursor: auto;
}

.custom-radio-box__arrow {
    background-size: 1.5rem;
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0;
    text-indent: -999px;
    flex-shrink: 0;
}

.custom-radio-box__arrow--left {
    background: url(../images/icons/icon-arrow-left.svg) no-repeat center;
    left: -1.2rem;
}

.custom-radio-box__arrow--right {
    background: url(../images/icons/icon-arrow-right.svg) no-repeat center;
    right: -1.2rem;
}

.custom-radio-box__arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.custom-radio-box--colors,
.custom-radio-box--purity,
.custom-radio-box--carat {
    justify-content: start;
}

.custom-radio-box--carat {
    max-width: 12rem;
}

.assist-options__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 0.75rem;
}

.assist-options__item {
    flex: 1 1 22%;
    background-color: #f5f7fa;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1rem;
    transition: all 0.3s ease-in-out;
}

.assist-options__item:hover {
    border: 1px solid #005BB0;
}

.assist-options__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.assist-options__icon {
    background-color: #eaf0f8;
    border-radius: 0.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
}

.assist-options__icon img {
    width: 100%;
    height: auto;
}

.assist-options__title {
    font-weight: 600;
    margin: 0;
}

.assist-options__text {
    margin: 0;
    font-size: 0.875rem;
    color: #333;
}

.assist-options__cta {
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-block;
    text-decoration: underline;
    color: #0085CA;
}

.assist-options__item--call-now .assist-options__link {
    width: auto;
}

.assist-options__item--call-now .assist-options__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
}

.assist-options__item--call-now .assist-options__content .assist-options__link {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 0;
    align-items: start;
}

.assist-options__item--call-now .assist-options__content .assist-options__link .assist-options__title {
    width: 100%;
    margin: 0;
}

.product-details__heading {
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-details__info {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.product-details__label {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.product-details__subheading {
    font-weight: 600;
    margin: 2rem 0 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-details__meta {
    font-size: 0.875rem;
    font-weight: 600;
    color: #555;
}

.product-details__table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f1f5f9;
    margin: 0;
}

.product-details__table th {
    background-color: #f1f5f9;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid #CBD5E1;
}

.product-details__table td {
    font-size: 0.875rem;
    border: 1px solid #CBD5E1;
}

.product-details__note {
    font-size: 1rem;
}

.product-details__certificate {
    background-color: #eaf3ff;
}

.tag-container {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.tag-container__list {
    display: flex;
    gap: 0.5rem;
    width: max-content;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.tag-container__link {
    color: var(--primary-color);
    padding: 0.3rem 0.5rem;
    border-radius: 0.3rem;
    background: #F7F7F7;
    font-size: var(--font-size-small);
    transition: all 0.2s ease-in-out;
}

.tag-container__link:hover {
    background: #ebebeb;
}

.related-products-section {
    margin-bottom: 5rem !important;
}

.carousel--related-products .card.card--product {
    margin: 0 0.75rem 2rem;
    pointer-events: auto;
}

.carousel--related-products .slick-slide:first-child {
    margin-left: 0;
}

.carousel--related-products .slick-slide:last-child {
    margin-right: 0;
}

.card.card--product figure.card__figure {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.carousel--related-products .card.card--product {
    margin: 0 0.75rem 0.5rem;
}

.carousel--related-products.slick-slider {
    margin: 0 -0.75rem;
}

.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
    padding: 1rem 0.75rem;
}

.bottom-bar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.bottom-bar__container .btn {
    width: calc(52% - 1rem) !important;
    height: 3rem;
    white-space: nowrap;
    padding: 0 1rem;
}

/* Product Floating Bar */
.product-floatbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    z-index: 1050;
    gap: 1rem;
    transform: translateY(-100%);
}

.product-floatbar.show {
    transform: translateY(0);
}

.product-floatbar__image {
    flex-shrink: 0;
}

.product-floatbar__image img {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 0.25rem;
}

.product-floatbar__content {
    flex-grow: 1;
    min-width: 0;
}

.product-floatbar__name {
    font-size: 1rem;
    font-weight: 600;
    color: #002e3e;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-floatbar__price {
    display: flex;
    flex-direction: column;
    line-height: 1.5rem;
}

.product-floatbar__price--old {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-right: 0.5rem;
    text-decoration: line-through;
}

.product-floatbar__price--new {
    font-size: 1.5rem;
    font-weight: 700;
    color: #002e3e;
}

.product-floatbar__cta {
    display: inline-flex;
    align-items: center;
    background: #d4f9dd;
    color: #1a4626;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
    border: 1px solid #b9f3c7;
}

.product-floatbar__cta-icon {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.product-floatbar.show {
    display: flex;
    /* or grid or block depending on your layout */
}

.product-floatbar__content .btn-live-call {
    display: flex !important;
    flex-shrink: 0;
    transform: scale(0.9) translate(10px, 6px);
}

/* ====== Offer Card New ====== */
.offering-container {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    margin-top: 0.75rem;
}

.offer-card {
    position: relative;
    border: 1px dashed #4b91f1;
    border-radius: 0.75rem;
    padding: 1rem;
    background: #f4f9ff;
    font-family: 'Segoe UI', sans-serif;
    color: #001f3f;
}

.product-detail__offer-badge {
    line-height: 1.5rem;
    top: -0.75rem;
    left: -1px;
}

.product-detail__offer-badge:after {
    height: 100%;
    background-size: 100%;
}

.offer-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.offer-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.offer-card__price-label {
    font-size: 1rem;
    color: #001f3f;
}

.offer-card__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003366;
    line-height: 1.5rem;
}

.offer-card__coupon {
    text-align: left;
    background-color: #0583d1;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    width: max-content;
}

.offer-card__divider {
    border: none;
    border-top: 1px dashed #4b91f1;
    margin: 0;
    opacity: 1;
}

.offer-card__row--bottom {
    align-items: center;
    gap: 1rem;
}

.offer-card__save {
    flex: 1;
    font-size: 1rem;
    color: var(--primary-color);
    line-height: normal;
}

.offer-card__link {
    color: #0066cc;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.875rem;
}

.offer-card__apply {
    text-align: right;
}

.offering-container .slick-slide {
    margin: 0 0.75rem;
}

.offering-container .slick-list {
    margin: 0 -0.75rem;
    padding-top: 0.75rem;
}

.offering-container.slick-slider {
    touch-action: pan-y;
    -ms-touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

/* Responsive tweaks */
@media (max-width: 576px) {

    .carousel--related-products .card.card--product {
        margin: 0 0.5rem 0.5rem;
    }

    .carousel--related-products.slick-slider {
        margin: 0 -0.5rem;
    }

    .card.card--product figure.card__figure {
        border-radius: 0.5rem;
    }

    .offering-container .slick-dots {
        display: none !important;
    }

    .offering-container.slick-dotted.slick-slider {
        margin-bottom: 0;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .product-gallery {
        padding: 0;
    }

    .product-gallery__thumb {
        width: 3rem;
        height: 3rem;
    }

    .product-detail__offer {
        margin-top: 2.5rem;
    }

    .custom-radio-box--carat .custom-radio-box__track {
        width: calc(100% - 1.5rem);
    }

    .product-detail__colors {
        margin-bottom: 1rem;
    }

    .estimated-date {
        font-size: var(--font-size-small);
    }

    .assist-options__item {
        flex: 1 1 24%;
        padding: 0.5rem;
        justify-content: center;
    }

    .assist-options__link {
        position: relative;
    }

    .assist-options__content * {
        display: none;
    }

    .assist-options__content .assist-options__title-sm {
        display: block !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -2rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .tag-container {
        flex-direction: column;
    }

    .product-gallery {
        margin-bottom: 2.5rem;
    }

    .product-detail__description {
        margin-bottom: 2rem;
    }

    .btn-live-call {
        display: none !important;
    }

    .custom-radio-box--carat {
        max-width: 100%;
    }

    .custom-radio-box--carat .custom-radio-box__arrow {
        display: none;
    }

    /* .product-detail__actions {
        display: none !important;
    } */

    .assist-options__wrapper {
        gap: 0.5rem;
    }

    .assist-options__item {
        padding: 0;
        background: transparent;
    }

    .assist-options__item:hover,
    .assist-options__item:focus,
    .assist-options__item:focus-visible,
    .assist-options__item:active {
        border: none;
    }

    .assist-options__item {
        flex: unset;
        width: 23%;
    }

    .assist-options__icon {
        width: 100%;
        height: 100%;
    }

    .product-details__info {
        gap: 2rem;
        padding: 1rem;
        background: #F0F6FF;
        border-radius: 0.5rem;
        margin-bottom: 2rem;
    }

    .product-details__label {
        color: #005BB0;
    }

    .product-details__table th,
    .product-details__table td {
        white-space: nowrap;
    }

    .tag-container__list {
        width: auto;
    }

    .assist-options__item--call-now {
        flex-direction: column;
        gap: 0;
    }

    .assist-options__item--call-now .assist-options__link {
        width: 100%;
    }

    .assist-options__item--call-now .assist-options__title-sm {
        text-align: center;
    }

    .product-detail__actions {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        border-top: 1px solid #ddd;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1;
        padding: 1rem 0.75rem;
    }

    .product-detail__actions .btn {
        width: 100% !important;
    }

}