/*
 * زر التبرع السريع - الستايل المبسط
 */

/* زر التبرع */
#donation-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background-color: #1bab93;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 70px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 999999;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, transform 0.3s;
}

#donation-btn:hover {
    background-color: #0c4150;
    transform: scale(1.1);
}

#donation-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 171, 147, 0.5);
}

@media (max-width: 768px) {
    #donation-btn {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 14px;
    }
}

/* نافذة التبرع */
#donation-popup {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 320px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 999998;
    display: none;
    font-family: Arial, sans-serif;
    direction: rtl;
}

/* رأس النافذة */
#donation-popup-header {
    background-color: #1bab93;
    color: white;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
}

#donation-popup-header h3 {
    margin: 0;
    font-size: 18px;
}

#donation-popup-close {
    color: white;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* محتوى النافذة */
#donation-popup-content {
    padding: 20px;
}

/* قسم اختيار المشروع */
#project-selector-container {
    margin-bottom: 15px;
}

#project-selector-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

#project-selector {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
    font-family: inherit;
    direction: rtl;
}

/* خيارات التبرع */
#donation-options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.donation-option {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 90px;
    margin-bottom: 10px;
}

.donation-option input[type="radio"] {
    margin-left: 5px;
}

/* حقل المبلغ */
#amount-container {
    margin-bottom: 15px;
}

#amount-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

#donation-amount {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

/* زر التأكيد */
#donation-submit {
    width: 100%;
    padding: 10px;
    background-color: #1bab93;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#donation-submit:hover {
    background-color: #0c4150;
}

/**
 * Product Options CSS
 * Adds styling for donation option radio buttons on product cards
 * Using theme colors: #0c4150, #1bab93, #1b7b5f
 */

/* Container for donation options */
.donation-options-container {
    margin: 15px 0;
    padding: 12px 15px;
    background-color: rgba(12, 65, 80, 0.05);
    border-radius: 8px;
    border-right: 3px solid #1bab93;
    transition: all 0.3s ease;
}

/* Title for the options section */
.donation-options-title {
    font-size: 14px;
    font-weight: 600;
    color: #0c4150;
    margin-bottom: 10px;
    display: block;
    position: relative;
}

/* Radio button group - CHANGED: flex-direction to row */
.donation-options-group {
    display: flex;
    flex-direction:column;
    justify-content: space-between;
    gap: 8px;
}

/* Custom radio container */
.donation-option-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    flex: 1;  /* ADDED: to make items equal width */
}

.donation-option-item:hover {
    background-color: rgba(27, 171, 147, 0.1);
}

