.variantTypeLabel {
    color: #212529;
    font-size: 1rem;
    font-weight: 500
}

.product-details {
    padding-top: 9rem
}

.variant-picker {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    margin: 18px 0 0
}

.variant-btn {
    border: 1.5px solid #dee2e6;
    background: #fff;
    color: #212529;
    font-weight: 500;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: border-color .2s, color .2s;
    min-width: 80px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    white-space: nowrap
}

.variant-btn.active {
    border-color: #dc3545;
    color: #dc3545;
    outline: 0
}

.variant-btn .color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color .2s;
}

.variant-btn.has-color {
    padding: 10px 14px;
}

.variant-btn .variant-text {
    display: inline-block;
}

@media (max-width:991px) {
    .variantTypeLabel {
        font-size: .875rem
    }
}

.breadcrumb-container {
    background: #fff;
    padding: 10px 0;
    border-radius: 0;
    box-shadow: none;
}

.custom-breadcrumb {
    background: 0 0;
    padding: 8px 0;
    margin-bottom: 0;
    font-size: 12px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap
}

.custom-breadcrumb::-webkit-scrollbar,
.custom-list::-webkit-scrollbar {
    display: none
}

.custom-breadcrumb,
.custom-list {
    scrollbar-width: none
}

.breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    color: #81858b;
    margin: 0 8px
}

.custom-breadcrumb .breadcrumb-item a {
    color: #81858b;
    text-decoration: none;
    transition: color .3s;
    font-weight: 500
}

.discount-badge {
    background: #d32f2f;
    color: #fff;
    border-radius: 20px;
    padding: 1px 6px;
    font-size: .75rem;
    font-weight: 700;
    width: auto;
    height: auto;
    display: inline-block;
    line-height: 1.6
}

.custom-list {
    margin-top: 0;
    margin-bottom: 0;
    padding-right: 15px;
    list-style: none;
    font-weight: 400
}

.custom-list li {
    position: relative;
    padding-right: 1.2rem;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.7;
    color: #000
}

.custom-list li::before {
    content: "";
    position: absolute;
    right: 0;
    top: .7em;
    width: 6px;
    height: 6px;
    background-color: #d32f2f;
    border-radius: 50%
}

.price-info p {
    margin: .5rem 0;
    font-size: .875rem;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #81858b;
    gap: 5px
}

.price-info p i {
    color: #81858b;
    font-size: 1rem;
    flex-shrink: 0
}

.price-layout {
    text-align: center
}


.table-responsive {
    line-height: 180%;
    font-size: .875rem;
    text-align: right;
    padding-left: 0;
    margin-right: -20px;
    padding-right: 0
}

.align-baseline {
    align-self: baseline
}

.mobile-add-to-cart,
.single-row-title::after {
    display: none
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0)
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0)
    }
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2;
    color: #0c0c0c
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: .9rem;
    font-weight: 500;
    gap: 6px
}

.pill-badge-light {
    background-color: #f0f0f1;
    color: #424750
}

.pill-badge-primary {
    background-color: #ede7ff;
    color: #5f2ef6
}

.pill-badge i {
    font-size: 1rem
}

.product-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: nowrap
}

.price-layout .old-price-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .5rem
}

.price-layout .old-price-discount del {
    margin-left: .5rem;
    color: #c3c3ce
}

.price-layout .final-price {
    font-weight: 700;
    color: #0c0c0c;
    font-size: 1.1rem
}

.no-vertical-borders td,
.no-vertical-borders th {
    border-left: none !important;
    border-right: none !important;
    padding: .9rem 1rem !important
}

.no-vertical-borders td {
    color: #3f4064;
    font-weight: 500
}

.modal-body {
    padding: 1rem 1.5rem;
    overflow-y: auto
}

.mobile-title {
    font-size: .8125rem;
    color: #888;
    font-weight: 500
}

#desktopMainImage,
#mainProductImage {
    transition: opacity .2s
}

.price-info {
    line-height: 2
}

.btn-add-to-cart {
    background: #dc3545 !important;
    color: #fff !important;
    border: none !important;
    line-height: 2.17;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    width: 100% !important;
    min-width: 100% !important
}

.btn-add-to-cart:focus,
.btn-add-to-cart:hover {
    background: #d63046 !important;
    color: #fff !important
}

.price-layout .final-price .currency,
.price-layout .final-price .currency-sup {
    font-weight: 900;
}

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

.product-gallery .main-image {
    position: relative
}

.product-gallery .main-image-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit
}

.product-gallery .main-image-link:focus {
    outline: 0
}

.product-gallery .main-image img {
    width: 320px;
    height: 320px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff
}

.product-gallery .thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    overflow-x: auto;
    justify-content: center
}

.product-gallery .thumbnail {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    border: 1.5px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    padding: 0;
    overflow: hidden;
    display: inline-flex;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    flex-shrink: 0;
    font: inherit
}

.product-gallery .thumbnail:hover {
    border-color: rgba(0, 0, 0, .15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08)
}

.product-gallery .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block
}

