.products-details {
    display: flex;
    gap: 24px;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    overflow: hidden;

    @media (max-width: 992px) {
        flex-direction: column;
        padding: 0px;

    }
}

.products-details .col-product-image-wrapper {
    width: 50%;
    min-width: 50%;
    height: max-content;
    display: flex;
    gap: 10px;
    contain: layout;
    position: relative;

    @media (max-width: 992px) {
        width: 100%;
        min-width: 100%;
    }
}

.products-details #product-images.product-gallery-frame {
    width: 100%;
    position: relative;
}

/* Hover zoom — desktop only (mobile uses lightbox) */
@media (min-width: 993px) {
    .products-details .col-product-image-wrapper.product-gallery-zoom-scope {
        contain: none;
        overflow: visible;
        z-index: 2;
    }

    .product-gallery-zoom-scope #product-images.product-gallery-frame.product-gallery-locked {
        overflow: visible;
    }

    .product-gallery-zoom-scope .product-gallery-static-item {
        overflow: visible;
    }

    .product-gallery-static-item:has(> .product-gallery-zoom-pane[aria-hidden="false"]) {
        overflow: visible;
        z-index: 5;
    }

    .product-gallery-zoom-scope #product-images.product-gallery-frame {
        overflow: visible;
    }

    .product-gallery-zoom-enabled.product-images-carousel,
    .product-gallery-zoom-enabled.product-gallery-desktop-static {
        overflow: visible;
    }

    .product-gallery-zoom-enabled .image-link,
    .product-gallery-zoom-enabled .product-gallery-static-item .image-link {
        position: relative;
        overflow: visible;
    }

    .product-gallery-zoom-enabled .swiper-slide-active .image-link .carousel-img,
    .product-gallery-zoom-enabled .product-gallery-static-item .image-link .carousel-img {
        cursor: crosshair;
    }

    .product-gallery-zoom-lens {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 4;
        border: 2px solid var(--primary-color, #b42318);
        background: rgba(255, 255, 255, 0.25);
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.65) inset;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.15s ease;
        will-change: transform;
    }

    .product-gallery-zoom-active .product-gallery-zoom-lens {
        opacity: 1;
    }

    .product-gallery-zoom-pane {
        position: fixed;
        z-index: 9999;
        max-width: 440px;
        max-height: 520px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        border: 1px solid #e8eaed;
        border-radius: 8px;
        background-color: #fff;
        background-repeat: no-repeat;
        box-shadow: 0 12px 40px rgba(15, 23, 42, 0.16);
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    body.product-gallery-zoom-open .product-gallery-zoom-pane[aria-hidden="false"] {
        opacity: 1;
        visibility: visible;
    }

    .product-gallery-zoom-pane[aria-hidden="true"] {
        opacity: 0 !important;
        visibility: hidden !important;
        background-image: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    .product-gallery-zoom-lens,
    .product-gallery-zoom-pane {
        transition: none !important;
    }
}

/* قبل القفل: الصورة بحجمها الطبيعي */
.products-details #product-images.product-gallery-frame:not(.product-gallery-locked) #product-images-slick {
    height: auto !important;
}

.products-details #product-images.product-gallery-frame:not(.product-gallery-locked) .swiper-wrapper,
.products-details #product-images.product-gallery-frame:not(.product-gallery-locked) .swiper-slide {
    height: auto !important;
}

.products-details #product-images.product-gallery-frame:not(.product-gallery-locked) .image-link img,
.products-details #product-images.product-gallery-frame:not(.product-gallery-locked) .video-slide video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: unset;
}

/* بعد القفل مرة واحدة: الإطار ثابت على الأب — يبقى حتى لو Swiper اتعاد رسمه */
.products-details #product-images.product-gallery-frame.product-gallery-locked {
    aspect-ratio: var(--product-gallery-aspect-ratio);
    width: 100%;
    height: auto;
    overflow: hidden;
}

.products-details #product-images.product-gallery-frame.product-gallery-locked #product-images-slick {
    width: 100%;
    height: 100% !important;
}

.products-details #product-images.product-gallery-frame.product-gallery-locked .swiper-wrapper {
    height: 100% !important;
}

.products-details #product-images.product-gallery-frame.product-gallery-locked .swiper-slide {
    height: 100% !important;
}

.products-details #product-images.product-gallery-frame.product-gallery-locked .image-link,
.products-details #product-images.product-gallery-frame.product-gallery-locked .video-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.products-details .col-product-image-wrapper .swiper-wrapper {
    justify-content: inherit !important;
}

.products-details .product-images-carousel {
    width: 100%;
    position: relative;
}

.gallery-layout-carousel-side-thumbs .products-details .product-images-carousel {
    width: calc(100% - 88px);

    @media (max-width: 992px) {
        width: 100%;
    }
}

.gallery-layout-carousel-bottom-thumbs .products-details .product-images-carousel,
.gallery-layout-carousel-only .products-details .product-images-carousel,
.gallery-layout-stack .products-details .product-images-carousel,
.gallery-layout-grid-2 .products-details .product-images-carousel,
.gallery-layout-hero-grid .products-details .product-images-carousel {
    width: 100%;
}

.products-details:not(:has(.product-images-carousel-thumbs)) .product-images-carousel,
.product-images-empty {
    width: 100%;
}

.products-details .product-images-carousel-thumbs {
    width: 78px;
    min-width: 78px;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    border: 1px solid transparent;
    padding: 30px 8px;
}

.products-details .product-images-carousel-thumbs .swiper-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.products-details .product-images-carousel-thumbs .swiper-slide {
    width: 100% !important;
    height: 74px !important;
    flex: 0 0 74px !important;
}

.products-details .product-images-carousel-thumbs .thumbs-nav-prev,
.products-details .product-images-carousel-thumbs .thumbs-nav-next {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 26px;
    margin-top: 0;
    margin-bottom: 0;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.products-details .product-images-carousel-thumbs .thumbs-nav-prev:hover,
.products-details .product-images-carousel-thumbs .thumbs-nav-next:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.products-details .product-images-carousel-thumbs .thumbs-nav-prev {
    top: 0;
}

.products-details .product-images-carousel-thumbs .thumbs-nav-next {
    bottom: 0;
    top: auto;
}

.products-details .product-images-carousel-thumbs .thumbs-nav-prev::after,
.products-details .product-images-carousel-thumbs .thumbs-nav-next::after {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    transform: rotate(-90deg);
}

.products-details .product-images-carousel-thumbs .thumbs-nav-prev.swiper-button-disabled,
.products-details .product-images-carousel-thumbs .thumbs-nav-next.swiper-button-disabled,
.products-details .product-images-carousel-thumbs .thumbs-nav-prev[aria-disabled="true"],
.products-details .product-images-carousel-thumbs .thumbs-nav-next[aria-disabled="true"] {
    display: none;
}

.d-none-important,
.products-details .product-gallery-media .video-slide svg {
    display: none
}

.products-details .col-product-image-wrapper:has(.d-none-important) .product-images-carousel {
    width: 100%
}

.products-details .product-images-carousel-thumbs .thumb-image-a {
    display: block;
    height: 74px;
    border: 1px solid #ecf0f5;
    cursor: pointer;
    margin: 0;
    width: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    opacity: .75;
    transition: border-color .2s ease, box-shadow .2s ease, opacity .2s ease, transform .2s ease;
}

.products-details .product-images-carousel-thumbs .swiper-slide.swiper-slide-thumb-active .thumb-image-a {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary-color) 20%, transparent);
    opacity: 1;
    transform: translateY(-1px);
}

.products-details .product-images-carousel-thumbs .thumb-image-a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: initial;
    border-radius: 10px;
}

.products-details .product-images-carousel-thumbs .video-slide {
    position: relative;
    width: 100%;
    height: 100%
}

.products-details .product-images-carousel-thumbs .video-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: flex;
}

.products-details .product-images-carousel-thumbs svg {
    position: absolute;
    inset: 0;
    margin: auto;
    color: #fff;
    width: 28px;
    height: 28px
}

.no-tabs .tabs-description-reviews .tab-content .tp-title-section,
.products-details .product-gallery-media .image-link {
    display: block;
}

.products-details .product-gallery-media .slick-slide {
    position: relative;
}

.products-details .product-gallery-media .slick-dots {
    bottom: 8px;
}

.products-details .product-gallery-media .image-link img,
.products-details .product-gallery-media .video-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    cursor: pointer;
}

.products-details #product-images.product-gallery-frame:not(.product-gallery-locked) .image-link img,
.products-details #product-images.product-gallery-frame:not(.product-gallery-locked) .video-slide video {
    height: auto;
    object-fit: unset;
}

.products-details .product-gallery-media .video-slide {
    height: 100%;
}

.thumb-bottom .products-details .col-product-image-wrapper {
    flex-direction: column-reverse;
    justify-content: start
}

.modal-bottom-buttons .btn-submit-new-question,
.product-buttons,
.thumb-bottom .products-details .product-images-carousel,
.tp-product-details-review-avater-content,
.tp-product-details-review-list {
    width: 100%
}

.thumb-bottom .products-details .product-images-carousel-thumbs {
    width: 100%;
    min-width: unset;
    height: auto
}

.thumb-bottom .products-details .product-images-carousel-thumbs .slick-track {
    display: flex;
}

.thumb-bottom .products-details .product-images-carousel-thumbs .slick-slide {
    padding: 0 5px;
    height: auto;
}

.thumb-bottom .product-images-carousel-thumbs .thumb-image-a img,
.thumb-bottom .product-images-carousel-thumbs .video-slide video {
    height: 85px;
    object-fit: cover;
    object-position: top;
}

.gallery-layout-carousel-bottom-thumbs .products-details .product-images-carousel-thumbs .thumbs-nav-prev:after,
.gallery-layout-carousel-bottom-thumbs .products-details .product-images-carousel-thumbs .thumbs-nav-next:after {
    transform: unset;
}

.products-details .col-product-info {
    width: 100%;
    position: sticky;
    top: 80px;
    height: max-content;
    overflow: hidden;
}

/* توسيط محتوى عمود معلومات المنتج — عند تفعيل الخيار من التخصيص */
.products-details .col-product-info--center {
    text-align: center;
}

.products-details .col-product-info--center .product-info-header {
    justify-content: center;
    flex-direction: column-reverse;
}

.products-details .col-product-info--center .product-first-category {
    justify-content: center;
}

.products-details .col-product-info--center .badge-cart,
.products-details .col-product-info--center .badge-cart.badge-cart--align-start,
.products-details .col-product-info--center .badge-cart.badge-cart--align-end {
    justify-content: center !important;
}

.products-details .col-product-info--center .badge-cart.badge-cart--vertical,
.products-details .col-product-info--center .badge-cart.badge-cart--vertical.badge-cart--align-start,
.products-details .col-product-info--center .badge-cart.badge-cart--vertical.badge-cart--align-end {
    align-items: center !important;
}

.products-details .col-product-info--center .title-product,
.products-details .col-product-info--center .product-description {
    text-align: center !important;
}

.products-details .col-product-info--center .product-buttons {
    text-align: center;
}

.products-details .col-product-info--center .size-box .form-group .form-control .file-label {
    justify-content: center;
}

.products-details .col-product-info--center .price-product {
    margin-inline: auto;
}

.products-details .col-product-info--center .price-product .price-tawfer {
    justify-content: center;
}

.products-details .col-product-info--center .product-extra-info-rotator {
    margin-inline: auto;
}

.products-details .col-product-info--center .product-extra-info-item {
    justify-content: center;
}

.products-details .col-product-info--center .rate-sku,
.products-details .col-product-info--center .product-count,
.products-details .col-product-info--center .div-product-weight,
.products-details .col-product-info--center .available-quantity,
.products-details .col-product-info--center .end-in-box,
.products-details .col-product-info--center .end-in-box .tp-countdown ul,
.products-details .col-product-info--center .low-quantity-section,
.products-details .col-product-info--center .bundle-offer-section,
.products-details .col-product-info--center .tf-product-info-liveview,
.products-details .col-product-info--center .sku-weight,
.products-details .col-product-info--center .product-flex-box,
.products-details .col-product-info--center .section-out-of-stock-notify-me {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.products-details .col-product-info--center .end-in-box {
    flex-direction: column;
    align-items: center;
}

.products-details .col-product-info--center .size-box,
.products-details .col-product-info--center #product-variants-options .form-group {
    text-align: center;
}

.products-details .col-product-info--center .size-box label {
    justify-content: center;
}

.products-details .col-product-info--center .size-box .size-guide-link {
    margin-inline: 0;
}

.products-details .col-product-info--center #product-variants-options ul,
.products-details .col-product-info--center #product-variants-options .product-card-opt-list {
    justify-content: center;
}

.products-details .col-product-info--center .quantity-input-div,
.products-details .col-product-info--center .quantity-add-cart,
.products-details .col-product-info--center .select-quantity-div,
.products-details .col-product-info--center .quantity-style-2 {
    justify-content: center;
    align-items: center;
}

.products-details .col-product-info--center .select-quantity-div .quantity-input {
    margin-inline: auto;
}

.products-details .col-product-info--center .product-buttons-flex,
.products-details .col-product-info--center .checkout-btns {
    justify-content: center;
}

.products-details .col-product-info--center .product-buttons-flex.add-cart-page {
    align-items: flex-end;
}

