/* 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-display: swap;
    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-display: swap;
    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-display: swap;
    font-style: normal;
}

/* =============================================
   Global Forms & Buttons CSS for WordPress
   - Clean, modern, accessible
   - Works with LTR & RTL
   - Compatible with Gutenberg, classic forms, WooCommerce
   ============================================= */

/* ---------- CSS Variables ---------- */
:root{
  --wp-color-primary:#5a2d82;   /* beIN-like violet */
  --wp-color-primary-600:#4d2470;
  --wp-color-primary-700:#401e60;
  --wp-color-secondary:#2d3a82; /* deep indigo */
  --wp-color-bg:#ffffff;
  --wp-color-muted:#f6f7fb;
  --wp-color-border:#e7e7ee;
  --wp-color-text:#1f2430;
  --wp-color-text-2:#4b5563;
  --wp-color-success:#0ea5a4;   /* teal */
  --wp-color-warning:#f59e0b;   /* amber */
  --wp-color-danger:#e11d48;    /* rose */

  --wp-radius-sm:8px;
  --wp-radius-md:12px;
  --wp-radius-lg:16px;

  --wp-shadow-sm:0 1px 2px rgba(0,0,0,.06);
  --wp-shadow-md:0 8px 24px rgba(16,24,40,.08);

  --wp-focus:0 0 0 3px rgba(90,45,130,.18);
  --wp-focus-strong:0 0 0 4px rgba(90,45,130,.30);

  --wp-input-height:48px;
  --wp-input-padding:12px 14px;
  --wp-font:system-ui, -apple-system, Segoe UI, Roboto, "Noto Kufi Arabic", "Noto Sans Arabic", "Tajawal", Helvetica, Arial, sans-serif;
    --btn-bg:var(--wp-color-primary);
  --btn-bg-hover:var(--wp-color-primary-600);
  --btn-text:#fff;
  --btn-radius:var(--wp-radius-sm);
  --btn-pad:10px 18px;
  --btn-shadow:var(--wp-shadow-sm);
  --bg:#fff;
}

html{scroll-behavior:smooth}
body{font-family:var(--wp-font);color:var(--wp-color-text)}

/* Dark mode support */
@media (prefers-color-scheme:dark){
  :root{
    --wp-color-bg:#0f1115;
    --wp-color-muted:#171923;
    --wp-color-border:#2a2f3a;
    --wp-color-text:#e5e7eb;
    --wp-color-text-2:#c7cdd6;
    --wp-shadow-sm:0 1px 2px rgba(0,0,0,.35);
    --wp-shadow-md:0 8px 24px rgba(0,0,0,.45);
  }
}

/* ---------- Global field reset & typography ---------- */

label{display:inline-block;margin-bottom:6px;font-weight:600;}
small.help, .form-help, .description{display:block;color:var(--wp-color-text-2);margin-top:6px;font-size:.9rem}

/* ---------- Form Group ---------- */
.form-group{margin-bottom:16px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width: 720px){.form-row{grid-template-columns:1fr}}

/* ---------- Inputs & Textareas ---------- */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="url"], input[type="number"],
input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"], input[type="week"],
select, textarea{
  width:100%;
  height:var(--wp-input-height);
  padding:var(--wp-input-padding);
  border:1px solid var(--wp-color-border);
  border-radius:var(--wp-radius-sm);
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
  box-shadow:var(--wp-shadow-sm);
}
textarea{min-height:120px;resize:vertical}
select{appearance:none;background-image:linear-gradient(45deg,transparent 50%, currentColor 50%),linear-gradient(135deg,currentColor 50%, transparent 50%);background-position:calc(100% - 18px) 50%, calc(100% - 12px) 50%;background-size:6px 6px; background-repeat:no-repeat}