.product-gallery .thumbnail.active {
    border-color: #dc3545;
    box-shadow: 0 1px 3px rgba(220, 53, 69, .25)
}

@media screen and (min-width:992px) {
    .custom-breadcrumb .breadcrumb-item a {
        font-size: 0.8rem;
    }

    .desktop-add-to-cart,
    .image-column {
        border: 1px solid #e0e0e0;
        border-radius: 4px;
    }

}

@media (min-width:576px) and (max-width:991.98px) {

    .d-none.d-sm-block,
    .desktop-add-to-cart,
    .desktop-title,
    .image-column {
        display: none !important
    }

    .product-container [class*=col-md-] {
        flex: 0 0 100% !important;
        max-width: 100% !important
    }

    .d-block.d-sm-none,
    .mobile-add-to-cart {
        display: block !important
    }

    .image-column {
        display: block !important;
        width: 100% !important
    }

    .mobile-title {
        display: flex !important
    }

    .d-block.d-sm-none.mb-2 .d-flex.align-items-center.justify-content-between,
    .d-block.d-sm-none.mb-2 .d-flex.justify-content-between,
    .d-block.d-sm-none.mb-2>.d-flex.justify-content-between {
        flex-wrap: nowrap !important
    }

    .d-block.d-sm-none.mb-2 .mobile-title {
        flex: 1 1 auto;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .d-block.d-sm-none.mb-2>.d-flex.justify-content-between>.d-flex.align-items-center {
        flex: 0 0 auto
    }
}

@media (min-width:768px) and (max-width:991.98px) {

    .text-center.d-lg-none,
    .text-center.d-md-none {
        display: block !important
    }
}

@media (max-width:991.98px) {
    .image-column {
        height: auto;
        display: block;
        border-bottom: 1px solid #eee;
        margin-bottom: 15px;
        padding: 15px
    }

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

    .product-gallery .main-image img {
        width: 280px;
        height: 280px;
        object-fit: contain;
        border-radius: 12px;
        background: #fff
    }

    .product-gallery .thumbnails {
        display: flex;
        gap: 8px;
        margin-top: 12px;
        overflow-x: auto;
        justify-content: center;
        padding-bottom: 5px;
        width: 100%
    }

    .product-gallery .thumbnail {
        width: 56px;
        height: 56px;
        object-fit: contain;
        border: 1.5px solid rgba(0, 0, 0, .08);
        border-radius: 8px;
        cursor: pointer;
        background: #fff;
        transition: border-color .2s, box-shadow .2s;
        flex-shrink: 0;
        box-shadow: 0 1px 2px rgba(0, 0, 0, .05)
    }

    .product-gallery .thumbnail:hover {
        border-color: rgba(0, 0, 0, .15);
        box-shadow: 0 1px 3px rgba(0, 0, 0, .08)
    }

    .product-gallery .thumbnail.active {
        border-color: #dc3545;
        box-shadow: 0 1px 3px rgba(220, 53, 69, .25)
    }

    .modal-dialog {
        max-width: 100%;
        margin: 0
    }

    .modal-content {
        height: 100vh;
        border: 0;
        border-radius: 0
    }

}



.cart-counter-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px;
    padding: 6px 18px;
    width: 100%;
    gap: 12px
}

.cart-counter-box button {
    background: #fff;
    border: none;
    outline: 0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s
}

.cart-counter-box button:active {
    background: #f8f8f8
}

.cart-counter-box .cart-qty {
    font-size: 1.3rem;
    font-weight: 700;
    color: #d32f2f;
    min-width: 24px;
    text-align: center
}

.cart-counter-box i {
    color: #d32f2f;
    font-size: 1.5rem;
    vertical-align: middle
}

.swal2-confirm-button,
.swal2-deny-button {
    font-size: 12px !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    border-radius: 8px !important
}

.swal2-confirm-button {
    background-color: #dc3545 !important
}

.swal2-deny-button {
    background-color: #fff !important;
    color: #dc3545 !important;
    border: 1.5px solid #dc3545 !important
}

.swal2-confirm-button:focus,
.swal2-deny-button:focus {
    box-shadow: none !important;
    outline: 0 !important
}

@media (max-width:991.98px) {
    .swal2-popup-mobile {
        font-size: .75rem !important
    }

    .swal2-content-mobile {
        font-weight: 500 !important
    }

    .cart-counter-box .cart-qty {
        font-size: 1rem
    }

    .cart-counter-box i {
        font-size: 1.3rem
    }

    .swal2-popup-mobile .swal2-actions button,
    .swal2-popup-mobile .swal2-content-mobile {
        font-size: 12px !important;
        font-weight: 500 !important
    }
}

.swal2-deny-button:focus-visible,
.swal2-deny-button:hover {
    background-color: #dc3545 !important;
    color: #fff !important;
    border-color: #dc3545 !important
}

.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .3s
}

.custom-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1
}

.custom-modal-content {
    position: relative;
    background: #fff;
    margin: 20px;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
    transform: translateY(20px);
    transition: transform .3s;
    max-width: 90%;
    width: 400px;
    overflow: hidden
}

