/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* beIN Arabic Font - الخط الأصلي المحلي */
@font-face {
    font-family: "bein-arabic";
    src: url('../fonts/beINNewArabicFont2017-Regular.eot');
    src: url('../fonts/beINNewArabicFont2017-Regular.eot?#iefix') format("embedded-opentype"),
         url('../fonts/beINNewArabicFont2017-Regular.woff') format("woff"),
         url('../fonts/beINNewArabicFont2017-Regular.ttf') format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "bein-arabic";
    src: url('../fonts/beINNewArabicFont2017-Light.eot');
    src: url('../fonts/beINNewArabicFont2017-Light.eot?#iefix') format("embedded-opentype"),
         url('../fonts/beINNewArabicFont2017-Light.woff') format("woff"),
         url('../fonts/beINNewArabicFont2017-Light.ttf') format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "bein-arabic";
    src: url('../fonts/beINNewArabicFont2017-Bold.eot');
    src: url('../fonts/beINNewArabicFont2017-Bold.eot?#iefix') format("embedded-opentype"),
         url('../fonts/beINNewArabicFont2017-Bold.woff') format("woff"),
         url('../fonts/beINNewArabicFont2017-Bold.ttf') format("truetype");
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: 'bein-arabic', 'Arial', sans-serif;
    direction: rtl;
    text-align: right;
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.6;
    font-weight: 400;
    padding-top: 65px; /* مساحة للهيدر الثابت */
}

.site-main{
    min-height: 79vh;
}
/* General Button Font Family - الخط العام للأزرار */
button, 
input[type="button"], 
input[type="submit"], 
.btn, 
.button, 
a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.woocommerce-page a.button {
    font-family: 'bein-arabic', 'Arial', sans-serif !important;
}

/* Font Awesome Fallback - بدائل للأيقونات */
.fa-bars:before { content: "☰"; }
.fa-times:before { content: "✕"; }
.fa-home:before { content: "🏠"; }
.fa-shopping-cart:before { content: "🛒"; }
.fa-arrow-left:before { content: "←"; }
.fa-search:before { content: "🔍"; }
.fa-phone:before { content: "📞"; }
.fa-envelope:before { content: "✉"; }
.fa-whatsapp:before { content: "📱"; }
.fa-star:before { content: "⭐"; }
.fa-check-circle:before { content: "✓"; }
.fa-tv:before { content: "📺"; }
.fa-mobile-alt:before { content: "📱"; }
.fa-headset:before { content: "🎧"; }
.fa-globe:before { content: "🌍"; }
.fa-clock:before { content: "⏰"; }
.fa-users:before { content: "👥"; }
.fa-shield-alt:before { content: "🛡"; }
.fa-bolt:before { content: "⚡"; }
.fa-chevron-right:before { content: "▶"; }
.fa-chevron-left:before { content: "◀"; }
.fa-box-open:before { content: "📦"; }

/* Ensure Font Awesome icons are visible */
.fa, .fas, .far, .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome" !important;
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Font Awesome Webfonts - خطوط Font Awesome البديلة */
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("../vendor/fontawesome/webfonts/fa-solid-900.woff2") format("woff2"),
         url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("../vendor/fontawesome/webfonts/fa-regular-400.woff2") format("woff2"),
         url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-regular-400.woff2") format("woff2");
}

@font-face {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("../vendor/fontawesome/webfonts/fa-brands-400.woff2") format("woff2"),
         url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-brands-400.woff2") format("woff2");
}

/* Cart Button Styles */
.cart-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border-radius: 25px;
    padding: 10px 20px;
    text-decoration: none;
    font-family: 'bein-arabic', 'Arial', sans-serif;
    /* font-weight: 600; */
    transition: all 0.3s ease;
}

.cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgb(139 92 246);
    color: white;
    text-decoration: none;
}

.cart-button i {
    font-size: 1.1rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fff;
    color: #ee5a24;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 2px solid #ee5a24;
    animation: pulse 2s infinite;
}

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