input::placeholder, textarea::placeholder{color:#9aa1ad}

/* Focus states */
input:focus, select:focus, textarea:focus{
  border-color:var(--wp-color-primary);
  box-shadow:var(--wp-focus);
}

/* Disabled & Readonly */
input[disabled], select[disabled], textarea[disabled]{opacity:.55;cursor:not-allowed;background:var(--wp-color-muted)}
input[readonly], textarea[readonly]{background:var(--wp-color-muted)}

/* Validation */
.is-invalid, .woocommerce-invalid input.input-text{
  border-color:var(--wp-color-danger) !important;
  box-shadow:0 0 0 3px rgba(225,29,72,.15) !important;
}
.is-valid{
  border-color:var(--wp-color-success);
  box-shadow:0 0 0 3px rgba(14,165,164,.18);
}
.form-error{color:var(--wp-color-danger);font-size:.92rem;margin-top:6px}
.form-success{color:var(--wp-color-success);font-size:.92rem;margin-top:6px}

/* ---------- Checkboxes & Radios (modern) ---------- */
input[type="checkbox"], input[type="radio"]{accent-color:var(--wp-color-primary)}

/* ---------- Buttons (generic) ---------- */
/*.btn, button, input[type="button"], input[type="submit"], .wp-block-button__link, .woocommerce a.button, .woocommerce button.button{*/
/*  display:inline-flex; align-items:center; justify-content:center;*/
/*  gap:8px;*/
/*  padding:var(--btn-pad);*/
/*  background:var(--btn-bg);*/
/*  color:var(--btn-text);*/
/*  border:1px solid transparent;*/
/*  border-radius:var(--btn-radius);*/
/*  box-shadow:var(--btn-shadow);*/
/*  text-decoration:none !important;*/
/*  font-weight:700; line-height:1.2;*/
/*  cursor:pointer;*/
/*  transition:transform .05s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;*/
/*}*/

.btn:hover, button:hover, input[type="submit"]:hover, .wp-block-button__link:hover, .woocommerce a.button:hover, .woocommerce button.button:hover{
  background:var(--btn-bg-hover); transform:translateY(-1px);
}
.btn:active, button:active, input[type="submit"]:active{transform:translateY(0)}
.btn:focus-visible{outline:none; box-shadow:var(--wp-focus-strong)}

/* Button Variants */
.btn-secondary{--btn-bg:var(--wp-color-secondary);--btn-bg-hover:#24316f}
.btn-muted{--btn-bg:var(--wp-color-muted);--btn-bg-hover:#eceaf4;--btn-text:#222;color:#222 !important;border:1px solid var(--wp-color-border)}
.btn-outline{--btn-bg:transparent;--btn-bg-hover:rgba(90,45,130,.08);--btn-text:var(--wp-color-primary);color:var(--wp-color-primary)!important;border:1px solid var(--wp-color-primary)}
.btn-danger{--btn-bg:var(--wp-color-danger);--btn-bg-hover:#c01439}
.btn-success{--btn-bg:var(--wp-color-success);--btn-bg-hover:#0b8c8b}
.btn-warning{--btn-bg:var(--wp-color-warning);--btn-bg-hover:#d48806}

/* Button Sizes */
.btn-xs{--btn-pad:6px 10px; font-size:.82rem}
.btn-sm{--btn-pad:8px 14px; font-size:.9rem}
.btn-lg{--btn-pad:12px 20px; font-size:1.05rem}
.btn-xl{--btn-pad:14px 24px; font-size:1.15rem;border-radius:var(--wp-radius-md)}

/* Full width buttons */
.btn-block{display:flex;width:100%}

/* Loading state */
.btn.is-loading, button.is-loading{position:relative;pointer-events:none;opacity:.9}
.btn.is-loading::after, button.is-loading::after{
  content:""; width:16px; height:16px; border-radius:50%; border:2px solid rgba(255,255,255,.45); border-top-color:#fff; display:inline-block; margin-inline-start:8px; animation:spin .8s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

/* ---------- Gutenberg Buttons compatibility ---------- */
.wp-block-button__link{border-radius:var(--wp-radius-sm)}
.wp-block-buttons>.wp-block-button{margin:.25rem}

/* ---------- Input groups ---------- */
.input-group{display:flex;align-items:stretch;width:100%}
.input-group>.input, .input-group>input, .input-group>select{flex:1 1 auto;border-radius:var(--wp-radius-sm) 0 0 var(--wp-radius-sm)}
.input-group>.addon{display:inline-flex;align-items:center;padding:0 12px;background:var(--wp-color-muted);border:1px solid var(--wp-color-border);border-inline-start:0;border-radius:0 var(--wp-radius-sm) var(--wp-radius-sm) 0;color:var(--wp-color-text-2)}

/* ---------- WooCommerce tweaks ---------- */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce form .form-row select{
  padding:var(--wp-input-padding); border-radius:var(--wp-radius-sm); border-color:var(--wp-color-border);
}
.woocommerce .button{font-weight:700}
.woocommerce-message, .woocommerce-error, .woocommerce-info{
  border-radius:var(--wp-radius-sm); box-shadow:var(--wp-shadow-sm);
}

/* ---------- Alerts ---------- */
.alert{border:1px solid var(--wp-color-border);border-radius:var(--wp-radius-sm);padding:12px 14px;background:var(--wp-color-muted)}
.alert-success{border-color:#cdf5f4;background:#f0fdfa;color:#065f5b}
.alert-danger{border-color:#ffd6de;background:#fff1f3;color:#9f1239}
.alert-warning{border-color:#ffe3b3;background:#fff8e6;color:#92400e}

/* ---------- RTL adjustments ---------- */
[dir="rtl"] select{background-position:18px 50%, 24px 50%}
[dir="rtl"] .input-group>.input, [dir="rtl"] .input-group>input, [dir="rtl"] .input-group>select{border-radius:0 var(--wp-radius-sm) var(--wp-radius-sm) 0}
[dir="rtl"] .input-group>.addon{border-radius:var(--wp-radius-sm) 0 0 var(--wp-radius-sm);border-inline-start:1px solid var(--wp-color-border);border-inline-end:0}

/* ---------- Utilities ---------- */
.u-hint{font-size:.85rem;color:var(--wp-color-text-2)}
.u-flex{display:flex;gap:8px;align-items:center}
.u-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.u-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media (max-width:720px){.u-grid-2,.u-grid-3{grid-template-columns:1fr}}

/* ---------- Examples (optional) ---------- */
/* Add class .form-modern to a wrapper to apply a subtle background */
.form-modern{background:var(--wp-color-muted);padding:20px;border-radius:var(--wp-radius-md);border:1px solid var(--wp-color-border)}

/* Reduce motion for those who prefer it */
@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{animation:none!important;transition:none!important}
}

body.woocommerce-account .endpoint-title,
body.woocommerce-account .bein-entity-header {
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
  padding:16px; border:1px solid #eee; border-radius:14px; background:#fff; margin-bottom:16px;
}
body.woocommerce-account .bein-entity-header h1,
body.woocommerce-account .bein-entity-header h2 { margin:0; font-size:clamp(18px,2.6vw,22px); }
body.woocommerce-account .bein-meta { color:#6b7280; font-size:.95rem; line-height:1.6; }

body.woocommerce-account .status-badge {
  display:inline-block; padding:6px 10px; border-radius:999px; font-size:.85rem;
  background:#f1f5f9; color:#334155; border:1px solid #e5e7eb;
}
.status-badge.is-completed{ background:#f0fdfa; color:#065f5b; border-color:#99f6e4; }
.status-badge.is-processing{ background:#fff8e6; color:#92400e; border-color:#fde68a; }
.status-badge.is-on-hold{ background:#eef2ff; color:#3730a3; border-color:#c7d2fe; }
.status-badge.is-cancelled,.status-badge.is-failed{ background:#fee2e2; color:#991b1b; border-color:#fecaca; }
.status-badge.is-active{ background:#ecfeff; color:#155e75; border-color:#a5f3fc; }
.status-badge.is-pending-cancel{ background:#fef9c3; color:#854d0e; border-color:#fde68a; }
.status-badge.is-expired{ background:#f3f4f6; color:#374151; border-color:#e5e7eb; }

body.woocommerce-account .panel-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px; margin:16px 0; }
body.woocommerce-account .panel-card {
  border:1px solid #eee; border-radius:12px; padding:14px; background:#fff;
}
body.woocommerce-account .panel-card h3 { margin:0 0 8px; font-size:1.05rem; }
body.woocommerce-account .panel-card .dim { color:#6b7280; font-size:.93rem; }

/* جداول Woo (تفاصيل الطلب/الاشتراك/العناوين) */
body.woocommerce-account table.shop_table,
body.woocommerce-account table.woocommerce-table {
  width:100%; border-collapse:collapse; background:#fff; border:1px solid #eee; border-radius:12px; overflow:hidden;
}
body.woocommerce-account table.shop_table th,
body.woocommerce-account table.shop_table td,
body.woocommerce-account table.woocommerce-table th,
body.woocommerce-account table.woocommerce-table td {
  border-bottom:1px solid #f1f1f1; padding:12px 14px; text-align:right;
}
body.woocommerce-account table.shop_table thead th,
body.woocommerce-account table.woocommerce-table thead th { background:#f7f5fb; }

/* قائمة العناصر + المجموع */
body.woocommerce-account tfoot tr:last-child th,
body.woocommerce-account tfoot tr:last-child td { font-weight:700; }

/* صندوق العناوين */
body.woocommerce-account .woocommerce-customer-details,
body.woocommerce-account address {
  background:#fff; border:1px solid #eee; border-radius:12px; padding:14px;
}

/* أزرار الإجراءات */
body.woocommerce-account .button, 
body.woocommerce-account .woocommerce-button, 
body.woocommerce-account .woocommerce a.button {
  display:inline-flex; align-items:center; gap:6px; background:#5a2d82; color:#fff; border:1px solid transparent;
  border-radius:10px; padding:9px 14px; text-decoration:none; transition:transform .06s ease;
}
body.woocommerce-account .button:hover{ transform:translateY(-1px); }
body.woocommerce-account .button.cancel { background:#e11d48; }
body.woocommerce-account .button.pay, 
body.woocommerce-account .button.renew { background:#2d3a82; }

/* تنسيق قوائم مفاتيح/قيم */
body.woocommerce-account .order-again,
body.woocommerce-account ul.order_details {
  border:1px solid #eee; border-radius:12px; padding:12px 14px; background:#fff;
}
body.woocommerce-account ul.order_details { display:flex; flex-wrap:wrap; gap:10px 18px; }
body.woocommerce-account ul.order_details li { list-style:none; margin:0; }

/* RTL ضبط بسيط */
html[dir="rtl"] body.woocommerce-account table th, 
html[dir="rtl"] body.woocommerce-account table td { text-align:right; }

.bein-toolbar{
    margin:20px 0;
}
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: 97px;*/ /* مساحة للهيدر الثابت */
}

.site-main{
    min-height: 79vh;
    /*margin-top:25px;*/
    /*margin-bottom: 25px;*/
}
/* 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;
    color:#000;
}

.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-again{
    margin-top:20px;
}

.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;
    display: flex;
    flex-direction: column;
}

.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 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%);
    border-radius: 16px;
}

.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-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-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: sticky;
}

.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;
    display: block;
}

body > header > div > div > div.logo-container > a > picture,
body > footer > div.block-footer-social > div > a > picture{
    display: block;
}
/* 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;
    height: auto !important;
}

.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 .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 {
        gap: 5px;
        width: auto;
        justify-self: center;
        display: flex;
        flex-wrap: wrap;
    }
    
    .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: 3px;
    }
    
    .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: flex;
    padding: 0;
    margin: 10px 0 0;
    gap: 10px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.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:10px}
.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;
}

    .pkg-feature__image img{
        width: 220px;
        height: auto !important;
    }   
    
    .addons-grid{
      display: grid;
      gap: 18px;
      grid-template-columns: 1fr;
    }
    
    @media (min-width: 640px){
      .addons-grid{ grid-template-columns: repeat(2, 1fr); }
    }
    @media (min-width: 1024px){
      .addons-grid{ grid-template-columns: repeat(3, 1fr); }
    }
    .bien-product-card, .bein-product-card{
      background:#fff;
      border:1px solid #e5e7eb;
      border-radius:16px;
      overflow:hidden;
      padding:14px;
    }    
.content-area{
    margin-top:25px;
}
/* Responsive Design */
@media (max-width: 768px) {
    /*body{*/
    /*    padding-top: 115px;*/
    /*}*/
    .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: 0px;
    }
    
    .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;
    }   
    .pkg-feature__image img,
    .desc-image img{
            width: 160px;
    }    
    .package-main-desc ul {
        flex-wrap: wrap;
    }    
    .banner-layout .image-content img{
        width: 100%;
    }
    .banner-content{
        padding: 20px;
    }
}

@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;
}

a:where(:not(.wp-element-button)) {
    text-decoration: unset !important;
}

.breadcrumbs{
    background: #f8f9fa;
    padding: 15px 25px;
    border-radius: 25px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
    border: 2px solid #e9ecef;
}
    
.breadcrumbs a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-article-container .product-container{display:grid;grid-template-columns:1fr 1fr;gap:20px}
@media (max-width: 992px){.single-article-container .product-container{grid-template-columns:1fr}}

.posts-grid{
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, 1fr);
}
.post-card{background:#fff;border:1px solid #eee;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.post-card .thumb img{display:block;width:100%;height:auto}
.product-title-section .post-meta .meta-sep{margin:0 6px;color:#aaa}
.wl-tabs__nav{display:flex;gap:8px;margin:16px 0}
.wl-tabs__link{border:1px solid #eee;background:#fff;border-radius:10px;padding:8px 12px;cursor:pointer}
.wl-tabs__link.is-active{background:#5a2d82;color:#fff;border-color:#5a2d82}
.wl-tabs__panel{display:none;background:#fff;border:1px solid #eee;border-radius:12px;padding:14px}
.wl-tabs__panel.is-active{display:block}


/* شبكة المقالات */
.post-card{ background:#fff; border:1px solid #eee; border-radius:14px; overflow:hidden; display:flex; flex-direction:column; }
.post-card .thumb img, .featured-image img{ width:100%; height:auto; display:block; }
.thumb-placeholder{ display:grid; place-items:center; min-height:160px; background:#f7f5fb; color:#888; }
.post-card .card-body{ padding:14px; }
.post-meta, .post-meta-sm{ color:#6b7280; font-size:.92rem; }
.post-meta .dot{ margin-inline:6px; color:#aaa; }
.post-title{ margin:.4rem 0 .6rem; font-size:1.08rem; }
.post-card.small .post-title{ font-size:1rem; margin:.4rem 0 .3rem; }

.page-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin:10px 0 16px; }
.page-head .page-title{ margin:0; }

.single-article .article-head{ margin:8px 0 12px; }
.single-article .entry-title{ margin:.2rem 0 .6rem; font-size:clamp(22px,3.5vw,30px); }
.featured-image{ margin:10px 0 14px; border-radius:14px; overflow:hidden; }
.entry-content{     
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 20px;
}
.entry-content img{ max-width:100%; height:auto; }
.entry-content blockquote{ margin:12px 0; padding:12px 14px; background:#fafafa; border-inline-start:4px solid #5a2d82; }

.article-footer{ margin-top:16px; }
.tax-wrap{ display:flex; flex-wrap:wrap; gap:10px 16px; padding:12px; background:#fff; border:1px solid #eee; border-radius:12px; }
.author-box{ margin-top:14px; display:flex; gap:12px; padding:12px; background:#fff; border:1px solid #eee; border-radius:12px; }
.author-box .author-name{ margin:0 0 4px; }
.post-nav{ display:flex; justify-content:space-between; margin-top:12px; }

.related-posts{ margin:18px 0; }
.related-posts .section-title{ margin:0 0 10px; font-size:1.1rem; }

.pagination-wrap{ display:flex; justify-content:center; margin:18px 0; }
.pagination .page-numbers{ display:inline-block; margin:0 4px; padding:8px 12px; border:1px solid #eee; border-radius:8px; text-decoration:none; }
.pagination .page-numbers.current{ background:#5a2d82; color:#fff; border-color:#5a2d82; }

/* RTL تحسينات بسيطة */
html[dir="rtl"] .breadcrumbs .sep{ margin:0 6px; }


.account-passwords legend{font-weight:800;margin-bottom:8px}
.account-passwords .form-row{margin-bottom:12px}
.account-passwords .help{color:#6b7280;font-size:.9rem}
.lost-pass-hint{margin-top:8px;color:#6b7280}
.lost-pass-hint a{font-weight:700}

/* الحاوية */
.password-input{
  position: relative;
  display: inline-flex;      /* يخلّي العرض على قدّ الحقل */
  width: 100%;               /* أو احذفها لو بدّك العرض على قدّ المحتوى */
  align-items: center;
}

/* الحقل نفسه (WooCommerce input) */
.password-input .woocommerce-Input{
  width: 100%;
  padding-inline-end: 44px;  /* مساحة للزر */
}

/* زر إظهار/إخفاء */
.password-input .show-password-input,
.password-input .show-password-input:where(span){ /* دعم لو كان span من Woo */
  position: absolute;
  inset-inline-end: 10px;    /* يمين/يسار تلقائي حسب RTL/LTR */
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  outline: 0;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .12s;
}

/* أيقونة العين (SVG كخلفية) */
.password-input .show-password-input::before{
  content: "";
  width: 18px; height: 18px;
  background-size: 18px 18px;
  background-repeat: no-repeat;
  /* عين مفتوحة */
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z' fill='none' stroke='%236b7280' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='%236b7280' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* حالة الإخفاء (عين مع خط) */
.password-input .show-password-input.is-active::before{
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3l18 18' stroke='%236b7280' stroke-width='1.6'/%3E%3Cpath d='M2 12s3.5-7 10-7c2.2 0 4.1.7 5.7 1.7M22 12s-3.5 7-10 7c-2.2 0-4.1-.7-5.7-1.7' fill='none' stroke='%236b7280' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='%236b7280' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* تفاعلات */
.password-input .show-password-input:hover{
  background:#fff; border-color:#d1d5db; transform:translateY(-50%) scale(1.02);
}
.password-input .show-password-input:active{ transform:translateY(-50%) scale(0.98); }
.password-input .show-password-input:focus-visible{
  border-color:#6b74ff; box-shadow:0 0 0 3px rgba(107,116,255,.18);
}

/* لو الحقل disabled */
.password-input input[disabled] ~ .show-password-input{ opacity:.5; cursor:not-allowed; }

/* حجم أصغر (اختياري) */
.password-input .show-password-input--sm{ width:30px; height:30px; border-radius:8px; }

.entry-header{
    background: #f0f0f0;
    color: #333;
    padding: 65px 0 0;
    border-bottom: 1px solid #d5d5d5;
}

.entry-title{
    margin:0;
}

.entry-header .entry-title:after {
    content: "";
    display: block;
    width: 95px;
    height: 3px;
    background: #333;
    margin-top: 20px;
    margin-bottom: -1px;
}

.links-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
    gap: 30px;
    margin-top: 30px;
}

.link-item img {
    width: 60px;
    height: auto !important;
    margin-bottom: 20px;
    filter: unset !important;
}
.banner-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

/* لابتوب وأوسع */
@media (min-width: 992px){
  .banner-layout{
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}