.products-details .col-product-info--center .product-buttons-flex.add-cart-page .quantity-add-cart {
    align-items: center;
}

.products-details .col-product-info--center .apple-pay-button {
    display: flex;
    justify-content: center;
}

.products-details .col-product-info--center .text-url {
    display: inline-block;
}

.products-details .col-product-info--center .small-banner {
    margin-inline: auto;
    display: block;
}

.products-details .col-product-info--center .features-product.product-features,
.products-details .col-product-info--center .product-store-features-card__grid,
.products-details .col-product-info--center .product-features__item,
.products-details .col-product-info--center .product-store-features-card__item {
    justify-content: flex-start;
    text-align: right;
}

.products-details .col-product-info--center .dynamic-bundle-flat-host {
    text-align: center;
}

.products-details .col-product-image-wrapper .product-gallery-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 3;
}

.products-details .col-product-image-wrapper .product-gallery-badge--preorder {
    top: auto;
    margin-top: 38px;
}

.products-details .col-product-image-wrapper .badge-name {
    gap: 3px;
    position: relative;
    right: auto;
    top: auto;
    margin: 0;
    padding: 2px 8px;
    font-weight: 500;
    background: var(--badge-background-color, var(--primary-color)) !important;
    color: var(--badge-text-color, var(--text-color-primary-bg)) !important;
    border: 0 !important;
    line-height: 24px;
    z-index: 3;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

.col-product-info .title-product {
    font-size: 24px;
    margin-bottom: 16px
}

.badge-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 10px;
}

.badge-cart--horizontal {
    flex-direction: row;
}

.badge-cart--vertical {
    flex-direction: column;
    align-items: stretch;
}

.badge-cart--align-start {
    justify-content: flex-start;
}

.badge-cart--align-center {
    justify-content: center;
}

.badge-cart--align-end {
    justify-content: flex-end;
}

.badge-cart--vertical.badge-cart--align-center {
    align-items: center;
}

.badge-cart--vertical.badge-cart--align-end {
    align-items: flex-end;
}

.badge-cart--vertical.badge-cart--align-start {
    align-items: flex-start;
}

.badge-cart__title {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border: 1px solid #277e2a;
    color: #277e2a;
    border-radius: 6px;
    line-height: 1.4;
}

.badge-cart__title--outline .badge-cart__title {
    background: transparent;
}

.badge-cart__title--filled .badge-cart__title {
    border-color: transparent;
    background: color-mix(in srgb, var(--badge-cart-title-accent, #277e2a) 12%, #fff);
    color: var(--badge-cart-title-accent, #277e2a);
}

.badge-cart__title--none .badge-cart__title {
    border-color: transparent;
    background: transparent;
    padding-inline: 0;
}

.badge-cart__title--size-small .badge-cart__title {
    font-size: 14px;
}

.badge-cart__title--size-normal .badge-cart__title {
    font-size: 16px;
}

.badge-cart__title--size-large .badge-cart__title {
    font-size: 18px;
}

.badge-cart__title--radius-sharp .badge-cart__title {
    border-radius: 0;
}

.badge-cart__title--radius-rounded .badge-cart__title {
    border-radius: 6px;
}

.badge-cart__title--radius-pill .badge-cart__title {
    border-radius: 999px;
}

.badge-cart__text {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}

.badge-cart__text--has-bg .badge-cart__text {
    padding: 4px 10px;
    border-radius: 8px;
}

.badge-cart__text-label {
    display: inline;
}

.badge-cart__icon {
    display: inline-flex;
    flex-shrink: 0;
    color: #e0001a;
}

.badge-cart__icon svg {
    display: block;
}

.badge-cart:not(.badge-cart__icon--no-animation) .badge-cart__icon svg {
    animation: 2s infinite tf-ani-flash;
}

.badge-cart p,
.badge-cart__text,
.no-tabs .tabs-description-reviews .tab-content,
.questions-card-preview p,
.tf-product-info-liveview p,
.tp-product-details-review-summery-rating p {
    margin: 0;
}

@keyframes tf-ani-flash {

    0%,
    50%,
    to {
        opacity: 1
    }

    25%,
    75% {
        opacity: 0
    }
}

.col-product-info .product-description {
    font-size: 16px;
    margin-bottom: 16px;

    @media (max-width: 992px) {
        font-size: 14px;
    }
}

.col-product-info .product-description * {
    display: inherit;
    margin: 0;
}

.col-product-info .product-description .read-more-btn {
    color: var(--tp-text-1);
    text-decoration: underline;
    margin-top: 5px;
}

.description-box * {
    max-width: 100%
}

.description-box ul {
    list-style: inherit;
    padding-inline-start: 30px;
}

.description-box img {
    width: auto;
    height: auto;
    margin: auto
}

.col-product-info .price-product {
    width: max-content;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
}

.col-product-info .price-product .price-product {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.col-product-info .price-product .product-formatted-price {
    margin: 0;
    font-size: 26px;
    font-weight: 500;
    color: #e0001a
}

.col-product-info .price-product .product-formatted-price svg {
    width: 20px;
    height: 20px;
}

.col-product-info .price-product .product-formatted-price-discount {
    padding: 3px 10px 0;
    border-radius: 20px;
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
    width: max-content;
    color: #E0001A;
    background: #cf142b1c;
    direction: ltr;
}

.col-product-info .price-product .price-tawfer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.col-product-info .price-product .product-formatted-price-old {
    text-decoration: line-through;
    color: #6b7280;
    font-size: 18px;
    line-height: 20px;
    display: block;
}

.col-product-info .price-product .price-tawfer .wafar-price {
    font-size: 15px;
    color: #4caf50;
    font-weight: 500;
    display: none
}

.sku-weight {
    /* border-top: 1px solid var(--bs-gray-200); */
    /* padding-top: 16px; */
    margin-top: 16px;
}

.small-banner {
    width: 100%;
    height: auto;
}

.product-flex-box {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 5px
}

.product-flex-box .product-sku-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    display: flex;
    gap: 5px;
    align-items: center;
}

.product-flex-box .product-sku-title svg {
    color: currentColor;
    width: 20px;
    height: 20px
}

.product-flex-box span {
    opacity: .9
}

.rate-sku {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    row-gap: 3px;
}

.rate-sku:not(:has(*)) {
    display: none
}

.div-product-sku {
    display: flex;
    align-items: center;
    gap: 5px;
    row-gap: 0;
    color: #363636;
}

.div-product-sku .product-sku-title {
    font-size: 15px;
    font-weight: normal;
    margin: 0;
    min-width: unset;
}

.div-product-sku::after {
    content: "|";
    margin: 0 5px;
    opacity: .3;
    display: none;
}

.rate-sku:has(.product-card-rating-count) .div-product-sku::after {
    display: block;
}

.div-product-weight {
    /* background: #fffdf7;
 border: 1px solid #ffe493;
 padding: 1px 8px; */
    border-radius: 6px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    margin-bottom: 12px;
}

.div-product-weight .product-weight-label {
    font-size: 15px;
    font-weight: normal;
    margin: 0;
}

.div-product-weight .product-weight-label svg {
    color: currentColor;
    width: 15px;
    height: 15px;
}

.product-flex-box .product-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px
}

.product-flex-box .product-social a {
    width: 34px;
    height: 34px;
    border: 1px solid var(--bs-gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center
}

.product-flex-box .product-social a svg,
.select-quantity-div .quantity-input button svg {
    color: currentColor;
    width: 18px;
    height: 18px
}

.product-flex-box .product-social a:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--text-color-primary-bg)
}

.share-social {
    margin-top: 8px
}

#product-variants-options .form-group label,
.quantity-add-cart label,
.quantity-style-2 label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px
}

.quantity-add-cart label,
.quantity-style-2 label {
    margin-bottom: 0;
}

#product-variants-options .form-group label span {
    font-weight: 400
}

/* Keep variants visible if JS init is delayed to avoid empty gap. */
#product-variants-options:not(.product-variants-options--ready) {
    visibility: visible;
}

#product-variants-options.product-variants-options--ready {
    visibility: visible;
}

/* Base layout for SSR markup before JS adds product-card-opt-* classes. */
#product-variants-options ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

#product-variants-options ul.ul-colors {
    gap: 2px;
}

#product-variants-options ul li {
    list-style: none;
}

/* Fallback UI for raw variant markup (when JS classes are delayed/missing). */
#product-variants-options ul li>a,
#product-variants-options ul li>button,
#product-variants-options ul li>label,
#product-variants-options ul li>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 6px 14px;
    border: 1px solid #d7dde5;
    border-radius: 999px;
    background: #fff;
    color: #2f3542;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
}

#product-variants-options ul li>a:hover,
#product-variants-options ul li>button:hover,
#product-variants-options ul li>label:hover,
#product-variants-options ul li>span:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f8fbf8;
}

#product-variants-options ul li.active>a,
#product-variants-options ul li.active>button,
#product-variants-options ul li.active>label,
#product-variants-options ul li.active>span,
#product-variants-options ul li>a.active,
#product-variants-options ul li>button.active,
#product-variants-options ul li>label.active,
#product-variants-options ul li>span.active {
    border-color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 10%, #fff);
    color: var(--primary-color);
}

#product-variants-options ul li input[type="radio"],
#product-variants-options ul li input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#product-variants-options ul li input[type="radio"]:checked+label,
#product-variants-options ul li input[type="checkbox"]:checked+label {
    border-color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 10%, #fff);
    color: var(--primary-color);
}

#product-variants-options .product-card-opt-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    margin-right: 1px;
    justify-content: flex-start;
}

#product-variants-options .product-card-opt-list.product-card-opt-list--colors {
    gap: 2px;
}

#product-variants-options .product-card-opt-item {
    border: 1px solid var(--bs-gray-400, #ced4da);
    padding: 0 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 10px;
    position: relative;
    font-size: 15px;
    line-height: 21px;
}

/* Keep option value and option price stacked vertically */
#product-variants-options ul li {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

#product-variants-options ul li>span {
    display: block;
    line-height: 1.25;
}

#product-variants-options ul li .variant-price {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    line-height: 1.2;
}

/* Hide per-option price inside variant pills */
#product-variants-options ul li .variant-price {
    display: none !important;
}

#product-variants-options .product-card-opt-item.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

#product-variants-options .product-card-opt-item--color {
    padding: 2px;
    border-radius: 50%;
    border-color: transparent;
}

#product-variants-options .product-card-opt-color-swatch {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

#product-variants-options .product-card-opt-item--box {
    border-radius: 100px;
    padding: 4px 12px;
}

#product-variants-options .product-card-opt-item--box.active {
    background-color: var(--primary-color);
    color: var(--text-color-primary-bg);
}

#product-variants-options .product-card-opt-item--image .product-card-opt-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 3px;
}

#product-variants-options .product-card-opt-item--image::after {
    width: 16px;
    height: 16px;
    bottom: -8px;
}

#product-variants-options select.product-card-opt-select {
    font-size: 15px;
    min-height: 38px;
    border-radius: 8px;
    max-width: 100%;
}

#product-variants-options select.product-variant-select option.option-out-of-stock,
#product-variants-options select.product-card-opt-select option.option-out-of-stock {
    color: inherit;
    text-decoration: none;
}

#product-variants-options select.product-variant-select.has-option-out-of-stock-selected,
#product-variants-options select.product-card-opt-select.has-option-out-of-stock-selected {
    color: inherit;
    text-decoration: none;
}

#product-variants-options .product-card-opt-item.option-out-of-stock {
    opacity: 0.3;
    cursor: pointer;
    overflow: visible;
    background-image: linear-gradient(to top left, #ffffff00 calc(50% - 0.063rem), #9f9f9f, #ffffff00 calc(50% + 0.063rem));
}

/* #product-variants-options .product-card-opt-item--box.option-out-of-stock {
 background-color: transparent;
 color: inherit;
} */

#product-variants-options .product-card-opt-item--color.option-out-of-stock .product-card-opt-color-swatch {
    background-image: linear-gradient(to top left, #ffffff00 calc(50% - .063rem), #c9c9c9, #ffffff00 calc(50% + .063rem));
}

.loyalty-points,
.product-payments {
    margin-bottom: 12px
}

.product-payments {
    margin-top: 10px;
}

.loyalty-points:has(.loyalty-points-products-section-d-none) {
    display: none
}

.loyalty-points .loyalty-points-products-section {
    border: 0;
    border-radius: 0;
    font-weight: 500;
    padding: 0;
    font-size: 15px;
}

.loyalty-points-products-section .loyalty-points-rewards svg {
    width: 24px;
    height: 24px;
}

.size-box {
    margin-bottom: 20px
}

#product-view-add-to-cart,
.end-in-box .tp-countdown ul li:first-child::after,
.no-tabs .tabs-description-reviews nav,
.rate-sold-count:not(:has(div)),
.size-box:not(:has(*)),
.tp-product-bottom:not(:has(.container section)),
.tabs-description-reviews .tab-content .tp-title-section {
    display: none
}

.quantity-input-div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-input-div select {
    box-shadow: unset !important;
    border: 1px solid #d3d8de !important;
    width: 90px;
    font-size: 18px;
    font-weight: 500;
}