/* Hide the default radio input */
.donation-option-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom radio button design */
.donation-option-item .radio-custom {
    display: block;
    width: 18px;  /* CHANGED: slightly smaller */
    height: 18px; /* CHANGED: slightly smaller */
    border-radius: 50%;
    border: 2px solid #1bab93;
    margin-left: 6px;  /* CHANGED: reduced margin */
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Selected state for custom radio */
.donation-option-item input[type="radio"]:checked + .radio-custom {
    border-color: #1bab93;
    background-color: #1bab93;
    box-shadow: 0 0 0 2px rgba(27, 171, 147, 0.2);
}

/* Inner dot for selected radio */
.donation-option-item input[type="radio"]:checked + .radio-custom::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

/* Label styling */
.donation-option-item .radio-label {
    flex-grow: 1;
    color: #0c4150;
    font-size: 13px;  /* CHANGED: slightly smaller font */
    transition: all 0.3s ease;
    text-align: right;
    white-space: nowrap;  /* ADDED: prevent wrapping */
}

/* Selected label styling */
.donation-option-item input[type="radio"]:checked ~ .radio-label {
    color: #1b7b5f;
    font-weight: 600;
}

/* Focus styles for accessibility */
.donation-option-item input[type="radio"]:focus + .radio-custom {
    box-shadow: 0 0 0 3px rgba(27, 171, 147, 0.4);
}

/* RTL Support */
[dir="rtl"] .donation-options-container {
    border-right: none;
    border-left: 3px solid #1bab93;
    text-align: right;
}

[dir="rtl"] .donation-option-item .radio-custom {
    margin-left: 0;
    margin-right: 6px;  /* CHANGED: reduced margin */
}

/* Animation for selecting options */
@keyframes pulse-select {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.donation-option-item input[type="radio"]:checked + .radio-custom {
    animation: pulse-select 0.3s ease-in-out;
}

/* Responsive styles - UPDATED for horizontal layout */
@media (max-width: 576px) {
    .donation-options-container {
        padding: 10px 8px;
    }
    
    .donation-options-group {
        gap: 5px;
    }
    
    .donation-option-item {
        padding: 5px;
    }
    
    .donation-option-item .radio-custom {
        width: 16px;
        height: 16px;
        margin-left: 4px;
    }
    
    .donation-option-item .radio-label {
        font-size: 12px;
    }
    
    [dir="rtl"] .donation-option-item .radio-custom {
        margin-right: 4px;
    }
}

/* For very small screens, stack vertically again */
@media (max-width: 340px) {
    .donation-options-group {
        flex-direction: column;
        gap: 6px;
    }
    
    .donation-option-item {
        padding: 6px 3px;
    }
}

/* Container when option is selected */
.donation-options-container.option-selected {
    background-color: rgba(27, 171, 147, 0.08);
    border-right-color: #1b7b5f;
} 

/* Updated Product Card Styles */
@import url('https://fonts.googleapis.com/css2?family=Harmattan:wght@400;500;600;700&display=swap');
/* CSS Variables */
:root {
    --primary: #1474b1;
    --secondary: #4CAF50;
    --dark: #2d3748;
    --light: #f8f9fa;
    --gray: #666;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.1);
    --gradient: linear-gradient(45deg, var(--primary), var(--secondary));
    --transition: all 0.3s ease;
}
.s-product-card-entry {
    -webkit-text-size-adjust: 100% !important;
    tab-size: 4 !important;
    font-family: var(--font-main), -apple-system, BlinkMacSystemFont !important;
    font-feature-settings: normal !important;
    font-variation-settings: normal !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizeLegibility !important;
    --swiper-theme-color: #007aff !important;
    --swiper-navigation-size: 44px !important;
    --mm-ocd-min-width: 200px !important;
    --mm-ocd-max-width: 440px !important;
    --mm-spn-item-height: 50px !important;
    --mm-spn-item-indent: 20px !important;
    --mm-spn-line-height: 24px !important;
    --mm-spn-panel-offset: 30% !important;
    --infinte-color: #c9c9c9 !important;
    --main-text-color: #231f1e !important;
    --main-text-color-dark: #2b2d34 !important;
    --color-primary-d: #272628 !important;
    --color-primary-l: #676668 !important;
    --color-text: #7c8082 !important;
    --bg-gray: rgba(198,199,206,0.10196) !important;
    --color-grey: #f5f7f9 !important;
    --color-light-grey: #eeeeee !important;
    --font-sm: 0.8685714286rem !important;
    --mm-ocd-width: calc(100% - 51px) !important;
    --font-main: 'Readex Pro' !important;
    --color-primary: #1474b1 !important;
    --color-primary-dark: #00417e !important;
    --color-primary-light: #60c0fd !important;
    --color-primary-reverse: #e0ffff !important;
    --swal2-container-padding: 0.625em !important;
    --swal2-backdrop: rgba(0, 0, 0, 0.4) !important;
    --swal2-width: 32em !important;
    --swal2-padding: 0 0 1.25em !important;
    --swal2-border: none !important;
    --swal2-border-radius: 0.3125rem !important;
    --swal2-background: white !important;
    --swal2-color: #545454 !important;
    --swal2-footer-border-color: #eee !important;
    --swal2-input-background: transparent !important;
    --swal2-validation-message-background: #f0f0f0 !important;
    --swal2-validation-message-color: #666 !important;
    font-size: 15px !important;
    line-height: 26px !important;
    color: var(--main-text-color) !important;
    visibility: visible !important;
    list-style: none !important;
    --tw-border-spacing-x: 0 !important;
    --tw-border-spacing-y: 0 !important;
    --tw-translate-x: 0 !important;
    --tw-translate-y: 0 !important;
    --tw-rotate: 0 !important;
    --tw-skew-x: 0 !important;
    --tw-skew-y: 0 !important;
    --tw-scale-x: 1 !important;
    --tw-scale-y: 1 !important;
    --tw-pan-x:  !important;
    --tw-pan-y:  !important;
    --tw-pinch-zoom:  !important;
    --tw-scroll-snap-strictness: proximity !important;
    --tw-gradient-from-position:  !important;
    --tw-gradient-via-position:  !important;
    --tw-gradient-to-position:  !important;
    --tw-ordinal:  !important;
    --tw-slashed-zero:  !important;
    --tw-numeric-figure:  !important;
    --tw-numeric-spacing:  !important;
    --tw-numeric-fraction:  !important;
    --tw-ring-inset:  !important;
    --tw-ring-offset-width: 0px !important;
    --tw-ring-offset-color: #fff !important;
    --tw-ring-color: rgba(59, 130, 246, 0.5) !important;
    --tw-ring-offset-shadow: 0 0 rgba(0,0,0,0) !important;
    --tw-ring-shadow: 0 0 rgba(0,0,0,0) !important;
    --tw-shadow: 0 0 rgba(0,0,0,0) !important;
    --tw-shadow-colored: 0 0 rgba(0,0,0,0) !important;
    --tw-blur:  !important;
    --tw-brightness:  !important;
    --tw-contrast:  !important;
    --tw-grayscale:  !important;
    --tw-hue-rotate:  !important;
    --tw-invert:  !important;
    --tw-saturate:  !important;
    --tw-sepia:  !important;
    --tw-drop-shadow:  !important;
    --tw-backdrop-blur:  !important;
    --tw-backdrop-brightness:  !important;
    --tw-backdrop-contrast:  !important;
    --tw-backdrop-grayscale:  !important;
    --tw-backdrop-hue-rotate:  !important;
    --tw-backdrop-invert:  !important;
    --tw-backdrop-opacity:  !important;
    --tw-backdrop-saturate:  !important;
    --tw-backdrop-sepia:  !important;
    --tw-contain-size:  !important;
    --tw-contain-layout:  !important;
    --tw-contain-paint:  !important;
    --tw-contain-style:  !important;
    font-weight: 400 !important;
    margin: 1rem !important; /* Add margin for spacing */
    box-sizing: border-box !important;
    scrollbar-width: thin !important;
    position: relative !important;
    display: flex !important;
    height: 100% !important;
    justify-content: space-between !important;
    border-radius: .75rem !important;
    --tw-bg-opacity: 1 !important;
    transition-property: box-shadow !important;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-duration: 300ms !important;
    flex-direction: column !important; /* Ensure column layout */
    background-color: #fff !important;
    border: 1px solid #EEE !important;
    width: calc(33.33% - 2rem) !important; /* Adjust width for 3 cards in a row with spacing */
    max-width: 320px !important; /* Increased max width */
    min-width: 260px !important; /* Minimum width to prevent cards from becoming too narrow */
}

/* Image at the Top */
.s-product-card-image {
    order: 0 !important; /* Image comes first */
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important; /* Changed to cover to fill the container */
    margin-bottom: 0.5rem !important; /* Add spacing below image */
    padding: 0 !important; /* Remove padding */
}

.s-product-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Ensure image covers the entire container */
}

/* Title Below Image */
.s-product-card-content-title {
    order: 1 !important; /* Title comes after image */
}

/* Content Below Title */
.s-product-card-content {
    margin:3px;
    order: 2 !important; /* Content comes after title */
}

.s-product-card-content-title a{
    text-align:center;
}

/* Stats Section */
.stats-section {
    padding: 2rem 0 !important;
    background:white !important;
    text-align: center !important;
}

.stats-container {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.stat-item {
    text-align: center !important;
    transition: var(--transition) !important;
    padding: 1rem !important;
    border-radius: 10px !important;
    box-shadow: var(--shadow-sm) !important;
    background: #fff !important;
}

.stat-icon {
    font-size: 3rem !important;
    color: var(--secondary) !important;
    margin-bottom: 1rem !important;
}

.stat-info {
    color: var(--dark) !important;
}

.stat-number {
    font-size: 2rem !important;
    font-weight: bold !important;
    display: block !important;
    color: var(--secondary) !important;
}

.stat-label {
    font-size: 1rem !important;
    display: block !important;
    margin-top: 0.5rem !important;
    color: var(--dark) !important;
}

/* Mobile View (Column Layout) */
@media (max-width: 768px) {
    .stats-container {
        flex-direction: column !important;
        align-items: center !important;
    }

    .stat-item {
        width: 80% !important;
        margin: 1rem 0 !important;
    }
}

/* Footer Styles */
.store-footer {
    background-color: #111314; /* Dark blue background */
    color: #ffffff; /* White text color */
    /* Padding for top and bottom */
    font-family: 'Readex Pro', sans-serif; /* Font family */
}

.store-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.store-footer__inner h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.store-footer__inner p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.store-footer__inner a {
    color: #60c0fd; /* Light blue color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.store-footer__inner a:hover {
    color: #60c0fd; /* Light blue color on hover */
}

.store-footer__inner .s-social-list {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.store-footer__inner .s-social-list li {
    list-style: none;
}

.store-footer__inner .s-social-list a {
    color: #ffffff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.store-footer__inner .s-social-list a:hover {
    color: #60c0fd;
}

.store-footer__inner .s-contacts {
    margin-top: 2rem;
}

.store-footer__inner .s-contacts-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.store-footer__inner .s-contacts-item span {
    font-size: 1rem;
}

.store-footer__inner .s-payments-list {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Bottom Footer Styles */
.store-footer-bottom {
    background-color: #000000; /* Black background */
    color: #ffffff; /* White text color */
    /* Padding for top and bottom */
    text-align: center;
}

.store-footer-bottom a {
    color: #ffffff; /* White text color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.store-footer-bottom a:hover {
    color: #00ff00; /* Green color on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .store-footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .store-footer__inner .s-social-list {
        justify-content: center;
    }

    .store-footer__inner .s-payments-list {
        justify-content: center;
    }
}

/* Navbar Styles */
.store-header {
    /* Dark blue background */
    /* White text color */
    /* Padding for top and bottom */
    font-family: 'Readex Pro', sans-serif; /* Font family */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
}

.store-header .navbar-brand img {
    padding-top: 5px;

    transition: width 0.3s ease, height 0.3s ease; /* Smooth transition for logo size */
}

/* Responsive Logo Sizes */
@media (min-width: 768px) {
   
}

@media (min-width: 1024px) {
    .store-header .navbar-brand img {
       
    }
}

.store-header .main-nav-container .inner nav a {
    /* White text color for links */

}

.store-header .main-nav-container .inner nav a:hover {
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    background-blend-mode: screen;
    background-color: var(--primary); /* Light blue background on hover */
    color: var(--gradient); /* Dark blue text on hover */
    border-radius: 5px; /* Rounded corners on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .store-header .navbar-brand img {
        width: 2rem; /* Adjusted logo size for mobile */
    }

    .store-header .main-nav-container .inner nav {
        flex-direction: column; /* Stack menu items vertically on mobile */
        align-items: center;
    }

    .store-header .main-nav-container .inner nav a {
        padding: 0.5rem 0;
    }
}

/* Stats Section */
.stats-section {
    padding: 2rem 0;
    background: var(--light);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    transition: var(--transition);
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.stat-info {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
    color: var(--secondary);
}

.stat-label {
    font-size: 1rem;
    display: block;
    margin-top: 0.5rem;
    color: var(--dark);
}

/* Mobile View (Column Layout) */
@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 80%;
        margin: 1rem 0;
    }
}

/* Certificates Page Container */
.content--single-page {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    transition: transform 0.3s ease;
    background: linear-gradient(145deg, #ffffff, var(--light));
}

/* Page Title */
.content--single-page h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.content--single-page h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Content Entry Section */
.content-entry {
    padding: 2rem;
    animation: fadeIn 0.8s ease-out;
}

/* Certificate Paragraphs */
.content-entry p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--dark);
}

