:root {
  --color-primary: #0053dc !important;
  --color-primary-hover: #0042b0;
  --color-primary-light: rgba(0, 83, 220, 0.10);
  --color-primary-dark: #003399;

  --color-bg: #ffffff;
  --color-bg-secondary: #fafafa;
  --color-block: #f8f9fc;
  --color-block-hover: #f3f4f8;
  --color-block-alt: #f5f6fa;
  --color-overlay: rgba(255, 255, 255, 0.88);

  --color-text: #1e1b4b;
  --color-text-muted: #4b5563;
  --color-text-subtle: #6b7280;
  --color-text-inverse: #ffffff;
  --color-heading: #0f172a;

  --color-border: rgba(0, 83, 220, 0.12);
  --color-border-hover: var(--color-primary);
  --color-border-focus: rgba(0, 83, 220, 0.45);
  --color-divider: rgba(0, 83, 220, 0.08);

  --color-link: var(--color-primary);
  --color-link-hover: var(--color-primary-hover);
  --color-link-visited: var(--color-primary-dark);

  --btn-bg: var(--color-primary);
  --btn-text: #ffffff;
  --btn-hover-bg: var(--color-primary-hover);
  --btn-hover-text: #ffffff;
  --btn-active-bg: var(--color-primary-dark);
  --btn-border-radius: 6px;
  --btn-padding: 10px 22px;
  --btn-font-size: 0.875rem;
  --btn-font-weight: 600;
  --btn-transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;

  --btn-outline-bg: transparent;
  --btn-outline-text: var(--color-primary);
  --btn-outline-border: var(--color-primary);
  --btn-outline-hover-bg: rgba(0, 83, 220, 0.08);

  --input-bg: #ffffff;
  --input-text: #1a1a1a;
  --input-border: #d0d0d0;
  --input-focus-border: var(--color-primary);
  --input-focus-shadow: 0 0 0 3px rgba(0, 83, 220, 0.14);
  --input-placeholder: #aaaaaa;
  --input-border-radius: 5px;
  --input-padding: 10px 14px;
  --input-font-size: 0.9rem;

  --card-bg: #ffffff;
  --card-border: #e0e0e0;
  --card-hover-border: var(--color-primary);
  --card-hover-shadow: 0 4px 20px rgba(0, 83, 220, 0.10);
  --card-border-radius: 10px;
  --card-padding: 24px;
  --card-transition: border-color 0.25s ease, box-shadow 0.25s ease;

  --badge-bg: var(--color-primary-light);
  --badge-text: var(--color-primary);
  --badge-border: rgba(0, 83, 220, 0.25);
  --badge-border-radius: 4px;

  --alert-success-bg: rgba(34, 197, 94, 0.10);
  --alert-success-text: #16a34a;
  --alert-success-border: rgba(34, 197, 94, 0.30);
  --alert-error-bg: rgba(0, 83, 220, 0.08);
  --alert-error-text: #0042b0;
  --alert-error-border: rgba(0, 83, 220, 0.25);
  --alert-warning-bg: rgba(234, 179, 8, 0.10);
  --alert-warning-text: #a16207;
  --alert-warning-border: rgba(234, 179, 8, 0.30);
  --alert-info-bg: rgba(59, 130, 246, 0.10);
  --alert-info-text: #2563eb;
  --alert-info-border: rgba(59, 130, 246, 0.28);

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-primary: 0 4px 20px rgba(0, 83, 220, 0.18);

  --font-family: 'Noto Kufi Arabic', 'Segoe UI', system-ui, sans-serif;
  --font-family-heading: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.8125rem;
  --font-size-base: 0.9rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semi: 600;
  --font-weight-bold: 700;
  --line-height-base: 1.65;
  --line-height-heading: 1.25;
  --letter-spacing-base: 0.01em;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 1000;
  --z-overlay: 999;
  --z-tooltip: 1100;

  --scrollbar-track: #f0f0f0;
  --scrollbar-thumb: #cccccc;
  --scrollbar-thumb-hover: var(--color-primary);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-heading);
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--font-size-3xl);
}

h2 {
  font-size: var(--font-size-2xl);
}

h3 {
  font-size: var(--font-size-xl);
}

h4 {
  font-size: var(--font-size-lg);
}

h5 {
  font-size: var(--font-size-md);
}

h6 {
  font-size: var(--font-size-sm);
}

a {
  color: var(--color-link);
  text-decoration: none;
  font-family: var(--font-family);
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-link-hover);
}

a:visited {
  color: var(--color-link-visited);
}

p {
  font-size: var(--font-size-base);
  color: var(--color-text);
  font-family: var(--font-family);
  margin-bottom: var(--space-md);
}

button,
.button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
  background-color: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  border-radius: var(--btn-border-radius);
  padding: var(--btn-padding);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  font-family: var(--font-family);
  cursor: pointer;
  transition: var(--btn-transition);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

button:hover,
.button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background-color: var(--btn-hover-bg);
  color: var(--btn-hover-text);
  box-shadow: var(--shadow-primary);
}

button:active,
.button:active {
  background-color: var(--btn-active-bg);
  transform: translateY(1px);
}

input,
textarea,
select {
  background-color: var(--input-bg);
  color: var(--input-text);
  padding: var(--input-padding);
  border: none;
  font-size: var(--input-font-size);
  font-family: var(--font-family);
  width: 100%;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--input-placeholder);
  font-family: var(--font-family);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--input-focus-border);
  box-shadow: var(--input-focus-shadow);
}

hr {
  border: none;
  border-top: 1px solid var(--color-divider);
  margin: var(--space-xl) 0;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

::selection {
  background-color: rgba(0, 83, 220, 0.18);
  color: var(--color-heading);
}





















.woocommerce-MyAccount-navigation {
  display: none !important;
}

.woocommerce-my-account-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  margin: 0 auto !important;
}

@media (min-width: 992px) {
  .woocommerce-my-account-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .woocommerce-MyAccount-navigation {
    width: 280px;
    flex-shrink: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 24px;
    display: block !important;
  }

  .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
  }
}















.footer-contact-value {
  direction: ltr;
  unicode-bidi: embed;
}

/* ═══════════════════════════════════════
   FOOTER (DELIBERATE & MINIMALIST)
═══════════════════════════════════════ */
#site-footer {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-2xl);
  font-family: var(--font-family);
  color: var(--color-text);
}

/* ─── 1. Features Strip ─── */
.footer-features-wrap {
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg);
}

.footer-features-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.footer-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

/* Icon sits directly on background at text size, no tinted box */
.footer-feature-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}

.footer-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  display: block;
}

.footer-feature-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0 0 var(--space-xs) 0;
  line-height: var(--line-height-heading);
}

.footer-feature-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: var(--line-height-base);
}

/* ─── 2. Main Footer Content ─── */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: var(--space-xl) var(--space-lg);
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  margin-bottom: var(--space-md);
}

.footer-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-base);
  margin: 0 0 var(--space-md) 0;
  max-width: 320px;
}

/* Social Buttons - neutral monochrome with clean border */
.footer-social {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.footer-social-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-block);
}

/* ─── Navigation Columns ─── */
.footer-col-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0 0 var(--space-md) 0;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links li a {
  display: inline-block;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
}

.footer-links li a:hover {
  color: var(--color-primary);
}

/* ─── 3. Contact & Help Box ─── */
.footer-contact-box {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.footer-contact-box-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0 0 var(--space-sm) 0;
}

.footer-contact-box-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-base);
  margin: 0 0 var(--space-md) 0;
}

.footer-btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  height: 40px;
  padding: 0 var(--space-md);
  border-radius: var(--radius-md);
  background-color: var(--color-primary);
  color: var(--color-text-inverse) !important;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semi);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color var(--transition-fast);
}

.footer-btn-contact svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-btn-contact:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-text-inverse) !important;
}

.footer-contact-meta {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.footer-contact-meta span {
  display: block;
}

/* ─── 4. Payments Bar ─── */
.footer-payments-bar {
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg);
  padding: var(--space-md) var(--space-lg);
}

.footer-payments-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-payments-list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-payments-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semi);
  color: var(--color-heading);
  white-space: nowrap;
}

.footer-payments-logos {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.payment-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.payment-logo-item:hover {
  border-color: var(--color-border-hover);
  background-color: var(--color-block);
}

.payment-logo {
  height: 20px;
  width: auto;
  max-width: 54px;
  object-fit: contain;
  display: block;
}

.payment-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.footer-security-note {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* ─── 5. Bottom Copyright Bar ─── */
.footer-bar {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
}

.footer-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin: 0;
}

.footer-copy a {
  color: var(--color-text);
  font-weight: var(--font-weight-semi);
  text-decoration: none;
}

.footer-copy a:hover {
  color: var(--color-primary);
}

.footer-bar-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-bar-links a {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bar-links a:hover {
  color: var(--color-primary);
}

.footer-bar-sep {
  color: var(--color-border);
}

.footer-back-to-top {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.footer-back-to-top svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-back-to-top:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-block);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .footer-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl) var(--space-lg);
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-md);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: var(--space-xl) var(--space-md);
    gap: var(--space-lg);
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-payments-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .footer-bar {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }

  .footer-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-md);
    gap: var(--space-sm);
  }
}