.select-quantity-div .quantity-input {
    display: flex;
    background: #fff;
    align-items: center;
    width: max-content;
    padding: 4px;
    gap: 2px;
    border: 1px solid #cecfd1;
    border-radius: 10px;
}

.product-buttons-flex,
.quantity-add-cart {
    align-items: center;
    gap: 12px;
    display: flex
}

.select-quantity-div .quantity-input button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: #fff;
    color: #000;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.select-quantity-div .quantity-input button:hover {
    background: #f5f5f5
}

.select-quantity-div .quantity-input input {
    width: 50px;
    border: 0;
    text-align: center;
    padding: 0;
    direction: rtl;
    outline: unset;
    font-weight: 500;
    font-size: 20px
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

input[type=number] {
    -moz-appearance: textfield
}

.quantity-add-cart,
.quantity-style-2 {
    margin-bottom: 12px;
}

.product-buttons-flex {
    width: 100%
}

.product-buttons-flex.add-cart-page {
    align-items: flex-end;
    gap: 12px;
}

.product-buttons-flex.add-cart-page .quantity-add-cart {
    flex: 0 0 auto;
    margin-bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.product-buttons-flex.add-cart-page .btn-add-to-cart {
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 768px) {
    .product-buttons-flex.add-cart-page {
        align-items: center;
    }

    html[dir="rtl"] .product-buttons-flex.add-cart-page,
    .rtl .product-buttons-flex.add-cart-page {
        flex-direction: row-reverse;
    }

    .product-buttons-flex.add-cart-page .quantity-add-cart>label {
        display: none;
    }

    .product-buttons-flex.add-cart-page .quantity-add-cart {
        gap: 0;
    }

    .product-buttons-flex.add-cart-page .quantity-input {
        min-height: 48px;
    }
}

.product-actions-icons {
    position: absolute;
    right: 10px;
    top: 0px;
    z-index: 8;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.rtl .product-actions-icons {
    right: unset;
    left: 0px;
}

.product-share-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
}

.product-share-icon svg {
    width: 22px;
    height: 22px;
    color: #8a8993;
}

.share-popup {
    position: fixed;
    inset: 0;
    width: fit-content;
    height: fit-content;
    margin: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 32px;
    animation: sharePopupFadeIn 0.2s ease-out;
}

@keyframes sharePopupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.share-popup-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.share-popup-content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.share-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 50%;
    background: #efefef;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.share-option:hover {
    background-color: #000000;
    color: #fff;
}

.share-option svg {
    width: 24px;
    height: 24px;
    color: currentColor;
}

.share-link-row {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.share-link-label {
    font-size: 14px;
    color: #555;
}

.share-link-input-wrapper {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.share-link-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    color: #333;
    background-color: #f9f9f9;
    direction: ltr;
}

.share-link-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
}

.share-link-copy-btn {
    border: none;
    border-radius: 6px;
    padding: 0 14px;
    background-color: #000;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.share-link-copy-btn:hover {
    background-color: #333;
}

/* إخفاء البوب أب عند الضغط خارجها */
.share-popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: #00000036;
}

.products-details .product-actions-icons .add-to-wishlist {
    position: static;
    margin: 0;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.products-details .col-product-image-wrapper .add-to-wishlist {
    border: 1px solid #ddd;
    background: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    position: static;
}

.products-details .col-product-image-wrapper .add-to-wishlist .icon-heart-mask {
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    appearance: none;
    -webkit-mask-image: none;
    mask-image: none;
    background-color: transparent !important;
    background-image: var(--heart-outlined-icon);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.products-details .col-product-image-wrapper .add-to-wishlist .icon-heart-mask.filled {
    background-image: var(--heart-filled-icon);
    background-color: transparent !important;
}

.products-details .col-product-image-wrapper .add-to-wishlist:has(.filled) {
    border-color: #ddd;
}

.product-buttons .add-to-wishlist .icon-heart-mask {
    width: 28px;
    height: 28px
}

.product-buttons .apple-pay-button {
    min-width: max-content;
    height: auto !important;
    margin-top: 10px;
    height: auto !important;
    border-radius: 50px;
}

.product-buttons .buyNow .apple-pay-button,
.product-buttons .donateNow .apple-pay-button {
    height: auto !important;
    display: block;
    margin: 0;
    padding: 20px;
}

.product-buttons .apple-pay-button img {
    max-height: 26px
}

.product-buttons .checkout-btns {
    width: 100%;
}

.product-buttons a,
.product-buttons button {
    width: 100%;
    padding: 11px 12px;
    background: #000;
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    border: 1px solid transparent;

    @media (max-width: 450px) {
        padding: 6px 10px !important;
        font-size: 15px !important;
    }
}

.btn-buy-now {
    margin-top: 12px;
}

.product-buttons .btn-add-to-cart {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
}

.product-buttons:not(:has(.checkout-btn)) .btn-add-to-cart {
    background: var(--primary-color);
    color: var(--text-color-primary-bg);
}

.product-buttons .checkout-btn {
    background: var(--primary-color);
    color: var(--text-color-primary-bg);
}

.product-buttons .btn-add-to-cart svg,
.product-buttons .checkout-btn svg {
    color: currentColor;
    width: 24px;
    height: 24px;
}

.product-buttons .checkout-btn svg path {
    fill: currentColor;
}

.product-buttons .checkout-btn .theme-spinner {
    border-color: rgb(255 255 255 / 33%);
    border-top-color: #ffffff;
}

/* Prevent showing loader and icon together on product page actions */
.product-buttons .btn-add-to-cart .add-to-cart-progress:not(.d-none)~svg,
.sticky-cart .btn-add-to-cart .add-to-cart-progress:not(.d-none)~svg,
.product-buttons .btn-add-to-cart .add-to-cart-progress:not(.d-none)~.btn-add-to-cart-label,
.sticky-cart .btn-add-to-cart .add-to-cart-progress:not(.d-none)~.btn-add-to-cart-label,
.product-buttons .checkout-btn .buy-now-progress:not(.d-none)~svg,
.sticky-cart .checkout-btn .buy-now-progress:not(.d-none)~svg,
.product-buttons .checkout-btn .buy-now-progress:not(.d-none)~.buy-now-icon,
.sticky-cart .checkout-btn .buy-now-progress:not(.d-none)~.buy-now-icon,
.product-buttons .checkout-btn .buy-now-progress:not(.d-none)~.sticky-cart__btn-text,
.sticky-cart .checkout-btn .buy-now-progress:not(.d-none)~.sticky-cart__btn-text {
    display: none !important;
}

.tp-product-details-tab-nav {
    padding: 24px 28px 28px;
    margin-top: 12px;
    background: #b8f6cb;
    border: 10px solid #28994a;
    border-radius: 12px;
}

.tp-product-details-tab-nav.is-reviews-tab {
    background: #fff;
    border: 10px solid #ddd;

}

.tp-product-details-tab-nav .nav-tabs {
    border-bottom: 1px solid #c8dcc9;
    justify-content: center;
    gap: 36px;
    scroll-margin-top: 100px;
    flex-wrap: wrap;
    margin-bottom: 0;

    @media (max-width: 450px) {
        justify-content: start !important;

    }
}

.tp-tab .nav-tabs .nav-link {
    padding: 0;
    margin: 0;
    border: 0
}

.tp-product-details-tab-nav .nav-tabs .nav-link {
    font-size: 18px;
    color: #6d8f78;
    padding: 0 4px 14px;
    position: relative;
    font-weight: 400;
    outline: unset;
    box-shadow: unset;
    background: unset;
    white-space: nowrap;
}

.tp-product-details-tab-nav .nav-tabs .nav-link.active {
    color: #1f3428;
    font-weight: 700;
}

.tp-product-details-tab-nav .nav-tabs .nav-link:hover:not(.active) {
    color: #4f7560;
}

.tp-product-details-tab-nav .nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    left: 0;
    margin: auto;
    width: 0;
    height: 3px;
    background: transparent;
    transition: width .2s ease, background .2s ease;
    -webkit-transition: width .2s ease, background .2s ease;
    -moz-transition: width .2s ease, background .2s ease;
    -ms-transition: width .2s ease, background .2s ease;
    -o-transition: width .2s ease, background .2s ease;
}

.tp-product-details-tab-nav .nav-tabs .nav-link.active::after {
    width: 100%;
    background: #1f3428;
}

.tp-product-details-tab-nav .tab-content {
    margin-top: 22px;
}

.tp-product-details-tab-nav .tab-content .description-box,
.tp-product-details-tab-nav .tab-content .description-paragrah {
    text-align: right;
    color: #333;
    font-size: 16px;
    line-height: 1.75;
}

.tp-product-details-tab-nav .tab-content .description-box p,
.tp-product-details-tab-nav .tab-content .description-paragrah p {
    margin-bottom: 12px;
}

.product-recommendations-tabs .tab-content {
    margin-top: 22px;
}

.product-recommendations-slider-wrap {
    position: relative;
}

.product-recommendations-empty,
.product-recommendations-loading {
    text-align: center;
    color: #6d8f78;
    font-size: 16px;
    padding: 28px 0;
}

.product-recommendations-tabs .products-slider-wrapper {
    margin: 0;
}

.bundle-offer-details-section {
    margin: 32px 0 0;
    padding-top: 24px;
    border-top: 1px solid #e8eaed;
}

.bundle-offer-details-header {
    gap: 12px;
    margin-bottom: 18px;
}

.bundle-offer-details-section .description-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary-color) 12%, #fff);
    color: var(--primary-color);
    flex: 0 0 42px;
}

.bundle-offer-details-section .description-icon .icon-gift:before {
    font-size: 22px;
}

.bundle-offer-details-section .description-title {
    flex: 1;
    min-width: 0;
    text-align: start;
}

.bundle-offer-details-section .bundle-offer-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

.bundle-offer-details-section .bundle-offer-title-description {
    margin-top: 4px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.bundle-offer-details-slider {
    overflow: hidden;
}

.bundle-offer-details-slider .swiper-slide {
    height: auto;
}

.bundle-offer-more {
    margin-top: 14px;
    text-align: center;
}

.bundle-offer-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.bundle-offer-more a:hover {
    background: var(--primary-color);
    color: var(--text-color-primary-bg, #fff);
}

.bundle-offer-products-dialog .modal-body {
    padding: 24px;
    position: relative;
}

.bundle-offer-products-dialog .modal-body>.close {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    z-index: 2;
}

.bundle-offer-products-dialog .bundle-offer-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 600;
}

.bundle-offer-products-dialog .bundle-offer-title-description {
    margin-bottom: 18px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.bundle-offer-details-products-all {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.bundle-offer-details-products-all .prod-col {
    width: 100%;
    min-width: 0;
    padding: 0;
}

@media (max-width: 1199.98px) {
    .bundle-offer-details-products-all {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .bundle-offer-details-section .bundle-offer-title {
        font-size: 18px;
    }

    .bundle-offer-details-products-all {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .bundle-offer-details-products-all {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

.no-tabs .tabs-description-reviews .tab-content>.tab-pane {
    display: block;
    opacity: 1;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e0e2e3
}

.no-tabs .tabs-description-reviews .tab-content>.tab-pane:first-child,
.no-tabs .tabs-description-reviews .tab-content>.tab-pane.d-none {
    margin-top: 0;
    padding: 0;
    border: 0
}

#nav-variants {
    background: #fafafa;
    padding: 10px
}

#nav-variants .card {
    border: 0;
    box-shadow: rgb(149 157 165 / 1%) 0 8px 24px;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0
}

#nav-variants .card:has(.card-table-header) {
    box-shadow: unset;
    background: unset
}

#nav-variants .card .card-body.card-table-header {
    padding: 4px 10px
}

#nav-variants .card .price-detail {
    margin: 0;
}

#nav-variants .card img {
    height: 40px
}

.no-tabs .tabs-description-reviews .tab-content .tp-title-section h2,
.no-tabs .tabs-description-reviews .tab-content .tp-title-section h3 {
    font-size: 26px
}

.tp-product-details-review-wrapper {
    display: flex;
    gap: 50px
}

.tp-product-details-review-number {
    min-width: 400px;
    width: 400px;
    border-radius: 16px;
    padding: 30px;
    height: max-content;
    position: sticky;
    top: 120px;
    border: 1px solid #eee;
}

.tp-product-details-review-number-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px
}

.tp-product-details-review-summery {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px
}

.tp-product-details-review-summery-value {
    font-size: 45px;
    font-weight: 500;
    color: var(--tp-text-body)
}

.tp-product-details-review-summery-rating {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tp-product-details-review-rating-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    gap: 10px;
}

.tp-product-details-review-avater:last-of-type,
.tp-product-details-review-rating-item:last-child {
    margin-bottom: 0
}

.tp-product-details-review-rating-item .rating-count {
    font-size: 16px;
    min-width: 26px;
    text-align: center;
}

.tp-product-details-review-rating-item i.deactive:before {
    color: #ccc
}

.tp-product-details-review-rating-label {
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 2px;
    font-size: 16px;
    line-height: 1;
    opacity: .9;
}

.tp-product-details-review-rating-label .icon-star1 {
    font-size: 15px
}

.tp-product-details-review-rating-item .progress {
    width: 100%;
    height: 10px;
    background: #e0e2e3;
    border-radius: 5px;
    overflow: hidden;
}

.tp-product-details-review-rating-item .progress-bar {
    height: 100%;
    background: var(--primary-color);
}

