/* Arabic RTL adjustments for بقالة */
body {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    direction: rtl;
    text-align: right;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
}

.text-start {
    text-align: right !important;
}

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

.me-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
.me-3 { margin-left: 1rem !important; margin-right: 0 !important; }
.me-4 { margin-left: 1.5rem !important; margin-right: 0 !important; }
.ms-2 { margin-right: 0.5rem !important; margin-left: 0 !important; }
.ms-3 { margin-right: 1rem !important; margin-left: 0 !important; }
.pe-2 { padding-left: 0.5rem !important; padding-right: 0 !important; }
.ps-2 { padding-right: 0.5rem !important; padding-left: 0 !important; }

.navbar-brand,
.navbar-nav,
.footer-item {
    text-align: right;
}

.d-flex.justify-content-end {
    justify-content: flex-start !important;
}

.back-to-top {
    left: 30px;
    right: auto !important;
}

.hero-header .position-absolute.rounded-pill {
    left: 25%;
    right: auto;
}

.banner .position-absolute {
    right: 0;
    left: auto !important;
}

/* Vegetable & testimonial cards */
.vesitable .vesitable-item {
    background: #fff;
    overflow: hidden;
}

.vesitable .vesitable-img {
    overflow: hidden;
    height: 200px;
}

.vesitable .vesitable-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.vesitable .vesitable-item:hover .vesitable-img img {
    transform: scale(1.1);
}

.testimonial-item {
    background: #f8f9fa;
    height: 100%;
}

.service .service-item {
    overflow: hidden;
    transition: 0.3s;
}

.service .service-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.service .service-item a {
    text-decoration: none;
}

.service .service-content h3 {
    color: #45595b;
}

.vesitable .owl-nav .owl-prev,
.testimonial .owl-nav .owl-prev {
    left: 0;
    right: auto;
}

.vesitable .owl-nav .owl-next,
.testimonial .owl-nav .owl-next {
    left: 88px;
    right: auto;
}

.testimonial .owl-dots {
    margin-top: 1.5rem;
    text-align: center;
}

/* Custom user dropdown (no Bootstrap Popper) */
.user-menu-dropdown {
    position: relative;
    display: inline-block;
}

.user-menu-toggle {
    cursor: pointer;
    line-height: 1;
}

.user-dropdown-menu {
    position: fixed;
    min-width: 250px;
    background: #fff;
    border-radius: 12px;
    padding: 0.4rem 0;
    z-index: 2000;
    text-align: right;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.user-dropdown-link {
    display: block;
    width: 100%;
    padding: 0.65rem 1rem;
    color: #45595b;
    text-decoration: none;
    font-weight: 500;
    background: transparent;
}

.user-dropdown-link:hover {
    background: #f4f6f8;
    color: #81c408;
}

.user-dropdown-link.text-danger,
.user-dropdown-link.text-danger:hover {
    color: #dc3545;
}

/* Page header breadcrumbs - Arabic RTL fix */
.page-header {
    text-align: center;
}

.page-breadcrumb {
    direction: rtl;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-breadcrumb-link {
    color: #81c408 !important;
    text-decoration: none;
    font-weight: 600;
}

.page-breadcrumb-link:hover {
    color: #ffb524 !important;
}

.page-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.page-breadcrumb-text,
.page-breadcrumb-current {
    color: #fff;
    font-weight: 600;
}

/* Disable broken Bootstrap breadcrumb separators if used elsewhere */
.breadcrumb-item + .breadcrumb-item::before {
    float: none !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    content: "/" !important;
    color: rgba(255, 255, 255, 0.65);
}
