body {
    font-family: 'Cairo', sans-serif;
    background-color: #f8f9fa;
}

.main-header {
    border-bottom: 1px solid #e9ecef;
}

.header-top-row {
    position: fixed;
    top: 0;
    z-index: 1030;
    width: 100%;
    height: 100px;
}

.header-search .form-control {
    background-color: #f3f4f6;
    border: 1px solid #f3f4f6;
    border-radius: 8px 0 0 8px;
    text-align: right;
}
.header-search .form-control:focus {
    background-color: #fff;
    border-color: #00a79d;
    box-shadow: none;
}

.header-search .btn {
    background-color: #00a79d;
    border-color: #00a79d;
    border-radius: 0 8px 8px 0;
    padding: 0.5rem 1rem;
}

.header-icons .header-icon {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    margin-left: 1.2rem;
    font-size: 0.85rem;
}

.header-icons .header-icon i {
    font-size: 1.4rem;
    margin-right: 0.5rem;
    color: #6c757d;
}

.header-icons .header-icon:hover i, .header-icons .header-icon:hover span {
    color: #00a79d;
}

.header-bottom-row {
    background-color: #fff;
    border-top: 1px solid #f8f9fa;
    margin-top: 99px;
}

.categories-dropdown .btn {
    background-color: #00a79d;
    border-color: #00a79d;
    font-weight: 700;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: #00a79d;
}

.shipping-to {
    font-size: 0.9rem;
}

.shipping-to .dropdown-toggle {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.custom-dropdown-menu {
    width: 250px; /* Adjust width as needed */
    border-radius: 15px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.custom-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.custom-dropdown-menu .dropdown-item i {
    font-size: 1.2rem;
    margin-left: 1rem;
    color: #6c757d;
    width: 20px; /* Align icons */
    text-align: center;
}

.custom-dropdown-menu .dropdown-item .badge {
    margin-right: auto; /* Push badge to the right */
    font-size: 0.75rem;
}

/* General Product Card Styles from before */
.product-card {
    border: 1px solid #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-card .card-body {
    text-align: right;
}

.product-card .card-title {
    font-size: 1rem;
    font-weight: 600;
}

.product-card .card-text {
    font-size: 0.9rem;
    color: #6c757d;
}

.product-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00a79d;
}

.product-scroller {
    display: flex;
    overflow-x: auto;
    padding-bottom: 1rem;
    gap: 1rem;
}

.product-scroller::-webkit-scrollbar {
    height: 8px;
}

.product-scroller::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.hero-section {
    border-radius: 15px;
    overflow: hidden;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.margin_top_15 {
    margin-top: 15px;
}
.margin_top_99 {
    margin-top: 99px;
}
.fexid {
    position: fixed;
}
.width100 {
    width: 100%;
}
.height100px {
    height: 100px;
}
.announcement-banner img {
    border-radius: 10px;
}

/* Dropdown Menu Styles */
.dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-toggle::after {
    display: none; /* Hide default bootstrap chevron */
}

.header-icon .dropdown-toggle i.fa-chevron-down {
    font-size: 0.8em;
    margin-left: 5px;
}

.dropdown-item .badge {
    margin-left: auto;
}
a.dropdown-toggle {
    text-decoration: none;
    color: var(--bs-body-color);
}

/* Limited Time Offers Section - Corrected */
.limited-time-offers-section .section-title {
    background-color: #00a79d;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    position: relative; /* Added for the pointer */
}

.limited-time-offers-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px; /* Position it just below the title */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #00a79d; /* Downward-pointing triangle */
}

.limited-time-offers-section .section-title .icon {
    margin-left: 8px; /* Swapped margin to left for RTL */
    font-style: normal;
    font-weight: bold;
}

.limited-time-offers-section .view-all-link {
    color: #00a79d;
    text-decoration: none;
    font-weight: 600;
}

.product-scroller-container {
    position: relative;
}

.product-scroller {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem 0;
    scrollbar-width: none; /* Firefox */
}

.product-scroller::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.product-card-alt {
    flex: 0 0 250px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card-alt:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.product-card-alt .product-image-container {
    position: relative;
}

.product-card-alt img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.product-card-alt .favorite-btn-alt {
    position: absolute;
    top: 12px;
    left: 12px; /* Changed to left for RTL based on image */
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1d2b38;
}

.product-card-alt .product-info {
    padding: 0.8rem 1rem;
    text-align: right;
}

.product-card-alt .product-title a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 46px; /* 2 lines * line-height */
}

.product-card-alt .price-container {
    margin-top: 0.5rem;
    text-align: right;
}

.product-card-alt .current-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1d2b38;
}

