 .lg-outer { direction: ltr }
    

    


    .remind_me_text,
    .vat_status_block {
        color: #444;
        margin-top: -5px;
        display: block
    }

    .remind_me_text {
        font-size: 13px;
        margin-bottom: 20px
    }

    .remind_me_text .remind_me_button {
        display: inline-block;
        font-size: 12px;
        border: 1px solid var(--main-color);
        padding: 3px 5px;
        margin: auto 2px;
        border-radius: 5px;
        color: var(--main-color);
        cursor: pointer
    }

    .remind_me_text .remind_me_button:hover {
        border: 1px solid var(--main-color);
        background: var(--main-color);
        color: #fff
    }


    figure.zoom {
        background-position: 50% 50%;
        position: relative;
        overflow: hidden;
        cursor: zoom-in;
        margin: auto;
        border-radius: 10px;
        display: table
    }

    figure.zoom img:hover {
        opacity: 0
    }

    figure.zoom img {
        transition: opacity .5s;
        display: block
    }

    .pagination {
        padding-top: 20px;
        padding-bottom: 10px
    }

    .pagination a {
        color: #000;
        text-align: center;
        float: right;
        border-radius: 50px;
        padding: 7px 13px;
        margin-left: 3px;
        margin-right: 3px;
        background-color: #ddd;
        border: 2px solid #ddd;
        font-size: 13px;
        font-weight: 800;
        cursor: pointer;
        text-decoration: none
    }

    .pagination .page-before-after {
        vertical-align: bottom;
        font-size: 14px;
        margin: 5px 2px 0
    }

    .pagination a.active {
        border: 2px solid #000
    }

    .pagination a i {
        font-size: 12px
    }

    .pagination a:hover {
        background-color: #bbb;
        border: 2px solid #bbb
    }

    .loader_rating,
    #loader_rating {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, .5);
        z-index: 230;
        color: #fff;
        display: none
    }

    .loader_rating .loaders,
    #loader_rating .loaders {
        position: absolute;
        top: 60px;
        text-align: center;
        z-index: 1234;
        overflow: auto;
        width: 100%;
        height: auto;
        color: #fff
    }

    .loader_rating .loaders img,
    #loader_rating .loaders img {
        border-radius: 15px;
        width: 60px;
        text-align: center;
        padding: 0 5px;
        margin: 0
    }
  


    .product-loader::after,
    .product-loader::before {
        content: '';
        background-color: #e8e8e8;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(90deg, #f0f0f0 25%, #f9f9f9 50%, #f0f0f0 75%);
        background-size: 200px 100%;
        animation: 1.5s infinite loading
    }

    .one_keywords {
        padding: 5px 0 5px 10px !important;
        text-align: right;
        line-height: normal;
        margin: 0 !important
    }

    .one_keywords p {
        font-size: 14px;
        color: #444;
        line-height: normal;
        padding: 0;
        margin: 0;
        font-family: var(--font-main) !important
    }

    .one_keywords i {
        margin-left: 5px;
        font-size: 13px;
        margin-top: 0;
        color: #777;
        vertical-align: middle
    }

    .loader-container {
        display: flex;
        gap: 1px;
        overflow: hidden
    }

    .product-loader {
        width: 100%;
        height: 270px;
        background-color: #f0f0f0;
        border-radius: 10px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, .05);
        margin-bottom: 20px
    }

    .product-loader::before {
        display: block;
        width: 80%;
        height: 50%;
        border-radius: 10px 10px 0 0;
        top: 10px
    }

    .product-loader::after {
        display: block;
        width: 60%;
        height: 20px;
        border-radius: 5px;
        bottom: 10px
    }

    @keyframes loading {
        0% {
            background-position: -200px 0
        }

        100% {
            background-position: 200px 0
        }
    }




    
    img.payment_methods {
        width: auto;
        height: 25px;
        margin: 5px auto 10px auto; 
        text-align: center;
        display:block;
    }