@media (min-width:992px) {
    .no-vertical-borders td {
        text-align: right !important
    }

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

    .product-gallery .main-image img {
        width: 320px;
        height: 320px;
        object-fit: contain;
        border-radius: 0;
        background: 0 0;
        border: none
    }

    .product-gallery .thumbnails {
        display: flex;
        gap: 10px;
        margin-top: 16px;
        overflow-x: auto;
        justify-content: center
    }

    .product-gallery .thumbnail {
        width: 64px;
        height: 64px;
        object-fit: contain;
        border: 1.5px solid rgba(0, 0, 0, .08);
        border-radius: 8px;
        cursor: pointer;
        background: #fff;
        transition: border-color .2s, box-shadow .2s;
        box-shadow: 0 1px 2px rgba(0, 0, 0, .05)
    }

    .product-gallery .thumbnail:hover {
        border-color: rgba(0, 0, 0, .15);
        box-shadow: 0 1px 3px rgba(0, 0, 0, .08)
    }

    .product-gallery .thumbnail.active {
        border-color: #dc3545;
        box-shadow: 0 1px 3px rgba(220, 53, 69, .25)
    }


    .swal2-popup-mobile .swal2-actions button {
        font-size: 15px !important;
        font-weight: 500 !important;
        padding: 12px 28px !important;
        border-radius: 10px !important
    }

    .custom-modal-content {
        width: 550px;
        max-width: 550px
    }
}

.custom-modal-button:active,
.custom-modal.show .custom-modal-content {
    transform: translateY(0)
}

.custom-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef
}

.custom-modal-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2e7b32;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px
}

.checkmark-icon {
    font-size: .75rem;
    color: #fff;
    opacity: 0;
    animation: .6s ease-out .3s forwards checkmarkAppear
}

.custom-modal.show .checkmark-icon,
.custom-modal.show .custom-modal-title::after {
    animation: .6s ease-out .3s forwards checkmarkAppear, 2s ease-in-out 1s infinite checkmarkPulse
}

.product-image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px
}

.modal-product-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    padding: 8px
}

.success-text-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 60px;
    padding: 0;
    background: 0 0;
    border-radius: 0;
    margin: 0;
    width: 100%
}

.checkmark-circle,
.sparkle {
    background: #28a745;
    border-radius: 50%
}

.success-text {
    font-size: 1rem;
    font-weight: 600;
    color: #0c0c0c;
    line-height: 2;
    text-align: right;
    margin: 0;
    padding: 0;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-line
}

.checkmark-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, #28a745 1px, transparent 1px), radial-gradient(circle at 70% 70%, #28a745 1px, transparent 1px), radial-gradient(circle at 20% 80%, #28a745 1px, transparent 1px), radial-gradient(circle at 80% 20%, #28a745 1px, transparent 1px), radial-gradient(circle at 50% 10%, #28a745 1px, transparent 1px), radial-gradient(circle at 10% 50%, #28a745 1px, transparent 1px), radial-gradient(circle at 90% 50%, #28a745 1px, transparent 1px), radial-gradient(circle at 50% 90%, #28a745 1px, transparent 1px);
    background-size: 100% 100%;
    opacity: 0;
    animation: .8s ease-out .4s forwards sparklesAppear
}

@keyframes sparklesAppear {
    0% {
        opacity: 0;
        transform: scale(.5)
    }

    50% {
        opacity: 1;
        transform: scale(1.2)
    }

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

.checkmark-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    position: relative;
    overflow: visible;
    animation: .4s ease-out .2s both circleGrow
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    opacity: 0
}

.sparkle-1 {
    top: -16px;
    left: 50%;
    animation: 1s ease-out .5s forwards sparkle1
}

.sparkle-2 {
    top: 50%;
    right: -16px;
    animation: 1s ease-out .6s forwards sparkle2
}

.sparkle-3 {
    bottom: -16px;
    left: 50%;
    animation: 1s ease-out .7s forwards sparkle3
}

.sparkle-4 {
    top: 50%;
    left: -16px;
    animation: 1s ease-out .8s forwards sparkle4
}

.sparkle-5 {
    top: -12px;
    right: -12px;
    animation: 1s ease-out .9s forwards sparkle5
}

.sparkle-6 {
    bottom: -12px;
    right: -12px;
    animation: 1s ease-out 1s forwards sparkle6
}

.sparkle-7 {
    bottom: -12px;
    left: -12px;
    animation: 1s ease-out 1.1s forwards sparkle7
}

.sparkle-8 {
    top: -12px;
    left: -12px;
    animation: 1s ease-out 1.2s forwards sparkle8
}

@keyframes sparkle1 {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0)
    }

    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1)
    }

    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0)
    }
}

@keyframes sparkle2 {
    0% {
        opacity: 0;
        transform: translateX(0) scale(0)
    }

    50% {
        opacity: 1;
        transform: translateX(10px) scale(1)
    }

    100% {
        opacity: 0;
        transform: translateX(20px) scale(0)
    }
}

@keyframes sparkle3 {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0)
    }

    50% {
        opacity: 1;
        transform: translateY(10px) scale(1)
    }

    100% {
        opacity: 0;
        transform: translateY(20px) scale(0)
    }
}

