:root {
    --prime-color: var(--main);
    --prime-light: var(--main);
    --secondary-color: #f5f7fa;
    --border-color: #e0e6ed;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.play-btn {
    width: 62px;
    height: 44px;
    border: none;
    outline: none;
    border-radius: 15px;
    background: red;
}
.custom-btn {
    padding: 0.44rem 1.5rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.custom-btn.active {
    background-color: var(--prime-color);
    color: white;
    border-color: var(--prime-color);
}

.custom-btn:hover {
    border-color: var(--prime-color);
}

.product-main {
    direction: rtl;
    min-height: 100vh;
}

.breadcrumb-nav {
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: var(--text-light);
    transition: color 0.3s;
}

.breadcrumb-link:hover {
    color: var(--prime-color);
}

.product-container {
    align-items: flex-start;
}

.product-gallery {
    min-width: 400px;
}

.gallery-main-image {
    object-fit: cover;
    aspect-ratio: 1;
    border: 1px solid var(--border-color);
}

.gallery-thumbnails {
    overflow-x: auto;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.thumbnail-item.active {
    border-color: var(--prime-color);
}

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

.product-category-tag {
    display: inline-block;
}

.category-badge {
    background-color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.85rem;
    color: var(--prime-color);
    font-weight: 600;
}

.hashtag-badge {
    background-color: #f0f6ff;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.85rem;
    color: var(--prime-color);
}
.hashtag-product{
    position: absolute;
    top: 22px;
    inset-inline-end: 15px;
    z-index: 10;
}
.hashtag-product span{
    font-size: .75rem;

}
.hashtag-product span:first-child{
    background-color: #E7233E;
    color: var(--white);
}
.stock{
    right: 0px;
    width: 100%;
    background-color: #FEF9E7;
    color: #C1990B;
    font-size: .9rem;
    padding: 0.25rem 0.75rem;

}
.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}



.product-description {
    line-height: 1.6;
}

.colors-container {
    flex-wrap: wrap;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.color-option.active {
    border-color: var(--prime-color);
    /* box-shadow: 0 0 0 2px white, 0 0 0 4px var(--prime-color); */
}

.product-option-label {

    color: var(--sec);
}




.benefit-item i {
    color: #2D8AB1
}

.details-tabs {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.details-tab-btn {
    background: none;
    border: none;
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--text-light);
    cursor: pointer;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.details-tab-btn.active {
    color: var(--prime-color);
}

.details-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    left: 0;
    height: 2px;
    background-color: var(--prime-color);
}

/* .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(180deg, #000000 0%, #666666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
} */
.product-details-section>.box{
background-color: #fbfbfb !important;
}

.overview-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-light);
}

.specifications-table {
    border: 1px solid #D0D8E8;
    border-radius: 0.75rem;
    overflow: hidden;
}

.specifications-table .table {
    margin-bottom: 0;
}

.specifications-table .table tbody tr {
    border-bottom: 1px solid #D0D8E8;
    height: 60px;
}

.specifications-table .table tbody tr:last-child {
    border-bottom: none;
}

.specifications-table .table tbody tr:nth-child(odd) {
    background-color: #FFFFFF;
}

.specifications-table .table tbody tr:nth-child(even) {
    background-color: #F5F8FC;
}

.specifications-table .table tbody tr:hover {
    background-color: #F9FAFC;
}

.spec-label {
    font-weight: 700;
    color: var(--sec) !important;
    text-align: right;
    
    width: 30%;
    white-space: nowrap;
    vertical-align: middle;
    background-color: var(--secondary-color) !important;
}

.spec-value {
    color: var(--sec) !important;
   
   
    font-size: 1rem;
    
    vertical-align: middle;
}



.rating-score {
    font-size: 2.5rem;

    color: var(--main);
}

.rating-breakdown {
    margin-top: 1.5rem;
}

.breakdown-row {
    margin-bottom: 1rem;
}

.breakdown-label {
    font-size: 1rem;
    width: 60px;
    color: var(--sec)
}

.breakdown-count {
    font-size: 1rem;
    color: #2D8AB1;
    min-width: 40px;
    text-align: right;
}

.rate-text-input {
    border: 1px solid #ededed !important;
    outline: none
}

.rate-text-input:focus {
    box-shadow: none !important
}

.progress {
    height: 8px;
    background-color: #e0e0e0;
}

.progress-bar {
    background: #2D8AB1;
    border-radius: 5px;
}


.review-avatar {
    width: 50px;
    height: 50px;
}

.review-username {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--main);
}

.review-rating-stars {
    color: #F9C771;
    font-size: 1.3rem;
    display: flex;
    gap: 12px
}

.review-text {
    font-size: 1.2rem;
    color: var(--sec);
    line-height: 1.6;
}

.rating-star {
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-star.active,
.rating-star:hover {
    color: #F9C771;
}

.product-card {
   
    transition: box-shadow 0.3s;
}



.product-card-image {
    overflow: hidden;
    aspect-ratio: 1;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-category {
    color: var(--text-light);
}

.product-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.product-card-rating {
    font-size: 0.85rem;
}

/* ============ QUANTITY CONTROL & ADD TO CART ============ */
.product-purchase-section {
    margin-bottom: 1.5rem;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.46rem;
    background-color: #e6f3fe;
}

.qty-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

.qty-btn:hover {
    background-color: #f5f7fa !important;
    border-radius: 4px;
}

.qty-btn i {
    font-size: 0.9rem;
}

.qty-input {
    width: 60px;
    font-size: 1.1rem;
    outline: none;
    background: transparent;
}

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

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

.btn-add-to-cart {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
    .product-container {
        flex-direction: column;
    }

    .product-gallery {
        min-width: 100%;
    }

    .specifications-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 1.25rem;
    }

    .details-tabs {
        gap: 1rem;
    }

    .details-tab-btn {
        font-size: 0.9rem;
        padding: 0.75rem 0;
    }
}
.buy-package{
 transition: all 0.3s ease;
}
.buy-package:hover{
    background-color: var(--main) !important;
    color: var(--white);
    text-decoration: none;
    transform: translate(-2px,-2px);
   

}
.buy-to{
    border: 1px solid #F2F2F2;
}
.discount{
    position: absolute;
    top: 0;
    left: 0px;
    width: 100%;
    background-color: #E7233E;
    color: var(--white);
    padding: 0.25rem 0.75rem;
    font-size: .9rem;
    z-index: 10;
}
.muted-price{
    font-size: .8rem;
}
.discount-favorite{
    transform: rotate(-38deg);
    position: absolute;
    top: 17px;
    left: -38px;
   
    background-color: #E7233E;
    color: var(--white);
    padding: 0.1rem 2.75rem;
    font-size: .9rem;
    z-index: 10;

}