.product-info {
    border: 1px solid #F5F5F5;
    display: flex;
    gap: 16px;
    box-shadow: 0 12px 32px 0 #5959591A;
    border-radius: 12px;
}

.product-image-container {
    position: relative;
    display: flex;
    gap: 15px;
    padding: 10px;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.img-thumb-wrap {
    width: 390px;
    max-width: 100%;
}

.img-thumb-wrap img {
    width: 100%;
    cursor: pointer;
}

.main-product-image {
    width: 100%;
    height: auto;
}

@media (max-width: 640px) {
    .main-product-image {
        margin-bottom: 50px;
    }
}

.warranty-badge {
    position: absolute;
    top: 30px;
    right: 60px;
    background: #eee;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
}

.brand-img-wrap img {
    border: 1px solid #dcdcdc;
    padding: 2px 5px;
    border-radius: 6px;
}


@media (max-width: 640px) {
    .fastLabels {
        padding: 5px 8px;
        font-size: 10px;
    }
}

.product-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: none;
    z-index: 5;
}

.product-icons--desktop {
    display: flex;
}

.product-icons--mobile {
    display: none;
}

.product-icons .icon-btn {
    position: relative;
}

/* the tooltip "bubble" */
.product-icons .icon-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    /* anchor bubble's left edge to the center of the button */
    left: 50%;
    /* shift it way to the left and out of view (hidden) */
    transform: translateX(-133%) translateY(-8px);
    white-space: nowrap;

    font-weight: 400;
    font-size: 14px;
    line-height: 24px;

    background: #fff;
    color: #333;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 8px 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);

    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
    z-index: 10;
}

/* little "pointer" arrow as a CSS triangle */
.product-icons .icon-btn::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    /* match the bubble's X-shift */
    transform: translateX(-133%) translateY(-2px);
    border: 6px solid transparent;
    border-top-color: #fff;
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
}

/* show on hover/focus */
.product-icons .icon-btn:hover::after,
.product-icons .icon-btn:focus::after {
    opacity: 1;
    /* slide it down into view */
    transform: translateX(-133%) translateY(38px);
}

.product-icons .icon-btn:hover::before,
.product-icons .icon-btn:focus::before {
    opacity: 1;
}

.product-image-container .product-icons {
    position: static;
}

@media (min-width: 1000px) {
    .product-image-container .product-icons {
        position: absolute;
        top: 24px;
        right: 16px;
        align-items: flex-end;
    }
}

.icon-btn {
    cursor: pointer;
    background: #FFFFFF;
    border: 1px solid #F5F5F5;
    box-shadow: 0 0 20px 0 #5959590A;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    transition: .3s;
}

.product-gallery-thumbnails {
    display: flex;
    gap: 43px;
    margin-top: 10px;
}

.img-gallery-wrap {
    width: 72px;
    border-radius: 8px;
}

.product-gallery-thumbnails .thumbnail {
    width: 100%;
    height: 68px;
    object-fit: scale-down;
    cursor: pointer;
}

.product-rating-row {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.product-sidebar-id .price {
    display: flex;
    justify-content: flex-end;
    flex-direction: unset;
    align-items: center;
    gap: 5px;
}

.product-brands {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    align-items: center;
}

.brand-img-wrap {
    width: 70px;
    height: 30px;
}

.product-excerpt {
    background: #FBFBFB;
    border: 1px solid #F5F5F5;
    border-radius: 12px;
    padding: 10px;
    width: 100%;
    margin-right: -12px;
    margin-bottom: 15px;
}

.product-cart-col {
    width: 100%;
}

.shipping-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0px 0px 40px 0px #5959591F;
    border: 1px solid #F5F5F5;
}

.shipping-item {
    display: flex;
    align-items: center;
    padding: 12px 5px;
    background-color: #fff7f5;
    border-radius: 8px;
}

.shipping-item .icon {
    font-size: 18px;
    color: #0062FF;
}

.shipping-item .icon img {
    width: 20px;
    height: 20px;
}

.shipping-item span {
    font-size: 13px;
    font-weight: 600;
    line-height: 20.15px;
}

.guarantee-physical {
    background-color: #ECF9FF;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 20.15px;
    text-align: right;
    color: #3180E8;
    padding: 12px 5px;
    border-radius: 8px;
    margin-top: 9px;
}

.guarantee-physical-span {
    display: flex;
    gap: 10px;
}

.price-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-section .price-fields {
    width: 100%;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #003E7E;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
}

.add-to-cart {
    background-color: #0F9D58;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    transition: background-color .3s ease, color .3s ease, transform .2s ease;
}

.add-to-cart .nm-btn-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.cart-actions .cart-buttons .add-to-cart {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 10px 24px;
    border-radius: 8px;
    gap: 8px;
    font-size: 15px;
    white-space: nowrap;
}

.cart-actions .cart-buttons .add-to-cart svg {
    flex-shrink: 0;
}

.cart-actions .cart-buttons .add-to-cart .nm-btn-text {
    font-size: 16px;
    font-weight: 600;
}

.add-to-cart .nm-btn-loader {
    display: none;
    align-items: center;
    gap: 4px;
}

.add-to-cart .nm-btn-loader span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    opacity: 0.4;
    animation: nmAddToCartDot .7s ease-in-out infinite;
}

.add-to-cart .nm-btn-loader span:nth-child(2) {
    animation-delay: .15s;
}

.add-to-cart .nm-btn-loader span:nth-child(3) {
    animation-delay: .3s;
}

.add-to-cart--loading {
    background-color: #0C8A4E;
    color: #FFFFFF;
}

.add-to-cart--loading .nm-btn-loader {
    display: inline-flex;
}

.add-to-cart--loading .nm-btn-text {
    margin-right: 6px;
}

.add-to-cart--loading svg {
    display: none;
}

.add-to-cart--success {
    background-color: #E6F8ED;
    color: #0F9D58;
}

.add-to-cart--success svg {
    display: none;
}

.add-to-cart--success .nm-btn-text {
    font-weight: 700;
    animation: nmAddToCartReveal .3s ease;
}

@media (max-width: 640px) {
    .cart-actions .cart-buttons {
        gap: 10px;
    }

    .cart-actions .cart-buttons .quantity-control {
        flex-shrink: 0;
    }

    .cart-actions .cart-buttons .add-to-cart {
        flex: 1 1 auto;
        min-width: 0;
        padding-inline: 10px;
    }

    .cart-actions .cart-buttons .add-to-cart .nm-btn-text {
        white-space: normal;
        font-size: 13px;
        line-height: 1.4;
        text-align: center;
    }

    .cart-actions .cart-buttons .add-to-cart--success .nm-btn-text {
        font-size: 12px;
    }
}