.tp-product-details-review-rating-label-num {
    font-weight: 500;
    min-width: 12px;
    text-align: center
}

.tp-product-details-review-cta-text {
    margin: 20px 0 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--tp-text-body);
    opacity: .85
}

.tp-product-details-review-title {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px
}

.add-review-btn {
    padding: 10px 16px !important;
    border-radius: 50px !important;
    font-size: 20px !important;
    width: 100%;
    color: #000 !important;
}

.all-reviews-box .all-reviews-btn:hover,
.questions-view_more a:hover {
    background: var(--tp-text-body);
    color: var(--tp-white)
}

.all-reviews-box,
.questions-view_more {
    width: max-content;
    margin: 24px auto 0
}

.all-reviews-box .all-reviews-btn,
.questions-view_more a {
    border: 1px solid var(--tp-text-body);
    padding: 8px 16px;
    border-radius: 12px;
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s
}

.reviews-empty {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.reviews-empty svg {
    width: 60px;
    height: 60px;
    color: var(--tp-text-body);
    margin-bottom: 12px;
    opacity: .5
}

.reviews-empty span {
    font-size: 15px
}

.tp-product-details-review-avater {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 16px;
}

.tp-product-details-review-avater-thumb .account_circle {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: var(--tp-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    overflow: hidden;
}

.tp-product-details-review-avater-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tp-product-details-review-avater-header-rating-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.tp-product-details-review-avater-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    flex: 1 1 auto;
}

.review-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    color: #1f7a4d;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

.review-verified-badge__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
}

.review-verified-badge__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tp-product-details-review-avater-rating {
    line-height: 1;
    font-size: 15px
}

.tp-product-details-review-avater-title {
    font-size: 18px;
    font-weight: 500;
    display: flex;
    gap: 5px;
    margin: 0;
}

.tp-product-details-review-avater-title img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.tp-product-details-review-avater-meta {
    opacity: .7;
}

.questions-card-preview .answer,
.tp-product-details-review-avater-comment {
    font-size: 17px;
}

.review-images-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.form-notify-me-phone-row,
.modal-bottom-buttons,
.rate-sold-count {
    gap: 16px;
    display: flex
}

.review-images-box img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px
}

.review-reply-box {
    background: var(--tp-white);
    margin-top: 20px
}

.tp-product-details-review-list {
    flex: 1;
    min-width: 0;
}

.tp-product-details-review-list>.tp-product-details-review-title {
    font-size: 22px;
    margin-bottom: 18px;
}

.tp-product-details-review-number .add-review-btn {
    margin-top: 4px;
}

.tp-product-details-review-number .product-card-rating,
.tp-product-details-review-avater .product-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.tp-product-details-review-number .product-card-rating .icon-star1,
.tp-product-details-review-number .product-card-rating .icon-half-star {
    font-size: 16px;
}

.tp-product-details-review-avater .product-card-rating .icon-star1,
.tp-product-details-review-avater .product-card-rating .icon-half-star {
    font-size: 14px;
}

.tp-product-details-review-avater-comment p:last-child,
.tp-product-details-review-avater-comment>*:last-child {
    margin-bottom: 0;
}

.review-reply-box {
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 14px;
}

.review-reply-box .tp-product-details-review-avater-title {
    font-size: 16px;
}

.review-reply-box .tp-product-details-review-avater-comment {
    font-size: 15px;
}

.reviews-show-more-wrap {
    width: 100%;
}

.review-reply-box.tp-product-details-review-avater-thumb .account_circle img {
    object-fit: contain
}

#nav-question #addQuestionButton {
    width: auto;
}

.questions-card-init {
    padding: 24px
}

.questions-card-init .content-box,
.questions-card-init .image-box {
    margin-bottom: 18px
}

.questions-card-init .content-box p {
    font-size: 16px;
    color: #81808c;
    font-weight: 400
}

.questions-card-preview {
    margin-bottom: 12px;
    background: var(--bs-gray-100);
    padding: 20px;
    border-radius: 16px
}

.questions-card-preview .customer-name {
    margin-bottom: 8px;
    color: var(--tp-text-body);
    font-size: 17px
}

.questions-card-preview .question {
    font-size: 19px;
    font-weight: 500;
    color: var(--tp-text-body);
    margin-bottom: 7px
}

.questions-pagination .page-item {
    font-size: 16px
}

.questions-pagination .page-item .page-link {
    color: var(--primary-color)
}

.questions-pagination .page-item.selected a {
    background-color: var(--primary-color);
    color: #fff
}

.play-icon,
.iframe-video {
    position: absolute;
    inset: 0;
    margin: auto;
}

.iframe-video iframe {
    width: 100%;
    height: 100%;
}

.play-icon {
    z-index: 2;
    cursor: pointer;
    max-width: 55%;
    width: auto !important;
    height: auto !important;
    border: none !important;
    opacity: .65;
}

.play-icon:hover {
    opacity: 1;
}

.iframe-video {
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    background-color: black;
}

.modal-product-title {
    font-size: 22px;
    font-weight: 500;
    color: var(--tp-text-body);
    margin-bottom: 20px
}

.form-group {
    margin-bottom: 14px
}

.form-group .form-control {
    border-radius: 10px;
    padding: 10px;
    font-size: 16px
}

.form-group .text-danger {
    font-size: 14px;
    margin-bottom: 0;
    line-height: 18px
}

.modal-bottom-buttons {
    margin-top: 32px;
    border-top: 1px solid var(--bs-gray-200);
    padding-top: 20px
}

.modal-bottom-buttons button {
    padding: 8px 24px;
    font-size: 16px;
    border-radius: 10px;
    width: max-content;
    border: 1px solid var(--tp-text-body) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px
}

.card-body.card-table-header {
    font-weight: 500;
    font-size: 17px
}

.card-table.options-table {
    margin-top: 6px
}

.section-out-of-stock-notify-me {
    margin-bottom: 16px
}

.section-out-of-stock-notify-me .btn-open-notify-me {
    width: 100%;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.section-out-of-stock-notify-me .btn-open-notify-me svg {
    flex-shrink: 0
}

.product-notify-me-modal .modal-dialog {
    max-width: 480px
}

.product-notify-me-modal .modal-content {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .18)
}

.product-notify-me-modal__header {
    align-items: flex-start;
    gap: 12px;
    padding: 24px 24px 12px;
    border-bottom: 0
}

.product-notify-me-modal__heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 0
}

.product-notify-me-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-color-op-5);
    color: var(--primary-color);
    flex-shrink: 0
}

.product-notify-me-modal__header .modal-title {
    margin: 0 0 4px;
    font-size: 20px;
    line-height: 1.35;
    color: var(--tp-text-body, #111827)
}

.product-notify-me-modal__subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--bs-secondary-color, #6b7280)
}

.product-notify-me-modal__body {
    padding: 8px 24px 4px
}

.product-notify-me-modal__body .form-label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--tp-text-body, #111827);
}

.product-notify-me-modal__body .form-group {
    margin-bottom: 16px
}

.product-notify-me-modal__body .form-control {
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--bs-border-color, #e5e7eb);
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease
}

.product-notify-me-modal__body .form-control:focus {
    border-color: var(--tp-text-body);
}

.product-notify-me-modal .form-notify-me-phone-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    direction: ltr
}

.product-notify-me-country-field {
    position: relative;
    width: 108px;
    max-width: 108px;
    min-width: 108px;
    flex: 0 0 108px
}

.product-notify-me-country-prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    line-height: 1;
    color: var(--tp-text-body, #111827);
    pointer-events: none;
    user-select: none;
    z-index: 2
}

.product-notify-me-modal .form-notify-me-phone-row .send-notify-country-key {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: none;
    text-align: left;
    padding-left: 28px;
    padding-right: 10px
}

.product-notify-me-modal .form-notify-me-phone-row .send-notify-phone {
    flex: 1 1 auto;
    min-width: 0
}

.product-notify-me-modal__footer {
    display: flex;
    align-items: center;
    justify-content: stretch;
    gap: 10px;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, .08))
}

.product-notify-me-modal__cancel {
    min-width: 110px;
    min-height: 48px;
    border-radius: 12px;
}

.product-notify-me-modal .btn-send-notify {
    flex: 1;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    font-size: 16px;
}

.product-notify-me-modal .btn-send-notify:disabled {
    opacity: .75;
    cursor: wait
}

.product-notify-me-modal .btn-send-notify svg {
    width: 20px;
    height: 20px
}

.section-out-of-stock-notify-me h4 {
    font-size: 16px;
    margin-bottom: 8px
}

.form-notify-me-phone-row .send-notify-country-key {
    width: 100px;
    font-weight: 500
}

.form-notify-me-submit-button-row .btn-send-notify {
    padding: 8px 24px;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 16px
}

.form-notify-me-submit-button-row .btn-send-notify svg {
    color: currentColor;
    width: 22px;
    height: 22px
}