/* WooCommerce Cart Page Styles */
.woocommerce-cart .woocommerce {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.woocommerce-cart table.cart {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.woocommerce-cart table.cart th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px;
    font-weight: 600;
}

.woocommerce-cart table.cart td {
    border: none;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-cart table.cart tr:hover {
    background: #f8f9fa;
}

.woocommerce-cart .product-thumbnail img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.woocommerce-cart .product-thumbnail img:hover {
    transform: scale(1.05);
}

.woocommerce-cart .product-name a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.woocommerce-cart .product-name a:hover {
    color: #667eea;
}

.woocommerce-cart .product-price {
    font-weight: bold;
    color: #667eea;
    font-size: 1.1rem;
}

.woocommerce-cart .quantity input[type="number"] {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    width: 80px;
    transition: border-color 0.3s ease;
}

.woocommerce-cart .quantity input[type="number"]:focus {
    outline: none;
    border-color: #667eea;
}

.woocommerce-cart .product-remove a {
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce-cart .product-remove a:hover {
    background: #ee5a24;
    transform: scale(1.1);
}

/* Cart Totals */
.woocommerce-cart .cart-collaterals {
    margin-top: 30px;
}

.woocommerce-cart .cart_totals {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.woocommerce-cart .cart_totals h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.woocommerce-cart .shop_table {
    border: none;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.woocommerce-cart .shop_table th,
.woocommerce-cart .shop_table td {
    border: none;
    padding: 15px;
    background: rgba(255,255,255,0.05);
}

.woocommerce-cart .shop_table .order-total {
    background: rgba(255,255,255,0.2);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Cart Actions */
.woocommerce-cart .wc-proceed-to-checkout {
    margin-top: 20px;
}

.woocommerce-cart .checkout-button {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-family: 'bein-arabic', 'Arial', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(238, 90, 36, 0.3);
    text-align: center;
}

.woocommerce-cart .checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(238, 90, 36, 0.4);
    color: white;
    text-decoration: none;
}

.woocommerce-cart .return-to-shop {
    margin-top: 20px;
}

.woocommerce-cart .return-to-shop a {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.woocommerce-cart .return-to-shop a:hover {
    background: white;
    color: #667eea;
    text-decoration: none;
}

/* Empty Cart */
.woocommerce-cart .cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.woocommerce-cart .cart-empty h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 2rem;
}

.woocommerce-cart .cart-empty p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.woocommerce-cart .cart-empty .return-to-shop a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.woocommerce-cart .cart-empty .return-to-shop a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-cart .woocommerce {
        padding: 20px 15px;
        margin: 10px;
    }
    
    .woocommerce-cart table.cart {
        font-size: 0.9rem;
    }
    
    .woocommerce-cart table.cart th,
    .woocommerce-cart table.cart td {
        padding: 10px 8px;
    }
    
    .woocommerce-cart .product-thumbnail img {
        width: 60px;
        height: 60px;
    }
    
    .woocommerce-cart .quantity input[type="number"] {
        width: 60px;
        padding: 6px 8px;
    }
    
    .woocommerce-cart .cart_totals {
        padding: 20px;
    }
    
    .woocommerce-cart .checkout-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* WooCommerce Shop Page Styles */
.woocommerce-page .woocommerce {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 20px 0;
}

/* Shop Header */
.woocommerce-page .page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.woocommerce-page .page-header h1 {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.woocommerce-page .page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

/* Shop Filters */
.woocommerce-page .woocommerce-ordering {
    margin-bottom: 30px;
    text-align: center;
}

.woocommerce-page .woocommerce-ordering select {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.woocommerce-page .woocommerce-ordering select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}


/* Product Image */
.woocommerce-page .product .woocommerce-loop-product__link {
    display: block;
    position: relative;
    overflow: hidden;
}

.woocommerce-page .product img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.woocommerce-page .product:hover img {
    transform: scale(1.05);
}

/* Product Badge */
.woocommerce-page .product .onsale {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(238, 90, 36, 0.3);
}

/* Product Info */
.woocommerce-page .product .woocommerce-loop-product__title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 20px 0 10px 0;
    color: #333;
    padding: 0 20px;
    line-height: 1.4;
}

.woocommerce-page .product .woocommerce-loop-product__title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-page .product .woocommerce-loop-product__title a:hover {
    color: #667eea;
}

.woocommerce-page .product .price .amount {
    color: #667eea;
}

.woocommerce-page .product .price del {
    color: #999;
    font-weight: 400;
    margin-left: 10px;
}

/* Add to Cart Button */
.woocommerce-page .product .add_to_cart_button {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-family: 'bein-arabic', 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.woocommerce-page .product .add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.woocommerce-page .product .add_to_cart_button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.woocommerce-page .product .add_to_cart_button.added {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Product Categories */
.woocommerce-page .product-categories {
    margin-bottom: 30px;
    text-align: center;
}

.woocommerce-page .product-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.woocommerce-page .product-categories li {
    margin: 0;
}

.woocommerce-page .product-categories a {
    display: inline-block;
    padding: 10px 20px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.woocommerce-page .product-categories a:hover,
.woocommerce-page .product-categories .current-cat a {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Pagination */
.woocommerce-page .woocommerce-pagination {
    margin-top: 50px;
    text-align: center;
}

.woocommerce-page .woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-page .woocommerce-pagination li {
    margin: 0;
}

.woocommerce-page .woocommerce-pagination a,
.woocommerce-page .woocommerce-pagination span {
    display: inline-block;
    padding: 12px 18px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
}

.woocommerce-page .woocommerce-pagination a:hover,
.woocommerce-page .woocommerce-pagination .current {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

/* No Products Found */
.woocommerce-page .woocommerce-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}

.woocommerce-page .woocommerce-info:before {
    display: none;
}

.woocommerce-page .woocommerce-info a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.woocommerce-page .woocommerce-info a:hover {
    color: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .woocommerce-page .woocommerce {
        padding: 20px 15px;
        margin: 10px;
    }
    
    .woocommerce-page .page-header h1 {
        font-size: 2rem;
    }
    
    .woocommerce-page .products {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .woocommerce-page .product img {
        height: 200px;
    }
    
    .woocommerce-page .product .woocommerce-loop-product__title {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .woocommerce-page .product .price {
        padding: 0 15px 15px 15px;
        font-size: 1.2rem;
    }
    
    .woocommerce-page .product .add_to_cart_button {
        width: calc(100% - 30px);
        margin: 0 15px 15px 15px;
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .woocommerce-page .product-categories ul {
        flex-direction: column;
        align-items: center;
    }
    
    .woocommerce-page .woocommerce-pagination ul {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .woocommerce-page .products {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-page .page-header {
        padding: 30px 15px;
    }
    
    .woocommerce-page .page-header h1 {
        font-size: 1.8rem;
    }
}

/* WooCommerce Single Product Page Styles */
.woocommerce.single-product .woocommerce {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 20px 0;
}

/* Product Gallery */
.woocommerce.single-product .woocommerce-product-gallery {
    margin-bottom: 30px;
}

.woocommerce.single-product .woocommerce-product-gallery__wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.woocommerce.single-product .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.woocommerce.single-product .woocommerce-product-gallery__image:hover img {
    transform: scale(1.02);
}

/* Product Thumbnails */
.woocommerce.single-product .woocommerce-product-gallery__thumbs {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.woocommerce.single-product .woocommerce-product-gallery__thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.woocommerce.single-product .woocommerce-product-gallery__thumbs img:hover,
.woocommerce.single-product .woocommerce-product-gallery__thumbs .active img {
    border-color: #667eea;
    transform: scale(1.05);
}

/* Product Summary */
.woocommerce.single-product .summary {
    padding: 20px;
}

.woocommerce.single-product .product_title {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.woocommerce.single-product .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 20px;
}

.woocommerce.single-product .price .amount {
    color: #667eea;
}

.woocommerce.single-product .price del {
    color: #999;
    font-weight: 400;
    font-size: 1.4rem;
    margin-left: 15px;
}

/* Product Description */
.woocommerce.single-product .woocommerce-product-details__short-description {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #666;
    font-size: 1.1rem;
}

.woocommerce.single-product .woocommerce-product-details__short-description p {
    margin-bottom: 15px;
}

/* Product Form */
.woocommerce.single-product form.cart {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px solid #e9ecef;
}

.woocommerce.single-product .quantity {
    margin-bottom: 20px;
}

.woocommerce.single-product .quantity input {
    width: 80px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    transition: border-color 0.3s ease;
}

.woocommerce.single-product .quantity input:focus {
    outline: none;
    border-color: #667eea;
}

/* Add to Cart Button */
.woocommerce.single-product .single_add_to_cart_button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-family: 'bein-arabic', 'Arial', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    width: 100%;
    margin-bottom: 15px;
}

.woocommerce.single-product .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.woocommerce.single-product .single_add_to_cart_button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Product Meta */
.woocommerce.single-product .product_meta {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.woocommerce.single-product .product_meta span {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
}

.woocommerce.single-product .product_meta a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce.single-product .product_meta a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Product Tabs */
.woocommerce.single-product .woocommerce-tabs {
    margin-top: 50px;
}

.woocommerce.single-product .woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.woocommerce.single-product .woocommerce-tabs ul.tabs li {
    margin: 0;
}

.woocommerce.single-product .woocommerce-tabs ul.tabs a {
    display: inline-block;
    padding: 15px 25px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
}

.woocommerce.single-product .woocommerce-tabs ul.tabs a:hover,
.woocommerce.single-product .woocommerce-tabs ul.tabs .active a {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.woocommerce.single-product .woocommerce-tabs .panel {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid #f0f0f0;
}

.woocommerce.single-product .woocommerce-tabs .panel h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.woocommerce.single-product .woocommerce-tabs .panel p {
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

/* Related Products */
.woocommerce.single-product .woocommerce-related {
    margin-top: 50px;
}

.woocommerce.single-product .woocommerce-related h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.woocommerce.single-product .related.products {
    margin-top: 30px;
}

.woocommerce.single-product .related.products .products {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
    gap: 25px;
}

.woocommerce.single-product .related.products .product {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.woocommerce.single-product .related.products .product:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Upsells */
.woocommerce.single-product .woocommerce-upsells {
    margin-top: 50px;
}

.woocommerce.single-product .woocommerce-upsells h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

/* Stock Status */
.woocommerce.single-product .stock {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.woocommerce.single-product .stock.in-stock {
    background: #d4edda;
    color: #155724;
}

.woocommerce.single-product .stock.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

/* My Account Styles - تصميم حديث يشبه WordPress */
.my-account-container {
    min-height: 100vh;
    background: #f8f9fa;
    padding: 20px 0;
}

/*.account-wrapper {*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*    padding: 0 20px;*/
/*}*/

/* Account Header */
.account-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    color: white;
}

.account-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
}

.user-info h1 {
    font-size: 2rem;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.user-email {
    opacity: 0.9;
    margin: 0 0 5px 0;
}

.member-since {
    font-size: 0.9rem;
    opacity: 0.8;
}

.account-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Navigation */
.account-navigation {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.nav-tab:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.nav-tab.active {
    background: #007cba;
    color: white;
}

.nav-tab i {
    font-size: 16px;
}

/* Content */
.account-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-height: 400px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.content-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.content-header h2 {
    font-size: 1.8rem;
    margin: 0 0 10px 0;
    color: #333;
}

.content-header p {
    color: #666;
    margin: 0;
}

/* Overview Grid */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.overview-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.overview-card:hover {
    transform: translateY(-5px);
    border-color: #007cba;
    box-shadow: 0 10px 30px rgba(0,124,186,0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #007cba;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.card-icon i {
    font-size: 24px;
    color: white;
}

.card-content h3 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    color: #333;
}

.card-content p {
    color: #666;
    margin: 0 0 15px 0;
}

.btn-link {
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 2px solid #007cba;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    background: #007cba;
    color: white;
}

/* Tables */
.wp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.wp-table th,
.wp-table td {
    padding: 12px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.wp-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.order-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-completed { background: #d4edda; color: #155724; }
.status-processing { background: #d1ecf1; color: #0c5460; }
.status-on-hold { background: #fff3cd; color: #856404; }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    color: #333;
}

.empty-state p {
    margin: 0 0 20px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-primary {
    background: #007cba;
    color: white;
}

.btn-primary:hover {
    background: #005a87;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #007cba;
}

.form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f8f9fa;
}

/* Responsive */
@media (max-width: 768px) {
    .account-hero {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-tabs {
        flex-direction: column;
    }
    
    .nav-tab {
        justify-content: center;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .account-stats {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce.single-product .woocommerce {
        padding: 20px 15px;
        margin: 10px;
    }
    
    .woocommerce.single-product .product_title {
        font-size: 1.8rem;
    }
    
    .woocommerce.single-product .price {
        font-size: 1.6rem;
    }
    
    .woocommerce.single-product .woocommerce-tabs ul.tabs {
        flex-direction: column;
    }
    
    .woocommerce.single-product .woocommerce-tabs ul.tabs a {
        text-align: center;
        width: 100%;
    }
    
    .woocommerce.single-product .related.products .products {
        /*grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));*/
        gap: 20px;
    }
    
    .woocommerce.single-product .woocommerce-product-gallery__thumbs {
        justify-content: center;
    }
    
    .woocommerce.single-product .woocommerce-product-gallery__thumbs img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .woocommerce.single-product .related.products .products {
        grid-template-columns: 1fr;
    }
    
    .woocommerce.single-product .product_title {
        font-size: 1.6rem;
    }
    
    .woocommerce.single-product .price {
        font-size: 1.4rem;
    }
    
    .woocommerce.single-product form.cart {
        padding: 20px 15px;
    }
}

/* WooCommerce General Styles */
.woocommerce {
    font-family: 'bein-arabic', 'Arial', sans-serif;
    direction: rtl;
    text-align: right;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
    background: #f8f9fa;
    padding: 15px 25px;
    border-radius: 25px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
    border: 2px solid #e9ecef;
}

.woocommerce .woocommerce-breadcrumb a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce .woocommerce-breadcrumb a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Messages and Notices */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 15px;
    margin: 20px 0;
    border: none;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.woocommerce .woocommerce-message:before,
.woocommerce .woocommerce-info:before,
.woocommerce .woocommerce-error:before {
    color: white;
    font-size: 1.2rem;
    margin-left: 10px;
}

.woocommerce .woocommerce-message a,
.woocommerce .woocommerce-info a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.woocommerce .woocommerce-message a:hover,
.woocommerce .woocommerce-info a:hover {
    color: #f8f9fa;
}

/* Form Elements */
.woocommerce form {
    margin-bottom: 30px;
}

.woocommerce .form-row {
    margin-bottom: 20px;
}

.woocommerce .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.woocommerce .form-row .required {
    color: #e74c3c;
}

.woocommerce .form-row input[type="text"],
.woocommerce .form-row input[type="email"],
.woocommerce .form-row input[type="tel"],
.woocommerce .form-row input[type="password"],
.woocommerce .form-row input[type="number"],
.woocommerce .form-row select,
.woocommerce .form-row textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #333;
}

.woocommerce .form-row input:focus,
.woocommerce .form-row select:focus,
.woocommerce .form-row textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.woocommerce .form-row .woocommerce-Input--text {
    background: white;
}

/* Checkout Page Styles - تصميم احترافي */
.woocommerce-checkout .woocommerce {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

/* Checkout Header */
.woocommerce-checkout .page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.woocommerce-checkout .page-header h1 {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.woocommerce-checkout .page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

/* Checkout Progress Steps */
.woocommerce-checkout .checkout-progress {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    border: 2px solid #e9ecef;
}

.woocommerce-checkout .checkout-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.woocommerce-checkout .checkout-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e9ecef;
    z-index: 1;
}

.woocommerce-checkout .checkout-step {
    background: white;
    border: 3px solid #e9ecef;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.woocommerce-checkout .checkout-step.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.woocommerce-checkout .checkout-step.completed {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    margin-bottom: 50px;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    background: #f8f9fa;
    padding: 35px;
    border-radius: 20px;
    border: 2px solid #e9ecef;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.woocommerce-checkout .col-1:hover,
.woocommerce-checkout .col-2:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.woocommerce-checkout h3 {
    border-bottom: 3px solid #667eea;
    position: relative;
}

.woocommerce-checkout h3::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #667eea;
    border-radius: 2px;
}

/* Billing Details */
.woocommerce-checkout .woocommerce-billing-fields h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 25px;
    margin: -35px -35px 25px -35px;
    border-radius: 20px 20px 0 0;
    border: none;
}

.woocommerce-checkout .woocommerce-billing-fields h3::before {
    display: none;
}

/* Additional Information */
.woocommerce-checkout .woocommerce-additional-fields {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.woocommerce-checkout .woocommerce-additional-fields h3 {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.woocommerce-checkout .woocommerce-additional-fields h3::before {
    display: none;
}

/* Payment Methods - تصميم احترافي */
.woocommerce-checkout .wc_payment_methods {
    background: white;
    border-radius: 20px;
    padding: 30px;
    border: 2px solid #e9ecef;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.woocommerce-checkout .wc_payment_methods h3 {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 20px 25px;
    margin: -30px -30px 25px -30px;
    border-radius: 20px 20px 0 0;
    font-size: 1.6rem;
    font-weight: 700;
    border: none;
}

.woocommerce-checkout .wc_payment_methods h3::before {
    display: none;
}

.woocommerce-checkout .wc_payment_method {
    margin-bottom: 20px;
    padding: 20px;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
    position: relative;
}

.woocommerce-checkout .wc_payment_method:hover {
    border-color: #667eea;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.woocommerce-checkout .wc_payment_method.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.woocommerce-checkout .wc_payment_method input[type="radio"] {
    margin-left: 15px;
    transform: scale(1.3);
    accent-color: #667eea;
}

.woocommerce-checkout .wc_payment_method label {
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.woocommerce-checkout .wc_payment_method:hover label,
.woocommerce-checkout .wc_payment_method.selected label {
    color: #667eea;
}

.woocommerce-checkout .wc_payment_method .payment_box {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.woocommerce-checkout .wc_payment_method .payment_box p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Payment Icons */
.woocommerce-checkout .wc_payment_method .payment-method-icon {
    width: 40px;
    height: 40px;
    margin-left: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #667eea;
    font-size: 1.2rem;
    border: 2px solid #e9ecef;
}

/* Order Review - تصميم احترافي */
.woocommerce-checkout .shop_table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #e9ecef;
    margin-bottom: 30px;
}

.woocommerce-checkout .shop_table th,
.woocommerce-checkout .shop_table td {
    padding: 25px;
    border-bottom: 2px solid #f8f9fa;
    text-align: right;
    font-size: 1rem;
}

.woocommerce-checkout .shop_table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 700;
    border: none;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.woocommerce-checkout .shop_table tbody tr {
    transition: all 0.3s ease;
}

.woocommerce-checkout .shop_table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
}

.woocommerce-checkout .shop_table .cart_item {
    border-bottom: 2px solid #f0f0f0;
}

.woocommerce-checkout .shop_table .cart_item:last-child {
    border-bottom: none;
}

.woocommerce-checkout .shop_table .product-name {
    font-weight: 600;
    color: #333;
}

.woocommerce-checkout .shop_table .product-total {
    font-weight: 700;
    color: #667eea;
    font-size: 1.1rem;
}

.woocommerce-checkout .shop_table .order-total {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.woocommerce-checkout .shop_table .order-total th,
.woocommerce-checkout .shop_table .order-total td {
    border: none;
    padding: 30px 25px;
}

/* Order Summary Header */
.woocommerce-checkout .order-review h3 {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 20px 25px;
    margin: -35px -35px 25px -35px;
    border-radius: 20px 20px 0 0;
    font-size: 1.6rem;
    font-weight: 700;
    border: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.woocommerce-checkout .order-review h3::before {
    display: none;
}

/* Place Order Button */
.woocommerce-checkout #place_order {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce-checkout #place_order:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.woocommerce-checkout #place_order:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* My Account Pages */
.woocommerce-account .woocommerce {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    border: 2px solid #e9ecef;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 15px 20px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
    text-align: center;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    border: 2px solid #e9ecef;
}

/* Orders Table */
.woocommerce-account .woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.woocommerce-account .woocommerce-orders-table th,
.woocommerce-account .woocommerce-orders-table td {
    padding: 20px;
    text-align: right;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-account .woocommerce-orders-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    border: none;
}

.woocommerce-account .woocommerce-orders-table tr:hover {
    background: #f8f9fa;
}

/* Order Status */
.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__status {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.woocommerce-account .woocommerce-orders-table__status-completed {
    background: #d4edda;
    color: #155724;
}

.woocommerce-account .woocommerce-orders-table__status-processing {
    background: #d1ecf1;
    color: #0c5460;
}

.woocommerce-account .woocommerce-orders-table__status-on-hold {
    background: #fff3cd;
    color: #856404;
}

.woocommerce-account .woocommerce-orders-table__status-pending {
    background: #f8d7da;
    color: #721c24;
}

/* Edit Address Form */
.woocommerce-account .woocommerce-address-fields {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e9ecef;
}

.woocommerce-account .woocommerce-address-fields h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Password Change Form */
.woocommerce-account .woocommerce-password-change {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    margin-bottom: 30px;
}

.woocommerce-account .woocommerce-password-change h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Lost Password Form */
.woocommerce-lost-password .woocommerce {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 20px auto;
    max-width: 500px;
    text-align: center;
}

.woocommerce-lost-password h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 700;
}

.woocommerce-lost-password p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Login/Register Forms */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    margin-bottom: 30px;
}

.woocommerce-account .woocommerce-form-login h2,
.woocommerce-account .woocommerce-form-register h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

.woocommerce-account .woocommerce-form-login .woocommerce-form__label-for-checkbox,
.woocommerce-account .woocommerce-form-register .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    color: #333;
}

/* Form Buttons */
.woocommerce button[type="submit"],
.woocommerce input[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.woocommerce button[type="submit"]:hover,
.woocommerce input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.woocommerce button[type="submit"]:disabled,
.woocommerce input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Secondary Buttons */
.woocommerce .button.alt {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.woocommerce .button.alt:hover {
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* Danger Buttons */
.woocommerce .button.danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.woocommerce .button.danger:hover {
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

/* Responsive Design for WooCommerce */
@media (max-width: 768px) {
    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr;
    }
    
    .woocommerce .woocommerce-breadcrumb {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
    
    .woocommerce .form-row input,
    .woocommerce .form-row select,
    .woocommerce .form-row textarea {
        padding: 12px 15px;
    }
    
    .woocommerce-checkout .shop_table th,
    .woocommerce-checkout .shop_table td,
    .woocommerce-account .woocommerce-orders-table th,
    .woocommerce-account .woocommerce-orders-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .woocommerce-checkout #place_order {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .woocommerce .woocommerce-breadcrumb {
        padding: 10px 15px;
        font-size: 0.75rem;
    }
    
    .woocommerce .form-row input,
    .woocommerce .form-row select,
    .woocommerce .form-row textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .woocommerce-checkout .shop_table th,
    .woocommerce-checkout .shop_table td,
    .woocommerce-account .woocommerce-orders-table th,
    .woocommerce-account .woocommerce-orders-table td {
        padding: 12px 8px;
        font-size: 0.8rem;
    }
    
    .woocommerce button[type="submit"],
    .woocommerce input[type="submit"] {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Dropdown Menu Styles */
.main-navigation .menu-item-has-children {
    position: relative;
}

.main-navigation .menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.main-navigation .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 10px;
    padding: 15px 0;
    margin: 10px 0 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 2px solid #f0f0f0;
}

.main-navigation .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu li {
    margin: 0;
    padding: 0;
}

.main-navigation .sub-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
}

.main-navigation .sub-menu li:last-child a {
    border-bottom: none;
}

.main-navigation .sub-menu a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-right: 30px;
}

.main-navigation .sub-menu a:hover::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    font-size: 0.7rem;
}

/* Mobile Header Layout */
@media (max-width: 768px) {
    .navbar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px 15px;
    }
    
    .navbar-brand {
        order: 1;
    }
    
    .main-navigation {
        order: 3;
    }
    
    .header-actions {
        order: 4;
        display: flex;
        gap: 10px;
        align-items: center;
    }
    
    .header-actions .btn-header {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .cart-button .cart-text {
        display: none;
    }
    
    .cart-button .cart-count {
        position: absolute;
        top: -5px;
        left: -5px;
    }
}

/* Mobile Dropdown - محسن للهاتف */
@media (max-width: 768px) {
    /* Hide main navigation by default on mobile */
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        border-top: 2px solid #667eea;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .main-navigation.mobile-menu-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation .menu {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .main-navigation .menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-navigation .menu li:last-child {
        border-bottom: none;
    }
    
    .main-navigation .menu a {
        display: block;
        padding: 15px 25px;
        color: #333;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        border-right: 3px solid transparent;
    }
    
    .main-navigation .menu a:hover {
        background: #f8f9fa;
        color: #667eea;
        border-right-color: #667eea;
        padding-right: 35px;
    }
    
    /* Sub-menu styles for mobile */
    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        display: none;
        border-top: 1px solid #e9ecef;
    }
    
    .main-navigation .menu-item-has-children:hover .sub-menu,
    .main-navigation .menu-item-has-children.active .sub-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    .main-navigation .sub-menu a {
        padding: 12px 45px;
        border-bottom: 1px solid #e9ecef;
        background: #f8f9fa;
        color: #666;
        font-size: 1rem;
        position: relative;
    }
    
    .main-navigation .sub-menu a::before {
        content: '→';
        position: absolute;
        right: 25px;
        color: #667eea;
        font-weight: bold;
    }
    
    .main-navigation .sub-menu a:hover {
        background: #667eea;
        color: white;
        padding-right: 55px;
    }
    
    .main-navigation .sub-menu a:hover::before {
        color: white;
    }
    
    .main-navigation .menu-item-has-children > a::after {
        content: '\f107';
        float: left;
        margin-right: 0;
        margin-left: 8px;
        transition: transform 0.3s ease;
    }
    
    .main-navigation .menu-item-has-children.active > a::after {
        transform: rotate(180deg);
    }
    
    /* Mobile menu toggle button - يظهر فقط على الهاتف */
    .mobile-menu-toggle {
        display: block !important;
    }
    
    /* Slide down animation */
    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 300px;
        }
    }
}

/* Tablet styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .main-navigation .menu {
        gap: 15px;
    }
    
    .main-navigation .menu a {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .main-navigation .sub-menu {
        min-width: 200px;
    }
}

/* Large mobile devices */
@media (max-width: 480px) {
    .main-navigation .menu a {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .main-navigation .sub-menu a {
        padding: 10px 35px;
        font-size: 0.9rem;
    }
    
    .main-navigation .sub-menu a::before {
        right: 20px;
    }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Footer Menu Styles */
.footer-menu-container {
    background: #1a1a1a;
    border-top: 2px solid #333;
    padding: 20px 0;
}

.footer-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 5px;
}

.footer-menu a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

@media (max-width: 768px) {
    .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-menu a {
        font-size: 0.85rem;
        padding: 10px 15px;
        text-align: center;
        min-width: 200px;
    }
}

/* Mobile Menu Toggle Button - يظهر فقط على الهاتف */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
    order: 2;
}

.mobile-menu-toggle:hover {
    color: #667eea;
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active i {
    transform: rotate(90deg);
}

/* Enhanced Product Card Styles */
.bein-product-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.bein-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.bein-product-card.popular {
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.bein-product-card.popular:hover {
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.popular-badge i {
    font-size: 0.9rem;
}

/* Product Card Header */
.product-card-header {
    position: relative;
    /*height: 200px;*/
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.placeholder-image i {
    font-size: 4rem;
    opacity: 0.8;
}

.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4757;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

/* Product Card Content */
.product-card-content {
    padding: 25px;
}

.product-title {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #667eea;
}

.product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Product Features */
.product-features {
    margin-bottom: 25px;
}

.product-features h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: #555;
}

.features-list i {
    color: #28a745;
    font-size: 0.8rem;
}

/* Price Section */
.product-price-section {
    padding: 10px 10px 10px;
    background: #f8f9fa;
    border-radius: 15px;
    text-align: center;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}


.price-period {
    font-size: 0.9rem;
    color: #666;
}

/* Subscription Options */
.subscription-options {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.subscription-option input[type="radio"] {
    display: none;
}

.subscription-option label {
    padding: 8px 12px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.subscription-option input[type="radio"]:checked + label {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

/* Product Card Footer */
.product-card-footer {
    padding: 0 25px 25px;
}

.subscription-form {
    margin-bottom: 15px;
}

.subscribe-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    font-family: 'bein-arabic', 'Arial', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.subscribe-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.view-details-link {
    display: block;
    text-align: center;
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.view-details-link:hover {
    color: #764ba2;
}

/* Package Type Specific Styles */
.bein-product-card.sawa {
    border-top: 4px solid #667eea;
}

.bein-product-card.starter {
    border-top: 4px solid #28a745;
}

.bein-product-card.basic {
    border-top: 4px solid #6c757d;
}

/* Responsive Product Cards */
@media (max-width: 768px) {
    .bein-product-card {
        margin-bottom: 20px;
    }
    
    .product-card-header {
        height: 180px;
    }
    
    .product-card-content {
        padding: 20px;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .subscription-options {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .subscription-option label {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .product-card-header {
        height: 160px;
    }
    
    .product-card-content {
        padding: 15px;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    .features-list li {
        font-size: 0.85rem;
    }
}

/* Header Styles - مطابق للصورة تماماً */
.main-header {
    left: 0;
    right: 0;
    top: 0;
    border-top: 3px solid #e2e2e2;
    padding: 8px 10px 0;
    height: 65px;
    background-color: #fff;
    z-index: 100;
    position: fixed;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.main-header.scrolled .logo {
    height: 30px;
}

.main-header.scrolled .navbar-header {
    /*padding: 10px 0;*/
}

.header-wrapper {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 15px 0; */
}

.logo {
    height: 40px;
    width: auto;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Navigation Styles */
.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    margin: -8px auto;    
}

.main-navigation a:hover {
    color: #5c2d94;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-header {
    padding: 2px 10px;
    border-radius: 5px;
    text-decoration: none;
    /* font-weight: 500; */
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-header:not(.white) {
    background: #8B5CF6;
    color: white;
    border-color: #8B5CF6;
}

.btn-header.white {
    background: transparent;
    color: #333;
    border-color: #333;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Package Container Styles */
.package-container {
    /* max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 30px; */
}

.package-header-block {
    text-align: center;
    margin-bottom: 40px;
}

.main-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
    /* font-weight: 700; */
}

.sub-title {
    margin-top: 20px;
}

.bttn {
    display: inline-block;
    padding: 12px 30px;
    background: #8B5CF6;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bttn:hover {
    background: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Package Navigation */
.package-navigation {
    margin-bottom: 30px;
}

.navigation {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    /*gap: 20px;*/
    flex-wrap: wrap;
}

.navigation li {
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 500;
    text-align: center;
    min-width: 120px;
}

.navigation li:nth-child(1) {
    background: #E3F2FD;
    color: #1976D2;
    border-color: #1976D2;
}

.navigation li:nth-child(2) {
    background: #E8F5E8;
    color: #2E7D32;
    border-color: #2E7D32;
}

.navigation li:nth-child(3) {
    background: #FFF3E0;
    color: #F57C00;
    border-color: #F57C00;
}

.navigation li:nth-child(4) {
    background: #F3E5F5;
    color: #7B1FA2;
    border-color: #7B1FA2;
}

.navigation li:hover,
.navigation li.active {
    /* transform: translateY(2px); */
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); */
    height: 102px !important;
}

/* Package Content Sections */
.package-other-content {
    position: relative;
    top: 100px;
    text-align: center;
    display: none;
}

.package-other-content.active {
    display: block;
}

/* Package Banners - مرتبطة بالتابس */
.showcase-banner {
    display: none;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.showcase-banner.active {
    display: block;
}

.banner-content {
    padding: 40px;
    text-align: center;
    color: white;
    /*position: relative;*/
}

/*.banner-content::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background: rgba(0,0,0,0.3);*/
/*    z-index: 1;*/
/*}*/

.new-banners-section{
    margin-top:170px;
}

.banner-text {
    position: relative;
    z-index: 2;
}

.banner-text h3 {
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.banner-text p {
    font-size: 1.2em;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Price and Subscribe Box */
.price-subscribe-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    /*box-shadow: 0 4px 15px rgba(0,0,0,0.1);*/
    text-align: center;
    margin: 20px 0;
}

.woocommerce-product-gallery__trigger{
    border-radius: 0px 10px 0px 10px;
    position: absolute;
    z-index: 3;
    background: #f5f5f7;
    opacity: 1;
    font-size: 24px;
    text-decoration: auto;
    padding: 0px 5px;
}

.duration {
    font-size: 1.2em;
    color: #666;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-family: 'bein-arabic', 'Arial', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-purple {
    background: #8B5CF6;
    color: white;
}

.btn-purple:hover {
    background: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}


.subscription-duration {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.subscription-duration label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.subscription-duration input[type="radio"] {
    margin: 0;
}

.subscription-duration label:hover,
.subscription-duration input[type="radio"]:checked + label {
    border-color: #8B5CF6;
    background: #8B5CF6;
    color: white;
}

/* Channels Filter */
.channels-filter {
    display: flex;
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.channels-filter li {
    padding: 8px 20px;
}

.channels-filter li:hover,
.channels-filter li.active {
    border-color: #8B5CF6;
}

/* Channels List */
.channels-list {
    display: none;
}

.channels-list.active {
    display: block;
}

.channels-list ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.channel-item {
    text-align: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.channel-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.channel-item img {
    width: 62px;
    margin: auto;
}

.channel-item span {
    display: block;
    font-size: 0.9em;
    color: #333;
    font-weight: 500;
}

/* Footer Styles */
.main-footer {
    /* background: linear-gradient(135deg, #5c2d94 0%, #a42069 100%); */
    color: #8e8e8e;
    /* padding: 40px 0 20px; */
    /* margin-top: 50px; */
    /* position: relative; */
    overflow: hidden;
    background: #fff;
    border-bottom: 3px solid #e5e5e5;
    background-position: top center;
    padding: 20px 30px 0;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.main-footer .logo-footer:after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background: #9342da;
    margin-top: 0;
    margin-bottom: -6px;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.block-footer-first {
    margin-bottom: 15px;
}

.block-links {
    width: max-content;
    justify-self: left;
}

.block-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
    position: relative;
    z-index: 1;
}

.block-link.white {
    /* background: rgba(255,255,255,0.15); */
    /* backdrop-filter: blur(10px); */
    /* border: 1px solid rgba(255,255,255,0.2); */
    height: 43px;
    display: inline-block;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    color: #8d8d8d;
    padding: 0 15px;
    line-height: 41px;
    vertical-align: top;
    font-size: 16px;
    font-family: "bein-arabic";
    width: max-content;
}

.block-link.purple {
    background: rgba(139, 92, 246, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.block-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.2);
}

.block-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    /*filter: brightness(0) invert(1);*/
}

.block-footer-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding-top: 20px; */
    border-top: 1px solid rgba(255,255,255,0.2);
    /* position: relative; */
    /* z-index: 1; */
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-footer {
}

.logo-footer img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-links a {
    color: #8e8e8e;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9em;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-links span {
    color: #8e8e8e;
    font-weight: 600;
}

.nav-social ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
    padding-top: 5px;
}

.nav-social a {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-social a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.nav-social a:hover::before {
    opacity: 1;
}

.nav-social img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    /*filter: brightness(0) invert(1);*/
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .block-links {
        grid-template-columns: 1fr;
        gap: 15px;
        width: auto;
        justify-self: center;
    }
    
    .block-footer-social {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-social ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .navbar-header {
        flex-direction: row;
        gap: 20px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .navigation {
        flex-direction: row;
        gap: 10px;
    }
    
    .navigation li {
        min-width: auto;
    }
    
    .channels-list ul {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .block-footer-social {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.p-20 {
    padding: 20px;
}

/* Form Styles */
.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #8B5CF6;
}

/* Button States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Subscription Buttons - أزرار الاشتراك المباشرة */
.subscription-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.subscription-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 20px;
    color: white;
    font-family: 'bein-arabic', 'Arial', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    position: relative;
    overflow: hidden;
}

.subscription-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.subscription-btn:active {
    transform: translateY(0);
}

.subscription-btn .duration {
    font-size: 18px;
    font-weight: 700;
}

.subscription-btn .price {
    font-size: 20px;
    font-weight: 700;
    color: #ffd700;
}

.subscription-btn .action {
    font-size: 14px;
    opacity: 0.9;
}

.subscription-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.subscription-btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Responsive Subscription Buttons */
@media (max-width: 768px) {
    .subscription-btn {
        padding: 15px;
        font-size: 14px;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .subscription-btn .duration {
        font-size: 16px;
    }
    
    .subscription-btn .price {
        font-size: 18px;
    }
    
    .subscription-btn .action {
        font-size: 12px;
    }
}

.package-main-info{

}

/* 1) خلي package-main-info شبكة بعمودين: التفاصيل + الاشتراك */
.package-main-info{
  display: grid;
  grid-template-columns: 1fr 320px; /* عدّل 320px حسب حاجتك */
  gap: 24px;
  align-items: start;
}

/* 2) ثبّت أماكن العناصر الحالية */
.package-main-info > .package-main-desc{ grid-column: 1; }
.package-main-info > .bp-subscribe{ grid-column: 2; }

/* 3) خلّي inner-tabs يمتد من أول عمود لآخر عمود (عرض كامل داخل الصندوق) */
.package-main-info > .inner-tabs{
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
}

/* 4) كسر أي قيود عرض قديمة داخل التبويب */
.package-main-info .inner-tabs,
.package-main-info .section-packages,
.package-main-info .channels-filter ul,
.package-main-info .channels-list{
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 15px;
}

/* 5) القنوات: تخلّص من الفلوّت والقياسات الثابتة وخليها Grid مرنة */
.package-main-info .channels-list ul{
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    padding: 0;
    margin: 10px 0 0;
    gap: 10px 0;
}

.package-main-info .channels-list ul li,
.package-main-info .channel-item{
  float: none !important;
  /* display: block !important;  <-- لا تستخدم */
  width: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}


/* 6) لو فيه ستايل يدفّع الصندوق للأسفل (top: 60px) وتبي تبويب القنوات يحاذي الحدود من غير فراغ */
.package-container .package-navigation .package-main-info{
  /* top: 0 !important; اختياري */
}

/* 7) موبايل: عمود واحد، وكل شيء ياخذ عرض كامل تلقائيًا */
@media (max-width: 992px){
  .package-main-info{
    grid-template-columns: 1fr;
  }
  .package-main-info > .package-main-desc,
  .package-main-info > .bp-subscribe,
  .package-main-info > .inner-tabs{
    grid-column: 1 / -1;
  }
}


/* نثبت الأسهم حول صندوق الفلاتر */
.inner-tabs .section-packages {
  position: relative;
}

.inner-tabs .cat-nav-btn {
    position: absolute;
    top: -1px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #a42069;
    background: #a42069;
    cursor: pointer;
    line-height: 20px;
    font-weight: 700;
    text-align: center;
    user-select: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    color: #fff;
    font-size: 35px;
}

.inner-tabs .cat-nav-btn:hover {
  background: #a42069;
  color: #fff;
}

/* RTL: السهمين على الجوانب “خارج” الصندوق */
[lang="ar"] .inner-tabs .cat-nav-prev { left: calc(80% + 8px); }  /* يسار الصندوق بصريًا */
[lang="ar"] .inner-tabs .cat-nav-next { right:  calc(80% + 8px); }  /* يمين الصندوق بصريًا */

/* إنجليزي/يسار ليمين (لو احتجت) */
[lang="en"] .inner-tabs .cat-nav-prev { right:  calc(100% + 8px); }
[lang="en"] .inner-tabs .cat-nav-next { left: calc(100% + 8px); }


@media (max-width: 870px) {
    .main-header{
        height:unset;        
    }
    .btn-header{
        display:none;
    }
    
    .cart-button{
        display: block !important;
    }
    
    .navigation li:hover, .navigation li.active {
        height: 63px !important;
    }    
    .package-label{
        display:none;
    }
    .package-container {
        padding: 15px;
    }    
}


/* ===== Woo Cart Pro (WL) ===== */
.wl-cart-wrap { container-type: inline-size; }
.wl-cart-title { font-size: 1.5rem; margin-block: .5rem 1.25rem; font-weight: 700; }

.wl-cart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@container (min-width: 980px) {
  .wl-cart-grid { grid-template-columns: minmax(0,1fr) 360px; align-items: start; }
}

.wl-cart-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.wl-cart-table thead th {
  font-weight: 600; font-size: .875rem; opacity: .7; padding: 12px 14px;
  border-block-end: 1px solid var(--wc-border, #eee);
}
.wl-cart-item { background: var(--wl-surface, #fff); box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.wl-cart-item > td { padding: 14px; vertical-align: middle; border: none; }

.wl-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.product-thumbnail { width: 80px; }

.wl-item-title a { text-decoration: none; font-weight: 600; }
.wl-price, .wl-subtotal { font-weight: 700; }

.wl-qty .qty { max-inline-size: 88px; }

.wl-remove {
  display: inline-flex; inline-size: 32px; block-size: 32px; align-items: center; justify-content: center;
  background: #f6f6f6; border-radius: 50%; text-decoration: none; font-size: 18px;
}
.wl-remove:hover { background: #eee; }

.wl-coupon { display: grid; gap: 8px; align-items: center; }
.wl-coupon-label { font-weight: 600; }
.wl-coupon-field { display: flex; gap: 8px; }
.wl-coupon-input { flex: 1; min-inline-size: 180px; }

.wl-actions-right { display: flex; gap: 8px; justify-content: end; flex-wrap: wrap; }

.wl-btn {
  background: #111; color: #fff; border: none; padding: 10px 16px; border-radius: 10px; cursor: pointer;
}
.wl-btn:hover { opacity: .9; }
.wl-btn-ghost { background: transparent; color: #111; border: 1px solid #e0e0e0; }
.wl-btn-ghost:hover { background: #fafafa; }

.wl-cart-aside { position: sticky; top: 20px; }
.wl-cart-collaterals { background: var(--wl-surface, #fff); padding: 16px; border: 1px solid #eee; border-radius: 14px; }

/* شريط إجراءات ثابت أسفل الجوال */
@media (max-width: 768px) {
  .wl-actions-right {
    position: sticky; bottom: 0; inset-inline: 0;
    background: #fff; padding: 12px; border-top: 1px solid #eee; z-index: 5;
  }
  .wl-coupon { margin-block-end: 8px; }
}
/* ===== WL Totals ===== */
.wl-cart-totals { background: var(--wl-surface,#fff); border:1px solid #eee; border-radius:14px; padding:16px; }
.wl-cart-totals-title { font-size:1.125rem; font-weight:700; margin:0 0 12px; }

.wl-totals-table { width:100%; border-collapse:separate; border-spacing:0 8px; }
.wl-totals-table th,
.wl-totals-table td { padding:10px 12px; background:#fafafa; }
.wl-totals-table tr.order-total th,
.wl-totals-table tr.order-total td { background:#111; color:#fff; font-weight:700; border-radius:10px; }
.wl-totals-table tr.wl-savings th,
.wl-totals-table tr.wl-savings td { background:#e9f8ef; color:#0b6b34; }

.wl-proceed { margin-block-start:14px; }
.wl-proceed .checkout-button { width:100%; border-radius:10px; padding:12px 16px; font-size:1rem; }

.wl-free-ship-box { margin:8px 0 14px; background:#f7fbff; border:1px solid #e6f0ff; border-radius:12px; padding:12px; }
.wl-free-ship-msg { margin:0 0 8px; font-weight:600; }
.wl-free-ship-msg.wl-success { color:#0a7a3b; }
.wl-progress { height:10px; background:#edf2ff; border-radius:999px; overflow:hidden; }
.wl-progress-bar { height:100%; width:0%; background:#111; }
.wl-progress-meta { display:flex; justify-content:space-between; font-size:.8125rem; opacity:.75; margin-top:6px; }

/* Shop Header */
.bein-shop-header{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:56px 24px;margin:0 0 50px;border-radius:20px;position:relative;overflow:hidden;text-align:center}
.bein-shop-header .shop-title{font-size:clamp(1.8rem,3.2vw,3rem);font-weight:800;margin:0 0 14px}
.bein-shop-header .shop-subtitle{font-size:clamp(1rem,1.3vw,1.25rem);opacity:.95;max-width:680px;margin-inline:auto}
.shop-features{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;margin-top:24px}
.feature-item{display:flex;flex-direction:column;align-items:center;gap:10px;font-weight:600}
.feature-item i{font-size:1.75rem;color:#ffd700}

/* Grid */
.bein-products-section{margin-bottom:70px}
.bein-products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;margin-top:26px}

/* Why Choose */
.why-choose-section{background:#f8f9fa;padding:60px 24px;margin-top:50px;border-radius:20px}
.section-title{text-align:center;font-size:clamp(1.4rem,2.5vw,2.2rem);font-weight:800;color:#333;margin:0 0 34px}
.reasons-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px}
.reason-item{background:#fff;border-radius:14px;padding:24px 18px;box-shadow:0 5px 20px rgba(0,0,0,.08);text-align:center;transition:transform .25s ease}
.reason-item:hover{transform:translateY(-4px)}
.reason-icon{inline-size:72px;block-size:72px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:50%;display:grid;place-items:center;margin:0 auto 14px}
.reason-icon i{color:#fff;font-size:1.6rem}
.reason-item h3{font-size:1.1rem;margin:0 0 10px}


.subscription-options{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.subscription-option{display:flex;align-items:center}
.subscription-option input[type="radio"]{display:none}
.wl-attr-btn{display:inline-block;border:1px solid #ddd;padding:6px 10px;border-radius:10px;cursor:pointer;background:#fff}
.wl-attr-btn.is-active, .wl-attr-btn:hover{background:#111;color:#fff;border-color:#111}

/* زر الاشتراك */
.subscribe-button{display:inline-flex;align-items:center;gap:8px;border-radius:10px;padding:10px 14px}


/* Header */
.bein-shop-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: clamp(28px, 6vw, 72px) 0; /* مرن */
  text-align: center;
  margin-bottom: clamp(24px, 5vw, 56px);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.shop-title {
  font-size: clamp(1.6rem, 3.2vw, 3rem);
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.shop-subtitle {
  font-size: clamp(.95rem, 1.6vw, 1.25rem);
  margin: 0 auto;
  opacity: 0.95;
  max-width: min(800px, 92%);
}

/* Features (شبكية مرنة) */
.shop-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  justify-items: center;
  margin-top: clamp(16px, 3vw, 28px);
}
@media (max-width: 800px){
  .shop-features { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .shop-features { grid-template-columns: 1fr; }
}
.feature-item { font-size: 1rem; font-weight: 600; }
.feature-item i { font-size: clamp(1.4rem, 2.6vw, 2rem); color: #ffd700; }

/* Products Grid: أعرض أعمدة مرنة تبدأ من بطاقات أصغر */
.bein-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* كان 350px */
  gap: clamp(14px, 2.2vw, 28px);
  margin-top: clamp(16px, 3vw, 40px);
}

/* بطاقات الصور بدون قص */
.bein-products-grid .product img {
  width: 100%;
  height: auto;
  object-fit: contain !important;
  aspect-ratio: auto !important;
}

/* Enhanced Shop Page Styles */
.bein-shop-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.bein-shop-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.shop-header-content {
    position: relative;
    z-index: 2;
}

.shop-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.shop-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.shop-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-item i {
    font-size: 2rem;
    color: #ffd700;
}

/* Products Grid */
.bein-products-section {
    margin-bottom: 80px;
}

.bein-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Why Choose Us Section */
.why-choose-section {
    background: #f8f9fa;
    padding: 80px 0;
    margin-top: 60px;
    border-radius: 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
}

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

.reason-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-5px);
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.reason-icon i {
    font-size: 2rem;
    color: white;
}

.reason-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.reason-item p {
    color: #666;
    line-height: 1.6;
}



.quick-links h2{
    margin: 50px 0 50px;
    font-size: 43px;
    color: #4c2076;
}

.quick-links-grid{
    display: flex;
    justify-content: center;
    gap: 30px;
}

.quick-link-item{
    height: 170px;
    width: 160px;
    margin: 0 4px;
    background: no-repeat padding-box #e9e8f0;
    border-radius: 19px;
    vertical-align: top;
}

.quick-link-item img{
    width: 72px;
    height: 60px;
    margin: 30px auto;
}

.quick-link-item h3{
    background: no-repeat padding-box #d1d0de;
    border-radius: 0 0 19px 19px;
    padding: 10px 6px;
    height: 60px;
    line-height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bein-shop-header {
        padding: 40px 20px;
        margin: 20px;
    }
    
    .shop-title {
        font-size: 2.2rem;
    }
    
    .shop-subtitle {
        font-size: 1.1rem;
    }
    
    .shop-features {
        gap: 25px;
    }
    
    .bein-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px;
    }
    
    .why-choose-section {
        padding: 40px 20px;
        margin: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .quick-links-grid{
        gap:unset;
    }
    .quick-link-item img {
        padding: 0 10px;
        object-fit: contain;
    }
    #back-to-top {
        padding: 5px;
    }        
}

@media (max-width: 480px) {
    .shop-title {
        font-size: 1.8rem;
    }
    
    .feature-item {
        font-size: 1rem;
    }
    
    .feature-item i {
        font-size: 1.5rem;
    }

}

.quick-links{
    padding: 0 0 50px;
    margin-top: 100px;
    text-align: center;
}

#back-to-top{
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #7737c2;
    width: 35px;
    height: 35px;
    text-align: center;
    border-radius: 100%;
    color: #fff;
    z-index: 999;
    cursor: pointer;
}