@media only screen and (max-width:768px) {
 
    
    img.payment_methods {
        height: auto; 
        max-width:100%;
        margin-top: -10px;
        padding: 0 10px;
    }

}
    


        .product-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            background: white;
            background: transparent;
            padding: 40px 10px;
            padding: 20px 20px;
            border-radius: 8px;
            margin-bottom: 30px;
        }

        .image-section {
            position: sticky;
            top: 20px;
            height: fit-content;
        }

         .main-image-container {
            position: relative;
            margin-bottom: 15px;
            border: 1px solid #eee;
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 450px;
        }

        .main-image {
            width: 100%;
            height: auto;
            min-height: 450px;
            max-height: 600px;
            object-fit: contain;
            display: block;
            background: #fafafa;
        }
        
        .image-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #e74c3c;
            color: white;
            padding: 8px 15px;
            border-radius: 4px;
            font-size: 13px;
            font-weight: 600;
        }

        .favorite-btn {
            position: absolute;
            top: 15px;
            left: 15px;
            width: 40px;
            height: 40px;
            background: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            color: #666;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .favorite-btn:hover {
            color: #e74c3c;
            transform: scale(1.1);
        }

        .favorite-btn.active {
            color: #e74c3c;
        }

        .image-arrows {
            position: absolute;
            top: 225px;
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 15px;
            pointer-events: none;
            z-index: 10;
        }

        .arrow-btn {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 16px;
            transition: all 0.3s;
            pointer-events: auto;
        }

        .arrow-btn:hover {
            background: white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }

        .thumbnail-images {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
        }

        .thumbnail {
            border: 2px solid #eee;
            border-radius: 6px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s;
        }

        .thumbnail:hover,
        .thumbnail.active {
            border-color: #000;
        }

        .thumbnail img {
            width: 100%;
            height: 100px;
            object-fit: cover;
            display: block;
        }

        .info-section {
            display: flex;
            flex-direction: column;
            gap: 1px;
            overflow: hidden;
        }

        .product-name {
            font-size: 28px;
            color: #000;
            line-height: 1.4;
            font-family: var(--font-bold) !important;
        }

        .price-wrapper {
            margin-top: 0;
            padding: 15px 0;
            border-top: 1px solid #eee;
            border-top: 1px solid #fff;
            border-bottom: 1px solid #eee;
        }

        .price-wrapper .price-label {
            font-size: 13px;
            color: #666;
            margin-bottom: 8px;
        }

        .price-wrapper .price-body {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .price-wrapper .current-price {
            font-size: 32px;
            font-weight: 700;
            color: #000;
        }
        .price-wrapper .free-price {
            font-size: 18px;
            font-family: var(--font-bold) !important;
            color: #000;
        }

        .price-wrapper .old-price {
            font-size: 20px;
            color: #999;
            text-decoration: line-through;
        }

        .price-wrapper .discount-badge {
            background: #e74c3c;
            color: white;
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 600;
        }

       
        
        .shipping-alert {
            background: color-mix(in srgb, var(--color-primary) 10%, white);
            border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
            border-radius: 6px;
            padding: 15px;
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 15px 0 0;
        }

        .shipping-alert i {
            color: var(--color-primary);
            font-size: 20px;
        }

        .shipping-alert-text {
            color: color-mix(in srgb, var(--color-primary) 70%, black);
            font-size: 14px;
            line-height: 1.5;
        }

        .shipping-alert-text strong {
            color: var(--color-primary);
        }


        .product-meta-info {
            display: flex;
            gap: 15px;
            padding: 5px 0 0px 0;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
        }

        .meta-left {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #666;
        }

        .meta-item i {
            color: #000;
            font-size: 16px;
        }

        .meta-item strong {
            color: #000;
        }

        .share-favorite {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .share-btn, .fav-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 5px 14px;
            background: #f5f5f5;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s;
        }

        .share-btn:hover, .fav-btn:hover {
            background: #eee;
        }

        .share-btn:hover {
            background: #eee;
        }

        .product-description {
            color: #555;
            font-size: 15px;
            line-height: 1.8;
            padding: 20px 0;
            border-bottom: 1px solid #eee;
        }
        .product-description span {
            color: #555;
            font-size: 15px;
            line-height: 1.8;
            margin: 0;
            padding: 0;
        }

        .rating-section {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 5px 0 5px 0;
            border-bottom: 1px solid #eee;
            border-bottom: none;
            cursor: pointer;
            transition: all 0.3s;
        }

        .rating-section:hover {
            background: #f9f9f9;
            padding-right: 10px;
            border-radius: 6px;
        }

        .stars {
            color: #ffa000;
            font-size: 16px;
        }

        .rating-text {
            color: #666;
            font-size: 14px;
        }

        .options-group{
            padding: 20px 0;
            border-bottom: 1px solid #eee;
        }

        .option-label {
            font-size: 14px;
            font-weight: 600;
            color: #000;
            margin-bottom: 12px;
            display: block;
        }

        .color-options, .select-options {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .color-option {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            border: 2px solid #eee;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
        }

        .color-option:hover,
        .color-option.active {
            border-color: #000;
            transform: scale(1.1);
        }

        .color-option.active::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-weight: bold;
            text-shadow: 0 0 3px rgba(0,0,0,0.5);
        }

        .select-option {
            padding: 10px 20px;
            border: 2px solid #eee;
            background: white;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
            font-weight: 500;
        }

        .select-option:hover,
        .select-option.selected,
        .select-option.active {
            border-color: #000;
            background: #000;
            color: white;
            
            border: 2px solid var(--btn-hover-bg);
            background: var(--btn-hover-bg);
            color: var(--btn-color);
        }
        
        .select-option.disabled {
            border-color: #f5f5f5;
            background-color: #f5f5f5;
            cursor: not-allowed;
            color: #bbb
        }

        .text-input {
            width: 100%;
            padding: 12px;
            border: 2px solid #eee;
            border-radius: 6px;
            font-size: 14px;
            transition: all 0.3s;
        }

        .text-input:focus {
            outline: none;
            border-color: #000;
        }

        .quantity-wrapper {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 20px 0;
        }

        .quantity-label {
            font-size: 14px;
            font-weight: 600;
            color: #000;
        }

        .quantity-selector {
            display: flex;
            align-items: center;
            border: 2px solid #eee;
            border-radius: 6px;
            overflow: hidden;
        }

        .qty-btn {
            width: 45px;
            height: 45px;
            background: white;
            border: none;
            cursor: pointer;
            font-size: 18px;
            transition: all 0.3s;
        }

        .qty-btn:hover {
            background: #f5f5f5;
        }

        .qty-display {
            width: 60px;
            height: 45px;
            outline: none;
            border: none;
            display: inline-block;
            text-align: center;
            font-weight: 600;
            font-size: 16px;
            border-right: 2px solid #eee;
            border-left: 2px solid #eee;
        }
        
             #option_list_result .input_block {
         margin-top: 0 !important;
    }
    
    
    .option-box {
        position: relative;
        display: inline-block
    }

    .option-box.available,
    .option-box.selected {
    }

    
    .option-box {
        padding: 6px 10px;
        margin: 5px;
        border: 1px solid #d7d7d7;
        color: #848484;
        cursor: pointer;
        border-radius: var(--option-radius);
        text-align: center
    }

    .option-box.selected {
        border: 1px solid var(--btn-bg);
        color: var(--btn-bg);
        box-shadow: 0 0 3px 1px rgba(0, 0, 0, .1)
    }

    .option-box.disabled {
        background-color: #f5f5f5;
        cursor: not-allowed;
        color: #bbb
    }

    .option-box.disabled::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(135deg, transparent 45%, #dadada 45%, #dadada 55%, transparent 55%);
        background-size: 10px 10px;
        pointer-events: none;
        z-index: 1
    }

        .stock-status {
            font-size: 14px;
            color: #27ae60;
        }
        
        .stock-status.empty {
            font-size: 14px;
            color: red;
            color: #EB5656;
        }

        .cart-btn-group  {
            display: block;
        }

        .add-to-cart-btn, .add-to-cart-outline-btn {
            width: 100%;
            display: block;
            padding: 16px;
            background: var(--btn-bg);
            color: var(--btn-color);
            border: none;
            border-radius: var(--btn-radius);
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 20px;
            text-align: center;
            font-family: var(--font-bold) !important;
        }
        .add-to-cart-btn i, .add-to-cart-outline-btn i {
            margin-left: 4px;
        }

        .add-to-cart-btn:hover {
            background: var(--btn-hover-bg);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }

        .add-to-cart-outline-btn {
            background: transparent;
            color: var(--btn-bg);
            border: 1px solid var(--btn-bg);
            border-radius: var(--btn-radius);
        }

        .add-to-cart-outline-btn:hover {
            background: #f9f9f9;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }

        .product-features {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            padding: 20px;
            background: #f9f9f9;
            border-radius: 6px;
            margin-top: 20px;
        }

        .feature-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 8px;
        }

        .feature-icon {
            font-size: 24px;
            color: #000;
        }

        .feature-label {
            font-size: 12px;
            color: #666;
        }

        .feature-value {
            font-size: 13px;
            font-weight: 600;
            color: #000;
        }

        .tabs-section {
            background: white;
            border-radius: 8px;
            padding: 5px 20px 20px;
            margin-bottom: 40px;
        }

        .tabs-header {
            display: flex;
            gap: 30px;
            border-bottom: 2px solid #eee;
            margin-bottom: 30px;
        }

        .tab-btn {
            padding: 15px 0;
            background: none;
            border: none;
            font-size: 16px;
             font-family: var(--font-bold) !important;
            color: #666;
            cursor: pointer;
            position: relative;
            transition: all 0.3s;
        }

        .tab-btn.active {
            color: #000;
        }

        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 2px;
            background: #000;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        .reviews-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }
        
        .tab-content h3, .reviews-header h3 {
             font-family: var(--font-bold) !important;
            font-weight: normal;
        }

        .add-review-btn {
            padding: 10px 14px;
            background: #000;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s;
            font-family: var(--font-bold) !important;
            
            background: var(--btn-bg);
            color: var(--btn-color);
            border-radius: var(--btn-radius);
        }

        .add-review-btn:hover {
            background: var(--btn-hover-bg);
        }

        .review-item {
            padding: 25px;
            background: #f9f9f9;
            background: color-mix(in srgb, var(--btn-bg) 5%, white);
            border-radius: 8px;
            margin-bottom: 15px;
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .reviewer-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .reviewer-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: #ddd;
            background: color-mix(in srgb, var(--btn-bg) 15%, white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            color: #666;
        }

        .reviewer-name {
            font-weight: 600;
            font-size: 15px;
        }

        .review-date {
            font-size: 13px;
            color: #999;
        }

        .review-rating {
            color: #ffa000;
            font-size: 14px;
        }

        .review-text {
            color: #555;
            line-height: 1.7;
            font-size: 14px;
        }

.review-meta-row {
    display: inline-block;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 4px;
    margin-right: 4px;
}

.verified-purchase-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 20px;
    padding: 0 9px;
    border-radius: 999px;
    background: color-mix(in srgb, #16a34a 10%, white);
    border: 1px solid color-mix(in srgb, #16a34a 18%, white);
    color: #15803d;
    font-size: 11px;
    font-family: var(--font-main) !important;
    line-height: 1;
}

.verified-purchase-badge i {
    font-size: 12px;
}


        .question-item {
            padding: 25px;
            background: #f9f9f9;
            background: color-mix(in srgb, var(--btn-bg) 5%, white);
            border-radius: 8px;
            margin-bottom: 15px;
        }

        .question-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 12px;
        }

        p.question-text {
            color: #000;
            margin-bottom: 15px;
            margin-bottom: 0px;
             font-family: var(--font-bold) !important;
            display: block;
        }

        .answer-section {
            padding: 15px;
            margin-top: 10px;
            background: white;
            border-right: 3px solid var(--color-primary);
            border-radius: 4px;
        }

        .answer-label {
            font-size: 13px;
            color: #666;
            margin-bottom: 8px;
             font-family: var(--font-bold) !important;
        }

        .answer-label i {
            color: #000; 
            margin-left: 5px;
            color: var(--color-primary);
        }

        .answer-text {
            color: #555;
            line-height: 1.7;
            font-size: 14px;
        }

    .question-actions, .review-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-start;
}