@keyframes nmAddToCartDot {

    0%,
    80%,
    100% {
        opacity: 0.2;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

@keyframes nmAddToCartReveal {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.quantity-control {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background-color: #FFFFFF;
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    padding: 6px 10px;
    min-width: 116px;
    direction: ltr;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cart-buttons .quantity-control {
    flex: 0 0 auto;
}

.quantity-btn {
    border: 1px solid #E1E1E1;
    cursor: pointer;
    background: #FFFFFF;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    border-radius: 6px;
    width: 34px;
    height: 34px;
    color: #4F4F4F;
    font-weight: 600;
    font-size: 18px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.quantity-btn:hover {
    background: #F4F5F7;
    border-color: #D3D6DC;
}

.quantity-btn:active {
    background: #E9EBF0;
}

.quantity {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    color: #333333;
    min-width: 28px;
    display: inline-flex;
    justify-content: center;
}

.quantity-btn.is-trash {
    background: #FFF6F6;
    border-color: #FFD8D8;
    color: #D9534F;
}

.quantity-btn.is-trash:hover {
    background: #FFECEC;
}

.quantity-btn.is-trash svg {
    pointer-events: none;
}

.quantity-btn.is-trash svg path {
    stroke: currentColor;
}

@media (min-width: 1024px) {
    .cart-actions .cart-buttons {
        gap: 18px;
        align-items: center;
        justify-content: flex-start;
    }

    .cart-actions .cart-buttons .add-to-cart {
        order: -1;
        flex: 1 1 200px;
        min-width: 0;
        padding: 12px 32px;
        min-height: 50px;
        font-size: 15px;
        border-radius: 10px;
    }

    .cart-actions .cart-buttons .quantity-control {
        background-color: #F4F6FA;
        border: 1px solid #E0E6EE;
        border-radius: 10px;
        padding: 6px 12px;
        min-width: 126px;
        gap: 8px;
        transition: box-shadow 0.2s ease, transform 0.2s ease;
    }

    .cart-actions .cart-buttons .quantity-control:hover {
        box-shadow: 0 8px 22px rgba(19, 46, 77, 0.12);
        transform: translateY(-1px);
    }

    .cart-actions .cart-buttons .quantity {
        font-size: 16px;
        font-weight: 700;
        color: #1A1C21;
        min-width: 32px;
    }

    .cart-actions .cart-buttons .quantity-btn {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        border-color: #E0E6EE;
        background: #FFFFFF;
        font-size: 18px;
        color: #1A1C21;
        box-shadow: inset 0 1px 1px rgba(17, 24, 39, 0.05);
        transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .cart-actions .cart-buttons .quantity-btn:hover {
        background: #F8FAFC;
        border-color: #CBD6E3;
        color: #0F172A;
    }

    .cart-actions .cart-buttons .quantity-btn:active {
        background: #E7EDF6;
        border-color: #B6C4D6;
        box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
    }

    #nm-sticky-add-to-cart .cart-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 18px;
        margin-left: 0;
    }

    #nm-sticky-add-to-cart.is-in-cart .cart-buttons {
        justify-content: flex-start;
        margin-left: 0;
    }

    #nm-sticky-add-to-cart .nm-sticky-bar__button {
        order: -1;
        flex: 1 1 200px;
        min-width: 0;
        min-height: 50px;
        border-radius: 10px;
        padding: 12px 32px;
        font-size: 15px;
    }

    #nm-sticky-add-to-cart .sticky-quantity-control {
        min-width: 126px;
        padding: 6px 12px;
        gap: 8px;
        border-radius: 10px;
    }

    /* Desktop Add to Cart Feedback - Desktop Styles */
    .desktop-add-to-cart-feedback {
        display: block;
    }

    .desktop-add-to-cart-feedback .nm-sticky-bar__feedback {
        padding: 14px 18px;
        border-radius: 8px;
    }

    .desktop-add-to-cart-feedback .nm-sticky-bar__feedback-text {
        font-size: 14px;
    }

    .desktop-add-to-cart-feedback .nm-sticky-bar__view-cart {
        font-size: 14px;
    }
}

.warranty-section {
    background-color: #F0F4FF;
    border-radius: 8px;
    padding: 16px;
    width: 100%;
}

.warranty-title {
    font-size: 14px;
    font-weight: bold;
    color: #003E7E;
    margin-bottom: 8px;
}

.warranty-description {
    font-weight: 400;
    font-size: 13px;
    color: #606060;
    margin-bottom: 8px;
    margin-top: 12px;
}

.details-link {
    font-size: 13px;
    font-weight: 600;
    line-height: 20.15px;
    color: #042A54;
    display: flex;
    align-items: center;
}

.additional-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
    background-color: #F9FAFF;
    border-radius: 12px;
    border: 1px solid #F5F5F5;
    box-shadow: 0 12px 32px 0 #82828233;
    overflow: hidden;
}

.additional-info>* {
    margin: 0;
}

.additional-info .info-item-wrap {
    margin: 0 !important;
    border-radius: 0;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #E0E0E0;
}

.additional-info>.info-item-wrap:last-child,
.additional-info .info-popup-trigger:last-child .info-item-wrap {
    border-bottom: none;
}

.additional-info .info-popup-trigger {
    margin: 0;
}


.info-item-wrap {
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: #F9FAFF;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #F5F5F5;
    box-shadow: 0 12px 32px 0 #82828233;
}

.info-item-container {
    font-size: 18px;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: #F5F5F5;
    padding: 12px 5px;
    display: flex;
    justify-content: space-between;
}

.info-item-container .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-item-container .info-item span {
    font-size: 14px;
    font-weight: 700;
    line-height: 21.7px;
}

.item-wrapper-link {
    color: unset;
}

.product-details {
    width: 100%;
    padding: 24px 16px;
}

.nm-single-banner {
    margin-top: 16px;
    width: 100%;
    gap: 8px;
    display: flex;
    /*height: 100px;*/
}

.nm-single-banner img {
    width: 100%;
    /*height: 100%;*/
    object-fit: cover;
}

.remaining-time-container {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid #f8d7da;
    border-radius: 8px;
    margin-bottom: 12px;
    justify-content: space-around;
}

.time-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    margin-right: 10px;
    border-radius: 8px;
    background-color: #ffe4e6;
    color: #f5225a;
    font-size: 18px;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.icon img {
    width: 30px;
    height: 30px;
}

.text {
    color: #212529;
    font-size: 14px;
    font-weight: 600;
}

.product-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    width: 100%;
    margin: 20px 0;
}

.price-info {
    text-align: right;
}

.price-info .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    text-align: left;
}

.price-info .discounted-price {
    font-size: 20px;
    font-weight: bold;
    color: #f5225a;
}

.discount-badge {
    background-color: #f5225a;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    padding: 5px 10px;
    text-align: center;
}

.remaining-time-container.hide {
    display: none;
}

.cell-content:not(:last-child)::after {
    content: '،';
}

.vote-up.active path,
.vote-down.active path {
    fill: #007bff;
}

.variation-checkbox {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    cursor: pointer;
}

.variation-checkbox input[type="checkbox"] {
    margin-right: 10px;
}

.variation-checkbox:hover {
    border-color: #aaa;
}

.variation-checkbox input[type="checkbox"]:checked+span {
    font-weight: bold;
    color: #0073aa;
}

/* Modal container */
.shareModal-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.shareModal-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.shareModal-modal-content {
    color: #000000;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 349px;
    text-align: center;
    position: relative;
}

/* Close button */
.shareModal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* Copy Button */
.shareModal-copy-btn {
    padding: 10px 20px;
    border: 1px solid #828282;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.shareModal-copy-btn svg {
    width: 20px;
    margin-right: auto;
}

.shareModal-copy-btn:hover {
    background-color: #f0f0f0;
}

/*.variation-item > .variation-options {*/
/*    height: 0;*/
/*    overflow: hidden;*/
/*    transition: 0.5s;*/
/*}*/

.variation-item>.variation-options.show {
    /*height: max-content;*/
    /*overflow: unset;*/
    /*transition: 0.3s;*/
    margin-top: 14px;
}

.cart-actions {
    flex-direction: column;
}

.variation-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.img-gallery-wrap.more-images {
    position: relative;
    width: max-content;
    height: auto;
}

.img-gallery-wrap.more-images .dots-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(2px);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.st-product-info {
    display: flex;
    gap: 8px;
}

.product-card {
    position: sticky;
    top: 80px;
    z-index: 10;
    margin-top: 16px;
    width: 100%;
    background-color: #fff;
    border: 1px solid #F5F5F5;
    border-radius: 12px;
    box-shadow: 0 0 20px 0 #5959590A;
    padding: 9px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.product-card-header {
    display: flex;
    gap: 8px;
}

.product-card .img-thumb-wrap {
    width: 100px;
    height: auto;
}

.product-card-header h3 {
    color: #333;
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    margin: 0 0 12px 0;
}

.product-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-availability {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #0031A2;
}

.product-availability span {
    font-size: 12px;
    font-weight: 500;
    line-height: 18.6px;
    text-align: right;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 5px;
    flex-direction: row-reverse;
}

.product-price strong {
    font-size: 28px;
    color: #0031A2;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.add-to-cart-btn {
    background-color: #16A368;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0px 0px 20px 0px #5959590A;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 21.7px;
    text-align: center;
    width: 100%;
}

.add-to-cart-btn:hover {
    background-color: #218838;
}

.ctm-quantity-control {
    display: flex;
    align-items: center;
    background-color: #F5F5F5;
    border-radius: 8px;
    padding: 3px;
}

.variable h3 {
    font-size: 13px;
    font-weight: 600;
    line-height: 20.15px;
    text-align: start;
    color: #232323;
    margin-bottom: 8px;
}

.variable label {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 20.15px;
    color: #333333;
}


.variable .variable-item input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    width: 0px;
    height: 0px;
    background: #ffffff;
    /* display: inline-block; */
    /* position: relative; */
    cursor: pointer;
    /* box-shadow: 0 0 20px 0 #E0E0E0; */
    border-radius: 20%;
    /* margin-left: 10px; */
    /* border: 2px solid #E0E0E0; */
    transition: all 0.3s ease;
    visibility: hidden;
    opacity: 0;
}