.end-in-box,
.product-sale-countdown--page.end-in-box {
    margin-bottom: 14px;
    font-weight: 500;
    width: fit-content;
    max-width: 100%;
    padding: 8px 16px 8px 8px;
    text-align: center;
    display: flex;
    align-items: center;
    background: var(--sale-countdown-page-bg, #ffe9e9);
    color: var(--sale-countdown-page-text, #cb0a20);
    gap: 15px;
    border-radius: 10px;
}

.product-sale-countdown--page.end-in-box[hidden] {
    display: none !important;
}

.product-sale-countdown--page.product-sale-countdown--ended .product-sale-countdown__timer {
    display: none !important;
}

.product-sale-countdown--page .product-sale-countdown__ended-msg {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--sale-countdown-page-text, #cb0a20);
}

.product-sale-countdown--page .product-sale-countdown__ended-msg[hidden] {
    display: none !important;
}

.end-in-box .end-in,
.end-in-box .product-sale-countdown__label-row {
    margin: 0;
    font-size: 14px;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    color: var(--sale-countdown-page-text, #cb0a20);
}

.end-in-box .end-in svg {
    animation: 2s infinite tf-ani-tada;
    width: 18px;
    height: 18px;
    color: currentColor
}

.end-in-box .tp-countdown ul {
    display: flex;
    gap: 7px;
    padding: 0 !important;
    flex-direction: row-reverse;
    margin: 0;
}

.end-in-box .tp-countdown ul li {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0;
    font-size: 11px;
    color: var(--sale-countdown-page-unit-text, #fff);
    background: var(--sale-countdown-page-unit-bg, #cb0a20);
    width: 42px;
    line-height: 17px;
    padding-bottom: 4px;
}

 li::after {
    content: ":";
    margin-right: 5px;
    font-size: 20px;
    display: none
}

.end-in-box .tp-countdown ul li span {
    display: block;
    text-align: center;
    font-size: 16px;
    padding-top: 8px;
    line-height: 12px;
}

.product-sale-countdown--page.product-sale-countdown--size-small.end-in-box {
    padding: 6px 12px 6px 6px;
    gap: 10px;
}

.product-sale-countdown--page.product-sale-countdown--size-small .product-sale-countdown__label-row {
    font-size: 12px;
}

.product-sale-countdown--page.product-sale-countdown--size-small .tp-countdown ul li {
    width: 34px;
    font-size: 9px;
}

.product-sale-countdown--page.product-sale-countdown--size-small .tp-countdown ul li span {
    font-size: 13px;
    padding-top: 6px;
}

.product-sale-countdown--page.product-sale-countdown--size-large.end-in-box {
    padding: 10px 18px 10px 10px;
    gap: 18px;
}

.product-sale-countdown--page.product-sale-countdown--size-large .product-sale-countdown__label-row {
    font-size: 16px;
}

.product-sale-countdown--page.product-sale-countdown--size-large .tp-countdown ul li {
    width: 48px;
    font-size: 12px;
}

.product-sale-countdown--page.product-sale-countdown--size-large .tp-countdown ul li span {
    font-size: 18px;
    padding-top: 10px;
}

@media (max-width: 450px) {
    .product-sale-countdown--page.end-in-box {
        width: 100%;
        flex-direction: column;
    }
}

.rate-sold-count {
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
    row-gap: 4px;
}

.sold-count {
    gap: 4px;
    align-items: center;
    color: brown;
}

.sold-count svg {
    color: currentColor;
    width: 20px;
    height: 20px;
}

.sold-count span {
    font-size: 17px;
}

.available-quantity {
    background: #fff0ef;
    color: #e0001a;
    width: max-content;
    padding: 2px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    display: none !important;
}

.product-stock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    margin-bottom: 0;
}

.product-stock-status-dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: currentColor;
    z-index: 1;
}

.product-stock-status-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
    animation: product-stock-status-pulse 1.5s ease-out infinite;
    pointer-events: none;
}

@keyframes product-stock-status-pulse {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }

    100% {
        transform: scale(2.75);
        opacity: 0;
    }
}

.product-stock-status--available {
    color: #0cc12f;
}

.product-stock-status--unavailable {
    color: #f34747;
}

.product-extra-info-rotator {
    position: relative;
    min-height: 28px;
    margin-bottom: 10px;
}

.product-extra-info-item {
    opacity: 0;
    transition: opacity .35s ease-in-out;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.product-extra-info-item.is-active {
    opacity: 1;
}

.pulse-icon {
    transform-origin: center;
    animation: pulse-icon-breath 1.4s ease-in-out infinite;
}

@keyframes pulse-icon-breath {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.bundle-offer-section {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.tf-product-info-liveview {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px
}

.tf-product-info-liveview .liveview-count {
    display: flex;
    justify-content: center;
    min-width: 34px;
    min-height: 24px;
    line-height: 24px;
    color: var(--tp-white);
    background-color: var(--tp-text-body);
    border-radius: 3px;
    font-weight: 500;
    padding-top: 1px
}

.sticky-cart {
    display: flex;
    position: fixed;
    bottom: 16px;
    z-index: 99;
    background: transparent;
    right: 0;
    left: 0;
    padding: 0 12px;
    opacity: 0;
    visibility: hidden;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    transition: opacity .18s ease;
    pointer-events: none;

    @media (max-width: 992px) {
        bottom: 60px;
    }
}

.sticky-cart.active {
    animation: .3s ease-in-out forwards slideUp;
    -webkit-animation: .3s ease-in-out forwards slideUp;
    visibility: visible;
    pointer-events: auto;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
        -webkit-transform: translateY(100%);
        -moz-transform: translateY(100%);
        -ms-transform: translateY(100%);
        -o-transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
    }
}

.sticky-cart__panel {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, .14);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sticky-cart__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;

    @media (max-width: 450px) {
        flex-direction: column;
        align-items: flex-start;
    }
}

.sticky-cart__product {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.sticky-cart__thumb,
.sticky-cart .product-img {
    height: 56px;
    width: 56px;
    min-width: 56px;
    object-fit: contain;
}

.sticky-cart__meta {
    min-width: 0;
}

.sticky-cart__title,
.sticky-cart .title-product {
    font-size: 15px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
    line-height: 1.35;
    margin: 0 0 2px;
    color: #0f172a;
}

.sticky-cart__price,
.sticky-cart .price-product {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    row-gap: 0;
}

.sticky-cart .product-formatted-price {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #e0001a;
}

.sticky-cart .price-product .price-tawfer {
    margin: 0;
}

.sticky-cart .price-product .product-formatted-price-old {
    text-decoration: line-through;
    color: #6b7280;
    font-size: 13px;
}

.sticky-cart__qty,
.sticky-cart .select-quantity-div {
    margin: 0;
    flex-shrink: 0;
}

.sticky-cart__actions {
    width: 100%;
}

.sticky-cart__buttons {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.sticky-cart__buttons>.sticky-cart__btn,
.sticky-cart__buttons>.checkout-btns,
.sticky-cart__buttons>.apple-pay-button {
    flex: 1 1 0;
    min-width: 0;
}

.sticky-cart__buttons .checkout-btns {
    display: flex;
    width: auto;
}

.sticky-cart .product-buttons a,
.sticky-cart .product-buttons button,
.sticky-cart__buttons .checkout-btn {
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    border: 1px solid transparent;
    white-space: nowrap;
}

.sticky-cart__btn-text {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-cart .product-buttons .btn-add-to-cart {
    min-width: 0;
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
}

.sticky-cart .product-buttons:not(:has(.checkout-btn)) .btn-add-to-cart {
    background: var(--primary-color);
    color: var(--text-color-primary-bg);
}

.sticky-cart .product-buttons .checkout-btn {
    background: var(--primary-color);
    color: var(--text-color-primary-bg);
}

.sticky-cart .product-buttons .btn-add-to-cart svg,
.sticky-cart .product-buttons .checkout-btn svg {
    color: currentColor;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sticky-cart .product-buttons .checkout-btn svg path {
    fill: currentColor;
}

.sticky-cart .apple-pay-button {
    margin: 0;
    min-height: 44px;
    height: auto !important;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-cart .apple-pay-button:not(:has(*)),
.sticky-cart .apple-pay-button:has(#apple_pay_quick_checkout_widget:empty) {
    display: none;
}

.sticky-cart .apple-pay-button .buyNow,
.sticky-cart .apple-pay-button .donateNow {
    width: 100%;
    margin: 0;
    padding: 0;
}

.sticky-cart .apple-pay-button .buyNow .apple-pay-button,
.sticky-cart .apple-pay-button .donateNow .apple-pay-button {
    margin: 0;
    padding: 10px 8px;
    height: 44px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-cart .apple-pay-button img {
    max-height: 22px;
    width: auto;
}

/* Mobile sticky cart: hide redundant product info, qty beside ATC */
@media (max-width: 768px) {
    .sticky-cart__panel {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 14px;
    }

    html[dir="rtl"] .sticky-cart__panel,
    .rtl .sticky-cart__panel {
        flex-direction: row-reverse;
    }

    .sticky-cart__product {
        display: none !important;
    }

    .sticky-cart__top {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        gap: 0;
        justify-content: flex-start;
        flex-direction: row !important;
        align-items: center !important;
    }

    .sticky-cart__qty,
    .sticky-cart .select-quantity-div {
        margin: 0;
    }

    .sticky-cart__qty .quantity-input,
    .sticky-cart .select-quantity-div .quantity-input {
        min-height: 48px;
        padding: 4px;
    }

    .sticky-cart__actions {
        flex: 1 1 auto;
        min-width: 0;
        width: auto !important;
    }

    .sticky-cart__buttons {
        width: 100%;
        gap: 8px;
    }

    .sticky-cart .product-buttons a,
    .sticky-cart .product-buttons button,
    .sticky-cart__buttons .checkout-btn {
        min-height: 48px;
        padding: 10px 12px;
        font-size: 15px;
        border-radius: 10px;
    }
}

.t4s-ani-shake {
    animation: 1.5s infinite t4s-ani-shake
}

@keyframes t4s-ani-shake {

    from,
    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0)
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        -webkit-transform: translate3d(-5px, 0, 0);
        transform: translate3d(-5px, 0, 0);
        -moz-transform: translate3d(-5px, 0, 0);
        -ms-transform: translate3d(-5px, 0, 0);
        -o-transform: translate3d(-5px, 0, 0)
    }

    20%,
    40%,
    60%,
    80% {
        -webkit-transform: translate3d(5px, 0, 0);
        transform: translate3d(5px, 0, 0);
        -moz-transform: translate3d(5px, 0, 0);
        -ms-transform: translate3d(5px, 0, 0);
        -o-transform: translate3d(5px, 0, 0)
    }
}

.payment-methods {
    margin-top: 16px;
    padding-bottom: 6px;
    width: 100%;
}

.payment-methods.tp-mask {
    gap: 40px
}

.payment-methods.tp-mask:not(:has(img)) {
    display: none;
}

.payment-methods .tp-marquee {
    flex-shrink: 0;
    display: flex;
    gap: 40px;
    animation: 10s linear infinite move;
    -webkit-animation: 10s linear infinite move;
    animation-direction: reverse;
}

.payment-methods .tp-marquee img {
    height: 24px
}

.flex-bundle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px
}

.flex-bundle .icon-gift {
    font-size: 32px
}

.flex-bundle .bundle-offer-title {
    font-size: 18px;
    font-weight: 500
}

span.swiper-pagination-bullet {
    margin: 0 3px !important;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.size-box .text-color-primary {
    color: var(--tp-text-body);
    font-weight: 500;
}

.size-box .form-group .form-control {
    border-radius: 7px;
    padding: 7px 10px;
    font-size: 15px;
    border-color: #2d2d2d;
}

.size-box .form-group select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 18px;
}

.size-box .form-group:has(input[required]) label::after,
.size-box .form-group:has(select[required]) label::after {
    content: " * ";
    color: red;
}

.size-box .checkbox-container {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    top: 5px;
}

.size-box .custom-checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    display: none;
}

.size-box .custom-checkmark {
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border: 2px solid #2d2d2d;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
}

.size-box .custom-checkbox-label {
    margin-right: 5px;
    font-size: 16px;
    cursor: pointer;
}

.size-box .checkbox-container:hover .custom-checkmark {
    border-color: #999;
}

.size-box .custom-checkbox-input:checked+.custom-checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.size-box .custom-checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.size-box .custom-checkbox-input:checked+.custom-checkmark::after {
    display: block;
}

.size-box .form-group:has(.checkbox-container) {
    margin-bottom: 5px;
}

.size-box .border-product {
    margin-top: 10px !important;
}

.size-box .form-group .form-control:has(.file-label) {
    padding: 0;
    overflow: hidden;
}

.size-box .form-group .form-control .file-label {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    justify-content: start;
    align-items: center;
}

.size-box .form-group .form-control:has(.file-label) button {
    background: #f5f5f5;
    padding: 6px 10px 4px;
    display: flex !important;
}

.size-box .form-group .form-control:has(.file-label) .icon-close {
    cursor: pointer;
}

.size-box .form-group .form-control:has(.file-label) .icon-close::after {
    content: "\e95b";
}

.size-box .form-group .form-control:has(.file-label) span[data-hint-text] {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

#bundle_widget {
    margin-bottom: 16px;
}

/* الوضع العادي — بدون تفعيل عرض الباندل المسطح */
#bundle_widget:not(.dynamic-bundle-flat) .dynamic-bundle-group-items {
    max-height: 400px;
    overflow: auto;
}

#bundle_widget:not(.dynamic-bundle-flat) .dynamic-bundle-group-accordion {
    background: #fff;
    box-shadow: unset;
    border: 1px solid #d3d8de;
}

#bundle_widget:not(.dynamic-bundle-flat) .MuiAccordionSummary-content {
    padding-top: 8px;
    padding-bottom: 8px;
}

#bundle_widget:not(.dynamic-bundle-flat) .MuiAccordionSummary-root {
    min-height: unset;
    background: #fff !important;
}

#bundle_widget:not(.dynamic-bundle-flat) .MuiCardContent-root {
    padding: 0;
}

#bundle_widget:not(.dynamic-bundle-flat) .dynamic-bundle-item:first-child {
    border-top: 0;
}

.dynamic-bundle-flat-host.dynamic-bundle-flat-ready {
    margin: 24px 0;
}

.dynamic-bundle-flat-host.dynamic-bundle-flat-ready #bundle_widget {
    margin-bottom: 0;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-selection-groups {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* إخفاء عداد المطلوب فقط (0/1 مطلوب) */
#bundle_widget.dynamic-bundle-flat .dynamic-bundle-group-counter {
    display: none !important;
}

