.desktop-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-menu li {
    margin: 0 8px;
    position: relative;
}

.main-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 16px;
    display: block;
    position: relative;
    font-size: 14px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.main-menu .current-menu-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.main-menu .menu-item-has-children {
    position: relative;
}

.main-menu .menu-item-has-children > a::after {
    content: '▾';
    margin-right: 5px;
    font-size: 10px;
    vertical-align: middle;
}

.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    padding: 8px 0;
    border: 1px solid var(--border-light);
}

.main-menu .sub-menu li {
    margin: 0;
    width: 100%;
}

.main-menu .sub-menu a {
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 0;
    border-right: 3px solid transparent;
}
@media (max-width: 768px) {
  .desktop-menu .main-menu {
    display: none;
  }
}


/* footer*/
.site-footer{background:#eeeeee;color:#222;padding:26px 16px}
.site-container{max-width:1120px;margin:auto}
.footer-grid{
  display:grid;
  gap:20px;
  grid-template-columns:1.2fr 1fr 1fr;
}
@media(max-width:980px){.footer-grid{grid-template-columns:1fr}}
.sec-title{
  font-size:14px;
  font-weight:800;
  margin-bottom:10px;
  padding-bottom:4px;
  display:inline-block;
  width:auto;
}
.footer-text{
  font-size:16px;
  margin-bottom:10px;
  line-height:1.5;
  color:#333;
}
.sm-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.sm-btn{
  width:40px;height:40px;
  background:#d3d3d3;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:18px;
  text-decoration:none;
  color:#222;
}
.footer-links{list-style:none;display:flex;flex-direction:column;gap:6px}
.footer-links a{
  font-size:15px;
  color:#222;
  text-decoration:none;
  padding:2px 0;
}
.pay-row{display:flex;gap:8px;flex-wrap:wrap}
.pay-row img{
  height:30px;
  background:#fff;
  border-radius:4px;
  padding:3px 5px;
  border:1px solid #aaa;
}
.sep{height:1px;background:#bdbdbd;margin:18px 0}
.footer-bottom{
  display:flex;justify-content:space-between;
  font-size:12px;color:#444;
  flex-wrap:wrap;
}
.bottom-gap{display:none}
@media(max-width:767px){
  .site-footer{padding-bottom:58px}
  .bottom-gap{display:block;width:100%;height:58px}
}

/* قائمة الهاتف السفلية */
#mbn.mobile-bottom-nav{
  position:fixed; bottom:0; left:0; right:0;
  background:#fff; border-top:1px solid #eee;
  display:flex; justify-content:space-around; align-items:center;
  padding:8px 0; z-index:9999; box-shadow:0 -2px 8px rgba(0,0,0,.05);
  text-align:center;
}
:root[dir="rtl"] #mbn.mobile-bottom-nav{ flex-direction: row !important; } 
:root[dir="ltr"] #mbn.mobile-bottom-nav{ flex-direction: row-reverse !important; } 

body.rtl #mbn.mobile-bottom-nav{ flex-direction: row !important; }
body:not(.rtl) #mbn.mobile-bottom-nav{ flex-direction: row-reverse !important; }
@media (min-width:769px){ #mbn.mobile-bottom-nav{ display:none; } }
@media (max-width:768px){ #mbn.mobile-bottom-nav{ display:flex; } }
#mbn.mobile-bottom-nav a{
  text-decoration:none; color:#555; font-size:12px;
  display:flex; flex-direction:column; align-items:center;
  transition:all .3s ease;
}
#mbn.mobile-bottom-nav a:hover{ color:#000; }
#mbn.mobile-bottom-nav svg{ width:22px; height:22px; margin-bottom:4px; }


.xoo-wsc-sc-count {
	background-color: #e94235;
}

html[dir="ltr"] .mobile-sidebar .sidebar-panel,
:lang(en) .mobile-sidebar .sidebar-panel{
  left:0 !important;
  right:auto !important;
  transform:translateX(-100%) !important;
  border-radius:0 0 15px 0 !important; 
}

html[dir="ltr"] .mobile-sidebar.active .sidebar-panel,
:lang(en) .mobile-sidebar.active .sidebar-panel{
  transform:translateX(0) !important;
}


.xoo-wsc-sc-bki {
  font-size: 28px;
  color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: .907px solid #ecf1f6;
  background: #f9fafc;
}
.xoo-wsc-empty-cart {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.xoo-wsc-empty-cart-content {
    max-width: 280px;
    margin: 0 auto;
}

.xoo-wsc-empty-icon {
    margin-bottom: 25px;
}

.xoo-wsc-empty-icon-wrapper {
    position: relative;
    display: inline-block;
}

.xoo-wsc-empty-cart-img {
    width: 80px;
    height: 80px;
    opacity: 0.6;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.xoo-wsc-empty-icon-shadow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    filter: blur(2px);
}

.xoo-wsc-empty-text-content {
    margin-bottom: 20px;
}

.xoo-wsc-empty-text {
    font-size: 1.4em;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 8px;
    line-height: 1.3;
}

.xoo-wsc-empty-subtext {
    font-size: 0.95em;
    color: #666;
    margin: 0;
    line-height: 1.5;
    opacity: 0.8;
}

.xoo-wsc-empty-cart:hover .xoo-wsc-empty-cart-img {
    opacity: 0.8;
    transform: translateY(-2px);
}

.woocommerce .woocommerce-ordering select {
  vertical-align: top;
  border: 1px solid #ddd;
}
 
#order_review_heading {
    visibility: hidden;
}
  .col-md-10 {
    flex: 0 0 auto;
    width: 100%;
  }


.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
 
  border-radius: 1rem;
  background: #7d266d;
	padding:15px;
		width:100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation {

  display: none;
}
.woocommerce-variation-price {
    display: none !important;
}


/* حقول الإدخال */
.woocommerce-form input[type="text"],
.woocommerce-form input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--input-radius);
  background-color: var(--input-bg);
  font-size: 15px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* حالة التركيز للحقول */
.woocommerce-form input[type="text"]:focus,
.woocommerce-form input[type="password"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--focus-color);
}
  
  .woocommerce-button.button {
    padding: 10px 16px;
    font-size: 15px;
  }
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    right: auto;
    color: #515151;
    background-color: var(--primary-color);
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
    color: #fff;
    padding: 16px;
    border-radius: 13px;
}
	
	.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:hover {
    background-color: var(--primary-color); /* إلغاء تأثير تغيير الخلفية */
    color: #fff; /* إلغاء تغيير اللون */
    box-shadow: none; /* إلغاء أي تأثيرات ظلية */
    text-shadow: none; /* إلغاء تأثير النص */
}

	
	
	
	.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
    font-family: inherit;
    font-weight: 400;
    letter-spacing: normal;
    padding: 15px;
    display: block;
    background-color: var(--wc-form-color-background, #fff);
    border: var(--wc-form-border-width) solid #dee2e6;
    border-radius: 13px;
    color: var(--wc-form-color-text, #212529);
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    line-height: normal;
    height: auto;
}


a {
	text-decoration: none
}

p {
	color: #000;
	font-size: 16px;
	line-height: 33px
}

.navigation.posts-navigation {
    display: none;
}
#sidebar {
    display: none !important;
}