.product-card-alt .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 8px; /* Swapped to right for RTL */
}

.scroller-btn {
    position: absolute;
    top: 40%; /* Adjust vertical position */
    transform: translateY(-50%);
    background-color: #00a79d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: background-color 0.2s;
}

.scroller-btn:hover {
    background-color: #008c82;
}

.scroller-btn.prev-btn {
    left: -20px; /* Position outside the container */
}

.scroller-btn.next-btn {
    right: -20px; /* Position outside the container */
}

.footer {
  background: #161b25;
  color: #fff;
  padding: 30px 50px;
  font-family: "Cairo", sans-serif;
  direction: rtl;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-links a {
  margin-left: 20px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #aaa;
}

.footer-store img {
  height: 45px;
  margin: 15px 0;
}

.footer-social {
  text-align: right;
}

.footer-social p {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-social .icons a {
  color: #fff;
  margin-left: 10px;
  font-size: 20px;
}

.footer-social .icons a:hover {
  color: #1dbf73;
}

.footer-logo img {
  max-height: 40px;
}

hr {
  border: 0;
  border-top: 1px solid #2b2f3a;
  margin: 20px 0;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #aaa;
}
/* الخلفية بتاعة اللودر */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff; /* أو أي لون تحبه */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* الصورة نفسها */
#loader {
  width: 120px;   /* غير الحجم زي ما تحب */
  height: auto;
}

/* عند تحميل الصفحة */
.loaded #loader-wrapper {
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s ease;
}



/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    margin-bottom: 15px;
  }

  .footer-social {
    margin: 15px 0;
  }

  .footer-logo {
    margin-top: 10px;
  }
}

/* Search Page Specific Styles - Refined */
.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

.search-page-title {
    font-weight: 700;
    font-size: 1.8rem;
    color: #212529;
}

.sidebar-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sidebar-card .card-body {
    padding: 1.5rem;
}

.sidebar-card .card-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: #212529;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

.categories-list .list-group-item {
    border: none;
    padding: 0.8rem 0.1rem;
}

.categories-list .list-group-item a {
    text-decoration: none;
    color: #343a40;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.categories-list .list-group-item i {
    color: #adb5bd;
    font-size: 1.1rem;
}

.toolbar-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.toolbar-card .card-body {
    padding: 0.75rem 1.25rem;
}

.toolbar-card .form-label {
    font-weight: 600;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #495057;
}

.toolbar-card .form-select-sm {
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 5px;
}

.toolbar-card .form-check-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
}

/* Overriding some product card styles for consistency */
.product-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.product-card .card-title a {
    color: #212529;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
}

.product-card .price {
    color: #212529; /* Making price black as in image */
    font-weight: 700;
}

.product-card .btn-primary {
    background-color: #00a79d;
    border-color: #00a79d;
    font-weight: 600;
}