.custom-checkbox:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #193d63;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.3s ease;
}

input[type="checkbox"]:checked+.custom-checkbox:after {
    opacity: 1;
    transition: all 0.3s ease;
}

.variable .variable-item {
    padding: 10px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    margin-bottom: 8px;
}

.ctm-quantity-control button {
    background-color: transparent;
    border: none;
    font-size: 20px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.ctm-quantity-control button:hover {
    color: #000;
}

.ctm-quantity-control span {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 5px;
}

.info-box-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid;
    border-radius: 12px;
    padding: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    border-color: #E0E0E0;
}

.info-box img {
    width: 40px;
    height: 40px;
}

.info-box span {
    font-size: 14px;
    color: #333;
}

.tab-container {
    width: 100%;
    background-color: #F5F5F5;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    justify-content: flex-start;
    margin-top: 48px;
}

.tabs {
    display: flex;
    gap: 10px;
}

.tab {
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    line-height: 20.15px;
}

.tab:hover {
    background-color: #f1f1f1;
}

.tab.active {
    background-color: #0031A2;
    color: #fff;
    border-color: #0031A2;
    font-weight: bold;
}

.tab-content {
    margin-top: 16px;
}

.tab-title {
    font-size: 16px;
    font-weight: bold;
    color: #0031A2;
    margin: 0;
    margin-bottom: 10px;
}

.specs-table {
    width: 100%;
    margin-bottom: 20px;
    border-spacing: 0 10px;
    position: relative;
}

.specs-table td {
    position: relative;
    padding: 15px 20px;
    text-align: right;
    vertical-align: middle;
    font-size: 14px;
    color: #555;
}

.specs-table tr td:nth-child(2)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: #E0E0E0;
    z-index: 1;
}

.specs-table tr:nth-child(even) td:nth-child(2) {
    background: #F5F5F5;
    z-index: 2;
}

.specs-table td {
    padding: 10px;
    font-size: 14px;
    color: #555;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.cell-content {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
}

.specs-table td:first-child {
    font-size: 16px;
    font-weight: 600;
    line-height: 24.8px;
    text-align: right;
    color: #333333;
    width: 30%;
}

.description-tab {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.specs-table-wrapper {
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    position: relative;
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #F5F5F5;
    border-radius: 12px;
    box-shadow: 0px 0px 20px 0px #5959590A;
    padding: 16px;
}

.description-tab {
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    position: relative;
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #F5F5F5;
    border-radius: 12px;
    box-shadow: 0 0 20px 0 #5959590A;
    padding: 16px;
}

.collapsible {
    padding-bottom: 64px;
}

.collapsible.expanded {
    padding-bottom: 24px;
}

.collapsible::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.collapsible.collapsed::before {
    opacity: 1;
}

.specs-table-wrapper.expanded,
.description-tab.expanded {
    max-height: none;
}

.show-more {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: calc(100% - 32px);
    border: none;
    font-size: 14px;
    color: #0031A2;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.3s ease;
    position: absolute;
    bottom: 16px;
    z-index: 5;
    right: 16px;
    background: transparent;
}

.show-more:hover {
    color: #00227a;
}

.show-more .arrow {
    font-size: 12px;
    margin-left: 5px;
    color: #0031A2;
}

.show-more:hover .arrow {
    color: #00227a;
}

.show-more::after {
    content: "";
    display: block;
    flex-grow: 1;
    height: 1px;
    background-color: #ddd;
    margin-right: 12px;
}

.comments-section {
    margin-top: 20px;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-title h3 {
    font-size: 20px;
    font-weight: 800;
    line-height: 20px;
    text-align: right;
    color: #000000;
    margin: 0;
}

.comments-count {
    background-color: #ECF2FF;
    border-radius: 4px;
    padding: 4px 8px;
    min-width: 75px;
    font-size: 14px;
    font-weight: 600;
    line-height: 21.7px;
    color: #0031A2;
}

.comments-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.depth-1-reply {
    margin-top: 16px;
    margin-right: 20px;
}

.depth-1-reply .comment-author {
    color: #333333;
}

.depth-2-reply {
    margin-top: 12px;
    margin-right: 35px;
    border-right: 1px solid #BDBDBD;
    padding-right: 15px;
}

.depth-2-reply .comment-author {
    color: #333333;
}

.rating-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #777;
}

.star-rating {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 16px;
    color: #FFD700;
}

.star.gray {
    color: #ccc;
}

.separator {
    font-size: 20px;
    color: #BDBDBD;
}

span.author-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 21.7px;
    color: #0031A2;
}

.comment-date {
    font-size: 14px;
    color: #777;
}

.comments-sort span {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #828282;
    display: flex;
    gap: 5px;
}

.reply-date span {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #828282;
}

.comments-sort a {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    color: #4F4F4F;
    margin: 0 2px;
}

.comments-sort a:hover {
    color: #F14A25;
}

.comments-sort a.active {
    font-size: 14px;
    font-weight: 700;
    line-height: 21.7px;
    color: #F14A25;
}

.comments-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-item {
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #F5F5F5;
    box-shadow: 0px 0px 20px 0px #5959590A;
    border-radius: 12px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-size: 16px;
    font-weight: 600;
    line-height: 24.8px;
    text-align: right;
    color: #0031A2;
}

.comment-date {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #828282;
}

.comment-body p {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #4F4F4F;
}

.comment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.comment-rating {
    display: flex;
    gap: 2px;
}

.comment-rating .star {
    font-size: 16px;
    color: #FFD700;
}

.comment-rating .star.gray {
    color: #ccc;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reply-link {
    font-size: 13px;
    font-weight: 500;
    line-height: 20.15px;
    text-align: center;
    color: #16A368;
    display: flex;
    gap: 5px;
}

.admin-reply {
    background-color: #F5F8FF;
    border: 1px solid #D8E4FF;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 16px;
    margin-right: 20px;
}

.reply-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 16px;
}

.reply-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #0031A2;
}

.author-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    object-fit: cover;
}