@keyframes sparkle4 {
    0% {
        opacity: 0;
        transform: translateX(0) scale(0)
    }

    50% {
        opacity: 1;
        transform: translateX(-10px) scale(1)
    }

    100% {
        opacity: 0;
        transform: translateX(-20px) scale(0)
    }
}

@keyframes sparkle5 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0)
    }

    50% {
        opacity: 1;
        transform: translate(8px, -8px) scale(1)
    }

    100% {
        opacity: 0;
        transform: translate(16px, -16px) scale(0)
    }
}

@keyframes sparkle6 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0)
    }

    50% {
        opacity: 1;
        transform: translate(8px, 8px) scale(1)
    }

    100% {
        opacity: 0;
        transform: translate(16px, 16px) scale(0)
    }
}

@keyframes sparkle7 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0)
    }

    50% {
        opacity: 1;
        transform: translate(-8px, 8px) scale(1)
    }

    100% {
        opacity: 0;
        transform: translate(-16px, 16px) scale(0)
    }
}

@keyframes sparkle8 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0)
    }

    50% {
        opacity: 1;
        transform: translate(-8px, -8px) scale(1)
    }

    100% {
        opacity: 0;
        transform: translate(-16px, -16px) scale(0)
    }
}

@keyframes circleGrow {
    0% {
        transform: scale(0);
        opacity: 0
    }

    50% {
        transform: scale(1.2);
        opacity: 1
    }

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

@keyframes checkmarkAppear {
    0% {
        opacity: 0;
        transform: scale(.5)
    }

    50% {
        opacity: 1;
        transform: scale(1.2)
    }

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

@keyframes checkmarkPulse {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.1)
    }
}

.custom-modal-close {
    background: 0 0;
    border: none;
    font-size: 1.25rem;
    color: #81858b;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s
}

.custom-modal-close:hover {
    background: #e9ecef;
    color: #495057
}

.custom-modal-body {
    padding: 24px;
    color: #495057;
    font-size: .8125rem;
    line-height: 2;
    text-align: center;
    background: #fff
}

.custom-modal-footer {
    padding: 0 24px 24px;
    background: #fff
}

.custom-modal-button {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: .8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: .2s;
    width: 100%
}

.custom-modal-button:hover {
    background: #dc3545;
    transform: translateY(-1px)
}

@keyframes modalFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

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

@keyframes modalFadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0)
    }

    to {
        opacity: 0;
        transform: translateY(20px)
    }
}

.custom-modal-content.animated-in {
    animation: .3s ease-out both modalFadeInUp
}

.custom-modal-content.animated-out {
    animation: .2s ease-in both modalFadeOutDown
}

.single-row-section {
    margin-top: 0;
    margin-bottom: 0
}

.single-row-header {
    margin-bottom: 1rem
}

.single-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between
}



.single-row-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 12px 0 14px;
    text-align: right;
    width: 100%;
    position: relative;
    padding-bottom: .5rem
}

.single-row-section:has(.description-container) .single-row-header,
.single-row-section:has(.specifications-container) .single-row-header {
    margin-bottom: -0.5rem
}

.description-container {
    margin-top: 0.5rem;
    margin-bottom: 12px
}

.description-content {
    background: #fff;
    border-radius: 0.5rem;
    line-height: 2;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #3f4064;
    text-align: justify;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden
}

.description-content.collapsed {
    max-height: 150px
}

.description-content.expanded {
    max-height: none
}

.description-content p:last-child {
    margin-bottom: 0
}

.description-content ul,
.description-content ol {
    margin-right: 1.5rem;
    margin-bottom: 1rem
}

.description-content li {
    margin-bottom: 0.5rem
}

.description-content strong {
    color: #212529
}

.specifications-container {
    margin-top: 0.5rem;
    margin-bottom: 12px
}

.specifications-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden
}

.specifications-table.collapsed {
    max-height: 300px
}

.specifications-table.expanded {
    max-height: none
}

.specification-row {
    display: flex;
    align-items: stretch;
    gap: 1rem
}

.specification-key {
    color: #3f4064;
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    flex-shrink: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    background-color: #f5f5f5;
    padding: 0.625rem 0.875rem;
    border-radius: 0.375rem;
    line-height: 2;
    display: flex;
    align-items: center
}

.specification-value {
    color: #212529;
    flex: 1;
    text-align: right;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 2;
    display: flex;
    align-items: center
}

.expand-toggle-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin: 1rem auto 0;
    color: #212529;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
    width: fit-content
}

.expand-toggle-link:hover {
    color: #000;
    text-decoration: none
}

.expand-toggle-link i {
    font-size: 1rem;
    transition: transform 0.2s ease
}

.pagination,
.products-grid {
    -ms-overflow-style: none;
    scrollbar-width: none
}

.products-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-behavior: smooth
}

.products-grid::-webkit-scrollbar {
    display: none
}

#relatedProductsCarousel>a {
    flex: 0 0 calc(20% - 6.4px);
    max-width: calc(20% - 6.4px)
}

