/* Main stylesheet - uses CSS variables from design settings (see header) */
:root {
    --primary-color: #0066cc;
    --secondary-color: #0052a3;
    --background-color: #ffffff;
    --text-color: #333333;
    --button-color: #0066cc;
    --font-family: 'Segoe UI', 'Tajawal', 'Cairo', Tahoma, Geneva, Verdana, sans-serif;
    --base-font-size: 16px;
    --line-height: 1.6;
    --heading-1: 2.5rem;
    --heading-2: 2rem;
    --heading-3: 1.75rem;
    --heading-4: 1.5rem;
    --heading-5: 1.25rem;
    --heading-6: 1.1rem;
    /* Footer text on dark background */
    --footer-text: #ecf0f1;
    --footer-text-muted: #bdc3c7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--base-font-size);
    line-height: var(--line-height);
    color: var(--text-color);
    direction: rtl;
    padding-bottom: 60px;
}

/* Global headings – use design settings */
h1, .h1 { font-size: var(--heading-1); font-family: var(--font-family); color: var(--text-color); }
h2, .h2 { font-size: var(--heading-2); font-family: var(--font-family); color: var(--text-color); }
h3, .h3 { font-size: var(--heading-3); font-family: var(--font-family); color: var(--text-color); }
h4, .h4 { font-size: var(--heading-4); font-family: var(--font-family); color: var(--text-color); }
h5, .h5 { font-size: var(--heading-5); font-family: var(--font-family); color: var(--text-color); }
h6, .h6 { font-size: var(--heading-6); font-family: var(--font-family); color: var(--text-color); }

/* Remove underlines from ALL links except product links */
a:not(.product-link),
a:link:not(.product-link),
a:visited:not(.product-link),
a:hover:not(.product-link),
a:active:not(.product-link),
a:focus:not(.product-link) {
    text-decoration: none !important;
}

/* Make product links fit exactly around the card */


.product-link:hover {
    text-decoration: none !important;
    color: inherit !important;
    background: transparent !important;
}

/* Navbar-specific (your blue header) */
.main-header .nav-link,
.navbar-nav a {
    text-decoration: none !important;
}


/* Header Styles */
.main-header {
    background-color: var(--background-color);
    width: 100%;
    position: relative;
}

/* Mobile Top Bar (Menu + Search) */
.mobile-top-bar {
    display: none;
    background-color: var(--primary-color);
    padding: 0.75rem 1rem;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container {
    flex: 1;
}

/* Header Content (Desktop Layout) */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    gap: 2rem;
    background-color: var(--background-color);
}

/* Logo Section */
.logo-section {
    flex-shrink: 0;
}

.logo-img {
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Search Section */
.search-section {
    flex: 1;
    max-width: 400px;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    direction: rtl;
}

.search-input::placeholder {
    color: #999;
    text-align: right;
}

.search-btn {
    position: absolute;
    left: 0.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    color: var(--primary-color);
}

/* Search Wrapper for Autocomplete */
.search-wrapper {
    position: relative;
    width: 100%;
}

/* Search Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--background-color);
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 5px;
    display: none;
    direction: rtl;
}

.search-suggestions.active {
    display: block;
}

/* Suggestion Groups */
.suggestion-group {
    border-bottom: 1px solid #eee;
}

.suggestion-group:last-child {
    border-bottom: none;
}

.suggestion-group-title {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggestion-group-title i {
    color: var(--primary-color);
}

/* Suggestion Items */
.suggestion-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
    gap: 0.75rem;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background-color: #f8f9fa;
    text-decoration: none;
}

.suggestion-item.product-item {
    padding: 1rem;
}

/* Suggestion Image */
.suggestion-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.suggestion-image-placeholder {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    flex-shrink: 0;
}

.suggestion-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 204, 0.12);
    border-radius: 4px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Suggestion Content */
.suggestion-content {
    flex: 1;
    min-width: 0;
}

.suggestion-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.suggestion-title mark {
    background: #fff3cd;
    color: #856404;
    padding: 0;
    font-weight: 700;
}

