.btn-number:hover {
    color: var(--web-secondary);
}

thead {
    background: var(--web-primary) !important;
}

.feature_header {
    display: flex;
    justify-content: center;
}

.feature_header span {
    padding-right: 15px;
    padding-left: 15px;
    font-weight: 700;
    font-size: 25px;
    text-transform: uppercase;
}

.cz-product-gallery {
    display: block;
}

.cz-preview {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    max-height: 100% !important;
    background: white;
    border-radius: 10px;
}

.cz-preview-item.active {
    border: 1px solid #e2f0ff;
    border-radius: 3px;
    padding: 2%;
}

.cz-preview-item > img {
    width: 100%;
    max-height: 600px;
}

.details {

    padding: 16px;

}

img,
figure {
    max-width: 100%;
    vertical-align: middle;
}

.cz-thumblist-item.active {
    border-color: #8888883b!important;
    padding: 10%;
    background: white!important;
}

.cz-thumblist-item {
    border-color: #8888883b!important;
    background: white!important;
    display: block;
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0.625rem;
    transition: border-color 0.2s ease-in-out;
    border-radius: 0.3125rem;
    text-decoration: none !important;
    overflow: hidden;
}

.cz-thumblist-item > img {
    display: block;
    width: 80%;
    transition: opacity 0.2s ease-in-out;
    max-height: 58px;
    opacity: 0.6;
}

.seller_details {
    height: 114px;
    border: 1px solid #e2f0ff;
    padding-left: 20px;
    padding-right: 20px;
    background: white!important;
}

.product_overview{
    background: white!important;
}

.shop_name {
    padding-left: 10px;
}

.shop_name a {
    font-size: 18px;
    font-weight: 600;
    color: black !important;
}

.shop_name .review {
    font-size: 17px;
    font-weight: 600;
}

.star-rating {
    margin-top: 3px;
}

.contact {
    font-weight: 600;
    min-height: 45px;
    background: transparent linear-gradient(269deg, #00ade3 0%, #1b7fed 100%) 0%
        0% no-repeat padding-box;
    border-radius: 6px;
    border: none;
    padding: 0 10px;
    font-size: 18px;
    color: #ffffff !important;
}

.follow {
    font-weight: 600;
    min-height: 45px;
    background: transparent linear-gradient(269deg, #00ade3 0%, #1b7fed 100%) 0%
        0% no-repeat padding-box;
    border-radius: 6px;
    border: none;
    padding: 0 10px;
    font-size: 18px;
    color: #ffffff !important;
}

.product_overview .nav-tabs {
    height: 59px;
    border: 1px solid #e2f0ff;
}

.product_overview .nav-tabs .nav-item .nav-link {
    font-weight: 700;
    font-size: 25px;
}

.product_overview .nav-tabs .nav-link.active::before {
    background-color: #1b7fed;
}

.product_overview .nav-tabs .nav-link::before {
    position: absolute;
    display: block;
    bottom: 0;
    left: 1.25rem;
    width: calc(100% - (1.25rem * 2));
    height: 4px;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out,
        box-shadow 0.25s ease-in-out, border-color 0.25s ease-in-out;
    background-color: transparent;
    content: "";
}

.product_overview .nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #422afe;
    background-color: rgba(0, 0, 0, 0);
    border-color: #12d7fe;
    padding-bottom: 0;
}

/*.text-accent {
    color: #1B7FED !important;
    font-size: 29px;
    font-weight: 700;
}*/

.pro {
    font-weight: 600;
    font-size: 16px;
}

.details .h3 {
    font-weight: 700 !important;
    font-size: 25px;
}



.product-description-label {
    /* font-family: "Roboto", sans-serif; */
    /* font-weight: 700; */
    font-size: 14px;
}

.product-price {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.single_product_review {
    box-shadow: 0px 0px 8px #00000026;
    border-radius: 6px;
}

.product_review_rating {
    color: #1b7fed;
    font-size: 18px;
    font-weight: 600;
    padding-right: 5px;
}

.overall_review {
    font-weight: 700 !important;
    font-size: 30px;
}

.specification .h6 {
    font-weight: 700 !important;
    font-size: 22px !important;
}

.list-unstyled li {
    font-weight: 700;
    font-size: 20px;
    color: black !important;
}

.seller_contact {
    height: 100%;
    display: flex !important;
    justify-content: flex-end !important;
}

.seller_shop {
    display: flex !important;
    justify-content: flex-start !important;
}

.view_all {
    display: flex;
    justify-content: flex-end !important;
}

.view_border {
    margin-top: -53px;
    border-top: 2px solid #e3e9ef;
    margin-bottom: 53px;
}

@media (max-width: 767.98px) and (min-width: 576px) {
    .cz-preview-item > img {
        width: 100%;
    }

    .seller_details {
        height: 160px;
    }

    .seller_contact {
        display: flex !important;
        justify-content: center !important;
    }

    .seller_shop {
        display: flex !important;
        justify-content: center !important;
    }

    .view_all {
        display: flex;
        justify-content: flex-start !important;
    }

    .feature_header {
        margin-top: 0;
        display: flex;
        justify-content: flex-start !important;
    }

    .feature_header span {
        padding-right: 0;
        padding-left: 0;
        font-weight: 700;
        font-size: 25px;
        text-transform: uppercase;
    }

    .view_border {
        margin: 16px 0px;
        border-top: 2px solid #e2f0ff !important;
    }
}

@media (max-width: 575.98px) {
    .cz-thumblist {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: center;
        justify-content: center;
        margin-right: -1rem;
        margin-left: 0;
        padding-top: 1rem;
        padding-right: 22px;
        padding-bottom: 10px;
    }

    .cz-thumblist-item {
        margin: 0px;
    }

    .cz-thumblist {
        padding-top: 8px !important;
    }

    .cz-preview-item > img {
        width: 100%;
    }

    .seller_details {
        height: 160px;
    }

    .seller_contact {
        display: flex !important;
        justify-content: center !important;
    }

    .seller_shop {
        display: flex !important;
        justify-content: center !important;
    }

    .view_all {
        display: flex;
        justify-content: flex-start !important;
    }

    .feature_header {
        margin-top: 0;
        display: flex;
        justify-content: flex-start !important;
    }

    .feature_header span {
        padding-right: 0;
        padding-left: 0;
        font-weight: 700;
        font-size: 25px;
        text-transform: uppercase;
    }

    .view_border {
        margin: 16px 0;
        border-top: 2px solid #e2f0ff !important;
    }
    @media (max-width: 375px) {
        .for-discount-div {
            margin-top: -5% !important;
            margin-right: -5% !important;
            margin-bottom: 6%;
        }
    }
}

/* =============================================================
   3STORE â€” Product details sidebar mini product cards
   Refined compact horizontal design.
   ============================================================= */

.product-details-related-heading {
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px 11px !important;
    border: eef2f300;
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--web-primary) 4%, #ffffff),
            #ffffff 72%
        );
}

.product-details-related-heading h2 {
    margin: 0;
    color: #172033;
    font-size: 16px !important;
    font-weight: 800;
    line-height: 1.35;
}