.content-entry p strong {
    color: #1a237e;
    font-weight: 600;
}

/* Certificate Images */
.content-entry img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 2rem auto;
    display: block;
}

.content-entry img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(20, 116, 177, 0.2);
}

/* Breadcrumbs Navigation */
.breadcrumbs {
    background: transparent;
    margin-bottom: 2rem;
}

.s-breadcrumb-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.s-breadcrumb-item {
    color: var(--gray);
    transition: color 0.3s ease;
}

.s-breadcrumb-item:hover {
    color: var(--primary);
}

.s-breadcrumb-arrow svg {
    width: 16px;
    height: 16px;
    fill: var(--gray);
}

/* Comments Section */
.s-comments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(20, 116, 177, 0.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .content--single-page {
        padding: 1.5rem !important;
    }

    .content-entry {
        padding: 1rem;
    }

    .content-entry img {
        margin: 1.5rem auto;
    }
}

/* RTL Support */
[dir="rtl"] .s-breadcrumb-arrow svg {
    transform: rotate(180deg);
}

.content-entry p {
    color: #e2e8f0;
}

.content-entry p strong {
    color: #90caf9;
}

.s-breadcrumb-item {
    color: #90caf9;
}

.s-breadcrumb-arrow svg {
    fill: #90caf9;
}