.suggestion-desc {
    font-size: 0.85rem;
    color: var(--text-color);
    margin-top: 0.25rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.suggestion-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.suggestion-category i {
    font-size: 0.75rem;
}

/* Suggestion Footer */
.suggestion-footer {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.suggestion-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.suggestion-view-all:hover {
    background-color: rgba(0, 102, 204, 0.1);
    text-decoration: none;
}

/* Loading and Empty States */
.suggestion-loading,
.suggestion-empty,
.suggestion-error {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-color);
    font-size: 0.9rem;
}

.suggestion-loading i {
    margin-left: 0.5rem;
    color: var(--primary-color);
}

.suggestion-error {
    color: var(--primary-color);
}

/* Mobile Search Suggestions */
.mobile-top-bar .search-suggestions {
    max-height: 400px;
}

/* Scrollbar Styling for Suggestions */
.search-suggestions::-webkit-scrollbar {
    width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Social Media Icons */
.social-section {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.facebook {
    background-color: #1877f2;
}

.social-icon.twitter {
    background-color: #1da1f2;
}

.social-icon.youtube {
    background-color: #ff0000;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Header Separator Line */
.header-separator {
    height: 4px;
    background-color: var(--primary-color);
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background-color: var(--background-color);
    border-top: 1px solid #ddd;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    display: block;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.menu-list {
    list-style: none;
    padding: 1rem 0;
}

.menu-list li {
    border-bottom: 1px solid #eee;
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-list a {
    display: block;
    padding: 1rem 2rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.menu-list a:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Show mobile top bar and make it sticky */
    .mobile-top-bar {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    /* Hide desktop search */
    .desktop-search {
        display: none;
    }

    /* Adjust header content for mobile */
    .header-content {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .logo-section {
        width: 100%;
        text-align: center;
    }

    .logo-section a {
        display: block;
        width: 100%;
    }

    .logo-img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 80px;
        object-fit: contain;
    }

    .search-section {
        max-width: 100%;
        width: 100%;
    }

    /* Hide social icons on small screens */
    .social-section {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-top-bar {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }
}

/* Floating Contact Buttons - Bottom Sticky */
.floating-contact-buttons {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    transition: transform 0.3s ease;
}

.contact-buttons-container {
    background: linear-gradient(135deg, var(--background-color) 0%, #f8f9fa 100%);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 30px rgba(0, 102, 204, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: row;
    border: 2px solid rgba(0, 102, 204, 0.1);
    backdrop-filter: blur(10px);
    animation: contactGlow 2s ease-in-out infinite alternate;
}

.contact-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.5);
}

.contact-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.contact-btn:active {
    transform: translateY(-2px) scale(1.05);
}

.contact-btn.phone-btn {
    background: linear-gradient(135deg, #1877f2 0%, #0d5fcc 100%);
}

.contact-btn.phone-btn:hover {
    background: linear-gradient(135deg, #0d5fcc 0%, #1877f2 100%);
}

.contact-btn.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
}

.contact-btn.whatsapp-btn:hover {
    background: linear-gradient(135deg, #1da851 0%, #25d366 100%);
}

.contact-text {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    direction: rtl;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 10px rgba(0, 102, 204, 0.3);
}

/* Auto-Scrolling Banner - Bottom Sticky */
.auto-scroll-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    width: 100%;
    padding: 0;
    display: flex;
    align-items: stretch;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    min-height: 45px;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    border-top: 3px solid var(--secondary-color);
}

.scroll-content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--background-color) 0%, #f8f9fa 100%);
    margin-right: 0;
    padding: 0.6rem 1rem;
    overflow: hidden;
    position: relative;
    border-radius: 0 12px 0 0;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

.scroll-icon {
    color: var(--button-color);
    font-size: 1.3rem;
    margin-left: 1rem;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.scroll-text-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.scroll-text {
    color: var(--button-color);
    font-size: 1.05rem;
    font-weight: 700;
    white-space: nowrap;
    display: inline-block;
    animation: scroll-horizontal 40s linear infinite;
    direction: rtl;
    padding-left: 2rem;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(255, 107, 53, 0.1);
}

.scroll-text:hover {
    animation-play-state: paused;
    color: var(--button-color);
}

.text-separator {
    margin: 0 2rem;
    opacity: 0.7;
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Alternative seamless scroll - uncomment if needed */
/*
@keyframes scroll-horizontal {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
*/

.scroll-refresh-btn {
    width: 70px;
    background: var(--button-color);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border-radius: 12px 0 0 0;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.scroll-refresh-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.scroll-refresh-btn:hover::before {
    left: 100%;
}

.scroll-refresh-btn:hover {
    filter: brightness(0.9);
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.25);
}

.scroll-refresh-btn i {
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}

.scroll-refresh-btn:active i {
    transform: rotate(360deg);
}

/* Full Screen Breadcrumb */
.fullscreen-breadcrumb {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 1rem 0;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Title Styles */
.article-index-block-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border-top: 4px solid var(--button-color);
}

.article-index-block-title:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
    color: #ffffff;
    background: var(--button-color);
    border-top-color: #ffffff;
}

.article-index-block-title .material-icons {
    font-family: 'Material Icons', sans-serif;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.article-index-block-title:hover .material-icons {
    transform: translateX(-3px);
}

/* Responsive Grid Classes */
.sc-120, .mc-120, .lc-120 {
    flex: 1;
}

.sc-110, .mc-110, .lc-110 {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: right;
    direction: rtl;
}

.sc-10, .mc-10, .lc-10 {
    display: flex;
    align-items: center;
}

/* Flex Utilities */
.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-row-reverse {
    display: flex;
    flex-direction: row-reverse;
}

/* Products Page Styles */
.products-header {
    margin-bottom: 2rem;
    text-align: right;
    direction: rtl;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0;
    font-size: 0.95rem;
    margin: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: visible;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background-color: #f8f9fa;
    white-space: nowrap;
    flex-shrink: 0;
}

.breadcrumb-link:hover {
    color: #ffffff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.breadcrumb-link::before {
    content: '\f015'; /* FontAwesome home icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.9em;
}

.breadcrumb-separator {
    color: var(--text-color);
    font-size: 1em;
    font-weight: 400;
    margin: 0 0.5rem;
}

.breadcrumb-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 0.95em;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background-color: #f8f9fa;
    white-space: nowrap;
    flex-shrink: 0;
}

.breadcrumb-current::before {
    content: '\f1b2'; /* FontAwesome cube icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.85em;
    color: var(--text-color);
}

.products-header-bar {
    background-color: var(--primary-color);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
}

.products-menu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.products-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.products-search-container {
    flex: 1;
    max-width: 400px;
    margin: 0 1.5rem;
}

.products-search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.products-search-input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    direction: rtl;
    transition: border-color 0.3s ease;
}

.products-search-input::placeholder {
    color: var(--text-color);
    text-align: right;
}

.products-search-input:focus {
    border-color: rgba(255, 255, 255, 0.8);
    background-color: var(--background-color);
}

.products-search-btn {
    position: absolute;
    left: 0.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-search-btn:hover {
    color: var(--primary-color);
}

.products-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Products Gallery */
.products-gallery {
    width: 100%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: var(--background-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    margin: 0;
    padding: 0;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    color: #fff;
    pointer-events: none;
}

.product-overlay .share-container {
    pointer-events: auto;
}

.product-title-ar {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    direction: rtl;
    text-align: right;
    line-height: 1.3;
    border-bottom: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
}

.product-info {
    padding: 1rem;
    background-color: var(--background-color);
    border-radius: 0 0 12px 12px;
}

.product-description-ar {
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0.5rem 0 0 0;
    color: var(--primary-color);
    line-height: 1.5;
    direction: rtl;
    text-align: right;
}

/* Share Button Styles */
.share-container {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10;
}

.share-button-group {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.share-toggle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--background-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
    position: relative;
}

.share-toggle-btn:hover {
    background-color: #f8f9fa;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.share-toggle-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.social-share-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 0.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.social-share-icons.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.social-share-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.social-share-link:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-share-link.facebook {
    background-color: #1877f2;
}

.social-share-link.twitter {
    background-color: #1da1f2;
}

.social-share-link.whatsapp {
    background-color: #25d366;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .product-image-container {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .products-header-bar {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .products-search-container {
        max-width: none;
        margin: 0;
        width: 100%;
    }

    .products-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .article-index-block-title {
        padding: 0.875rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .sc-110, .mc-110, .lc-110 {
        font-size: 1.3rem;
    }

    .fullscreen-breadcrumb {
        padding: 0.75rem 0;
    }

    .breadcrumb-container {
        padding: 0 1rem;
    }

    .breadcrumb {
        justify-content: flex-start;
        font-size: 0.85rem;
        gap: 0.25rem;
        flex-wrap: nowrap;
        overflow: visible;
    }

    .breadcrumb-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9em;
        border-width: 1px;
    }

    .breadcrumb-current {
        padding: 0.4rem 0.8rem;
        font-size: 0.85em;
        border-width: 1px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-image-container {
        height: 220px;
    }


    .product-title-ar {
        font-size: 1.1rem;
        padding: 0.4rem 0.8rem;
        border-width: 1px;
    }

    .product-description-ar {
        font-size: 0.85rem;
    }

    .share-toggle-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .social-share-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .product-image-container {
        height: 200px;
    }

    .products-title {
        font-size: 1.3rem;
    }


    .share-container {
        top: 0.5rem;
        right: 0.5rem;
    }

    .article-index-block-title {
        padding: 0.75rem 1rem;
        margin-bottom: 1.25rem;
    }

    .sc-110, .mc-110, .lc-110 {
        font-size: 1.2rem;
    }

    .fullscreen-breadcrumb {
        padding: 0.6rem 0;
    }

    .breadcrumb-container {
        padding: 0 0.75rem;
    }

    .breadcrumb {
        justify-content: flex-start;
        font-size: 0.8rem;
        gap: 0.2rem;
        flex-wrap: nowrap;
        overflow: visible;
    }

    .breadcrumb-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.85em;
        border-width: 1px;
    }

    .breadcrumb-current {
        padding: 0.3rem 0.6rem;
        font-size: 0.8em;
        border-width: 1px;
    }

    /* Enhanced small screen improvements */
    .product-image-container {
        height: 160px;
    }

    .share-toggle-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .product-title-ar {
        font-size: 0.85rem;
        padding: 0.25rem 0.5rem;
        border-width: 1px;
        margin: 0 0 0.2rem 0;
    }

    .product-description-ar {
        font-size: 0.75rem;
        margin: 0.2rem 0 0 0;
    }

    .product-info {
        padding: 0.6rem;
    }

    /* Better grid layout for very small screens */
    .content-wrapper {
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
    
    .main-content {
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .products-gallery {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .product-card {
        margin: 0;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
    }
    
    .product-image-container {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    
    .product-info {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    /* Product detail page responsive enhancements */
    .product-gallery {
        margin-bottom: 2rem;
    }

    .main-product-image {
        height: 300px;
    }

    .thumbnail {
        width: 70px;
        height: 50px;
    }

    .strip-nav {
        width: 32px;
        height: 32px;
    }

    .strip-nav i {
        font-size: 0.7rem;
    }

    .zoom-btn {
        width: 40px;
        height: 40px;
    }

    .zoom-btn i {
        font-size: 1rem;
    }

    .nav-arrow {
        width: 35px;
        height: 35px;
    }

    .nav-arrow i {
        font-size: 0.9rem;
    }

    .image-counter {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .product-details-container {
        gap: 1.5rem;
    }

    .product-info-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .product-description p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .product-description h3 {
        font-size: 1.1rem;
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .spec-item {
        padding: 0.6rem;
    }

    .installation-steps {
        gap: 1rem;
    }

    .step {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .step-number {
        align-self: flex-start;
    }

    .comments-section h2,
    .related-products h2 {
        font-size: 1.3rem;
    }

    .add-comment {
        padding: 1.5rem;
    }

    .add-comment h3 {
        font-size: 1.2rem;
    }

    .comment-form .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }


    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    /* Improve section titles */
    .products-gallery h2,
    .products-gallery .products-title {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 1.25rem;
        padding: 0 0.1rem;
    }

    /* Better search experience */
    .products-search-container {
        margin-bottom: 0.8rem;
        padding: 0 0.5rem;
    }

    .products-search-input {
        font-size: 0.85rem;
        padding: 0.5rem 2.2rem 0.5rem 0.7rem;
        border-radius: 6px;
    }

    .products-search-btn {
        padding: 0.5rem;
        font-size: 0.9rem;
        right: 0.3rem;
    }

    /* Improve menu button */
    .products-menu-toggle {
        padding: 0.5rem;
        font-size: 1.1rem;
        margin-left: 0.5rem;
    }

    /* Better header layout */
    .products-header-bar {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .products-title {
        font-size: 1.1rem;
        flex: 1;
        text-align: center;
        min-width: 0;
    }

    /* Improve overall content spacing */
    .content-wrapper {
        padding: 0.5rem;
    }

    .main-content {
        padding: 0;
    }
}

/* Large screens (1440px and above) */
@media (min-width: 1440px) {
    .content-wrapper {
        max-width: 1400px;
        margin: 0 auto;
    }

    .product-gallery {
        max-width: 1200px;
        margin: 0 auto;
    }

    .product-details-container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .main-product-image {
        height: 600px;
    }

    .thumbnail {
        width: 100px;
        height: 75px;
    }

    .related-products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .comments-section,
    .related-products {
        max-width: 1200px;
        margin: 0 auto;
    }

    .specs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .product-details-title {
        font-size: 3rem;
    }
}

/* Extra large screens (1920px and above) */
@media (min-width: 1920px) {
    .content-wrapper {
        max-width: 1600px;
    }

    .product-gallery,
    .product-details-container,
    .comments-section,
    .related-products {
        max-width: 1400px;
    }

    .main-product-image {
        height: 700px;
    }

    .thumbnail {
        width: 110px;
        height: 85px;
    }

    .related-products-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2.5rem;
    }

    .specs-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-details-title {
        font-size: 3.5rem;
    }
}

/* Admin Panel RTL Support */
.admin-panel {
    direction: rtl;
    text-align: right;
}

.admin-panel .main-sidebar {
    direction: rtl;
}

.admin-panel .nav-sidebar .nav-link p {
    text-align: right;
}

.admin-panel .breadcrumb {
    direction: rtl;
}

.admin-panel .float-right {
    float: left !important;
}

.admin-panel .float-left {
    float: right !important;
}

/* Ultra small screens (320px and below) */
@media (max-width: 320px) {
    .product-details-header {
        margin-bottom: 0.75rem;
    }

    .product-breadcrumb {
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .breadcrumb-link {
        padding: 0.15rem 0.3rem;
        font-size: 0.7rem;
    }

    .breadcrumb-current {
        padding: 0.15rem 0.3rem;
        font-size: 0.7rem;
    }

    .product-gallery {
        margin-bottom: 1.5rem;
    }

    .main-product-image {
        height: 250px;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
    }

    .strip-nav {
        width: 28px;
        height: 28px;
    }

    .strip-nav i {
        font-size: 0.6rem;
    }

    .zoom-btn {
        width: 35px;
        height: 35px;
    }

    .zoom-btn i {
        font-size: 0.9rem;
    }

    .nav-arrow {
        width: 30px;
        height: 30px;
    }

    .nav-arrow i {
        font-size: 0.8rem;
    }

    .image-counter {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    .product-thumbnails {
        gap: 0.2rem;
    }

    .thumbnail {
        width: 50px;
        height: 40px;
    }

    .product-details-container {
        gap: 1rem;
    }

    .product-info-section h2 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .product-description p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .product-description h3 {
        font-size: 1rem;
    }

    .spec-item {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .step-content h4 {
        font-size: 0.95rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .comments-section h2,
    .related-products h2 {
        font-size: 1.1rem;
    }

    .add-comment {
        padding: 1.25rem;
    }

    .add-comment h3 {
        font-size: 1.1rem;
    }

    .comment-form input,
    .comment-form textarea {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    .submit-comment-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
    }


    .cta-button {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }

    /* Adjust main content spacing for very small screens */
    .content-wrapper {
        padding: 0.25rem;
    }

    .main-content {
        padding: 0;
    }
}


/* Ultra small screens (320px and below) */
@media (max-width: 360px) {
    .product-image-container {
        height: 140px;
    }

    .product-title-ar {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }

    .product-description-ar {
        font-size: 0.7rem;
    }

    .product-info {
        padding: 0.5rem;
    }

    .products-grid {
        padding: 0 0.5rem;
        gap: 0.8rem;
    }
    
    .product-card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    
    .products-gallery {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .products-gallery h2,
    .products-gallery .products-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .products-search-input {
        font-size: 0.8rem;
        padding: 0.45rem 2rem 0.45rem 0.6rem;
    }

    .products-search-btn {
        font-size: 0.8rem;
        padding: 0.45rem;
    }

    .products-menu-toggle {
        padding: 0.4rem;
        font-size: 1rem;
    }

    .products-header-bar {
        padding: 0.5rem 0.6rem;
        gap: 0.6rem;
    }

    .products-title {
        font-size: 1rem;
    }

    .content-wrapper {
        padding: 0.3rem;
    }

    /* Improve floating buttons for very small screens */
    .floating-contact-buttons {
        bottom: 60px;
    }

    .contact-buttons-container {
        padding: 0.4rem 0.6rem;
        gap: 0.5rem;
    }

    .contact-btn {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .contact-text {
        font-size: 0.8rem;
    }
}

/* Responsive adjustments for floating buttons */
@media (max-width: 768px) {
    .floating-contact-buttons {
        left: 50%;
        transform: translateX(-50%);
        bottom: 75px;
    }

    .contact-buttons-container {
        padding: 0.85rem 1.2rem;
        gap: 1rem;
        border-radius: 40px;
    }

    .contact-btn {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .contact-text {
        font-size: 0.95rem;
    }

    .auto-scroll-banner {
        min-height: 40px;
    }

    .scroll-content-wrapper {
        padding: 0.5rem 0.8rem;
        border-radius: 0 10px 0 0;
    }

    .scroll-icon {
        font-size: 1.1rem;
        margin-left: 0.75rem;
    }

    .scroll-text {
        font-size: 0.95rem;
        padding-left: 2rem;
    }

    .scroll-refresh-btn {
        width: 70px;
        font-size: 1.1rem;
        border-radius: 10px 0 0 0;
    }

    body {
        padding-bottom: 55px;
    }
}

@media (max-width: 480px) {
    .floating-contact-buttons {
        left: 50%;
        transform: translateX(-50%);
        bottom: 70px;
    }

    .contact-buttons-container {
        padding: 0.5rem 0.8rem;
        gap: 0.6rem;
    }

    .contact-btn {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .contact-text {
        font-size: 0.9rem;
    }
}

/* Enhanced Responsive Styles for Product Details */
@media (max-width: 768px) {
    .product-details-title {
        font-size: 2rem;
        text-align: center;
    }

    .product-details-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .main-product-image {
        height: 400px;
    }

    .thumbnail {
        width: 80px;
        height: 60px;
    }

    .strip-nav {
        width: 35px;
        height: 35px;
    }

    .strip-nav i {
        font-size: 0.8rem;
    }



    .product-info-section h2 {
        font-size: 1.5rem;
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .spec-item {
        padding: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .spec-item strong {
        font-size: 0.9rem;
    }

    .installation-steps {
        gap: 1rem;
    }

    .step {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .step-number {
        align-self: flex-start;
    }

    .comments-section h2,
    .related-products h2 {
        font-size: 1.5rem;
    }

    .comment {
        padding: 1rem;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .comment-author {
        align-items: center;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .product-details-header {
        margin-bottom: 1.5rem;
    }

    .product-breadcrumb {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .product-breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .product-details-title {
        font-size: 1.5rem;
        margin: 0.5rem 0;
    }

    .product-details-subtitle {
        font-size: 0.9rem;
    }

    .product-gallery {
        margin-bottom: 2rem;
    }

    .product-hero-image {
        height: 300px;
    }

    .product-thumbnails {
        gap: 0.25rem;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
    }

    .product-details-container {
        gap: 1.5rem;
    }

    .product-info-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .product-description p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .product-description h3 {
        font-size: 1.1rem;
    }

    .product-description ul {
        padding-right: 1.5rem;
    }

    .spec-item {
        padding: 0.6rem;
    }

    .spec-item strong,
    .spec-item span {
        font-size: 0.9rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step-content h4 {
        font-size: 1rem;
    }


    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .comments-section h2,
    .related-products h2 {
        font-size: 1.3rem;
    }

    .add-comment {
        padding: 1.5rem;
    }

    .add-comment h3 {
        font-size: 1.2rem;
    }

    .comment-form .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .submit-comment-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Product Details Page Styles */
.product-details-header {
    margin-bottom: 2rem;
    text-align: right;
    direction: rtl;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-details-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin: 1rem 0 0.5rem 0;
    font-weight: 700;
}

.product-details-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 400;
}

/* Modern Product Gallery */
.product-gallery {
    margin-bottom: 3rem;
}

.gallery-container {
    position: relative;
}

/* Main Image Display */
.main-image-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.main-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    background: #f8f9fa;
}

.main-product-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-product-image:hover {
    transform: scale(1.03);
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.zoom-btn:hover {
    background: var(--background-color);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.zoom-btn i {
    color: var(--text-color);
    font-size: 1.2rem;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
}

.main-image-wrapper:hover .nav-arrow {
    opacity: 1;
}

.nav-arrow:hover {
    background: var(--background-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.nav-prev {
    left: 15px;
}

.nav-next {
    right: 15px;
}

.nav-arrow i {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Image Counter */
.image-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Thumbnail Strip */
.thumbnail-strip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.strip-nav {
    background: var(--background-color);
    border: 2px solid #e9ecef;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.strip-nav:hover {
    background: var(--button-color);
    border-color: var(--button-color);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.strip-nav:hover i {
    color: #ffffff;
}

.strip-nav i {
    color: var(--text-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.strip-prev {
    order: -1;
}

.thumbnail-container {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
}

.thumbnail-grid {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.thumbnail {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    flex-shrink: 0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail:not(.placeholder) {
    background: transparent;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--button-color);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.thumbnail.placeholder {
    border: 2px dashed #dee2e6;
    color: #adb5bd;
}

.thumbnail.placeholder i {
    font-size: 1.5rem;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.gallery-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
    background: var(--background-color);
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-nav:hover {
    background: var(--background-color);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: -70px;
}

.modal-next {
    right: -70px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.product-details-container {
    margin-bottom: 3rem;
}

.product-info-section h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--button-color);
}

.product-description {
    margin-bottom: 2.5rem;
    width: 100%;
}

/* Product Description Content - Styled for Summernote HTML output */
.product-description-content {
    font-family: var(--font-family);
    direction: rtl;
    text-align: right;
    line-height: 1.8;
    color: var(--text-color);
}

.product-description-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: right;
}

.product-description-content h1,
.product-description-content h2,
.product-description-content h3,
.product-description-content h4,
.product-description-content h5,
.product-description-content h6 {
    color: var(--text-color);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: right;
    direction: rtl;
}

.product-description-content h1 {
    font-size: 2rem;
    border-bottom: 3px solid var(--button-color);
    padding-bottom: 0.5rem;
}

.product-description-content h2 {
    font-size: 1.75rem;
    border-bottom: 2px solid var(--button-color);
    padding-bottom: 0.5rem;
}

.product-description-content h3 {
    font-size: 1.5rem;
    color: var(--text-color);
}

.product-description-content h4 {
    font-size: 1.3rem;
    color: var(--text-color);
}

.product-description-content h5 {
    font-size: 1.1rem;
    color: var(--text-color);
}

.product-description-content h6 {
    font-size: 1rem;
    color: var(--text-color);
}

.product-description-content ul,
.product-description-content ol {
    padding-right: 2rem;
    margin-bottom: 1.5rem;
    direction: rtl;
    text-align: right;
}

.product-description-content li {
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.8;
}

.product-description-content ul li {
    list-style-type: disc;
}

.product-description-content ol li {
    list-style-type: decimal;
}

.product-description-content blockquote {
    border-right: 4px solid var(--primary-color);
    padding-right: 1.5rem;
    margin: 1.5rem 0;
    color: #6c757d;
    font-style: italic;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    direction: rtl;
    text-align: right;
}

.product-description-content blockquote p {
    margin-bottom: 0.5rem;
}

.product-description-content blockquote p:last-child {
    margin-bottom: 0;
}

.product-description-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.product-description-content a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.product-description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 1.5rem 0;
    display: block;
}

.product-description-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    direction: rtl;
    text-align: right;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

.product-description-content table thead {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

.product-description-content table th {
    background: #f8f9fa;
    font-weight: 600;
    color: var(--text-color);
    padding: 1rem;
    text-align: right;
    border-bottom: 2px solid #dee2e6;
}

.product-description-content table td {
    padding: 0.75rem 1rem;
    text-align: right;
    border-bottom: 1px solid #dee2e6;
    color: var(--text-color);
}

.product-description-content table tbody tr:hover {
    background: #f8f9fa;
    transition: background 0.2s ease;
}

.product-description-content table tbody tr:last-child td {
    border-bottom: none;
}

.product-description-content strong,
.product-description-content b {
    font-weight: 700;
    color: var(--text-color);
}

.product-description-content em,
.product-description-content i {
    font-style: italic;
    color: var(--text-color);
}

.product-description-content u {
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
}

.product-description-content hr {
    border: none;
    border-top: 2px solid #dee2e6;
    margin: 2rem 0;
}

.product-description-content div {
    margin-bottom: 1rem;
}

.product-description-content span {
    display: inline;
}

/* Responsive images */
.product-description-content img[style*="width"],
.product-description-content img[style*="height"] {
    max-width: 100% !important;
    height: auto !important;
}

/* Code blocks (if any) */
.product-description-content pre {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    direction: ltr;
    text-align: left;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    margin: 1.5rem 0;
}

.product-description-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: #e83e8c;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-description-content {
        font-size: 0.95rem;
    }
    
    .product-description-content p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .product-description-content h1 {
        font-size: 1.5rem;
    }
    
    .product-description-content h2 {
        font-size: 1.3rem;
    }
    
    .product-description-content h3 {
        font-size: 1.2rem;
    }
    
    .product-description-content ul,
    .product-description-content ol {
        padding-right: 1.5rem;
    }
    
    .product-description-content table {
        font-size: 0.9rem;
    }
    
    .product-description-content table th,
    .product-description-content table td {
        padding: 0.5rem;
    }
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-right: 4px solid var(--button-color);
}

.spec-item strong {
    color: var(--text-color);
}

.spec-item span {
    color: var(--text-color);
}

.installation-steps {
    display: grid;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--button-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}



.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--button-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Comments Section */
.comments-section {
    margin-bottom: 3rem;
}

.comments-section h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--button-color);
}

.comments-list {
    margin-bottom: 2rem;
}

.comment {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--button-color);
}

.author-info h4 {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
}

.comment-date {
    color: var(--text-color);
    font-size: 0.85rem;
    margin: 0.25rem 0 0 0;
}

.comment-rating {
    color: #ffd700;
    font-size: 1rem;
}

.comment-content p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

/* Comment Form */
.add-comment {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.add-comment h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-form .form-group {
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--button-color);
}

.rating-input {
    display: flex;
    gap: 0.25rem;
}

.rating-input input {
    display: none;
}

.rating-input label {
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease;
}

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #ffd700;
}

.submit-comment-btn {
    background: var(--button-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.submit-comment-btn:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Related Products */
.related-products {
    margin-bottom: 3rem;
}

.related-products h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--button-color);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.5rem;
}

.related-product-card {
    transition: transform 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-5px);
}

/* News Banner */
.news-banner {
    background-color: var(--primary-color);
    width: 100%;
    display: flex;
    align-items: stretch;
    min-height: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.urgent-news-btn {
    background-color: var(--background-color);
    color: var(--primary-color);
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 8px 8px 0;
    font-family: var(--font-family);
    margin-left: auto;
}

.news-scroll-wrapper {
    flex: 1;
    background-color: var(--primary-color);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.news-scroll-text {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 00;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    width: 100%;
    font-family: var(--font-family);
}

/* Content Wrapper */
.content-wrapper {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* Main Content */
main.main-content {
    flex: 1;
    padding: 0;
}

/* Image Carousel */
.image-carousel-container {
    width: 100%;
    background: var(--background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background-color: var(--background-color);
    padding: 1rem;
    padding-bottom: 0.5rem;
    margin: 0;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.carousel-slides {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
    background-color: var(--background-color);
    border: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    border-radius: 0;
    visibility: hidden;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
    position: relative;
    visibility: visible;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

.carousel-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    color: #fff;
    padding: 2rem 1.5rem 1.5rem;
    text-align: right;
    direction: rtl;
}

.carousel-caption h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.carousel-caption p {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.carousel-link-text {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.carousel-link:hover .carousel-link-text {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .carousel-caption {
        padding: 1.5rem 1rem 1rem;
    }
    
    .carousel-caption h3 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-color);
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.carousel-nav:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: rgba(255, 255, 255, 1);
}

.carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-prev {
    right: 20px;
}

.carousel-next {
    left: 20px;
}

.carousel-dots {
    position: relative;
    display: flex;
    background: transparent;
    gap: 0.6rem;
    justify-content: center;
    align-items: center;
    margin-top: 0.75rem;
    padding: 0.5rem 0;
    width: 100%;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(220, 220, 220, 0.8);
    border: 2px solid rgba(200, 200, 200, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: rgba(80, 80, 80, 1);
    border-color: rgba(80, 80, 80, 1);
    border-width: 2px;
    transform: scale(1.15);
}

/* Sidebar */
.main-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    align-self: flex-start;
    z-index: 10;
    max-height: 100vh;
    overflow-y: auto;
}

.sidebar-categories {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    direction: rtl;
}

.sidebar-category:hover {
    background-color: #e9ecef;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(-5px);
}

.sidebar-category i {
    color: #6c757d;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.sidebar-category:hover i {
    transform: translateX(-3px);
    color: var(--primary-color);
}

.sidebar-category span {
    flex: 1;
}

/* Responsive Design for News Banner and Content */
@media (max-width: 768px) {
    .news-banner {
        flex-direction: row;
        min-height: auto;
        background-color: var(--primary-color);
    }

    .urgent-news-btn {
        flex-shrink: 0;
        padding: 0.75rem 1rem;
        border-radius: 0 8px 8px 0;
        font-size: 0.95rem;
        border: none;
        background-color: var(--background-color);
        color: var(--primary-color);
        margin-left: auto;
    }

    .news-scroll-wrapper {
        padding: 0.75rem 1rem;
        flex: 1;
        background-color: var(--primary-color);
    }

    .news-scroll-text {
        font-size: 0.75rem;
        text-align: right;
        line-height: 1.6;
        color: #fff;
        font-weight: 500;
    }

    .content-wrapper {
        flex-direction: column;
        padding: 1rem 0;
    }

    .main-sidebar {
        display: none;
    }

    .carousel-wrapper {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        margin: 0;
        padding: 0.75rem;
        padding-bottom: 0.5rem;
        overflow: visible;
        display: flex;
        flex-direction: column;
    }

    .carousel-slides {
        border-radius: 0;
        border: none;
        margin: 0;
        padding: 0;
    }

    .carousel-slide {
        border-radius: 0;
        margin: 0;
        padding: 0;
    }

    .carousel-slide img {
        border-radius: 0;
        margin: 0;
        padding: 0;
    }

    .carousel-nav {
        display: none;
    }

    .carousel-dots {
        margin-top: 0.75rem;
        gap: 0.5rem;
        width: 100%;
        background: transparent;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
        border-width: 1.5px;
    }

    .carousel-dot.active {
        transform: scale(1.1);
    }
}

/* Footer Styles – uses design theme (primary/secondary) + theme font */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--footer-text);
    font-family: var(--font-family);
    font-size: var(--base-font-size);
    line-height: var(--line-height);
    padding: 2rem 0 1rem 0;
    margin-top: 3rem;
    text-align: right;
    direction: rtl;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-about h3 {
    color: var(--button-color);
    margin-bottom: 1rem;
    font-size: var(--heading-3);
    font-family: var(--font-family);
    font-weight: 600;
}

.footer-about p {
    line-height: var(--line-height);
    color: var(--footer-text-muted);
    margin: 0;
    font-size: 0.95rem;
    font-family: var(--font-family);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--footer-text-muted);
    font-family: var(--font-family);
}

.footer-info a {
    color: var(--button-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

/* Footer responsive styles */
@media (max-width: 768px) {
    footer {
        padding: 1.5rem 0 1rem 0;
        margin-top: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .footer-about h3 {
        font-size: 1.2rem;
    }

    .footer-about p {
        font-size: 0.9rem;
    }

    .footer-social {
        gap: 0.75rem;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 1rem 0 0.75rem 0;
        margin-top: 1.5rem;
    }

    .footer-content {
        padding: 0 0.75rem;
        gap: 1rem;
    }

    .footer-about h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .footer-about p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .footer-info p {
        font-size: 0.8rem;
    }

    .footer-social {
        gap: 0.5rem;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    footer {
        padding: 0.75rem 0 0.5rem 0;
        margin-top: 1rem;
    }

    .footer-content {
        padding: 0 0.5rem;
        gap: 0.75rem;
    }

    .footer-about h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .footer-about p {
        font-size: 0.8rem;
    }

    .footer-info p {
        font-size: 0.75rem;
    }

    .footer-social {
        gap: 0.4rem;
        margin-top: 0.4rem;
        padding-top: 0.4rem;
    }

    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

/* CTA & Contact Section */
.cta-contact-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    direction: rtl;
    font-family: var(--font-family);
    margin: 4rem 0;
}

.cta-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* CTA Block */
.cta-block {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.cta-block h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #fff;
}

.cta-block p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-features {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.cta-feature i {
    color: var(--button-color);
    font-size: 20px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cta-btn.primary {
    background: var(--button-color);
    color: #fff;
}

.cta-btn.primary:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Contact Form Block */
.contact-form-block {
    background: var(--background-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-block h3 {
    font-size: 26px;
    margin-bottom: 25px;
    color: var(--text-color);
}

/* Form */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--button-color);
    background: var(--background-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Submit Button */
.submit-contact-btn {
    margin-top: 10px;
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    background: var(--button-color);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-contact-btn:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Contact Info */
.contact-info {
    margin-top: 30px;
    display: grid;
    gap: 18px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    color: var(--text-color);
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.contact-method:hover {
    background: #e9ecef;
}

.contact-method i {
    font-size: 20px;
    color: var(--button-color);
    width: 24px;
    text-align: center;
}

.contact-method a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: var(--button-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cta-contact-section {
        padding: 60px 20px;
    }

    .cta-contact-container {
        gap: 30px;
    }

    .cta-block,
    .contact-form-block {
        padding: 30px;
    }

    .cta-block h2 {
        font-size: 28px;
    }
}

@media (max-width: 900px) {
    .cta-contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .cta-contact-section {
        padding: 50px 15px;
    }
}

@media (max-width: 768px) {
    .cta-contact-section {
        padding: 40px 15px;
        margin: 3rem 0;
    }

    .cta-block,
    .contact-form-block {
        padding: 25px;
    }

    .cta-block h2 {
        font-size: 24px;
    }

    .cta-block p {
        font-size: 16px;
    }

    .contact-form-block h3 {
        font-size: 22px;
    }

    .cta-feature {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .cta-contact-section {
        padding: 30px 10px;
        margin: 2rem 0;
    }

    .cta-block,
    .contact-form-block {
        padding: 20px;
    }

    .cta-block h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .cta-block p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .cta-feature {
        font-size: 14px;
        gap: 10px;
    }

    .cta-feature i {
        font-size: 18px;
    }

    .cta-btn {
        padding: 12px 18px;
        font-size: 15px;
    }

    .contact-form-block h3 {
        font-size: 20px;
    }

    .contact-method {
        padding: 10px;
        font-size: 14px;
        gap: 12px;
    }

    .contact-method i {
        font-size: 18px;
    }
}

@media (max-width: 320px) {
    .cta-contact-section {
        padding: 20px 10px;
        margin: 1.5rem 0;
    }

    .cta-block,
    .contact-form-block {
        padding: 15px;
    }

    .cta-block h2 {
        font-size: 18px;
    }

    .cta-block p {
        font-size: 14px;
    }

    .contact-form-block h3 {
        font-size: 18px;
    }

    .cta-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .submit-contact-btn {
        padding: 12px;
        font-size: 15px;
    }
}