/* ═══════════════════════════════════════
   6. MOBILE BOTTOM NAVIGATION
   - صفر ظلال (box-shadow: none !important)
   - خلفية بيضاء نقية متطابقة مع الهيدر (#ffffff)
   - حد علوي خفيف مطابق للهيدر (rgba(0, 83, 220, 0.12))
   - حاويات أيقونات ناعمة متناسقة مع header-icon-btn
═══════════════════════════════════════ */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .footer-bar {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }

  .footer-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-md);
    gap: var(--space-sm);
  }

  .mobile-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    height: calc(58px + env(safe-area-inset-bottom, 0px));
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 83, 220, 0.12);
    border-left: none;
    border-right: none;
    border-bottom: none;
    z-index: 999;
    padding: 0 4px env(safe-area-inset-bottom, 0px);
    box-shadow: none !important;
    direction: rtl;
    box-sizing: border-box;
  }

  .mob-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 58px;
    padding: 4px 0 3px;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
    color: #64748b;
    box-shadow: none !important;
    transition: color 140ms ease-out, transform 140ms ease-out;
    box-sizing: border-box;
  }

  .mob-nav-item:active {
    transform: scale(0.93);
  }

  /* حاوية الأيقونة المتناسقة مع أزرار الهيدر */
  .mob-nav-icon-wrap {
    width: 38px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 1px solid transparent;
    color: #64748b;
    box-shadow: none !important;
    transition: background-color 140ms ease-out, border-color 140ms ease-out, color 140ms ease-out;
  }

  .mob-nav-icon-wrap svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
    pointer-events: none;
  }

  .mob-nav-label {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    color: #64748b;
    margin-top: 3px;
    transition: color 140ms ease-out, font-weight 140ms ease-out;
  }

  /* الحالة النشطة — متطابقة مع أزرار الهيدر البنفسجية */
  .mob-nav-item--active .mob-nav-icon-wrap {
    background-color: #e8f0fe;
    border-color: rgba(0, 83, 220, 0.16);
    color: var(--color-primary, #0053dc);
  }

  .mob-nav-item--active .mob-nav-label {
    color: var(--color-primary, #0053dc);
    font-weight: 700;
  }

  /* تفاعل التمرير */
  .mob-nav-item:hover:not(.mob-nav-item--active) .mob-nav-icon-wrap {
    color: var(--color-primary, #0053dc);
  }

  .mob-nav-item:hover:not(.mob-nav-item--active) .mob-nav-label {
    color: var(--color-primary, #0053dc);
  }

  @media (prefers-reduced-motion: reduce) {

    .mob-nav-item,
    .mob-nav-icon-wrap,
    .mob-nav-label {
      transition: none;
    }
  }
}

/* ═══════════════════════════════════════
   7. ARCADE BACK TO TOP BUTTON
═══════════════════════════════════════ */
.t2c-back-to-top {
  position: fixed;
  bottom: 28px;
  left: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 83, 220, 0.25);
  color: #ffffff;
  cursor: pointer;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 12px rgba(0, 83, 220, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.t2c-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.t2c-back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(0, 83, 220, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 83, 220, 0.4);
  background: rgba(15, 23, 42, 0.95);
}

.t2c-back-to-top:active {
  transform: translateY(-1px) scale(0.96);
}

.t2c-btt-progress {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
  pointer-events: none;
}

.t2c-btt-circle-bar {
  transition: stroke-dashoffset 0.1s linear;
}

.t2c-btt-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.2s ease;
  z-index: 1;
}

.t2c-back-to-top:hover .t2c-btt-arrow {
  transform: translateY(-2px);
}

/* تموضع متوافق مع شريط التنقل السفلي في الهواتف */
@media (max-width: 768px) {
  .t2c-back-to-top {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    width: 42px;
    height: 42px;
  }

  .t2c-btt-progress {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .t2c-back-to-top,
  .t2c-btt-circle-bar,
  .t2c-btt-arrow {
    transition: none;
  }
}

/* ═══════════════════════════════════════
   8. ARCADE FLOATING WHATSAPP BUTTON
═══════════════════════════════════════ */
.t2c-whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 997;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(18, 140, 62, 0.30), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.16s ease-out, background-color 0.16s ease-out, box-shadow 0.16s ease-out;
  -webkit-tap-highlight-color: transparent;
}

.t2c-whatsapp-float:hover {
  background-color: #20ba5a;
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(18, 140, 62, 0.38), 0 2px 5px rgba(0, 0, 0, 0.12);
}

.t2c-whatsapp-float:active {
  transform: translateY(0) scale(0.98);
}

.t2c-whatsapp-float:focus-visible {
  outline: 2px solid #25D366;
  outline-offset: 3px;
}

.t2c-wa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
}

.t2c-wa-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Tooltip on desktop hover */
.t2c-wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-family, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: opacity 0.16s ease-out, transform 0.16s ease-out, visibility 0.16s ease-out;
}

.t2c-wa-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #0f172a;
}

.t2c-whatsapp-float:hover .t2c-wa-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .t2c-whatsapp-float {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .t2c-wa-icon {
    width: 24px;
    height: 24px;
  }

  .t2c-wa-tooltip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .t2c-whatsapp-float,
  .t2c-wa-tooltip {
    transition: none !important;
  }
}

.order-again {
  display: none !important;
}















html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

img {
  max-width: 100%;
  height: auto;
}

.product-card .card-thumb,
.wc-block-grid__product-image,
.spx-media-box {
  content-visibility: auto;
  contain-intrinsic-size: 280px 280px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  direction: rtl;
  background-color: var(--color-bg);
  color: var(--color-text);
  margin: 0;
}

/* ══════════════════════════════════════════
   TOP ANNOUNCEMENT BAR (t2c-top-announcement-bar)
══════════════════════════════════════════ */
#t2c-top-announcement-bar {
  position: relative;
  z-index: 205;
  width: 100%;
  direction: rtl;
  font-family: 'Tajawal', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Preset Themes */
#t2c-top-announcement-bar.t2c-theme-purple_glow {
  background: linear-gradient(90deg, #003ba3 0%, #0053dc 40%, #1a6bef 70%, #3381f5 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
#t2c-top-announcement-bar.t2c-theme-dark_gold {
  background: linear-gradient(90deg, #09090b 0%, #18181b 50%, #09090b 100%);
  color: #fef08a;
  border-bottom: 1px solid rgba(250, 204, 21, 0.2);
}
#t2c-top-announcement-bar.t2c-theme-electric_blue {
  background: linear-gradient(90deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
  color: #ffffff;
}
#t2c-top-announcement-bar.t2c-theme-emerald_offer {
  background: linear-gradient(90deg, #047857 0%, #059669 50%, #10b981 100%);
  color: #ffffff;
}

.t2c-bar-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 38px;
}

.t2c-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
}

.t2c-bar-badge {
  background: rgba(255, 255, 255, 0.2);
  color: currentColor;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.t2c-bar-text {
  color: inherit;
  letter-spacing: -0.1px;
}

.t2c-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  color: #0053dc;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.t2c-theme-dark_gold .t2c-bar-cta {
  background: #facc15;
  color: #000000;
}
.t2c-bar-cta:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}
.t2c-bar-cta svg {
  transition: transform 0.2s;
}
.t2c-bar-cta:hover svg {
  transform: translateX(-2px);
}

.t2c-bar-close {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: inherit;
  opacity: 0.75;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}
.t2c-bar-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}

/* Responsive on small devices */
@media (max-width: 768px) {
  .t2c-bar-container {
    padding: 6px 40px 6px 14px;
  }
  .t2c-bar-content {
    gap: 6px;
    font-size: 12px;
  }
  .t2c-bar-badge {
    font-size: 10px;
    padding: 1px 8px;
  }
  .t2c-bar-cta {
    font-size: 10px;
    padding: 2px 10px;
  }
}

/* ══ HEADER ══ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 83, 220, 0.08);
  border-top: none;
  border-left: none;
  border-right: none;
  height: 58px;
  width: 100%;
  flex-shrink: 0;
  box-shadow: none !important;
}

/* ── Grid Layout: 3 columns (right | center | left) ── */
.header-inner {
  height: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

@media (max-width: 768px) {
  #site-header {
    height: 54px;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
  }

  .header-right-group {
    gap: 8px;
    flex-shrink: 0;
    min-width: 0;
  }

  .header-logo img {
    height: 30px;
    max-width: 120px;
    width: auto;
    aspect-ratio: 136 / 34;
  }

  .header-actions-left {
    gap: 6px;
    flex-shrink: 0;
  }

  /* ── 44px Touch Target for Mobile Buttons ── */
  .header-icon-btn,
  .header-account-btn {
    position: relative;
  }

  .header-icon-btn::after,
  .header-account-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    pointer-events: auto;
  }

  /* ── Prevent iOS Safari Auto-Zoom on Form Inputs ── */
  input[type="text"],
  input[type="search"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="number"],
  input[type="url"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* ── Right Group: hamburger + logo ── */
.header-right-group {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  grid-column: 1;
}

/* ── Logo ── */
.header-logo {
  flex-shrink: 0;
}

.header-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.header-logo img {
  height: 34px;
  width: auto;
  aspect-ratio: 136 / 34;
  display: block;
  object-fit: contain;
}

/* ── Actions (Left & Right) ── */
.header-actions-right,
.header-actions-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Left actions in column 3 — push to the left edge */
.header-actions-left {
  grid-column: 3;
  justify-content: flex-end;
}

/* Search & Action Icon Buttons */
.header-icon-btn {
  width: 34px;
  height: 34px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 83, 220, 0.16);
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-primary, #0053dc);
  transition: background-color 140ms ease-out, border-color 140ms ease-out, color 140ms ease-out;
  padding: 0;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  box-shadow: none !important;
}

.header-icon-btn:hover {
  background-color: #e8f0fe;
  border-color: var(--color-primary, #0053dc);
  color: var(--color-primary, #0053dc);
}

.header-icon-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  pointer-events: none;
}

/* الهامبرغر — موبايل فقط */
.header-menu-btn {
  display: flex;
}

@media (min-width: 769px) {
  .header-menu-btn {
    display: none;
  }
}

/* ══ Header Wishlist Button & Counter Badge ══ */
.header-wishlist-btn {
  position: relative !important;
}

.header-wishlist-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-primary, #0053dc);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 140ms ease-out, fill 140ms ease-out;
}

.header-wishlist-btn:hover svg {
  stroke: #e11d48;
}