/* Breadcrumb separator fix for RTL */
.breadcrumb-item+.breadcrumb-item::before {
    float: right;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: var(--bs-breadcrumb-divider-color);
    content: var(--bs-breadcrumb-divider, " > ");
}
.form-check .form-check-input {
    float: right;
    margin-right: -1.5em;
}
.list-group-flush {
    border-radius: 0;
    padding-right: 0;
}
.no-results {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.no-results img {
    max-width: 280px;
    margin-bottom: 20px;
}
.no-results h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 10px;
}
.no-results p {
    color: #6b7280;
    margin-bottom: 15px;
}
.no-results .btn {
    background-color: #10b981;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
}
.no-results .btn:hover {
    background-color: #059669;
}
.no-results hr {
    width: 60%;
    margin: 20px auto;
    border-top: 1px solid #1e293b;
}

/* Cart Page Styles */
.cart-table th {
    font-weight: 600;
    color: #6c757d;
    text-align: right; /* RTL */
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.quantity-input {
    display: flex;
    align-items: center;
    max-width: 120px;
}

.quantity-input .form-control {
    text-align: center;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}

/* Hide number input arrows */
.quantity-input input[type=number]::-webkit-inner-spin-button, 
.quantity-input input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
.quantity-input input[type=number] {
  -moz-appearance: textfield;
}

.quantity-input .quantity-btn {
    border-radius: .25rem;
    z-index: 1;
}
.quantity-input .quantity-btn:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.quantity-input .quantity-btn:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.cart-item-row .remove-btn {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.cart-item-row:hover .remove-btn {
    opacity: 1;
}

/* Exact Cart Page Styles */
.discount-banner {
    background-color: #f3e8ff; /* Light purple */
    color: #6b21a8; /* Dark purple */
    border: 1px solid #e9d5ff;
    border-radius: 8px;
    font-weight: 500;
}
.discount-banner a {
    color: #6b21a8;
    text-decoration: underline;
}

.b2b-sidebar-card {
    background-color: #f0fdf4; /* Light green */
    border: 1px solid #dcfce7;
    border-radius: 12px;
}
.b2b-sidebar-card .btn-outline-primary {
    border-color: #22c55e;
    color: #16a34a;
    font-weight: bold;
}
.b2b-sidebar-card .btn-outline-primary:hover {
    background-color: #16a34a;
    color: #fff;
}
.b2b-sidebar-card .btn-success {
    background-color: #22c55e;
    border-color: #22c55e;
}
.b2b-sidebar-card .btn-dark {
    background-color: #1e293b;
    border-color: #1e293b;
}

.cart-table-exact {
    vertical-align: middle;
}
.cart-table-exact th {
    color: #6b7280;
    font-weight: 500;
    text-align: right;
    padding: 1rem 1.5rem;
}
.cart-table-exact td {
    padding: 1rem 1.5rem;
}

.quantity-input-exact {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    max-width: 100px;
}
.quantity-field-exact {
    width: 40px;
    border: none !important;
    background: none !important;
    font-weight: bold;
    text-align: center;
}
.quantity-btn-exact {
    color: #6b7280;
}
.quantity-btn-exact:hover {
    color: #000;
}

/* Order Summary Card Styles */
.order-summary-card .card-body {
    padding: 1.5rem;
}
.order-summary-card .summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.order-summary-card .summary-item p {
    margin-bottom: 0;
}
.order-summary-card .summary-item.total {
    font-size: 1.1rem;
    font-weight: bold;
    color: #212529;
}
.order-summary-card hr {
    border-top: 1px dashed #dee2e6;
    margin: 1rem 0;
}
a#checkout-btn {
    background-color: #00a79d;
    border: 1px solid #00a79d;
}
button#clear-cart-btn {
    text-decoration: none;
}
.card-header {
    background-color: #00a79d;
    color: #fff;
    text-align: center;
}
h4.fw-bold.mb-4 {
    margin-top: 10px;
}
/* Checkout Page Styles */
.checkout-page-container {
    max-width: 1200px;
    margin: 30px auto;
}

