/* قالب الشهم: إضافات خاصة بووردبريس وووكومرس (فوق main.css) */

/* شريط ووردبريس للمدير ما يغطي الهيدر الثابت */
.admin-bar .bar { top: 32px; }
@media (max-width: 782px) { .admin-bar .bar { top: 46px; } .admin-bar .filters { top: 46px; } }
@media (max-width: 600px) { .admin-bar .bar { top: 0; } }

/* ---------- القائمة والقائمة المنسدلة ---------- */
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav li { position: relative; display: flex; align-items: center; }
.nav li > a { display: block; padding: 10px; text-decoration: none; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav li > a:hover, .nav .current-menu-item > a, .nav a[aria-current="page"] { border-bottom-color: var(--ember); }
.nav .current-menu-item > a { font-weight: 700; }
.mega { visibility: visible; opacity: 1; }
.menu__nav { list-style: none; margin: 0; padding: 8px 18px; }
.menu__nav a { display: block; padding: 12px 0; font-size: 1.15rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--mist); }
.menu__nav .current-menu-item > a { color: var(--ember-deep); }
.kit-btn { text-decoration: none; }
.foot__list--policy { margin-top: 12px; padding-top: 12px; border-top: 1px solid #23476A; }
.foot__pay img { height: 18px; width: auto; display: inline-block; vertical-align: middle; }

/* ---------- شريط الشحن المجاني ---------- */
.fship { background: var(--paper); border-bottom: 1px solid var(--line); }
.fship__in { max-width: var(--wrap); margin: 0 auto; padding: 9px 16px 10px; display: flex; align-items: center; gap: 16px; }
.fship p { margin: 0; font-size: .92rem; flex: 0 1 auto; }
.fship p b { color: var(--ember-deep); font-weight: 700; white-space: nowrap; }
.fship__track { flex: 1; min-width: 80px; height: 8px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.fship__track span { display: block; height: 100%; border-radius: 999px; background: var(--ember); transition: width .4s ease; }
.fship.is-done { background: #E3F2EA; border-bottom-color: #C7E5D4; }
.fship.is-done p { color: var(--ok); font-weight: 700; }
.fship.is-done .fship__track span { background: var(--ok); }
.fship.is-empty .fship__in { justify-content: center; }
.fship--cart { border: 1px solid var(--line); border-radius: var(--r-m); margin-bottom: 20px; }
.fship--cart.is-done { border-color: #C7E5D4; }
.fship--cart .fship__in { padding: 14px 18px; }
.fship--cart p { font-size: 1rem; }
@media (max-width: 640px) {
  .fship__in { flex-direction: column; align-items: stretch; gap: 6px; text-align: center; }
  .fship__track { width: 100%; }
}

/* ---------- زر واتساب العائم ---------- */
.float-wa {
  position: fixed; z-index: 55; bottom: 20px; inset-inline-end: 20px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff; text-decoration: none; border-radius: 999px; padding: 10px 16px 10px 12px;
  box-shadow: 0 10px 24px -10px rgba(14, 39, 64, .5); font-weight: 600;
}
.float-wa svg { width: 26px; height: 26px; }
@media (max-width: 640px) { .float-wa span { display: none; } .float-wa { padding: 12px; bottom: 16px; inset-inline-end: 16px; } }

/* ---------- البطاقات داخل ووكومرس ---------- */
.card .added_to_cart { display: none; }
.card .add.loading { opacity: .6; }
a.add { text-decoration: none; }
.duo__thumbs s { font-size: .78rem; opacity: .75; display: block; }
.ohero .spot__img img, .ohero .mini__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bundle li a { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.bundle li img { width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; background: #fff; border-radius: var(--r-s); }
.spot h2 a, .mini h3 a { text-decoration: none; }
.grid--offers > li[hidden] { display: none !important; }
.fopt { text-decoration: none; color: inherit; }

/* ---------- الترقيم ---------- */
.woocommerce-pagination, .pager { margin-top: 28px; }
.woocommerce-pagination ul, .pager .nav-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 0; border: 0 !important; }
.woocommerce-pagination li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span, .pager .page-numbers {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--r-s);
  background: var(--paper); border: 1px solid var(--line) !important; text-decoration: none; color: var(--night) !important; font-weight: 600;
}
.woocommerce-pagination .current, .pager .current { background: var(--night) !important; color: #fff !important; border-color: var(--night) !important; }
.tools__count .woocommerce-result-count { margin: 0; float: none; }
.woocommerce-ordering { margin: 0 !important; float: none !important; }
.woocommerce-ordering select { height: 40px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--paper); padding: 0 10px; font: inherit; }
.filters__open b { background: var(--ember); color: var(--night); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .78rem; padding: 0 6px; }
.filters__form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
@media (min-width: 961px) { .filters__apply { display: none !important; } }

/* ---------- صفحة المنتج ---------- */
.pp__media .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; background: var(--paper); border: 1px solid #E4EBF0; border-radius: var(--r-l); padding: 16px; position: relative; }
.pp__media .woocommerce-product-gallery__image img { width: 100%; height: auto; object-fit: contain; max-height: 620px; }
.pp__media .flex-control-thumbs { display: flex; gap: 8px; margin: 12px 0 0 !important; padding: 0; list-style: none; overflow-x: auto; }
.pp__media .flex-control-thumbs li { flex: 0 0 72px; width: 72px !important; float: none !important; margin: 0 !important; }
.pp__media .flex-control-thumbs img { border: 2px solid var(--line); border-radius: var(--r-m); padding: 3px; background: #fff; opacity: 1 !important; }
.pp__media .flex-control-thumbs img.flex-active { border-color: var(--night); }
.pp__media .woocommerce-product-gallery__trigger { position: absolute; top: 24px; inset-inline-end: 24px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(14,39,64,.2); display: grid; place-items: center; text-decoration: none; }
.pp__info .product_title { font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.4; margin: 0; }
.pp__info > .price, .pp__info .price { color: var(--night) !important; font-size: 1.45rem !important; font-weight: 700; margin: 0; }
.pp__info > .price .woocommerce-Price-amount { white-space: nowrap; }
.pp__info .price del { color: var(--pine); font-size: 1.05rem; font-weight: 400; opacity: 1; }
.pp__info .price ins { color: var(--ember-deep); text-decoration: none; background: none; }
.pp__off { position: static; align-self: flex-start; font-size: .85rem; padding: 3px 10px; }
.pp__info .woocommerce-product-details__short-description { color: #2E4458; }
.pp__info .woocommerce-product-details__short-description p { margin: 0 0 8px; }
.pp__info .stock { font-weight: 600; margin: 0; }
/* عمود معلومات المنتج: ووكومرس بيعطي .summary عرض 48% وfloat، فكان ياخد نص عموده بس */
.woocommerce div.product div.pp__info.summary, .woocommerce-page div.product div.pp__info.summary { float: none; width: auto; min-width: 0; margin: 0; }
.pp__info .stock.in-stock { color: var(--ok); }
.pp__info .stock.out-of-stock { color: var(--ember-deep); }
.pp__info .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin: -4px 0 0; font-size: .9rem; }
.pp__info form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 6px 0 0; }
.pp__info form.cart::before, .pp__info form.cart::after { display: none; }
.pp__info form.variations_form { display: block; }
.pp__info table.variations { border: 0; margin: 0 0 12px; width: 100%; }
.pp__info table.variations th, .pp__info table.variations td { display: block; padding: 0 0 6px; text-align: start; border: 0; background: none; }
.pp__info table.variations label { font-weight: 700; }
.pp__info table.variations select { width: 100%; max-width: 360px; height: 46px; border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 0 12px; background: #fff; font: inherit; }
.pp__info .reset_variations { font-size: .85rem; color: var(--ember-deep); }
.pp__info .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
.pp__info .woocommerce-variation-price .price { font-size: 1.5rem !important; }
.pp__info .quantity { display: inline-flex; }
.pp__info .quantity .qty { width: 80px; height: 50px; border: 1.5px solid var(--line); border-radius: var(--r-s); text-align: center; font: inherit; font-weight: 600; }
.pp__info .single_add_to_cart_button, .woocommerce .pp__info button.button.alt {
  flex: 1; min-width: 200px; min-height: 50px; border: 0; border-radius: var(--r-s); cursor: pointer; font: inherit; font-weight: 700;
  background: var(--ember) !important; color: var(--night) !important; padding: 0 22px;
}
.pp__info .single_add_to_cart_button:hover { filter: brightness(.96); }
.pp__info .single_add_to_cart_button.disabled { opacity: .5; }
.pp__wa { display: flex; width: 100%; margin-top: 10px; gap: 8px; }
.pp__wa svg { width: 22px; height: 22px; }

/* التبويبات: الوصف، المواصفات، التقييمات */
.pp__details { display: block; }
.woocommerce-tabs { margin-top: 40px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0 !important; margin: 0 0 18px !important; border-bottom: 1px solid var(--line); }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none !important; }
.woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; }
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 10px 16px !important; font-weight: 600; text-decoration: none; color: var(--pine) !important; border-bottom: 3px solid transparent; }
.woocommerce-tabs ul.tabs li.active a { color: var(--night) !important; border-bottom-color: var(--ember); }
.woocommerce-Tabs-panel { background: var(--paper); border: 1px solid #E4EBF0; border-radius: var(--r-l); padding: 24px !important; line-height: 1.9; }
.woocommerce-Tabs-panel table.shop_attributes { width: 100%; border: 0; }
.woocommerce-Tabs-panel table.shop_attributes th, .woocommerce-Tabs-panel table.shop_attributes td { padding: 10px 0; border-bottom: 1px dashed var(--line); font-style: normal; text-align: start; background: none; }
#reviews .commentlist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
#reviews .comment_container { background: var(--mist-2); border-radius: var(--r-m); padding: 14px 16px; display: flex; gap: 12px; }
#reviews .comment_container img.avatar { width: 40px; height: 40px; border-radius: 50%; float: none; position: static; padding: 0; border: 0; }
#reviews .comment-text { margin: 0 !important; border: 0 !important; padding: 0 !important; flex: 1; }
#reviews .star-rating, .woocommerce .star-rating { color: var(--ember); }
#review_form_wrapper { margin-top: 18px; }
#review_form #respond textarea, #review_form #respond input[type="text"], #review_form #respond input[type="email"] { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 10px 12px; background: var(--mist-2); font: inherit; }
#review_form .form-submit input { background: var(--night); color: #fff; border: 0; border-radius: var(--r-s); min-height: 46px; padding: 0 24px; font: inherit; font-weight: 700; cursor: pointer; }
.comment-form-rating .stars a { color: var(--ember); }
.related.products, .upsells.products { margin-top: 48px; }
.related.products > h2, .upsells.products > h2, .cross-sells > h2 { font-size: 1.6rem; font-weight: 700; margin: 0 0 16px; }
/* ووكومرس بيحط ::before/::after (clearfix) على قوائم المنتجات، وبالـ grid بيصيروا خانة فاضية قبل أول منتج */
ul.rail::before, ul.rail::after, ul.grid::before, ul.grid::after { content: none !important; display: none !important; }

/* ---------- السلة والدفع وحسابي ---------- */
.wc-page { max-width: var(--wrap); }
.wc-page .prose { max-width: none; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; margin: 0 0 18px !important; padding: 14px 18px !important; border-radius: var(--r-m); border: 0 !important;
  background: var(--paper) !important; border-inline-start: 4px solid var(--ok) !important; color: var(--night) !important;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.woocommerce-info { border-inline-start-color: var(--night) !important; }
.woocommerce-error { border-inline-start-color: var(--ember-deep) !important; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  background: var(--night); color: #fff; border-radius: var(--r-s); padding: 12px 20px; font-weight: 700; font-family: inherit; border: 0;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--night-2); color: #fff; }
/* الزر المعطّل (متل "تحديث السلة" قبل تغيير الكمية): ووكومرس بيحط لون النص inherit فبيختفي على الخلفية الغامقة */
.woocommerce button.button:disabled[disabled], .woocommerce input.button:disabled[disabled], .woocommerce a.button.disabled,
.woocommerce button.button:disabled[disabled]:hover, .woocommerce input.button:disabled[disabled]:hover, .woocommerce a.button.disabled:hover {
  background: var(--night); color: #fff; opacity: .55; cursor: not-allowed;
}
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #place_order, .wc-proceed-to-checkout a.checkout-button {
  background: var(--ember) !important; color: var(--night) !important;
}
.woocommerce table.shop_table { border-radius: var(--r-m); border-color: var(--line); background: var(--paper); border-collapse: separate; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line); padding: 14px 12px; text-align: start; }
.woocommerce table.shop_table img { width: 64px; border-radius: var(--r-s); background: var(--mist-2); }
.woocommerce .quantity .qty { height: 42px; border: 1.5px solid var(--line); border-radius: var(--r-s); font: inherit; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container .select2-selection--single {
  border: 1.5px solid var(--line) !important; border-radius: var(--r-s) !important; padding: 10px 12px; min-height: 46px; background: #fff; font: inherit;
}
.woocommerce form .form-row label { font-weight: 600; }
.woocommerce-checkout #payment { background: var(--paper) !important; border-radius: var(--r-l) !important; }
/* صفحة العروض: البانر الإعلاني (قسم "بانر إعلاني" بإعدادات القالب) */
.obanner { min-height: 0; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; }
.obanner .duo__text { grid-column: 1; max-width: 60ch; }
.obanner__img { position: relative; grid-column: 2; grid-row: 1; width: clamp(140px, 26vw, 300px); height: auto; max-height: 220px; object-fit: contain; border-radius: var(--r-m); }
div.obanner:hover { transform: none; box-shadow: none; }
@media (max-width: 640px) {
  .obanner { grid-template-columns: 1fr; }
  .obanner__img { grid-column: 1; grid-row: auto; width: 100%; max-height: 200px; }
}
/* صفحة الدفع: "تفاصيل الفاتورة" و"طلبك" جنب بعض على الشاشات العريضة، وتحت بعض على الجوال */
/* الفاتورة والشحن/الملاحظات دايماً تحت بعض (ووكومرس بيحطهم جنب بعض وبينضغطوا على الجوال) */
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce-checkout #customer_details .col-2 { margin-top: 8px; }
@media (min-width: 992px) {
  .woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 36px; align-items: start; }
  .woocommerce-checkout form.checkout > * { grid-column: 1 / -1; } /* التنبيهات وأي إضافة تانية بعرض كامل */
  .woocommerce-checkout form.checkout > #customer_details { grid-column: 1; grid-row: span 2; }
  .woocommerce-checkout form.checkout > #order_review_heading { grid-column: 2; margin-top: 0; }
  .woocommerce-checkout form.checkout > #order_review { grid-column: 2; }
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: var(--r-s); text-decoration: none; background: var(--paper); }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--night); color: #fff; }
.cart-collaterals .cart_totals { background: var(--paper); border-radius: var(--r-l); padding: 20px; }
/* سلة ودفع ووكومرس الجديدة (البلوكات) */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: inherit; }
.wc-block-components-button:not(.is-link) { background: var(--ember) !important; color: var(--night) !important; border-radius: var(--r-s) !important; font-weight: 700 !important; }

/* ---------- صفحات ومقالات ---------- */
.policy .entry h2, .article h2 { font-size: 1.4rem; margin: 26px 0 8px; }
.entry ol, .entry ul { padding-inline-start: 22px; }
.entry li { margin-bottom: 8px; }
.entry img { border-radius: var(--r-m); height: auto; }
.article__img { margin: 0 0 22px; }
.article__img img { width: 100%; height: auto; border-radius: var(--r-l); }
.branch__meta { margin: -8px 0 12px; color: var(--pine); font-size: .92rem; }
.qa__a p { margin: 0 0 16px; color: #2E4458; }
.contact__extra { margin-top: 20px; }
.search--page { max-width: 520px; margin: 20px auto; }
.search--page input { border: 1.5px solid var(--line); }
.empty .btn { margin-top: 8px; }
.sec.wc-page .woocommerce { width: 100%; }

/* ---------- محرر الصفحة (بلوكات ووردبريس) ---------- */
.entry .wp-block-button__link { background: var(--night); border-radius: var(--r-s); }
.entry .alignwide { max-width: var(--wrap); }

/* سلة الجوال */
@media (max-width: 768px) {
  .woocommerce table.shop_table_responsive thead { display: none; }
  .woocommerce table.shop_table_responsive, .woocommerce table.shop_table_responsive tbody, .woocommerce table.shop_table_responsive tr, .woocommerce table.shop_table_responsive td { display: block; width: 100%; }
  .woocommerce table.shop_table_responsive tr.cart_item { position: relative; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .woocommerce table.shop_table_responsive tr td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border: 0; text-align: end; }
  .woocommerce table.shop_table_responsive tr td::before { content: attr(data-title); font-weight: 700; text-align: start; }
  .woocommerce table.shop_table_responsive tr td.product-remove, .woocommerce table.shop_table_responsive tr td.product-thumbnail, .woocommerce table.shop_table_responsive tr td.actions { display: block; text-align: start; }
  .woocommerce table.shop_table_responsive tr td.product-remove::before, .woocommerce table.shop_table_responsive tr td.product-thumbnail::before, .woocommerce table.shop_table_responsive tr td.actions::before { content: none; }
  .woocommerce table.shop_table_responsive tr td.product-remove { position: absolute; top: 10px; inset-inline-end: 10px; width: auto; padding: 0; }
  .woocommerce table.shop_table_responsive tr td.product-name a { text-align: end; }
  .woocommerce table.cart td.actions { padding: 14px; }
  .woocommerce table.cart td.actions .coupon { float: none; display: flex; gap: 8px; margin-bottom: 10px; }
  .woocommerce table.cart td.actions .coupon .input-text { flex: 1; width: auto; min-width: 0; }
  .woocommerce table.cart td.actions > .button { width: 100%; }
  .woocommerce .cart-collaterals, .woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals, .woocommerce .cart-collaterals .cross-sells { float: none; width: 100%; }
  .cart-collaterals .cart_totals { padding: 16px; }
  .woocommerce .cart_totals table.shop_table_responsive tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .woocommerce .cart_totals table.shop_table_responsive tr th { display: none; }
  .woocommerce .cart_totals table.shop_table_responsive tr td { padding: 0; }
  .woocommerce ul#shipping_method li { text-align: start; }
  .woocommerce-shipping-totals td { flex-direction: column; align-items: stretch !important; }
  .woocommerce-shipping-totals td::before { margin-bottom: 4px; }
  .wc-proceed-to-checkout .checkout-button { width: 100%; display: block; text-align: center; }
  .woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last { float: none; width: 100%; }
  .woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-1, .woocommerce-page .col2-set .col-2 { float: none; width: 100%; }
  .woocommerce table.shop_table { max-width: 100%; }
}
/* سلة: صندوق المجموع */
.woocommerce .cart-collaterals .cart_totals { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 18px; box-shadow: 0 14px 34px -24px rgba(14, 39, 64, .35); }
.woocommerce .cart_totals > h2 { margin: 0 0 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 1.2rem; font-weight: 800; }
.woocommerce .cart_totals table.shop_table { display: block; width: 100%; margin: 0; border: 0 !important; border-radius: 0; background: none; }
.woocommerce .cart_totals table.shop_table tbody { display: block; width: 100%; }
.woocommerce .cart_totals table.shop_table tr { display: flex !important; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 14px 0 !important; border: 0 !important; border-bottom: 1px dashed var(--line) !important; background: none !important; }
.woocommerce .cart_totals table.shop_table th { display: block !important; padding: 0 !important; border: 0 !important; background: none !important; font-weight: 600; color: var(--pine, #5B6B78); text-align: start; white-space: nowrap; }
.woocommerce .cart_totals table.shop_table td { display: block !important; width: auto !important; padding: 0 !important; border: 0 !important; background: none !important; text-align: end; font-weight: 700; }
.woocommerce .cart_totals table.shop_table td::before { content: none !important; }

.woocommerce .cart_totals table.shop_table tr.woocommerce-shipping-totals { flex-direction: column; align-items: stretch !important; gap: 10px; }
.woocommerce .cart_totals table.shop_table tr.woocommerce-shipping-totals th, .woocommerce .cart_totals table.shop_table tr.woocommerce-shipping-totals td { width: 100% !important; text-align: start !important; font-weight: 600; }
.woocommerce .cart_totals ul#shipping_method { margin: 0 !important; padding: 0; list-style: none; display: grid; gap: 8px; text-align: start; }
.woocommerce .cart_totals ul#shipping_method li { position: relative; margin: 0 !important; padding: 0 !important; text-indent: 0 !important; text-align: start; }
.woocommerce .cart_totals ul#shipping_method li input { position: absolute; inset-inline-start: 14px; top: 50%; translate: 0 -50%; margin: 0 !important; accent-color: var(--night); }
.woocommerce .cart_totals ul#shipping_method li label { display: flex !important; justify-content: space-between; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; padding-inline-start: 40px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; transition: border-color .2s, background .2s; }
.woocommerce .cart_totals ul#shipping_method li label .amount { font-weight: 800; white-space: nowrap; }
.woocommerce .cart_totals ul#shipping_method li:has(input:checked) label { border-color: var(--night); background: var(--mist-2, #F2F6F9); }
.woocommerce .cart_totals ul#shipping_method li input[type="hidden"] + label { padding-inline-start: 14px; }
.woocommerce .cart_totals .woocommerce-shipping-destination { margin: 4px 0 0; font-size: .85rem; font-weight: 400; color: var(--pine, #5B6B78); }
.woocommerce .cart_totals .woocommerce-shipping-calculator { margin: 2px 0 0; font-size: .85rem; font-weight: 600; }
.woocommerce .cart_totals .woocommerce-shipping-calculator .shipping-calculator-button { color: var(--night); }

.woocommerce .cart_totals table.shop_table tr.order-total { border-bottom: 0 !important; margin-top: 6px; padding: 16px !important; border-radius: 12px; background: var(--night) !important; color: #fff; }
.woocommerce .cart_totals table.shop_table tr.order-total th { color: #D3DEE8; font-size: 1rem; }
.woocommerce .cart_totals table.shop_table tr.order-total td, .woocommerce .cart_totals table.shop_table tr.order-total td strong { color: #fff; font-size: 1.25rem; font-weight: 800; }
.woocommerce .cart_totals table.shop_table tr.order-total td small { display: block; font-size: .72rem; font-weight: 400; color: #C9D7E3; }
.woocommerce .cart_totals .wc-proceed-to-checkout { padding: 16px 0 0; }
.woocommerce .cart_totals .wc-proceed-to-checkout .checkout-button { display: block; width: 100%; margin: 0; padding: 16px; border-radius: 12px; text-align: center; font-size: 1.1rem; font-weight: 800; }
@media (max-width: 768px) {
  .woocommerce .cart-collaterals .cart_totals { padding: 18px 16px 16px; }
}

/* بطاقة العروض بقائمة الأقسام: العنوان (والنص إذا موجود) بالنص */
.mega__promo { justify-content: center; align-items: center; text-align: center; }

/* ===== تعديلات 1.1.9 (نوفمبر 2026) ===== */
/* الشعار أكبر بدون اسم */
.bar .brand img { width: 74px; height: 64px; border-radius: 12px; padding: 4px; }
.menu__head .brand img { width: 56px; height: 48px; }
@media (max-width: 640px) { .bar .brand img { width: 58px; height: 50px; } }

/* الشريط العلوي: اتصال وواتساب بأيقونات */
.util__in { align-items: center; }
.util__links { align-items: center; gap: 10px; }
.util__links a { display: inline-flex; align-items: center; gap: 6px; line-height: 1; }
.util__links svg { width: 16px; height: 16px; flex: 0 0 auto; }
.util__call svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.util__call span { font-weight: 600; letter-spacing: .02em; }
.util__wa { background: #25D366; color: #fff !important; padding: 5px 12px 5px 14px; border-radius: 999px; font-weight: 700; box-shadow: 0 4px 12px -4px rgba(37, 211, 102, .6); transition: transform .15s, box-shadow .15s, background .15s; }
.util__wa:hover { background: #1EBE5A; transform: translateY(-1px); box-shadow: 0 6px 16px -4px rgba(37, 211, 102, .7); }
.util__wa svg { width: 17px; height: 17px; }
@media (max-width: 640px) { .util__in { flex-wrap: wrap; justify-content: center; text-align: center; row-gap: 4px; } }

/* عنوان الهيرو: سطر واحد وكلمة مميزة */
.hero h1.hero__title { max-width: none; white-space: nowrap; font-size: clamp(1.55rem, 6.4vw, 4.1rem); font-weight: 800; letter-spacing: -.01em; }
.hero__title .hl { color: var(--ember); position: relative; display: inline-block; }
.hero__title .hl::after { content: ""; position: absolute; inset-inline: 2%; bottom: .02em; height: .14em; border-radius: 99px; background: var(--ember); opacity: .45; }

/* صورة الواجهة على الجوال بطول الشاشة */
@media (max-width: 640px) {
  .hero.hero--photo { min-height: calc(100svh - 110px); display: flex; align-items: flex-end; background-position: center; background-size: cover; }
  .hero.hero--photo .hero__in { width: 100%; padding-block: 40px 28px; }
}

/* خلفية بيضاء لصور المنتجات */
.card__img, .spot__img, .mini__img, .duo__img, .bundle li img,
.woocommerce div.product div.images, .woocommerce div.product div.images .woocommerce-product-gallery__image,
.woocommerce div.product div.images .flex-control-thumbs li img { background: #fff; }
.card { border-color: #ECEFF2; }

/* بطاقتي العروض بصورة خلفية */
.duo__card--bg { background: linear-gradient(to left, rgba(9, 28, 47, .88) 0%, rgba(9, 28, 47, .62) 55%, rgba(9, 28, 47, .35) 100%), var(--duo-bg) center / cover no-repeat var(--night); color: #fff; }
.duo__card--deals.duo__card--bg { background: linear-gradient(to left, rgba(231, 121, 36, .94) 0%, rgba(231, 121, 36, .72) 55%, rgba(231, 121, 36, .35) 100%), var(--duo-bg) center / cover no-repeat var(--ember); color: #fff; }
.duo__card--bg .duo__text h2, .duo__card--bg .duo__text p { text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.duo__card--bg .duo__cta { color: #fff; }
.duo__card--eid.duo__card--bg .duo__cta { color: var(--ember); }
.duo__card--bg .duo__thumbs b { color: #fff; }

/* أعلى صفحة العروض بصورة خلفية */
.ohero--bg { background: linear-gradient(to left, rgba(9, 28, 47, .9) 0%, rgba(9, 28, 47, .7) 38%, rgba(9, 28, 47, .25) 100%), var(--ohero-bg) center / cover no-repeat var(--night); color: #fff; }
.ohero--bg .ohero__topo { display: none; }
.ohero--bg .crumbs, .ohero--bg .crumbs a { color: rgba(255, 255, 255, .85); }
.ohero--bg h1 { text-shadow: 0 3px 18px rgba(0, 0, 0, .35); }
.ohero--bg .ohero__lead { color: #F3F6F9; }
.ohero--bg .spot__kicker { color: var(--ember); }
@media (max-width: 820px) { .ohero--bg { background-image: linear-gradient(to bottom, rgba(9, 28, 47, .88), rgba(9, 28, 47, .6)), var(--ohero-bg); } }

/* نموذج التواصل */
.form__ok { background: #E8F6EE; color: #1F6B43; border: 1px solid #BFE5CF; border-radius: var(--r-s); padding: 12px 14px; font-weight: 600; }
.contact .form__err { display: block; }

/* المتجر: بدون "عرض 1–24 من أصل…" */
.tools__count:empty { display: none; }
.shop .tools { justify-content: flex-end; }
/* ===== تعديلات 1.1.10 ===== */
/* الهيدر باللون البرتقالي */
.bar, .menu__head { background: var(--ember); }
.nav > ul > li > a:hover, .nav a[aria-current="page"] { border-bottom-color: #fff; }
.burger { background: rgba(255, 255, 255, .18); }
.kit-btn { background: #fff; color: var(--night); }
.kit-btn b { background: var(--night); color: #fff; }
.bar .search input { box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); }

/* الهيرو: مساحة أكبر، طبقة سوداء خفيفة، بدون خط تحت الكلمة */
.hero.hero--photo .hero__in { padding-block: 110px 120px; }
.hero h1.hero__title { margin-bottom: 44px; }
.hero__title .hl::after { content: none; display: none; }
.hero.hero--photo .trip { background: rgba(0, 0, 0, .42); border-color: rgba(255, 255, 255, .28); }
.hero.hero--photo .trip:hover { background: rgba(0, 0, 0, .58); border-color: var(--ember); }
.hero.hero--photo .trip small { color: #E4E4E4; }
@media (max-width: 640px) {
  .hero.hero--photo .hero__in { padding-block: 56px 32px; }
  .hero h1.hero__title { margin-bottom: 26px; }
}

/* شريط المميزات: بالمنتصف */
.promises__in { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; }
.promises__in > li { flex: 0 1 300px; }

/* بطاقتي العروض بصورة: طبقة سوداء خفيفة ورا النص بس حتى تبين الصورة */
.duo__card--bg, .duo__card--deals.duo__card--bg { background: linear-gradient(to left, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .38) 42%, rgba(0, 0, 0, .05) 75%), linear-gradient(to top, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 45%), var(--duo-bg) center / cover no-repeat #222; color: #fff; }
.duo__card--bg .duo__cta, .duo__card--deals.duo__card--bg .duo__cta { color: #fff; border-bottom-color: var(--ember); }
.duo__card--bg .duo__text h2 { text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.duo__card--bg .duo__text p { text-shadow: 0 1px 8px rgba(0, 0, 0, .6); opacity: 1; }
.duo__card--bg .duo__thumbs b { text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
@media (max-width: 820px) { .duo__card--bg, .duo__card--deals.duo__card--bg { background-image: linear-gradient(to bottom, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .2) 50%, rgba(0, 0, 0, .5) 100%), var(--duo-bg); } }
/* عناوين بطاقتي العروض بسطر واحد */
.duo .duo__text { max-width: none; }
.duo .duo__text h2 { white-space: nowrap; font-size: clamp(1.45rem, 2.7vw, 2.5rem); }
.duo .duo__text p { max-width: 40ch; }
@media (max-width: 820px) { .duo .duo__text h2 { font-size: clamp(1.4rem, 6.6vw, 2.1rem); } }
/* صورة بطاقتي العروض كاملة بعرض البطاقة (16:9 بدون قص)، والباقي يندمج بلون غامق */
.duo .duo__card--bg, .duo .duo__card--deals.duo__card--bg { background: #17120d; color: #fff; }
.duo .duo__card--bg::before {
  content: ""; position: absolute; inset: 0 0 auto 0; aspect-ratio: 16 / 9; pointer-events: none;
  background:
    linear-gradient(to left, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .3) 45%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(to top, #17120d 0%, rgba(23, 18, 13, 0) 35%),
    var(--duo-bg) center / cover no-repeat;
}
@media (max-width: 820px) {
  .duo .duo__card--bg::before {
    background:
      linear-gradient(to bottom, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .1) 60%),
      linear-gradient(to top, #17120d 0%, rgba(23, 18, 13, 0) 35%),
      var(--duo-bg) center / cover no-repeat;
  }
}
/* أعلى صفحة العروض: نفس الترتيب الأصلي، بس صور المنتجين الجانبيين أكبر والاسم ظاهر */
.ohero .mini { grid-template-columns: 150px minmax(0, 1fr); gap: 14px; color: var(--night); }
.ohero .mini h3 { font-size: .98rem; font-weight: 600; color: var(--night); -webkit-line-clamp: 3; }
.ohero .mini h3 a { color: inherit; }
@media (max-width: 640px) { .ohero .mini { grid-template-columns: 120px minmax(0, 1fr); } }
/* البانر العريض بالرئيسية */
.wide__link { display: block; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 18px 40px -26px rgba(14, 39, 64, .55); transition: transform .18s ease, box-shadow .18s ease; }
.wide__link:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -24px rgba(14, 39, 64, .6); }
.wide__img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .wide__link { border-radius: var(--r-m); } }
/* أعلى صفحة العروض بصورة: طبقة سوداء أخف، والبطاقات البيضاء بنصها الغامق */
.ohero--bg { background: linear-gradient(to left, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .42) 35%, rgba(0, 0, 0, .18) 100%), var(--ohero-bg) center / cover no-repeat #1b140e; }
.ohero--bg .spot, .ohero--bg .mini { color: var(--night); }
.ohero--bg .spot h2 a, .ohero--bg .spot__save, .ohero--bg .spot__save b { color: var(--night); }
.ohero--bg .spot__kicker { color: var(--ember-deep); }
.ohero--bg .crumbs [aria-current], .ohero--bg .crumbs span { color: #fff; }
.ohero--bg .ohero__in { padding-block: 40px 56px; }
.ohero--bg h1 { color: #fff; }
@media (max-width: 820px) { .ohero--bg { background: linear-gradient(to bottom, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .55) 100%), var(--ohero-bg) center / cover no-repeat #1b140e; } }

/* الرئيسية على الجوال: محتوى الهيرو أعلى شوي */
@media (max-width: 640px) {
  .hero.hero--photo { align-items: center; }
  .hero.hero--photo .hero__in { padding-block: 24px 40px; }
}
/* الشريط العلوي باللون الأبيض */
.util { background: #fff; color: var(--night); border-bottom: 1px solid #ECEFF2; }
.util a { color: var(--night); }
.util a:hover { color: var(--ember); }
.util__call svg { stroke: var(--ember); }
.util__call span { color: var(--night); }
/* صور المنتجات داخل بطاقتي العروض بالرئيسية: بدون مربع أبيض */
.duo .duo__img { background: transparent; box-shadow: none; }
.duo .duo__img img { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }

/* عنوان الهيرو كامل بالأبيض */
.hero__title .hl { color: #fff; }

/* قسم "زورنا أو راسلنا": أزرار مرتبة بسطر واحد */
.reach__acts .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .reach { flex-direction: column; align-items: stretch; gap: 16px; }
  .reach__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .reach__acts .btn { padding: 0 10px; font-size: .95rem; min-height: 50px; }
}

/* زر البطاقتين بنفس الشكل: نص أبيض وخط برتقالي */
.duo .duo__card--bg .duo__cta, .duo .duo__card--eid.duo__card--bg .duo__cta { color: #fff; border-bottom-color: var(--ember); }


/* الشريط العلوي مخفي على الجوال (زر واتساب العائم موجود) */
@media (max-width: 640px) { .util { display: none; } }

/* بطاقتي العروض بدون منتجات: بانر بالصورة كاملة والنص */
.duo.duo--clean .duo__card { aspect-ratio: 16 / 9; min-height: 0; grid-template-rows: auto; align-content: center; padding: 32px 36px; }
.duo.duo--clean .duo__text { align-self: center; gap: 10px; }
.duo.duo--clean .duo__card--bg::before {
  inset: 0; aspect-ratio: auto;
  background: linear-gradient(to left, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .38) 50%, rgba(0, 0, 0, .05) 88%), var(--duo-bg) center / cover no-repeat;
}
.duo.duo--clean .duo__cta { margin-top: 6px; font-size: 1.05rem; }
@media (max-width: 820px) {
  .duo.duo--clean .duo__card { aspect-ratio: auto; min-height: 230px; padding: 24px 22px; }
  .duo.duo--clean .duo__card--bg::before { background: linear-gradient(to left, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .4) 60%, rgba(0, 0, 0, .15) 100%), var(--duo-bg) center / cover no-repeat; }
}
/* بطاقتي العروض (بدون منتجات) بتصميم البانر: صورة واضحة، إطار أبيض رفيع، العنوان والزر تحت */
.duo.duo--clean .duo__card { align-content: end; padding: 34px 38px; }
.duo.duo--clean .duo__card--bg::before { background: linear-gradient(to top, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .22) 38%, rgba(0, 0, 0, 0) 65%), var(--duo-bg) center / cover no-repeat; }
.duo.duo--clean .duo__card::after { content: ""; position: absolute; inset: 14px; border: 1.5px solid rgba(255, 255, 255, .75); border-radius: calc(var(--r-l) - 8px); pointer-events: none; }
.duo.duo--clean .duo__text { align-self: end; justify-items: start; gap: 12px; }
.duo.duo--clean .duo__text p { display: none; }
.duo.duo--clean .duo__text h2 { text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
.duo.duo--clean .duo__cta, .duo.duo--clean .duo__card--eid.duo__card--bg .duo__cta { margin: 0; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 10px; padding: 7px 16px; color: #fff; font-size: 1rem; font-weight: 700; background: rgba(0, 0, 0, .18); backdrop-filter: blur(2px); transition: background .15s; }
.duo.duo--clean .duo__cta::after { content: " ←"; }
.duo.duo--clean .duo__card:hover .duo__cta { background: var(--ember); border-color: var(--ember); }
@media (max-width: 820px) {
  .duo.duo--clean .duo__card { aspect-ratio: 5 / 4; min-height: 0; padding: 26px 26px; }
  .duo.duo--clean .duo__card--bg::before { background: linear-gradient(to top, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .2) 40%, rgba(0, 0, 0, 0) 65%), var(--duo-bg) center / cover no-repeat; }
  .duo.duo--clean .duo__card::after { inset: 12px; }
}
/* صفحة من نحن: القصة مع صورة، والأرقام كبطاقات بصف واحد */
.about.about--v2 { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.about--v2.about--noimg { grid-template-columns: 1fr; max-width: 820px; }
.about--v2 .prose { font-size: 1.08rem; line-height: 2; color: #33414c; }
.about__media { margin: 0; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; max-height: 540px; box-shadow: 0 24px 50px -28px rgba(14, 39, 64, .55); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about-facts { padding-top: 0; }
.facts.facts--row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.facts--row li { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 6px; padding: 28px 20px; border-top: 3px solid var(--ember); }
.facts--row b { font-size: 2.6rem; line-height: 1.1; color: var(--ember); min-width: 0; }
.facts--row span { font-size: .98rem; line-height: 1.7; }
@media (max-width: 900px) {
  .about.about--v2 { grid-template-columns: 1fr; gap: 24px; }
  .about__media { aspect-ratio: 4 / 3; max-height: none; order: -1; }
}
/* صفحة من نحن: رؤيتنا ورسالتنا باللون البرتقالي */
.story.story--ember { background: var(--ember); color: #fff; }
.story--ember .h2 { color: #fff; }
.story--ember .story__lead { color: #fff; opacity: .95; }
.story--ember .story__in--even > div { border-inline-start: 3px solid rgba(255, 255, 255, .55); padding-inline-start: 20px; }
/* قسم "عن الشهم" بالرئيسية بالبرتقالي (نفس صفحة من نحن) */
.story--ember .story__vm div { border-inline-start-color: rgba(255, 255, 255, .6); }
.story--ember .story__vm dt { color: #fff; }
.story--ember .story__vm dd { color: #fff; opacity: .95; }
.story--ember .btn--ember { background: #fff; color: var(--night); }
.story--ember .btn--ember:hover { background: var(--night); color: #fff; }
/* من نحن على الجوال: بطاقات الأرقام مدمجة (الرقم جنب الوصف) */
@media (max-width: 640px) {
  .facts.facts--row { grid-template-columns: 1fr; gap: 10px; }
  .facts--row li { grid-template-columns: 92px 1fr; text-align: start; justify-items: start; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid #E4EBF0; border-inline-start: 3px solid var(--ember); }
  .facts--row b { font-size: 1.9rem; justify-self: center; }
  .facts--row span { font-size: .92rem; line-height: 1.6; }
  .about-facts { padding-block: 4px 28px; }
}
/* صورة قصتنا عرضية */
.about__media { aspect-ratio: 4 / 3; max-height: none; }
.about__media img { object-position: 40% center; }
/* فلتر الجوال: زر امسح الفلاتر بسطر واحد */
.filters__foot { grid-template-columns: auto minmax(0, 1fr); }
.filters__foot .btn { white-space: nowrap; padding-inline: 14px; }
