/*ستيل الازرار */
.button {
    border: none;
    color: white;
    padding:12px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 5px;
    font-family: 'cairo' ;
}

/* ===== أنمط الهيدر والقائم ===== */
.header-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border-radius: 4px;
    background: white;
    padding: 0 10px;
    margin: 0 10px;
}

.header-container > div {
    min-height: 50px;
}

/* أناط أيقونة القام */
.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1000;
    margin: 0;
}

.menu-icon svg {
    width: 100%;
    height: 100%;
}

/* تنسيق لقائمة الرئيسية */
.custom-menu {
    display: flex;
    align-items: center;
}

/* تنسيق الشعار */
.custom-logo-used {
    display: none;
    align-items: center;
}

/* تنسيق وسائل التواصل الاجتماعي */
.custom-social-media {
    display: flex;
    align-items: center;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    padding: 0 15px;
    height: 100%;
}

/* تنسيق سلة التسوق */
.custom-cart {
    display: flex;
    align-items: center;
    padding-right: 5px;
    border-right: 1px solid #e0e0e0;
    height: 100%;
}

.custom-icons-container {
    display: flex;
    align-items: center;
}

/* ===== أنم قائمة التنقل الرئيسية ===== */
.nav-menu {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    margin: 0;
}

.nav-menu li {
    margin-right: 15px;
    position: relative;
}

.nav-menu li a {
    text-decoration: none;
    font-size: 16px;
    color: #666666;
    font-weight: bold;
}

#navMenu a:hover {
    color: red !important;
}