.checkout-page-container .card {
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.checkout-page-container h4.fw-bold {
    color: #212529;
    font-size: 1.25rem;
    margin-bottom: 1.5rem ;
}

.checkout-page-container .form-label {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.5rem;
}

.checkout-page-container .form-control,
.checkout-page-container .form-select {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
}

.checkout-page-container .input-group-text {
    background-color: #f8f9fa;
    border-color: #ced4da;
}

/* Additional Sale Box */
.additional-sale-box {
    background-color: #e6f7f5; /* Light green-blue */
    border: 1px solid #b2e6e0;
    color: #00796b;
    font-size: 0.9rem;
}
.additional-sale-box .btn-dark {
    background-color: #1e293b;
    border-color: #1e293b;
    color: #fff;
    font-weight: 600;
}

/* Order Summary Checkout Card */
.order-summary-checkout-card .card-header {
    background-color: #20c997 
; /* Green from image */
    color: #fff 
;
    font-weight: bold;
    text-align: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.checkout-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.order-summary-checkout-card .summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.order-summary-checkout-card .summary-line span:first-child {
    color: #6c757d;
}
.order-summary-checkout-card .summary-line span:last-child {
    font-weight: 600;
    color: #212529;
}
.order-summary-checkout-card .summary-line.total {
    font-size: 1.1rem;
    font-weight: bold;
    color: #212529;
}
.order-summary-checkout-card hr {
    border-top: 1px dashed #dee2e6;
    margin: 1rem 0;
}

.checkout-page-container .btn-primary {
    background-color: #00a79d;
    border: 1px solid #00a79d;
}
.checkout-page-container .btn-primary:hover {
    background-color: #008c82;
    border-color: #008c82;
}
.form-select {
    text-align: left;
}

/* Favorite Button Styles */
.product-image-container {
    position: relative;
}

.toggle-favorite-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1.5rem; /* Larger icon */
    z-index: 10;
}

.toggle-favorite-btn i {
    color: white;
    transition: color 0.2s ease-in-out;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.toggle-favorite-btn.favorited i {
    color: #e74c3c; /* Red color for favorited */
}

.toggle-favorite-btn:hover i {
    transform: scale(1.1);
}

/* Favorites Page List View Styles */
.favorite-items-list .list-group-item {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 1.5rem;
    transition: box-shadow 0.2s ease;
}

.favorite-items-list .list-group-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.favorite-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.favorite-item .item-image {
    flex-shrink: 0;
}

.favorite-item .item-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.favorite-item .item-details {
    flex-grow: 1;
    text-align: right;
}

.favorite-item .item-title a {
    font-weight: 700;
    font-size: 1.1rem;
    color: #212529;
    text-decoration: none;
}

.favorite-item .item-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: #00a79d;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.favorite-item .item-stock {
    font-size: 0.9rem;
    font-weight: 500;
}

.favorite-item .item-actions {
    flex-shrink: 0;
    width: 180px;
    text-align: center;
}

.favorite-item .remove-favorite-btn {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-decoration: none;
}

@media (max-width: 767px) {
    .favorite-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: right;
    }
    .favorite-item .item-actions {
        width: 100%;
        margin-top: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .favorite-item .remove-favorite-btn {
        margin-top: 0;
    }
}
ul.dropdown-menu.dropdown-menu-end.show {
    width: 250px;
}
ul.dropdown-menu.dropdown-menu-end.show li {
    margin-top: 20px;
}

/* Profile Page Styles */
.profile-page .user-welcome-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

.profile-page .user-welcome-card .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e9f7f6;
    color: #00a79d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.profile-sidebar {
    background-color: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

.profile-nav .nav-link {
    color: #343a40;
    font-weight: 600;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.profile-nav .nav-link i {
    width: 22px;
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
}

.profile-nav .nav-link.active, .profile-nav .nav-link:hover {
    background-color: #00a79d;
    color: #fff;
    transform: translateX(-5px);
}

.profile-nav .nav-link.active i, .profile-nav .nav-link:hover i {
    color: #fff;
}

.profile-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

.profile-content .info-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
}

.profile-content .info-card .card-header {
    font-weight: 700;
    background-color: #00a79d;
    border-bottom: 1px solid #e9ecef;
}

.profile-content .info-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f1f1;
}