html.no-scroll,
html.no-scroll body {
	overflow: hidden !important;
	height: 100% !important
}
html,
body {
	padding: 0;
	margin: 0;
	min-width: 100%;
	overflow-x: hidden;
		background:#fff;
}

.hidden {
	display: none
}


.variations tr {
    display: none;
}
.woo-variation-items-wrapper {
        display: none !important;
    }
.woocommerce .woocommerce-result-count {

  display: none;
}


/*orders*/
body.woocommerce-account.woocommerce-orders .modern-orders { display:grid; gap:20px; }
body.woocommerce-account.woocommerce-orders .order-card { background:#fff; border-radius:14px; padding:16px; box-shadow:0 4px 12px rgba(0,0,0,0.08); transition:all .3s ease; }
body.woocommerce-account.woocommerce-orders .order-card:hover { transform:translateY(-4px); }

body.woocommerce-account.woocommerce-orders .order-summary { display:flex; align-items:center; justify-content:space-between; }
body.woocommerce-account.woocommerce-orders .order-icon { color:#007bff; margin-right:10px; }
body.woocommerce-account.woocommerce-orders .order-info { flex:1; }
body.woocommerce-account.woocommerce-orders .order-number { font-weight:700; font-size:15px; }
body.woocommerce-account.woocommerce-orders .order-date { font-size:13px; color:#777; }

body.woocommerce-account.woocommerce-orders .order-status { padding:6px 12px; border-radius:20px; font-size:13px; font-weight:700; text-transform:capitalize; }
body.woocommerce-account.woocommerce-orders .status-completed{ background:#e6f7ec; color:#2e8b57; }
body.woocommerce-account.woocommerce-orders .status-processing{ background:#e6f0ff; color:#004aad; }
body.woocommerce-account.woocommerce-orders .status-hold{ background:#fff3cd; color:#856404; }
body.woocommerce-account.woocommerce-orders .status-pending{ background:#d1ecf1; color:#0c5460; }
body.woocommerce-account.woocommerce-orders .status-failed{ background:#f8d7da; color:#721c24; }

body.woocommerce-account.woocommerce-orders .order-meta { display:flex; justify-content:space-between; align-items:center; margin:12px 0; font-size:14px; color:#444; }
body.woocommerce-account.woocommerce-orders .order-products-count, 
body.woocommerce-account.woocommerce-orders .order-total { display:flex; align-items:center; gap:6px; }
body.woocommerce-account.woocommerce-orders .order-products-count svg { color:#28a745; }
body.woocommerce-account.woocommerce-orders .money-icon { color:#28a745; }

body.woocommerce-account.woocommerce-orders .btn-toggle { background:#007bff; color:#fff; border:none; padding:8px 14px; border-radius:6px; cursor:pointer; font-size:14px; display:flex; align-items:center; justify-content:center; }
body.woocommerce-account.woocommerce-orders .btn-toggle:hover { background:#0056b3; }

body.woocommerce-account.woocommerce-orders .order-details { display:none; margin-top:15px; border-top:1px solid #eee; padding-top:12px; }
body.woocommerce-account.woocommerce-orders .product-line { display:flex; justify-content:space-between; align-items:center; padding:6px 0; border-bottom:1px dashed #eee; font-size:14px; }
body.woocommerce-account.woocommerce-orders .product-line svg { color:#ffc107; }

body.woocommerce-account.woocommerce-orders .order-actions { margin-top:12px; display:flex; gap:8px; flex-wrap:wrap; }
body.woocommerce-account.woocommerce-orders .action-btn { background:#007bff; color:#fff; padding:6px 12px; border-radius:6px; text-decoration:none; font-size:13px; display:flex; align-items:center; justify-content:center; }
body.woocommerce-account.woocommerce-orders .action-btn.pay { background:#28a745; }
body.woocommerce-account.woocommerce-orders .action-btn.cancel { background:#dc3545; }

body.woocommerce-account.woocommerce-orders .modern-empty { text-align:center; padding:40px 20px; color:#6c757d; }
body.woocommerce-account.woocommerce-orders .modern-empty svg { color:#007bff; margin-bottom:16px; }
body.woocommerce-account.woocommerce-orders .modern-empty p { font-size:16px; margin:0; }

body.woocommerce-account.woocommerce-orders .orders-pagination { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:20px; }
body.woocommerce-account.woocommerce-orders .orders-pagination .page-link { background:#f5f5f5; color:#333; padding:8px 12px; border-radius:8px; text-decoration:none; font-size:14px; }
body.woocommerce-account.woocommerce-orders .orders-pagination .page-link:hover { background:#e9e9e9; }
body.woocommerce-account.woocommerce-orders .orders-pagination .page-link.disabled { pointer-events:none; opacity:.5; }
body.woocommerce-account.woocommerce-orders .orders-pagination .page-status { font-size:14px; color:#555; }





/*cart*/

body.woocommerce-cart .woocommerce .shop_table {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  border-collapse: collapse;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* رأس الجدول */
body.woocommerce-cart .woocommerce .shop_table thead th {
  background: #f7f7f7;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 16px;
  text-align: start;
  border-bottom: 1px solid #e5e7eb;
  color: #0f172a;
}

/* خلايا */
body.woocommerce-cart .woocommerce .shop_table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
}

/* صورة المنتج */
body.woocommerce-cart .woocommerce .product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

/* اسم ومعلومات المنتج */
body.woocommerce-cart .woocommerce .product-name a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
body.woocommerce-cart .woocommerce ul.wcpa_cart_meta {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: #6b7280;
  font-size: 12px;
}
body.woocommerce-cart .woocommerce .wcpa_cart_meta_item-label {font-weight:700;color:#475569;margin:0}
body.woocommerce-cart .woocommerce .wcpa_cart_meta_item-value p {margin:0;color:#64748b}

/* زر الإزالة */
body.woocommerce-cart .woocommerce a.remove {
  color: #fff !important;
  background: #ef4444;
  border-radius: 10px;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  transition: transform .12s ease, opacity .12s ease;
}
body.woocommerce-cart .woocommerce a.remove:hover {opacity:.9; transform:scale(.96)}

/* كمية المنتج */
body.woocommerce-cart .woocommerce .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 #fafafa;
}
body.woocommerce-cart .woocommerce .quantity .qty-btn {
  background: #f3f4f6;
  border: 0;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 18px;
}
body.woocommerce-cart .woocommerce .quantity input.input-text.qty {
  width: 64px;
  height: 38px;
  border: 0;
  text-align: center;
  font-weight: 700;
  outline: none;
  background: #fff;
}

/* أزرار تحت الجدول */
body.woocommerce-cart .woocommerce .actions {
  padding: 16px;
}
body.woocommerce-cart .woocommerce .actions .button[name="update_cart"] {
  border: 0;
  border-radius: 12px;
  padding: 22px;
  cursor: not-allowed;
}

/* صندوق الإجماليات */
body.woocommerce-cart .woocommerce .cart-collaterals {margin-top:20px;}
body.woocommerce-cart .woocommerce .cart_totals {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  position: relative;
}
@media (min-width: 992px) {
  body.woocommerce-cart .woocommerce .cart_totals {position: sticky; top: 16px;}
}
body.woocommerce-cart .woocommerce .cart_totals h2 {
  font-size: 18px;
  margin: 0 0 14px;
  font-weight: 800;
  color: #0f172a;
}

/* إخفاء صف المجموع */
body.woocommerce-cart .woocommerce .cart_totals .cart-subtotal {display:none;}

/* زر الدفع */
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: opacity .12s ease, transform .12s ease;
}
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout .checkout-button:hover {opacity:.92; transform:translateY(-1px);}

/* مسافات وسائل الدفع */
body.woocommerce-cart .ppcp-messages,
body.woocommerce-cart #ppc-button-ppcp-gateway,
body.woocommerce-cart #wc-stripe-express-checkout-element {margin-top:12px;}

/* تحسين الموبايل */
@media (max-width: 768px) {
  body.woocommerce-cart .woocommerce .shop_table thead {display:none;}
  body.woocommerce-cart .woocommerce .shop_table tr.cart_item {
    grid-template-columns:72px 1fr;
    gap:12px;
    padding:12px;
  }
  body.woocommerce-cart .woocommerce .product-thumbnail {grid-row:1 / span 2;}
  body.woocommerce-cart .woocommerce .product-price,
  body.woocommerce-cart .woocommerce .product-subtotal {color:#0f172a; font-weight:800;}
  body.woocommerce-cart .woocommerce .product-quantity {margin-top:6px;}
}

/* إبراز السعر */
body.woocommerce-cart .woocommerce .woocommerce-Price-amount bdi {font-weight:800;}






/*notfinect*/

body.single-product #cart-moveaway-toast {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(24,24,27,.88);
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.06);
  z-index: 999999;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font: 500 14px/1.1 ui-sans-serif, system-ui, "Tajawal", Arial;
  animation: toast-moveaway 2.2s ease-out forwards;
  direction: inherit;
}

body.single-product #cart-moveaway-toast .toast-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #22c55e;
  background: rgba(34,197,94,0.12);
  border-radius: 999px;
  flex: 0 0 auto;
}

body.single-product #cart-moveaway-toast .toast-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(70vw,560px);
}

@keyframes toast-moveaway {
  0%   { opacity: 0; transform: translate(-50%, -10px); }
  12%  { opacity: 1; transform: translate(-50%, 0); }
  75%  { opacity: 1; transform: translate(-50%, -72px); }
  100% { opacity: 0; transform: translate(-50%, -120px); }
}

@media (prefers-color-scheme: light) {
  body.single-product #cart-moveaway-toast {
    background: rgba(255,255,255,.96);
    color: #111827;
    box-shadow: 0 10px 26px rgba(0,0,0,.10);
  }
}

@media (max-width:480px) {
  body.single-product #cart-moveaway-toast {
    padding:10px 14px;
    font-size:13px;
  }
  body.single-product #cart-moveaway-toast .toast-text {
    max-width:86vw;
  }
}

@media (prefers-reduced-motion:reduce) {
  body.single-product #cart-moveaway-toast {
    animation:none;
    opacity:1;
  }
}



/*view-order*/

body.woocommerce-view-order .order-clean,
body.woocommerce-order-received .order-clean {
  max-width: 750px;
  margin: 0 auto;
  padding: 24px 16px;
  font-family: "Tajawal", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fafbfc;
  color: #1f2937;
  line-height: 1.6;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* الرأس */
body.woocommerce-view-order .oc-header,
body.woocommerce-order-received .oc-header {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

body.woocommerce-view-order .oc-header-content,
body.woocommerce-order-received .oc-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
}

body.woocommerce-view-order .oc-order-info,
body.woocommerce-order-received .oc-order-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.woocommerce-view-order .oc-order-number,
body.woocommerce-order-received .oc-order-number {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

body.woocommerce-view-order .oc-order-date,
body.woocommerce-order-received .oc-order-date {
  font-size: 13px;
  color: #6b7280;
}

body.woocommerce-view-order .oc-status-badge,
body.woocommerce-order-received .oc-status-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

body.woocommerce-view-order .oc-status-badge:hover,
body.woocommerce-order-received .oc-status-badge:hover {
  transform: scale(1.05);
}

body.woocommerce-view-order .oc-status--completed,
body.woocommerce-order-received .oc-status--completed { background: #d1fae5; color: #065f46; }

body.woocommerce-view-order .oc-status--processing,
body.woocommerce-order-received .oc-status--processing { background: #dbeafe; color: #1e40af; }

body.woocommerce-view-order .oc-status--pending,
body.woocommerce-order-received .oc-status--pending { background: #fef3c7; color: #92400e; }

body.woocommerce-view-order .oc-status--cancelled,
body.woocommerce-order-received .oc-status--cancelled,
body.woocommerce-view-order .oc-status--failed,
body.woocommerce-order-received .oc-status--failed { background: #fee2e2; color: #991b1b; }

body.woocommerce-view-order .oc-status--refunded,
body.woocommerce-order-received .oc-status--refunded { background: #ede9fe; color: #5b21b6; }

body.woocommerce-view-order .oc-status--on-hold,
body.woocommerce-order-received .oc-status--on-hold { background: #f3f4f6; color: #374151; }

body.woocommerce-view-order .oc-total-section,
body.woocommerce-order-received .oc-total-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
}

body.woocommerce-view-order .oc-total-label,
body.woocommerce-order-received .oc-total-label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
}

body.woocommerce-view-order .oc-total-amount,
body.woocommerce-order-received .oc-total-amount {
  font-size: 28px;
  font-weight: 900;
  color: #111827;
}

body.woocommerce-view-order .oc-payment-method,
body.woocommerce-order-received .oc-payment-method {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f9fafb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  transition: background 0.3s ease;
}

body.woocommerce-view-order .oc-payment-method:hover,
body.woocommerce-order-received .oc-payment-method:hover {
  background: #e5e7eb;
}

body.woocommerce-view-order .oc-payment-method svg,
body.woocommerce-order-received .oc-payment-method svg {
  width: 20px;
  height: 20px;
  color: #6b7280;
  stroke-width: 2;
}

/* المنتجات */
body.woocommerce-view-order .oc-products,
body.woocommerce-order-received .oc-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

body.woocommerce-view-order .oc-product-item,
body.woocommerce-order-received .oc-product-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  align-items: center;
  background: #ffffff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

body.woocommerce-view-order .oc-product-item:hover,
body.woocommerce-order-received .oc-product-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

body.woocommerce-view-order .oc-product-image,
body.woocommerce-order-received .oc-product-image {
  position: relative;
  width: 90px;
  height: 90px;
}

body.woocommerce-view-order .oc-product-image img,
body.woocommerce-order-received .oc-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f4f6;
  transition: transform 0.3s ease;
}

body.woocommerce-view-order .oc-product-item:hover .oc-product-image img,
body.woocommerce-order-received .oc-product-item:hover .oc-product-image img {
  transform: scale(1.05);
}

body.woocommerce-view-order .oc-product-details,
body.woocommerce-order-received .oc-product-details { min-width: 0; }

body.woocommerce-view-order .oc-product-name,
body.woocommerce-order-received .oc-product-name {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

body.woocommerce-view-order .oc-product-meta,
body.woocommerce-order-received .oc-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.woocommerce-view-order .oc-sku,
body.woocommerce-order-received .oc-sku,
body.woocommerce-view-order .oc-meta-tag,
body.woocommerce-order-received .oc-meta-tag {
  font-size: 11px;
  padding: 4px 8px;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 4px;
  font-weight: 600;
}

/* السعر */
body.woocommerce-view-order .oc-product-price,
body.woocommerce-order-received .oc-product-price {
  font-size: 18px;
  font-weight: 900;
  color: #2563eb;
  white-space: nowrap;
}

/* استجابة */
@media (max-width: 640px) {
  body.woocommerce-view-order .order-clean,
  body.woocommerce-order-received .order-clean {
    padding: 16px 12px;
  }

  body.woocommerce-view-order .oc-header,
  body.woocommerce-order-received .oc-header {
    padding: 20px 16px;
  }

  body.woocommerce-view-order .oc-header-content,
  body.woocommerce-order-received .oc-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  body.woocommerce-view-order .oc-total-amount,
  body.woocommerce-order-received .oc-total-amount {
    font-size: 24px;
  }

  body.woocommerce-view-order .oc-product-item,
  body.woocommerce-order-received .oc-product-item {
    grid-template-columns: 75px 1fr;
    gap: 12px;
  }

  body.woocommerce-view-order .oc-product-image,
  body.woocommerce-order-received .oc-product-image {
    width: 75px;
    height: 75px;
  }

  body.woocommerce-view-order .oc-product-price,
  body.woocommerce-order-received .oc-product-price {
    grid-column: 2;
    text-align: left;
    margin-top: 8px;
    font-size: 16px;
  }
}