.question-edit-btn, .review-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--btn-bg) 18%, white);
    background: color-mix(in srgb, var(--btn-bg) 80%, white);
    color: var(--btn-color);
    font-size: 12px;
    font-family: var(--font-bold) !important;
    cursor: pointer;
    transition: .2s ease;
    width: fit-content;
}

.question-edit-btn i, .review-edit-btn i {
    font-size: 12px;
}

.question-edit-btn:hover, .review-edit-btn:hover {
    background: var(--btn-hover-bg);
    transform: translateY(-1px);
}

        @media (max-width: 968px) {
            .product-wrapper {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .image-section {
                position: relative;
                top: 0;
            }

            .main-image {
                height: 450px;
            }

            .product-features {
                grid-template-columns: 1fr;
            }

            .tabs-header {
                flex-wrap: wrap;
                gap: 15px;
            }
        }
        
        .tby-readmore-btn{
  margin-right:0px;
  color:#4D4B7D;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
            display: inline-block;
}
.tby-readmore-btn:hover{
  text-decoration:underline;
}
        
table.free_digital_table {
        clear: both;
        text-align: center;
        display: table;
        margin-right: auto;
        margin-left: auto;
        border-collapse: separate;
        border-spacing: 0;
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 10px;
        overflow: hidden
    }

    table.free_digital_table tr {
        height: 32px;
        border-radius: 6px;
        padding: 4px
    }

    table.free_digital_table tbody tr td,
    table.free_digital_table thead tr th {
        vertical-align: middle;
        font-family: var(--font-main) !important;
        font-size: 13px;
        direction: rtl;
        padding: 8px 4px
    }

    table.free_digital_table tbody tr {
        height: 100%
    }

    table.free_digital_table thead tr th {
        background-color: #dadada;
        font-family: var(--font-bold) !important;
        font-weight: 400
    }

    table.free_digital_table .save-icons {
        padding-left: 6px;
        padding-right: 6px
    }

    table.free_digital_table .save-button {
        display: block;
        text-align: center;
        padding: 0;
        vertical-align: top;
        color: #fff;
        border-radius: 50px;
        height: 30px;
        line-height: 30px;
        width: 100%;
        font-size: 12px;
        background: var(--btn-bg);
        color: var(--btn-color);
        cursor: pointer
    }

    table.free_digital_table .save-button .fa {
        color: var(--btn-color);
        display: inline-block;
        font-size: 14px;
        margin-right: 3px;
        vertical-align: middle
    }

    table.free_digital_table .save-button:hover {
        opacity: .8
    }

    .digital_order_details_block .free_digital_title {
        padding: 0 0 3px;
        margin: 5px 10px 5px 10px !important;
        font-family: var(--font-bold)!important;
    }
    .digital_order_details_block a.blog_link {
        padding: 0 0 3px;
        display: inline-block;
        margin: 10px 5px 0 !important;
        float: none;
        vertical-align: bottom;
        color: #00f !important;
        border-bottom: 1px solid
    }

    .digital_order_details_block a.blog_link:hover {
        color: #00008b !important
    }

.coupons-wrap{
    max-width:100%;
    margin:30px auto;
    margin:15px auto 10px;
    padding:0 0px;
    display: block;
    overflow: hidden;
    position:relative;
}

.theme-coupons{
    position:relative;
}

.coupon-title{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:8px;
    margin-bottom:12px;
    color:#2d2d2d;
    font-size:18px;
    font-weight:800;
    display: none;
}

.coupon-title i{
    font-size:18px;
    color:#444;
}

.coupon-scroll{
    display:flex;
    flex-direction:row;
    gap:14px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 2px 8px;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
}

.coupon-scroll::-webkit-scrollbar{
    display:none;
}

.coupon-card{
    flex:0 0 auto;
    width:130px;
    width:110px;
    min-height:154px;
    max-height:102px;
    background:#fff3f3;
    border:2px dashed #f3b2b2;
    border-radius:12px;
    padding:18px 16px 14px;
    padding:8px 8px 8px;
    box-sizing:border-box;
    position:relative;
    display:flex;
    flex-direction:column;
    text-align:center;
    box-shadow:0 2px 8px rgba(0,0,0,0.03);
}

.coupon-card::before,
.coupon-card::after{
    content:"";
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:16px;
    height:16px;
    background:#f3f3f3;
    background:#ffffff;
    border-radius:50%;
}

.coupon-card::before{
    left:-11px;
}

.coupon-card::after{
    right:-11px;
}

.coupon-body{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.coupon-discount{
    font-size:18px;
    font-weight:900;
    color:#ea3a32;
    line-height:1;
    margin-top:8px;
    margin-top:6px;
    margin-bottom:28px;
    margin-bottom:10px;
}

.coupon-code{
    font-size:15px;
    font-weight:900;
    color:#2e2e2e;
    line-height:1.2;
    margin-bottom:8px;
    letter-spacing:0.3px;
}

.coupon-desc{
    font-size:12px;
    font-weight:500;
    color:#666;
    line-height:1.3;
    min-height:42px;
    max-height:42px;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    text-align:center;
    width:100%;
}

.coupon-copy{
    margin-top:auto;
    width:100%;
    height:30px;
    border:0;
    border-radius:8px;
    background:#ef382f;
    color:#fff;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
    transition:0.2s ease;
}

.coupon-copy:hover{
    background:#df2f27;
}

.coupon-copy.copied{
    background:#22b573;
}
@media (max-width:768px){
    .coupon-card::before,
    .coupon-card::after{
        width:16px;
        height:16px;
    }

    .coupon-card::before{
        left:-9px;
    }

    .coupon-card::after{
        right:-9px;
    }
    .coupon-title{
        font-size:16px;
    }
}


                .tbxBrand{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 6px 0;
  min-height:24px;
}

.tbxBrand__logo{
  width:24px;
  height:24px;
  border-radius:6px;
  object-fit:contain;
  background:rgba(0,0,0,.04);
  border:1px solid rgba(0,0,0,.06);
  flex:0 0 auto;
}

.tbxBrand__name{
  font-size:14px;
  max-width:100%;
    font-family: var(--font-main) !important;
}


/* ========== ============== */

.cf-group{margin-bottom:16px}
.cf-label{font-weight:600; margin-bottom:6px; display:flex; gap:8px; align-items:center}
.cf-help{color:#6b7280; font-size:12px; margin-top:4px}
.cf-required{background:#fee2e2; color:#991b1b; font-size:11px; padding:2px 6px; border-radius:999px}
.cf-input, .cf-textarea, .cf-number, .cf-date, .cf-time, .cf-datetime, .cf-file{
  width:100%; box-sizing:border-box; border:1px solid #e5e7eb; border-radius:8px; padding:10px 12px; font:inherit
}
.cf-options{display:flex; flex-direction:column; gap:8px}
.cf-option{display:flex; align-items:center; gap:10px}
.cf-option input{inline-size:18px; block-size:18px}
.cf-price{font-size:12px; color:#0f766e; background:#ecfeff; padding:2px 6px; border-radius:6px}
.cf-error{color:#b91c1c; font-size:12px; margin-top:4px; display:none}
.cf-group.invalid .cf-error{display:block}
                                        
                                        
#product-custom-fields .input_block {
    margin-bottom: 20px !important;
}
                                        
                                        
                                        /* ===== Custom Fields (CF) - isolated styling ===== */

.options-group{
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}

.options-group .option-label{
  font-size: 14px;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  display: block;
  font-family:  var(--font-bold)!important;
}

.options-group .req{
  color:#ef4444;
  font-weight: 900;
  margin-inline-start: 4px;
}

/* help + error */
.options-group .help_text{
  margin: 8px 0 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.6;
}

.options-group .custom_fields_error{
  margin: 5px 0 0;
  font-size: 12px;
  color: #ef4444;
    display: none;
}

/* inputs */
.options-group .cf-input{
  width: 100%;
  padding: 12px 12px;
  border: 2px solid #e9e9ee;
  border-radius: 12px;
  font-size: 14px;
  color: #111;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.options-group .cf-input::placeholder{
  color: #9aa0a6;
}

.options-group .cf-input:focus{
  outline: none;
  border-color: var(--btn-hover-bg, #4D4B7D);
  box-shadow: 0 0 0 3px rgba(77, 75, 125, 0.14);
}

.options-group .cf-input:disabled{
  background:#f6f6f7;
  border-color:#f0f0f2;
  color:#9aa0a6;
  cursor:not-allowed;
}

/* textarea */
.options-group .cf-textarea{
  min-height: 115px;
  resize: vertical;
  line-height: 1.6;
}

/* file input */
.options-group .cf-file{
  padding: 10px 12px;
  border-style: dashed;
  background: #fafafa;
  cursor: pointer;
}

.options-group .cf-file:hover{
  border-color: var(--btn-hover-bg, #4D4B7D);
}

/* button inside file input */
.options-group .cf-file::file-selector-button{
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  margin-inline-end: 10px;
  background: var(--btn-hover-bg, #4D4B7D);
  color: var(--btn-color, #fff);
  font-weight: 900;
  cursor: pointer;
  transition: opacity .15s ease, transform .15s ease;
}

.options-group .cf-file:hover::file-selector-button{
  opacity: .92;
}

.options-group .cf-file::file-selector-button:active{
  transform: scale(.98);
}

/* color */
.options-group .cf-color{
  height: 48px;
  padding: 8px;
}

/* error state */
.options-group .cf-input.is-error{
  border-color:#ef4444 !important;
  box-shadow:0 0 0 3px rgba(239,68,68,.12) !important;
}

/* ===== options (radio/checkbox) - works with most HTML structures ===== */
.options-group .cf-options{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
                                      
                                        /* ===== CF Radio / Checkbox (same style you shared) ===== */

.options-group .cf-check,
.options-group .cf-radio{
  display:block;
  position:relative;
  padding-right:25px;
  margin-top:10px;
  margin-bottom:5px;
  cursor:pointer;
  font-size:13px;
  user-select:none;
    font-family:  var(--font-bold)!important;
    color: #444;
}

.options-group .cf-check input,
.options-group .cf-radio input{
  position:absolute;
  opacity:0;
  cursor:pointer;
  height:0;
  width:0;
}

/* box / circle */
.options-group .cf-check .checkmark,
.options-group .cf-radio .checkmark{
  position:absolute;
  top:2px;
  right:0;
  height:18px;
  width:18px;
  background-color:#fff;
  border:1px solid #aaa;
}

.options-group .cf-check .checkmark{ border-radius:4px; }
.options-group .cf-radio .checkmark{ border-radius:50%; }

/* hover background */
.options-group .cf-check:hover input ~ .checkmark,
.options-group .cf-radio:hover input ~ .checkmark{
  background-color:#fafafa;
}

/* checkbox tick */
.options-group .cf-check .checkmark:after{
  content:"";
  position:absolute;
  display:none;
  left:4px;
  top:0px;
  width:8px;
  height:13px;
  border:solid var(--btn-hover-bg, var(--main-color, #4D4B7D));
  border-width:0 3px 3px 0;
  transform:rotate(45deg);
}

/* radio dot */
.options-group .cf-radio .checkmark:after{
  content:"";
  position:absolute;
  display:none;
  top:4px;
  left:4px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--btn-hover-bg, var(--main-color, #4D4B7D));
}

/* show after when checked */
.options-group .cf-check input:checked ~ .checkmark:after,
.options-group .cf-radio input:checked ~ .checkmark:after{
  display:block;
}

/* optional: highlight border when checked */
.options-group .cf-check input:checked ~ .checkmark,
.options-group .cf-radio input:checked ~ .checkmark{
  border-color: var(--btn-hover-bg, var(--main-color, #4D4B7D));
}

/* text spacing */
.options-group .cf-opt-text{
  display:inline-block;
  line-height:18px;
  color:#111;
    color: #666;
}

/* disabled */
.options-group .cf-check input:disabled ~ .checkmark,
.options-group .cf-radio input:disabled ~ .checkmark{
  background:#f5f5f5;
  border-color:#ddd;
}

.options-group .cf-check input:disabled ~ .cf-opt-text,
.options-group .cf-radio input:disabled ~ .cf-opt-text{
  color:#9aa0a6;
  cursor:not-allowed;
}
                                        
                                        /* الوضع الطبيعي */
.options-group .cf-options{
  display:block;
}

.options-group.cf-cols-2 .cf-options{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:8px 14px;
}
              
.cf-price-badge{
  display:inline-flex;
  align-items:center;
  gap:3px;
  margin-inline-start:6px;
  padding:2px 8px;
  border-radius:6px;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;

  color:var(--btn-hover-bg, #4D4B7D);
  background:rgba(77,75,125,.10);
  border:1px solid rgba(77,75,125,.25);

  transition:.2s;
}

/* لما الخيار يتحدد */
.cf-check input:checked ~ .cf-opt-text .cf-price-badge,
.cf-radio input:checked ~ .cf-opt-text .cf-price-badge{
  background:var(--btn-hover-bg, #4D4B7D);
  color:#fff;
  border-color:var(--btn-hover-bg, #4D4B7D);
}

/* hover */
.cf-check:hover .cf-price-badge,
.cf-radio:hover .cf-price-badge{
  transform:translateY(-1px);
}

                                        
    


   .r_pagination {
        display: flex;
        justify-content: center;
        /* يوسّط الأزرار أفقياً */
        align-items: center;
        padding-top: 20px;
        padding-bottom: 10px;
    }

    .r_pagination a {
        color: #000;
        border-radius: 50px;
        padding: 7px 13px;
        margin: 0 3px;
        background-color: #ddd;
        border: 2px solid #ddd;
        background: color-mix(in srgb, var(--btn-bg) 20%, white);
        border: 2px solid color-mix(in srgb, var(--btn-bg) 20%, white);
        font-size: 13px;
        font-weight: 800;
        cursor: pointer;
        text-decoration: none;
    }

    .r_pagination .page-before-after {
        vertical-align: bottom;
        font-size: 14px;
        margin: 5px 2px 0
    }

    .r_pagination a.active {
        border: 2px solid color-mix(in srgb, var(--btn-bg) 60%, white)
    }

    .r_pagination a i {
        font-size: 12px
    }

    .r_pagination a:hover {
        background-color: #bbb;
        border: 2px solid #bbb;
            
            
        background: color-mix(in srgb, var(--btn-bg) 30%, white);
        border: 2px solid color-mix(in srgb, var(--btn-bg) 30%, white);
    }


   
    
    [data-star] {
        font-size: 18px;
        text-align: right;
        direction: rtl;
        font-style: normal;
        display: inline-block;
        margin-top: -4px;
        line-height: normal;
        position: relative;
        unicode-bidi: bidi-override
    }

    [data-star]::before {
        display: block;
        content: '★★★★★';
        color: #c5c5c5;
        color: var(--muted)
    }

    [data-star]::after {
        white-space: nowrap;
        position: absolute;
        top: 0;
        right: 0;
        content: '★★★★★';
        width: 0;
        color: #000;
        color: var(--star-color);
        overflow: hidden;
        height: 100%
    }

    .rating_stars [data-star] {
        font-size: 15px;
        display: inline-block;
        margin-top: 0
    }

    .rating_stars [data-star]::before {
        color: #c5c5c5;
        color: var(--muted)
    }

    .rating_stars [data-star]::after {
        color: #ffa000;
        color: var(--star-color);
        color: #ffa000;
    }

    [data-star^="0.1"]::after {
        width: 2%
    }

    [data-star^="0.2"]::after {
        width: 4%
    }

    [data-star^="0.3"]::after {
        width: 6%
    }

    [data-star^="0.4"]::after {
        width: 8%
    }

    [data-star^="0.5"]::after {
        width: 10%
    }

    [data-star^="0.6"]::after {
        width: 12%
    }

    [data-star^="0.7"]::after {
        width: 14%
    }

    [data-star^="0.8"]::after {
        width: 16%
    }

    [data-star^="0.9"]::after {
        width: 18%
    }

    [data-star^="1"]::after {
        width: 20%
    }

    [data-star^="1.1"]::after {
        width: 22%
    }

    [data-star^="1.2"]::after {
        width: 24%
    }

    [data-star^="1.3"]::after {
        width: 26%
    }

    [data-star^="1.4"]::after {
        width: 28%
    }

    [data-star^="1.5"]::after {
        width: 30%
    }

    [data-star^="1.6"]::after {
        width: 32%
    }

    .product_table tr td.product_table_details,
    [data-star^="1.7"]::after {
        width: 34%
    }

    [data-star^="1.8"]::after {
        width: 36%
    }

    [data-star^="1.9"]::after {
        width: 38%
    }

    [data-star^="2"]::after {
        width: 40%
    }

    [data-star^="2.1"]::after {
        width: 42%
    }

    [data-star^="2.2"]::after {
        width: 44%
    }

    [data-star^="2.3"]::after {
        width: 46%
    }

    [data-star^="2.4"]::after {
        width: 48%
    }

    [data-star^="2.5"]::after {
        width: 50%
    }

    [data-star^="2.6"]::after {
        width: 52%
    }

    [data-star^="2.7"]::after {
        width: 54%
    }

    [data-star^="2.8"]::after {
        width: 56%
    }

    [data-star^="2.9"]::after {
        width: 58%
    }

    [data-star^="3"]::after {
        width: 60%
    }

    [data-star^="3.1"]::after {
        width: 62%
    }

    [data-star^="3.2"]::after {
        width: 64%
    }

    .product_table tr td.product_table_image,
    [data-star^="3.3"]::after {
        width: 66%
    }

    [data-star^="3.4"]::after {
        width: 68%
    }

    [data-star^="3.5"]::after {
        width: 70%
    }

    [data-star^="3.6"]::after {
        width: 72%
    }

    [data-star^="3.7"]::after {
        width: 74%
    }

    [data-star^="3.8"]::after {
        width: 76%
    }

    [data-star^="3.9"]::after {
        width: 78%
    }

    [data-star^="4"]::after {
        width: 80%
    }

    [data-star^="4.1"]::after {
        width: 82%
    }

    [data-star^="4.2"]::after {
        width: 84%
    }

    [data-star^="4.3"]::after {
        width: 86%
    }

    [data-star^="4.4"]::after {
        width: 88%
    }

    [data-star^="4.5"]::after {
        width: 90%
    }

    [data-star^="4.6"]::after {
        width: 92%
    }

    [data-star^="4.7"]::after {
        width: 94%
    }

    [data-star^="4.8"]::after {
        width: 96%
    }

    [data-star^="4.9"]::after {
        width: 98%
    }

    .images_slide_container,
    [data-star^="5"]::after {
        width: 100%
    }
 
     #rating_box .ratings-box .ratings-box-number img:hover { background: color-mix(in srgb, var(--btn-bg) 30%, white) !important; border-radius: 100%; }

            #rating_box .ratings-box .ratings-box-number img.active { background: color-mix(in srgb, var(--btn-bg) 30%, white) !important; border-radius: 100%; }
                    

    .product-details-tabs{
        margin-bottom:30px;
        margin-top: 5px;
    }
.product-details-tabs-body{
    padding:28px 30px 32px;
    background:#fff;
}

.product-details-tab-content{
    display:none;
}

.product-details-tab-content.active{
    display:block;
    animation:productDetailsTabFade .22s ease;
}

.product-description-text{
    color:#555;
    line-height:2;
    font-size:16px;
}

.product-keywords-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:22px;
}

.one_keywords{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:8px 12px;
    border-radius:999px;
    background:#f7f8fa;
    border:1px solid #edf0f3;
    color:#555;
    font-size:13px;
}

.one_keywords p{
    margin:0;
}

.one_keywords i{
    color:#777;
    font-size:13px;
}

@keyframes productDetailsTabFade{
    from{
        opacity:0;
        transform:translateY(6px);
    }
    to{
        opacity:1;
        transform:none;
    }
}
          
@media(max-width:768px){

    .product-details-tabs{
        border-radius:14px;
        margin-bottom:30px;
    }

   
    .product-details-tab{
        min-height:46px;
        padding:0 12px;
        border:0;
        border-radius:12px;
        font-size:14px;
    }

    .product-details-tab.active::after{
        display:none;
    }

    .product-details-tabs-body{
        padding:22px 18px 24px;
    }

    .product-description-text{
        font-size:15px;
        line-height:1.9;
    }
}
     
            
.product-details-tabs-nav{
    display:flex;
    gap:12px;
    margin-bottom:0px;
    padding: 1px;
    overflow-x:hidden;
    scrollbar-width:none;
}

.product-details-tabs-nav::-webkit-scrollbar{
    display:none;
}

.product-details-tab{
    height:50px;
    line-height: 50px;
    padding:0 18px;
    border:1px solid #e8eaf0;
    border-bottom: none;
    border-radius:16px 16px 0 0;
    background:#f8f9fb;
    background:#fff;
    color:#666;
    font-size:15px;
    font-family:var(--font-bold)!important;
    cursor:pointer;
    white-space:nowrap;
    transition:.25s;
}

            
.product-details-tab.active{
    background:#f1f3f7;
    color:#111;
    border-color:#dde2ea;
    box-shadow:0 8px 20px rgba(0,0,0,.04);
    background: color-mix(in srgb, var(--btn-bg) 8%, white);
}
     
            .product-details-tabs-body{
    background:#fff;
    border:1px solid #e8eaf0;
    border-radius:18px;
                border-top-right-radius: 0;
    padding:20px;
}
            
            @media(max-width:768px){
                .product-details-tab{
    height:50px;
    padding:0 18px;
    border:1px solid #e8eaf0;
    border-bottom: none;
    border-radius:16px 16px 0 0;
    background:#f8f9fb;
    background:#fff;
    color:#666;
    font-size:15px;
            }
     