/* ===== أنماط القوائم الفرعية ===== */
.submenu {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 10px;
    z-index: 1000;
    width: 200px;
    right: 0;
    top: 25px;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.submenu li {
    margin: 10px 0;
    list-style: none;
}

.submenu.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.has-submenu {
    cursor: pointer;
    position: relative;
}

.has-submenu > a::after {
    content: "▼";
    margin-right: 5px;
    font-size: 10px;
    display: inline-block;
}

/* ===== أنماط زر التوصيل ===== */
.delivery-button {
    line-height: 1;
    display: block;
    padding: 20px 30px;
    background-color: transparent;
    border: 1px solid white;
    text-decoration: none;
}

.delivery-button:hover {
    background-color: #FE0202;
}

/* ===== أنماط عناصر ااصال في الهيدر ===== */
.text-item-header {
    color: white;
    font-size: 16px;
    font-weight: 400;
}

.contact-container-header {
    padding: 10px 15px;
}

.contact-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.icon-header {
    width: 40px;
    height: 40px;
    fill: white;
}

/* ===== استايلات الشاشات المتوسطة والكبيرة ===== */
@media (min-width: 769px) {
    /* إاف الفاصل العموي بين عناصر القائمة */
    .nav-menu li:not(:last-child)::after {
        content: "|";
        margin-right: 15px;
        color: #bbb;
    }
    
    /* التأكد من عدم ظور الفاصل المودي في القوائم الفرعية */
    .submenu li::after {
        content: none !important;
    }
    
    /* ظور القائمة الفرعة عند تويم الماوس */
    .has-submenu:hover .submenu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== استايلات الششات الصغيرة ===== */
@media (max-width: 768px) {
    /* أنماط القائمة */
    .menu-icon {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        background-color: white;
        width: 100%;
        position: absolute;
        top: 50px;
        right: 0;
        padding: 10px 0;
        z-index: 999;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-menu.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu li {
        margin: 10px 0;
        padding: 0 20px;
    }
    
    /* تعديل عرض القوائم الفرية */
    .submenu {
        position: static;
        box-shadow: none;
        width: 100%;
        padding: 0;
        margin-top: 10px;
        background-color: #f9f9f9;
        display: none;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
    }
    
    .submenu li {
        padding: 5px 20px;
    }
    
    .submenu.show {
        display: block;
        max-height: 500px;
        opacity: 1;
        padding: 5px 0;
    }
    
    /* أنماط الهيدر */
    .custom-menu {
        border-left: 1px solid #e0e0e0;
        padding-left: 10px;
    }
    
    
    .custom-social-media {
        display: none !important;
    }
    
    .fixed-height{
        height: 190px;
    }

    .header-container {
        margin: 0 10px;
    }
    
    .sticky {
        position: fixed;
        top: 0;
        width: -webkit-fill-available;
        z-index: 1000;
        margin: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: unset;
    }
}

/* ===== استايلت الشاشات لصغير جداً ===== */
@media only screen and (max-width: 600px) {
    .desktop-part {
        display: none !important;
    }
    
    .ft-center {
        justify-content: center; 
    }
    
    .sized-logo {
        width: 50%;
        margin: auto;
    }
    
    .fixed-height{
        height: 90px;
    }
	    .custom-logo-used {
        display: flex !important;
    }
}

.contact-item {
    display: flex;
    margin-bottom: 15px;
}

.contact-icon {
    margin-left: 10px;
    width: 16px;
    height: 16px;
    fill: white;
}

.contact-text {
    font-size: 16px;
}

a {
    color: #ff3a2d;
    text-decoration: none;
}


/* style title and desc for sections */
        .services-container {
            margin: 50px auto;
            max-width: 800px;
            text-align: center;
        }
        .title-section {
            margin-bottom: 20px;
        }
        .line {
            display: inline-block;
            width: 20px;
            height: 3px;
            background-color: #ff3b30;
            margin: 0 15px;
            vertical-align: middle;
        }
        .h2-title {
            display: inline-block;
            color: #ff3b30;
            font-weight: bold;
            margin: 0;
            vertical-align: middle;
        }
        .subtitle {
            color: #666;
            margin-top: 10px;
        }

/* remove bottom space from a */
.custom-logo-used a {
    font-size: 0;
}


/* fixed tawsil btn at bottom */
.tawsil-btn {
    position: fixed;
    bottom: 20px;
	right: 20px;
    z-index: 1000;
    background-color: #ff3a2d;
    font-weight: bold;
}

.tawsil-btn:hover {
    background-color: black;
    color: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate__fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 0.5s; /* مدة "Normal" */
    animation-fill-mode: both;
}

/* style of buy now*/
a.button.custom-buy-btn {
    background: #ff3a2d;
    display: block;
    border-radius: unset;
	font-weight: bold;
	font-size: 18px;
}
a.button.custom-buy-btn:hover {
    background: black;
}
/* add classes that flyingpress remove it */
.has-text-align-center {
    text-align: center;
}
.has-border-color {
    border: solid;
}
/* remove top-padding from footer */
footer.wp-block-template-part {
    margin-block-start: 0;
}

/* edit search icon of cheackout & cart header */
.wp-block-search__button svg {
    height: 30px;
    width: 30px;
    fill: #ff3a2d;
    vertical-align: text-bottom;
}
button.wp-block-search__button.has-icon.wp-element-button {
	    cursor: pointer;
    padding: 0;
    margin: 0;
	    padding-right: 5px;

}


/* جدول الطلب */
.woocommerce-checkout table.shop_table {
  width: 100%;
}
.woocommerce-checkout table.shop_table th {
  border-right: 1px solid #e6e6e6;
}
.woocommerce-checkout table.shop_table td {
  border-right: 1px solid #e6e6e6;
}


/* الأزرار */
.woocommerce button.button.alt {
  background: #046bd2 !important;
  font-weight: 500;
}
.woocommerce button.button.alt:hover{
  background: #034997 !important;
}


/* زر إتمام الطلب */
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
  width: 100%;
  padding: 1em;
  font-size: 1.25em;
}

@media only screen and (min-width: 650px) {
/* تخطيط الصفحة */
.woocommerce-checkout .woocommerce .col2-set {
  width: 47.826%;
  float: right;
  margin-left: 4.347%;
}
.woocommerce-checkout .woocommerce .col2-set .col-1,
.woocommerce-checkout .woocommerce .col2-set .col-2 {
  width: 100%;
  float: none;
}
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  width: 47.826%;
  float: right;
}
}





   /* صفحة عنوان صيني*/
        .page-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        
        .hero {
            text-align: center;
            margin-bottom: 60px;
            background: linear-gradient(135deg, #1a237e, #283593);
            color: white;
            padding: 60px 20px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }
        
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            font-weight: 900;
        }
        
        .hero p {
            font-size: 1.5rem;
            margin-bottom: 30px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .pricing-plans {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
            margin-bottom: 60px;
        }
        
        .pricing-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            padding: 40px 30px;
            text-align: center;
            transition: all 0.3s ease;
            flex: 1;
            min-width: 280px;
            max-width: 350px;
            position: relative;
            overflow: hidden;
        }
        
        .pricing-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        
        .pricing-card.best-value::before {
            content: "أفضل قيمة";
            position: absolute;
            top: 20px;
            left: -35px;
            background: #ff6b6b;
            color: white;
            padding: 5px 40px;
            transform: rotate(-45deg);
            font-weight: bold;
        }
        
        .pricing-card .price {
            font-size: 2.5rem;
            font-weight: 900;
            color: #1a237e;
            margin: 15px 0;
        }
        
        .period {
            font-size: 1.2rem;
            color: #777;
        }
        
        .btn {
            display: inline-block;
            background: linear-gradient(135deg, #1a237e, #283593);
            color: white;
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            margin-top: 20px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1.1rem;
        }
        
        .btn:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .services {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .service-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            padding: 30px;
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
            overflow: hidden;
        }
        
        .service-card::before {
            content: "";
            position: absolute;
            z-index: -1;
            top: -15px;
            right: -15px;
            background: linear-gradient(135deg, #1a237e11, #28359311);
            height: 32px;
            width: 32px;
            border-radius: 32px;
            transform: scale(1);
            transform-origin: 50% 50%;
            transition: transform 0.3s ease-out;
        }
        
        .service-card:hover::before {
            transform: scale(30);
        }
        
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        
        .service-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: #1a237e;
            position: relative;
        }
        
        .service-card h3::after {
            content: '';
            width: 50px;
            height: 3px;
            background: #1a237e;
            position: absolute;
            bottom: -8px;
            right: 0;
        }
        
        .service-card p {
            color: #555;
            font-size: 1.1rem;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            font-size: 2.5rem;
            color: #1a237e;
            position: relative;
            padding-bottom: 15px;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            width: 100px;
            height: 4px;
            background: linear-gradient(135deg, #1a237e, #283593);
            bottom: 0;
            right: 50%;
            transform: translateX(50%);
        }
        
        @media (max-width: 768px) {
            .pricing-card {
                min-width: 250px;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.2rem;
            }
        }
        /* أنماط حاسبة الشحن */
.calculator-section {
    margin-bottom: 60px;
}

.calculator-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 30px;
    max-width: 500px;
    margin: 0 auto;
}

.calculator-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.control-group label {
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
}

.calculator-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
    width: 100%;
    font-family: cairo;
}

.calculator-result {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-right: 5px solid #1a237e;
}

.result-label {
    font-weight: bold;
    font-size: 1.1rem;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1a237e;
}

#calculate-btn {
    margin-top: 10px;
        font-family: 'Cairo';
}