/* عنوان المجموعة (اختيار 1) */
#bundle_widget.dynamic-bundle-flat .dynamic-bundle-group-accordion>.MuiAccordion-root>.MuiAccordion-heading {
    display: block !important;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-group-accordion>.MuiAccordion-root>.MuiAccordion-heading .MuiAccordionSummary-root {
    min-height: unset !important;
    padding: 0 !important;
    background: transparent !important;
    cursor: default !important;
    pointer-events: none !important;
    box-shadow: none !important;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-group-accordion .MuiAccordionSummary-expandIconWrapper {
    display: none !important;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-group-accordion .MuiAccordionSummary-content {
    margin: 0 !important;
    justify-content: center !important;
    padding: 0 !important;
    text-align: center;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-group-header {
    width: 100%;
    justify-content: center !important;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-group-progress {
    justify-content: center !important;
    width: 100%;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-group-header svg {
    display: none;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-group-progress .MuiTypography-subtitle1 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center !important;
    color: #111;
    width: 100%;
}

/* إلغاء شكل الأكورديون — المحتوى مفتوح دائماً */
#bundle_widget.dynamic-bundle-flat .MuiCollapse-root,
#bundle_widget.dynamic-bundle-flat .MuiCollapse-wrapper,
#bundle_widget.dynamic-bundle-flat .MuiCollapse-wrapperInner {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    display: block !important;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-group-accordion,
#bundle_widget.dynamic-bundle-flat .dynamic-bundle-slot-accordion,
#bundle_widget.dynamic-bundle-flat .dynamic-bundle-group-accordion.MuiCard-root,
#bundle_widget.dynamic-bundle-flat .dynamic-bundle-slot-accordion.MuiCard-root {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
}

#bundle_widget.dynamic-bundle-flat .MuiAccordion-root::before {
    display: none !important;
}

#bundle_widget.dynamic-bundle-flat .MuiAccordionDetails-root,
#bundle_widget.dynamic-bundle-flat .MuiCardContent-root {
    padding: 0 !important;
}

/* عنوان الخيار (خيار 1 / اسم القسم من التاجر) */
#bundle_widget.dynamic-bundle-flat .dynamic-bundle-slot-accordion>.MuiAccordion-root>.MuiAccordion-heading {
    display: block !important;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-slot-accordion .MuiAccordionSummary-root {
    min-height: unset !important;
    padding: 0 0 10px !important;
    background: transparent !important;
    cursor: default !important;
    pointer-events: none !important;
    box-shadow: none !important;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-slot-accordion .MuiAccordionSummary-expandIconWrapper {
    display: none !important;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-slot-accordion .MuiAccordionSummary-content {
    margin: 0 !important;
    justify-content: center !important;
    text-align: center;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-slot-accordion .MuiTypography-subtitle1 {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    text-align: center !important;
    justify-content: center !important;
    color: #555;
    width: 100%;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-group-accordion .MuiAccordionSummary-content .MuiStack-root,
#bundle_widget.dynamic-bundle-flat .dynamic-bundle-slot-accordion .MuiAccordionSummary-content .MuiStack-root {
    width: 100%;
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-slot-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* بطاقة المنتج */
#bundle_widget.dynamic-bundle-flat .dynamic-bundle-item {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px 12px !important;
    padding: 12px 14px !important;
    margin: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    transition: border-color .2s ease, background-color .2s ease;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-item.is-selected {
    border-color: var(--primary-color, #111) !important;
    background: color-mix(in srgb, var(--primary-color, #111) 4%, #fff) !important;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-item .MuiFormControlLabel-root {
    pointer-events: auto;
    margin: 0 !important;
    width: auto !important;
    flex-shrink: 0;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-item .MuiFormControlLabel-label:empty {
    display: none;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-item-content {
    flex: 1 1 auto !important;
    min-width: 0;
    width: auto !important;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-item-info {
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 !important;
    min-width: 0;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-item-image {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-item-image img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-item-details {
    flex: 1;
    min-width: 0;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-item-details p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    color: #111;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-item-options {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 2px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    pointer-events: auto;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-item-option-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

#bundle_widget.dynamic-bundle-flat .dynamic-bundle-item .MuiCheckbox-root,
#bundle_widget.dynamic-bundle-flat .dynamic-bundle-item .MuiRadio-root {
    pointer-events: auto;
    padding: 2px;
}

@media (max-width: 767px) {
    #bundle_widget.dynamic-bundle-flat .dynamic-bundle-group-progress .MuiTypography-subtitle1 {
        font-size: 15px;
    }

    #bundle_widget.dynamic-bundle-flat .dynamic-bundle-slot-accordion .MuiTypography-subtitle1 {
        font-size: 13px;
    }

    #bundle_widget.dynamic-bundle-flat .dynamic-bundle-item {
        padding: 10px 12px !important;
    }

    #bundle_widget.dynamic-bundle-flat .dynamic-bundle-item-image,
    #bundle_widget.dynamic-bundle-flat .dynamic-bundle-item-image img {
        width: 48px;
        height: 48px;
    }

    #bundle_widget.dynamic-bundle-flat .dynamic-bundle-item-details p {
        font-size: 13px;
    }
}

.low-quantity-section {
    margin-bottom: 8px;
    color: #EC5550;
}

.products-reviews-page .products-details {
    flex-direction: column;
    padding: 24px;
    margin: 0 !important;
}

.products-reviews-page .products-details a .d-flex {
    gap: 24px;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    width: 600px;
    max-width: 100%;
}

.products-reviews-page .products-details a .d-flex img,
.products-reviews-page .products-details a .d-flex h1 {
    width: 100%;
    text-align: center;
}

.products-reviews-page .products-details .review-details .d-flex {
    gap: 12px;
}

.products-reviews-page .products-details .review-details .d-flex .add-review-btn {
    margin-right: auto;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.products-reviews-page .products-details .reviews-break-down-div .d-flex {
    flex-direction: column;
    align-items: start !important;
    gap: 4px;
}

.products-reviews-page .products-details .reviews-break-down-div .rating-average {
    font-size: 30px;
}

.products-reviews-page .products-details .reviews-break-down-div .card-rate {
    flex-wrap: nowrap;
    align-items: center;
}

.products-reviews-page .products-details .reviews-break-down-div .card-rate.row>* {
    width: auto;
}

.products-reviews-page .products-details .reviews-break-down-div .card-rate .icon-star1 {
    padding: 0;
}

.products-reviews-page .products-details .reviews-break-down-div .card-rate .rating_count_5,
.products-reviews-page .products-details .reviews-break-down-div .card-rate .rating_count_4,
.products-reviews-page .products-details .reviews-break-down-div .card-rate .rating_count_3,
.products-reviews-page .products-details .reviews-break-down-div .card-rate .rating_count_2,
.products-reviews-page .products-details .reviews-break-down-div .card-rate .rating_count_1 {
    width: 50px;
}

.products-reviews-page .products-details .products-pagination {
    margin-top: 0;
}

@media (max-width:768px) {
    .tp-product-details-review-wrapper {
        flex-direction: column;
        gap: 24px;
    }

    .tp-product-details-review-number {
        position: static;
        width: 100%;
        min-width: 0;
        padding: 20px;
    }

    .tp-product-details-review-title {
        font-size: 20px;
        align-items: flex-start;
        flex-direction: column;
    }

    .tp-product-details-review-list>.tp-product-details-review-title {
        font-size: 20px;
    }

    .add-review-btn {
        width: auto;
    }

    .products-reviews-page .products-details a .d-flex h1 {
        font-size: 20px;
    }

    .products-reviews-page .products-details .reviews-break-down-div .card-rate span:last-child {
        font-size: 14px;
        padding: 0;
    }

    .products-reviews-page .products-details .reviews-break-down-div .rating-average {
        font-size: 26px;
    }
}

@media (max-width: 450px) {
    .products-reviews-page .products-details a .d-flex h1 {
        font-size: 18px;
    }

    .products-reviews-page .products-details .review-details .d-flex .add-review-btn {
        width: 100%;
        justify-content: center;
    }

    .tp-product-details-review-avater-comment {
        font-size: 16px;
    }

    .tp-product-details-review-avater-title {
        font-size: 17px;
    }

    .tp-product-details-review-avater-meta {
        font-size: 14px;
    }

    .tp-product-details-review-avater-comment {
        font-size: 15px;
    }

    .tp-product-details-review-avater-thumb {
        display: none;
    }

    .products-reviews-page .products-details {
        padding: 16px;
    }
}

.product-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.product-first-category {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.product-first-category img {
    height: 50px;
    max-width: 100px;
    object-fit: contain;
}

.product-first-category span {
    font-weight: 500;
    color: #000;
}

.tp-product-page-faqs {
    margin: 32px 0;
}

.enhanced-title-border {
    display: none !important;
}

.tp-title-section {
    text-align: start;
    margin-bottom: 16px;
}

/* Preorder countdown — compact inline card (#preorder_countdown) */
.products-details-page .product-preorder-panel {
    margin-top: 10px;
    margin-bottom: 16px;
}

.products-details-page #preorder_countdown:empty,
.products-details-page #preorder_countdown:not(:has(.kit-container)) {
    display: none;
}

.products-details-page #preorder_countdown .kit-container {
    width: 100%;
}

.products-details-page #preorder_countdown .MuiPaper-root {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    border: 1px solid color-mix(in srgb, var(--primary-color) 16%, #e8eaed) !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: linear-gradient(145deg,
            color-mix(in srgb, var(--primary-color) 7%, #fff) 0%,
            #fff 48%,
            #f8fafc 100%) !important;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 10px 28px rgba(15, 23, 42, 0.07) !important;
    padding: 12px 14px !important;
    padding-inline-start: 17px !important;
    position: relative;
    isolation: isolate;
}

.products-details-page #preorder_countdown .MuiPaper-root::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: var(--primary-color);
    opacity: 0.9;
}

.rtl .products-details-page #preorder_countdown .MuiPaper-root::before {
    border-radius: 4px 0 0 4px;
}

.products-details-page #preorder_countdown .MuiPaper-root>.MuiBox-root:first-child {
    display: flex;
    align-items: center;
    flex: 0 0 100%;
    width: 100%;
    padding: 0 0 2px;
    margin: 0;
    border-radius: 0;
    background: transparent !important;
    color: var(--primary-color);
}

.products-details-page #preorder_countdown .MuiPaper-root>.MuiBox-root:first-child .MuiStack-root {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

.products-details-page #preorder_countdown .MuiTypography-subtitle1 {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--primary-color) !important;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.products-details-page #preorder_countdown img[src*="clock"],
.products-details-page #preorder_countdown img[path*="clock"] {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    filter: none;
    opacity: 1;
}

.products-details-page #preorder_countdown .MuiPaper-root>.MuiStack-root {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 0 !important;
    min-width: 0;
    width: 100%;
}

.products-details-page #preorder_countdown .MuiPaper-root>.MuiStack-root>.MuiStack-root:first-child {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    flex: 1 1 auto;
    min-width: 0;
}

.products-details-page #preorder_countdown .MuiPaper-root>.MuiStack-root>.MuiStack-root:first-child .MuiTypography-body2 {
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    white-space: nowrap;
}

.products-details-page #preorder_countdown [role="timer"] {
    display: inline-flex !important;
    flex-direction: row-reverse !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    margin: 0;
    position: absolute;
    inset-inline-end: 14px;
    top: 14px;
}

.products-details-page #preorder_countdown [role="timer"]>.MuiBox-root {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    min-width: 44px !important;
    padding: 6px 9px 5px !important;
    border-radius: 8px !important;
    background: #fff !important;
    border: 1px solid color-mix(in srgb, var(--primary-color) 12%, #e8ecf1) !important;
    color: #475569 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06) !important;
}

.products-details-page #preorder_countdown [role="timer"] .MuiTypography-h4 {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    color: var(--primary-color) !important;
    font-variant-numeric: tabular-nums;
}

.products-details-page #preorder_countdown [role="timer"] .MuiTypography-caption {
    margin: 0 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    opacity: 1;
    color: #94a3b8 !important;
}

hr.MuiDivider-root.MuiDivider-fullWidth {
    display: none;
}

.products-details-page #preorder_countdown .MuiAlert-root {
    flex: 1 1 100%;
    margin: 6px 0 0 !important;
    border-radius: 8px !important;
    padding: 8px 10px !important;
    border: 1px solid color-mix(in srgb, var(--primary-color) 10%, #e8ecf1) !important;
    background: rgba(255, 255, 255, 0.88) !important;
    color: #475569 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(4px);
}

.products-details-page #preorder_countdown .MuiAlert-root:before {
    display: none;
}

.products-details-page #preorder_countdown .MuiAlert-root .MuiAlertTitle-root,
.products-details-page #preorder_countdown .MuiAlert-root .MuiTypography-subtitle2 {
    display: inline !important;
    margin: 0 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #334155 !important;
}

.products-details-page #preorder_countdown .MuiAlert-root .MuiTypography-subtitle2::after {
    content: ":";
    margin-inline-start: 1px;
}

.products-details-page #preorder_countdown .MuiAlert-root .MuiTypography-body2 {
    display: inline !important;
    margin: 0 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #64748b !important;
    line-height: 1.45 !important;
}

.products-details-page #preorder_countdown .MuiAlert-root .MuiAlert-message,
.products-details-page #preorder_countdown .MuiAlert-root .MuiStack-root {
    width: 100%;
    min-width: 0;
}

.products-details-page #preorder_countdown .MuiAlert-root .MuiAlert-message .MuiStack-root {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 4px 6px !important;
}

.products-details-page #preorder_countdown .MuiAlert-root .MuiAlert-message .MuiStack-root .MuiStack-root {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 4px 5px !important;
}

.products-details-page #preorder_countdown .MuiAlert-root .MuiTypography-gutterBottom {
    margin-bottom: 0 !important;
}

@media (max-width: 575.98px) {
    .products-details-page #preorder_countdown .MuiPaper-root {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .products-details-page #preorder_countdown .MuiPaper-root>.MuiStack-root {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .products-details-page #preorder_countdown .MuiPaper-root>.MuiStack-root>.MuiStack-root:first-child {
        justify-content: space-between;
    }

    .products-details-page #preorder_countdown [role="timer"] {
        position: static;
    }

    .products-details-page .product-preorder-panel {
        margin-top: 8px;
    }
}

/* ===== Product gallery layout modes ===== */
.gallery-layout-carousel-bottom-thumbs .products-details .col-product-image-wrapper {
    flex-direction: column;
    justify-content: flex-start;
}

.gallery-layout-carousel-bottom-thumbs .product-gallery-carousel-view {
    flex-direction: column-reverse;
    width: 100%;
}

.gallery-layout-carousel-bottom-thumbs .products-details .product-images-carousel,
.thumb-bottom .products-details .product-images-carousel {
    width: 100%;
}

.gallery-layout-carousel-bottom-thumbs .products-details .product-images-carousel-thumbs,
.thumb-bottom .products-details .product-images-carousel-thumbs {
    width: 100%;
    min-width: unset;
    height: auto;
}

.gallery-layout-carousel-bottom-thumbs .products-details .product-images-carousel-thumbs .thumb-image-a img,
.gallery-layout-carousel-bottom-thumbs .products-details .product-images-carousel-thumbs .video-slide video,
.thumb-bottom .product-images-carousel-thumbs .thumb-image-a img,
.thumb-bottom .product-images-carousel-thumbs .video-slide video {
    height: 85px;
    object-fit: cover;
    object-position: top;
}

.gallery-layout-carousel-bottom-thumbs .products-details .product-images-carousel-thumbs .thumbs-nav-prev,
.gallery-layout-carousel-bottom-thumbs .products-details .product-images-carousel-thumbs .thumbs-nav-next,
.thumb-bottom .product-images-carousel-thumbs .thumbs-nav-prev,
.thumb-bottom .product-images-carousel-thumbs .thumbs-nav-next {
    top: 0;
    bottom: 0;
    width: 26px;
    height: 100%;
    transform: unset;
    margin: 0;
}

.gallery-layout-carousel-bottom-thumbs .products-details .product-images-carousel-thumbs .thumbs-nav-prev {
    right: 0;
    left: auto;
}

