﻿
/*=========================================MAIN-START===========================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    color: #333;
    direction: rtl;
    min-height: 100vh;
}

.pad-80 {
    margin: 0px 80px;
}

a {
    text-decoration: none;
    color: inherit;
}


header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    border-bottom: 1px solid #eee;
}

/*=========================================MAIN-END===========================================*/
/*=========================================HOME-START===========================================*/
.logo h1 {
    color: #2c3e50;
    font-size: 24px;
}
/*search-bar*/
.search-bar-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-bar {
    flex: 1;
    display: flex;
}

.search-bar input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
}

.btnforsearch {
    padding: 8px 15px;
    border: none;
    background-color: #f4c27a;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}
/*search-bar 2*/
/*.search-bar {
    display: flex;
    width: 40%;
}

    .search-bar input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px 0 0 4px;
    }

    .search-bar .btnforsearch {
        padding: 10px 15px;
        background-color: #3498db;
        color: white;
        border: none;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
    }*/



.browse-menu {
    font-weight: bold;
    color: white;
    font-size: large;
}
/*=========================================LAYOUT-OF-SLIDER-START===========================================*/
section.main-layout {
    display: flex;
    flex-direction: row;
    height:552px;
}
.AsContainer {
    padding: 0px 80px;
    height: 552px;
}

.main-menu {
    background-color: #2c3e50;
    width: 250px;
    height: 100%;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

 .main-menu ul {
     display: block;
     list-style: none;
     padding: 0;
     height: 100%;
 }

.main-menu ul li {
    position: relative;
}

.main-menu ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
    transition: background-color 0.3s;
}

.main-menu ul li a:hover {
    background-color: #3498db;
}
.dropdown-content {
    display: none;
    position: absolute;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
}

 .dropdown-content a:hover {
     background-color: #ddd;
 }

.dropdown:hover .dropdown-content {
    display: block;
}

/* شريط العروض */
.offers-bar {
    background-color: #e74c3c;
    color: white;
    padding: 10px;
    font-weight: bold;
    margin-top: -10px;
}

.language-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

.language-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
}

.language-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
}

.language-dropdown-content a {
    color: black;
    padding: 8px 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.language-dropdown:hover .language-dropdown-content {
    display: block;
}

.flag-icon {
    width: 20px;
    height: 15px;
    display: inline-block;
    background-size: cover;
}

.flag-icon-eg {
    background-image: url('https://flagcdn.com/w20/eg.png');
}

.flag-icon-us {
    background-image: url('https://flagcdn.com/w20/us.png');
}
.footer {
    background: #1a1a1a;
    color: #ddd;
    padding: 40px 0 20px;
    font-family: 'Cairo', sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #fff;
    border-bottom: 2px solid #3498db;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

 .footer-section ul {
     list-style: none;
     padding: 0;
 }

 .footer-section ul li {
     margin-bottom: 10px;
 }

 .footer-section ul li a {
     color: #ccc;
     text-decoration: none;
     transition: 0.3s;
 }

 .footer-section ul li a:hover {
     color: #3498db;
     padding-right: 5px;
 }

.socials a {
    display: inline-block;
    margin: 0 8px 0 0;
    color: #ccc;
    font-size: 18px;
    transition: 0.3s;
}

.socials a:hover {
    color: #3498db;
    transform: scale(1.1);
}

.map-container iframe {
    border-radius: 12px;
    width: 100%;
    height: 200px;
}

.footer-bottom {
    text-align: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #aaa;
}
/*=========================================SlIDER-START===========================================*/
/* قسم الشرائح */
.slider {
    width: 100%;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.prev {
    right: 20px;
}

.next {
    left: 20px;
}
/*=========================================SlIDER-END===========================================*/
/*=========================================CATEGORY-START===========================================*/
.categories {
 padding: 50px 5%;
/*    padding: 1rem;*/
}

.categories h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 40px;
    color: #2c3e50;
    font-weight: 700;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 20px;
}


.card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.category-card {
    border-radius: 10px;
    overflow: hidden;
}

.category-card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

/* الاسم */
.category-card-h3 {
    margin: 12px 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #0a0000;
}

/* الزر */
.category-card-a {
    width: auto;
    display: inline-block;
    padding: 6px 18px;
    background: #3498db;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
}

.category-card-a:hover {
    background: #2ecc71;
}
/*=========================================CATEGORY-END===========================================*/
/*=========================================PRODUCT-DETAILS-START===========================================*/
.featured-products {
    padding: 50px 5%;
    background: #fff;
}

.featured-products h2 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #222;
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
     grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    /*grid-template-columns: repeat(5, 1fr);*/ /* 5 أعمدة */

    gap: 20px;
}

.product-card {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

/*.price {
    font-size: 16px;
    font-weight: bold;
    color: #e67e22;
    margin-bottom: 12px;
}*/


.price {
    font-size: 18px;
    font-weight: 700;
    color: rgb(230, 126, 34);
    display: block;
    margin-bottom: 4px;
}

/*.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 14px;
    margin-left: 6px;
}*/

.product-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.product-actions button,
.product-actions a {
    flex: 1;
    padding: 8px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
}

/*REPEATED IN LINE 680*/

.view-details-btn {
    background: #eee;
    background: rgb(0, 24, 48);
    line-height: 32px;
}
/*=========================================PRODUCT-DETAILS-END===========================================*/
/*=========================================ADD-TO-CART-START===========================================*/
/* تنسيقات عداد السلة */
.cart-icon-container {
    position: relative;
    display: inline-block;
}

.cart-count {
    position: absolute;
    top: -10px;
    left: -10px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
}


@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.cart-count.pulse {
    animation: pulse 0.5s ease-in-out;
}


.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
}

.btn:hover {
    background-color: #2980b9;
}

.quantity-controls {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background-color: #e0e0e0;
}

.quantity {
    margin: 0 10px;
    min-width: 20px;
    text-align: center;
}

.item-total {
    font-weight: bold;
    color: #e74c3c;
    margin-top: 5px;
}
/* تنسيقات أزرار المنتج */
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}