/* Related products carousel nav (desktop only) */
.carousel-nav-buttons {
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0
}

@media screen and (min-width:992px) {
    .single-row-header-related .carousel-nav-buttons {
        display: flex
    }

    .single-row-header-related .single-row-title {
        width: auto;
        margin-bottom: 0
    }
}

.carousel-nav-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .25);
    border-radius: 8px;
    background: #fff;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s, color .2s, background-color .2s
}

.carousel-nav-btn i {
    font-size: 1.25rem
}

.carousel-nav-btn:hover:not(:disabled) {
    border-color: rgba(0, 0, 0, .4);
    color: #000;
    background: #fff
}

.carousel-nav-btn:disabled {
    border-color: rgba(0, 0, 0, .12);
    color: rgba(0, 0, 0, .35);
    cursor: default
}

@media screen and (max-width:991.98px) {
    #relatedProductsCarousel {
        -ms-overflow-style: auto;
        scrollbar-width: thin;
        padding-bottom: 16px
    }

    #relatedProductsCarousel::-webkit-scrollbar {
        display: block;
        height: 8px
    }

    #relatedProductsCarousel::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, .06);
        border-radius: 4px
    }

    #relatedProductsCarousel::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, .2);
        border-radius: 4px
    }

    #relatedProductsCarousel::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, .35)
    }
}

@media screen and (min-width:601px) and (max-width:991.98px) {
    #relatedProductsCarousel>a {
        flex: 0 0 calc(33.3333% - 5.33px);
        max-width: calc(33.3333% - 5.33px)
    }

    .single-row-title {
        font-size: 1rem;
        padding-right: 1rem
    }
}

.single-row-section .product-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column
}

@media screen and (max-width:600px) {
    .products-grid {
        gap: 6px
    }

    #relatedProductsCarousel>a {
        flex: 0 0 calc(50% - 3px);
        max-width: calc(50% - 3px)
    }

    .single-row-title {
        font-size: 1rem
    }

    .description-content {
        font-size: 0.875rem
    }

    .specification-key {
        width: 140px;
        min-width: 140px;
        max-width: 140px;
        font-size: 0.875rem
    }

    .specification-value {
        font-size: 0.875rem
    }
}

@media screen and (max-width:480px) {
    .products-grid {
        gap: 4px
    }

    .specification-key,
    .specification-value {
        font-size: 0.75rem
    }

    .description-content {
        font-size: 0.8125rem
    }

    #relatedProductsCarousel>a {
        flex: 0 0 calc(50% - 2px);
        max-width: calc(50% - 2px)
    }
}


@media (max-width:991.98px) {

    .container,
    .container-fluid,
    main {
        overflow-x: hidden;
        max-width: 100%;
        box-sizing: border-box
    }

    .custom-modal.show {
        align-items: flex-end
    }

    .custom-modal-content {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
        transform: translateY(100%);
        margin: 0
    }

    .custom-modal.show .custom-modal-content {
        transform: translateY(0)
    }

    .custom-modal-header {
        padding: 16px 20px
    }

    .custom-modal-body {
        padding: 20px;
        font-size: .85rem
    }

    .custom-modal-title,
    .success-text {
        font-size: .8125rem
    }


    .custom-modal-footer {
        padding: 0 20px 20px
    }

    .modal-product-image {
        width: 180px;
        height: 180px
    }

    .success-text {
        padding: 0
    }

    .success-text-container {
        margin: 0;
        padding: 0
    }

    .product-details {
        padding-top: 4rem
    }

    .price-layout .final-price,
    .product-title {
        font-size: 1rem
    }

    .pill-badge {
        font-size: .7rem;
        padding: 6px 10px
    }

    .price-info p {
        font-size: .8rem
    }


    .pagination .page-item .page-link {
        font-size: .875rem
    }

    .custom-list li {
        font-size: 14px;
        margin-right: 0
    }

    .custom-list {
        margin-right: 0
    }

    .mobile-add-to-cart .cart-btn-container {
        order: 1
    }

    .mobile-add-to-cart .price-info-container {
        order: 2
    }

    .cart-btn-container .btn {
        font-size: .75rem;
        padding: .75rem 2rem;
        font-weight: 500;
        line-height: 2.17;
        border-radius: 10px
    }

    .desktop-add-to-cart {
        display: none !important
    }

    .mobile-add-to-cart {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #fff;
        z-index: 999;
        padding: 15px 0;
        animation: .5s ease-out fadeInUp;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, .1);
        border-top: 1px solid #e9ecef
    }

    footer {
        margin-bottom: 90px
    }

    .d-block.d-sm-none::after {
        content: none !important
    }

    .price-layout .old-price-discount del,
    .variant-btn {
        font-size: .75rem
    }

    .variant-btn {
        padding: 8px 12px;
        min-width: 60px;
        min-height: 36px
    }


    .table-responsive {
        font-weight: 400;
        margin-top: -15px;
        font-size: .8125rem
    }
}

.pagination {
    flex-wrap: nowrap !important;
    overflow-x: auto
}

.pagination::-webkit-scrollbar {
    display: none
}

.pagination .page-item {
    flex-shrink: 0
}

