:root {
    --talla-font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
    --talla-color-primary: #6c7ae0;
    --talla-color-primary-hover: #4e59b3;
    --talla-color-dark: #111827;
    --talla-color-text: #212529;
    --talla-color-muted: #6c757d;
    --talla-color-border: #eef1f6;
    --talla-color-surface: #ffffff;
    --talla-color-soft: #f8f9fb;
    --talla-color-danger: #dc3545;
    --talla-radius-sm: 6px;
    --talla-radius-md: 8px;
    --talla-radius-lg: 12px;
    --talla-shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.08);
    --talla-shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
    --talla-shadow-lg: 0 18px 45px rgba(15, 23, 42, 0.1);
    --talla-space-xs: 0.5rem;
    --talla-space-sm: 0.75rem;
    --talla-space-md: 1rem;
    --talla-space-lg: 1.5rem;
    --talla-space-xl: 2rem;
    --talla-transition: 0.25s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--talla-color-text);
    font-family: var(--talla-font-family);
    line-height: 1.7;
}

a {
    transition: color var(--talla-transition), background-color var(--talla-transition), border-color var(--talla-transition), transform var(--talla-transition);
}

img {
    max-width: 100%;
}

.container-fluid {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 var(--talla-space-xl);
}

.btn,
.button,
button,
input[type="submit"] {
    border-radius: var(--talla-radius-md);
    font-weight: 700;
    transition: background-color var(--talla-transition), border-color var(--talla-transition), color var(--talla-transition), box-shadow var(--talla-transition), transform var(--talla-transition);
}

.btn:hover,
.button:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
}

.btn-primary,
.swal2-confirm {
    background-color: var(--talla-color-primary) !important;
    border-color: var(--talla-color-primary) !important;
    color: #fff !important;
}

.btn-primary:hover,
.swal2-confirm:hover {
    background-color: var(--talla-color-primary-hover) !important;
    border-color: var(--talla-color-primary-hover) !important;
}

.btn-dark {
    background: var(--talla-color-dark);
    border-color: var(--talla-color-dark);
    box-shadow: var(--talla-shadow-sm);
}

.form-control,
.form-select {
    border-color: #e9ecef;
    border-radius: var(--talla-radius-md);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--talla-color-primary);
    box-shadow: 0 0 0 0.2rem rgba(108, 122, 224, 0.12);
}

/*---------------------
  Breadcrumb Section - Male Fashion RTL
-----------------------*/
.breadcrumb-option {
    background: #f3f2ee;
    padding: 80px 0;
    direction: rtl; 
    text-align: right;
    margin: 80px 0;
}

.breadcrumb__text h4 {
    color: #111111;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 24px;
}

.breadcrumb__links a {
    font-size: 15px;
    color: #111111;
    margin-left: 20px; /* مسافة للرابط اللي بعده */
    display: inline-block;
    position: relative;
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb__links a:hover {
    color: var(--talla-color-primary);
}

/* السهم الفاصل بين الروابط باستخدام Bootstrap Icons */
.breadcrumb__links a:after {
    position: absolute;
    left: -16px; /* مكان السهم في اليسار بالنسبة للكلمة العربي */
    top: 4px;
    content: "\F284"; /* أيقونة Chevron Left */
    font-family: "bootstrap-icons";
    font-size: 10px;
    color: #b7b7b7;
}

.breadcrumb__links span {
    font-size: 15px;
    color: #b7b7b7;
    display: inline-block;
}

/* تعديل بسيط للموبايل */
@media (max-width: 768px) {
    .breadcrumb-option {
        padding: 30px 0;
        text-align: center;
    }
    .breadcrumb__links a:after {
        /* ممكن تخفيه في الموبايل لو الزحمة زادت */
    }
}

.swal2-container {
    z-index: 999999 !important;
}

.swal2-popup {
    border-radius: 16px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18) !important;
    direction: rtl !important;
    font-family: var(--talla-font-family) !important;
}

.woocommerce-message,
.added_to_cart {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}