/* RTL Overrides */
body {
    text-align: right;
    font-family: 'Vazirmatn', sans-serif;
}

.navbar-nav {
    padding-right: 0; /* Override Bootstrap's default padding */
}

.card {
    text-align: right;
}

/* Float overrides */
.float-start {
    float: right !important;
}

.float-end {
    float: left !important;
}

/* Text align overrides */
.text-start {
    text-align: right !important;
}

.text-end {
    text-align: left !important;
}

/* Margin and padding utilities */
.me-1 {
    margin-left: 0.25rem !important;
    margin-right: inherit !important;
}

.ms-1 {
    margin-right: 0.25rem !important;
    margin-left: inherit !important;
}

/* Add similar overrides for other spacing utilities as needed */

/* Custom RTL styles */
.product-price {
    direction: rtl; /* Keep numbers LTR even in RTL layout */
    display: inline-block;
}

/* Pagination RTL fixes */
.pagination {
    padding-right: 0;
}

/* Form controls */
.form-control, .form-select {
    text-align: right;
}

/* Product Show Page Styles */
.product-image-main {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

#mainProductImage {
    transition: transform 0.3s;
}

#mainProductImage:hover {
    transform: scale(1.05);
}

.nav-tabs .nav-link {
    color: #495057;
}

.nav-tabs .nav-link.active {
    font-weight: bold;
    border-bottom: 3px solid #0d6efd;
}

.input-group button {
    width: 40px;
}

#quantity {
    width: 40px;
}

/* Rating stars */
.ratings {
    color: #ffc107;
}

/* Related products */
.card {
    transition: all 0.3s;
}

/* .card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
} */

.text-rtl {
    text-align: right;
    direction: rtl;
}



.video-thumbnail {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    cursor: pointer;
}

.video-thumbnail i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.video-thumbnail span {
    font-size: 0.75rem;
}