.reply-body {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.vote-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

button.vote-down.vc-like {
    padding-top: 4px;
}

.vote-actions button {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.vote-count {
    font-size: 14px;
    color: #333;
}

.review-summary {
    position: sticky;
    top: 60px;
    z-index: 10;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0px 0px 20px 0px #5959590A;
    border: 1px solid #F5F5F5;
    margin: auto;
}

.average-rating {
    display: flex;
    flex-direction: column;
    align-items: end;
    margin-bottom: 20px;
}

.rating-value {
    font-size: 48px;
    font-weight: bold;
    color: #E63946;
}

.stars {
    display: flex;
    gap: 5px;
}

.star {
    font-size: 20px;
    color: #FFD700;
}

.star.gray {
    color: #ddd;
}

.review-info {
    display: flex;
    justify-content: space-between;
}

.rating-distribution {
    margin-bottom: 20px;
    width: 100%;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.label {
    width: 20px;
    font-size: 14px;
    color: #555;
}

.bar {
    flex: 1;
    background-color: #eee;
    height: 8px;
    border-radius: 4px;
    margin-left: 10px;
    position: relative;
    overflow: hidden;
}

.bar .fill {
    height: 100%;
    background-color: #E63946;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
}

.review-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    color: #333333;
}

.add-review-btn {
    background-color: #0031A2;
    box-shadow: 0px 0px 20px 0px #5959590A;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

.add-review-btn:hover {
    background-color: #0052cc;
}

.cm-question-answer {
    margin-top: 30px;
}

.question-item {
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #F5F5F5;
    padding: 15px 20px;
    box-shadow: 0px 0px 20px 0px #5959590A;
    margin-bottom: 16px;
}

.question-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-direction: column;
}

.question-text {
    display: flex;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: right;
    color: #333333;
}

.question-text .icon {
    display: inline-block;
    background-color: #E8F0FE;
    color: #0031A2;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    margin-left: 5px;
}

.qa-reply-link {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: right;
    color: #0031A2;
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: left;
}

.qa-reply-link:hover {
    text-decoration: underline;
}

.answer {
    margin-top: 16px;
}

.answer-author {
    font-size: 12px;
    font-weight: 400;
    line-height: 18.6px;
    text-align: right;
    color: #4F4F4F;
}

.answer-text {
    color: #333333;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
}

.question-form {
    position: sticky;
    top: 60px;
    z-index: 10;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0px 0px 20px 0px #5959590A;
    border: 1px solid #F5F5F5;
    margin: auto;
    margin-top: 12px;
}

.form-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.question-textarea {
    width: 100%;
    height: 100px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    resize: none;
    box-sizing: border-box;
}

.question-textarea:focus {
    border-color: #0031A2;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 49, 162, 0.2);
}

.submit-question-btn {
    background-color: #0031A2;
    box-shadow: 0px 0px 20px 0px #5959590A;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

.submit-question-btn:hover {
    background-color: #0052cc;
}

.submit-question-btn .icon {
    display: inline-block;
    color: #0031A2;
    font-size: 14px;
    font-weight: bold;
    height: 20px;
    text-align: center;
    line-height: 20px;
}

.form-footer {
    font-size: 10px;
    color: #999;
    margin-top: 15px;
}

.nakhl-link {
    color: #e63946;
    text-decoration: none;
    font-weight: bold;
}

.nakhl-link:hover {
    text-decoration: underline;
}

.related-products {
    display: flex;
}

.related-products-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.related-products-container {
    overflow: hidden;
}

.product-item {
    text-align: center;
    width: 150px;
    margin: 0 auto;
}

.product-image {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 31px;
    text-align: right;
    color: #232323;
    margin-bottom: 0px;
}

.product-price {
    font-size: 14px;
    color: #555;
    font-weight: bold;
}

.checkbox {
    position: absolute;
    top: 24px;
    right: 24px;
}

.checkbox input[type="checkbox"] {
    display: none;
}

.checkbox label {
    width: 21px;
    height: 21px;
    border: 1px solid #BDBDBD;
    display: inline-block;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.checkbox input[type="checkbox"]:checked+label::after {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 51%;
    transform: translate(-51%, -50%);
    font-size: 13px;
    color: #fff;
    background-color: #0031A2;
    border-radius: 3px;
    width: 21px;
    height: 21px;
    text-align: center;
    line-height: 23px;
}

.total-section {
    display: flex;
    flex-direction: column;
    border: 1px solid #F5F5F5;
    box-shadow: 0 0 20px 0 #5959590A;
    width: 60%;
    justify-content: end;
    z-index: 17;
    height: max-content;
    margin-top: 261px;
    padding: 10px;
    border-radius: 12px;
}

.total-info .notice {
    font-size: 12px;
    font-weight: 400;
    line-height: 18.6px;
    text-align: right;
    color: #4F4F4F;
    display: flex;
    gap: 5px;
    padding: 5px;
}

.total-info {
    text-align: left;
    font-size: 14px;
    color: #333;
}

.total-info .total-price {
    font-weight: bold;
    color: #16A368;
}

.add-to-cart-btn-bundle {
    background-color: #16A368;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart-btn-bundle:hover {
    background-color: #0d7d54;
}

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    margin-top: 45px;
}

.modal-content img {
    width: 100%;
    height: auto;
    display: block;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.dropdown-content {
    display: inline-block;
}


.cart-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    direction: ltr;
    gap: 12px;
    width: 100%;
    position: relative;
    z-index: 1;
    flex-wrap: nowrap;
}

/* Desktop Add to Cart Feedback */
.desktop-add-to-cart-feedback {
    display: none;
    width: 100%;
}

.desktop-add-to-cart-feedback .nm-sticky-bar__feedback {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    background: #e6f6ee;
    border-radius: 6px;
    padding: 12px 14px;
    direction: rtl;
    width: 100%;
}

.desktop-add-to-cart-feedback .nm-sticky-bar__feedback-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.desktop-add-to-cart-feedback .nm-sticky-bar__feedback-text {
    font-weight: 700;
    color: #16a368;
    flex: 1;
    text-align: right;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.desktop-add-to-cart-feedback .nm-sticky-bar__view-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #4F4F4F;
    text-decoration: none;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.desktop-add-to-cart-feedback .nm-sticky-bar__view-cart:hover {
    color: #16a368;
}

.desktop-add-to-cart-feedback .nm-sticky-bar__view-cart svg {
    transform: scaleX(-1);
}

.desktop-add-to-cart-btn.is-hidden {
    display: none !important;
}

.variation-options .hiddenCheckbox {
    width: 0px;
    visibility: hidden;
    opacity: 0;
}

.price-fields-wrap {
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
    flex-direction: row-reverse;
    gap: 6px;
}

.price-fields-wrap .price {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: baseline;
    width: 100%;
}

.symbol_style {
    color: #4F4F4F;
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    text-align: right;
}

.cart-actions .variations {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin: 10px 0px 5px 0px;
}

.cart-actions .variations .variation-item {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    color: #333333;
}

.variation-dropdown {
    width: 100%;
    color: #232323;
    font-weight: 600;
    font-size: 13px;
    line-height: 100%;
    text-align: right;
    margin: 12px 0px;
    display: block;
}

.variation-dropdown:hover label {
    color: #003E7E;
}

.variation-label {
    border: 1px solid #E0E0E0;
    background: #FFFFFF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 8px 10px 8px 12px;
    border-radius: 8px;
    width: max-content;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
    font-size: 13px;
    line-height: 100%;
    text-align: right;
}

.variation-label:hover {
    border: 1px solid #F14A25;
    color: #F14A25;
}

.variation-label.active-variation {
    border: 1px solid #F14A25;
    color: #F14A25;
    display: flex;
    flex-direction: row-reverse;
}

svg.active-icon {
    margin-left: 8px;
}

.product-rating-row p {
    margin: 0;
}

.product-rating,
.product-qa,
.product-reviews {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: right;
    color: #333333;
    cursor: pointer;
}

.product-reviews span {
    color: #F14A25;
}

.product-qa span {
    color: #4F4F4F;
}

.variation-dropdown img {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.variation-dropdown img.rotated {
    transform: rotate(-90deg);
}


@media (min-width: 1200px) {
    .container {
        max-width: 1338px;
    }
}


/* Modal styling */
.pg-galleryModal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.pg-galleryModal-wrapper {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    max-width: 80%;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.pg-galleryModal-modal-content {
    position: relative;
}

.pg-gallery-images-container img {
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    object-fit: cover;
}

/* Main product image container */
.pg-product-gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: scroll;
}

.pg-img-gallery-wrap {
    cursor: pointer;
    padding: 5px;
    border: 1px solid #ccc;
}

.pg-thumbnail {
    max-width: 100px;
    height: auto;
    display: block;
}

/* Main product image */
.pg-main-product-image {
    max-width: 100%;
    height: auto;
}

.pg-head {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    border-bottom: 1px solid var(--primary-color);
    padding: 10px;
}

.pg-head h3 {
    margin: 0px;
}

.pg-galleryModal-close-btn {
    cursor: pointer;
}

.pg-gallery-wrap {
    display: flex;
}

.pg-all-images {
    width: 50%;
    display: flex;
    column-gap: 35px;
    row-gap: 5px;
    flex-wrap: wrap;
    height: max-content;
}

.pg-active-image {
    width: 50%;
    display: flex;
}

.pg-img-wrap {
    width: 120px;
    height: 120px;
    border: 2px solid #dcdcdc;
    padding: 10px 0px;
    border-radius: 9px;
    cursor: pointer;
}

.pg-img-wrap img {
    border-radius: 5px;
}

.pg-main-img-wrap {
    width: 100%;
    min-height: 300px;
    max-height: 300px;
    position: relative;
}

.pg-prev-btn,
.pg-next-btn {
    border: 2px solid #dcdcdc;
    border-radius: 100%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.pg-prev-btn:hover,
.pg-next-btn:hover {
    border: 2px solid var(--primary-color);
}

.pg-prev-btn {
    right: 0;
}

.pg-next-btn {
    left: 0;
}

.pg-product-title {
    margin: 20px 0px;
    font-size: 20px;
    font-weight: 700;
    text-align: right;
}

.img-thumb-wrap {
    position: relative;
    overflow: hidden;
}

.main-product-image {
    transition: transform 0.5s ease;
}

.img-thumb-wrap:hover .main-product-image {
    transform: scale(1.2);
}

.product-image-section {
    width: 100%;
}

.mobile-gallery-controls {
    display: none;
}

.mobile-gallery-controls--single .mobile-gallery-dots {
    display: none;
}

@media (max-width: 767px) {
    .img-thumb-wrap {
        width: 100%;
    }

    .mobile-gallery-controls {
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 4px;
        gap: 16px;
        direction: ltr;
        border-radius: 999px;
        z-index: 2;
    }

    .mobile-gallery-controls.mobile-gallery-controls--single {
        justify-content: flex-end;
    }

    .mobile-gallery-dots {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .mobile-gallery-dot {
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: #D9D9D9;
        transition: all 0.2s ease;
    }

    .mobile-gallery-dot.is-active {
        width: 20px;
        background: #4F4F4F;
    }

    .mobile-gallery-button {
        border: none;
        outline: none;
        background: #EEF3FF;
        color: #4F4F4F;
        font-weight: 600;
        font-size: 13px;
        line-height: 1;
        padding: 11px 20px;
        border-radius: 999px;
        cursor: pointer;
        transition: transform 0.1s ease, box-shadow 0.1s ease;
    }

    .mobile-gallery-button:active {
        transform: translateY(1px);
        box-shadow: 0 2px 8px rgba(0, 49, 162, 0.18);
    }
}

@media (max-width: 998px) {
    .img-thumb-wrap:hover .main-product-image {
        transform: unset;
    }

    .info-box-container {
        gap: 5px;
        padding: 20px 0;
    }

    /*    single page product*/
    .info-box-container {
        flex-wrap: wrap;
    }

    .mobile-remove-padding {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .tab-container {
        margin-top: 18px;
    }

    .product-info {
        flex-wrap: wrap;
        justify-content: center;
        background-color: white;

    }

    body {
        background-color: #fafafa !important;
    }

    .product-icons--desktop {
        display: none;
    }

    .product-icons--mobile {
        display: flex;
        flex-direction: row;
        margin-bottom: 15px;
        position: static;
        top: auto;
        right: auto;
        justify-content: flex-start;
        gap: 10px;
    }

    .warranty-badge {
        top: 17%;
        right: 5%;
    }

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

    .total-section {
        width: 100%;
    }

    .related-products {
        flex-direction: column;
    }

    .question-item {
        padding: 4px 0;
    }

    .info-box {
        min-width: unset;
        width: 49%;
    }

    .product-image-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product-rating-row {
        flex-direction: column;
        color: #333333;
        font-weight: 600;
        margin-top: 18px !important;
    }

    .product-brands p {
        margin: 0;
    }

    .product-brands {
        margin: 18px 0px;
    }

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

    .nm-single-banner img {
        width: 100%;
        /*height: 70px;*/
        object-fit: cover;
    }

    .nm-single-banner {
        margin: 8px 0px;
        width: 100%;
        height: 200PX;
        flex-direction: column;
        margin-bottom: 30px;
    }

    .price-section {
        align-items: unset;
    }

    .warranty-title {
        font-size: 16px;
    }

    .warranty-description {
        font-size: 13px;
        line-height: 22.4px;
    }

    .details-link {
        font-size: 13px;
        color: #042A54;
        font-weight: 600;
    }

    .specs-table-wrapper {
        padding: 10px;
    }

    .tabs {
        overflow: auto;
        padding: 8px 0;
    }

    .tab-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .description-tab h4 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .description-tab p {
        font-size: 14px;
        font-weight: 400;
        color: #4F4F4F;
        line-height: 24px;
    }

    .specs-table tr {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .description-tab {
        padding: 12px;
    }

    .specs-table td {
        padding: 4px 0px;
        padding-top: 20px;
        width: 100%;
    }

    .tab {
        padding: 8px 20px;
        font-weight: 700;
        white-space: nowrap;
    }

    .cell-content {
        padding: 0 10px;
    }

    .add-to-cart {
        width: 100%;
        padding: 12px 16px;
    }

    .total-info p {
        display: flex;
        justify-content: space-between;
        margin-bottom: 1rem;
    }

    .comments-header {
        flex-wrap: wrap;
        align-items: unset;
    }

    .comments-sort {
        margin: 1rem 0;
    }

    .comments-sort span {
        align-items: center;
        /*gap: unset;*/
    }

    .total-info .total-price {
        color: #0031A2;
    }

    .second-group {
        flex-direction: column-reverse;
    }

    .dropdown {
        position: relative;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        min-width: 160px;
        box-shadow: 0 8px 16px #5959590A;
        z-index: 1;
        background: #FFFFFF;

    }

    .dropdown a {
        text-decoration: none;
        color: #4F4F4F;
        padding: 10px;
        display: block;
    }

    .comments-sort a.active {
        color: #4F4F4F;
        font-weight: bold;
    }

    /*    slider   */
    .related-products-container .swiper-wrapper {
        /*display: flex;*/
        flex-direction: column;
        gap: 8px;
    }

    .related-products-container .product-item {
        position: relative;
        display: flex;
        width: unset;
        border: 1px solid #F5F5F5;
        border-radius: 12px;
        box-shadow: 0 0 20px 0 #5959590A;
        padding: 12px;
    }

    .related-products-container .product-item a {
        width: 91px;
        height: 91px;
    }

    .related-products-container .product-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .related-products-container .product-item .checkbox {
        position: absolute;
        top: 0;
    }

    .related-products-container .product-item .product-price {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: end;
    }

    .related-products-container .product-item .product-title {
        font-size: 14px;
        font-weight: 700;
        text-align: right;
        margin: 0;
    }

    .total-section {
        margin-top: 10px;
    }

    .comment-footer {
        flex-direction: column;
        align-items: unset;
    }

    .comment-actions {
        justify-content: space-between;
        margin-top: 5px;
    }

    .comment-author {
        color: #000000;
    }

    .admin-reply {
        margin-right: 0;
    }

    .depth-2-reply {
        margin-right: 0;
    }

    .third-group {
        flex-direction: column-reverse;
    }

    .pg-product-title {
        display: none;
    }

    .pg-prev-btn,
    .pg-next-btn {
        display: none;
    }

    .pg-gallery-wrap {
        display: flex;
        flex-direction: column;
        gap: 13px;
        flex-flow: column-reverse;
    }

    .pg-all-images {
        width: 100%;
        justify-content: center;
        gap: 5px;
        row-gap: 7px;
    }

    .pg-active-image {
        width: 100%;
        display: flex;
    }

    .pg-main-img-wrap {
        padding: unset;
    }

    .pg-galleryModal-wrapper {
        padding: 15px;
    }

    .pg-head {
        padding: 0px 0px 5px 0px;
    }

    .pg-main-img-wrap {
        width: 100%;
        min-height: max-content;
        position: relative;
        margin-top: 10px;
    }

    .pg-img-wrap {
        width: 70px;
        height: 70px;
        border: 2px solid #dcdcdc;
        padding: 10px 0px;
        border-radius: 9px;
        cursor: pointer;
    }

    .product-gallery-thumbnails {
        display: none;
        gap: unset;
        justify-content: center;
        margin-top: 10px;
        padding: 0px 20px;
        gap: 5px;
    }

    #nm-overlay {
        z-index: 18;
    }

    .review-modal {
        z-index: 2125;
    }
}

@media (min-width: 998px) {
    .dropdown-toggle {
        display: none;
    }
}

@media (max-width: 998px) {
    .dropdown-toggle {
        display: flex;
        align-items: center;
        background: #fff;
        border: unset;
        padding: 8px 12px;
        border-radius: 4px;
        cursor: pointer;
        box-shadow: 0px 0px 20px 0px #5959590A;
    }

    .dropdown-toggle .dropdown-label {
        margin-right: 8px;
        color: #4F4F4F;
        font-weight: 700;
        padding-left: 52px;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 4px;
        background: #fff;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
        border-radius: 4px;
        min-width: 140px;
        z-index: 10;
    }

    .dropdown-content.show {
        display: block;
    }

    .dropdown-content a {
        display: block;
        padding: 8px 12px;
        color: #4F4F4F;
        text-decoration: none;
    }

    .dropdown-content a.active {
        color: #F14A25;
        font-weight: 700;
    }
}

/* Modal Styles */
.review-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 450px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: none;
    z-index: 25;
}

.review-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

.review-modal-header .review-close-btn {
    cursor: pointer;
    font-size: 24px;
}

.review-modal-header h3 {
    margin: 0;
}

.review-modal-body {
    margin-top: 20px;
}

.review-rating {
    margin-bottom: 15px;
}

.emoji-rating {
    display: flex;
    justify-content: space-between;
}

.emoji {
    background: #F5F5F5;
    border-radius: 16px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.6s;
}

.emoji img {
    width: 40px;
    height: 40px;
    transition: 0.6s;
}

.review-rating-title {
    text-align: center;
}

.emoji-rating-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.review-comment {
    margin-bottom: 20px;
}

.review-comment textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
}

.review-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.review-buttons button {
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.positive-btn {
    background-color: #2ecc71;
    color: white;
}

.negative-btn {
    background-color: #e74c3c;
    color: white;
}

.user-info {
    margin-bottom: 15px;
}

.submit-review-btn {
    width: 100%;
    padding: 12px;
    background-color: #16A368;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0px 0px 20px 0px #5959590A;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.submit-review-btn:hover {
    background-color: #2980b9;
}

.review-modal-footer {
    margin-top: 20px;
    text-align: center;
}

#comment-reply-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

#comment-reply-modal>div {
    background: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.review-post {
    border: 1px solid #F5F5F5;
    box-shadow: 0px 0px 20px 0px #5959590A;
    padding: 12px;
    border-radius: 12px;
    width: 100%;
    margin-top: 30px;
}

.review-post h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    color: #F14A25;
    margin: 0 0 12px;
}

.review-post form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-post form input,
.review-post form textarea {
    border: 1px solid #BDBDBD;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    text-align: right;
    color: #BDBDBD;
    font-family: 'YekanBakhFaNum';
}

.review-post button {
    padding: 12px;
    background: #0031A2;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #FFFFFF;
    border: none;
}

#comment-reply-modal>div {
    display: flex;
    flex-direction: column;
    width: 370px;
}

.info-item-container .info-item p {
    margin: 0px;
}

.product-nav-buttons {
    position: absolute;
    z-index: 10;
    top: 45%;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

button.product-nav-btn.next-btn,
button.product-nav-btn.prev-btn {
    background: none;
    outline: none;
    border: none;
}

/* 1. Change SVG color when the button is disabled */
.product-nav-btn[disabled] svg path {
    stroke: #ccc !important;
    /* Gray stroke if disabled */
}

.out-of-stock-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    background: #f3f3f3;
    padding: 10px;
    border-radius: 10px;
}

.out-of-stock-wrapper button.out-of-stock-button {
    background-color: var(--secondary-color);
    padding: 12px;
    border-radius: 8px;
    border: none;
    color: white;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    font-size: 11px;
    cursor: pointer;
}

.out-of-stock-wrapper button.out-of-stock-button:hover {
    background-color: #fa2e00;
}

.out-of-stock-wrapper button.out-of-stock-button.added {
    background-color: white;
    border: 1px solid #fa2e00;
    color: #fa2e00;
}

.out-of-stock-wrapper button.out-of-stock-button.added svg path {
    stroke: #fa2e00;
}

.out-of-stock-wrapper .out-of-stock-message {
    font-size: 11px;
    text-align: center;
    color: #333;
    font-weight: 600;
}

button.icon-btn.notification-icon:hover {
    background-color: #e7ff0047;
}

button.icon-btn.notification-icon:hover svg path {
    stroke: black;
}

button.icon-btn.notification-icon.added {
    background-color: #e7ff0047;
}

button.icon-btn.notification-icon.added svg path {
    stroke: black;
}

.show-stock {
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    text-align: right;
}

/* Button Styling */
.av-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 10px;
    background-color: #002B5B;
    color: white;
    padding: 10px 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 32px;
    font-weight: 600;
    font-size: 11px;
    line-height: 100%;
}

/* Hover Effect */
.av-button:hover {
    background-color: #001F40;
}

/* Checkbox Container */
.av-checkbox-container {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Hide Default Checkbox */
.av-checkbox-container input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom Checkbox */
.av-custom-checkbox {
    width: 16px;
    height: 17px;
    border: 2px solid white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Checkbox Checked State */
.av-checkbox-container input:checked+.av-custom-checkbox {
    background-color: white;
    border-color: white;
    position: relative;
}

/* Checkmark */
.av-checkbox-container input:checked+.av-custom-checkbox::after {
    content: '✔';
    font-size: 14px;
    color: #002B5B;
    font-weight: bold;
}

.av_price_wrap {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: flex-end;
    margin-top: 12px;
}

.av_price_wrap p {
    margin: 0;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 700;
}

.disabled-variation {
    opacity: 0.5;
}

.nm-form-game-select {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 35px;
    margin-top: 10px;
}

.nm-form-game-popup {
    font-weight: 700;
    font-size: 14px;
    color: #0031A2;
    background: none;
    padding: 8px;
    border: 1px solid #0031A2;
    box-shadow: 0px 4px 16px 0px #0031A214;
    border-radius: 8px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
}

.nm-form-game-popup:after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="7" height="10" viewBox="0 0 7 10" fill="none"><path d="M5.16683 8.33317L1.8335 4.99984L5.16683 1.6665" stroke="%230031A2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.nm-form-popup-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    background: #FFFFFF;
    max-width: 640px;
    transform: translateX(-50%) translateY(-50%);
    padding: 16px;
    z-index: 1002;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.nm-form-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.nm-form-popup-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    background: #BDBDBD4D;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.nm-form-popup-bg.show {
    opacity: 1;
    visibility: visible;
}

.nm-form-popup-head h3 {
    margin: 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    color: #333333;
}

.nm-form-popup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nm-form-close-btn {
    background: unset;
    border: none;
    padding: 0;
    display: flex;
    cursor: pointer;
}

.nm-form-popup-head {
    padding: 12px;
    background: #F5F5F5;
    border-radius: 8px;
    margin-bottom: 16px;
}

.nm-form-popup-input h4,
.nm-form-popup-textarea h4 {
    margin: 0 0 12px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    color: #333333;
}

.nm-form-popup-textarea h4 {
    text-align: right;
}

.nm-form-popup-input textarea {
    width: 100%;
    border: 1px solid #BDBDBD;
    border-radius: 8px;
    height: 139px;
    resize: none;
    padding: 16px;
}

.nm-form-popup-textarea textarea {
    width: 100%;
    border: 1px solid #BDBDBD;
    border-radius: 8px;
    height: 139px;
    resize: none;
    padding: 8px;
}

.nm-form-popup-textarea {
    margin-top: 16px;
}

.nm-form-popup-submit {
    margin-top: 16px;
    text-align: center;
}

.nm-form-popup-submit button {
    font-weight: 700;
    font-size: 14px;
    color: #FFFFFF;
    text-align: center;
    padding: 11px;
    min-width: 200px;
    background: #0031A2;
    box-shadow: 0px 0px 20px 0px #5959590A;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.nm-form-game-select-done {
    padding: 8px;
    width: 100%;
    border: 1px solid #16A368;
    color: #16A368;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nm-form-game-select-done {
    display: none;
}

.nm-form-game-select-done:before {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none"><path d="M11.5 7.33333L8.16667 10.6667L6.5 9M9 16.5C4.85786 16.5 1.5 13.1421 1.5 9C1.5 4.85786 4.85786 1.5 9 1.5C13.1421 1.5 16.5 4.85786 16.5 9C16.5 13.1421 13.1421 16.5 9 16.5Z" stroke="%2316A368" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    margin-bottom: -7px;
}

.price-section .price {
    display: flex;
    justify-content: flex-end;
    flex-direction: unset;
    align-items: center !important;
    gap: 5px !important;
}

@media (max-width: 576px) {

    .cart-actions .cart-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        flex-wrap: wrap;
    }

    .cart-actions .cart-buttons .quantity-control {
        width: 100%;
        justify-content: space-between;
        flex: 1 1 auto;
    }

    .cart-actions .cart-buttons .add-to-cart {
        width: 100%;
    }

    .nm-form-popup-input textarea,
    .nm-form-popup-textarea textarea {
        height: 110px;
    }

    .info-box-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        background: white;
        padding: 20px;
        margin-bottom: 16px;
    }

    .product-excerpt {
        background: white !important;
        border: 1px solid #F5F5F5;
        border-radius: 12px;
        padding: 10px;
        width: 100%;
        margin-right: unset;
        margin-bottom: 15px;
    }

    .info-box {
        width: 100%;
    }
}

/*@media (max-width: 991.2px) {*/
/*    .product-card {*/
/*        display: none;*/
/*    }*/
/*}*/

.woocommerce-notices-wrapper {
    display: none;
}

.nm-dropdown-content {
    display: none;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}

.info-item-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.arrow-icon.rotate {
    transform: rotate(-90deg);
}

#global-info-popup {
    display: none;
}

.info-popup-modal {
    /*display: none;*/
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-popup-modal {
    /*display: none;*/
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-popup-content {
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.add-to-cart.fake-disabled {
    pointer-events: auto;
    /* allow click */
}

span.card-coming-soon {
    padding: 8px 0px;
}

.qanda-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
}

.qanda-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.qanda-modal-content {
    position: relative;
    width: 90%;
    max-width: 400px;
    margin: 10% auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.qanda-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.qanda-modal-content textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
    margin: 10px 0px 0px;
}

.qanda-modal-content textarea.error {
    border: 1px solid red;
}

.qanda-modal-content .error-text {
    color: red;
    font-size: 0.9em;
    margin-top: -8px;
    margin-bottom: 8px;
}

#qandaModalSubmit {
    width: 100%;
    padding: 12px;
    background-color: #16A368;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0px 0px 20px 0px #5959590A;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

/* Error state on each variation option */
.variation-label.select-variation-error {
    position: relative;
    z-index: 1;
}

/* Inner pulse ring */
.variation-label.select-variation-error::before {
    content: '';
    pointer-events: none;
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    border: 2px solid rgba(241, 74, 37, 0.7);
    border-radius: 6px;
    animation: pulse-error-inner 1.2s ease-out infinite;
}

/* Outer pulse ring */
.variation-label.select-variation-error::after {
    content: '';
    pointer-events: none;
    position: absolute;
    top: -3px;
    right: -3px;
    bottom: -3px;
    left: -3px;
    border: 1px solid rgba(241, 74, 37, 0.4);
    border-radius: 8px;
    animation: pulse-error-outer 1.8s ease-out infinite;
}

/* Pulse keyframes */
@keyframes pulse-error-inner {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes pulse-error-outer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Your existing warning message */
.variation-warning {
    color: #F14A25;
    font-weight: bold;
    /* margin-top: 0.5rem; */
    font-size: 13px;
    padding: 5px 9px;
    background: #fff7f5;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #F5F5F5;
    box-shadow: 0px 0px 20px 0px #8282821F;
}

.free-shipping {
    display: flex;
    border: 2.2px dashed var(--primary-color);
    padding: 11px 18px;
    border-radius: 8px;
    position: relative;
    align-items: center;
}


.free-shipping span {
    margin-inline: 6px;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-color);
}

.icon-text-free-shipping {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}

.free-shipping .icon-free-shipping {
    display: flex;
}

@media (max-width: 768px) {
    .qanda-modal-content {
        margin: 50% auto;
    }
}

.nm-sticky-bar {
    display: none;
}

@media (max-width: 991px) {
    .nm-sticky-bar__price .discount-badge {
        display: none;
    }

    .nm-sticky-bar__price .product-pricing {
        flex-direction: unset;
        margin: unset;
    }

    .product-card.product-sidebar-id {
        display: none;
    }

    .nm-sticky-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        z-index: 22;
    }

    .nm-sticky-bar {
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
        overflow: visible;
    }

    .nm-sticky-bar__inner {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 16px 20px 24px;
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0px 0px 45px 20px #5959591A;
    }


    .nm-sticky-bar__header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
        width: 100%;
        direction: ltr;
    }

    #nm-sticky-add-to-cart .cart-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
    }

    #nm-sticky-add-to-cart.is-in-cart .cart-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        flex: 0 0 auto;
        width: auto;
        margin-left: 0;
    }

    .nm-sticky-bar__title {
        font-weight: 600;
        font-size: 12px;
        line-height: 1.4;
        color: #7b7f87;
        text-align: left;
        direction: rtl;
        width: 100%;
        display: none;
    }

    #nm-sticky-add-to-cart .sticky-quantity-control {
        display: none;
        flex-direction: row-reverse;
        min-width: 120px;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: #F4F6FA;
        border: 1px solid #E0E6EE;
        border-radius: 12px;
        padding: 6px 12px;
        direction: ltr;
        transition: box-shadow 0.2s ease, transform 0.2s ease;
    }

    #nm-sticky-add-to-cart .sticky-quantity-control.is-active {
        display: flex;
    }

    #nm-sticky-add-to-cart .sticky-quantity-control:hover {
        box-shadow: 0 8px 22px rgba(19, 46, 77, 0.12);
        transform: translateY(-1px);
    }

    #nm-sticky-add-to-cart .sticky-quantity-control .quantity-btn {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        background: #FFFFFF;
        border: 1px solid #E0E6EE;
        font-size: 18px;
        font-weight: 700;
        color: #1A1C21;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    #nm-sticky-add-to-cart .sticky-quantity-control .quantity-btn.is-trash {
        border-color: #E0E6EE;
        background: #FFFFFF;
        color: #7B7F87;
    }

    #nm-sticky-add-to-cart .sticky-quantity-control .quantity-btn.is-trash svg {
        width: 16px;
        height: 16px;
    }

    #nm-sticky-add-to-cart .sticky-quantity-control .quantity-btn.is-trash svg path {
        stroke: #8F96A3;
    }

    #nm-sticky-add-to-cart .sticky-quantity-control .quantity-btn:hover {
        background: #F8FAFC;
        border-color: #CBD6E3;
        color: #0F172A;
    }

    #nm-sticky-add-to-cart .sticky-quantity-control .quantity-btn:active {
        background: #E7EDF6;
        border-color: #B6C4D6;
    }

    #nm-sticky-add-to-cart .sticky-quantity-control .quantity {
        font-weight: 700;
        font-size: 17px;
        color: #1A1C21;
        min-width: 36px;
    }

    #nm-sticky-add-to-cart .nm-sticky-bar__title {
        margin: 0;
    }

    #nm-sticky-add-to-cart .price {
        display: flex;
        justify-content: flex-end;
        flex-direction: unset;
        align-items: flex-end;
        align-items: center;
        gap: 6px;
    }

    .nm-sticky-bar__price {
        font-size: 1.125rem;
        font-weight: 800;
        color: #E6315B;
        text-align: left;
        direction: ltr;
        width: 100%;
    }

    .nm-sticky-price {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        direction: ltr;
        width: 100%;
        gap: 8px;
    }

    .nm-sticky-price__numbers {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        text-align: left;
        gap: 4px;
        direction: rtl;
        flex: 1 1 auto;
        margin-right: 0;
    }

    .nm-sticky-price__regular {
        font-size: 13px;
        color: #8b9099;
        text-decoration: line-through;
        font-weight: 600;
    }

    .nm-sticky-price__current {
        font-size: 20px;
        font-weight: 800;
        color: #E6315B;
        line-height: 1.2;
    }

    .nm-sticky-price__badge {
        background: #E6315B;
        color: #ffffff;
        font-size: 12px;
        font-weight: 800;
        padding: 6px 10px;
        border-radius: 6px;
        min-width: 48px;
        text-align: center;
        margin-left: auto;
        position: static;
        flex: 0 0 auto;
    }

    .nm-sticky-price:not(.has-discount) .nm-sticky-price__badge {
        display: none;
    }

    .nm-sticky-price__numbers .symbol_style {
        font-size: 13px;
    }

    .nm-sticky-bar__alert {
        position: absolute;
        left: 50%;
        top: -50px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border-radius: 16px;
        color: #ffffff;
        background: #0031A2;
        padding: 12px 18px;
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, -12px);
        box-shadow: 0 12px 24px rgba(0, 49, 162, 0.25);
        min-width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .nm-sticky-bar__alert.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    .nm-sticky-bar__alert-text {
        flex: 1;
        font-weight: 700;
        font-size: 13px;
        line-height: 1.6;
        direction: rtl;
    }

    .nm-sticky-bar__alert-close {
        background: transparent;
        border: none;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: inherit;
        order: 2;
    }

    .nm-sticky-bar__alert-close svg path {
        stroke: currentColor;
    }

    .nm-sticky-bar__alert-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        order: -1;
    }

    .nm-sticky-bar__button {
        background: #16a368;
        color: #fff;
        border: none;
        font-weight: 800;
        font-size: 14px;
        line-height: 1;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px;
        width: 100%;
        box-shadow: 0 6px 18px rgba(22, 163, 104, 0.24);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .nm-sticky-bar__button svg path {
        stroke: #ffffff;
    }

    .nm-sticky-bar__button:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(22, 163, 104, 0.3);
    }

    .nm-sticky-bar__button span {
        font-weight: inherit;
    }

    .nm-sticky-bar__footer {
        display: flex;
        flex-direction: column;
        gap: 12px;
        direction: ltr;
        align-items: stretch;
    }

    #nm-sticky-add-to-cart.is-in-cart .nm-sticky-bar__footer {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        justify-content: space-between;
        direction: ltr;
    }

    .nm-sticky-bar__feedback {
        display: none;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        background: #e6f6ee;
        border-radius: 6px;
        padding: 12px 14px;
        direction: rtl;
    }

    #nm-sticky-add-to-cart.is-in-cart .nm-sticky-bar__feedback {
        display: flex;
        flex: 1 1 auto;
    }

    .nm-sticky-bar__feedback-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nm-sticky-bar__feedback-text {
        font-weight: 700;
        color: #16a368;
        flex: 1;
        text-align: right;
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nm-sticky-bar__view-cart {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        font-weight: 700;
        color: #4F4F4F;
        text-decoration: none;
    }

    .nm-sticky-bar__view-cart svg {
        transform: scaleX(-1);
    }

    #nm-sticky-add-to-cart.is-in-cart .nm-sticky-bar__button {
        display: none;
    }

    #nm-sticky-add-to-cart.is-in-cart .sticky-quantity-control.is-active {
        flex: 1;
    }

    .nm-sticky-bar__button.is-hidden {
        display: none;
    }

    #nm-sticky-add-btn.in-cart {
        width: auto;
        padding-inline: 16px;
    }

    .product-pricing {
        margin-top: 0;
    }

    .cart-actions .cart-buttons {
        gap: 16px;
    }

    .cart-actions .cart-buttons {
        display: none;
    }

    /* Hide desktop feedback on mobile */
    .desktop-add-to-cart-feedback {
        display: none !important;
    }

    .tab-content .product-card {
        margin-bottom: 16px;
    }

    .collapsible {
        padding-bottom: 56px;
    }

    .collapsible.expanded {
        padding-bottom: 20px;
    }

    .collapsible::before {
        height: 96px;
    }

    .show-more {
        width: calc(100% - 24px);
        right: 12px;
        bottom: 12px;
        padding: 6px 0 !important;
    }

    .review-post {
        border: none;
        background: unset;
        box-shadow: unset;
        margin-top: 0;
    }

    #comment-reply-modal>div {
        padding: 10px;
    }

    #comment-reply-close-modal {
        z-index: 99;
    }
}