.gallery-layout-carousel-bottom-thumbs .products-details .product-images-carousel-thumbs .thumbs-nav-next {
    left: 0;
    right: auto;
}

.gallery-layout-carousel-only .product-images-carousel-thumbs {
    display: none !important;
}

.col-product-image-wrapper {
    flex-wrap: wrap;
}

.product-gallery-carousel-view {
    display: flex;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.gallery-layout-carousel-side-thumbs .product-gallery-carousel-view {
    flex: 1;
    min-width: 0;
}

@media (min-width: 993px) {
    .gallery-layout-carousel-side-thumbs .product-gallery-carousel-view {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* Desktop static galleries */
.product-gallery-desktop-static {
    width: 100%;
}

.product-gallery-static-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.product-gallery-static--grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-gallery-static--hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-gallery-static--hero-grid .product-gallery-static-item.is-hero {
    grid-column: 1 / -1;
}

.product-gallery-static--hero-grid .product-gallery-static-item.is-hero .carousel-img {
    width: 100%;
    min-height: clamp(320px, 42vw, 520px);
    object-fit: cover;
}

.product-gallery-static--hero-grid.hero-grid--duo {
    grid-template-columns: 1fr;
}

.product-gallery-static--hero-grid.hero-grid--duo .product-gallery-static-item .carousel-img {
    width: 100%;
    min-height: clamp(320px, 42vw, 520px);
    object-fit: cover;
}

.product-gallery-static-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
}

.products-details .product-gallery-static-item.product-gallery-media .image-link,
.products-details .product-gallery-static-item.product-gallery-media .product-gallery-static-video {
    display: block;
    width: 100%;
}

.products-details .product-gallery-static-item.product-gallery-media .carousel-img,
.products-details .product-gallery-static-item.product-gallery-media video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.product-gallery-static-item .play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    pointer-events: none;
}

.product-gallery-static-item .product-gallery-static-play {
    pointer-events: auto;
    cursor: pointer;
}

@media (min-width: 993px) {

    .gallery-layout-stack .product-gallery-carousel-view,
    .gallery-layout-grid-2 .product-gallery-carousel-view,
    .gallery-layout-hero-grid .product-gallery-carousel-view {
        display: none !important;
    }

    .gallery-layout-carousel-side-thumbs .products-details .col-product-image-wrapper {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .gallery-layout-carousel-side-thumbs .product-gallery-carousel-view {
        flex-direction: row;
        flex-wrap: nowrap;
        flex: 1;
        min-width: 0;
    }

    .gallery-layout-carousel-bottom-thumbs .products-details .col-product-image-wrapper {
        flex-direction: column;
    }

    .gallery-layout-carousel-bottom-thumbs .product-gallery-carousel-view {
        flex-direction: column-reverse;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .product-gallery-desktop-static {
        display: none !important;
    }

    .gallery-layout-stack .product-gallery-carousel-view,
    .gallery-layout-grid-2 .product-gallery-carousel-view,
    .gallery-layout-hero-grid .product-gallery-carousel-view {
        display: flex !important;
        flex-direction: column-reverse;
    }

    .gallery-layout-carousel-side-thumbs .col-product-image-wrapper,
    .gallery-layout-carousel-bottom-thumbs .col-product-image-wrapper,
    .gallery-layout-carousel-only .col-product-image-wrapper {
        flex-direction: column-reverse;
    }

    .gallery-layout-carousel-side-thumbs .product-gallery-carousel-view,
    .gallery-layout-carousel-bottom-thumbs .product-gallery-carousel-view,
    .gallery-layout-carousel-only .product-gallery-carousel-view {
        flex-direction: column-reverse;
    }

    .gallery-layout-carousel-side-thumbs .product-images-carousel-thumbs,
    .gallery-layout-carousel-bottom-thumbs .product-images-carousel-thumbs {
        width: 100%;
        min-width: unset;
        height: auto;
        padding: 8px 4px;
        border: 0;
        border-radius: 0;
        overflow: visible;
        background: transparent;
    }

    .gallery-layout-carousel-side-thumbs .product-images-carousel-thumbs .swiper-wrapper,
    .gallery-layout-carousel-bottom-thumbs .product-images-carousel-thumbs .swiper-wrapper {
        flex-direction: row;
        gap: 8px;
    }

    .gallery-layout-carousel-side-thumbs .product-images-carousel-thumbs .swiper-slide,
    .gallery-layout-carousel-bottom-thumbs .product-images-carousel-thumbs .swiper-slide {
        width: 66px !important;
        height: 66px !important;
        flex: 0 0 66px !important;
    }

    .gallery-layout-carousel-side-thumbs .product-images-carousel-thumbs .thumb-image-a,
    .gallery-layout-carousel-bottom-thumbs .product-images-carousel-thumbs .thumb-image-a {
        height: 66px;
        border-radius: 8px;
    }

    .gallery-layout-carousel-side-thumbs .product-images-carousel,
    .gallery-layout-carousel-bottom-thumbs .product-images-carousel,
    .gallery-layout-carousel-only .product-images-carousel {
        width: 100%;
    }
}

/* Product page store features — legacy class hooks kept for safety */
.features-product.product-features,
.product-store-features-card__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 18px 28px;
    align-items: stretch;
    direction: rtl;
    list-style: none;
    margin: 16px 0 0;
    padding: 24px 28px;
    background: #f8f9fa;
    border: 1px solid #e8eaed;
    border-radius: 14px;
}

.product-features__item,
.product-store-features-card__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-align: right;
}

.product-features__item--delivery,
.product-store-features-card__item--delivery {
    grid-column: 1;
    grid-row: 1;
}

.product-features__item--branches,
.product-store-features-card__item--branches {
    grid-column: 1;
    grid-row: 2;
}

.product-features__item--original,
.product-store-features-card__item--original {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}

.product-features__icon,
.product-store-features-card__icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
}

.product-store-features__icon-img,
.product-store-features-card__icon-img,
.product-store-features__icon-svg {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.product-features__content,
.product-store-features-card__content {
    flex: 1;
    min-width: 0;
}

.features-product .feature-title,
.product-store-features-card__title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #1a1a1a;
}

.features-product .feature-subtitle,
.product-store-features-card__subtitle {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    color: #757575;
}

.products-details .col-product-info--center .features-product.product-features,
.products-details .col-product-info--center .product-store-features-card__grid {
    text-align: initial;
}

.products-details .col-product-info--center .product-features__item,
.products-details .col-product-info--center .product-store-features-card__item {
    justify-content: flex-start;
    text-align: right;
}

@media (max-width: 768px) {

    .features-product.product-features,
    .product-store-features-card__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px 16px;
    }

    .product-features__item--delivery,
    .product-features__item--branches,
    .product-features__item--original,
    .product-store-features-card__item--delivery,
    .product-store-features-card__item--branches,
    .product-store-features-card__item--original {
        grid-column: 1;
        grid-row: auto;
        align-self: stretch;
    }
}

/* Mobile parity fixes vs reference product page */
@media (max-width: 768px) {
    .col-product-info .title-product {
        font-size: 20px;
    }

    .col-product-info .price-product .product-formatted-price {
        font-size: 24px;
    }

    .tp-product-details-tab-nav {
        padding: 10px;
        border-width: 2px;
        border-radius: 10px;
    }

    .tp-product-details-tab-nav .nav-tabs {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 24px;
    }

    .tp-product-details-tab-nav .nav-tabs .nav-link {
        font-size: 16px;
        padding-bottom: 12px;
    }

    .tp-product-details-tab-nav .tab-content {
        margin-top: 18px;
    }
}

/* Reviews section: align to Reefi reference structure */
/* ── Product reviews (reefi.me layout) ─────────────────────────────── */
#nav-reviews {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

#nav-reviews .product-reviews-panel {
    background-color: transparent;
    border-radius: 0;
    padding: 5px 0 16px;
    margin-top: 0;
    color: #4e738a;
}

#nav-reviews .reviews-section-title {
    display: block;
    text-align: center;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.5;
    color: #4e738a !important;
    margin: 20px 0 10px;
    padding: 0;
}

#nav-reviews .rating-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 0 4px;
    gap: 0;
}

#nav-reviews .rating-average {
    color: #4f738a !important;
    font-weight: 800;
    font-size: 50px !important;
    line-height: 1.5;
    min-width: 80px;
    margin: 0;
    padding: 0;
}

#nav-reviews .rating-summary {
    font-size: 12px;
    margin: 0 0 5px;
    line-height: 1;
}

#nav-reviews .rating-summary .product-card-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    direction: ltr;
}

#nav-reviews .rating-summary .icon-star1,
#nav-reviews .rating-summary .icon-half-star {
    font-size: 15px;
    line-height: 1;
    margin: 0 2px;
    color: #fec629;
}

#nav-reviews .rating-summary .icon-star1:before,
#nav-reviews .rating-summary .icon-half-star:before {
    color: #fec629 !important;
}

#nav-reviews .rating-summary .icon-star1.deactive:before,
#nav-reviews .rating-summary .icon-star1.deactive {
    color: #e9eef0 !important;
}

#nav-reviews .rating-count-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    font-size: 12px !important;
    font-weight: 500;
    line-height: 1.5;
    color: #4e738a !important;
    margin: 0 0 16px;
    padding: 0;
}

#nav-reviews .rating-count-label .rating-count,
#nav-reviews .rating-count-label .rating-count-based,
#nav-reviews .rating-count-label .rating-count-word {
    font-weight: 500;
}

#nav-reviews .reviews-break-down-div {
    margin: 0 20px;
}

#nav-reviews .rate-bar-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 0 16px;
    gap: 0;
}

#nav-reviews .rate-bar-row {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    width: 100%;
    padding: 2px 0;
    box-sizing: border-box;
}

#nav-reviews .rate-bar-block .count-r {
    color: #4f738a;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.5;
    white-space: nowrap;
    text-align: center;
}

#nav-reviews .rate-bar-block .rating-bar {
    width: 100%;
    min-width: 0;
    padding: 8px 0;
}

#nav-reviews .rate-bar-block .bar-container {
    width: 100% !important;
    max-width: 100%;
    height: 10px;
    background-color: rgba(78, 115, 138, 0.04);
    border-radius: 3px;
    overflow: hidden;
}

#nav-reviews .rate-bar-block .bar-container .bar-fill {
    display: block;
    height: 10px;
    width: 0;
    max-width: 100%;
    border-radius: 3px;
    background-color: #fec629 !important;
    transition: width .25s ease;
}

#nav-reviews .rate-bar-block .rating-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #4f738a;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

#nav-reviews .reviews-list {
    margin: 0;
    padding: 0;
}

#nav-reviews .reviews-list>.reviews-section-title {
    margin: 35px 0 10px;
}

#nav-reviews .comment-section {
    background: transparent;
}

#nav-reviews .card-review.tp-product-details-review-avater {
    display: block;
    gap: 0;
    margin: 8px 0;
    border: 0 !important;
    padding: 15px;
    border-radius: 10px;
    background: #fff;
    color: #4e738a;
    box-shadow: none;
}

#nav-reviews .card-review .card-body {
    padding: 0;
    margin: 0;
}

#nav-reviews .card-review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

#nav-reviews .card-review .card-name {
    margin: 0;
    color: #000;
    min-width: 0;
    flex: 1 1 auto;
}

#nav-reviews .card-review .card-name-customer {
    display: flex;
    align-items: center;
    margin: 0 0 5px;
    font-weight: 600;
    color: #4f738a;
    font-size: 12px;
    line-height: 1.2;
}

#nav-reviews .card-review .customer-name {
    margin-right: 2px;
    margin-left: 5px;
    font-size: 10px;
    font-weight: 600;
    color: #4f738a;
    line-height: 1.5;
}

html[lang="en"] #nav-reviews .card-review .customer-name {
    margin-right: 5px;
    margin-left: 2px;
}

#nav-reviews .review-verified-badge {
    display: inline-flex;
    align-items: center;
    color: #4f738a;
    margin: 0;
    padding: 0;
}

#nav-reviews .review-verified-badge__icon,
#nav-reviews .trust-icon {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
}

#nav-reviews .review-verified-badge__label {
    display: none;
}

#nav-reviews .card-rate-comment {
    display: flex;
    align-items: center;
    font-size: 10px;
    margin-right: 10px;
    margin-left: 0;
    line-height: 1;
}

html[dir="ltr"] #nav-reviews .card-rate-comment {
    margin-right: 0;
    margin-left: 10px;
}

#nav-reviews .card-rate-comment .product-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 0;
    direction: ltr;
}

#nav-reviews .card-rate-comment .icon-star1,
#nav-reviews .card-rate-comment .icon-half-star {
    font-size: 12px;
    line-height: 1;
    margin: 0 1px;
    color: #fec629;
}

#nav-reviews .card-rate-comment .icon-star1:before,
#nav-reviews .card-rate-comment .icon-half-star:before {
    color: #fec629 !important;
}

#nav-reviews .card-rate-comment .icon-star1.deactive:before,
#nav-reviews .card-rate-comment .icon-star1.deactive {
    color: #e9eef0 !important;
}

#nav-reviews .card-review .card-date {
    font-size: 9px;
    font-weight: 400;
    line-height: 1.5;
    color: #839dad;
    margin: 1px 0 0;
    flex-shrink: 0;
    white-space: nowrap;
}