.pagination .page-item .page-link {
    border: none;
    color: #212529;
    white-space: nowrap;
    font-weight: 500
}

.pagination .page-item .page-link:hover {
    color: #dc3545
}

.pagination .page-item.active .page-link {
    background-color: transparent;
    border: 1px solid #dc3545;
    color: #dc3545;
    border-radius: 6px
}

.pagination .page-item.disabled .page-link {
    background-color: transparent !important;
    color: #888;
    opacity: .6;
    cursor: not-allowed
}

.inline-margin-right-02 {
    margin-right: .2rem
}

.inline-font-size-14-weight-500 {
    font-size: 14px;
    font-weight: 500
}

.inline-margin-left-6 {
    margin-left: 6px
}

.inline-hr-border-top {
    border-top: 1px solid #ddd;
    margin: 1rem 0
}

.inline-hr-separator {
    border: none;
    height: 3px;
    background-color: #ccc;
    width: 100%;
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .inline-hr-separator {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (max-width: 375px) {
    .inline-hr-separator {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
}

.inline-btn-border-radius {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    white-space: nowrap
}


.inline-separator-color {
    color: #ddd;
    margin: 0 8px
}

.inline-color-81858b {
    color: #81858b
}


.inline-pagination-gap {
    gap: .25rem;
    flex-wrap: nowrap;
    overflow-x: auto
}

.inline-modal-header-min-height {
    min-height: 60px
}

.inline-text-center-padding {
    padding: 5px 40px
}

.inline-modal-title-font {
    font-size: 1rem;
    font-weight: 600
}

.inline-modal-close-btn {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%)
}


.inline-btn-border-radius-10 {
    border-radius: 10px;
    font-size: .875rem;
    padding: .9rem 0
}


.inline-display-none {
    display: none
}

.inline-color-212529 {
    color: #212529
}

/* Review Section Styles */
.rating-summary {
    border-radius: .5rem;
    text-align: right
}

.review-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 0 0 10px;
    align-items: stretch
}

.no-reviews-message {
    width: 100%;
    overflow: auto;
    margin-right: 1.5rem;
}

.no-reviews-card {
    display: flex;
    flex-direction: column;
}

.no-reviews-content-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-right: 1.5rem;
}

.no-reviews-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.no-reviews-icon i {
    font-size: 3rem;
    color: #e0e0e0;
    display: block;
}

.no-reviews-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.no-reviews-text {
    font-size: 1rem;
    color: #424242;
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.no-reviews-subtext {
    font-size: 0.875rem;
    color: #757575;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* no-reviews-message: یکسان در همه سایزها (دسکتاپ، تبلت، موبایل) */
.review-container .no-reviews-message {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    margin: 0;
    box-sizing: border-box;
}

.review-container .no-reviews-message .no-reviews-card {
    width: 100%;
    max-width: 100%;
    border-radius: 0.625rem;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.review-container .no-reviews-message .no-reviews-content-wrapper {
    flex-direction: column;
    align-items: center;
    margin-right: 0;
    padding: 0.75rem 0.5rem;
    box-sizing: border-box;
}

.review-container .no-reviews-message .no-reviews-icon {
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.review-container .no-reviews-message .no-reviews-icon i {
    font-size: 3rem !important;
    width: 60px;
    height: 60px;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-container .no-reviews-message .no-reviews-text-wrapper {
    align-items: center;
    margin-top: 0.25rem;
    width: 100%;
    box-sizing: border-box;
}

.review-container .no-reviews-message .no-reviews-text {
    font-size: 0.875rem !important;
    color: #424242 !important;
    font-weight: 600 !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.4;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.review-container .no-reviews-message .no-reviews-subtext {
    font-size: 0.75rem !important;
    color: #757575 !important;
    margin-top: 0.25rem !important;
    line-height: 1.4;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.review-container .no-reviews-message .no-reviews-button-wrapper {
    padding: 0.75rem 1rem;
    border-top: none;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.review-container .no-reviews-message .no-reviews-add-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    user-select: none;
    width: auto;
    min-width: 8.5rem;
    height: 40px;
    margin-top: 8px;
    padding: 8px 1.25rem;
    background-color: transparent;
    color: #ef4056;
    border: 1px solid #ef4056;
    border-radius: 8px;
    font-size: 0.8125rem;
    line-height: 2;
    box-sizing: border-box;
    cursor: pointer;
    outline: none;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    justify-content: center;
}

.review-container .no-reviews-message .no-reviews-add-button:hover,
.review-container .no-reviews-message .no-reviews-add-button:focus {
    background-color: transparent;
    border-color: #ef4056;
    color: #ef4056;
}

.review-container .no-reviews-message .no-reviews-add-button:active {
    opacity: 0.8;
}

.review-container::-webkit-scrollbar {
    display: none
}

.review-container {
    scrollbar-width: none
}

.review-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    border: none;
    border-bottom: 1px solid #e0e0e2;
    border-radius: 0;
    padding: 10px;
    margin-bottom: 0;
    font-size: .85rem;
    width: 100%
}

.review-header,
.review-username {
    margin-bottom: 5px
}

.review-username {
    display: inline-flex;
    align-items: center;
    font-size: .9rem;
    font-weight: 500
}

.review-username i {
    margin-right: .5rem;
    color: var(--bs-success);
    vertical-align: middle
}

.review-text {
    flex: 1;
    margin-bottom: 10px;
    text-align: right;
    line-height: 2;
    font-weight: 400;
    font-size: 14px
}

.review-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px
}

.review-date {
    font-size: .75rem;
    color: #666;
    font-weight: 500
}

.review-icons i {
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 10px;
    color: #888
}

.review-icons i:hover {
    color: #000
}

.review-icons i.ri-thumb-up-line:hover {
    color: #198754
}

.review-icons i.ri-thumb-down-line:hover {
    color: #dc3545
}

.review-icons {
    display: flex;
    align-items: center
}

.thumb-group {
    display: inline-flex;
    align-items: center
}

.thumb-down-count,
.thumb-up-count {
    font-size: .85rem;
    color: #888
}

.buyer-badge {
    background: #e7f6e7;
    color: #388e3c;
    font-size: .625rem;
    border-radius: 8px;
    padding: 0 8px;
    margin-right: 6px;
    line-height: 2.17;
    font-weight: 500
}

.custom-review-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem .5rem;
    border-bottom: 1px solid #eee;
    background: #fff
}

@media screen and (min-width:992px) {
    #writeReviewModal .modal-content {
        border-radius: 0.5rem;
        overflow: hidden;
    }

    #writeReviewModal .custom-review-modal-header {
        border-radius: 0.5rem 0.5rem 0 0;
    }
}

.custom-review-modal-header .close {
    background: 0 0;
    border: none;
    font-size: 1.5rem;
    color: #222;
    padding: 0;
    margin-left: .5rem
}

.review-submit-btn,
.review-submit-btn:hover {
    background: #dc3545
}

.custom-review-modal-header .modal-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 auto 0 0;
    text-align: center;
    flex: 1
}

.review-input,
.review-textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    padding: .75rem 1rem;
    font-size: .95rem;
    margin-bottom: .75rem;
    outline: 0;
    transition: border .2s
}