/* ==========================================
   Snapp Pay Installment Widget Styles
   ========================================== */
.snapp-pay-widget {
    margin-top: 16px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.snapp-pay-content {
    background: #EDF6FF;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    isolation: isolate;
}



@keyframes rotatingBorder {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 300% center;
    }
}

.snapp-pay-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.snapp-pay-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.snapp-pay-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.snapp-pay-title {
    font-size: 14px;
    font-weight: 800;
    color: #017EFC;
    line-height: 1.4;
    text-align: right;
}

.snapp-pay-details {
    font-size: 13px;
    font-weight: 700;
    color: #333333;
    line-height: 1.5;
    text-align: right;
}

.snapp-pay-details .installment-count {
    font-weight: 600;
    color: #333333;
}

.snapp-pay-details .installment-amount {
    font-weight: 800;
    color: #017EFC;
    font-size: 15px;
}

.snapp-pay-details .installment-currency {
    font-weight: 700;
    color: #333333;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .snapp-pay-content {
        padding: 10px;
        gap: 10px;
    }

    .snapp-pay-logo img {
        width: 48px;
        height: 48px;
    }

    .snapp-pay-title {
        font-size: 13px;
    }

    .snapp-pay-details {
        font-size: 12px;
    }

    .snapp-pay-details .installment-amount {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .snapp-pay-content {
        padding: 8px;
        gap: 8px;
    }

    .snapp-pay-logo img {
        width: 48px;
        height: 48px;
    }

    .snapp-pay-title {
        font-size: 12px;
    }

    .snapp-pay-details {
        font-size: 11px;
    }

    .snapp-pay-details .installment-amount {
        font-size: 11px;
    }
}