.product-details-related-heading .view-all-btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 10px;
    color: var(--web-primary) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
    background: color-mix(in srgb, var(--web-primary) 7%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--web-primary) 13%, #edf2ef);
    border-radius: 9px;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.product-details-related-heading .view-all-btn-text:hover {
    color: var(--web-primary) !important;
    background: color-mix(in srgb, var(--web-primary) 12%, #ffffff);
    border-color: color-mix(in srgb, var(--web-primary) 24%, #e3ebe7);
    transform: translateY(-1px);
}

.product-details-related-heading .view-all-btn-text i {
    font-size: 11px;
}

.product-details-related-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    border: 1px solid color-mix(in srgb, var(--web-primary) 6%, #eef2f300);
    border-radius: 15px;
    background:
        linear-gradient(
            145deg,
            color-mix(in srgb, var(--web-primary) 2.5%, #ffffff),
            #ffffff 78%
        );
}

.product-details-mini-card {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 106px;
    overflow: hidden;
    color: inherit;
    text-decoration: none !important;
    background: rgba(255, 255, 255, .96);
    border: 1px solid color-mix(in srgb, var(--web-primary) 8%, #edf1f2);
    border-radius: 13px;
    box-shadow: 0 3px 10px rgba(27, 50, 69, .025);
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.product-details-mini-card:hover {
    color: inherit;
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--web-primary) 23%, #e3ebe7);
    box-shadow: 0 9px 22px rgba(27, 50, 69, .07);
}

.product-details-mini-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 9px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            color-mix(in srgb, var(--web-primary) 2.5%, #ffffff),
            #ffffff 70%
        );
    border-inline-end: 1px solid color-mix(in srgb, var(--web-primary) 6%, #edf1f2);
}

.product-details-mini-card__media img {
    display: block;
    width: 100%;
    height: 86px;
    object-fit: contain;
    transition: transform .25s ease;
}

.product-details-mini-card:hover .product-details-mini-card__media img {
    transform: scale(1.03);
}

.product-details-mini-card__discount {
    position: absolute;
    inset-block-start: 7px;
    inset-inline-start: 7px;
    z-index: 2;
    max-width: calc(100% - 14px);
    padding: 3px 6px;
    overflow: hidden;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: var(--web-primary);
    border-radius: 7px;
    box-shadow: 0 4px 10px color-mix(in srgb, var(--web-primary) 18%, transparent);
}

.product-details-mini-card__stock {
    position: absolute;
    inset-inline: 7px;
    inset-block-end: 7px;
    z-index: 2;
    padding: 4px 6px;
    overflow: hidden;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: #e52d35;
    border-radius: 6px;
}

.product-details-mini-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 10px 12px;
}

.product-details-mini-card__content h3 {
    display: -webkit-box;
    min-height: 35px;
    margin: 0 0 7px;
    overflow: hidden;
    color: #1f2937;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-details-mini-card__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 7px;
    min-width: 0;
}

.product-details-mini-card__current {
    color: var(--web-primary);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

.product-details-mini-card__prices del {
    color: #a5acb5;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
}

.product-details-mini-card__rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 5px;
    color: #697386;
    font-size: 10px;
    line-height: 1;
}

.product-details-mini-card__rating i {
    font-size: 11px;
}

.product-details-mini-card__rating small {
    color: #9aa3af;
    font-size: 9px;
}

@media (max-width: 991.98px) {
    .product-details-related-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .product-details-mini-card {
        grid-template-columns: 88px minmax(0, 1fr);
        min-height: 102px;
    }

    .product-details-mini-card__media img {
        height: 80px;
    }
}

@media (max-width: 575.98px) {
    .product-details-related-heading {
        margin-bottom: 8px;
        padding: 9px 10px !important;
        border-radius: 11px;
    }

    .product-details-related-heading h2 {
        font-size: 15px !important;
    }

    .product-details-related-heading .view-all-btn-text {
        min-height: 30px;
        padding: 5px 8px;
        font-size: 11.5px;
        border-radius: 8px;
    }

    .product-details-related-list {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 6px;
        border-radius: 13px;
    }

    .product-details-mini-card {
        grid-template-columns: 92px minmax(0, 1fr);
        min-height: 104px;
        border-radius: 12px;
    }

    .product-details-mini-card__media {
        padding: 8px;
    }

    .product-details-mini-card__media img {
        height: 84px;
    }

    .product-details-mini-card__content {
        padding: 9px 10px;
    }

    .product-details-mini-card__content h3 {
        min-height: 34px;
        font-size: 12.5px;
    }

    .product-details-mini-card__current {
        font-size: 12.5px;
    }
}

/* =============================================================
   3STORE — Product details top section safe refinement
   ============================================================= */

.product-details-top-card {
    padding: 15px !important;
    border: 1px solid color-mix(in srgb, var(--web-primary) 8%, #e8edef) !important;
    border-radius: 16px !important;
    background: #fff;
    box-shadow: 0 7px 22px rgba(28, 47, 62, .04);
}

.product-details-top-row {
    align-items: stretch;
    row-gap: 16px !important;
}

.product-details-top-gallery-col,
.product-details-top-info-col {
    display: flex;
    min-width: 0;
}

.product-details-top-gallery,
.product-details-top-info {
    width: 100%;
}

.product-details-top-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 8px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--web-primary) 7%, #edf1f2);
    border-radius: 14px;
    background: #fff;
}

.product-details-top-main-image {
    height: 340px;
    border: 0 !important;
    border-radius: 11px !important;
    background: #fff;
    overflow: hidden;
}

.product-details-top-main-image .swiper-wrapper,
.product-details-top-main-image .swiper-slide,
.product-details-top-main-image .easyzoom,
.product-details-top-main-image a {
    width: 100%;
    height: 100%;
}

.product-details-top-main-image img {
    display: block;
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    padding: 12px;
    object-fit: contain;
}

.product-details-top-gallery.is-unavailable .product-details-top-main-image img {
    filter: grayscale(.42) saturate(.72);
    opacity: .82;
}

.product-details-unavailable-overlay {
    position: absolute;
    inset: 8px 8px 72px;
    z-index: 4;
    pointer-events: none;
    border-radius: 11px;
    background: rgba(67, 75, 82, .08);
}

.product-details-unavailable-badge {
    position: absolute;
    inset-inline-start: 16px;
    inset-block-end: 82px;
    z-index: 7;
    padding: 7px 11px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    background: #e6323a;
    border-radius: 8px;
    box-shadow: 0 6px 14px rgba(230, 50, 58, .18);
}

.product-details-top-gallery .discount-badge-wrapper {
    z-index: 8;
}

.product-details-top-gallery .cz-product-gallery-icons {
    z-index: 9;
}

.product-details-top-gallery .cz-product-gallery-icons .d-flex {
    gap: 8px !important;
    padding-top: 8px !important;
}

.product-details-top-gallery .share_btn,
.product-details-top-gallery .wishList-pos-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px;
    color: var(--web-primary) !important;
    background: rgba(255,255,255,.96) !important;
    border: 1px solid color-mix(in srgb, var(--web-primary) 16%, #e7ecee) !important;
    box-shadow: 0 4px 12px rgba(29, 48, 61, .07);
}

.product-details-top-gallery .share_btn:hover,
.product-details-top-gallery .wishList-pos-btn:hover {
    color: #fff !important;
    background: var(--web-primary) !important;
    border-color: var(--web-primary) !important;
}

.product-details-top-gallery .quickviewSliderThumb2 {
    margin-top: 8px;
}

.product-details-top-gallery .quickviewSliderThumb2 .swiper-slide {
    width: 52px !important;
    height: 52px;
    padding: 4px;
    border: 1px solid color-mix(in srgb, var(--web-primary) 9%, #e8edef) !important;
    border-radius: 9px !important;
    background: #fff;
}

.product-details-top-gallery .quickviewSliderThumb2 .swiper-slide-thumb-active {
    border-color: var(--web-primary) !important;
    box-shadow: 0 3px 10px color-mix(in srgb, var(--web-primary) 13%, transparent);
}

.product-details-top-gallery .quickviewSliderThumb2 img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    background: #fff;
}

.product-details-top-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px 9px !important;
}

.product-details-top-title {
    margin: 0 0 9px;
    color: #182230;
    font-size: clamp(19px, 1.55vw, 24px);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -.01em;
}

.product-details-brand-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 10px;
    padding: 6px 8px;
    color: inherit !important;
    text-decoration: none !important;
    border: 1px solid color-mix(in srgb, var(--web-primary) 8%, #edf1f2);
    border-radius: 9px;
    background: color-mix(in srgb, var(--web-primary) 2.5%, #fff);
}

.product-details-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    padding: 4px;
    border: 1px solid #edf0f2;
    border-radius: 8px;
    background: #fff;
}

.product-details-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-details-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-details-brand-text small {
    color: #8a939e;
    font-size: 10px;
    line-height: 1.2;
}

.product-details-brand-text strong {
    overflow: hidden;
    color: #26313f;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-details-brand-card > i {
    color: var(--web-primary);
    font-size: 10px;
}

.product-details-top-rating {
    width: fit-content;
    max-width: 100%;
    margin-bottom: 10px !important;
    padding: 6px 9px;
    border: 1px solid color-mix(in srgb, var(--web-primary) 8%, #edf1f2);
    border-radius: 999px;
    background: color-mix(in srgb, var(--web-primary) 2.5%, #fff);
}

.product-details-top-rating,
.product-details-top-rating span,
.product-details-top-rating a {
    font-size: 12px !important;
}

.product-details-top-rating .star-rating {
    margin: 0;
}

.product-details-top-price-card {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 3px;
    padding: 8px 11px;
    border: 1px solid color-mix(in srgb, var(--web-primary) 8%, #edf1f2);
    border-radius: 10px;
    background: color-mix(in srgb, var(--web-primary) 2.5%, #fff);
}

.product-details-top-price-row {
    flex-wrap: wrap;
    gap: 5px 9px !important;
}

.product-details-top-price-row .discounted-unit-price {
    color: var(--web-primary);
    font-size: clamp(20px, 1.6vw, 25px) !important;
    font-weight: 800 !important;
    white-space: nowrap;
}

.product-details-top-price-row .product-total-unit-price {
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap;
}

.product-details-top-form {
    gap: 12px !important;
}

.product-details-top-purchase {
    gap: 11px !important;
}

.product-details-top-total {
    padding: 8px 10px;
    border: 1px solid color-mix(in srgb, var(--web-primary) 7%, #edf1f2);
    border-radius: 10px;
    background: color-mix(in srgb, var(--web-primary) 2.5%, #fff);
}

.product-details-top-total .product-description-label {
    font-size: 14px !important;
}

.product-details-top-total .product-details-chosen-price-amount {
    color: var(--web-primary) !important;
    font-size: 16px !important;
    white-space: nowrap;
}

.product-details-unavailable-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 14px;
    color: #7b848d !important;
    font-size: 13px;
    font-weight: 700;
    cursor: not-allowed !important;
    background: #eef1f3 !important;
    border: 1px solid #dce1e4 !important;
    border-radius: 9px;
    opacity: 1 !important;
    box-shadow: none !important;
}

@media (max-width: 991.98px) {
    .product-details-top-card {
        padding: 12px !important;
    }

    .product-details-top-main-image {
        height: 315px;
    }

    .product-details-top-info {
        padding: 4px 2px !important;
    }

    .product-details-top-title {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .product-details-top-card {
        padding: 9px !important;
        border-radius: 14px !important;
    }

    .product-details-top-row {
        row-gap: 12px !important;
    }

    .product-details-top-gallery {
        padding: 7px;
        border-radius: 12px;
    }

    .product-details-top-main-image {
        height: min(86vw, 335px);
    }

    .product-details-top-main-image img {
        padding: 6px;
    }

    .product-details-top-gallery .quickviewSliderThumb2 .swiper-slide {
        width: 49px !important;
        height: 49px;
    }

    .product-details-unavailable-overlay {
        inset: 7px 7px 68px;
        border-radius: 10px;
    }

    .product-details-unavailable-badge {
        inset-inline-start: 14px;
        inset-block-end: 76px;
        padding: 6px 9px;
        font-size: 10.5px;
    }

    .product-details-top-title {
        font-size: 18px;
    }

    .product-details-top-rating {
        width: 100%;
        border-radius: 9px;
    }

    .product-details-top-price-card {
        width: 100%;
    }

    .product-details-top-price-row .discounted-unit-price {
        font-size: 21px !important;
    }
}

@media (max-width: 420px) {
    .product-details-top-card {
        padding: 7px !important;
    }

    .product-details-top-main-image {
        height: min(90vw, 315px);
    }

    .product-details-top-title {
        font-size: 17px;
    }

    .product-details-brand-logo {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .product-details-top-price-row .discounted-unit-price {
        font-size: 20px !important;
    }
}

/* =============================================================
   3STORE — Product details top section polish V4
   Visual spacing only; product, stock and variation logic unchanged.
   ============================================================= */

.product-details-top-card {
    padding: 13px !important;
}

.product-details-top-row {
    row-gap: 14px !important;
}

.product-details-top-main-image {
    height: 315px;
}

.product-details-top-main-image img {
    padding: 10px;
}

.product-details-top-gallery .quickviewSliderThumb2 .swiper-slide {
    width: 49px !important;
    height: 49px;
}

.product-details-top-info {
    justify-content: flex-start;
    padding: 10px 12px 6px !important;
}

.product-details-top-title {
    max-width: 650px;
    margin-bottom: 8px;
    font-size: clamp(18px, 1.35vw, 22px);
    line-height: 1.45;
}

.product-details-brand-card {
    gap: 7px;
    margin-bottom: 9px;
    padding: 5px 7px;
    border-radius: 8px;
}

.product-details-brand-logo {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    padding: 3px;
    border-radius: 7px;
}

.product-details-brand-text small {
    font-size: 9px;
}

.product-details-brand-text strong {
    font-size: 11px;
}

.product-details-top-rating {
    min-height: 32px;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 9px !important;
    padding: 5px 9px;
}

.product-details-top-rating,
.product-details-top-rating span,
.product-details-top-rating a {
    font-size: 11.5px !important;
}

.product-details-top-rating .star-rating i {
    font-size: 13px;
}

.product-details-top-content-flow {
    gap: 11px !important;
}

.product-details-top-price-card {
    margin-bottom: 1px;
    padding: 7px 10px;
    border-radius: 9px;
}

.product-details-top-price-row {
    gap: 4px 8px !important;
}

.product-details-top-price-row .discounted-unit-price {
    font-size: clamp(19px, 1.35vw, 23px) !important;
    line-height: 1.2;
}

.product-details-top-price-row .product-total-unit-price {
    font-size: 11.5px !important;
}

.product-details-top-form {
    gap: 11px !important;
}

.product-details-top-purchase {
    gap: 10px !important;
}

.product-details-top-info .product-description-label {
    font-size: 12px !important;
}

.product-details-top-info .quantity-box {
    width: 118px !important;
    height: 38px !important;
}

.product-details-top-total {
    padding: 7px 9px;
}

.product-details-top-total .product-description-label {
    font-size: 13px !important;
}

.product-details-top-total .product-details-chosen-price-amount {
    font-size: 15px !important;
}

.product-details-top-info .product-add-and-buy-section .btn,
.product-details-top-info .product-details-unavailable-button,
.product-details-top-info .product-action-add-wishlist {
    min-height: 40px;
    border-radius: 8px;
    font-size: 12.5px;
}

.product-details-top-info .product-add-and-buy-section-parent {
    margin-top: 1px;
}

@media (min-width: 992px) {
    .product-details-top-gallery-col {
        flex: 0 0 44%;
        max-width: 44%;
    }

    .product-details-top-info-col {
        flex: 0 0 56%;
        max-width: 56%;
    }
}

@media (max-width: 991.98px) {
    .product-details-top-main-image {
        height: 295px;
    }

    .product-details-top-info {
        padding: 6px 3px 2px !important;
    }

    .product-details-top-title {
        font-size: 19px;
    }
}

@media (max-width: 767.98px) {
    .product-details-top-card {
        padding: 8px !important;
    }

    .product-details-top-main-image {
        height: min(82vw, 315px);
    }

    .product-details-top-title {
        margin-top: 3px;
        font-size: 17px;
        line-height: 1.5;
    }

    .product-details-brand-card {
        margin-bottom: 8px;
    }

    .product-details-top-rating {
        width: auto;
        max-width: 100%;
        margin-bottom: 8px !important;
        border-radius: 9px;
    }

    .product-details-top-price-card {
        width: auto;
        max-width: 100%;
    }

    .product-details-top-price-row .discounted-unit-price {
        font-size: 20px !important;
    }

    .product-details-top-info .product-add-and-buy-section .btn,
    .product-details-top-info .product-details-unavailable-button {
        min-height: 42px;
    }
}

@media (max-width: 420px) {
    .product-details-top-main-image {
        height: min(86vw, 300px);
    }

    .product-details-top-title {
        font-size: 16.5px;
    }

    .product-details-brand-logo {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .product-details-top-price-row .discounted-unit-price {
        font-size: 19px !important;
    }
}

/* =============================================================
   3STORE — Product details top section polish V5
   Softer layout, fewer nested-card visuals, larger controls.
   ============================================================= */

/* Remove the "card inside card" feeling */
.product-details-brand-card {
    padding: 0;
    margin-bottom: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.product-details-brand-card:hover {
    border-color: transparent;
    background: transparent;
    transform: none;
}

.product-details-brand-logo {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    padding: 3px;
    border: 1px solid color-mix(in srgb, var(--web-primary) 8%, #edf1f2);
    border-radius: 7px;
    background: #fff;
}

.product-details-brand-text small {
    font-size: 9px;
}

.product-details-brand-text strong {
    font-size: 11px;
}

.product-details-top-price-card {
    padding: 0;
    margin-bottom: 3px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.product-details-top-price-row {
    gap: 4px 8px !important;
}

.product-details-top-price-row .discounted-unit-price {
    font-size: clamp(18px, 1.2vw, 21px) !important;
    line-height: 1.2;
}

.product-details-top-price-row .product-total-unit-price {
    font-size: 11px !important;
}

.product-details-top-total {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.product-details-top-total > div {
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid color-mix(in srgb, var(--web-primary) 8%, #edf1f2);
    border-radius: 10px;
    background: color-mix(in srgb, var(--web-primary) 2.5%, #fff);
}

.product-details-top-total .product-description-label {
    font-size: 14px !important;
}

.product-details-top-total .product-details-chosen-price-amount {
    font-size: 18px !important;
    font-weight: 800;
}

.product-details-top-info .quantity-box {
    width: 126px !important;
    height: 42px !important;
    border-color: color-mix(in srgb, var(--web-primary) 18%, #dce8e1) !important;
    background: #fff;
}

.product-details-top-info .quantity-box .btn-number {
    width: 36px !important;
    color: var(--web-primary) !important;
    background: color-mix(in srgb, var(--web-primary) 8%, #ffffff) !important;
}

.product-details-top-info .quantity-box .btn-number:hover {
    background: color-mix(in srgb, var(--web-primary) 14%, #ffffff) !important;
}

.product-details-top-info .quantity-box .product-details-cart-qty {
    font-size: 13px !important;
    font-weight: 700;
}

.product-details-top-info .product-add-and-buy-section {
    gap: 10px !important;
}

.product-details-top-info .product-add-and-buy-section .btn,
.product-details-top-info .product-details-unavailable-button {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
}

.product-details-top-info .product-action-add-wishlist {
    min-width: 76px;
    min-height: 44px;
    border-radius: 9px;
}

/* Ensure full square product image is visible without cropping */
.product-details-top-main-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
}

.product-details-top-main-image .swiper-wrapper,
.product-details-top-main-image .swiper-slide,
.product-details-top-main-image .easyzoom,
.product-details-top-main-image a {
    width: 100%;
    height: 100%;
}

.product-details-top-main-image img {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    padding: 8px;
    object-fit: contain !important;
    object-position: center;
}

@media (min-width: 992px) {
    .product-details-top-gallery-col {
        flex: 0 0 43%;
        max-width: 43%;
    }

    .product-details-top-info-col {
        flex: 0 0 57%;
        max-width: 57%;
    }
}

@media (max-width: 991.98px) {
    .product-details-top-main-image {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 767.98px) {
    .product-details-top-price-row .discounted-unit-price {
        font-size: 19px !important;
    }

    .product-details-top-total > div {
        min-height: 44px;
    }

    .product-details-top-total .product-details-chosen-price-amount {
        font-size: 17px !important;
    }

    .product-details-top-info .quantity-box {
        width: 122px !important;
        height: 41px !important;
    }

    .product-details-top-info .product-add-and-buy-section .btn,
    .product-details-top-info .product-details-unavailable-button {
        min-height: 45px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .product-details-top-price-row .discounted-unit-price {
        font-size: 18px !important;
    }

    .product-details-top-info .product-add-and-buy-section {
        width: 100%;
    }

    .product-details-top-info .product-add-and-buy-section .btn {
        flex: 1 1 0;
        padding-inline: 10px;
    }
}

/* =============================================================
   3STORE — Product details responsive polish V6
   ============================================================= */

/* Slightly softer corners across the product details top area. */
.product-details-top-card {
    border-radius: 13px !important;
}

.product-details-top-gallery {
    border-radius: 11px;
}

.product-details-top-main-image {
    border-radius: 9px !important;
}

.product-details-brand-logo,
.product-details-brand-card,
.product-details-top-rating,
.product-details-top-total > div,
.product-details-top-info .quantity-box,
.product-details-top-info .product-add-and-buy-section .btn,
.product-details-top-info .product-details-unavailable-button,
.product-details-top-info .product-action-add-wishlist {
    border-radius: 7px !important;
}

/* Rating should size to content now that extra counters were removed. */
.product-details-top-rating {
    width: fit-content !important;
    min-height: 0;
    padding: 4px 7px;
    gap: 5px !important;
}

.product-details-top-rating .border-middle-14px {
    display: none !important;
}

/* Mobile sticky unavailable state. */
.product-details-sticky-unavailable-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 14px;
    color: #7b848d !important;
    font-size: 12.5px;
    font-weight: 700;
    cursor: not-allowed !important;
    background: #eef1f3 !important;
    border: 1px solid #dce1e4 !important;
    border-radius: 8px;
    opacity: 1 !important;
    box-shadow: none !important;
}

.product-details-sticky-unavailable-button i {
    font-size: 13px;
}

@media (max-width: 767.98px) {
    .product-details-top-card {
        border-radius: 11px !important;
    }

    .product-details-top-gallery {
        border-radius: 10px;
    }

    .product-details-top-rating {
        width: fit-content !important;
        max-width: 100%;
        margin-bottom: 7px !important;
        padding: 4px 6px;
        border-radius: 7px !important;
    }

    .product-details-top-rating,
    .product-details-top-rating span,
    .product-details-top-rating a {
        font-size: 11px !important;
    }

    .product-details-top-rating .star-rating i {
        font-size: 12px;
    }

    .product-details-sticky .product-restock-request-section {
        width: 100%;
    }

    .product-details-sticky-unavailable-button {
        width: 100%;
        min-height: 42px;
        font-size: 12px;
    }
}

/* =============================================================
   3STORE — Sticky state and action icon fix V7
   ============================================================= */

/* Keep purchase and unavailable states mutually exclusive from first paint. */
.product-details-sticky .product-add-and-buy-section[style*="display: none"] {
    display: none !important;
}

.product-details-sticky .product-restock-request-section[style*="display: block"] {
    display: block !important;
}

/* Larger, matching outline action icons. */
.product-details-top-gallery .share_btn,
.product-details-top-gallery .wishList-pos-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px;
}

.product-details-top-gallery .share_btn i,
.product-details-top-gallery .wishList-pos-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px !important;
    line-height: 1;
}

.product-details-top-gallery .share_btn .czi-share-alt {
    font-size: 18px !important;
}

@media (max-width: 575.98px) {
    .product-details-top-gallery .share_btn,
    .product-details-top-gallery .wishList-pos-btn {
        width: 37px !important;
        height: 37px !important;
        min-width: 37px;
    }

    .product-details-top-gallery .share_btn i,
    .product-details-top-gallery .wishList-pos-btn i {
        font-size: 17px !important;
    }
}

/* =============================================================
   3STORE — Product overview/reviews section polish V8
   ============================================================= */

.product-details-overview-card {
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--web-primary) 8%, #e8edef) !important;
    border-radius: 12px !important;
    background: #fff;
    box-shadow: 0 6px 20px rgba(28, 47, 62, .035);
}

.product-details-overview-card .nav--tabs {
    justify-content: flex-start !important;
    gap: 8px !important;
    min-height: 54px;
    padding: 10px 14px 0;
    border: 0 !important;
    border-bottom: 1px solid color-mix(in srgb, var(--web-primary) 7%, #edf1f2) !important;
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--web-primary) 2.5%, #ffffff),
            #ffffff
        );
}

.product-details-overview-card .nav-item {
    margin: 0 !important;
}

.product-details-overview-card .nav-link {
    position: relative;
    margin: 0 !important;
    padding: 10px 15px !important;
    color: #6f7884 !important;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1.2;
    border: 0 !important;
    border-radius: 8px 8px 0 0 !important;
    background: transparent !important;
}

.product-details-overview-card .nav-link::before {
    display: none !important;
}

.product-details-overview-card .nav-link.active {
    color: #fff !important;
    background: var(--web-primary) !important;
    box-shadow: 0 5px 12px color-mix(in srgb, var(--web-primary) 18%, transparent);
}

.product-details-overview-card .tab-content {
    padding: 18px 20px 20px !important;
}

.product-details-overview-card .specification {
    padding-top: 0 !important;
}

.product-details-overview-card .specification h4 {
    margin-bottom: 10px !important;
    color: #1f2937;
    font-size: 14px !important;
    font-weight: 800;
}

.product-details-overview-card .p-details-description {
    padding-inline: 0 !important;
    color: #46515f !important;
    font-size: 13.5px !important;
    line-height: 1.9;
}

.product-details-overview-card .details-content-wrap {
    max-width: 100%;
}

.product-details-overview-card .see-more-details {
    min-height: 38px;
    padding: 8px 16px !important;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 8px;
}

.product-details-overview-card #reviews {
    padding-top: 2px;
}

@media (max-width: 767.98px) {
    .product-details-overview-card {
        border-radius: 10px !important;
    }

    .product-details-overview-card .nav--tabs {
        min-height: 50px;
        padding: 8px 9px 0;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start !important;
        scrollbar-width: none;
    }

    .product-details-overview-card .nav--tabs::-webkit-scrollbar {
        display: none;
    }

    .product-details-overview-card .nav-link {
        padding: 9px 13px !important;
        font-size: 12.5px !important;
        white-space: nowrap;
        border-radius: 7px 7px 0 0 !important;
    }

    .product-details-overview-card .tab-content {
        padding: 14px 13px 16px !important;
    }

    .product-details-overview-card .specification h4 {
        font-size: 13.5px !important;
    }

    .product-details-overview-card .p-details-description {
        font-size: 13px !important;
        line-height: 1.85;
    }
}

/* =============================================================
   3STORE — Product details brand block redesign V9
   ============================================================= */

.product-details-brand-card {
    position: relative;
    display: inline-grid;
    grid-template-columns: 46px minmax(0, 1fr) 26px;
    align-items: center;
    gap: 10px;
    width: min(100%, 255px);
    min-height: 58px;
    margin: 0 0 12px;
    padding: 7px 9px;
    overflow: hidden;
    color: inherit !important;
    text-decoration: none !important;
    border: 1px solid color-mix(in srgb, var(--web-primary) 12%, #e8edef);
    border-radius: 11px;
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--web-primary) 5%, #ffffff),
            #ffffff 68%
        );
    box-shadow: 0 5px 15px rgba(27, 50, 69, .045);
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.product-details-brand-card::before {
    content: "";
    position: absolute;
    inset-block: 8px;
    inset-inline-start: 0;
    width: 3px;
    border-radius: 0 5px 5px 0;
    background: var(--web-primary);
    opacity: .9;
}

html[dir="ltr"] .product-details-brand-card::before {
    border-radius: 5px 0 0 5px;
}

.product-details-brand-card:hover {
    color: inherit !important;
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--web-primary) 28%, #dde8e1);
    box-shadow: 0 8px 20px rgba(27, 50, 69, .075);
}

.product-details-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    padding: 5px;
    border: 1px solid color-mix(in srgb, var(--web-primary) 10%, #edf1f2);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(27, 50, 69, .04);
}

.product-details-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-details-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 2px;
}

.product-details-brand-text small {
    color: #8a939e;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
}

.product-details-brand-text strong {
    overflow: hidden;
    color: #1f2937;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-details-brand-card > i {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: var(--web-primary);
    font-size: 10px;
    border-radius: 7px;
    background: color-mix(in srgb, var(--web-primary) 8%, #ffffff);
    transition:
        color .2s ease,
        background-color .2s ease,
        transform .2s ease;
}

.product-details-brand-card:hover > i {
    color: #fff;
    background: var(--web-primary);
    transform: translateX(-2px);
}

html[dir="ltr"] .product-details-brand-card:hover > i {
    transform: translateX(2px);
}

@media (max-width: 767.98px) {
    .product-details-brand-card {
        grid-template-columns: 42px minmax(0, 1fr) 24px;
        width: min(100%, 235px);
        min-height: 54px;
        margin-bottom: 10px;
        padding: 6px 8px;
        border-radius: 10px;
    }

    .product-details-brand-logo {
        width: 42px;
        height: 42px;
        min-width: 42px;
        padding: 4px;
        border-radius: 8px;
    }

    .product-details-brand-text small {
        font-size: 9.5px;
    }

    .product-details-brand-text strong {
        font-size: 12px;
    }

    .product-details-brand-card > i {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 420px) {
    .product-details-brand-card {
        width: 100%;
        max-width: 100%;
    }
}

/* =============================================================
   3STORE — Product details brand block redesign V10
   Simple inline brand identity, no arrow and no outer card.
   ============================================================= */

.product-details-brand-card {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    max-width: 100%;
    min-height: 48px;
    margin: 0 0 12px;
    padding: 3px 10px 3px 12px;
    overflow: visible;
    color: inherit !important;
    text-decoration: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: opacity .2s ease;
}

html[dir="rtl"] .product-details-brand-card {
    padding: 3px 12px 3px 10px;
}

.product-details-brand-card::before {
    content: "";
    position: absolute;
    inset-block: 4px;
    inset-inline-end: 0;
    width: 3px;
    border-radius: 999px;
    background: var(--web-primary);
}

html[dir="ltr"] .product-details-brand-card::before {
    inset-inline-end: auto;
    inset-inline-start: 0;
}

.product-details-brand-card:hover {
    transform: none !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: .88;
}

.product-details-brand-logo {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    padding: 5px;
    border: 1px solid color-mix(in srgb, var(--web-primary) 10%, #e6ece8);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(27, 50, 69, .035);
}

html[dir="ltr"] .product-details-brand-logo {
    order: 0;
}

.product-details-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-details-brand-text {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 1px;
    text-align: end;
}

html[dir="ltr"] .product-details-brand-text {
    text-align: start;
}

.product-details-brand-text small {
    color: #8a939e;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
}

.product-details-brand-text strong {
    overflow: hidden;
    color: #202a36;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-details-brand-card > i {
    display: none !important;
}

@media (max-width: 767.98px) {
    .product-details-brand-card {
        min-height: 44px;
        margin-bottom: 10px;
        padding-block: 2px;
    }

    .product-details-brand-logo {
        width: 42px;
        height: 42px;
        min-width: 42px;
        padding: 4px;
        border-radius: 8px;
    }

    .product-details-brand-text small {
        font-size: 9.5px;
    }

    .product-details-brand-text strong {
        font-size: 12px;
    }
}

/* =============================================================
   3STORE — Modern product details experience V11
   Page-scoped visual redesign. Product logic remains unchanged.
   ============================================================= */

.modern-product-details-page {
    --product-ink: #172033;
    --product-muted: #718096;
    --product-line: color-mix(in srgb, var(--web-primary) 10%, #e8edef);
    --product-soft: color-mix(in srgb, var(--web-primary) 4%, #ffffff);
    position: relative;
    padding-block: 1px 26px;
    background:
        radial-gradient(circle at 88% 4%, color-mix(in srgb, var(--web-primary) 7%, transparent), transparent 27%),
        linear-gradient(180deg, color-mix(in srgb, var(--web-primary) 2%, #ffffff), #ffffff 520px);
}

.modern-product-details-page > .container {
    margin-block-start: 20px !important;
}

.modern-product-details-page > .container > .row {
    row-gap: 20px !important;
}

.modern-product-details-page > .container > .row > .col-lg-9 > .h-100 {
    gap: 20px !important;
}

.modern-product-details-page .product-details-top-card {
    position: relative;
    isolation: isolate;
    padding: clamp(12px, 1.25vw, 18px) !important;
    overflow: hidden;
    border: 1px solid var(--product-line) !important;
    border-radius: 20px !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.98), color-mix(in srgb, var(--web-primary) 2.2%, #ffffff));
    box-shadow:
        0 18px 42px rgba(20, 54, 40, .07),
        0 2px 8px rgba(28, 47, 62, .025);
}

.modern-product-details-page .product-details-top-card::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline: 22px;
    z-index: -1;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, var(--web-primary), #52d888, transparent);
    opacity: .9;
}

.modern-product-details-page .product-details-top-row {
    align-items: stretch;
    margin-inline: -8px;
}

.modern-product-details-page .product-details-top-row > [class*="col-"] {
    padding-inline: 8px;
}

.modern-product-details-page .product-details-top-gallery {
    padding: 10px;
    border: 1px solid color-mix(in srgb, var(--web-primary) 11%, #e8edef);
    border-radius: 17px;
    background:
        radial-gradient(circle at 50% 30%, #ffffff 0 40%, color-mix(in srgb, var(--web-primary) 3.5%, #ffffff) 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}

.modern-product-details-page .product-details-top-main-image {
    border-radius: 13px !important;
    background: transparent;
}

.modern-product-details-page .product-details-top-main-image img {
    padding: clamp(5px, .8vw, 11px);
    transition: transform .3s ease;
}

@media (hover: hover) {
    .modern-product-details-page .product-details-top-main-image:hover img {
        transform: scale(1.018);
    }
}

.modern-product-details-page .product-details-top-gallery .quickviewSliderThumb2 {
    margin-top: 10px;
    padding-block: 2px;
}

.modern-product-details-page .product-details-top-gallery .quickviewSliderThumb2 .swiper-slide {
    width: 56px !important;
    height: 56px;
    padding: 4px;
    border-radius: 11px !important;
    background: rgba(255,255,255,.95);
}

.modern-product-details-page .product-details-top-gallery .quickviewSliderThumb2 .swiper-slide-thumb-active {
    border-color: var(--web-primary) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--web-primary) 10%, transparent);
}

.modern-product-details-page .product-details-top-info {
    justify-content: flex-start;
    padding: clamp(8px, 1.3vw, 20px) clamp(5px, 1.15vw, 17px) !important;
}

.modern-product-details-page .product-details-top-title {
    max-width: 720px;
    margin: 0 0 13px;
    color: var(--product-ink);
    font-size: clamp(20px, 1.55vw, 26px);
    font-weight: 800;
    line-height: 1.48;
    text-wrap: balance;
}

.modern-product-details-page .product-details-top-title::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    margin-block-start: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--web-primary), #58d98b);
}

.modern-product-details-page .product-details-brand-card {
    width: fit-content;
    min-height: 46px;
    margin-bottom: 10px;
    padding: 5px 11px !important;
    border: 1px solid var(--product-line) !important;
    border-radius: 12px !important;
    background: var(--product-soft) !important;
    box-shadow: none !important;
}

.modern-product-details-page .product-details-brand-card::before {
    display: none;
}

.modern-product-details-page .product-details-brand-logo {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 4px;
    border-radius: 9px !important;
}

.modern-product-details-page .product-details-brand-text {
    text-align: start;
}

.modern-product-details-page .product-details-brand-text small {
    color: var(--product-muted);
}

.modern-product-details-page .product-details-top-rating {
    margin-bottom: 12px !important;
    padding: 6px 10px;
    border-color: var(--product-line);
    border-radius: 999px !important;
    background: #fff;
}

.modern-product-details-page .product-details-top-form {
    gap: 13px !important;
}

.modern-product-details-page .product-details-top-price-card {
    display: flex;
    width: 100%;
    min-height: 62px;
    margin: 0;
    padding: 12px 15px;
    align-items: center;
    border: 1px solid color-mix(in srgb, var(--web-primary) 13%, #e5ece8);
    border-radius: 13px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--web-primary) 7%, #ffffff), #ffffff 75%);
}

.modern-product-details-page .product-details-top-price-row .discounted-unit-price {
    font-size: clamp(21px, 1.55vw, 26px) !important;
}

.modern-product-details-page .product-details-top-form > .position-relative,
.modern-product-details-page .product-details-top-form > .row {
    padding-block: 4px;
}

.modern-product-details-page .checkbox-color label,
.modern-product-details-page .checkbox-alphanumeric--style-1 label {
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.modern-product-details-page .checkbox-color label:hover,
.modern-product-details-page .checkbox-alphanumeric--style-1 label:hover {
    transform: translateY(-1px);
}

.modern-product-details-page .product-details-top-purchase {
    display: grid !important;
    grid-template-columns: minmax(165px, .75fr) minmax(230px, 1.25fr);
    gap: 12px !important;
    align-items: stretch;
}

.modern-product-details-page .product-details-top-purchase > .d-flex {
    min-height: 48px;
    padding: 4px 12px;
    justify-content: space-between;
    gap: 12px !important;
    border: 1px solid var(--product-line);
    border-radius: 12px;
    background: #fff;
}

.modern-product-details-page .product-details-top-info .quantity-box {
    width: 126px !important;
    height: 40px !important;
    border-radius: 9px !important;
}

.modern-product-details-page .product-details-top-total {
    padding: 0;
}

.modern-product-details-page .product-details-top-total > div {
    height: 100%;
    min-height: 48px;
    margin: 0 !important;
    padding: 10px 14px;
    border-color: color-mix(in srgb, var(--web-primary) 14%, #e3ebe7);
    border-radius: 12px;
    background: var(--product-soft);
}

.modern-product-details-page .product-details-top-total .product-details-chosen-price-amount {
    font-size: 18px !important;
}

.modern-product-details-page .product-add-and-buy-section-parent {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 2px;
}

.modern-product-details-page .product-add-and-buy-section {
    flex: 1 1 auto;
    gap: 10px !important;
}

.modern-product-details-page .product-add-and-buy-section .btn {
    flex: 1 1 0;
    min-height: 48px;
    padding: 11px 18px;
    border-radius: 11px !important;
    font-size: 13.5px;
    box-shadow: none;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.modern-product-details-page .product-add-and-buy-section .product-add-to-cart-button {
    background: linear-gradient(135deg, var(--web-primary), color-mix(in srgb, var(--web-primary) 72%, #55dc8b)) !important;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--web-primary) 18%, transparent);
}

.modern-product-details-page .product-add-and-buy-section .btn:hover {
    transform: translateY(-1px);
}

.modern-product-details-page .product-action-add-wishlist {
    min-width: 58px;
    min-height: 48px;
    border-color: var(--product-line) !important;
    border-radius: 11px !important;
    background: #fff;
}

.modern-product-details-page .product-details-overview-card {
    border-color: var(--product-line) !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 32px rgba(20, 54, 40, .055);
}

.modern-product-details-page .product-details-overview-card .nav--tabs {
    min-height: 62px;
    padding: 12px 16px 0;
    background: linear-gradient(180deg, var(--product-soft), #fff);
}

.modern-product-details-page .product-details-overview-card .nav-link {
    padding: 11px 18px !important;
    border-radius: 10px 10px 0 0 !important;
}

.modern-product-details-page .product-details-overview-card .tab-content {
    padding: 22px 24px 25px !important;
}

.modern-product-details-page .product-details-overview-card .p-details-description {
    color: #3e4a57 !important;
    font-size: 14px !important;
    line-height: 2;
}

.modern-product-details-page > .container > .row > .col-lg-3 {
    align-self: flex-start;
}

.modern-product-details-page .product-details-related-heading {
    margin-bottom: 10px;
    padding: 12px 13px !important;
    border: 1px solid var(--product-line);
    border-radius: 14px;
    background: linear-gradient(135deg, var(--product-soft), #fff);
}

.modern-product-details-page .product-details-related-list {
    gap: 9px;
    padding: 9px;
    border-color: var(--product-line);
    border-radius: 17px;
    box-shadow: 0 12px 30px rgba(20, 54, 40, .045);
}

.modern-product-details-page .product-details-mini-card {
    border-radius: 14px;
}

.modern-product-details-page .product-details-mini-card__content h3 {
    color: var(--product-ink);
}

.modern-product-details-page > .container + .container .__card {
    border: 1px solid var(--product-line) !important;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(20, 54, 40, .045);
}

@media (min-width: 992px) {
    .modern-product-details-page > .container > .row > .col-lg-3 {
        position: sticky;
        top: 112px;
    }
}

@media (max-width: 991.98px) {
    .modern-product-details-page {
        padding-block-end: 18px;
    }

    .modern-product-details-page .product-details-top-card {
        border-radius: 17px !important;
    }

    .modern-product-details-page .product-details-top-info {
        padding: 12px 8px 6px !important;
    }

    .modern-product-details-page .product-details-top-purchase {
        grid-template-columns: 1fr;
    }

    .modern-product-details-page .product-details-related-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .modern-product-details-page {
        padding-block: 1px 12px;
        background: linear-gradient(180deg, var(--product-soft), #fff 360px);
    }

    .modern-product-details-page > .container {
        margin-block-start: 9px !important;
        margin-block-end: 10px !important;
        padding-inline: 8px;
    }

    .modern-product-details-page > .container > .row {
        margin-inline: -5px;
        row-gap: 12px !important;
    }

    .modern-product-details-page > .container > .row > [class*="col-"] {
        padding-inline: 5px;
    }

    .modern-product-details-page > .container > .row > .col-lg-9 > .h-100 {
        gap: 12px !important;
    }

    .modern-product-details-page .product-details-top-card {
        padding: 7px !important;
        border-radius: 15px !important;
        box-shadow: 0 8px 24px rgba(20, 54, 40, .055);
    }

    .modern-product-details-page .product-details-top-card::before {
        inset-inline: 16px;
    }

    .modern-product-details-page .product-details-top-gallery {
        padding: 7px;
        border-radius: 13px;
    }

    .modern-product-details-page .product-details-top-gallery .quickviewSliderThumb2 .swiper-slide {
        width: 50px !important;
        height: 50px;
    }

    .modern-product-details-page .product-details-top-info {
        padding: 14px 9px 7px !important;
    }

    .modern-product-details-page .product-details-top-title {
        margin-bottom: 10px;
        font-size: 18px;
        line-height: 1.55;
    }

    .modern-product-details-page .product-details-top-title::after {
        width: 38px;
        margin-block-start: 8px;
    }

    .modern-product-details-page .product-details-brand-card {
        min-height: 42px;
        padding: 4px 9px !important;
        border-radius: 10px !important;
    }

    .modern-product-details-page .product-details-brand-logo {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .modern-product-details-page .product-details-top-price-card {
        min-height: 56px;
        padding: 10px 12px;
        border-radius: 11px;
    }

    .modern-product-details-page .product-details-top-purchase {
        gap: 9px !important;
    }

    .modern-product-details-page .product-details-top-purchase > .d-flex,
    .modern-product-details-page .product-details-top-total > div {
        min-height: 46px;
        border-radius: 10px;
    }

    .modern-product-details-page .product-add-and-buy-section-parent {
        gap: 7px;
    }

    .modern-product-details-page .product-add-and-buy-section {
        gap: 7px !important;
    }

    .modern-product-details-page .product-add-and-buy-section .btn {
        min-height: 46px;
        padding-inline: 10px;
        border-radius: 9px !important;
        font-size: 12.5px;
    }

    .modern-product-details-page .product-action-add-wishlist {
        min-width: 48px;
        min-height: 46px;
        border-radius: 9px !important;
    }

    .modern-product-details-page .product-details-overview-card {
        border-radius: 14px !important;
        box-shadow: 0 8px 22px rgba(20, 54, 40, .045);
    }

    .modern-product-details-page .product-details-overview-card .nav--tabs {
        min-height: 54px;
        padding: 9px 10px 0;
    }

    .modern-product-details-page .product-details-overview-card .tab-content {
        padding: 16px 14px 18px !important;
    }

    .modern-product-details-page .product-details-overview-card .p-details-description {
        font-size: 13px !important;
        line-height: 1.9;
    }

    .modern-product-details-page .product-details-related-heading {
        padding: 10px 11px !important;
        border-radius: 12px;
    }

    .modern-product-details-page .product-details-related-list {
        grid-template-columns: 1fr;
        padding: 7px;
        border-radius: 14px;
        box-shadow: none;
    }

    .product-details-sticky {
        border-top: 1px solid color-mix(in srgb, var(--web-primary) 12%, #e4eae7);
        background: rgba(255,255,255,.96);
        box-shadow: 0 -10px 28px rgba(18, 52, 38, .11);
        backdrop-filter: blur(12px);
    }
}

@media (max-width: 420px) {
    .modern-product-details-page .product-details-top-info {
        padding-inline: 7px !important;
    }

    .modern-product-details-page .product-details-top-title {
        font-size: 17px;
    }

    .modern-product-details-page .product-details-top-price-row .discounted-unit-price {
        font-size: 20px !important;
    }

    .modern-product-details-page .product-add-and-buy-section-parent {
        flex-wrap: wrap;
    }

    .modern-product-details-page .product-add-and-buy-section {
        width: 100%;
    }

    .modern-product-details-page .product-action-add-wishlist {
        flex: 0 0 48px;
    }
}

/* =============================================================
   3STORE — Product details lighter surfaces V12
   Removes nested-card feeling and fixes description clipping.
   ============================================================= */

.modern-product-details-page .product-details-top-gallery {
    padding: 4px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    box-shadow: none;
}

.modern-product-details-page .product-details-brand-card {
    min-height: 44px;
    margin-bottom: 9px;
    padding: 0 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.modern-product-details-page .product-details-brand-logo {
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    overflow: hidden;
    border-color: color-mix(in srgb, var(--web-primary) 8%, #edf1f2);
    box-shadow: none;
}

.modern-product-details-page .product-details-brand-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.modern-product-details-page .product-details-top-gallery .quickviewSliderThumb2 .swiper-slide img,
.modern-product-details-page .product-details-top-gallery .quickviewSliderThumb2 img,
.product-details-top-gallery .quickviewSliderThumb2 .swiper-slide img,
.product-details-top-gallery .quickviewSliderThumb2 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #fff;
}

.modern-product-details-page .product-details-top-price-card {
    display: block;
    width: auto;
    min-height: 0;
    margin: 1px 0 4px;
    padding: 3px 1px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.modern-product-details-page .product-details-top-price-row {
    position: relative;
    padding-inline-start: 11px;
}

.modern-product-details-page .product-details-top-price-row::before {
    content: "";
    position: absolute;
    inset-block: 3px;
    inset-inline-start: 0;
    width: 3px;
    border-radius: 999px;
    background: var(--web-primary);
}

.modern-product-details-page .product-details-top-purchase {
    padding: 9px 11px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--web-primary) 3.5%, #ffffff);
}

.modern-product-details-page .product-details-top-purchase > .d-flex {
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.modern-product-details-page .product-details-top-total > div {
    min-height: 44px;
    padding: 6px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.modern-product-details-page .product-details-top-info .quantity-box {
    border-color: color-mix(in srgb, var(--web-primary) 15%, #e1e8e4) !important;
    box-shadow: none;
}

.modern-product-details-page .product-details-overview-card .specification {
    width: 100%;
    margin-inline: 0 !important;
}

.modern-product-details-page .product-details-overview-card .p-details-description {
    width: 100%;
    max-width: 100%;
    padding-inline: 1px !important;
    overflow-wrap: anywhere;
}

.modern-product-details-page .product-details-overview-card .rich-editor-html-content > :first-child {
    margin-block-start: 0 !important;
}

@media (max-width: 767.98px) {
    .modern-product-details-page .product-details-top-gallery {
        padding: 2px;
        border-radius: 11px;
    }

    .modern-product-details-page .product-details-brand-card {
        min-height: 40px;
        padding-inline: 1px !important;
    }

    .modern-product-details-page .product-details-brand-logo {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .modern-product-details-page .product-details-top-purchase {
        padding: 8px 9px;
        border-radius: 10px;
    }

    .modern-product-details-page .product-details-top-purchase > .d-flex,
    .modern-product-details-page .product-details-top-total > div {
        min-height: 42px;
    }
}

/* =============================================================
   3STORE — Product title, price and gallery actions V13
   ============================================================= */

.modern-product-details-page .product-details-top-title {
    font-size: clamp(18px, 1.25vw, 22px);
    line-height: 1.45;
}

.modern-product-details-page .product-details-top-price-row {
    padding-inline-start: 0;
}

.modern-product-details-page .product-details-top-price-row::before {
    display: none;
}

.modern-product-details-page .product-details-top-gallery .share_btn,
.modern-product-details-page .product-details-top-gallery .wishList-pos-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px;
    min-height: 38px !important;
    max-width: 38px;
    max-height: 38px;
    padding: 0 !important;
    border-radius: 50% !important;
}

.modern-product-details-page .product-details-top-gallery .share_btn i,
.modern-product-details-page .product-details-top-gallery .wishList-pos-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin: 0;
    font-size: 17px !important;
    line-height: 1;
}

@media (min-width: 576px) {
    .modern-product-details-page .product-details-top-gallery .wishList-pos-btn {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .modern-product-details-page .product-details-top-title {
        font-size: 17px;
        line-height: 1.5;
    }

    .modern-product-details-page .product-details-top-gallery .share_btn,
    .modern-product-details-page .product-details-top-gallery .wishList-pos-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px;
        min-height: 36px !important;
        max-width: 36px;
        max-height: 36px;
    }
}

/* =============================================================
   3STORE — Thumbnail swiper arrows V14
   Hide flash on load; show only when thumbnails overflow.
   ============================================================= */

.modern-product-details-page .product-details-top-gallery .quickviewSliderThumb2 .swiper-button-next,
.modern-product-details-page .product-details-top-gallery .quickviewSliderThumb2 .swiper-button-prev {
    --size: 1.65rem;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    background: var(--web-primary) !important;
    color: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--web-primary) 22%, transparent);
    transform: scale(0.9) translateY(-50%);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.modern-product-details-page .product-details-top-gallery .quickviewSliderThumb2 .swiper-button-next.swiper-button-disabled,
.modern-product-details-page .product-details-top-gallery .quickviewSliderThumb2 .swiper-button-prev.swiper-button-disabled {
    display: none !important;
}

@media (hover: hover) {
    .modern-product-details-page .product-details-top-gallery .quickviewSliderThumb2.swiper-initialized:hover .swiper-button-next:not(.swiper-button-disabled),
    .modern-product-details-page .product-details-top-gallery .quickviewSliderThumb2.swiper-initialized:hover .swiper-button-prev:not(.swiper-button-disabled) {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: scale(1) translateY(-50%);
    }
}

html[dir="rtl"] .modern-product-details-page .product-details-top-gallery .quickviewSliderThumb2 .swiper-button-next::after,
html[dir="rtl"] .modern-product-details-page .product-details-top-gallery .quickviewSliderThumb2 .swiper-button-prev::after {
    transform: rotate(180deg);
}

/* =============================================================
   3STORE — Product brand warranty badge V15
   ============================================================= */

.modern-product-details-page .product-details-warranty-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: max-content;
    max-width: 100%;
    margin: 0 0 9px;
    padding: 6px 10px;
    gap: 6px;
    border: 1px solid color-mix(in srgb, var(--web-primary) 26%, transparent);
    border-radius: 9px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(120deg, color-mix(in srgb, var(--web-primary) 88%, #0b6f35) 0%, var(--web-primary) 48%, color-mix(in srgb, var(--web-primary) 68%, #59e593) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.modern-product-details-page .product-details-warranty-badge::after {
    position: absolute;
    z-index: 0;
    inset: -45% auto -45% -35%;
    width: 28%;
    content: '';
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .36), transparent);
    transform: translateX(-180%) skewX(-18deg);
    animation: warranty-shine 3s ease-in-out infinite;
}

.modern-product-details-page .product-details-warranty-badge > * {
    position: relative;
    z-index: 1;
}

@keyframes warranty-shine {
    0%, 58% {
        transform: translateX(-180%) skewX(-18deg);
        opacity: 0;
    }

    66% {
        opacity: 1;
    }

    88%, 100% {
        transform: translateX(620%) skewX(-18deg);
        opacity: 0;
    }
}

.modern-product-details-page .product-details-warranty-badge > i {
    flex: 0 0 auto;
    font-size: 13px;
}

.modern-product-details-page .product-details-warranty-unit {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .modern-product-details-page .product-details-warranty-badge::after {
        animation: none;
    }
}

@media (max-width: 767.98px) {
    .modern-product-details-page .product-details-warranty-badge {
        margin-bottom: 8px;
        padding: 5px 8px;
        gap: 5px;
        border-radius: 8px;
        font-size: 11px;
    }

    .modern-product-details-page .product-details-warranty-badge > i {
        font-size: 12px;
    }
}