/* Certificate Images Styling */
.content-entry img {
    display: block !important;
    margin: 2rem auto !important;
    max-width: 80% !important;
    height: auto !important;
    border-radius: 15px !important;
    box-shadow: var(--shadow-lg) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.content-entry img:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Certificate Text Alignment */
.content-entry p {
    text-align: center !important;
    margin: 1.5rem auto !important;
    max-width: 800px !important;
}

.content-entry p strong {
    display: block !important;
    margin: 1rem auto !important;
    color: #484a5f !important;
    font-size: 1.2rem !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .content-entry img {
        max-width: 95% !important;
        margin: 1.5rem auto !important;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    salla-slider.photos-slider .swiper-slide{
        width:100%;
    }
    .s-products-list-vertical-cards{
        grid-template-columns: auto;
        gap: 0.625rem;}
        
        .stats-container {
            flex-direction: column;
        }
        
        .main-nav-container {
            height: 70px;
        }
        
        /* ... other mobile styles ... */
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Title Styles for شركاء النجاح */
.success-partners-title {
    font-size: 2.5rem; /* Large font size */
    font-weight: bold; /* Bold text */
    color: var(--primary); /* Primary color */
    text-align: center; /* Center align text */
    margin-bottom: 2rem; /* Space below the title */
    position: relative; /* Position relative for pseudo-elements */
    display: inline-block; /* Inline block for centering */
    cursor: pointer; /* Pointer cursor on hover */
    transition: color var(--transition); /* Smooth transition for color */
}

.success-partners-title::after {
    content: ""; /* Empty content for the line */
    position: absolute; /* Absolute positioning */
    bottom: -10px; /* Position below the title */
    left: 50%; /* Center align */
    width: 0; /* Initial width */
    height: 3px; /* Line height */
    background-color: var(--secondary); /* Secondary color */
    transition: width var(--transition), left var(--transition); /* Smooth transition for width and position */
}

.success-partners-title:hover {
    color: var(--secondary); /* Change color on hover */
}

.success-partners-title:hover::after {
    width: 100%; /* Full width on hover */
    left: 0; /* Align to the left */
}

.custom-cards-container {
    background: none; /* Remove any background */
    padding: 2rem; /* Add padding if needed */
    /* Other styles */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .s-product-card-entry {
        width: 100% !important; /* Full width on mobile */
        margin: 1rem !important; 
        /* Add margin between cards */
       
    }
}

.carousel-slider .swiper-wrapper > div{
margin:1rem;
}

/* Footer Background */
.store-footer__inner {
    background: var(--gradient);
    color: var(--light); /* Default light text color */
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Title Colors */
.store-footer__inner h3,
.s-contacts-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: bold;
    color:#22553f; /* White for better contrast */
    transition: var(--transition);
}

.store-footer__inner h3:hover,
.s-contacts-title:hover {
    color: white; /* Secondary color on hover for emphasis */
    transform: scale(1.05); /* Slight scaling effect */
}

/* Paragraph Text */
.store-footer__inner p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    color: var(--light); /* Light gray for secondary text */
}

/* Social Icons */
.s-social-list {
    display: flex;
    gap: 10px;
    transition: var(--transition);
}

.s-social-link a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.s-social-link a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.s-social-icon svg {
    width: 20px;
    height: 20px;
    fill: white; /* White icons for better visibility */
}

/* Links Section */
.s-menu-footer-item {
    display: block;
    font-size: 1rem;
    color: var(--light); /* Light gray for links */
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.s-menu-footer-item:hover {
    color: white; /* White on hover for emphasis */
    transform: translateX(5px);
}

/* Contact Section */
.s-contacts-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--light); /* Light gray for contact info */
    text-decoration: none;
    transition: var(--transition);
}

.s-contacts-item:hover {
    color: white; /* White on hover for emphasis */
    transform: translateX(5px);
}

.s-contacts-icon svg {
    width: 20px;
    height: 20px;
    fill: white; /* White icons for better visibility */
}

/* Animation for elements */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .lg\:grid-cols-6 {
        grid-template-columns: 1fr;
    }

    .lg\:col-span-2,
    .rtl\:lg\:pl-20,
    .ltr\:lg\:pr-20 {
        padding: 0;
    }
}
.navbar-brand img{
max-height:5rem;
}