.profile-content .info-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.profile-content .info-group label {
    font-weight: 600;
    color: #6c757d;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.profile-content .info-group p {
    font-size: 1.05rem;
    color: #212529;
    font-weight: 500;
}
button.btn.btn-primary {
    background-color: #00a79d;
    border: 1px solid #00a79d;
}
button.btn.btn-primary:hover {
    background-color: #008c82;
    border: 1px solid #008c82;
}

/* Orders Page Styles */
.orders-table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.orders-table thead th {
    border: none;
    color: #6c757d;
    font-weight: 600;
}

.orders-table tbody tr {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.orders-table tbody tr:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.orders-table td {
    vertical-align: middle;
    padding: 1rem;
}

.orders-table .badge {
    padding: 0.5em 0.9em;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background-color: #fff3cd;
    color: #664d03;
}

.status-processing {
    background-color: #cff4fc;
    color: #055160;
}

.status-shipped {
    background-color: #d1e7dd;
    color: #0f5132;
}

.status-delivered {
    background-color: #d1e7dd;
    color: #0f5132;
}

.status-cancelled {
    background-color: #f8d7da;
    color: #58151c;
}
a.btn.btn-sm.btn-outline-primary {
    color: #00a79d;
    border: 1px solid #00a79d;
}

a.btn.btn-sm.btn-outline-primary:hover {
    background-color: #008c82;
    border: 1px solid #008c82;
    color: #fff;
}

a.btn.btn-primary {
    background-color: #00a79d;
    color: #fff;
    border: 1px solid #00a79d;
}

a.btn.btn-primary:hover {
    background-color: #008c82;
    border: 1px solid #008c82;
    color: #fff;

}

.categories-dropdown .dropdown-menu {
  border-radius: 10px;
  padding: 0;
  min-width: 220px;
}

.categories-dropdown .dropdown-item {
  padding: 10px 15px;
  font-size: 15px;
  color: #333;
}

.categories-dropdown .dropdown-item:hover {
  background: #f5f5f5;
}

.dropdown-submenu > .dropdown-menu {
  display: none;
  margin: 0;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

/* كل مستوى يفتح يمين/يسار حسب العمق */
.dropdown-submenu .dropdown-menu {
  top: 0;
  right: 100%; /* RTL */
}
span.current-price.fs-3.fw-bold {
    color: #00a79d;
}
.nav-tabs .nav-link {
    color: #fff;
}

/* تحسين تجاوب الهيدر */
.header-top-row .header-search input { flex: 1; }
.header-top-row .header-icons a { margin-left: 10px; }
@media (max-width: 992px) {
    .header-top-row { flex-direction: column; align-items: stretch; }
    .header-search { margin: 10px 0; }
    .header-icons { justify-content: flex-end; }
    .Elshahn {display:none;}
    .footer {display: none;}
    .mobile-fooet {margin-bottom: 50px;}
}
@media (max-width: 576px) {
    .header-bottom-row .categories-dropdown { width: 100%; }
    .shipping-to { margin-top: 10px; justify-content: flex-start; }
    .header-top-row .header-logo img { width: 120px; }
    .Elshahn {display:none;}
    .footer {display: none;}
    .mobile-fooet {margin-bottom: 50px;}
}
/* منع أي overflow أفقي */
body, html {
    max-width: 100%;
    overflow-x: hidden;
}

/* ضبط الصور داخل الهيدر */
.header-logo img {
    max-width: 100%;
    height: auto;
}

/* ضبط input البحث */
.header-search input {
    width: 100%;
}

/* ضبط أي dropdown أو flex-wrap */
.header-top-row,
.header-bottom-row,
.header-icons,
.header-search,
.categories-dropdown {
    flex-wrap: wrap !important;
}

/* جعل الفيو بورت responsive */
.container {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}