.review-textarea:active,
.review-textarea:focus {
    border: 1px solid #81858b;
    outline: 0
}

.review-textarea {
    min-height: 70px;
    resize: none
}

.review-char-count {
    font-size: .8rem;
    color: #888;
    text-align: left;
    margin-bottom: .5rem;
    margin-top: -.5rem
}

.review-stars-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1.2rem 0
}

.review-stars-row .review-stars {
    display: flex;
    gap: 32px;
    margin-bottom: .5rem;
    justify-content: center
}

.review-stars-row .review-stars i {
    font-size: 1.4rem !important;
    color: #d3d3d3;
    cursor: pointer;
    transition: color .2s;
    vertical-align: middle
}

.review-stars-row .review-stars i.active,
.review-stars-row .review-stars i.selected {
    color: #ffc107 !important;
    text-shadow: 0 0 2px #e1b90033
}

.review-submit-btn {
    width: 100%;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: .9rem 0;
    font-size: .875rem;
    font-weight: 500;
    margin-top: 1.2rem;
    margin-bottom: .2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: background .2s
}

.text-right {
    text-align: right !important;
    width: 100%;
    display: block
}

@media screen and (min-width:992px) {

    #reviewsSection .single-row-header,
    #reviewsSection .single-row-title {
        margin-bottom: 0
    }

    .review-container .no-reviews-message .no-reviews-text {
        font-size: 1.125rem !important;
        line-height: 1.5;
    }

    .review-container .no-reviews-message .no-reviews-subtext {
        font-size: 0.9375rem !important;
        line-height: 1.5;
    }

    .review-layout {
        width: 100%;
        box-sizing: border-box
    }

    .review-right-col {
        overflow: hidden
    }

    .review-container {
        display: block !important;
        overflow-x: visible !important;
        overflow-y: visible !important
    }

    .review-box .review-actions,
    .review-box .review-header,
    .review-box .review-text {
        padding: 5px 0
    }
}