.header-wishlist-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 9999px;
  background-color: #e11d48;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 1.5px solid #ffffff;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  box-shadow: none !important;
  transition: transform 160ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badge-pop {
  0% {
    transform: scale(0.6);
  }

  60% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

.header-wishlist-badge.badge-pop {
  animation: badge-pop 240ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ══ Header Divider (ديسكتوب فقط) ══ */
.header-divider {
  width: 1px;
  height: 18px;
  background-color: rgba(0, 83, 220, 0.12);
  margin: 0 1px;
  flex-shrink: 0;
  display: block;
}

/* ══ Wallet Quick Balance — أيقونة المال ورصيد مالي أنيق بدون رمادي ══ */
.header-wallet-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  background-color: #f0fdf4;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 7px;
  color: #065f46;
  text-decoration: none;
  transition: background-color 140ms ease-out, border-color 140ms ease-out;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: none !important;
}

.header-wallet-btn:hover {
  background-color: #dcfce7;
  border-color: #059669;
}

.header-wallet-icon {
  width: 16px;
  height: 16px;
  stroke: #059669;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: block;
}

.header-wallet-balance {
  font-size: 13px;
  font-weight: 700;
  color: #065f46;
  direction: ltr;
  unicode-bidi: embed;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* ══ User Account Button — أنيق ومضغوط سطر واحد بدون رمادي ══ */
.header-account-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  height: 34px !important;
  padding: 0 10px !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 83, 220, 0.18) !important;
  border-radius: 7px !important;
  color: #1e1b4b !important;
  font-family: inherit !important;
  cursor: pointer;
  transition: background-color 140ms ease-out, border-color 140ms ease-out;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: none !important;
}