.view-details-btn {
    flex: 1;
    background-color: #001830;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.view-details-btn:hover {
    background-color: #1a252f;
}
/*=========================================-ADD-TO-CART-START===========================================*/

/*Add to cart*/
.cart-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.cart-items {
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

    .cart-item img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        margin-left: 20px;
    }

.item-details {
    flex: 1;
}

    .item-details h3 {
        margin-bottom: 5px;
        color: #2c3e50;
    }

.item-price {
    font-weight: bold;
    color: #e74c3c;
}

.item-remove {
    color: #e74c3c;
    cursor: pointer;
    margin-right: 20px;
}

.cart-summary {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.total {
    font-weight: bold;
    font-size: 18px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

.checkout-btn {
    display:block;
    text-align:center;
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.empty-cart {
    text-align: center;
    padding: 50px 0;
}

    .empty-cart i {
        font-size: 50px;
        color: #ddd;
        margin-bottom: 20px;
    }

.content-wrapper {
    flex: 1;
}

/*==============*/
.quantity-button {
    display: block;
    background-color: #001830;
    width: 30px;
    height: 30px;
    outline: none;
    border: solid 2px #001830;
    font-size: 15px;
    font-weight: bold;
    border-radius: 60px;
    text-align: center;
    color: white;
}

.sub-title {
    font-size: 13px;
    font-weight: bold;
    margin-right: 35px;
}
/* خاصه ب category */
/* تنسيقات صفحة التصنيف */
.category-container {
    padding: 30px 5%;
    background-color: #fff;
}

.category-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

    .category-header h1 {
        color: #2c3e50;
        font-size: 32px;
        margin-bottom: 10px;
    }

    .category-header p {
        color: #7f8c8d;
        font-size: 18px;
    }

.filter-section {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.filter-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

    .filter-options select {
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        min-width: 250px;
    }

.price-range {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .price-range input[type="range"] {
        width: 200px;
    }

#products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}


.product-card .product-description {
    color: #7f8c8d;
    font-size: 14px;
    margin: 10px 0;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*=========================================-START===========================================*/
.faqgroup {
    padding: 0 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.seconddrycolor {
    background: #001830;
}

.baseseconddrycolor {
    color: #001830;
}

.communication {
    padding: 0 20px;
    /* background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%); */
}

h2 {
    text-align: center;
    font-size: 2rem;
    color: #0066cc;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(135deg, #0099ff, #0066cc);
    border-radius: 2px;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.contact-info {
    flex: 1;
    min-width: 280px;
    padding: 25px;
    background: #001830;
    color: #fff;
    border-radius: 15px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

.contact-details {
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    flex-shrink: 0;
}

.contact-text {
    flex-grow: 1;
}

.contact-text span {
    display: block;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-text p {
    font-size: 1rem;
    margin: 0;
    direction: ltr;
    unicode-bidi: embed;
    text-align: left;
    word-break: break-word;
}

form {
    flex: 1.5;
    min-width: 280px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

form label {
    font-weight: 600;
    color: #444;
    font-size: 1rem;
}

form input,
form textarea {
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 16px;
    line-height: 1.6;
    min-height: 48px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

form textarea {
    min-height: 120px;
    resize: vertical;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: #0099ff;
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.2);
    background: #fff;
}

form button {
    background: linear-gradient(135deg, #0099ff, #0066cc);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

form button:hover {
    background: linear-gradient(135deg, #0066cc, #0099ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.3);
}

.social-media {
    margin-top: 20px;
    text-align: center;
}

.social-media h4 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

 .social-icons a:hover {
     background: #fff;
     color: #0066cc;
     transform: translateY(-3px);
 }
.Whoarewe {
    padding: 80px 10px;
    background: linear-gradient(to bottom, #ffffff, #f0f8ff);
    position: relative;
    overflow: hidden;
}
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

    .about-text p {
        font-size: 1.2rem;
        line-height: 1.8;
        color: #444;
        text-align: justify;
        margin-bottom: 20px;
    }

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

    .about-image img {
        max-width: 100%;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }



.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 60px;
    background: linear-gradient(135deg, #0066cc, #0099ff);
    padding: 40px 20px;
    border-radius: 15px;
    color: #fff;
}

.stat {
    text-align: center;
    padding: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.2rem;
}

.decoration {
    position: absolute;
    z-index: 1;
}

.decoration-1 {
    top: 50px;
    left: 5%;
    width: 100px;
    height: 100px;
    background: rgba(0, 153, 255, 0.1);
    border-radius: 50%;
}

.decoration-2 {
    bottom: 80px;
    right: 10%;
    width: 150px;
    height: 150px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.video-wrap {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 24px auto;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

    .video-wrap video {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }


@supports not (aspect-ratio: 1 / 1) {
    .video-wrap {
        padding-top: 56.25%; /* 16:9 fallback */
    }

        .video-wrap video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
}


.faq-section {
    margin-top: 20px;
}

.faq-question {
    width: 100%;
    text-align: right;
    background: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    border-radius: 8px;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #eee;
}

.faq-answer {
    display: none;
    padding: 10px 15px;
    background: #fff;
    border-radius: 0 0 8px 8px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.faq.active .faq-answer {
    display: block;
}

/* زر القائمة للهواتف */
.hamburger-menu {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1000;
    background-color: #2c3e50;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
}

    .hamburger-menu i {
        font-size: 24px;
    }

/*============================================================================================*/
/*Product Details*/

.product-details-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.product-gallery {
    flex: 1;
    min-width: 300px;
}

.main-image-container {
    position: relative;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    transition: transform 0.3s;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.thumbnail:hover, .thumbnail.active {
    border-color: #3498db;
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 15px;
}

.old-price {
    text-decoration: line-through;
    color: #777;
    font-size: 18px;
    margin-left: 10px;
}

.product-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.add-to-cart-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #0099ff, #0066cc);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.back-btn {
    padding: 12px 25px;
    background-color: #95a5a6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
}

/* زوم الصورة */
.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: zoom-out;
}

.zoomed-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-zoom {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}
/*======================================*/
.force-inline-form {
    flex-direction: row !important;
    align-items: center !important;
    padding: 0 !important;
    gap: 6px !important;
}
/*-----------------------------------------------*/
section.main-layout {
    max-height: 100vh; /* أو height محدد */
    overflow-y: auto;
}

    /* Chrome, Edge, Safari */
    section.main-layout::-webkit-scrollbar {
        width: 5px;
    }

    section.main-layout::-webkit-scrollbar-track {
        background: #000;
    }

    section.main-layout::-webkit-scrollbar-thumb {
        background-color: #444;
        border-radius: 6px;
        border: 1px solid #000;
    }

        section.main-layout::-webkit-scrollbar-thumb:hover {
            background-color: #666;
        }

/* Firefox */
section.main-layout {
    scrollbar-width: thin;
    scrollbar-color: #444 #000;
}

/* خلي الفورم نفسه مرن */
.search-bar.force-inline-form {
    display: flex;
    flex: 1;
    min-width: 220px;
}

.search-bar-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
/*==================User-dropdown===============================*/
.user-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

/* container */
.user-container {
    position: relative;
}

/* user icon */
.user-icon {
    outline: none;
    border: none;
    background-color: transparent;
    font-size: 25px;
    color: #555;
    cursor: pointer;
}

/* dropdown menu */
.menu {
    display: none;
    position: absolute;
    top: 100%; /* تحت الأيقونة مباشرة */
    right: 0;
    min-width: 180px;
    list-style: none;
    background-color: #fff;
    padding: 6px 0;
    margin-top: 6px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
}

/* hover fix */
.user-container:hover .menu {
    display: block;
}

/* menu items */
.menu li {
    display: flex;
    align-items: center;
}

    /* links + buttons */
    .menu li a,
    .menu li button {
        width: 100%;
        padding: 8px 12px;
        font-size: 15px;
        color: #333;
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }

    /* icons unified */
    .menu li i {
        font-size: 16px;
        width: 20px; 
        text-align: center;
    }

    /* hover effect */
    .menu li a:hover,
    .menu li button:hover {
        background-color: #f5f5f5;
    }

/*==================Order-tracking-btn===============================*/
.order-tracking-btn {
    background-color:transparent;
    color: #555;
    font-size:18px;
    cursor:pointer;


}

@media (max-width: 1024px) {
    .slide img{
        object-fit: contain;
    }
}

@media (max-width: 768px) {

    .top-bar {
        flex-direction: column;
        gap: 15px;
    }

    .search-bar {
        width: 100%;
    }

    .main-menu ul {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding: 10px;
        white-space: nowrap;
    }
    .main-menu {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        z-index: 999;
        transition: right 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    }


    .main-menu li {
        flex: 0 0 auto;
    }

    .main-menu a {
        font-size: 14px;
        padding: 6px 10px;
    }

    .dropdown-content {
        position: static;
        width: 100%;
    }

    .slide-content {
        right: 5%;
        max-width: 90%;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .support-section {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .AsContainer {
        padding: 0;
        height: auto;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .categories {
        padding: 1rem;
    }
    .category-card {
        padding: 10px;
    }

   .category-card img {
       width: 100%;
       height: 120px;
       object-fit: cover;
   }

   .category-card h3 {
       font-size: 14px;
       margin: 8px 0;
       text-align: center;
   }

   .category-card a {
       display: block;
       text-align: center;
       font-size: 13px;
   }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-card {
        max-width: 100%;
    }
    .filter-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .price-range {
        width: 100%;
    }

    .price-range input[type="range"] {
        width: 100%;
    }
    .contact-content {
        flex-direction: column;
        overflow: none;
        margin: 0px 15px;
    }

    h2 {
        font-size: 1.6rem;
/*        font-size: 2.2rem;*/
    }

    .contact-info, form {
        padding: 20px;
    }

    .about-content {
        flex-direction: column;
    }

    .feature {
        min-width: 100%;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }

    

    .hamburger-menu {
        display: flex;
    }
   
    .main-menu.active {
        right: 0;
    }
    /* غطاء عند فتح القائمة */
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }

   .overlay.active {
       display: block;
   }

    .product-card {
        max-width: 330px;
    }

    .main-image {
        height: 300px;
    }

    .product-actions {
        flex-direction: column;
    }

    .faq-section {
        margin: 0px 0px;
    }
    .slider {
        min-height: 250px;
    }

    .slide img {
        object-fit: contain; /* للشاشات الصغيرة - الصورة كاملة */
    }

    .prev, .next {
        padding: 10px;
        font-size: 14px;
    }

    .prev {
        right: 10px;
    }

    .next {
        left: 10px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .search-bar-container {
        flex-direction: column;
        align-items: stretch;
    }

    .language-dropdown {
        width: 100%;
    }

    .language-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    .main-menu{
        display:none;
    }
    .slider {
        min-height: 200px;
    }

    .prev, .next {
        padding: 8px;
        font-size: 12px;
    }
    
}