@media (max-width:991.98px) {
    .review-container {
        display: block !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }

    .review-container .review-box {
        width: 100%;
    }

    .review-container .no-reviews-message {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        text-align: center;
        margin: 0;
        box-sizing: border-box;
    }

    .review-container .no-reviews-message .no-reviews-card {
        width: 100%;
        max-width: 100%;
        border-radius: 0.625rem;
        display: flex;
        flex-direction: column;
        padding: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .review-container .no-reviews-message .no-reviews-content-wrapper {
        flex-direction: column;
        align-items: center;
        margin-right: 0;
        padding: 0.75rem 0.5rem;
        box-sizing: border-box;
    }

    .review-container .no-reviews-message .no-reviews-icon {
        margin-bottom: 0.5rem;
        flex-shrink: 0;
    }

    .review-container .no-reviews-message .no-reviews-icon i {
        font-size: 3rem !important;
        width: 60px;
        height: 60px;
        color: #e0e0e0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .review-container .no-reviews-message .no-reviews-text-wrapper {
        align-items: center;
        margin-top: 0.25rem;
        width: 100%;
        box-sizing: border-box;
    }

    .review-container .no-reviews-message .no-reviews-text {
        font-size: 0.875rem !important;
        color: #424242 !important;
        font-weight: 600 !important;
        margin-top: 0.25rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.4;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    .review-container .no-reviews-message .no-reviews-subtext {
        font-size: 0.75rem !important;
        color: #757575 !important;
        margin-top: 0.25rem !important;
        line-height: 1.4;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    .review-container .no-reviews-message .no-reviews-button-wrapper {
        padding: 0.75rem 1rem;
        border-top: none;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    @media (min-width: 768px) {
        .review-container .no-reviews-message {
            width: 100%;
            max-width: 100%;
        }

        .review-container .no-reviews-message .no-reviews-content-wrapper {
            padding: 0.75rem 0.5rem 0.75rem 0;
            flex-direction: row;
            align-items: center;
            margin-right: 1rem;
        }

        .review-container .no-reviews-message .no-reviews-icon i {
            font-size: 3.5rem !important;
            width: 70px;
            height: 70px;
        }

        .review-container .no-reviews-message .no-reviews-text-wrapper {
            align-items: flex-start;
            margin-right: 1rem;
            margin-top: 0;
        }

        .review-container .no-reviews-message .no-reviews-text {
            font-size: 0.9375rem !important;
            padding: 0;
        }

        .review-container .no-reviews-message .no-reviews-subtext {
            font-size: 0.8125rem !important;
            padding: 0;
        }

        .review-container .no-reviews-message .no-reviews-button-wrapper {
            padding: 0.75rem 1rem 0.75rem 1.5rem;
        }
    }

    .review-container .no-reviews-message .no-reviews-add-button {
        width: auto;
        min-width: 8.5rem;
        display: inline-flex;
        padding: 8px 1.25rem;
    }

    .review-box .review-actions,
    .review-box .review-header,
    .review-box .review-text {
        padding: 5px 0
    }

    .review-date,
    .review-username {
        font-size: .6875rem
    }

    .thumb-down-count,
    .thumb-up-count {
        font-size: .75rem
    }

    #reviewsSection .review-text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        cursor: pointer;
        transition: max-height .3s
    }

    .review-text {
        font-size: 12px !important
    }

    #reviewsSection .single-row-header .btn {
        font-size: .75rem;
        padding: 6px 12px
    }

    #reviewsSection .single-row-header {
        flex-wrap: wrap;
        gap: 10px
    }

    #reviewsSection .single-row-header,
    #reviewsSection .single-row-title {
        margin-bottom: 0
    }
}

@media (min-width:768px) {

    .review-text,
    .table-responsive {
        text-align: justify
    }
}

.inline-modal-footer-border {
    border-top: 1px solid #ddd
}

.inline-btn-border-radius-10 {
    border-radius: 10px;
    font-size: .875rem;
    padding: .9rem 0
}

.inline-modal-body-bg {
    background: #fff
}

.inline-textarea-font {
    font-size: .8125rem;
    padding-bottom: 5rem;
    resize: none
}

.inline-text-right-font {
    margin-bottom: .5rem
}

.inline-hr-light {
    border: none;
    height: 1px;
    background-color: #eee;
    width: 100%;
    margin: 1rem 0
}

.inline-anonymous-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem 0
}

.inline-label-font {
    margin: 0;
    cursor: pointer;
    color: #222;
    font-weight: 500;
    font-size: .8125rem
}

.inline-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    background: #fff;
    transition: .2s
}

.inline-checkbox-custom.checked {
    background: #dc3545;
    border-color: #dc3545
}

.inline-checkbox-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    opacity: 0;
    transition: opacity .2s
}

.inline-checkbox-custom.checked .inline-checkbox-icon {
    opacity: 1
}

.view-all-reviews-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    margin: 1rem 0;
    user-select: none;
}

.view-all-reviews-btn {
    position: relative;
    display: flex;
    align-items: center;
    user-select: none;
    background: transparent;
    border: 1px solid #0c0c0c;
    border-radius: 50%;
    padding: 8px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.view-all-reviews-btn:hover {
    background: #f0f0f1;
    transform: scale(1.05);
}

.view-all-reviews-btn:active {
    transform: scale(0.95);
}

.view-all-btn-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-grow: 1;
}

.view-all-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.view-all-btn-icon i {
    font-size: 24px;
    color: #0c0c0c;
    line-height: 1;
}

.view-all-reviews-text {
    white-space: nowrap;
    margin-top: 8px;
    font-size: 10px;
    font-weight: 600;
    color: #0c0c0c;
    text-align: center;
}

@media (min-width: 992px) {
    .view-all-reviews-container {
        display: none !important;
    }
}

/* Fancybox راست‌چین، فونت و اعداد فارسی */
.fancybox__caption {
    text-align: right;
    direction: rtl;
    font-family: IRANSansX, sans-serif;
}

.fancybox__infobar {
    direction: rtl;
    font-family: IRANSansX, sans-serif;
}