.header-account-btn:hover,
.header-account-btn[aria-expanded="true"] {
  background-color: #e8f0fe !important;
  border-color: var(--color-primary, #0053dc) !important;
}

.header-account-icon {
  width: 15px;
  height: 15px;
  stroke: var(--color-primary, #0053dc);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.header-avatar-img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.header-account-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e1b4b;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
}

.header-account-arrow {
  width: 11px;
  height: 11px;
  stroke: var(--color-primary, #0053dc);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 140ms ease-out;
  flex-shrink: 0;
  display: block;
}

.header-account-btn[aria-expanded="true"] .header-account-arrow {
  transform: rotate(180deg);
}

/* ══ Guest Login Button — Solid Brand CTA on Desktop ══ */
.header-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border-radius: 7px;
  background-color: var(--color-primary, #0053dc);
  border: 1px solid var(--color-primary, #0053dc);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  transition: background-color 140ms ease-out, border-color 140ms ease-out;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: none !important;
}

.header-login-btn:hover {
  background-color: var(--color-primary-hover, #0042b0);
  border-color: var(--color-primary-hover, #0042b0);
  color: #ffffff !important;
}

.header-login-btn svg {
  width: 15px;
  height: 15px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ══ Mobile Breakpoint Adjustments ══ */
@media (max-width: 768px) {
  .header-divider {
    display: none !important;
  }

  .header-wallet-btn {
    display: none !important;
  }

  .header-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background-color: #ffffff;
    border-color: rgba(0, 83, 220, 0.15);
    color: var(--color-primary, #0053dc);
  }

  .header-account-btn {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border-radius: 7px !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 83, 220, 0.15) !important;
  }

  .header-account-name,
  .header-account-arrow {
    display: none !important;
  }

  /* زر تسجيل الدخول في الموبايل */
  .header-login-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    border-radius: 7px !important;
    justify-content: center !important;
    background-color: #f3f0ff !important;
    border: 1px solid rgba(0, 83, 220, 0.2) !important;
    color: var(--color-primary, #0053dc) !important;
  }

  .header-login-btn .header-login-text,
  .header-login-btn span {
    display: none !important;
  }

  .header-login-btn svg {
    width: 16px !important;
    height: 16px !important;
    stroke: var(--color-primary, #0053dc) !important;
  }

  .header-login-btn:hover {
    background-color: #ede9fe !important;
    border-color: var(--color-primary, #0053dc) !important;
    color: var(--color-primary, #0053dc) !important;
  }
}

/* ══════════════════════════════════════════
   PREMIUM ACCOUNT DROPDOWN / POPOVER
══════════════════════════════════════════ */
.account-wrapper {
  position: relative;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: auto;
  width: 290px;
  max-width: calc(100vw - 24px);
  background-color: #ffffff;
  border: 1px solid rgba(0, 83, 220, 0.14);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.12),
    0 6px 16px -4px rgba(0, 83, 220, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.97);
  transform-origin: top left;
  transition: opacity 180ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 500;
  direction: rtl;
  font-family: inherit;
  box-sizing: border-box;
}

.account-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ── بطاقة المستخدم العلوية ── */
.account-dropdown-card {
  background: linear-gradient(135deg, #f8f6ff 0%, #f1edff 100%);
  border: 1px solid rgba(0, 83, 220, 0.1);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 6px;
  box-sizing: border-box;
}

.account-card-user {
  display: flex;
  align-items: center;
  gap: 11px;
}

.user-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.user-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0053dc 0%, #1a6bef 100%);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(0, 83, 220, 0.2);
  overflow: hidden;
  user-select: none;
}

.user-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.user-status-dot {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 11px;
  height: 11px;
  background-color: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.user-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.user-name {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.9375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.user-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 700;
  background-color: rgba(0, 83, 220, 0.1);
  color: var(--color-primary, #0053dc);
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1.4;
}

.user-email {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
  text-align: right;
  line-height: 1.2;
}

/* ── بطاقة رصيد المحفظة السريعة ── */
.account-wallet-banner {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 83, 220, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wallet-banner-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.wallet-banner-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.71875rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1;
}

.wallet-banner-title svg {
  width: 13px;
  height: 13px;
  stroke: var(--color-primary, #0053dc);
}

.wallet-banner-amount {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary, #0053dc);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.wallet-banner-action {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: var(--color-primary, #0053dc);
  color: #ffffff !important;
  font-size: 0.71875rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: none !important;
  transition: background-color 140ms ease-out, transform 140ms ease-out;
}

.wallet-banner-action:hover {
  background-color: #0042b0 !important;
  transform: translateY(-1px);
}

.wallet-banner-action svg {
  width: 11px;
  height: 11px;
  stroke: #ffffff;
  transition: transform 140ms ease-out;
}

.wallet-banner-action:hover svg {
  transform: translateX(-2px);
}

/* ── قائمة الروابط ── */
.account-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color 140ms ease-out, color 140ms ease-out;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.account-menu-item:hover {
  background-color: #e8f0fe;
  color: var(--color-primary, #0053dc);
}

.account-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  flex-shrink: 0;
  transition: background-color 140ms ease-out, border-color 140ms ease-out, color 140ms ease-out, transform 140ms ease-out;
}

.account-item-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  display: block;
}

.account-menu-item:hover .account-item-icon {
  background-color: #ede9fe;
  border-color: rgba(0, 83, 220, 0.2);
  color: var(--color-primary, #0053dc);
  transform: scale(1.05);
}

.account-item-label {
  flex: 1;
  white-space: nowrap;
  line-height: 1;
}

.account-item-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  background-color: #e8f0fe;
  color: #e11d48;
  border: 1px solid #fecdd3;
  line-height: 1.2;
}

.account-item-chevron {
  width: 13px;
  height: 13px;
  stroke: #cbd5e1;
  flex-shrink: 0;
  transition: transform 140ms ease-out, stroke 140ms ease-out;
}

.account-menu-item:hover .account-item-chevron {
  stroke: var(--color-primary, #0053dc);
  transform: translateX(-3px);
}

/* تخصيص أيقونة المفضلة */
.account-menu-item--wishlist:hover .account-item-icon--heart {
  background-color: #e8f0fe;
  border-color: #fecdd3;
  color: #e11d48;
}

/* الفاصل */
.account-dropdown-divider {
  height: 1px;
  background: rgba(0, 83, 220, 0.08);
  margin: 5px 6px;
}

/* عنصر تسجيل الخروج */
.account-menu-item--logout {
  color: #e11d48;
  margin-top: 2px;
}

.account-menu-item--logout:hover {
  background-color: #fef2f2;
  color: #be123c;
}

.account-item-icon--danger {
  background-color: #fff5f5;
  border-color: #fee2e2;
  color: #e11d48;
}

.account-menu-item--logout:hover .account-item-icon--danger {
  background-color: #fee2e2;
  border-color: #fecdd3;
  color: #be123c;
  transform: scale(1.05);
}

.account-menu-item--logout .account-item-chevron {
  stroke: #fca5a5;
}

.account-menu-item--logout:hover .account-item-chevron {
  stroke: #be123c;
  transform: translateX(-3px);
}

/* ══════════════════════════════════════════
   NAVIGATION & MOBILE DRAWER (nav-menu)
══════════════════════════════════════════ */

/* ══ DESKTOP NAV ══ */
.header-nav {
  display: none;
  align-items: center;
  gap: 4px;
  background: transparent;
  padding: 0;
  border: none;
}
@media (min-width: 1025px) {
  .header-nav { display: flex; }
}

.header-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 11px;
  border-radius: 7px;
  color: #1e1b4b;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  font-family: inherit;
  transition: background-color 140ms ease-out, color 140ms ease-out, border-color 140ms ease-out;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none !important;
  line-height: 1;
}

.header-nav-item svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.header-nav-item:hover {
  background-color: #e8f0fe;
  color: var(--color-primary, #0053dc);
  border-color: rgba(0, 83, 220, 0.08);
  box-shadow: none !important;
  transform: none !important;
}

.header-nav-item--active {
  background-color: #ede9fe !important;
  color: var(--color-primary, #0053dc) !important;
  font-weight: 600 !important;
  border-color: rgba(0, 83, 220, 0.16) !important;
  box-shadow: none !important;
}

.header-nav-badge {
  background-color: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.3;
  box-shadow: none !important;
}

/* ── نمط مدمج ذكي لشاشات اللابتوب والكمبيوترات المتوسطة (1025px - 1280px) ── */
@media (min-width: 1025px) and (max-width: 1280px) {
  .header-nav {
    gap: 2px;
  }
  .header-nav-item {
    gap: 5px;
    padding: 0 10px;
    font-size: 13px;
  }
  .header-nav-item svg {
    width: 15px;
    height: 15px;
  }
}

/* ══ OVERLAY ══ */
.mnav-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(15, 10, 35, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease-out;
}
.mnav-overlay.open {
  opacity: 1;
  pointer-events: all;
}
@media (min-width: 1025px) {
  .mnav-overlay { display: none !important; }
}

/* ══ DRAWER (RTL: من اليمين) ══ */
.mnav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  bottom: 0;
  width: 320px;
  max-width: 88vw;
  z-index: 9999;
  background-color: var(--color-bg, #ffffff);
  border-left: 1px solid var(--color-border, #e5e7eb);
  box-shadow: -4px 0 28px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  direction: rtl;
  font-family: var(--font-family, system-ui, sans-serif);
}
.mnav-drawer.open {
  transform: translateX(0);
}
@media (min-width: 1025px) {
  .mnav-drawer { display: none !important; }
}

/* ── Drawer Header ── */
.mnav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  height: 64px;
  border-bottom: 1px solid var(--color-border, #e5e7eb);
  background-color: var(--color-bg, #ffffff);
  flex-shrink: 0;
}
.mnav-drawer-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.mnav-drawer-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}
.mnav-close-btn {
  width: 36px;
  height: 36px;
  background: var(--color-block, #f3f4f6);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-muted, #555566);
  transition: background-color 140ms ease-out, color 140ms ease-out;
  padding: 0;
  flex-shrink: 0;
}
.mnav-close-btn:hover {
  background: #ffffff;
  color: var(--color-heading, #0f0f0f);
}
.mnav-close-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Scrollable Body Area ── */
.mnav-scroll-area {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: none;
}
.mnav-scroll-area::-webkit-scrollbar { display: none; }

/* ── User Profile Box (Logged In) ── */
.mnav-user-card {
  background-color: var(--color-block, #f9fafb);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mnav-user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mnav-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border, #e5e7eb);
  flex-shrink: 0;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary, #0053dc);
  overflow: hidden;
}
.mnav-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.mnav-user-meta {
  flex: 1;
  min-width: 0;
}
.mnav-user-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-heading, #0f0f0f);
  margin: 0 0 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mnav-user-email {
  font-size: 11.5px;
  color: var(--color-text-muted, #555566);
  margin: 0;
  line-height: 1.2;
  direction: ltr;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Wallet Strip (Clean & Zero-Gradient) ── */
.mnav-wallet-strip {
  background-color: #ffffff;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 8px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: border-color 140ms ease-out, background-color 140ms ease-out;
}
.mnav-wallet-strip:hover {
  border-color: var(--color-primary, #0053dc);
  background-color: #ffffff;
}
.mnav-wallet-details {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.mnav-wallet-icon {
  color: var(--color-primary, #0053dc);
  line-height: 1;
  flex-shrink: 0;
}
.mnav-wallet-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.mnav-wallet-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.mnav-wallet-label {
  font-size: 10.5px;
  color: var(--color-text-muted, #555566);
  font-weight: 500;
}
.mnav-wallet-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-heading, #0f0f0f);
  white-space: nowrap;
}
.mnav-wallet-action {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-primary, #0053dc);
  background-color: var(--color-block, #f3f4f6);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 140ms ease-out;
}
.mnav-wallet-strip:hover .mnav-wallet-action {
  background-color: #ede9fe;
}

/* ── Guest Card (Logged Out) ── */
.mnav-guest-card {
  background-color: var(--color-block, #f9fafb);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mnav-guest-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-heading, #0f0f0f);
  margin: 0;
}
.mnav-guest-desc {
  font-size: 12px;
  color: var(--color-text-muted, #555566);
  margin: 0;
  line-height: 1.45;
}
.mnav-guest-actions {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
.mnav-btn-primary {
  flex: 1;
  height: 36px;
  background-color: var(--color-primary, #0053dc);
  color: #ffffff !important;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: background-color 140ms ease-out;
}
.mnav-btn-primary:hover {
  background-color: var(--color-primary-hover, #0042b0);
}
.mnav-btn-secondary {
  flex: 1;
  height: 36px;
  background-color: #ffffff;
  color: var(--color-heading, #0f0f0f) !important;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 140ms ease-out, border-color 140ms ease-out;
}
.mnav-btn-secondary:hover {
  background-color: var(--color-block, #f3f4f6);
}

/* ── Navigation Sections ── */
.mnav-section {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
/* إخفاء قسم حسابي والمعاملات تماماً عن غير المسجلين */
.mnav-section--account,
.mnav-sep--account {
  display: none !important;
}
body.logged-in .mnav-section--account {
  display: flex !important;
}
body.logged-in .mnav-sep--account {
  display: block !important;
}

.mnav-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted, #6b7280);
  padding: 0 8px;
  margin-bottom: 3px;
  letter-spacing: 0.3px;
}
.mnav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--color-text, #1a1a1a);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color 140ms ease-out, color 140ms ease-out;
  position: relative;
}
.mnav-link svg.mnav-link-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  color: var(--color-text-muted, #555566);
  transition: color 140ms ease-out;
}
.mnav-link-label {
  flex: 1;
}
.mnav-link-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #d1fae5;
  line-height: 1.3;
}
.mnav-link-arrow {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--color-text-muted, #9ca3af);
  flex-shrink: 0;
  opacity: 0.5;
}
.mnav-link:hover {
  background-color: var(--color-block, #f3f4f6);
  color: var(--color-heading, #0f0f0f);
}
.mnav-link:hover svg.mnav-link-icon {
  color: var(--color-primary, #0053dc);
}
.mnav-link--active {
  background-color: var(--color-block, #f3f4f6);
  color: var(--color-primary, #0053dc) !important;
  font-weight: 700;
}
.mnav-link--active svg.mnav-link-icon {
  color: var(--color-primary, #0053dc) !important;
}

.mnav-sep {
  border: none;
  border-top: 1px solid var(--color-border, #e5e7eb);
  margin: 4px 0;
}

/* ── Drawer Footer ── */
.mnav-drawer-foot {
  padding: 14px 18px;
  border-top: 1px solid var(--color-border, #e5e7eb);
  background-color: var(--color-bg, #ffffff);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.mnav-logout-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #dc2626;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 140ms ease-out;
}
.mnav-logout-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.mnav-logout-link:hover {
  background-color: #fef2f2;
}

.mnav-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 2px;
}
.mnav-social-link {
  color: var(--color-text-muted, #555566);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 140ms ease-out;
  text-decoration: none;
}
.mnav-social-link:hover {
  color: var(--color-primary, #0053dc);
}
.mnav-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mnav-copyright {
  font-size: 11px;
  color: var(--color-text-muted, #9ca3af);
  text-align: center;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .mnav-drawer,
  .mnav-overlay,
  .mnav-link,
  .mnav-close-btn,
  .mnav-btn-primary,
  .mnav-btn-secondary,
  .mnav-logout-link {
    transition: none !important;
  }
}

/* ══ LAYOUT ══ */
.site-layout {
  display: block;
  position: relative;
}

.site-main {
  min-width: 0;
}

@media (max-width: 768px) {
  .site-main {
    padding-bottom: 60px;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

/* ══════════════════════════════════════════
   SEARCH POPUP — COMMAND PALETTE / SPOTLIGHT
══════════════════════════════════════════ */

/* الخلفية المعتمة */
.search-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease-out;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 54px;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.search-popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* النافذة المنبثقة الرئيسية */
.search-popup {
  background-color: #ffffff;
  border: 1px solid rgba(0, 83, 220, 0.18);
  border-radius: 14px;
  width: 100%;
  max-width: 600px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none !important;
  transform: translateY(-10px) scale(0.99);
  transition: transform 140ms ease-out;
  direction: rtl;
  font-family: inherit;
  box-sizing: border-box;
}

.search-popup-overlay.active .search-popup {
  transform: translateY(0) scale(1);
}

/* ── شريط الإدخال العلوي ── */
.search-popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(0, 83, 220, 0.12);
  background-color: #ffffff;
  flex-shrink: 0;
  min-height: 54px;
  box-sizing: border-box;
}

.search-popup-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary, #0053dc);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  pointer-events: none;
}

.search-popup-icon svg {
  width: 19px;
  height: 19px;
}

.search-bar-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  color: #0f0f0f;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 0;
  height: 100%;
  direction: rtl;
  text-align: right;
  -webkit-appearance: none;
  box-shadow: none !important;
}

.search-bar-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.search-bar-input::-webkit-search-cancel-button {
  display: none;
}

/* زر مسح النص */
.search-bar-clear {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  color: #64748b;
  box-shadow: none !important;
  transition: background-color 140ms ease-out, color 140ms ease-out;
}

.search-bar-clear.show {
  display: flex;
}

.search-bar-clear:hover {
  background-color: #e2e8f0;
  color: #0f0f0f;
}

.search-bar-clear svg {
  width: 12px;
  height: 12px;
}

/* مؤشر زر ESC على أجهزة الكمبيوتر */
.search-kbd-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  box-shadow: none !important;
  user-select: none;
  flex-shrink: 0;
}

/* زر إغلاق البحث (أيقونة X) */
.search-popup-close {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  padding: 0;
  flex-shrink: 0;
  box-shadow: none !important;
  transition: background-color 140ms ease-out, color 140ms ease-out, border-color 140ms ease-out;
}

.search-popup-close:hover {
  background-color: #f1f5f9;
  border-color: #e2e8f0;
  color: #0f0f0f;
}

.search-popup-close svg {
  width: 16px;
  height: 16px;
}

/* زر إلغاء على الهاتف */
.search-bar-cancel {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary, #0053dc);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 6px;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: none !important;
}

/* ── جسم النافذة ومناطق الحالات ── */
.search-popup-body {
  overflow-y: auto;
  flex: 1;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 83, 220, 0.2) transparent;
  background-color: #ffffff;
}

/* 1. الحالة الافتراضية (قبل البحث) */
.search-state-idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 38px 20px 34px;
  gap: 8px;
}

.ss-idle-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #e8f0fe;
  border: 1px solid rgba(0, 83, 220, 0.14);
  color: var(--color-primary, #0053dc);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.ss-idle-icon svg {
  width: 22px;
  height: 22px;
}

.ss-idle-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f0f0f;
}

.ss-idle-subtitle {
  margin: 0;
  font-size: 12.5px;
  color: #64748b;
  max-width: 320px;
  line-height: 1.5;
}

/* 2. حالة التحميل (Skeleton + Text) */
.search-state-loading {
  display: none;
  flex-direction: column;
  padding: 16px;
  gap: 12px;
}

.search-state-loading.show {
  display: flex;
}

.ss-skeleton-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ss-skeleton-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
}

.ss-skel-thumb {
  width: 46px;
  height: 46px;
  border-radius: 7px;
  background-color: #e2e8f0;
  flex-shrink: 0;
  animation: ss-pulse 1.2s ease-in-out infinite;
}

.ss-skel-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ss-skel-line {
  height: 12px;
  border-radius: 4px;
  background-color: #e2e8f0;
  animation: ss-pulse 1.2s ease-in-out infinite;
}

@keyframes ss-pulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.ss-loading-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  padding-top: 6px;
}

.ss-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 83, 220, 0.2);
  border-top-color: var(--color-primary, #0053dc);
  border-radius: 50%;
  animation: ss-spin 0.65s linear infinite;
}

@keyframes ss-spin {
  to {
    transform: rotate(360deg);
  }
}

/* 3. حالة لا توجد نتائج */
.search-state-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 20px;
  gap: 8px;
}

.search-state-empty.show {
  display: flex;
}

.ss-empty-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.ss-empty-icon svg {
  width: 22px;
  height: 22px;
}

.ss-empty-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f0f0f;
  margin: 0;
}

.ss-empty-desc {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  max-width: 320px;
}

.ss-empty-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-primary, #0053dc);
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none !important;
  transition: background-color 140ms ease-out;
}

.ss-empty-btn:hover {
  background-color: #0042b0;
}

.ss-empty-btn svg {
  width: 14px;
  height: 14px;
}

/* 4. حالة النتائج */
.search-state-results {
  display: none;
  flex-direction: column;
}

.search-state-results.show {
  display: flex;
}

.search-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 8px;
  border-bottom: 1px solid #f1f5f9;
  background-color: #ffffff;
}

.search-results-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-results-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary, #0053dc);
  background-color: #e8f0fe;
  border: 1px solid rgba(0, 83, 220, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
}

.search-results-list {
  display: flex;
  flex-direction: column;
}

/* بطاقة المنتج الفردي (بدون سعر) */
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f1f5f9;
  border-right: 3px solid transparent;
  background-color: #ffffff;
  transition: background-color 140ms ease-out, border-color 140ms ease-out;
  cursor: pointer;
  box-sizing: border-box;
}

.search-result-item:hover,
.search-result-item.is-selected {
  background-color: #f8fafc;
  border-right-color: var(--color-primary, #0053dc);
}

.sri-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background-color: #f1f5f9;
  border: 1px solid rgba(0, 83, 220, 0.12);
}

.sri-thumb-ph {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #94a3b8;
}

.sri-thumb-ph svg {
  width: 20px;
  height: 20px;
}

.sri-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sri-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f0f0f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}

.sri-category {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  background-color: #f1f5f9;
  padding: 1px 6px;
  border-radius: 4px;
}

.sri-arrow {
  width: 14px;
  height: 14px;
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 140ms ease-out, color 140ms ease-out;
}

.search-result-item:hover .sri-arrow,
.search-result-item.is-selected .sri-arrow {
  color: var(--color-primary, #0053dc);
  transform: translateX(-3px);
}

/* زر عرض جميع النتائج في الأسفل */
.search-view-all {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  color: var(--color-primary, #0053dc);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background-color: #fdfcff;
  border-top: 1px solid rgba(0, 83, 220, 0.1);
  transition: background-color 140ms ease-out;
}

.search-view-all.show {
  display: flex;
}

.search-view-all:hover {
  background-color: #e8f0fe;
}

.search-view-all svg {
  width: 14px;
  height: 14px;
  transition: transform 140ms ease-out;
}

.search-view-all:hover svg {
  transform: translateX(-3px);
}

/* ── التذييل السفلي لاختصارات لوحة المفاتيح ── */
.search-popup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 16px;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 11px;
  color: #64748b;
  flex-shrink: 0;
  box-sizing: border-box;
}

.search-footer-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.search-footer-tip kbd {
  display: inline-block;
  padding: 1px 5px;
  font-size: 10px;
  font-weight: 600;
  color: #475569;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  box-shadow: none !important;
}

/* ── استجابة الشاشات الصغيرة (الموبايل) ── */
@media (max-width: 600px) {
  .search-popup-overlay {
    padding-top: 12px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .search-popup {
    border-radius: 12px;
    max-height: 88vh;
  }

  .search-popup-header {
    padding: 8px 12px;
  }

  .search-kbd-hint {
    display: none;
  }

  .search-popup-close {
    display: none;
  }

  .search-bar-cancel {
    display: block;
  }

  .search-popup-footer {
    display: none;
  }

  .sri-name {
    font-size: 12.5px;
  }
}

/* ══════════════════════════════════════════
   WISHLIST MODAL & TOAST (wishlist-modal)
══════════════════════════════════════════ */
/* ── Overlay ── */
.wishlist-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background-color: rgba(15, 15, 20, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease-out;
  direction: rtl;
}

.wishlist-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ── Modal Window ── */
.wishlist-modal {
  width: 100%;
  max-width: 480px;
  max-height: 82vh;
  background-color: #ffffff;
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none !important;
  transform: translateY(12px) scale(0.98);
  transition: transform 180ms ease-out;
}

.wishlist-overlay.is-active .wishlist-modal {
  transform: translateY(0) scale(1);
}

/* ── Header ── */
.wishlist-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background-color: var(--color-block, #f5f5f8);
  border-bottom: 1px solid var(--color-divider, #e8e8e8);
  flex-shrink: 0;
}

.wishlist-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wishlist-modal-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-color: #e8f0fe;
  color: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wishlist-modal-icon-box svg {
  width: 15px;
  height: 15px;
  fill: #e11d48;
  stroke: #e11d48;
}

.wishlist-modal-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-heading, #0f0f0f);
  margin: 0;
  line-height: 1.2;
}

.wishlist-modal-count-pill {
  font-size: 0.6875rem;
  font-weight: 700;
  background-color: var(--color-block-alt, #eaeaea);
  color: var(--color-text-muted, #555566);
  padding: 2px 7px;
  border-radius: 9999px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.wishlist-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wishlist-clear-all-btn {
  background: none;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-text-muted, #555566);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 140ms ease-out, background-color 140ms ease-out;
}

.wishlist-clear-all-btn:hover {
  color: #dc2626;
  background-color: #fee2e2;
}

.wishlist-modal-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--color-border, #e0e0e0);
  background-color: #ffffff;
  color: var(--color-text-muted, #555566);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: none !important;
  transition: background-color 140ms ease-out, color 140ms ease-out, border-color 140ms ease-out;
}

.wishlist-modal-close-btn:hover {
  background-color: #f2f2f2;
  color: var(--color-heading, #0f0f0f);
  border-color: #c0c0c0;
}

.wishlist-modal-close-btn svg {
  width: 14px;
  height: 14px;
}

/* ── Body & List ── */
.wishlist-modal-body {
  padding: 12px 16px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 55vh;
}

/* بطاقة المنتج داخل المفضلة */
.wishlist-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 10px;
  background-color: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: border-color 140ms ease-out, background-color 140ms ease-out;
  box-shadow: none !important;
  position: relative;
}

.wishlist-item-card:hover {
  border-color: rgba(0, 83, 220, 0.35);
  background-color: #faf9fd;
}

.wishlist-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background-color: var(--color-block, #f2f2f2);
  border: 1px solid var(--color-divider, #e8e8e8);
  flex-shrink: 0;
}

.wishlist-item-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wishlist-item-title {
  font-size: 0.84375rem;
  font-weight: 700;
  color: var(--color-heading, #0f0f0f);
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wishlist-item-price {
  display: none !important;
}

.wishlist-item-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.wishlist-item-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  background-color: var(--color-primary, #0053dc);
  color: #ffffff !important;
  font-size: 0.71875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none !important;
  transition: background-color 140ms ease-out;
}

.wishlist-item-view-btn:hover {
  background-color: var(--color-primary-hover, #0042b0);
}

.wishlist-item-view-btn svg {
  width: 12px;
  height: 12px;
}

.wishlist-item-remove-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--color-border, #e0e0e0);
  background-color: #ffffff;
  color: var(--color-text-muted, #555566);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: none !important;
  transition: background-color 140ms ease-out, color 140ms ease-out, border-color 140ms ease-out;
}

.wishlist-item-remove-btn:hover {
  background-color: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

.wishlist-item-remove-btn svg {
  width: 13px;
  height: 13px;
}

/* ── الحالة الفارغة ── */
.wishlist-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 16px;
  gap: 10px;
}

.wishlist-empty-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-block, #f5f5f8);
  border: 1px solid var(--color-border, #e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-subtle, #888899);
}

.wishlist-empty-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.wishlist-empty-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-heading, #0f0f0f);
  margin: 0;
}

.wishlist-empty-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted, #555566);
  margin: 0;
  max-width: 260px;
  line-height: 1.4;
}

.wishlist-empty-shop-btn {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 16px;
  border-radius: 6px;
  background-color: var(--color-primary, #0053dc);
  color: #ffffff !important;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none !important;
  transition: background-color 140ms ease-out;
}

.wishlist-empty-shop-btn:hover {
  background-color: var(--color-primary-hover, #0042b0);
}

/* ── Footer ── */
.wishlist-modal-footer {
  padding: 12px 18px;
  background-color: var(--color-block, #f5f5f8);
  border-top: 1px solid var(--color-divider, #e8e8e8);
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

.wishlist-continue-btn {
  height: 32px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid var(--color-border, #d1d5db);
  background-color: #ffffff;
  color: var(--color-text, #1a1a1a);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: none !important;
  transition: background-color 140ms ease-out, border-color 140ms ease-out;
}

.wishlist-continue-btn:hover {
  background-color: #f2f2f2;
  border-color: #c0c0c0;
}

/* ── Toast ── */
.wishlist-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-heading, #0f0f0f);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #2a2a2a;
  box-shadow: none !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease-out;
  z-index: 99999;
  white-space: nowrap;
  direction: rtl;
}

.wishlist-toast.is-show {
  opacity: 1;
}

/* ── زر القلب داخل بطاقات المنتجات ── */
.card-wishlist-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--color-text-muted, #555566);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: none !important;
  transition: transform 140ms ease-out, background-color 140ms ease-out, color 140ms ease-out, border-color 140ms ease-out;
}

.card-wishlist-btn:hover {
  transform: scale(1.08);
  background-color: #ffffff;
  color: #e11d48;
  border-color: rgba(225, 29, 72, 0.3);
}

.card-wishlist-btn:active {
  transform: scale(0.92);
}

.card-wishlist-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  transition: fill 140ms ease-out, stroke 140ms ease-out;
}

.card-wishlist-btn.is-active {
  background-color: #e8f0fe;
  border-color: #fecdd3;
  color: #e11d48;
}

.card-wishlist-btn.is-active svg {
  fill: #e11d48;
  stroke: #e11d48;
}

/* ── زر المفضلة في صفحة المنتج الفردي ── */
.spx-wishlist-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  background-color: #f5f5f8;
  border: 1px solid rgba(0, 83, 220, 0.10);
  color: var(--color-text, #1a1a1a);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: none !important;
  transition: background-color 140ms ease-out, border-color 140ms ease-out, color 140ms ease-out;
}

.spx-wishlist-action:hover {
  background-color: #ede9fe;
  border-color: rgba(0, 83, 220, 0.3);
  color: var(--color-primary, #0053dc);
}

.spx-wishlist-action svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  transition: fill 140ms ease-out, stroke 140ms ease-out;
}

.spx-wishlist-action.is-active {
  background-color: #e8f0fe;
  border-color: #fecdd3;
  color: #e11d48;
}

.spx-wishlist-action.is-active svg {
  fill: #e11d48;
  stroke: #e11d48;
}

@media (max-width: 480px) {
  .wishlist-modal {
    max-width: 96%;
    border-radius: 12px;
  }
  .wishlist-item-title {
    max-width: 130px;
  }
}

/* ══════════════════════════════════════════
   FORCE PROFILE COMPLETION MODAL (back-end)
══════════════════════════════════════════ */
#wc-force-modal {
  position: fixed;
  inset: 0;
  background: var(--color-overlay, rgba(15, 15, 20, 0.6));
  z-index: var(--z-modal, 99999);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md, 16px);
  direction: rtl;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

#wc-force-modal .wc-modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--color-block, #ffffff);
  border-radius: var(--radius-xl, 14px);
  border: 1px solid var(--color-border, #e5e7eb);
  box-shadow: var(--shadow-lg, 0 10px 25px rgba(0, 0, 0, 0.1));
  overflow: hidden;
  transition: var(--transition-base, all 0.2s ease);
}

#wc-force-modal .wc-modal-head {
  padding: var(--space-lg, 20px) var(--space-lg, 20px) var(--space-md, 14px);
  background: var(--color-block-alt, #f9fafb);
  border-bottom: 1px solid var(--color-border, #e5e7eb);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md, 14px);
}

#wc-force-modal .wc-modal-title {
  margin: 0 0 var(--space-xs, 4px);
  font-size: var(--font-size-lg, 1.125rem);
  font-weight: var(--font-weight-bold, 700);
  color: var(--color-heading, #111827);
  font-family: var(--font-family-heading, inherit);
  line-height: var(--line-height-heading, 1.3);
}

#wc-force-modal .wc-modal-sub {
  margin: 0;
  font-size: var(--font-size-sm, 0.875rem);
  color: var(--color-text-muted, #6b7280);
  line-height: var(--line-height-base, 1.5);
}

#wc-force-modal .wc-close-btn {
  appearance: none;
  border: 1px solid var(--color-border, #e5e7eb);
  background: var(--color-block, #ffffff);
  color: var(--color-text-muted, #6b7280);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md, 8px);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast, all 0.15s ease);
  flex: 0 0 auto;
}

#wc-force-modal .wc-close-btn:hover {
  background: var(--color-block-hover, #f3f4f6);
  border-color: var(--color-border-hover, #d1d5db);
  color: var(--color-primary, #0053dc);
}

#wc-force-modal .wc-modal-body {
  padding: var(--space-lg, 20px);
}

#wc-force-modal .wc-alert {
  background: var(--alert-error-bg, #fef2f2);
  border: 1px solid var(--alert-error-border, #fecdd3);
  color: var(--alert-error-text, #dc2626);
  border-radius: var(--radius-md, 8px);
  padding: var(--space-sm, 10px) var(--space-md, 14px);
  font-size: var(--font-size-sm, 0.875rem);
  margin: 0 0 var(--space-md, 14px);
  display: flex;
  align-items: center;
  gap: var(--space-sm, 10px);
  line-height: var(--line-height-base, 1.5);
}

#wc-force-modal .wc-alert svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

#wc-force-modal .wc-field {
  margin-bottom: var(--space-md, 14px);
}

#wc-force-modal .wc-label {
  display: block;
  font-size: var(--font-size-sm, 0.875rem);
  color: var(--color-text, #1f2937);
  font-weight: var(--font-weight-semi, 600);
  margin: 0 0 var(--space-xs, 4px);
  letter-spacing: var(--letter-spacing-base, normal);
}

#wc-force-modal .wc-input-wrap {
  position: relative;
}

#wc-force-modal .wc-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--input-bg, #ffffff);
  color: var(--input-text, #1f2937);
  border: 1px solid var(--input-border, #d1d5db);
  border-radius: var(--input-border-radius, 8px);
  padding: var(--input-padding, 10px 14px);
  padding-left: 42px;
  font-size: var(--input-font-size, 0.875rem);
  font-family: var(--font-family, inherit);
  outline: none;
  transition: border-color var(--transition-base, all 0.2s ease), box-shadow var(--transition-base, all 0.2s ease);
  min-height: 44px;
}

#wc-force-modal .wc-input::placeholder {
  color: var(--input-placeholder, #9ca3af);
}

#wc-force-modal .wc-input:focus {
  border-color: var(--input-focus-border, #0053dc);
  box-shadow: var(--input-focus-shadow, 0 0 0 3px rgba(0, 83, 220, 0.15));
}

#wc-force-modal .wc-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--color-text-subtle, #9ca3af);
  pointer-events: none;
  transition: color var(--transition-fast, all 0.15s ease);
}

#wc-force-modal .wc-input-wrap:focus-within .wc-icon {
  color: var(--color-primary, #0053dc);
}

#wc-force-modal .wc-actions {
  margin-top: var(--space-lg, 20px);
}

#wc-force-modal .wc-btn-primary {
  width: 100%;
  background: var(--btn-bg, #0053dc);
  color: var(--btn-text, #ffffff);
  border: none;
  border-radius: var(--btn-border-radius, 8px);
  padding: 12px var(--space-lg, 20px);
  font-size: var(--btn-font-size, 0.875rem);
  font-weight: var(--btn-font-weight, 700);
  font-family: var(--font-family, inherit);
  cursor: pointer;
  transition: var(--btn-transition, all 0.2s ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm, 10px);
  min-height: 44px;
  letter-spacing: var(--letter-spacing-base, normal);
}

#wc-force-modal .wc-btn-primary:hover {
  background: var(--btn-hover-bg, #0042b0);
  box-shadow: var(--shadow-primary, 0 4px 12px rgba(0, 83, 220, 0.25));
}

#wc-force-modal .wc-btn-primary:active {
  background: var(--btn-active-bg, #2a1f5e);
  transform: translateY(1px);
}

#wc-force-modal .wc-btn-primary svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

#wc-force-modal .wc-note {
  margin: var(--space-md, 14px) 0 0;
  font-size: var(--font-size-xs, 0.75rem);
  color: var(--color-text-subtle, #9ca3af);
  line-height: var(--line-height-base, 1.5);
  text-align: center;
}

#wc-force-modal .wc-note::before {
  content: '✦ ';
  color: var(--color-primary, #0053dc);
  font-size: 10px;
}

/* ══════════════════════════════════════════
   WOOCOMMERCE STANDARD PRODUCTS LIST (content-product)
══════════════════════════════════════════ */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

.woocommerce ul.products {
  padding: 0 10px;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  direction: rtl;
}

.woocommerce ul.products li.product {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
  clear: none !important;
}

.app-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.app-row {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
}

.app-row__media {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 44px;
}

.app-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-row__title {
  margin: 0;
  flex: 1;
  font: 600 14px / 1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .woocommerce ul.products {
    padding: 0 20px;
    gap: 10px;
  }

  .app-row {
    padding: 10px 12px;
  }

  .app-row__media {
    width: 50px;
    height: 50px;
  }

  .app-row__title {
    font-size: 15px;
  }
}

/* ══════════════════════════════════════════════════════════════
   ARCADE STORE — HOMEPAGE REDESIGN (MODERN & RESPONSIVE)
   مطابق 100% لمعايير اوامر.ini:
   - لون تمييز موحد (#0053dc)
   - صفر تدرجات لونية (Zero Gradients)
   - صفر ظلال على العناصر الثابتة (Zero Drop Shadows on static cards)
   - صفر إيموجي كواجهة
   - أيقونات أحادية بوزن موحد تجلس مباشرة على الخلفية
   - بطاقات منتجات واضحة المعالم في الهاتف والكمبيوتر مع إظهار الأسماء دائماً
══════════════════════════════════════════════════════════════ */

/* ── 1. قسم البانر الرئيسي ── */
.home-hero-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 16px 0;
  box-sizing: border-box;
}

.home-hero-banner-wrap {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  aspect-ratio: 2560 / 920;
  display: block;
}

.home-hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── 2. شريط مميزات وضمانات المتجر (Trust & Value Highlights) ── */
.home-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  width: 100%;
  box-sizing: border-box;
}

.home-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 14px 16px;
  box-sizing: border-box;
  min-width: 0;
  transition: border-color 140ms ease-out, background-color 140ms ease-out;
}

.home-trust-item:hover {
  border-color: var(--color-primary);
  background-color: var(--color-block);
}

.home-trust-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-trust-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.home-trust-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.home-trust-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.35;
  margin: 0;
  white-space: normal;
  word-break: break-word;
}

.home-trust-desc {
  font-size: 11.5px;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin: 0;
  white-space: normal;
  word-break: break-word;
}

/* ── 3. شريط تصفح التصنيفات التفاعلي ── */
.home-cats-nav {
  width: 100%;
  max-width: 1400px;
  margin: 16px auto 0;
  padding: 0 16px;
  box-sizing: border-box;
}

.home-cats-track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.home-cats-track::-webkit-scrollbar {
  display: none;
}

.home-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 140ms ease-out, background-color 140ms ease-out, color 140ms ease-out;
}

.home-cat-chip:hover {
  border-color: var(--color-primary);
  background-color: var(--color-block);
  color: var(--color-primary);
}

.home-cat-chip--all {
  background-color: var(--color-primary);
  color: #ffffff !important;
  border-color: var(--color-primary);
}

.home-cat-chip--all:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.home-cat-chip-icon {
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
}

.home-cat-chip-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.home-cat-chip-icon img.cat-custom-icon-img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.home-cat-chip-count {
  font-size: 11px;
  font-weight: 500;
  padding: 1px 6px;
  background-color: var(--color-block);
  border-radius: 4px;
  color: var(--color-text-muted);
}

.home-cat-chip--all .home-cat-chip-count {
  background-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* ── 4. المحتوى وتنسيق الأقسام ── */
.home-sections-wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  box-sizing: border-box;
}

.home-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.section-head-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.section-head-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title-mark {
  width: 3.5px;
  height: 18px;
  background-color: var(--color-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 12.5px;
  color: var(--color-text-muted);
  margin: 0;
  padding-right: 12px;
}

.section-head-divider {
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
  min-width: 20px;
}

.section-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 140ms ease-out, border-color 140ms ease-out, color 140ms ease-out;
}

.section-view-all svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  transform: rotate(180deg);
}

.section-view-all:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

/* ── 5. شبكة المنتجات (Product Grid) ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

/* ── 6. بطاقة المنتج (Product Card) ── */
.product-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
  transition: border-color 140ms ease-out, background-color 140ms ease-out;
  position: relative;
  height: 100%;
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--color-primary);
}

.product-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #f8fafc;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.product-card-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.product-card-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 180ms ease-out;
}

.product-card:hover .product-card-thumb-link img {
  transform: scale(1.025);
}

.product-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  line-height: 1.2;
  pointer-events: none;
}

.product-badge--sale {
  background-color: #dc2626;
  color: #ffffff;
}

.product-badge--featured {
  background-color: var(--color-primary);
  color: #ffffff;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 10px 12px;
  flex: 1;
  box-sizing: border-box;
  text-align: center;
}

.product-card-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
}

.product-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 140ms ease-out;
}

.product-card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-card:hover .product-card-title a {
  color: var(--color-primary);
}

.card-wishlist-btn {
  z-index: 3 !important;
}

/* ── 7. فاصل الأقسام ── */
.home-section-sep {
  width: 100%;
  height: 1px;
  background-color: var(--color-border);
  margin: 4px 0;
  border: none;
}

/* ── 8. بطاقة المحفظة الختامية (Wallet CTA) ── */
.home-wallet-card {
  border-radius: 10px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  padding: 28px 24px;
  box-sizing: border-box;
}

.home-wallet-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.home-wallet-content {
  max-width: 680px;
}

.home-wallet-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.home-wallet-icon {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-wallet-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.home-wallet-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0;
  line-height: 1.3;
}

.home-wallet-desc {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.home-wallet-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.home-wallet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 140ms ease-out, border-color 140ms ease-out, color 140ms ease-out;
  white-space: nowrap;
  box-sizing: border-box;
}

.home-wallet-btn svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  transform: rotate(180deg);
}

.home-wallet-btn--primary {
  background-color: var(--color-primary);
  color: #ffffff !important;
  border: 1px solid var(--color-primary);
}

.home-wallet-btn--primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.home-wallet-btn--secondary {
  background-color: #ffffff;
  color: var(--color-heading) !important;
  border: 1px solid var(--color-border);
}

.home-wallet-btn--secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary) !important;
}

/* ══════════════════════════════════════════════════════════════
   استجابة الشاشات الصغيرة (الهواتف والأجهزة اللوحية)
   - 3 منتجات بالصف بدون أي زر طلب
   - كروت نظيفة مع إظهار اسم المنتج والصورة والشارات بوضوح
══════════════════════════════════════════════════════════════ */
@media (max-width: 899px) {
  .home-hero-section {
    padding: 10px 10px 0;
  }

  .home-hero-banner-wrap {
    border-radius: 10px;
    aspect-ratio: 16 / 7.5;
    min-height: 140px;
  }

  /* مميزات المتجر في الهاتف: شبكة 2x2 متجاوبة بالكامل */
  .home-trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .home-trust-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 10px 10px;
    gap: 8px;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 8px;
  }

  .home-trust-icon {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
  }

  .home-trust-icon svg {
    width: 18px;
    height: 18px;
  }

  .home-trust-info {
    min-width: 0;
    flex: 1;
  }

  .home-trust-title {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
  }

  .home-trust-desc {
    font-size: 10.5px;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    color: var(--color-text-muted);
  }


  .home-cats-nav {
    padding: 0 10px;
    margin-top: 12px;
  }

  .home-cat-chip {
    padding: 6px 12px;
    font-size: 12px;
    gap: 6px;
  }

  .home-cat-chip-icon {
    width: 15px;
    height: 15px;
  }

  .home-cat-chip-icon svg {
    width: 15px;
    height: 15px;
  }

  .home-sections-wrap {
    padding: 16px 10px 32px;
    gap: 24px;
  }

  .section-head {
    gap: 8px;
  }

  .section-title {
    font-size: 1.1rem;
  }

  .section-subtitle {
    display: none;
  }

  .section-title-mark {
    height: 16px;
    width: 3px;
  }

  .section-view-all {
    padding: 5px 10px;
    font-size: 11.5px;
    gap: 4px;
  }

  /* ══ شبكة المنتجات في الهاتف: 3 أعمدة بدون زر طلب ══ */
  .product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .product-card {
    border-radius: 8px;
  }

  .product-card-body {
    padding: 6px 6px 8px;
    display: flex !important;
    text-align: center;
  }

  .product-card-title {
    font-size: 11px;
    line-height: 1.3;
    min-height: 28px;
    display: -webkit-box !important;
  }

  .product-badge {
    top: 4px;
    right: 4px;
    font-size: 9px;
    padding: 1.5px 5px;
    border-radius: 3px;
    display: inline-block !important;
  }

  .card-wishlist-btn {
    width: 22px;
    height: 22px;
    top: 4px;
    left: 4px;
  }

  .card-wishlist-btn svg {
    width: 12px;
    height: 12px;
  }

  /* بطاقة المحفظة */
  .home-wallet-card {
    padding: 18px 14px;
  }

  .home-wallet-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .home-wallet-title {
    font-size: 1.1rem;
  }

  .home-wallet-desc {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .home-wallet-actions {
    flex-direction: column;
    width: 100%;
  }

  .home-wallet-btn {
    width: 100%;
    padding: 10px 14px;
  }
}

@media (max-width: 380px) {
  .home-trust-bar {
    gap: 6px;
  }

  .home-trust-item {
    padding: 8px 8px;
    gap: 6px;
  }

  .home-trust-icon {
    width: 16px;
    height: 16px;
    margin-top: 1px;
  }

  .home-trust-icon svg {
    width: 16px;
    height: 16px;
  }

  .home-trust-title {
    font-size: 11px;
  }

  .home-trust-desc {
    font-size: 9.5px;
  }
}

@media (max-width: 360px) {
  .product-grid {
    gap: 6px !important;
  }

  .product-card-body {
    padding: 4px 4px 6px;
  }

  .product-card-title {
    font-size: 10px;
    min-height: 26px;
  }
}



/* ══════════════════════════════════════════════════════════════════════════
   TOP 2 CARD (توب 2 كارد) — DARK HEADER + #0053dc HERO + OVERLAPPING CATS
   Primary Accent: #0053dc | Dark Header/Footer: #0f172a / #0b1120
══════════════════════════════════════════════════════════════════════════ */
body.t2c-body {
  background-color: #f4f6fa;
}

/* ── 1. Dark Top Horizontal Header ── */
#site-header.t2c-dark-header {
  background-color: #0f172a !important;
  border-bottom: 3px solid #0053dc !important;
  height: 68px !important;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: none !important;
}

.t2c-header-wrap {
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.t2c-brand-logo a {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  padding: 5px 12px;
  border-radius: 8px;
  line-height: 0;
}

.t2c-brand-logo img {
  height: 34px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

/* Nav Links inside Dark Header */
.t2c-dark-header .header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.t2c-dark-header .header-nav-item {
  color: #cbd5e1 !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 8px;
  background-color: transparent;
  transition: background-color 140ms ease-out, color 140ms ease-out;
}

.t2c-dark-header .header-nav-item:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

.t2c-dark-header .header-nav-item--active {
  background-color: #0053dc !important;
  color: #ffffff !important;
}

.t2c-dark-header .header-nav-badge {
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.t2c-dark-icon-btn {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

.t2c-dark-icon-btn svg {
  stroke: #ffffff !important;
}

.t2c-dark-icon-btn:hover {
  background-color: #0053dc !important;
  border-color: #0053dc !important;
}

.t2c-header-wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  background-color: rgba(0, 83, 220, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: 8px;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.t2c-header-wallet-chip svg {
  width: 15px;
  height: 15px;
}

.t2c-dark-account-btn {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

.t2c-login-btn {
  background-color: #0053dc !important;
  color: #ffffff !important;
  border: 1px solid #0053dc !important;
  border-radius: 8px !important;
  height: 36px !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.t2c-login-btn:hover {
  background-color: #0042b0 !important;
}

.t2c-login-btn svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 768px) {
  #site-header.t2c-dark-header {
    height: 58px !important;
  }

  .t2c-header-wrap {
    padding: 0 12px;
    gap: 8px;
  }

  .t2c-brand-logo img {
    height: 28px;
    max-width: 118px;
  }

  .t2c-header-wallet-chip {
    display: none;
  }

  .t2c-login-btn {
    padding: 0 10px !important;
    height: 34px !important;
    font-size: 12px !important;
  }
}

/* ── 2. Full-Bleed #0053dc Hero + Inline Search ── */
.t2c-blue-hero {
  background-color: #0053dc;
  color: #ffffff;
  padding: 44px 20px 76px;
}

.t2c-blue-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.t2c-blue-hero-text h1 {
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.t2c-blue-hero-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 620px;
}

.t2c-hero-search-box {
  width: 100%;
  max-width: 640px;
}

.t2c-hero-search-trigger {
  width: 100%;
  height: 52px;
  background-color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 0 16px 0 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  color: #64748b;
}

.t2c-hero-search-trigger svg {
  width: 19px;
  height: 19px;
  color: #0053dc;
  flex-shrink: 0;
}

.t2c-hero-search-trigger > span:first-of-type {
  flex: 1;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t2c-hero-search-btn {
  background-color: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .t2c-blue-hero {
    padding: 28px 14px 56px;
  }

  .t2c-blue-hero-text p {
    font-size: 13px;
  }

  .t2c-hero-search-trigger {
    height: 46px;
    font-size: 12.5px;
  }

  .t2c-hero-search-btn {
    padding: 6px 14px;
    font-size: 12px;
  }
}

/* ── 3. Overlapping Category Cards Row ── */
.t2c-overlap-cats {
  max-width: 1360px;
  margin: -42px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.t2c-overlap-cats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.t2c-cat-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: border-color 140ms ease-out, background-color 140ms ease-out;
}

.t2c-cat-box:hover {
  border-color: #0053dc;
  background-color: #f8fafc;
}

.t2c-cat-box--all {
  background-color: #0f172a;
  border-color: #0f172a;
}

.t2c-cat-box--all .t2c-cat-box-icon {
  color: #60a5fa;
}

.t2c-cat-box--all strong {
  color: #ffffff !important;
}

.t2c-cat-box--all span {
  color: #94a3b8 !important;
}

.t2c-cat-box-icon {
  color: #0053dc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.t2c-cat-box-icon svg,
.t2c-cat-box-icon img {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  object-fit: contain;
}

.t2c-cat-box-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.t2c-cat-box-meta strong {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t2c-cat-box-meta span {
  font-size: 11px;
  color: #64748b;
}

@media (max-width: 1100px) {
  .t2c-overlap-cats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .t2c-overlap-cats {
    margin-top: -30px;
    padding: 0 12px;
  }

  .t2c-overlap-cats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .t2c-cat-box {
    padding: 10px;
  }
}

/* ── 4. Tabbed Product Showcase & 4-Column Grid ── */
.t2c-main-container {
  max-width: 1360px;
  margin: 28px auto 40px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.t2c-tabs-showcase {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 24px 28px;
}

.t2c-tabs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.t2c-tabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.t2c-tabs-nav::-webkit-scrollbar {
  display: none;
}

.t2c-tab-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  color: #334155;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 140ms ease-out, border-color 140ms ease-out, color 140ms ease-out;
}

.t2c-tab-pill:hover {
  border-color: #0053dc;
  color: #0053dc;
}

.t2c-tab-pill.is-active {
  background-color: #0053dc;
  border-color: #0053dc;
  color: #ffffff;
}

.t2c-all-link {
  font-size: 13px;
  font-weight: 700;
  color: #0053dc;
  text-decoration: none;
  white-space: nowrap;
}

.t2c-tab-content {
  display: none;
}

.t2c-tab-content.is-active {
  display: block;
}

.t2c-pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.t2c-pcard {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 140ms ease-out;
}

.t2c-pcard:hover {
  border-color: #0053dc;
}

.t2c-pcard-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
}

.t2c-pcard-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.t2c-pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.t2c-pcard-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
}

.t2c-pcard-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.t2c-pcard-title a {
  color: inherit;
  text-decoration: none;
}

.t2c-pcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.t2c-pcard-instant {
  font-size: 11.5px;
  font-weight: 600;
  color: #0053dc;
}

.t2c-pcard-cta {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff !important;
  background-color: #0053dc;
  padding: 5px 12px;
  border-radius: 6px;
  text-decoration: none;
}

.t2c-pcard-cta:hover {
  background-color: #0042b0;
}

@media (max-width: 1080px) {
  .t2c-pgrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .t2c-main-container {
    padding: 0 12px;
    margin-top: 18px;
    gap: 18px;
  }

  .t2c-tabs-showcase {
    padding: 14px;
  }

  .t2c-pgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .t2c-pcard-body {
    padding: 10px;
  }

  .t2c-pcard-title {
    font-size: 12.5px;
    min-height: 34px;
  }

  .t2c-pcard-cta {
    padding: 4px 9px;
    font-size: 11px;
  }
}

/* ── 5. Wallet CTA Block ── */
.t2c-wallet-cta-block {
  background-color: #0f172a;
  color: #ffffff;
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-right: 4px solid #0053dc;
}

.t2c-wallet-cta-info h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.t2c-wallet-cta-info p {
  font-size: 13.5px;
  color: #cbd5e1;
  margin: 0;
  max-width: 600px;
}

.t2c-wallet-cta-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.t2c-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  background-color: #0053dc;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.t2c-btn-primary:hover {
  background-color: #0042b0;
}

.t2c-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

/* ── 6. Dark Editorial Footer ── */
#site-footer.t2c-footer {
  background-color: #0b1120 !important;
  color: #cbd5e1 !important;
  border-top: 3px solid #0053dc !important;
}

.t2c-footer-features {
  background-color: #111827;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.t2c-footer-features-grid {
  max-width: 1360px;
  margin: 0 auto;
  padding: 22px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.t2c-footer-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.t2c-footer-feature-icon {
  color: #3b82f6;
  flex-shrink: 0;
  padding-top: 2px;
}

.t2c-footer-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.t2c-footer-feature-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.t2c-footer-feature-desc {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0;
}

.t2c-footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 36px 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 28px;
}

.t2c-footer-logo {
  display: inline-block;
  background-color: #ffffff;
  padding: 7px 14px;
  border-radius: 9px;
  margin-bottom: 14px;
}

.t2c-footer-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.t2c-footer-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0 0 16px 0;
  max-width: 320px;
}

.t2c-footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.t2c-footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t2c-footer-social-btn svg {
  width: 16px;
  height: 16px;
}

.t2c-footer-social-btn:hover {
  background-color: #0053dc;
  border-color: #0053dc;
  color: #ffffff;
}

.t2c-footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.t2c-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.t2c-footer-links li a {
  color: #94a3b8;
  font-size: 13px;
  text-decoration: none;
}

.t2c-footer-links li a:hover {
  color: #ffffff;
}

.t2c-footer-contact-box {
  background-color: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 18px;
}

.t2c-footer-contact-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.t2c-footer-contact-desc {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0 0 14px 0;
}

.t2c-footer-btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 8px;
  background-color: #0053dc;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.t2c-footer-contact-meta {
  margin-top: 10px;
  font-size: 11.5px;
  color: #94a3b8;
}

.t2c-footer-bottom {
  background-color: #060a14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.t2c-footer-bottom-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.t2c-footer-payments {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.t2c-footer-payments-label {
  font-size: 12px;
  color: #94a3b8;
}

.t2c-footer-payments-logos {
  display: flex;
  gap: 6px;
}

.t2c-payment-pill {
  font-size: 11.5px;
  font-weight: 600;
  color: #e2e8f0;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 6px;
}

.t2c-footer-legal {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.t2c-footer-copy {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0;
}

.t2c-footer-copy a {
  color: #ffffff;
}

.t2c-footer-legal-links {
  display: flex;
  gap: 8px;
  font-size: 12px;
}

.t2c-footer-legal-links a {
  color: #94a3b8;
}

.t2c-footer-top-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.t2c-footer-top-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

@media (max-width: 1024px) {
  .t2c-footer-features-grid,
  .t2c-footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .t2c-footer-features-grid,
  .t2c-footer-inner {
    grid-template-columns: 1fr;
    padding: 20px 14px;
  }

  .t2c-footer-bottom {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
}