/* القاعدة الأساسية للـ navbar */
.navbar-container {
    background: linear-gradient(to right, #3B82F6, #1D4ED8); /* التدرج اللوني */
    backdrop-filter: blur(12px); /* تأثير الضبابية الزجاجي */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

/* تأثيرات الشعار */
.navbar-brand {
    padding: 0.75rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

/* عناصر القائمة الرئيسية */
.main-menu li a {
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.main-menu li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.main-menu li a:hover {
    color: red ;
}

.main-menu li a:hover::before {
    width: 100%;
}

/* أيقونة عربة التسوق */
.s-cart-summary-count {
    background: green;
    color: black;
    border-radius: 9999px;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* القائمة الموبايل */
@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.mobile-menu {
    animation: slideIn 0.3s ease-out;
}

/* حالة التمرير */
.scrolled-nav {
    background: var(--gradient) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
}

.scrolled-nav .main-menu li a {
    color: var(--gradient);
}

.scrolled-nav .main-menu li a::before {
    background: var(--gradient);
}

/* الأيقونات الجانبية */
.header-btn__icon {
    color: blue;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.header-btn__icon:hover {
    color: #BFDBFE;
}

salla-slider.photos-slider .swiper-slide{
width:100%
}
.s-slider-block__title{
color:var(--gradient);
}
banner-text{
color:white;
}

.store-footer__inner h3, .s-contacts-title{
margin:auto;
padding-bottom:10px;
}

.store-footer__inner a{
color:white !important;
}
salla-slider.photos-slider .swiper-slide{
width:90%;
}

@media (max-width: 768px) {
salla-slider.photos-slider .swiper-slide{
width:100% !important;
}
.store-header .navbar-brand img{

width:4rem;
}
}

.social-dropdown a {
font-weight:bold;
margin-bottom:2rem;
}
.main-nav-container.fixed-pinned .main-menu>li>a{
margin-bottom:1rem;

}

main-nav-container.fixed-pinned .navbar-brand img {
    max-height: fit-content !important;
}

salla-social.s-social-list ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

salla-social.s-social-list .s-social-link {
    display: inline-block;
}

salla-social.s-social-list .s-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

salla-social.s-social-list svg {
    width: 24px;
    height: 24px;
}

.custom-card .face1 h3{

text-align:center;
}

.custom-cards-title {
    /* تدرج لوني يتناسب مع ألوان الموقع الرئيسية */
    background: linear-gradient(45deg, #1bab93 0%, #1474b1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    
    /* تنسيق النص ووضعه في المنتصف */
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    padding: 0.5em 0.5em 0.8em;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-width: max-content;
    
    /* تأثير الكتابة */
    border-right: 4px solid #1bab93;
    white-space: nowrap;
    overflow: hidden;
    animation: 
        typing 3.5s steps(30, end),
        blink-caret 0.75s step-end infinite,
        title-glow 3s ease-in-out infinite alternate;
    
    /* تأثيرات إضافية */
    text-shadow: 0 2px 4px rgba(20, 116, 177, 0.2);
    position: relative;
    transition: all 0.4s ease;
}

/* إضافة خط تحت العنوان */
.custom-cards-title::after {
    content: '';
    position: absolute;
    bottom: 0.4em;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1bab93, #1474b1);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* تأثير المرور على العنوان */
.custom-cards-title:hover {
    transform: translateY(-3px);
    text-shadow: 0 4px 8px rgba(20, 116, 177, 0.3);
}

.custom-cards-title:hover::after {
    width: 120px;
}

/* تأثير الضوء المتوهج */
@keyframes title-glow {
    0% {
        filter: hue-rotate(0deg);
        transform: scale(1);
        opacity: 0.95;
    }
    100% {
        filter: hue-rotate(10deg);
        transform: scale(1.02);
        opacity: 1;
    }
}

/* تأثير الكتابة - يبدأ من عرض 0 ثم يكبر ليظهر النص كاملاً */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* تأثير وميض المؤشر */
@keyframes blink-caret {
    from, to { border-right-color: transparent }
    50% { border-right-color: #1bab93 }
}

/* تحسين الاستجابة للشاشات المختلفة */
@media (max-width: 768px) {
    .custom-cards-title {
        font-size: 2rem;
        padding: 0.4em 0.4em 0.7em;
        animation-duration: 2.5s, 0.75s, 3s;
    }
    
    .custom-cards-title::after {
        height: 2px;
        width: 60px;
    }
    
    .custom-cards-title:hover::after {
        width: 90px;
    }
}

#map-container{
width:100%;
}

@media (min-width: 1024px) {
    .store-header .navbar-brand img {
        max-height: 5rem !important;}
    }

@media (max-width: 768px) {
    .store-header .navbar-brand img {
        max-height: fit-content !important;
        width: 4rem;
    }}