#nav-reviews .card-review .user-review-text,
#nav-reviews .card-review .card-paragraph {
    margin-top: 10px !important;
    padding: 0 0 0 20px !important;
    font-size: 11px !important;
    font-weight: 600;
    color: #718fa1 !important;
    line-height: 1.5;
    text-align: justify;
}

html[dir="ltr"] #nav-reviews .card-review .user-review-text,
html[dir="ltr"] #nav-reviews .card-review .card-paragraph {
    padding: 0 20px 0 0 !important;
}

#nav-reviews .card-review .user-review-text span {
    display: inline;
}

#nav-reviews .card-review .review-images-box,
#nav-reviews .card-review .images {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
    padding: 0 !important;
}

#nav-reviews .card-review .review-images-box img,
#nav-reviews .card-review .images img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    margin: 0;
}

#nav-reviews .store-review-text,
#nav-reviews .review-reply-box {
    margin-top: 15px;
    padding: 15px 10px 0 20px;
    font-size: 11px;
    color: #718fa1;
    border-top: 1px solid #e8e8e8;
    background: transparent;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
}

#nav-reviews .store-review-text .tp-product-details-review-avater-title {
    font-size: 12px;
    font-weight: 600;
    color: #4f738a;
    margin: 0 0 6px;
}

#nav-reviews .reviews-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 16px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0;
    background: transparent;
    height: auto;
}

#nav-reviews .reviews-empty svg {
    display: none;
}

#nav-reviews .reviews-empty span {
    font-size: 14px;
    font-weight: 400;
    color: #9eb2be !important;
    line-height: 1.5;
}

#nav-reviews .reviews-show-more-wrap,
#nav-reviews .all-reviews-box {
    width: 100%;
    margin: 16px auto 0;
    display: flex;
    justify-content: center;
}

#nav-reviews .all-reviews-btn,
#nav-reviews .load-more-reviews {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: #4e738a !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    transition: opacity .2s ease;
}

#nav-reviews .all-reviews-btn:hover,
#nav-reviews .load-more-reviews:hover {
    opacity: .9;
    color: #fff !important;
    background: #4e738a !important;
}

/* Add review form — reefi match */
#nav-reviews .add-review-block,
#nav-reviews #product-review-form-wrap {
    display: block;
    width: 100%;
    margin: 48px 0 0;
    padding: 30px 0;
    border-radius: 13px;
    background-color: #fff;
    box-sizing: border-box;
}

#nav-reviews .add-review-title,
#nav-reviews .product-review-form-title {
    display: block;
    text-align: center;
    color: #4e738a !important;
    font-weight: 600;
    font-size: 16px !important;
    line-height: 1.5;
    margin: 10px 0 15px !important;
    padding: 0;
    border: 0;
    background: transparent;
}

#nav-reviews .product-review-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

#nav-reviews .product-review-stars {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
    direction: ltr;
}

#nav-reviews .product-review-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin: 0 3px;
    padding: 0;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    line-height: 1;
    color: #e9eef0;
}

#nav-reviews .product-review-star .icon-star1 {
    font-size: 25px;
    line-height: 1;
    color: inherit;
}

#nav-reviews .product-review-star .icon-star1:before {
    color: inherit !important;
}

#nav-reviews .product-review-star.is-active,
#nav-reviews .product-review-star.active,
#nav-reviews .product-review-star:hover {
    color: #fec629;
}

#nav-reviews .product-review-star.deactive {
    color: #e9eef0;
}

#nav-reviews .product-review-rating-error {
    width: 100%;
    margin: 0 0 10px;
    color: #d9534f;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

#nav-reviews .add-review-form-checkbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin: 12px 0;
}

#nav-reviews .product-review-anonymous,
#nav-reviews .add-review-form-checkbox .checkbox-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 20px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    user-select: none;
}

#nav-reviews .product-review-anonymous-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

#nav-reviews .add-review-form-checkbox .custom-checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 3px;
    background-color: #f5f7f8;
    flex-shrink: 0;
    position: relative;
}

#nav-reviews .product-review-anonymous-input:checked+.custom-checkmark {
    background-color: #ff8672;
    color: #fff;
}

#nav-reviews .product-review-anonymous-input:checked+.custom-checkmark::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

#nav-reviews .product-review-anonymous-label,
#nav-reviews .add-review-form-checkbox .custom-checkbox-label {
    margin: 0;
    color: #4e738a;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

#nav-reviews .product-review-textarea,
#nav-reviews textarea.input-review-comment {
    display: block;
    width: 80%;
    max-width: 100%;
    min-height: 104px;
    margin: 0 auto 0;
    padding: 10px 15px;
    border: 0 !important;
    border-radius: 10px !important;
    background-color: #fbfcfc !important;
    color: #4e738a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    resize: vertical;
    text-align: start;
    box-sizing: border-box;
    box-shadow: none !important;
    outline: none;
}

#nav-reviews .product-review-textarea::placeholder {
    color: #9eb2be;
    opacity: 1;
    font-weight: 400;
}

#nav-reviews .product-review-textarea:focus {
    border: 0 !important;
    outline: none;
    box-shadow: none !important;
}

#nav-reviews .product-review-submit-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 10px 0 0;
    padding: 0;
}

#nav-reviews .product-review-submit,
#nav-reviews .btn-review {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 75px;
    min-width: 75px;
    height: 34px;
    margin: 10px 0 0;
    padding: 8px 16px;
    border: 0 !important;
    border-radius: 5.5px !important;
    background-color: #ff8672 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.5;
    cursor: pointer;
    box-shadow: none !important;
}

#nav-reviews .product-review-submit:hover:not(:disabled),
#nav-reviews .product-review-submit:focus:not(:disabled),
#nav-reviews .btn-review:hover:not(:disabled) {
    background-color: #ff8672 !important;
    color: #fff !important;
    opacity: 0.92;
}

#nav-reviews .product-review-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    #nav-reviews .product-reviews-panel {
        padding: 5px 0 16px;
        border-radius: 0;
    }

    #nav-reviews .reviews-section-title {
        font-size: 15px !important;
        margin: 16px 0 8px;
    }

    #nav-reviews .rating-average {
        font-size: 42px !important;
        min-width: 64px;
    }

    #nav-reviews .rating-summary .icon-star1,
    #nav-reviews .rating-summary .icon-half-star {
        font-size: 14px;
    }

    #nav-reviews .reviews-break-down-div {
        margin: 0 8px;
    }

    #nav-reviews .rate-bar-row {
        grid-template-columns: 20px minmax(0, 1fr) auto;
        column-gap: 6px;
    }

    #nav-reviews .rate-bar-block .count-r {
        font-size: 15px;
    }

    #nav-reviews .rate-bar-block .rating-label {
        font-size: 11px;
    }

    #nav-reviews .reviews-list {
        margin: 0;
        padding: 0;
    }

    #nav-reviews .reviews-list>.reviews-section-title {
        margin: 24px 0 8px;
    }

    #nav-reviews .card-review {
        padding: 12px;
        border-radius: 10px;
    }

    #nav-reviews .add-review-block,
    #nav-reviews #product-review-form-wrap {
        margin-top: 28px;
        padding: 22px 12px;
    }

    #nav-reviews .product-review-textarea,
    #nav-reviews textarea.input-review-comment {
        width: 100%;
        font-size: 13px;
    }

    #nav-reviews .product-review-star .icon-star1 {
        font-size: 22px;
    }

    .review-verified-badge__icon {
        width: 14px;
        height: 14px;
    }
}

/* Inline product review form — base styles scoped above under #nav-reviews */

/* ===== Product variant cards (vr-* — reference layout) ===== */
.size-box.variant-cards-mode #product-variants-options {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vr-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
    direction: rtl;
    font-family: inherit;
}

.vr-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.vr-divider::before,
.vr-divider::after {
    content: "";
    flex: 1 1 0%;
    height: 1.5px;
    background: #222;
}

.vr-divider span {
    font-size: 15px;
    font-weight: 800;
    color: #222;
    white-space: nowrap;
}

.vr-option-group-label {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin: 4px 0 2px;
}

.vr-outer {
    position: relative;
}

.vr-delivery-badge {
    position: absolute;
    top: -20px;
    right: 16px;
    background: #f44336;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    pointer-events: none;
}

.vr-delivery-badge::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 8px;
    border-style: solid;
    border-width: 5px 6px 0 0;
    border-color: #c62828 transparent transparent;
}

.vr-card {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 0 12px;
    width: 100%;
    padding: 16px 14px;
    border: 2.5px solid #e0ddd8;
    border-radius: 14px;
    cursor: pointer;
    transition: .25s;
    background: #f5f0e8;
    position: relative;
    min-height: 80px;
    text-align: inherit;
    font: inherit;
    color: inherit;
}

.vr-card:hover {
    border-color: #569c62;
    background: #ece6da;
}

.vr-card.active {
    border-color: #569c62;
    background: #e8f5e9;
    box-shadow: 0 0 0 1px #569c62;
}

.vr-card.shake {
    animation: vrShake 4s ease-in-out infinite;
}

.vr-radio {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    border: 2.5px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s;
    flex-shrink: 0;
}

.vr-card.active .vr-radio {
    border-color: #569c62;
}

.vr-radio::after {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    transition: background .2s;
}

.vr-card.active .vr-radio::after {
    background: #569c62;
}

.vr-product-details {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.vr-img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 3px;
    flex-shrink: 0;
}

.vr-text-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.vr-info {
    display: flex;
    flex-flow: row wrap;
    gap: 6px;
    min-width: 0;
    align-items: center;
    overflow: hidden;
}

.vr-name {
    font-weight: 800;
    color: #222;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vr-sub {
    color: #009141;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.vr-in-card-gift {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #fff9f0, #fff);
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px dashed #e85d34;
    width: fit-content;
    max-width: 100%;
    margin-top: 2px;
    box-shadow: 0 2px 8px rgba(232, 93, 52, .1);
    position: relative;
    overflow: hidden;
}

.vr-in-card-gift::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
    transform: skewX(-20deg);
    animation: giftShine 3s ease infinite;
}

.vr-in-card-gift img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .1));
    z-index: 1;
    flex-shrink: 0;
}

.vr-in-card-gift span {
    font-size: 11px;
    font-weight: 800;
    color: #e85d34;
    z-index: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vr-in-card-gift span::before {
    content: "🎁";
    margin-left: 4px;
    font-size: 12px;
}

.vr-price-area {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.vr-price-line {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.vr-price {
    font-size: 22px;
    font-weight: 800;
    color: #222;
}

.vr-curr {
    font-size: 12px;
    font-weight: 600;
    color: #999;
}

.vr-old {
    font-size: 13px;
    color: #aaa;
    text-decoration: line-through;
}

.vr-discount-chip {
    background: transparent;
    color: #f44336;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 4px;
}

@keyframes giftShine {
    100% {
        left: 200%;
    }
}

@keyframes vrShake {

    0%,
    8%,
    100% {
        transform: translateX(0);
    }

    1% {
        transform: translateX(-3px);
    }

    2% {
        transform: translateX(3px);
    }

    3% {
        transform: translateX(-3px);
    }

    4% {
        transform: translateX(3px);
    }

    5% {
        transform: translateX(-2px);
    }

    6% {
        transform: translateX(2px);
    }

    7% {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .vr-card {
        grid-template-columns: 20px 1fr auto;
        padding: 12px 8px;
        gap: 0 8px;
        border-radius: 10px;
        min-height: 60px;
    }

    .vr-product-details {
        gap: 8px;
    }

    .vr-img {
        width: 45px;
        height: 45px;
    }

    .vr-text-content {
        gap: 4px;
    }

    .vr-name {
        font-size: 14px;
    }

    .vr-sub {
        font-size: 11px;
    }

    .vr-price-area {
        gap: 5px;
        flex-direction: column;
        align-items: flex-end;
        margin-top: 9px;
    }

    .vr-price {
        font-size: 18px;
    }

    .vr-curr {
        font-size: 10px;
    }

    .vr-old {
        font-size: 11px;
    }

    .vr-radio {
        width: 18px;
        height: 18px;
    }

    .vr-radio::after {
        width: 9px;
        height: 9px;
    }

    .vr-delivery-badge {
        font-size: 10px;
        padding: 2px 10px;
        top: -10px;
        right: 10px;
    }

    .vr-delivery-badge::after {
        bottom: -4px;
        border-width: 4px 5px 0 0;
    }

    .vr-in-card-gift {
        padding: 4px 8px;
        gap: 6px;
        border-radius: 30px;
    }

    .vr-in-card-gift img {
        width: 18px;
        height: 18px;
    }

    .vr-in-card-gift span {
        font-size: 10px;
    }

    .vr-in-card-gift span::before {
        font-size: 11px;
    }

    .vr-discount-chip {
        font-size: 10px;
        padding: 1px 6px;
    }
}

html[dir="ltr"] .vr-wrap {
    direction: ltr;
}

html[dir="ltr"] .vr-delivery-badge {
    right: auto;
    left: 16px;
}

html[dir="ltr"] .vr-delivery-badge::after {
    right: auto;
    left: 8px;
    border-width: 5px 0 0 6px;
    border-color: #c62828 transparent transparent;
}

html[dir="ltr"] .vr-in-card-gift span::before {
    margin-left: 0;
    margin-right: 4px;
}