.nm-bundle-overlay[hidden],
.nm-bundle-modal[hidden],
.nm-bundle-drawer[hidden] {
    display: none !important;
}

.nm-bundle-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 31, 58, 0.55);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 1200;
    pointer-events: none;
}

.nm-bundle-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.nm-bundle-modal,
.nm-bundle-drawer {
    position: fixed;
    z-index: 1201;
}

.nm-bundle-modal {
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nm-bundle-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.nm-bundle-modal__inner {
    background: #ffffff;
    border-radius: 18px;
    max-width: 680px;
    width: min(680px, 100%);
    max-height: 80vh;
    box-shadow: 0 24px 60px rgba(20, 44, 87, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(-16px);
    transition: transform 0.3s ease;
}

.nm-bundle-modal.is-visible .nm-bundle-modal__inner {
    transform: translateY(0);
}

.nm-bundle-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px 16px;
}

.nm-bundle-modal__title {
    margin: 0;
    flex: 1;
    font-size: 22px;
    font-weight: 700;
    color: #173a6c;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.nm-bundle-modal__content {
    padding: 0 28px 28px;
    overflow: auto;
    font-size: 15px;
    line-height: 1.8;
    color: #3a4f6f;
}

.nm-bundle-drawer {
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.nm-bundle-drawer.is-visible {
    transform: translateY(0);
    pointer-events: auto;
}

.nm-bundle-drawer__inner {
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -20px 40px rgba(20, 44, 87, 0.15);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nm-bundle-drawer__header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(15, 101, 255, 0.08);
}

.nm-bundle-drawer__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #173a6c;
    flex: 1;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.nm-bundle-drawer__content {
    padding: 0 24px 28px;
    overflow: auto;
    font-size: 15px;
    line-height: 1.8;
    color: #3a4f6f;
}

.nm-bundle-close {
    background: transparent;
    border: none;
    color: #7486a5;
    font-size: 22px;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    transition: color 0.2s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nm-bundle-close:hover {
    color: #0f65ff;
}

html.nm-bundle-scroll-locked {
    scroll-behavior: auto !important;
}

html.nm-bundle-scroll-locked body {
    overscroll-behavior: contain;
}

body.nm-bundle-locked {
    overflow: hidden;
}

@media (max-width: 991px) {
    .nm-bundle-modal {
        padding: 16px;
    }

    .nm-bundle-modal__inner {
        max-width: 90vw;
    }
}

@media (min-width: 992px) {
    .nm-bundle-drawer {
        display: none;
    }
}

/* Floating Chat Button for Mobile Single Product Pages */
.nm-floating-chat-button {
    display: none;
}

@media (max-width: 991px) {
    .nm-floating-chat-button {
        display: block;
        position: fixed;
        left: 0;
        bottom: 38%;
        z-index: 998;
        overflow: hidden;
    }

    .nm-floating-chat-link {
        display: flex;
        align-items: center;
        gap: 8px;
        background: linear-gradient(180deg, #148A59 0%, #16A368 100%);
        border-radius: 0 32px 32px 0;
        padding: 10px 12px;
        padding-right: 12px;
        position: relative;
        overflow: hidden;
        width: 50px;
        transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
    }

    .nm-floating-chat-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,
                transparent 0%,
                rgba(255, 255, 255, 0.3) 50%,
                transparent 100%);
        animation: nm-chat-shimmer-effect 2s ease-in-out infinite;
        z-index: 1;
        pointer-events: none;
    }

    .nm-floating-chat-link.expanded {
        width: 160px;
    }

    .nm-floating-chat-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nm-floating-chat-icon svg {
        width: 100%;
        height: 100%;
    }

    .nm-floating-chat-text {
        color: white;
        font-size: 14px;
        font-weight: 700;
        white-space: nowrap;
        opacity: 0;
        transform: translateX(-10px);
        transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
        position: relative;
        z-index: 2;
    }

    .nm-floating-chat-link.expanded .nm-floating-chat-text {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes nm-chat-shimmer-effect {
    0% {
        left: -100%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}