/* main.css — global.css + brand.css merged (2026-12-02).
   Part 1 = base theme (ex global.css), Part 2 = brand layer (ex brand.css).
   Loaded last (priority 99) so the brand layer still overrides plugin + page CSS. */

/* ═════════ PART 1 — BASE (ex global.css) ═════════ */
:root {
  --color-primary: #1a5cff !important;
  --color-primary-hover: #1247d6;
  --color-primary-light: rgba(26, 92, 255, 0.10);
  --color-primary-dark: #0d36a8;

  --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-muted: #4b5563;
  --color-text-subtle: #6b7280;
  --color-text-inverse: #ffffff;

  --color-border: rgba(26, 92, 255, 0.12);
  --color-border-hover: var(--color-primary);
  --color-border-focus: rgba(26, 92, 255, 0.45);
  --color-divider: rgba(26, 92, 255, 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-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(26, 92, 255, 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(26, 92, 255, 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(26, 92, 255, 0.10);
  --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(26, 92, 255, 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(26, 92, 255, 0.08);
  --alert-error-text: #1247d6;
  --alert-error-border: rgba(26, 92, 255, 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(26, 92, 255, 0.18);

  --font-family-heading: 'Tajawal', '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 {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  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(26, 92, 255, 0.18);
  color: var(--color-heading);
}

/* ═══════════════════════════════════════
   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 ─── */

/* Icon sits directly on background at text size, no tinted box */

/* ─── 2. Main Footer Content ─── */

.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;
}

/* Social Buttons - neutral monochrome with clean border */

/* ─── Navigation Columns ─── */

/* ─── 3. Contact & Help Box ─── */

/* ─── 4. Payments Bar ─── */

.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);
}

/* ─── 5. Bottom Copyright Bar ─── */

.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 ─── */

/* ═══════════════════════════════════════
   6. MOBILE BOTTOM NAVIGATION
   - صفر ظلال (box-shadow: none !important)
   - خلفية بيضاء نقية متطابقة مع الهيدر (#ffffff)
   - حد علوي خفيف مطابق للهيدر (rgba(26, 92, 255, 0.12))
   - حاويات أيقونات ناعمة متناسقة مع header-icon-btn
═══════════════════════════════════════ */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {

  .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(26, 92, 255, 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(26, 92, 255, 0.16);
    color: var(--color-primary, #1a5cff);
  }

  .mob-nav-item--active .mob-nav-label {
    color: var(--color-primary, #1a5cff);
    font-weight: 700;
  }

  /* تفاعل التمرير */
  .mob-nav-item:hover:not(.mob-nav-item--active) .mob-nav-icon-wrap {
    color: var(--color-primary, #1a5cff);
  }

  .mob-nav-item:hover:not(.mob-nav-item--active) .mob-nav-label {
    color: var(--color-primary, #1a5cff);
  }

  @media (prefers-reduced-motion: reduce) {

    .mob-nav-item,
    .mob-nav-icon-wrap,
    .mob-nav-label {
      transition: none;
    }
  }
}

/* ═══════════════════════════════════════
   7. TOP2CARD BACK TO TOP BUTTON
═══════════════════════════════════════ */

/* تموضع متوافق مع شريط التنقل السفلي في الهواتف */

/* ═══════════════════════════════════════
   8. TOP2CARD 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%, #1a5cff 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);
}

.t2c-bar-text {
  color: inherit;
  letter-spacing: -0.1px;
}

.t2c-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  color: #1a5cff;
  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(26, 92, 255, 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) ── */

@media (max-width: 768px) {
  #site-header {
    height: 54px;
  }

  /* ── 44px Touch Target for Mobile Buttons ── */

  /* ── 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 ── */

/* ── Logo ── */

/* ── Actions (Left & Right) ── */

/* Left actions in column 3 — push to the left edge */

/* Search & Action Icon Buttons */

/* الهامبرغر — موبايل فقط */

/* ══ Header Wishlist Button & Counter Badge ══ */
.header-wishlist-btn {
  position: relative !important;
}

.header-wishlist-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-primary, #1a5cff);
  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 (ديسكتوب فقط) ══ */

/* ══ Wallet Quick Balance — أيقونة المال ورصيد مالي أنيق بدون رمادي ══ */

/* ══ User Account Button — أنيق ومضغوط سطر واحد بدون رمادي ══ */

/* ══ Guest Login Button — Solid Brand CTA on Desktop ══ */

/* ══ Mobile Breakpoint Adjustments ══ */
@media (max-width: 768px) {

  /* زر تسجيل الدخول في الموبايل */

}

/* ══════════════════════════════════════════
   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(26, 92, 255, 0.14);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.12),
    0 6px 16px -4px rgba(26, 92, 255, 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);
}

/* ── بطاقة المستخدم العلوية ── */

.user-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.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(26, 92, 255, 0.1);
  color: var(--color-primary, #1a5cff);
  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;
}

/* ── بطاقة رصيد المحفظة السريعة ── */

/* ── قائمة الروابط ── */

/* تخصيص أيقونة المفضلة */

/* الفاصل */

/* عنصر تسجيل الخروج */

/* ══════════════════════════════════════════
   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, #1a5cff);
  border-color: rgba(26, 92, 255, 0.08);
  box-shadow: none !important;
  transform: none !important;
}

.header-nav-item--active {
  background-color: #ede9fe !important;
  color: var(--color-primary, #1a5cff) !important;
  font-weight: 600 !important;
  border-color: rgba(26, 92, 255, 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) ── */

/* ── Wallet Strip (Clean & Zero-Gradient) ── */

/* ── 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, #1a5cff);
  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, #1247d6);
}
.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-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, #1a5cff);
}
.mnav-link--active {
  background-color: var(--color-block, #f3f4f6);
  color: var(--color-primary, #1a5cff) !important;
  font-weight: 700;
}
.mnav-link--active svg.mnav-link-icon {
  color: var(--color-primary, #1a5cff) !important;
}

/* ── 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-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(26, 92, 255, 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(26, 92, 255, 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, #1a5cff);
  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 على أجهزة الكمبيوتر */

/* زر إغلاق البحث (أيقونة 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, #1a5cff);
  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(26, 92, 255, 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(26, 92, 255, 0.14);
  color: var(--color-primary, #1a5cff);
  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(26, 92, 255, 0.2);
  border-top-color: var(--color-primary, #1a5cff);
  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, #1a5cff);
  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: #1247d6;
}

.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, #1a5cff);
  background-color: #e8f0fe;
  border: 1px solid rgba(26, 92, 255, 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, #1a5cff);
}

.sri-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background-color: #f1f5f9;
  border: 1px solid rgba(26, 92, 255, 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, #1a5cff);
  transform: translateX(-3px);
}

/* زر عرض جميع النتائج في الأسفل */
.search-view-all {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  color: var(--color-primary, #1a5cff);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background-color: #fdfcff;
  border-top: 1px solid rgba(26, 92, 255, 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);
}

/* ── التذييل السفلي لاختصارات لوحة المفاتيح ── */

/* ── استجابة الشاشات الصغيرة (الموبايل) ── */
@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-popup-close {
    display: none;
  }

  .search-bar-cancel {
    display: block;
  }

  .sri-name {
    font-size: 12.5px;
  }
}

/* ══════════════════════════════════════════
   WISHLIST TOAST & CARD BUTTONS
══════════════════════════════════════════ */
.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-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(26, 92, 255, 0.35);
  background-color: #faf9fd;
}

.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;
}

/* ── الحالة الفارغة ── */

/* ── 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;
  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(26, 92, 255, 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(26, 92, 255, 0.3);
  color: var(--color-primary, #1a5cff);
}

.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;
}

/* ══════════════════════════════════════════
   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, #1a5cff);
}

#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, #1a5cff);
  box-shadow: var(--input-focus-shadow, 0 0 0 3px rgba(26, 92, 255, 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, #1a5cff);
}

#wc-force-modal .wc-actions {
  margin-top: var(--space-lg, 20px);
}

#wc-force-modal .wc-btn-primary {
  width: 100%;
  background: var(--btn-bg, #1a5cff);
  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, #1247d6);
  box-shadow: var(--shadow-primary, 0 4px 12px rgba(26, 92, 255, 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, #1a5cff);
  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;
  }
}

/* ══════════════════════════════════════════════════════════════
   TOP2CARD STORE — HOMEPAGE REDESIGN (MODERN & RESPONSIVE)
   مطابق 100% لمعايير اوامر.ini:
   - لون تمييز موحد (#1a5cff)
   - صفر تدرجات لونية (Zero Gradients)
   - صفر ظلال على العناصر الثابتة (Zero Drop Shadows on static cards)
   - صفر إيموجي كواجهة
   - أيقونات أحادية بوزن موحد تجلس مباشرة على الخلفية
   - بطاقات منتجات واضحة المعالم في الهاتف والكمبيوتر مع إظهار الأسماء دائماً
══════════════════════════════════════════════════════════════ */

/* ── 1. قسم البانر الرئيسي ── */

/* ── 2. شريط مميزات وضمانات المتجر (Trust & Value Highlights) ── */

/* ── 3. شريط تصفح التصنيفات التفاعلي ── */

/* ── 4. المحتوى وتنسيق الأقسام ── */

.home-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.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;
}

/* ── 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. فاصل الأقسام ── */

/* ── 8. بطاقة المحفظة الختامية (Wallet CTA) ── */

/* ══════════════════════════════════════════════════════════════
   استجابة الشاشات الصغيرة (الهواتف والأجهزة اللوحية)
   - 3 منتجات بالصف بدون أي زر طلب
   - كروت نظيفة مع إظهار اسم المنتج والصورة والشارات بوضوح
══════════════════════════════════════════════════════════════ */
@media (max-width: 899px) {

  /* مميزات المتجر في الهاتف: شبكة 2x2 متجاوبة بالكامل */

  .section-head {
    gap: 8px;
  }

  .section-title {
    font-size: 1.1rem;
  }

  .section-subtitle {
    display: none;
  }

  /* ══ شبكة المنتجات في الهاتف: 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;
  }

  /* بطاقة المحفظة */

}

@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;
  }
}



/* ═════════ PART 2 — BRAND LAYER (ex brand.css) ═════════ */
/* ══════════════════════════════════════════════════════════════
   TOP 2 CARD — Brand Layer (2026 identity)
   Loaded after global.css. Light header, Tajawal type,
   brand blue (from the logo) + warm orange action color.
══════════════════════════════════════════════════════════════ */

:root {
  --tc-ink: #0c1a3a;
  --tc-ink-2: #3b4766;
  --tc-muted: #6a7591;
  --tc-line: #e5e8f0;
  --tc-line-2: #eef0f5;
  --tc-bg: #f6f7fb;
  --tc-surface: #ffffff;

  --tc-blue: #1a5cff;
  --tc-blue-ink: #0f3fc4;
  --tc-blue-soft: #ecf1ff;

  --tc-accent: #ff6a2b;
  --tc-accent-ink: #e4561a;
  --tc-accent-soft: #fff0e8;

  --tc-ok: #12a150;

  --tc-r-lg: 20px;
  --tc-r-md: 14px;
  --tc-r-sm: 10px;

  --tc-shadow: 0 1px 2px rgba(12, 26, 58, .04), 0 8px 24px -12px rgba(12, 26, 58, .14);
  --tc-shadow-up: 0 2px 4px rgba(12, 26, 58, .05), 0 18px 36px -16px rgba(12, 26, 58, .22);

  --tc-wrap: 1280px;

  /* re-point the theme's generic tokens */
  --font-family: 'Tajawal', 'Segoe UI', system-ui, sans-serif;
  --color-primary: #1a5cff;
  --color-text: #0c1a3a;
  --color-heading: #0c1a3a;
  --btn-border-radius: 12px;
  --card-border-radius: 16px;
}

body.tc-skin {
  background: var(--tc-bg);
  color: var(--tc-ink);
  font-size: 15px;
}

body.tc-skin h1, body.tc-skin h2, body.tc-skin h3, body.tc-skin h4 {
  font-family: var(--font-family);
  color: var(--tc-ink);
  letter-spacing: 0;
}

.tc-skin ::selection { background: var(--tc-blue); color: #fff; }

/* global.css sets overflow-x:hidden on <html> and <body>, which turns <body> into a
   scroll container and breaks the sticky header. 'clip' hides overflow without that. */
html, body.tc-skin { overflow-x: clip !important; overflow-y: visible !important; }

/* neutralise the theme's generic <button> padding for icon-only controls */
.tc-skin .tc-icon-btn,
.tc-skin .tc-card-fav,
.tc-skin .tc-top-btn { padding: 0 !important; min-width: 0; }
.tc-skin .tc-icon-btn svg,
.tc-skin .tc-card-fav svg,
.tc-skin .tc-top-btn svg { flex-shrink: 0; }

/* ═════════ Buttons ═════════ */
.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font: 700 15px/1 var(--font-family);
  text-decoration: none !important;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.tc-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tc-btn svg[fill="currentColor"] { fill: currentColor; stroke: none; }
.tc-btn:active { transform: translateY(1px); }
.tc-btn--accent { background: var(--tc-accent); color: #fff !important; }
.tc-btn--accent:hover { background: var(--tc-accent-ink); }
.tc-btn--line { background: transparent; color: var(--tc-ink) !important; border-color: var(--tc-line); background: #fff; }
.tc-btn--line:hover { border-color: var(--tc-ink); }
.tc-btn--ghost { background: rgba(255,255,255,.12); color: #fff !important; border-color: rgba(255,255,255,.35); }
.tc-btn--ghost:hover { background: rgba(255,255,255,.2); }

/* ═════════ Header — one balanced row ═════════ */
#site-header.tc-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: auto;
  /* no backdrop blur: it re-renders on every scroll frame; a near-opaque bg looks the same */
  background: rgba(255, 255, 255, .97);
  border: 0;
  border-bottom: 1px solid var(--tc-line);
  box-shadow: none !important;
}

.tc-header-main {
  max-width: var(--tc-wrap);
  height: 70px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: auto minmax(260px, 500px) auto;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.tc-h-start { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tc-h-center { width: 100%; }
.tc-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }

/* Sleek pill search bar */
.tc-header-search-bar {
  width: 100%;
  height: 44px;
  padding: 4px 12px 4px 5px !important;
  border-radius: 999px;
  background: var(--tc-bg);
  border: 1.5px solid var(--tc-line);
  color: var(--tc-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: start;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.tc-header-search-bar:hover {
  border-color: var(--tc-blue);
  background: var(--tc-surface);
  color: var(--tc-ink-2);
  box-shadow: 0 4px 14px -6px rgba(26, 92, 255, .25);
}

.tc-header-search-bar:hover .tc-hs-placeholder {
  color: var(--tc-ink-2);
}

.tc-hs-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tc-blue);
  flex-shrink: 0;
}

.tc-hs-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tc-hs-placeholder {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-hs-go {
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--tc-blue);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color .15s ease;
}

.tc-header-search-bar:hover .tc-hs-go {
  background: var(--tc-blue-ink);
}

/* Tier 2: desktop nav bar / mobile search row */
.tc-header-tier2 {
  border-top: 1px solid var(--tc-line-2);
}

.tc-header-nav-row {
  max-width: var(--tc-wrap);
  margin: 0 auto;
  padding: 0 20px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-header-search-row {
  display: none;
  max-width: var(--tc-wrap);
  margin: 0 auto;
  padding: 8px 10px 10px;
}

@media (max-width: 1100px) {
  .tc-h-search-desktop,
  .tc-header-nav-row {
    display: none;
  }
  .tc-header-search-row {
    display: block;
  }
}

@media (max-width: 768px) {
  .tc-header-search-bar--mob {
    height: 40px;
    padding: 3px 12px 3px 4px !important;
    font-size: 13px;
  }
  .tc-header-search-bar--mob .tc-hs-go {
    height: 30px;
    padding: 0 13px;
    font-size: 12px;
  }
}

.tc-logo { display: inline-flex; align-items: center; line-height: 0; flex-shrink: 0; }
.tc-logo img { height: 60px; width: auto; max-width: 170px; object-fit: contain; display: block; }

/* icon buttons — soft grey discs, no outlines */
.tc-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tc-bg);
  border: 0;
  color: var(--tc-ink);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.tc-icon-btn:hover { background: var(--tc-blue-soft); color: var(--tc-blue); }
.tc-icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tc-menu-btn { display: none; background: transparent; }
.tc-header .header-wishlist-btn svg { width: 20px; height: 20px; stroke: currentColor; }
.tc-header .header-wishlist-btn:hover svg { stroke: currentColor; }

.tc-count,
.tc-header .header-wishlist-badge {
  position: absolute;
  top: -5px;
  left: -5px;
  right: auto;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--tc-accent);
  color: #fff;
  font: 800 10px/16px var(--font-family);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-sizing: content-box;
}
.tc-count[hidden] { display: none !important; }

/* account */
.tc-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 42px;
  padding: 3px 3px 3px 10px !important;
  padding-inline: 3px 10px !important;
  border-radius: 999px;
  background: var(--tc-bg);
  border: 0;
  color: var(--tc-ink);
  cursor: pointer;
}
.tc-account-btn:hover { background: var(--tc-blue-soft); }
.tc-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--tc-blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; overflow: hidden; flex-shrink: 0;
}
.tc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tc-account-caret { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.tc-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--tc-blue);
  color: #fff !important;
  font: 700 14px/1 var(--font-family);
  text-decoration: none !important;
}
.tc-login-btn:hover { background: var(--tc-blue-ink); }
.tc-login-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* centre navigation: quiet text links, active = soft pill */
.tc-header .header-nav { display: flex; gap: 4px; align-items: center; }
.tc-header .header-nav-item {
  height: 40px;
  padding: 0 14px;
  border: 0 !important;
  border-radius: 999px;
  background: transparent !important;
  color: var(--tc-ink-2) !important;
  font-size: 14.5px;
  font-weight: 600 !important;
  gap: 6px;
}
.tc-header .header-nav-item svg { display: none; }
.tc-header .header-nav-item:hover { color: var(--tc-ink) !important; background: var(--tc-bg) !important; }
.tc-header .header-nav-item--active { color: var(--tc-blue-ink) !important; background: var(--tc-blue-soft) !important; font-weight: 800 !important; }
.tc-header .header-nav-badge {
  background: var(--tc-accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 800;
}

/* account dropdown */
.tc-header .account-dropdown {
  border-radius: 20px;
  border-color: var(--tc-line);
  box-shadow: var(--tc-shadow-up);
  top: calc(100% + 14px);
}

/* ═════════ Currency switcher (X-Currency, id 13290) ═════════
   The plugin prints its own inline <style> with 3-class selectors,
   so these rules go one level deeper and use !important. */
.tc-currency { display: inline-flex; align-items: center; position: relative; }
.tc-currency .wp-block-x-currency-currency-switcher { display: contents; }
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290 { position: relative; z-index: 300; }
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .switch {
  width: auto !important;
  height: 42px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--tc-bg) !important;
  color: var(--tc-ink) !important;
  font: 800 13.5px/1 var(--font-family) !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer;
  transition: background-color .15s ease;
}
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .switch:hover,
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290.xc-open .switch { background: var(--tc-blue-soft) !important; color: var(--tc-blue-ink) !important; }
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .switch .switch-elements { column-gap: 7px !important; align-items: center; display: inline-flex; }
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .arrow-element { display: inline-flex; opacity: .55; }
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .arrow-element svg { width: 10px; height: 10px; }
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .dropdown-flag {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  object-fit: cover;
  margin: 0 !important;
  box-shadow: 0 0 0 2px #fff;
}
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .currency-wrap {
  position: absolute !important;
  width: 200px !important;
  max-height: none !important;
  padding: 6px !important;
  border: 1px solid var(--tc-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: var(--tc-shadow-up) !important;
  left: 0 !important;
  right: auto !important;
  overflow: hidden;
}
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290.open-bottom .currency-wrap { top: calc(100% + 10px) !important; }
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290.open-top .currency-wrap { bottom: calc(100% + 10px) !important; }
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .dropdown-ul { display: grid; gap: 2px !important; margin: 0; padding: 0; list-style: none; }
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .dropdown-li {
  padding: 10px 12px !important;
  border-radius: 11px;
  justify-content: flex-start !important;
  color: var(--tc-ink) !important;
  cursor: pointer;
}
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .dropdown-li > div { column-gap: 10px !important; display: flex; align-items: center; }
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .dropdown-li > * { font-size: 14px !important; font-weight: 600; }
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .dropdown-li:hover { background: var(--tc-bg) !important; }
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .dropdown-li.active { background: var(--tc-blue-soft) !important; color: var(--tc-blue-ink) !important; }
.tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .dropdown-li.active::after {
  content: '✓'; margin-inline-start: auto; font-weight: 800; color: var(--tc-blue);
}

/* drawer variant: full width row */
.tc-currency--drawer { display: block; width: 100%; }
.tc-skin .tc-currency--drawer .x-currency-shortcode.switcher-13290 { width: 100%; }
.tc-skin .tc-currency--drawer .x-currency-shortcode.switcher-13290 .switch {
  width: 100% !important;
  height: 48px !important;
  justify-content: space-between !important;
  padding: 0 14px !important;
  border-radius: 14px !important;
}
.tc-skin .tc-currency--drawer .x-currency-shortcode.switcher-13290 .currency-wrap { width: 100% !important; }

/* ═════════ Notifications bell ═════════ */
.tc-bell { position: relative; }
.tc-bell.has-new .tc-bell-btn svg { animation: tcRing 1.6s ease 1; transform-origin: 50% 10%; }
@keyframes tcRing { 0%,100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 75% { transform: rotate(2deg); } }
.tc-bell.is-open .tc-bell-btn { background: var(--tc-blue-soft); color: var(--tc-blue); }

.tc-bell-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -60px;
  width: 360px;
  max-height: min(520px, 75vh);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--tc-line);
  border-radius: 20px;
  box-shadow: var(--tc-shadow-up);
  overflow: hidden;
  z-index: 500;
}
.tc-bell-panel[hidden] { display: none !important; }
.tc-bell-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 12px; border-bottom: 1px solid var(--tc-line-2);
}
.tc-bell-head strong { font-size: 16px; font-weight: 800; color: var(--tc-ink); }
.tc-bell-close {
  width: 32px; height: 32px; border-radius: 50%; border: 0; padding: 0 !important;
  background: var(--tc-bg); color: var(--tc-ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.tc-bell-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.tc-bell-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.tc-bell-item { position: relative; }
.tc-bell-link {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 10px; border-radius: 14px;
  color: var(--tc-ink) !important; text-decoration: none !important;
}
a.tc-bell-link:hover { background: var(--tc-bg); }
.tc-bell-item.is-new .tc-bell-link { background: #f5f8ff; }
.tc-bell-item.is-new .tc-bell-link::after {
  content: ''; position: absolute; top: 18px; left: 14px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--tc-accent);
}
.tc-bell-ico {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tc-blue-soft); color: var(--tc-blue);
}
.tc-bell-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tc-bell-ico--offer { background: var(--tc-accent-soft); color: var(--tc-accent-ink); }
.tc-bell-ico--alert { background: #fdecec; color: #e5484d; }
.tc-bell-ico--success { background: #e9f7ef; color: var(--tc-ok); }
.tc-bell-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-inline-end: 14px; }
.tc-bell-text strong { font-size: 14px; font-weight: 800; line-height: 1.4; }
.tc-bell-text span { font-size: 13px; color: var(--tc-ink-2); line-height: 1.6; }
.tc-bell-text small { font-size: 11.5px; color: var(--tc-muted); }

.tc-bell-empty { padding: 34px 20px 30px; text-align: center; color: var(--tc-muted); }
.tc-bell-empty svg { width: 42px; height: 42px; fill: none; stroke: #c9d0e0; stroke-width: 1.6; margin-bottom: 8px; }
.tc-bell-empty p { margin: 0 0 4px; font-size: 15px; font-weight: 800; color: var(--tc-ink); }
.tc-bell-empty small { font-size: 13px; }
.tc-bell-foot {
  display: block; text-align: center; padding: 12px; border-top: 1px solid var(--tc-line-2);
  font-size: 13.5px; font-weight: 800; color: var(--tc-blue) !important; text-decoration: none !important;
}
.tc-bell-foot:hover { background: var(--tc-bg); }

/* ═════════ Header responsive ═════════ */
.tc-header .tc-acc-drop {
  width: 310px;
  border-radius: 22px;
  padding: 10px;
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  box-shadow: var(--tc-shadow-up);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tc-acc-head {
  background: var(--tc-bg);
  border: 1px solid var(--tc-line);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-acc-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tc-acc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tc-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.tc-acc-avatar img { width: 100%; height: 100%; object-fit: cover; }

.tc-acc-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tc-acc-name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--tc-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-acc-email {
  font-size: 12px;
  color: var(--tc-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-acc-wallet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
}

.tc-acc-wallet-info { display: flex; flex-direction: column; gap: 1px; }
.tc-acc-wallet-lbl { font-size: 11px; font-weight: 600; color: var(--tc-muted); }
.tc-acc-wallet-val { font-size: 15px; font-weight: 800; color: var(--tc-ink); }
.tc-acc-wallet-val * { font-size: inherit !important; font-weight: inherit !important; color: inherit !important; }

.tc-acc-topup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--tc-accent);
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
}
.tc-acc-topup:hover { background: var(--tc-accent-ink); }

.tc-acc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.tc-acc-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--tc-bg);
  border: 1px solid transparent;
  color: var(--tc-ink) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  min-width: 0;
  transition: border-color .15s ease, background-color .15s ease;
}

.tc-acc-tile:hover {
  border-color: var(--tc-blue);
  background: var(--tc-blue-soft);
}

.tc-acc-tile--wide { grid-column: 1 / -1; }

.tc-acc-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tc-acc-ico svg { width: 16px; height: 16px; }
.tc-acc-ico--blue { background: var(--tc-blue-soft); color: var(--tc-blue); }
.tc-acc-ico--green { background: #e9f7ef; color: var(--tc-ok); }
.tc-acc-ico--red { background: #fdecec; color: #e5484d; }
.tc-acc-ico--orange { background: var(--tc-accent-soft); color: var(--tc-accent-ink); }

.tc-acc-badge {
  margin-inline-start: auto;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--tc-blue);
  color: #fff;
}

.tc-acc-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  border-radius: 12px;
  background: #fdecec;
  color: #dc2626 !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}
.tc-acc-logout svg { width: 16px; height: 16px; }
html.tc-dark .tc-acc-logout { background: rgba(220, 38, 38, 0.16); color: #fca5a5 !important; }

@media (max-width: 1180px) {
  .tc-header .header-nav-item { padding: 0 10px; font-size: 14px; }
}
@media (max-width: 1100px) {
  .tc-h-center { display: none; }
  .tc-header-main { grid-template-columns: 1fr auto; }
  .tc-menu-btn { display: inline-flex; }
}
@media (max-width: 768px) {
  body.tc-skin {
    padding-top: calc(128px + env(safe-area-inset-top, 0px));
  }
  #site-header.tc-header {
    position: fixed !important;
    top: calc(10px + env(safe-area-inset-top, 0px)) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 24px !important;
    border: 0 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: var(--tc-surface) !important;
    box-shadow: 0 10px 22px rgba(12, 26, 58, .16), 0 1px 2px rgba(12, 26, 58, .06) !important;
  }
  html.tc-dark #site-header.tc-header {
    background: var(--tc-surface) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .35) !important;
  }
  .tc-header-main {
    height: 60px;
    padding: 0 12px;
    grid-template-columns: 1fr auto 1fr;
    gap: 6px;
  }
  /* menu | logo (centred) | search + bell */
  .tc-h-start { display: contents; }
  .tc-menu-btn { grid-column: 1; justify-self: start; }
  .tc-logo { grid-column: 2; justify-self: center; }
  .tc-logo img { height: 50px; max-width: 140px; }
  .tc-actions { grid-column: 3; justify-self: end; gap: 4px; }
  .tc-hide-sm, .tc-currency--header { display: none !important; }
  .tc-icon-btn { width: 40px; height: 40px; background: transparent; }

  .tc-bell-panel {
    position: fixed;
    top: 78px;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100vh - 180px);
  }
  .tc-account-btn {
    height: 38px;
    padding: 2px !important;
  }
  .tc-account-btn .tc-avatar {
    width: 34px;
    height: 34px;
  }
  .tc-account-caret { display: none; }
  .tc-login-btn {
    width: 38px;
    height: 38px;
    padding: 0 !important;
    justify-content: center;
  }
  .tc-login-text { display: none; }
  .tc-header .account-dropdown {
    position: fixed !important;
    top: 78px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100dvh - 165px) !important;
    overflow-y: auto !important;
    transform-origin: top center !important;
    border-radius: 20px !important;
    padding: 10px !important;
  }
}

/* ═════════ Home: layout + sections ═════════ */
.tc-home {
  max-width: var(--tc-wrap);
  margin: 0 auto;
  padding: 0 20px 56px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.tc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tc-blue-ink);
}
.tc-eyebrow i { width: 22px; height: 3px; border-radius: 3px; background: var(--tc-accent); display: inline-block; }
.tc-eyebrow--light { color: #cfe0ff; }

.tc-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.tc-section-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 800; margin: 0; line-height: 1.3; }
.tc-more {
  font-size: 14px; font-weight: 700; color: var(--tc-ink) !important;
  text-decoration: underline; text-decoration-color: var(--tc-accent);
  text-decoration-thickness: 2px; text-underline-offset: 6px; white-space: nowrap;
}
.tc-more:hover { color: var(--tc-accent-ink) !important; }

/* ── Hero (Slider only) ── */
.tc-hero {
  display: block;
  background: transparent;
  border-radius: 24px;
  padding: 0;
  box-shadow: none;
  position: relative;
}

/* Hero slider */
.tc-hero-slider {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
html.tc-dark .tc-hero-slider {
  background: transparent;
  box-shadow: none;
}
.tc-hs-track {
  position: relative;
  width: 100%;
}
.tc-hs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity .45s ease, transform .55s ease;
}
.tc-hs-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 1;
}
.tc-hs-slide img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  display: block;
}
.tc-hs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(12, 26, 58, .48);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background .2s ease, transform .2s ease;
}
.tc-hs-nav:hover {
  background: rgba(12, 26, 58, .75);
}
.tc-hs-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tc-hs-prev { inset-inline-start: 12px; }
.tc-hs-next { inset-inline-end: 12px; }
.tc-hs-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(12, 26, 58, .44);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.tc-hs-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .52);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.tc-hs-dot.is-active {
  width: 22px;
  background: #fff;
}

/* ── Category tiles ── */
.tc-cats {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * 14px) / 6);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 10px;
  margin: -4px -2px 0;
}
.tc-cats::-webkit-scrollbar { display: none; }
.tc-cat {
  scroll-snap-align: start;
  background: var(--tc-surface);
  border-radius: var(--tc-r-lg);
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none !important;
  box-shadow: var(--tc-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  min-width: 0;
}
.tc-cat:hover { transform: translateY(-3px); box-shadow: var(--tc-shadow-up); }
.tc-cat-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  background: var(--tc-blue-soft); color: var(--tc-blue);
}
.tc-cat:nth-child(3n+2) .tc-cat-icon { background: var(--tc-accent-soft); color: var(--tc-accent-ink); }
.tc-cat:nth-child(3n+3) .tc-cat-icon { background: #e9f7ef; color: var(--tc-ok); }
.tc-cat-icon svg, .tc-cat-icon img { width: 24px; height: 24px; object-fit: contain; }
.tc-cat-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.tc-cat-name { font-size: 15px; font-weight: 800; color: var(--tc-ink); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-cat-count { font-size: 12.5px; color: var(--tc-muted); }

/* ── Segmented tabs ── */

@keyframes tcFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ── Product cards ── */

/* ── Merged How-It-Works + Wallet Panel ── */
.tc-combo-panel {
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  border-radius: 28px;
  padding: 14px;
  box-shadow: var(--tc-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tc-combo-steps {
  padding: 18px 20px 10px;
}
.tc-combo-steps .tc-section-head {
  margin-bottom: 18px;
}
.tc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  counter-reset: none;
}
.tc-step {
  position: relative;
  background: var(--tc-bg);
  border: 1px solid var(--tc-line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.tc-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--tc-ink); color: #fff;
  font-size: 16px; font-weight: 800;
  flex-shrink: 0;
}
.tc-step:nth-child(2) .tc-step-num { background: var(--tc-blue); }
.tc-step:nth-child(3) .tc-step-num { background: var(--tc-accent); }
.tc-step-body { min-width: 0; }
.tc-step h3 { font-size: 16px; font-weight: 800; margin: 0 0 4px; color: var(--tc-ink); }
.tc-step p { font-size: 13.5px; line-height: 1.7; color: var(--tc-ink-2); margin: 0; }

/* ── Wallet panel (inside combo) ── */
.tc-wallet-panel {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 32px;
  align-items: center;
  background: var(--tc-blue);
  color: #fff;
  border-radius: 22px;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}
.tc-wallet-panel::after {
  content: '';
  position: absolute;
  width: 420px; height: 420px; border-radius: 50%;
  left: -140px; bottom: -220px;
  border: 60px solid rgba(255, 255, 255, .07);
  pointer-events: none;
}
.tc-wallet-copy { position: relative; z-index: 1; }
.tc-wallet-copy .tc-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.tc-wallet-panel h2 { color: #fff !important; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; margin: 12px 0 10px; line-height: 1.35; }
.tc-wallet-panel p { color: #dbe6ff; font-size: 15.5px; line-height: 1.85; margin: 0 0 24px; max-width: 560px; }
.tc-wallet-mock {
  position: relative; z-index: 1;
  background: #fff;
  color: var(--tc-ink);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 30px 50px -24px rgba(5, 20, 70, .6);
  transform: rotate(-3deg);
}
.tc-wallet-mock-label { font-size: 13px; color: var(--tc-muted); }
.tc-wallet-mock-value { font-size: 30px; font-weight: 800; }
.tc-wallet-mock-value small { font-size: 14px; color: var(--tc-muted); font-weight: 600; }
.tc-wallet-mock-bar { height: 8px; border-radius: 8px; background: var(--tc-line-2); overflow: hidden; margin: 6px 0; }
.tc-wallet-mock-bar i { display: block; height: 100%; width: 64%; background: var(--tc-accent); border-radius: 8px; }
.tc-wallet-mock-row { display: flex; justify-content: space-between; font-size: 13px; }
.tc-wallet-mock-row b:last-child { color: var(--tc-ok); }

/* ── Home responsive ── */
@media (max-width: 1100px) {
  .tc-cats { grid-auto-columns: calc((100% - 3 * 12px) / 4); gap: 12px; }
}
@media (max-width: 900px) {
  .tc-hero { padding: 0; }
  .tc-hero-slider { max-width: 100%; }
  .tc-wallet-panel { grid-template-columns: 1fr; padding: 32px 26px; }
  .tc-wallet-mock { max-width: 320px; }
  .tc-steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .tc-home { padding: 0 14px 40px; gap: 40px; }
  .tc-hero { border-radius: 16px; padding: 0; }
  .tc-hero-slider { border-radius: 16px; }
  .tc-hs-nav { width: 32px; height: 32px; }
  .tc-hs-nav svg { width: 16px; height: 16px; }
  .tc-cats {
    grid-auto-columns: 38%;
    gap: 10px;
    margin: -2px -14px 0;
    padding: 2px 14px 8px;
    scroll-padding-inline: 14px;
  }
  .tc-cat { padding: 14px 12px 12px; border-radius: 16px; }
  .tc-cat-icon { width: 40px; height: 40px; margin-bottom: 8px; }
  .tc-combo-panel { border-radius: 20px; padding: 10px; gap: 10px; }
  .tc-combo-steps { padding: 8px 6px 2px; }
  .tc-combo-steps .tc-section-head { margin-bottom: 10px; }
  .tc-combo-steps .tc-section-head h2 { font-size: 16.5px; }
  .tc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tc-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 6px;
    border-radius: 14px;
    gap: 8px;
  }
  .tc-step-num { width: 32px; height: 32px; border-radius: 10px; font-size: 14px; }
  .tc-step h3 { font-size: 12.5px; margin: 0; line-height: 1.35; }
  .tc-step p { display: none; }
  .tc-wallet-panel { border-radius: 16px; padding: 18px 16px; gap: 14px; }
  .tc-wallet-panel h2 { font-size: 1.2rem; margin: 8px 0 6px; }
  .tc-wallet-panel p { font-size: 13.5px; line-height: 1.65; margin-bottom: 14px; }
  .tc-wallet-copy .tc-hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .tc-wallet-copy .tc-hero-ctas .tc-btn { height: 42px; padding: 0 10px; font-size: 13px; }
  .tc-wallet-mock { display: none; }
}

/* ═════════ Footer ═════════ */
#site-footer.tc-footer {
  background: var(--tc-surface);
  color: var(--tc-ink-2);
  border-top: 1px solid var(--tc-line);
  margin-top: 0;
}
.tc-footer-wrap { max-width: var(--tc-wrap); margin: 0 auto; padding: 40px 20px 8px; }

.tc-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--tc-accent-soft);
  border-radius: 24px;
  padding: 28px 32px;
  margin-bottom: 44px;
}
.tc-help h2 { font-size: 1.35rem; font-weight: 800; margin: 0 0 4px; }
.tc-help p { margin: 0; font-size: 14.5px; color: var(--tc-ink-2); }
.tc-help-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.tc-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 36px;
}
.tc-footer-logo { display: inline-block; line-height: 0; margin-bottom: 14px; }
.tc-footer-logo img { height: 64px; width: auto; margin-block: -8px; }
.tc-footer-brand p { font-size: 14px; line-height: 1.9; margin: 0 0 18px; max-width: 340px; color: var(--tc-ink-2); }

.tc-social { display: flex; gap: 8px; }
.tc-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tc-bg); color: var(--tc-ink) !important;
  transition: background-color .15s ease, color .15s ease;
}
.tc-social a:hover { background: var(--tc-ink); color: #fff !important; }
.tc-social svg { width: 18px; height: 18px; }

.tc-footer-col h3 { font-size: 15px; font-weight: 800; margin: 6px 0 16px; color: var(--tc-ink); }
.tc-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.tc-footer-col ul a { color: var(--tc-ink-2) !important; font-size: 14px; text-decoration: none; }
.tc-footer-col ul a:hover { color: var(--tc-blue) !important; }

.tc-pay { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tc-pay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--tc-ink);
  background: #fff;
  border: 1.5px solid var(--tc-line); border-radius: 10px; padding: 6px 10px;
}
.tc-pay img {
  height: 28px;
  width: auto;
  max-width: 82px;
  object-fit: contain;
  display: block;
}
.tc-trust li { position: relative; padding-inline-start: 22px; font-size: 13.5px; }
.tc-trust li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--tc-ok);
  font-weight: 800;
}

.tc-footer-base { border-top: 1px solid var(--tc-line); background: var(--tc-bg); }
.tc-footer-base-inner {
  max-width: var(--tc-wrap);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}
.tc-footer-base p { margin: 0; }
.tc-footer-base p a { color: var(--tc-ink) !important; font-weight: 700; text-decoration: none; }
.tc-legal { display: flex; gap: 18px; margin-inline-start: auto; flex-wrap: wrap; }
.tc-legal a { color: var(--tc-ink-2) !important; text-decoration: none; }
.tc-legal a:hover { color: var(--tc-ink) !important; text-decoration: underline; }
.tc-top-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--tc-line); background: #fff; color: var(--tc-ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.tc-top-btn:hover { border-color: var(--tc-ink); }
.tc-top-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1024px) {
  .tc-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .tc-footer-wrap { padding: 28px 14px 0; }
  .tc-help { padding: 22px 18px; border-radius: 20px; margin-bottom: 30px; }
  .tc-help-actions { width: 100%; }
  .tc-help .tc-btn { width: 100%; }
  .tc-footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .tc-footer-brand { grid-column: 1 / -1; }
  .tc-footer-grid > .tc-footer-col:last-child { grid-column: 1 / -1; }
  .tc-footer-base-inner { flex-direction: column; text-align: center; padding: 16px 14px calc(84px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
  .tc-legal { margin: 0; justify-content: center; }
}

/* ═════════ One typeface everywhere ═════════
   Theme templates, WooCommerce, wallet & plugin widgets all inherit Tajawal.
   Code/licence boxes keep their monospace; icon fonts are left alone. */
body.tc-skin,
body.tc-skin :is(button, input, select, textarea, optgroup, option, label, legend, table, th, td, h1, h2, h3, h4, h5, h6, p, a, li, dt, dd, small, strong, b, blockquote, figcaption),
body.tc-skin :is(.woocommerce, .woocommerce-page, .wc-block-components-text-input, .select2-container, .woo-wallet-content, .mnav-drawer, .mobile-bottom-nav, .account-dropdown, .tc-currency) {
  font-family: var(--font-family) !important;
}
body.tc-skin :is(code, kbd, pre, samp, .tc-search-kbd, .tc-gift-code) { font-family: ui-monospace, Menlo, Consolas, monospace !important; }

body.tc-skin :is(code, kbd, pre, samp, .tc-search-kbd) {
  font-family: ui-monospace, Menlo, Consolas, monospace !important;
}

/* ═════════ Mobile bottom nav — floating dock with spotlight (2026-12-02) ═════════
   Floating rounded dock. Every tab shows icon + label. The active tab gets an
   orange bar on the dock's top edge with a soft orange light falling below it.
   Light theme: white dock. Dark theme (html.tc-dark): navy dock. */
@media (max-width: 768px) {
  .tc-skin .mobile-bottom-nav {
    --dock-bg: #ffffff;
    --dock-line: var(--tc-line, #e5e8f0);
    --dock-ink: #8a97ab;
    --dock-active: #0c1a3a;
    --dock-accent: #ff7938;
    --dock-glow: rgba(255, 121, 56, .30);
    --dock-shadow: 0 14px 30px -12px rgba(12, 26, 58, .28), 0 2px 6px rgba(12, 26, 58, .08);
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    height: 66px;
    padding: 0 4px;
    gap: 0;
    background: var(--dock-bg) !important;
    border: 1px solid var(--dock-line) !important;
    border-radius: 22px;
    box-shadow: var(--dock-shadow) !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    filter: none;
    align-items: stretch;
    overflow: hidden;
  }
  .tc-skin .mobile-bottom-nav::before { content: none; }

  .tc-skin .mob-nav-item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: auto;
    padding: 0 !important;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    color: var(--dock-ink);
    font-family: var(--font-family);
    -webkit-tap-highlight-color: transparent;
    transition: color .2s ease;
    isolation: isolate;
  }
  .tc-skin .mob-nav-item:active { transform: none; }

  /* orange bar on the top edge + light cone under it (active tab only) */
  .tc-skin .mob-nav-item::before,
  .tc-skin .mob-nav-item::after {
    content: '';
    position: absolute;
    left: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease;
  }
  .tc-skin .mob-nav-item::before {
    top: 0;
    width: 38px;
    height: 4px;
    margin-left: -19px;
    border-radius: 0 0 3px 3px;
    background: var(--dock-accent);
    z-index: 1;
  }
  .tc-skin .mob-nav-item::after {
    top: 0;
    bottom: 0;
    width: 76px;
    margin-left: -38px;
    background: linear-gradient(to bottom, var(--dock-glow), transparent 88%);
    clip-path: polygon(25% 0, 75% 0, 100% 100%, 0 100%);
    z-index: -1;
  }
  .tc-skin .mob-nav-item--active::before,
  .tc-skin .mob-nav-item--active::after { opacity: 1; }

  .tc-skin .mob-nav-icon-wrap {
    position: relative;
    width: 24px; height: 24px; border-radius: 0;
    background: transparent !important; border: 0 !important;
    color: inherit !important;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .tc-skin .mob-nav-icon-wrap svg { width: 22px; height: 22px; stroke-width: 1.8; }

  .tc-skin .mob-nav-label {
    position: static;
    margin: 0;
    font-size: 11px; font-weight: 600; line-height: 1;
    white-space: nowrap;
    color: inherit !important;
  }

  .tc-skin .mob-nav-item:hover:not(.mob-nav-item--active) { color: var(--dock-active); }
  .tc-skin .mob-nav-item--active { color: var(--dock-active) !important; }
  .tc-skin .mob-nav-item--active .mob-nav-icon-wrap { background: transparent !important; }
  .tc-skin .mob-nav-item--active .mob-nav-label { font-weight: 800; }

  /* wishlist counter on the heart */
  .tc-skin .mob-nav-count {
    position: absolute;
    top: -7px;
    left: -10px;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--dock-accent);
    color: #fff;
    font: 800 9.5px/15px var(--font-family);
    text-align: center;
    border: 2px solid var(--dock-bg);
    box-sizing: content-box;
  }
  .tc-skin .mob-nav-count[hidden] { display: none; }

  @media (prefers-reduced-motion: reduce) {
    .tc-skin .mob-nav-item,
    .tc-skin .mob-nav-item::before,
    .tc-skin .mob-nav-item::after { transition: none; }
  }

  .tc-skin .site-main { padding-bottom: 100px; }
  .tc-skin .tc-footer-base-inner { padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px)); }
  .tc-skin .t2c-whatsapp-float { bottom: calc(98px + env(safe-area-inset-bottom, 0px)) !important; }
}

.tc-skin .t2c-whatsapp-float { border-radius: 18px; }

/* ═════════ Side drawer (mobile menu) ═════════ */
.tc-skin .mnav-overlay { background: rgba(12, 26, 58, .5); }
.tc-skin .mnav-drawer {
  width: 340px;
  max-width: 90vw;
  background: var(--tc-bg);
  border: 0;
  border-radius: 24px 0 0 24px;
  box-shadow: -20px 0 50px -20px rgba(12, 26, 58, .4);
}
.tc-skin .mnav-drawer-head { height: 72px; padding: 12px 18px; background: #fff; border-bottom: 1px solid var(--tc-line); }
.tc-skin .mnav-drawer-logo img { height: 48px; margin-block: -6px; }
.tc-skin .mnav-close-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--tc-bg); border: 0; color: var(--tc-ink);
}
.tc-skin .mnav-close-btn:hover { background: var(--tc-ink); color: #fff; }
.tc-skin .mnav-scroll-area { padding: 16px; gap: 18px; }

.tc-skin .mnav-guest-card { background: var(--tc-ink); border: 0; border-radius: 20px; padding: 18px; gap: 10px; }
.tc-skin .mnav-guest-title { color: #fff; font-size: 16px; font-weight: 800; }
.tc-skin .mnav-guest-desc { color: #aab6d3; font-size: 13px; line-height: 1.7; }
.tc-skin .mnav-btn-primary { height: 42px; border-radius: 999px; background: var(--tc-accent); font-size: 13.5px; font-weight: 800; }
.tc-skin .mnav-btn-primary:hover { background: var(--tc-accent-ink); }
.tc-skin .mnav-btn-secondary { height: 42px; border-radius: 999px; background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,.3); font-size: 13.5px; font-weight: 700; }
.tc-skin .mnav-btn-secondary:hover { background: rgba(255,255,255,.1); }

.tc-skin .mnav-currency { display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: 18px; padding: 14px; }
.tc-skin .mnav-currency .mnav-section-title { padding: 0; margin: 0; }

.tc-skin .mnav-section { background: #fff; border-radius: 18px; padding: 10px; gap: 2px; }
.tc-skin .mnav-section-title { font-size: 12px; font-weight: 800; color: var(--tc-muted); padding: 4px 8px 6px; letter-spacing: 0; }
.tc-skin .mnav-link {
  padding: 8px; gap: 12px; border-radius: 12px;
  color: var(--tc-ink); font-size: 14.5px; font-weight: 600;
}
.tc-skin .mnav-link svg.mnav-link-icon {
  width: 36px; height: 36px; padding: 8px; border-radius: 11px;
  background: var(--tc-bg); color: var(--tc-ink) !important;
  box-sizing: border-box;
}
.tc-skin .mnav-link:hover { background: var(--tc-bg); }
.tc-skin .mnav-link:hover svg.mnav-link-icon { background: #fff; }
.tc-skin .mnav-link--active { background: var(--tc-blue-soft) !important; color: var(--tc-blue-ink) !important; font-weight: 800; }
.tc-skin .mnav-link--active svg.mnav-link-icon { background: var(--tc-blue) !important; color: #fff !important; }
.tc-skin .mnav-link-arrow { opacity: .35; }
.tc-skin .mnav-link-badge {
  background: var(--tc-accent-soft) !important; color: var(--tc-accent-ink) !important;
  border: 0 !important; border-radius: 999px; padding: 3px 9px; font-size: 11px; font-weight: 800;
}

.tc-skin .mnav-drawer-foot { background: #fff; border-top: 1px solid var(--tc-line); padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
.tc-skin .mnav-support {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; border-radius: 999px;
  background: var(--tc-accent-soft); color: var(--tc-accent-ink) !important;
  font-size: 13.5px; font-weight: 800; text-decoration: none !important;
}
.tc-skin .mnav-support svg { width: 18px; height: 18px; }
.tc-skin .mnav-logout-link { justify-content: center; border-radius: 999px; font-size: 13.5px; }
.tc-skin .mnav-copyright { color: var(--tc-muted); font-size: 11.5px; }

/* ═════════ My Account ═════════ */
.tc-skin .woocommerce-my-account-wrapper { max-width: var(--tc-wrap); padding: 28px 20px 48px; }
@media (min-width: 992px) {
  .tc-skin .woocommerce-my-account-wrapper { gap: 28px; }
  .tc-skin .acc-sidebar { width: 290px; top: 150px; }
}

/* sidebar */
.tc-skin .acc-sidebar-inner { background: #fff; border: 0; border-radius: 24px; padding: 18px; box-shadow: var(--tc-shadow) !important; }
.tc-skin .acc-profile-box { background: var(--tc-bg); border-radius: 18px; padding: 14px; gap: 12px; }
.tc-skin .acc-avatar-wrap, .tc-skin .acc-avatar-img { width: 54px; height: 54px; }
.tc-skin .acc-avatar-img { border: 3px solid #fff; background: var(--tc-blue-soft); box-shadow: 0 2px 8px rgba(12,26,58,.12); }
.tc-skin .acc-avatar-cam-badge { width: 22px; height: 22px; background: var(--tc-accent); border: 2px solid #fff; }
.tc-skin .acc-avatar-cam-badge svg { width: 11px; height: 11px; }
.tc-skin .acc-user-name { font-size: 16px; font-weight: 800; color: var(--tc-ink); }
.tc-skin .acc-user-email { color: var(--tc-muted); font-size: 12.5px; }
.tc-skin .acc-cust-id-btn { height: 38px; border-radius: 999px; background: #fff; border: 1.5px dashed #c9d0e0; color: var(--tc-ink); padding: 0 14px; font-size: 12.5px; }
.tc-skin .acc-cust-id-btn:hover { background: #fff; border-color: var(--tc-ink); }
.tc-skin .acc-id-tag { color: var(--tc-muted); }
.tc-skin .acc-id-num { color: var(--tc-ink); }
.tc-skin :is(.acc-copy-icon) { stroke: var(--tc-blue); }
.tc-skin .acc-copy-text { color: var(--tc-blue); }
.tc-skin .acc-sidebar-divider { background: transparent; margin: 8px 0; }
.tc-skin .acc-nav-list { gap: 4px; }
.tc-skin .acc-nav-link {
  padding: 8px 8px; gap: 12px; border-radius: 14px; border: 0 !important;
  color: var(--tc-ink); font-size: 14.5px; font-weight: 600;
}
.tc-skin .acc-nav-icon { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--tc-bg); box-sizing: border-box; }
.tc-skin .acc-nav-link:hover { background: var(--tc-bg); color: var(--tc-ink); }
.tc-skin .acc-nav-link:hover .acc-nav-icon { background: #fff; }
.tc-skin .acc-nav-link.is-active { background: var(--tc-ink); color: #fff; font-weight: 800; }
.tc-skin .acc-nav-link.is-active .acc-nav-icon { background: rgba(255,255,255,.12); stroke: #fff; }
.tc-skin .acc-nav-badge { background: var(--tc-bg); border: 0; border-radius: 999px; color: var(--tc-ink-2); font-weight: 700; padding: 3px 9px; }
.tc-skin .acc-nav-link.is-active .acc-nav-badge { background: rgba(255,255,255,.15); color: #fff; }
.tc-skin .acc-nav-badge--wallet { background: #e9f7ef; color: var(--tc-ok); }
.tc-skin .acc-nav-item--logout { border-top: 1px solid var(--tc-line); margin-top: 8px; padding-top: 8px; }
.tc-skin .acc-nav-link--logout { color: #dc2626; }
.tc-skin .acc-nav-link--logout .acc-nav-icon { background: #fef2f2; stroke: #dc2626; }
.tc-skin .acc-toast { background: var(--tc-ink); border: 0; border-radius: 999px; padding: 10px 18px; bottom: 110px; }

/* dashboard */
.dsh { display: flex; flex-direction: column; gap: 18px; }

.dsh-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--tc-ink);
  color: #fff;
  border-radius: 24px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.dsh-hero::after {
  content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  left: -110px; top: -170px; border: 50px solid rgba(255,255,255,.05); pointer-events: none;
}
.dsh-hero-user { display: flex; align-items: center; gap: 16px; min-width: 0; position: relative; z-index: 1; }
.dsh .dsh-avatar-box, .dsh .dsh-avatar-img { width: 64px; height: 64px; }
.dsh .dsh-avatar-img { border: 3px solid rgba(255,255,255,.18); background: var(--tc-blue); }
.dsh .dsh-avatar-cam-badge { width: 24px; height: 24px; background: var(--tc-accent); border: 2px solid var(--tc-ink); }
.dsh .dsh-avatar-cam-badge svg { width: 12px; height: 12px; }
.dsh-hero-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.dsh-hero-hello { font-size: 13px; color: #aab6d3; }
.dsh-hero-name { color: #fff !important; font-size: 22px; font-weight: 800; margin: 0 0 8px; line-height: 1.3; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsh-id-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px !important; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.3);
  color: #cdd6ee; font: 600 12.5px/1 var(--font-family); cursor: pointer;
}
.dsh-id-chip strong { color: #fff; direction: ltr; }
.dsh-id-chip svg { width: 13px; height: 13px; }
.dsh-id-chip .dsh-copy-text { color: #ffb38f; font-weight: 800; }
.dsh-id-chip.copied { border-color: #5ee39a; }
.dsh-id-chip.copied .dsh-copy-text { color: #5ee39a; }

.dsh-hero-wallet {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  background: #fff; color: var(--tc-ink);
  border-radius: 18px; padding: 16px 18px; min-width: 230px;
}
.dsh-hero-wallet-label { font-size: 12.5px; color: var(--tc-muted); }
.dsh-hero-wallet-amount { font-size: 26px; font-weight: 800; line-height: 1.2; }
.dsh-hero-wallet-amount .woocommerce-Price-currencySymbol { font-size: 14px; color: var(--tc-muted); margin-inline-start: 3px; }
.dsh-hero-wallet-btn {
  margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; border-radius: 999px; background: var(--tc-accent); color: #fff !important;
  font-size: 13.5px; font-weight: 800; text-decoration: none !important;
}
.dsh-hero-wallet-btn:hover { background: var(--tc-accent-ink); }
.dsh-hero-wallet-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }

.dsh-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dsh-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  background: #fff; border-radius: 20px; padding: 18px;
  text-decoration: none !important; box-shadow: var(--tc-shadow);
  transition: transform .18s ease, box-shadow .18s ease; min-width: 0;
}
.dsh-tile:hover { transform: translateY(-3px); box-shadow: var(--tc-shadow-up); }
.dsh-tile-icon { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.dsh-tile-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dsh-tile-icon--blue { background: var(--tc-blue-soft); color: var(--tc-blue); }
.dsh-tile-icon--green { background: #e9f7ef; color: var(--tc-ok); }
.dsh-tile-icon--red { background: #fdecec; color: #e5484d; }
.dsh-tile-icon--orange { background: var(--tc-accent-soft); color: var(--tc-accent-ink); }
.dsh-tile-title { font-size: 15.5px; font-weight: 800; color: var(--tc-ink); }
.dsh-tile-sub { font-size: 12.5px; color: var(--tc-muted); }

.dsh-shop {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--tc-blue-soft); border-radius: 20px; padding: 18px 20px;
  text-decoration: none !important; color: var(--tc-ink) !important;
}
.dsh-shop strong { display: block; font-size: 15.5px; font-weight: 800; }
.dsh-shop small { font-size: 13px; color: var(--tc-ink-2); }
.dsh-shop-go { width: 42px; height: 42px; border-radius: 50%; background: var(--tc-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dsh-shop-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.dsh-logout {
  display: none; align-items: center; justify-content: center; gap: 8px;
  height: 46px; border-radius: 999px; border: 1.5px solid #f3c7c7;
  color: #dc2626 !important; font-size: 14px; font-weight: 700; text-decoration: none !important; background: #fff;
}
.dsh-logout svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 992px) {
  .dsh-id-chip { display: none; }      /* the sidebar already shows the ID */
}
@media (max-width: 991px) {
  .dsh-logout { display: flex; }
  .tc-skin .woocommerce-my-account-wrapper { padding: 16px 14px 32px; }
}
@media (max-width: 900px) {
  .dsh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 560px) {
  .dsh-hero { padding: 18px; border-radius: 22px; gap: 16px; }
  .dsh-hero-wallet { min-width: 0; width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .dsh-hero-wallet-label { width: 100%; }
  .dsh-hero-wallet-btn { margin-top: 0; padding: 0 16px; }
  .dsh-hero-name { font-size: 19px; }
  .dsh-tile { padding: 14px; border-radius: 18px; }
  .dsh-tile-icon { width: 40px; height: 40px; margin-bottom: 8px; }
  .dsh-tile-title { font-size: 14.5px; }
}

/* ═════════ Drawer: account shortcuts ═════════ */

/* ═════════ My Account: mobile tab bar ═════════ */
.acc-mtabs { display: none; }
@media (max-width: 991px) {
  .acc-mtabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -14px 16px;
    padding: 2px 14px 4px;
    scroll-snap-type: x proximity;
  }
  .acc-mtabs::-webkit-scrollbar { display: none; }
  .acc-mtab {
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 7px;
    height: 42px; padding: 0 16px;
    border-radius: 999px;
    background: #fff; color: var(--tc-ink) !important;
    font-size: 13.5px; font-weight: 700; text-decoration: none !important;
    box-shadow: var(--tc-shadow);
    scroll-snap-align: start;
    white-space: nowrap;
  }
  .acc-mtab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .acc-mtab b { background: var(--tc-accent); color: #fff; border-radius: 999px; padding: 1px 7px; font-size: 11px; }
  .acc-mtab.is-active { background: var(--tc-ink); color: #fff !important; }
  .acc-mtab--out { color: #dc2626 !important; }
}
@media (max-width: 768px) {
  .acc-mtabs { display: none !important; }
}
/* ═════════ Home: product rails (image + name + action, no prices) ═════════ */
.tc-rails { display: flex; flex-direction: column; gap: 44px; }
.tc-rail-section { min-width: 0; }
.tc-rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tc-rail-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tc-rail-icon {
  width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tc-blue-soft); color: var(--tc-blue);
}
.tc-rail-icon--1 { background: var(--tc-accent-soft); color: var(--tc-accent-ink); }
.tc-rail-icon--2 { background: var(--tc-ink); color: #fff; }
.tc-rail-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tc-rail-title h2 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 800; margin: 0; line-height: 1.3; }
.tc-rail-title p { margin: 2px 0 0; font-size: 13.5px; color: var(--tc-muted); }
.tc-rail-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tc-rail-tools .tc-more { margin-inline-end: 6px; }
.tc-rail-arrow {
  display: none;
}

.tc-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 2px 0 6px;
}
.tc-rail::-webkit-scrollbar { display: none; }

/* card: full-bleed image on top, name, then a quiet action row */
.tc-slide {
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--tc-line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none !important;
  transition: border-color .18s ease, transform .18s ease;
  min-width: 0;
}
.tc-slide:hover { border-color: #c9d3ea; transform: translateY(-3px); }
.tc-slide-media { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--tc-line-2); }
.tc-slide-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.tc-slide:hover .tc-slide-media img { transform: scale(1.05); }
.tc-slide-flag { position: absolute; top: 10px; right: 10px; z-index: 2; background: #fff; color: var(--tc-ink); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(12, 26, 58, .14); line-height: 1.3; }
.tc-slide-flag.tc-badge--blue { background: var(--tc-blue) !important; color: #fff !important; }
.tc-slide-flag.tc-badge--accent { background: var(--tc-accent) !important; color: #fff !important; }
.tc-slide-flag.tc-badge--green { background: var(--tc-ok) !important; color: #fff !important; }
.tc-slide-flag.tc-badge--dark { background: #0f172a !important; color: #fff !important; }

.tc-slide-body { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 12px; flex: 1; }
.tc-slide-name {
  font-size: 13.5px; font-weight: 700; line-height: 1.45; color: var(--tc-ink) !important;
  text-decoration: none !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 39px;
}
.tc-slide-name:hover { color: var(--tc-blue) !important; }
.tc-slide-cta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--tc-line);
  color: var(--tc-blue) !important;
  font-size: 12.5px; font-weight: 800; text-decoration: none !important;
}
.tc-slide-cta i {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tc-blue-soft); color: var(--tc-blue);
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.tc-slide-cta i svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tc-slide:hover .tc-slide-cta i { background: var(--tc-blue); color: #fff; transform: translateX(-3px); }
.tc-slide--cat .tc-slide-cta { color: var(--tc-ink) !important; }

.tc-slide .tc-card-fav {
  position: absolute; top: 10px; left: 10px; right: auto; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0 !important;
  background: rgba(255,255,255,.92); color: var(--tc-ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(12,26,58,.12);
}
.tc-slide .tc-card-fav svg { width: 17px; height: 17px; }
.tc-slide .tc-card-fav.is-active { color: #e5484d; }
.tc-slide .tc-card-fav.is-active svg { fill: currentColor; }

@media (max-width: 1100px) { .tc-rail { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 768px) {
  .tc-rails { gap: 28px; }
  .tc-rail-arrow { display: none; }
  .tc-rail-icon { width: 40px; height: 40px; border-radius: 12px; }
  .tc-rail-icon svg { width: 20px; height: 20px; }
  .tc-rail-title p { font-size: 12.5px; }
  .tc-rail {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 33.5%;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: -2px -14px 0;
    padding: 2px 14px 10px;
    scroll-padding-inline: 14px;
  }
  .tc-slide { border-radius: 14px; }
  .tc-slide-flag { top: 6px; right: 6px; font-size: 10px; padding: 3px 7px; }
  .tc-slide .tc-card-fav { width: 28px; height: 28px; top: 6px; left: 6px; }
  .tc-slide .tc-card-fav svg { width: 14px; height: 14px; }
  .tc-slide-body { padding: 8px 8px 9px; gap: 6px; }
  .tc-slide-name { font-size: 12px; line-height: 1.35; min-height: 33px; }
  .tc-slide-cta { font-size: 11.5px; padding-top: 6px; }
  .tc-slide-cta i { width: 22px; height: 22px; }
  .tc-slide-cta i svg { width: 13px; height: 13px; }
}

/* ═════════ Single Product (2026 Brand Layer) ═════════ */
body.tc-skin.single-product {
  --spx-accent: var(--tc-blue);
  --spx-accent-hover: var(--tc-blue-ink);
  --spx-accent-tint: var(--tc-blue-soft);
  --spx-border: var(--tc-line);
  --spx-divider: var(--tc-line);
  --spx-text: var(--tc-ink);
  --spx-text-muted: var(--tc-ink-2);
  --spx-text-subtle: var(--tc-muted);
  --spx-bg-card: var(--tc-surface);
  --spx-bg-block: var(--tc-bg);
}

.tc-skin .spx-wrap {
  max-width: 1080px;
  padding: 22px 20px 56px;
}

.tc-skin .spx-breadcrumbs {
  font-size: 13px;
  color: var(--tc-muted);
}

.tc-skin .spx-breadcrumbs a:hover {
  color: var(--tc-blue);
}

.tc-skin .spx-grid {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.tc-skin .spx-media {
  width: 100%;
  top: 96px;
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--tc-shadow);
}

.tc-skin .spx-info {
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  border-radius: 22px;
  padding: 24px 26px;
  box-shadow: var(--tc-shadow);
}

.tc-skin .spx-gateways {
  padding-top: 16px;
  border-top: 1px solid var(--tc-line);
}

.tc-skin .spx-img-frame {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  border: 1px solid var(--tc-line);
  background: var(--tc-bg);
}

.tc-skin .spx-rating-pill {
  background: var(--tc-bg);
  border: 1px solid var(--tc-line);
  color: var(--tc-ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
}

.tc-skin .spx-cat-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--tc-blue-soft);
  color: var(--tc-blue-ink) !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.tc-skin .spx-cat-label:hover {
  background: var(--tc-blue);
  color: #fff !important;
}

.tc-skin .spx-wishlist-action {
  border-radius: 999px;
  border: 1px solid var(--tc-line);
  background: var(--tc-bg);
  color: var(--tc-ink-2);
  padding: 6px 14px !important;
  font-size: 12.5px;
  font-weight: 700;
}

.tc-skin .spx-wishlist-action:hover {
  border-color: #e5484d;
  color: #e5484d;
  background: #fdecec;
}

.tc-skin .spx-wishlist-action.is-active {
  border-color: #f3c7c7;
  background: #fdecec;
  color: #e5484d;
}

.tc-skin .spx-title {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--tc-ink);
  line-height: 1.3;
}

.tc-skin .spx-price .woocommerce-Price-amount {
  color: var(--tc-blue);
  font-weight: 800;
}

.tc-skin .spx-discount-pill {
  background: var(--tc-accent-soft);
  color: var(--tc-accent-ink);
  border-radius: 999px;
  font-weight: 800;
  padding: 4px 10px;
}

.tc-skin .spx-feature-icon {
  color: var(--tc-ok);
}

.tc-skin .spx-features li {
  color: var(--tc-ink-2);
}

.tc-skin .spx-buy-btn {
  height: 50px;
  border-radius: 999px;
  background: var(--tc-accent);
  color: #fff !important;
  font-size: 15.5px;
  font-weight: 800;
  font-family: var(--font-family);
  border: 0;
  box-shadow: none;
  transition: background-color .15s ease, transform .15s ease;
}

.tc-skin .spx-buy-btn:hover:not(:disabled) {
  background: var(--tc-accent-ink);
}

.tc-skin .spx-buy-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.tc-skin .spx-desc-section {
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  border-radius: 22px;
  box-shadow: var(--tc-shadow);
  overflow: hidden;
  margin-top: 22px;
}

.tc-skin .spx-desc-toggle {
  padding: 18px 22px;
  font-weight: 800;
  color: var(--tc-ink);
}
.tc-skin .spx-desc-toggle:hover {
  background-color: var(--tc-bg);
  color: var(--tc-blue);
}
.tc-skin .spx-desc-toggle:hover .spx-desc-chevron {
  color: var(--tc-blue);
}
html.tc-dark .tc-skin .spx-desc-toggle:hover {
  background-color: #1a243d;
  color: var(--tc-blue-ink);
}
html.tc-dark .tc-skin .spx-desc-toggle:hover .spx-desc-chevron {
  color: var(--tc-blue-ink);
}

.tc-skin .spx-desc-icon {
  color: var(--tc-blue);
}

/* ── Product Instructions (.spx-instructions) ── */
.tc-skin .spx-instructions {
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  border-radius: 22px;
  box-shadow: var(--tc-shadow);
  overflow: hidden;
  margin-top: 22px;
}

.tc-skin .spx-instr-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--tc-line);
}

.tc-skin .spx-instr-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--tc-accent-soft);
  color: var(--tc-accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tc-skin .spx-instr-icon svg {
  width: 21px;
  height: 21px;
}

.tc-skin .spx-instr-title {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--tc-ink);
}

.tc-skin .spx-instr-body {
  padding: 20px 24px;
}

.tc-skin .spx-instr-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-skin .spx-instr-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--tc-bg);
  border: 1px solid var(--tc-line);
}

.tc-skin .spx-instr-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tc-blue);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.tc-skin .spx-instr-text {
  font-size: 14.5px;
  color: var(--tc-ink);
  line-height: 1.7;
  font-weight: 500;
}

.tc-skin .spx-instr-rich {
  font-size: 14.5px;
  color: var(--tc-ink-2);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .tc-skin .spx-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tc-skin .spx-media {
    position: static;
    max-width: 300px;
    margin: 0 auto;
  }

  .tc-skin .spx-info {
    padding: 20px 18px;
  }
}

@media (max-width: 520px) {
  .tc-skin .spx-wrap {
    padding: 16px 12px 44px;
  }

  .tc-skin .spx-media,
  .tc-skin .spx-info {
    padding: 16px 14px;
    border-radius: 20px;
  }
}

/* ═════════ Product Reviews (.rv) ═════════ */
.tc-skin .rv {
  margin-top: 24px;
  font-family: var(--font-family);
}

.tc-skin .rv-wrap {
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  border-radius: 24px;
  box-shadow: var(--tc-shadow);
  overflow: hidden;
}

.tc-skin .rv-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--tc-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tc-skin .rv-head-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tc-skin .rv-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--tc-ink);
  margin: 4px 0 0;
}

.tc-skin .rv-sub {
  margin: 0;
  font-size: 13.5px;
  color: var(--tc-muted);
}

.tc-skin .rv-head-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tc-skin .rv-badge {
  background: var(--tc-bg);
  border: 1px solid var(--tc-line);
  border-radius: 16px;
  padding: 8px 14px;
  gap: 10px;
}

.tc-skin .rv-avg {
  font-size: 24px;
  font-weight: 800;
  color: var(--tc-blue);
  font-variant-numeric: tabular-nums;
}

.tc-skin .rv-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--tc-muted);
}

.tc-skin .rv-list {
  padding: 20px 24px 24px;
}

.tc-skin .rv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tc-skin .rv-item {
  background: var(--tc-bg);
  border: 1px solid var(--tc-line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .15s ease, background-color .15s ease;
}

.tc-skin .rv-item:hover {
  background: #ffffff;
  border-color: rgba(26, 92, 255, 0.25);
}

.tc-skin .rv-item.rv-extra {
  display: none;
}

.tc-skin .rv-item-head {
  margin-bottom: 0;
}

.tc-skin .rv-avatar {
  width: 42px;
  height: 42px;
  border: 1px solid var(--tc-line);
}

.tc-skin .rv-avatar-fallback {
  background: var(--tc-blue-soft);
  color: var(--tc-blue);
  font-weight: 800;
}

.tc-skin .rv-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tc-skin .rv-author {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--tc-ink);
}

.tc-skin .rv-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  background: var(--tc-blue);
  color: #ffffff;
  flex-shrink: 0;
}

.tc-skin .rv-verified svg {
  width: 11px;
  height: 11px;
}

.tc-skin .rv-date {
  font-size: 12px;
  color: var(--tc-muted);
}

.tc-skin .rv-content {
  font-size: 14px;
  color: var(--tc-ink-2);
  line-height: 1.75;
  padding-right: 0;
}

.tc-skin .rv-more-wrap {
  padding-top: 16px;
  text-align: center;
}

.tc-skin .rv-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  height: 40px;
  padding: 0 20px !important;
  border-radius: 999px;
  border: 1px solid var(--tc-line);
  background: var(--tc-bg);
  color: var(--tc-blue);
  font-weight: 700;
  font-size: 13.5px;
}

.tc-skin .rv-more-btn:hover {
  background: var(--tc-blue-soft);
  border-color: var(--tc-blue);
}

.tc-skin .rv-empty {
  padding: 36px 20px;
  color: var(--tc-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.tc-skin .rv-empty-art svg {
  width: 170px;
  height: auto;
  display: block;
  margin-bottom: 4px;
}

.tc-skin .rv-empty-title {
  margin: 0;
  font-size: 17.5px;
  font-weight: 800;
  color: var(--tc-ink);
}

.tc-skin .rv-empty-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--tc-muted);
  max-width: 380px;
  line-height: 1.7;
}

.tc-skin .rv-login-btn {
  height: 42px;
  padding: 0 18px;
  font-size: 13.5px;
}

.tc-skin .rv-write-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px !important;
  border-radius: 999px;
  background: var(--tc-accent);
  color: #ffffff !important;
  border: 0;
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-family);
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}

.tc-skin .rv-write-btn:hover {
  background: var(--tc-accent-ink);
}

.tc-skin .rv-modal-box {
  border-radius: 24px;
  border: 1px solid var(--tc-line);
  box-shadow: var(--tc-shadow-up);
  overflow: hidden;
}

.tc-skin .rv-modal-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--tc-line);
  font-weight: 800;
  color: var(--tc-ink);
}

.tc-skin .rv-form textarea {
  border-radius: 14px;
  border: 1.5px solid var(--tc-line);
  background: var(--tc-bg);
  padding: 12px 14px;
  font-family: var(--font-family);
}

.tc-skin .rv-form textarea:focus {
  outline: none;
  border-color: var(--tc-blue);
  background: #ffffff;
}

.tc-skin .rv-submit-btn {
  height: 46px;
  border-radius: 999px;
  background: var(--tc-accent);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

.tc-skin .rv-submit-btn:hover {
  background: var(--tc-accent-ink);
}

@media (max-width: 720px) {
  .tc-skin .rv-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .tc-skin .rv-wrap {
    border-radius: 20px;
  }

  .tc-skin .rv-head,
  .tc-skin .rv-list {
    padding-inline: 16px;
  }
}

/* ═════════ License Copy Toast (.dlm-notification) ═════════ */
.dlm-notification {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--tc-ink, #0c1a3a);
  color: #ffffff;
  font-family: var(--font-family, 'Tajawal', system-ui, sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: var(--tc-shadow-up);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dlm-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dlm-notification-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tc-ok, #12a150);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dlm-notification-icon svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 768px) {
  .dlm-notification {
    bottom: 92px;
  }
}

/* ═════════ Search Popup (2026 Brand Layer) ═════════ */
.tc-skin .search-popup-overlay {
  background: rgba(12, 26, 58, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.tc-skin .search-popup {
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  border-radius: 24px;
  box-shadow: var(--tc-shadow-up) !important;
  overflow: hidden;
  font-family: var(--font-family);
}

.tc-skin .search-popup-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--tc-line);
  background: var(--tc-surface);
  gap: 10px;
}

.tc-skin .search-popup-body {
  background: var(--tc-surface) !important;
  color: var(--tc-ink);
}

html.tc-dark .tc-skin .ss-idle-icon {
  background: var(--tc-blue-soft);
  border-color: rgba(59, 130, 246, 0.25);
  color: var(--tc-blue-ink);
}

html.tc-dark .tc-skin .ss-empty-icon {
  background: var(--tc-accent-soft);
  border-color: rgba(255, 106, 43, 0.25);
}

html.tc-dark .tc-skin .ss-skel-thumb,
html.tc-dark .tc-skin .ss-skel-line {
  background: #1a243d;
}

html.tc-dark .tc-skin .ss-loading-text {
  color: var(--tc-muted);
}

.tc-skin .search-popup-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--tc-blue-soft);
  color: var(--tc-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tc-skin .search-popup-icon svg {
  width: 18px;
  height: 18px;
}

.tc-skin .search-bar-input {
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  color: var(--tc-ink);
  background: transparent;
}

.tc-skin .search-bar-input::placeholder {
  color: var(--tc-muted);
}

.tc-skin .search-bar-clear,
.tc-skin .search-popup-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tc-bg);
  color: var(--tc-ink-2);
  padding: 0 !important;
  border: 0;
}

.tc-skin .search-bar-clear:hover,
.tc-skin .search-popup-close:hover {
  background: var(--tc-blue-soft);
  color: var(--tc-blue);
}

.tc-skin .search-bar-cancel {
  border-radius: 999px;
  background: var(--tc-bg);
  color: var(--tc-ink);
  font-family: var(--font-family);
  font-weight: 700;
  padding: 0 14px !important;
  height: 34px;
}

.tc-skin .ss-idle-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--tc-blue-soft);
  color: var(--tc-blue);
}

.tc-skin .ss-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--tc-accent-soft);
  color: var(--tc-accent);
}

.tc-skin .ss-idle-title,
.tc-skin .ss-empty-title {
  color: var(--tc-ink);
  font-weight: 800;
}

.tc-skin .ss-idle-subtitle,
.tc-skin .ss-empty-desc {
  color: var(--tc-muted);
}

.tc-skin .ss-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--tc-accent);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14px;
  border: 0;
}

.tc-skin .ss-empty-btn:hover {
  background: var(--tc-accent-ink);
}

.tc-skin .search-results-bar {
  padding: 12px 18px 8px;
  border-bottom: 1px solid var(--tc-line-2);
}

.tc-skin .search-results-label {
  font-weight: 800;
  color: var(--tc-ink);
}

.tc-skin .search-results-count {
  background: var(--tc-blue-soft);
  color: var(--tc-blue-ink);
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 700;
}

.tc-skin .search-results-list {
  padding: 8px 12px;
}

.tc-skin .search-result-item {
  border-radius: 14px;
  border: 1px solid transparent;
  padding: 10px 12px;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.tc-skin .search-result-item:hover,
.tc-skin .search-result-item.is-selected {
  background: var(--tc-blue-soft);
  border-color: rgba(26, 92, 255, 0.22);
}

.tc-skin .search-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  margin: 8px 14px 14px;
  border-radius: 999px;
  background: var(--tc-blue);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 13.5px;
  border: 0;
}

.tc-skin .search-view-all:hover {
  background: var(--tc-blue-ink);
}

@media (max-width: 640px) {
  .tc-skin .search-popup {
    border-radius: 0;
  }
}

/* ═════════ Dark Mode Toggle & Theme (html.tc-dark) ═════════ */
.tc-theme-btn .tc-ico-sun { display: none; }
html.tc-dark .tc-theme-btn .tc-ico-moon { display: none; }
html.tc-dark .tc-theme-btn .tc-ico-sun { display: block; color: #fbbf24; }

html.tc-dark {
  color-scheme: dark;
  --tc-ink: #f1f5f9;
  --tc-ink-2: #cbd5e1;
  --tc-muted: #94a3b8;
  --tc-line: rgba(148, 163, 184, 0.16);
  --tc-line-2: rgba(148, 163, 184, 0.10);
  --tc-bg: #0b1120;
  --tc-surface: #131c31;

  --tc-blue: #3b82f6;
  --tc-blue-ink: #60a5fa;
  --tc-blue-soft: rgba(59, 130, 246, 0.16);

  --tc-accent: #ff6a2b;
  --tc-accent-ink: #ff824d;
  --tc-accent-soft: rgba(255, 106, 43, 0.16);

  --tc-ok: #22c55e;
  --tc-shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 10px 26px -12px rgba(0, 0, 0, .5);
  --tc-shadow-up: 0 4px 10px rgba(0, 0, 0, .38), 0 18px 36px -14px rgba(0, 0, 0, .6);

  --color-primary: #3b82f6 !important;
  --color-primary-hover: #2563eb;
  --color-primary-light: rgba(59, 130, 246, 0.15);
  --color-bg: #131c31;
  --color-bg-secondary: #0f172a;
  --color-block: #1a243d;
  --color-block-hover: #222e4c;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-text-subtle: #94a3b8;
  --color-heading: #f8fafc;
  --color-border: rgba(148, 163, 184, 0.18);
  --color-divider: rgba(148, 163, 184, 0.12);
  --card-bg: #131c31;
  --card-border: rgba(148, 163, 184, 0.16);
  --input-bg: #0f172a;
  --input-text: #f1f5f9;
  --input-border: rgba(148, 163, 184, 0.22);
  --badge-bg: #1a243d;
  --badge-border: rgba(148, 163, 184, 0.22);
  --alert-success-bg: rgba(34, 197, 94, 0.14);
  --alert-success-text: #4ade80;
  --alert-success-border: rgba(34, 197, 94, 0.30);
  --alert-error-bg: rgba(239, 68, 68, 0.14);
  --alert-error-text: #f87171;
  --alert-error-border: rgba(239, 68, 68, 0.30);
  --alert-warning-bg: rgba(245, 158, 11, 0.14);
  --alert-warning-text: #fbbf24;
  --alert-warning-border: rgba(245, 158, 11, 0.30);
  --alert-info-bg: rgba(59, 130, 246, 0.14);
  --alert-info-text: #60a5fa;
  --alert-info-border: rgba(59, 130, 246, 0.30);
}

html.tc-dark body.tc-skin {
  background: var(--tc-bg);
  color: var(--tc-ink);
}

html.tc-dark #site-header.tc-header {
  background: rgba(11, 17, 32, 0.97);
  border-bottom-color: var(--tc-line);
}

html.tc-dark .tc-btn--line {
  background: var(--tc-surface);
  border-color: var(--tc-line);
  color: var(--tc-ink) !important;
}

html.tc-dark .tc-btn--line:hover {
  border-color: var(--tc-blue);
  color: var(--tc-blue-ink) !important;
}

html.tc-dark .tc-count,
html.tc-dark .tc-header .header-wishlist-badge {
  border-color: var(--tc-surface);
}

html.tc-dark .dsh-hero,
html.tc-dark .tc-orders-hero,
html.tc-dark .ww-hero,
html.tc-dark .ea-hero,
html.tc-dark .vod-hero,
html.tc-dark .tc-ntf-hero {
  background: #0f172a;
  border: 1px solid var(--tc-line);
}

html.tc-dark .tc-footer,
html.tc-dark #site-footer.tc-footer {
  background: #0f172a;
  border-top: 1px solid var(--tc-line);
}

html.tc-dark .tc-footer-base {
  background: #090e1a;
  border-top-color: var(--tc-line);
}

html.tc-dark .mob-nav,
html.tc-dark .mnav-drawer,
html.tc-dark .account-dropdown,
html.tc-dark .tc-bell-panel {
  background: var(--tc-surface);
  border-color: var(--tc-line);
}

html.tc-dark .tc-bell-item.is-new .tc-bell-link,
html.tc-dark .tc-ntf-item.is-new .tc-ntf-row {
  background: rgba(59, 130, 246, 0.10);
}

html.tc-dark .rv-item:hover,
html.tc-dark .lmfwc-row:hover,
html.tc-dark .dlm-key-item:hover {
  background: #1a243d;
}

html.tc-dark .tc-wallet-mock,
html.tc-dark .tc-top-btn,
html.tc-dark .tc-slide,
html.tc-dark .tc-slide-flag,
html.tc-dark .dsh-hero-wallet,
html.tc-dark .dsh-tile,
html.tc-dark .dsh-logout,
html.tc-dark .acc-sidebar-inner,
html.tc-dark .acc-cust-id-btn,
html.tc-dark .acc-cust-id-btn:hover,
html.tc-dark .acc-mtab,
html.tc-dark .mnav-drawer-head,
html.tc-dark .mnav-currency,
html.tc-dark .mnav-section,
html.tc-dark .mnav-drawer-foot,
html.tc-dark .tc-skin .mnav-link:hover svg.mnav-link-icon,
html.tc-dark .tc-skin .acc-nav-link:hover .acc-nav-icon {
  background: var(--tc-surface) !important;
  color: var(--tc-ink);
  border-color: var(--tc-line);
}
html.tc-dark .tc-pay span {
  background: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.16);
}
html.tc-dark .tc-social a:hover {
  background: var(--tc-blue);
  color: #ffffff !important;
}
html.tc-dark .tc-rail-icon--2,
html.tc-dark .tc-skin .mnav-guest-card {
  background: #1a243d;
  color: #f8fafc;
  border: 1px solid var(--tc-line);
}
html.tc-dark .tc-step:first-child .tc-step-num {
  background: #24613d;
  color: #ffffff;
}
html.tc-dark .tc-wallet-mock {
  background: var(--tc-surface) !important;
  border: 1px solid var(--tc-line);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .65);
}
html.tc-dark .tc-wallet-mock-label {
  color: var(--tc-muted);
}
html.tc-dark .tc-wallet-mock-value {
  color: var(--tc-ink);
}
html.tc-dark .tc-wallet-mock-row b:first-child {
  color: var(--tc-ink-2);
}
html.tc-dark .tc-skin .mnav-close-btn:hover {
  background: var(--tc-blue);
  border-color: var(--tc-blue);
  color: #ffffff !important;
}
html.tc-dark .tc-cat:nth-child(3n+3) .tc-cat-icon {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
}

html.tc-dark .tc-skin .acc-nav-link.is-active {
  background: var(--tc-blue);
  color: #fff;
}
html.tc-dark .tc-skin .acc-nav-link.is-active:hover {
  background: var(--tc-blue);
  color: #fff;
}
html.tc-dark .tc-skin .acc-nav-link.is-active .acc-nav-icon,
html.tc-dark .tc-skin .acc-nav-link.is-active:hover .acc-nav-icon {
  background: rgba(255, 255, 255, .18) !important;
  stroke: #fff;
}
html.tc-dark .tc-skin .acc-nav-badge--wallet {
  background: rgba(34, 197, 94, .16);
  color: #4ade80;
}
html.tc-dark .tc-skin .acc-nav-link--logout {
  color: #f87171;
}
html.tc-dark .tc-skin .acc-nav-link--logout:hover {
  background: rgba(220, 38, 38, .14);
  color: #fca5a5;
}
html.tc-dark .tc-skin .acc-nav-link--logout .acc-nav-icon,
html.tc-dark .tc-skin .acc-nav-link--logout:hover .acc-nav-icon {
  background: rgba(220, 38, 38, .16) !important;
  stroke: #f87171;
}
html.tc-dark .dlm-notification,
html.tc-dark .tc-skin .acc-toast,
html.tc-dark .acc-toast {
  background: var(--tc-surface) !important;
  color: var(--tc-ink) !important;
  border: 1px solid var(--tc-line);
  box-shadow: var(--tc-shadow-up);
}
html.tc-dark .tc-skin .acc-toast.err,
html.tc-dark .acc-toast.err {
  background: #b91c1c !important;
  color: #fff !important;
  border-color: #991b1b;
}

/* dark theme: navy dock (matches the approved mockup) */
html.tc-dark .tc-skin .mobile-bottom-nav {
  --dock-bg: #0d1c35;
  --dock-line: rgba(255, 255, 255, .07);
  --dock-ink: #aab7ca;
  --dock-active: #ffffff;
  --dock-glow: rgba(255, 121, 56, .55);
  --dock-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .4);
}

html.tc-dark .tc-header .tc-currency .x-currency-switcher-dropdown,
html.tc-dark .tc-currency .x-currency-list,
html.tc-dark .tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .currency-wrap,
html.tc-dark .currency-wrap {
  background: var(--tc-surface) !important;
  border-color: var(--tc-line) !important;
  color: var(--tc-ink) !important;
}

html.tc-dark .tc-skin .tc-currency .x-currency-shortcode.switcher-13290 .dropdown-flag {
  box-shadow: 0 0 0 2px var(--tc-surface);
}

html.tc-dark .thankyou-banner {
  border-bottom-color: var(--tc-line);
}
html.tc-dark .thankyou-icon-success svg {
  color: var(--tc-blue-ink);
}
html.tc-dark .thankyou-icon-danger svg {
  color: #f87171;
}
html.tc-dark .thankyou-status-badge.status-success {
  background-color: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.30);
}
html.tc-dark .thankyou-status-badge.status-warning {
  background-color: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.30);
}
html.tc-dark .thankyou-status-badge.status-danger {
  background-color: rgba(239, 68, 68, 0.16);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.30);
}

.mnav-theme-btn {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: start;
}
.mnav-theme-btn .tc-ico-sun { display: none; }
html.tc-dark .mnav-theme-btn .tc-ico-moon { display: none; }
html.tc-dark .mnav-theme-btn .tc-ico-sun { display: block; color: #fbbf24; }
.mnav-theme-switch {
  margin-inline-start: auto;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--tc-line);
  padding: 3px;
  display: inline-flex;
  align-items: center;
  transition: background-color .18s ease;
}
.mnav-theme-switch i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  display: block;
  transition: transform .18s ease;
}
html.tc-dark .mnav-theme-switch { background: var(--tc-blue); }
html.tc-dark .mnav-theme-switch i { transform: translateX(-18px); }

html.tc-dark .tc-slide .tc-card-fav,
html.tc-dark .sp-card .card-wishlist-btn,
html.tc-dark .tc-wl-remove-btn {
  background: rgba(19, 28, 49, 0.92);
  color: var(--tc-ink);
}
html.tc-dark .tc-wl-remove-btn:hover {
  background: #e5484d;
  border-color: #e5484d;
  color: #ffffff;
}
html.tc-dark .tc-wl-card:hover {
  background: #1a243d;
  border-color: rgba(59, 130, 246, 0.35);
}
html.tc-dark .tc-wl-item-title a:hover {
  color: var(--tc-blue-ink) !important;
}
html.tc-dark .rv-form textarea:focus,
html.tc-dark .ea-input:focus,
html.tc-dark .ww-form-row input:focus,
html.tc-dark .ww-form-row textarea:focus,
html.tc-dark #shop-quick-search:focus {
  background: #0f172a;
}

html.tc-dark .tc-logo,
html.tc-dark .tc-footer-logo,
html.tc-dark .mnav-drawer-logo a {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.tc-logo-dark { display: none !important; }
html.tc-dark .tc-logo-light { display: none !important; }
html.tc-dark .tc-logo-dark { display: block !important; }

/* ── Remaining components dark mode (Related, Cards, Dropdowns, Thankyou, Forms) ── */
html.tc-dark .rc-card,
html.tc-dark .rc-info,
html.tc-dark .rc-nav-btn,
html.tc-dark .rc-card .card-wishlist-btn,
html.tc-dark .arcade-cards-head,
html.tc-dark .arcade-card-box,
html.tc-dark .arcade-card-box .dlm-meta-chip,
html.tc-dark .arcade-card-box .dlm-action-btn.copy-all,
html.tc-dark .arcade-card-box .dlm-key-item,
html.tc-dark .arcade-card-box .dlm-copy-btn,
html.tc-dark .thankyou-card,
html.tc-dark .thankyou-btn-secondary,
html.tc-dark .mnav-guest-card,
html.tc-dark .mnav-btn-secondary,
html.tc-dark #wc-force-modal .wc-modal-card {
  background: var(--tc-surface) !important;
  color: var(--tc-ink) !important;
  border-color: var(--tc-line) !important;
}

html.tc-dark .rc-title,
html.tc-dark .rc-heading,
html.tc-dark .thankyou-empty-title,
html.tc-dark .mnav-guest-title,
html.tc-dark .account-dropdown .user-name {
  color: var(--tc-ink) !important;
}

html.tc-dark .spx-gw-item,
html.tc-dark .spx-gw-fields,
html.tc-dark .spx-specs-table th,
html.tc-dark .spx-specs-table td {
  background: var(--tc-bg) !important;
  color: var(--tc-ink) !important;
  border-color: var(--tc-line) !important;
}

html.tc-dark .spx-gw-item.active {
  background: var(--tc-blue-soft) !important;
  border-color: var(--tc-blue) !important;
}

html.tc-dark .tc-skin input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
html.tc-dark .tc-skin select,
html.tc-dark .tc-skin textarea {
  background-color: #0f172a;
  color: var(--tc-ink);
  border-color: var(--tc-line);
}

html.tc-dark .woocommerce-message,
html.tc-dark .woocommerce-info,
html.tc-dark .woocommerce-error {
  background: var(--tc-surface) !important;
  color: var(--tc-ink) !important;
  border-color: var(--tc-line) !important;
}

.tc-os-notify-btn {
  height: 28px;
  padding: 0 11px !important;
  border-radius: 999px;
  border: 0;
  background: var(--tc-accent);
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 800;
  font-family: var(--font-family);
  cursor: pointer;
  white-space: nowrap;
}

.tc-os-notify-btn:hover {
  background: var(--tc-accent-ink);
}

.tc-ntf-hero-side {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ═════════ Product Credentials Card (.cred-card) ═════════ */
.cred-card {
  direction: rtl;
  background: var(--tc-bg);
  border: 1px solid var(--tc-line);
  border-radius: 20px;
  padding: 18px;
  margin: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cred-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--tc-blue-soft);
  color: var(--tc-blue-ink);
  font-size: 11.5px;
  font-weight: 800;
}

.cred-badge-icon {
  width: 13px;
  height: 13px;
}

.cred-title {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--tc-ink);
}

.cred-sub {
  margin: 0;
  font-size: 12.5px;
  color: var(--tc-muted);
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cred-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cred-span2 {
  grid-column: 1 / -1;
}

.cred-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--tc-ink);
}

.cred-required {
  color: var(--tc-accent);
}

.cred-inp {
  position: relative;
  display: flex;
  align-items: center;
}

.cred-inp-ic {
  position: absolute;
  right: 12px;
  width: 18px;
  height: 18px;
  color: var(--tc-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cred-inp-ic svg {
  width: 17px;
  height: 17px;
}

.cred-input {
  width: 100%;
  height: 44px;
  padding: 0 38px 0 14px !important;
  border-radius: 13px !important;
  border: 1.5px solid var(--tc-line) !important;
  background: var(--tc-surface) !important;
  color: var(--tc-ink) !important;
  font-family: var(--font-family);
  font-size: 14px !important;
  font-weight: 500;
  transition: border-color .15s ease;
}

.cred-passwrap .cred-input {
  padding-inline-end: 44px !important;
}

.cred-input:focus {
  outline: none;
  border-color: var(--tc-blue) !important;
}

.cred-toggle {
  position: absolute;
  left: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--tc-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 !important;
}

.cred-toggle:hover {
  background: var(--tc-blue-soft);
  color: var(--tc-blue);
}

.cred-toggle svg {
  width: 18px;
  height: 18px;
}

.cred-toggle .is-eyeoff { display: none; }
.cred-toggle.is-on .is-eye { display: none; }
.cred-toggle.is-on .is-eyeoff { display: block; }

.cred-select {
  position: relative;
}

.cred-select-btn {
  width: 100%;
  height: 44px;
  padding: 0 14px !important;
  border-radius: 13px !important;
  border: 1.5px solid var(--tc-line) !important;
  background: var(--tc-surface) !important;
  color: var(--tc-ink) !important;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}

.cred-select.is-open .cred-select-btn {
  border-color: var(--tc-blue) !important;
}

.cred-select-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.cred-select-ic,
.cred-opt-ic {
  width: 20px;
  height: 20px;
  color: var(--tc-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cred-select-ic svg,
.cred-opt-ic svg {
  width: 18px;
  height: 18px;
}

.cred-select-caret svg {
  width: 16px;
  height: 16px;
  color: var(--tc-muted);
  transition: transform .18s ease;
}

.cred-select.is-open .cred-select-caret svg {
  transform: rotate(180deg);
}

.cred-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  border-radius: 16px;
  padding: 6px;
  box-shadow: var(--tc-shadow-up);
  max-height: 240px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 2px;
}

.cred-select.is-open .cred-select-menu {
  display: flex;
}

.cred-opt {
  width: 100%;
  padding: 9px 12px !important;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--tc-ink);
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  text-align: start;
}

.cred-opt:hover,
.cred-opt[aria-selected="true"] {
  background: var(--tc-blue-soft);
  color: var(--tc-blue-ink);
}

.cred-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cred-radio-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--tc-surface);
  border: 1.5px solid var(--tc-line);
  color: var(--tc-ink);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}

.cred-radio-item:has(input:checked) {
  border-color: var(--tc-blue);
  background: var(--tc-blue-soft);
  color: var(--tc-blue-ink);
}

.cred-radio-item input {
  accent-color: var(--tc-blue);
  margin: 0;
}

/* ═════════ Empty Wallet Card & Quantity Widget ═════════ */
.tc-skin .spx-empty-wallet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--tc-accent-soft);
  border: 1px solid rgba(255, 106, 43, 0.28);
  color: var(--tc-ink);
}

.tc-skin .spx-ew-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.tc-skin .spx-ew-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--tc-surface);
  color: var(--tc-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tc-skin .spx-ew-icon svg {
  width: 20px;
  height: 20px;
}

.tc-skin .spx-ew-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tc-skin .spx-ew-text strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--tc-ink);
}

.tc-skin .spx-ew-text span {
  font-size: 12.5px;
  color: var(--tc-ink-2);
}

.tc-skin .spx-ew-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--tc-accent);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color .15s ease;
}

.tc-skin .spx-ew-btn:hover {
  background: var(--tc-accent-ink);
}

.tc-skin .spx-ew-btn svg {
  width: 14px;
  height: 14px;
}

/* Modern Quantity Wrapper (Light & Dark Mode) */
.tc-skin .modern-qty-wrapper {
  background: var(--tc-bg) !important;
  border: 1.5px solid var(--tc-line) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  padding: 10px 14px !important;
  margin-bottom: 14px !important;
}

.tc-skin .modern-qty-wrapper:hover {
  border-color: var(--tc-blue) !important;
  box-shadow: none !important;
}

.tc-skin .modern-qty-label {
  color: var(--tc-ink) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}

.tc-skin .modern-qty-wrapper .qty-btn {
  background: var(--tc-surface) !important;
  color: var(--tc-ink) !important;
  border: 1px solid var(--tc-line) !important;
  border-radius: 10px !important;
}

.tc-skin .modern-qty-wrapper .qty-btn:hover {
  background: var(--tc-blue) !important;
  color: #ffffff !important;
  border-color: var(--tc-blue) !important;
}

.tc-skin .modern-qty-wrapper .qty {
  color: var(--tc-ink) !important;
  background: transparent !important;
}

/* ── Shop Categories Strip (.shop-categories-list) ── */
.shop-categories-wrap {
  margin-bottom: 18px;
}
.shop-categories-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.shop-subcategories-list {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--tc-line);
}
.shop-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 6px 10px 6px 14px;
  border-radius: 14px;
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  color: var(--tc-ink) !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(12, 26, 58, 0.04);
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.shop-cat-pill:hover {
  transform: translateY(-1px);
  border-color: var(--tc-blue);
  color: var(--tc-blue) !important;
  box-shadow: 0 6px 16px -8px rgba(26, 92, 255, 0.28);
}
.shop-cat-pill.is-active {
  background: var(--tc-blue);
  border-color: var(--tc-blue);
  color: #ffffff !important;
  box-shadow: 0 8px 20px -8px rgba(26, 92, 255, 0.48);
}
.shop-cat-pill--sub {
  height: 38px;
  padding: 4px 8px 4px 12px;
  border-radius: 12px;
  font-size: 13px;
}
.shop-cat-pill-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--tc-blue-soft);
  color: var(--tc-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.shop-cat-pill--sub .shop-cat-pill-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}
.shop-cat-pill-icon svg,
.shop-cat-pill-icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.shop-cat-pill-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}
.shop-cat-pill.is-active .shop-cat-pill-icon {
  background: rgba(255, 255, 255, 0.20);
  color: #ffffff;
}
.shop-cat-count {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--tc-bg);
  color: var(--tc-muted);
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.shop-cat-pill.is-active .shop-cat-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
html.tc-dark .shop-cat-pill {
  background: var(--tc-surface);
  border-color: var(--tc-line);
  color: var(--tc-ink) !important;
}
html.tc-dark .shop-cat-pill:hover {
  background: #1a243d;
  border-color: var(--tc-blue);
  color: var(--tc-blue-ink) !important;
}
html.tc-dark .shop-cat-pill.is-active {
  background: var(--tc-blue);
  border-color: var(--tc-blue);
  color: #ffffff !important;
}
html.tc-dark .shop-cat-pill-icon {
  background: var(--tc-blue-soft);
  color: var(--tc-blue-ink);
}
html.tc-dark .shop-cat-count {
  background: var(--tc-bg);
  color: var(--tc-muted);
}
@media (max-width: 768px) {
  .shop-categories-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
    margin-inline: -14px;
    padding-inline: 14px;
  }
  .shop-categories-list::-webkit-scrollbar {
    display: none;
  }
  .shop-cat-pill {
    flex-shrink: 0;
    scroll-snap-align: start;
    height: 40px;
  }
}

/* ═════════ Consolidated Template Styles ═════════ */

/* --- assets\css\page-404.css --- */
.tc-404-main {
  direction: rtl;
  padding: 36px 20px 64px;
  min-height: calc(100vh - 280px);
  display: flex;
  align-items: center;
}

.tc-404-wrap {
  width: 100%;
  max-width: var(--tc-wrap, 1280px);
  margin: 0 auto;
}

.tc-404-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--tc-shadow, 0 1px 2px rgba(12, 26, 58, .04), 0 8px 24px -12px rgba(12, 26, 58, .14));
  position: relative;
  overflow: hidden;
}

.tc-404-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--tc-line, #e5e8f0) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to left, transparent 35%, #000 100%);
  mask-image: linear-gradient(to left, transparent 35%, #000 100%);
  pointer-events: none;
}

.tc-404-copy {
  position: relative;
  z-index: 1;
}

.tc-404-copy h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 14px 0 14px;
  color: var(--tc-ink, #0c1a3a);
}

.tc-404-copy h1 em {
  font-style: normal;
  color: var(--tc-blue, #1a5cff);
  background: linear-gradient(transparent 68%, var(--tc-accent-soft, #fff0e8) 68%);
}

.tc-404-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--tc-ink-2, #3b4766);
  margin: 0 0 28px;
  max-width: 500px;
}

.tc-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tc-404-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-404-svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .tc-404-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 28px;
    text-align: center;
  }

  .tc-404-art {
    order: -1;
  }

  .tc-404-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .tc-404-actions {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .tc-404-main {
    padding: 20px 14px 44px;
  }

  .tc-404-card {
    padding: 26px 18px;
    border-radius: 22px;
  }

  .tc-404-actions {
    width: 100%;
    flex-direction: column;
  }

  .tc-404-actions .tc-btn {
    width: 100%;
  }
}

/* --- assets\css\wishlist-page.css --- */

/* ── ترويسة الصفحة ── */

/* ── شبكة المنتجات المفضلة ── */
.tc-wl-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tc-wl-card {
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--tc-shadow, 0 1px 2px rgba(12, 26, 58, .04), 0 8px 24px -12px rgba(12, 26, 58, .14));
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
}

.tc-wl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tc-shadow-up, 0 2px 4px rgba(12, 26, 58, .05), 0 18px 36px -16px rgba(12, 26, 58, .22));
  border-color: rgba(26, 92, 255, 0.25);
}

.tc-wl-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--tc-bg, #f6f7fb);
}

.tc-wl-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.tc-wl-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.tc-wl-card:hover .tc-wl-media img {
  transform: scale(1.04);
}

.tc-wl-remove-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--tc-line, #e5e8f0);
  background: rgba(255, 255, 255, 0.94);
  color: #e5484d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tc-wl-remove-btn:hover {
  background: #e5484d;
  border-color: #e5484d;
  color: #ffffff;
}

.tc-wl-remove-btn svg {
  width: 16px;
  height: 16px;
}

.tc-wl-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tc-wl-item-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--tc-ink, #0c1a3a);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tc-wl-item-title a {
  color: inherit !important;
  text-decoration: none !important;
}

.tc-wl-item-title a:hover {
  color: var(--tc-blue, #1a5cff) !important;
}

/* ── الحالة الفارغة / الزائر ── */
.tc-wl-empty {
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  border-radius: 26px;
  padding: 52px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: var(--tc-shadow, 0 1px 2px rgba(12, 26, 58, .04), 0 8px 24px -12px rgba(12, 26, 58, .14));
}

.tc-wl-empty-art svg {
  width: 180px;
  height: auto;
  display: block;
  margin-bottom: 6px;
}

.tc-wl-empty-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
}

.tc-wl-empty-desc {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--tc-muted, #6a7591);
  max-width: 420px;
  line-height: 1.75;
}

@media (max-width: 1040px) {
  .tc-wl-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .tc-wl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

}

@media (max-width: 480px) {

  .tc-wl-grid {
    grid-template-columns: 1fr;
  }

}

/* --- assets\css\notifications-page.css --- */
.tc-ntf-main {
  direction: rtl;
  padding: 28px 20px 64px;
  min-height: calc(100vh - 280px);
}

.tc-ntf-wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tc-ntf-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--tc-ink, #0c1a3a);
  color: #ffffff;
  border-radius: 26px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}

.tc-ntf-hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  left: -100px;
  top: -155px;
  border: 46px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.tc-ntf-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tc-ntf-title {
  margin: 4px 0 0;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.25;
}

.tc-ntf-sub {
  margin: 0;
  font-size: 14px;
  color: #aab6d3;
  line-height: 1.65;
}

.tc-ntf-stat {
  position: relative;
  z-index: 1;
  background: var(--tc-surface, #ffffff);
  color: var(--tc-ink, #0c1a3a);
  border-radius: 18px;
  padding: 14px 20px;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tc-ntf-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--tc-muted, #6a7591);
}

.tc-ntf-stat-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--tc-blue, #1a5cff);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.tc-ntf-card {
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--tc-shadow, 0 1px 2px rgba(12, 26, 58, .04), 0 8px 24px -12px rgba(12, 26, 58, .14));
}

.tc-ntf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--tc-line, #e5e8f0);
  flex-wrap: wrap;
}

.tc-ntf-head-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tc-ntf-head-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--tc-blue-soft, #ecf1ff);
  color: var(--tc-blue, #1a5cff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tc-ntf-head-icon svg {
  width: 19px;
  height: 19px;
}

.tc-ntf-head-title h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
}

.tc-ntf-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tc-ntf-tab {
  height: 36px;
  padding: 0 14px !important;
  border-radius: 999px;
  border: 1px solid var(--tc-line, #e5e8f0);
  background: var(--tc-bg, #f6f7fb);
  color: var(--tc-ink-2, #3b4766);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tc-ntf-tab:hover {
  border-color: var(--tc-blue, #1a5cff);
  color: var(--tc-blue, #1a5cff);
}

.tc-ntf-tab.is-active {
  background: var(--tc-blue, #1a5cff);
  border-color: var(--tc-blue, #1a5cff);
  color: #ffffff !important;
}

.tc-ntf-list {
  list-style: none;
  margin: 0;
  padding: 10px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tc-ntf-item[hidden] {
  display: none !important;
}

.tc-ntf-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  text-decoration: none !important;
  color: inherit;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

a.tc-ntf-row:hover {
  background: var(--tc-bg, #f6f7fb);
  border-color: var(--tc-line, #e5e8f0);
}

.tc-ntf-item.is-new .tc-ntf-row {
  background: #f5f8ff;
}

.tc-ntf-ico {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--tc-blue-soft, #ecf1ff);
  color: var(--tc-blue, #1a5cff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tc-ntf-ico svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tc-ntf-ico--offer {
  background: var(--tc-accent-soft, #fff0e8);
  color: var(--tc-accent-ink, #e4561a);
}

.tc-ntf-ico--alert {
  background: #fdecec;
  color: #e5484d;
}

.tc-ntf-ico--success {
  background: #e9f7ef;
  color: var(--tc-ok, #12a150);
}

.tc-ntf-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tc-ntf-row-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tc-ntf-item-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
}

.tc-ntf-new-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tc-accent, #ff6a2b);
  color: #ffffff;
}

.tc-ntf-item-msg {
  margin: 0;
  font-size: 13.5px;
  color: var(--tc-ink-2, #3b4766);
  line-height: 1.65;
}

.tc-ntf-time {
  font-size: 12px;
  color: var(--tc-muted, #6a7591);
}

.tc-ntf-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tc-bg, #f6f7fb);
  color: var(--tc-ink-2, #3b4766);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tc-ntf-arrow svg {
  width: 16px;
  height: 16px;
}

.tc-ntf-no-match {
  padding: 36px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--tc-muted, #6a7591);
}

.tc-ntf-empty {
  padding: 50px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tc-ntf-empty-art svg {
  width: 175px;
  height: auto;
  display: block;
  margin-bottom: 6px;
}

.tc-ntf-empty-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
}

.tc-ntf-empty-desc {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--tc-muted, #6a7591);
  max-width: 400px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .tc-ntf-main {
    padding: 18px 12px 44px;
  }

  .tc-ntf-hero {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .tc-ntf-stat {
    width: 100%;
  }

  .tc-ntf-head {
    padding: 16px;
  }

  .tc-ntf-list {
    padding: 8px 10px 14px;
  }

  .tc-ntf-row {
    padding: 12px;
    gap: 12px;
  }
}

/* --- assets\css\wallet-page.css --- */
.ww {
  direction: rtl;
  font-family: var(--font-family, 'Tajawal', system-ui, sans-serif);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ww *,
.ww *::before,
.ww *::after {
  box-sizing: border-box;
}

/* ── 1. الهيرو (متطابق مع dsh-hero و tc-orders-hero) ── */
.ww-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--tc-ink, #0c1a3a);
  color: #ffffff;
  border-radius: 24px;
  padding: 24px 26px;
  position: relative;
  overflow: hidden;
}

.ww-hero::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  left: -110px;
  top: -170px;
  border: 50px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.ww-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1;
  min-width: 240px;
}

.ww-hero-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ww-title {
  margin: 4px 0 0;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.25;
}

.ww-desc {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: #aab6d3;
  line-height: 1.6;
}

.ww-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
}

.ww-status--active {
  background: rgba(18, 161, 80, 0.18);
  color: #6ee7a8;
  border: 1px solid rgba(110, 231, 168, 0.35);
}

.ww-status--banned {
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(252, 165, 165, 0.35);
}

.ww-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.ww-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ww-actions .tc-btn {
  height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.ww-btn--disabled {
  background: rgba(255, 255, 255, 0.12);
  color: #aab6d3 !important;
  cursor: not-allowed;
}

/* بطاقة الرصيد البيضاء داخل الهيرو */
.ww-hero-balance {
  position: relative;
  z-index: 1;
  background: var(--tc-surface, #ffffff);
  color: var(--tc-ink, #0c1a3a);
  border-radius: 18px;
  padding: 18px 22px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.ww-balance-caption {
  font-size: 12.5px;
  color: var(--tc-muted, #6a7591);
  font-weight: 600;
}

.ww-balance-val {
  font-size: 30px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.ww-balance-val .woocommerce-Price-currencySymbol {
  font-size: 15px;
  font-weight: 700;
  color: var(--tc-muted, #6a7591);
  margin-inline-start: 3px;
}

.ww-balance-meta {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--tc-line, #e5e8f0);
  font-size: 12.5px;
  color: var(--tc-ink-2, #3b4766);
}

.ww-balance-meta strong {
  color: var(--tc-blue, #1a5cff);
  font-weight: 800;
}

/* ── 2. بطاقة سجل العمليات ── */
.ww-card {
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--tc-shadow, 0 1px 2px rgba(12, 26, 58, .04), 0 8px 24px -12px rgba(12, 26, 58, .14));
  display: flex;
  flex-direction: column;
}

.ww-tx-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  background: transparent;
  border-bottom: 1px solid var(--tc-line, #e5e8f0);
  flex-wrap: wrap;
}

.ww-tx-subhead-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ww-subhead-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--tc-blue-soft, #ecf1ff);
  color: var(--tc-blue, #1a5cff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ww-subhead-icon {
  width: 19px;
  height: 19px;
}

.ww-subhead-text {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
}

/* تبويبات الفلترة */
.ww-filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ww-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px !important;
  border-radius: 999px;
  border: 1px solid var(--tc-line, #e5e8f0);
  background: var(--tc-bg, #f6f7fb);
  color: var(--tc-ink-2, #3b4766);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ww-tab:hover {
  border-color: var(--tc-blue, #1a5cff);
  color: var(--tc-blue, #1a5cff);
}

.ww-tab--active {
  background: var(--tc-blue, #1a5cff);
  border-color: var(--tc-blue, #1a5cff);
  color: #ffffff !important;
}

.ww-tab-count {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(12, 26, 58, 0.08);
  color: inherit;
  line-height: 1.2;
}

.ww-tab--active .ww-tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* قائمة المعاملات */
.ww-tx-wrap {
  padding: 12px 22px 22px;
}

.ww-tx-list {
  display: flex;
  flex-direction: column;
}

.ww-tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--tc-line-2, #eef0f5);
  border-radius: 14px;
  transition: background-color 0.15s ease;
}

.ww-tx-row:last-child {
  border-bottom: 0;
}

.ww-tx-row:hover {
  background: var(--tc-bg, #f6f7fb);
}

.ww-tx-row--hidden {
  display: none !important;
}

.ww-tx-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ww-tx-sign {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ww-tx-sign svg {
  width: 18px;
  height: 18px;
}

.ww-tx-sign--credit {
  background: #e9f7ef;
  color: var(--tc-ok, #12a150);
}

.ww-tx-sign--debit {
  background: #fdecec;
  color: #e5484d;
}

.ww-tx-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ww-tx-desc {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--tc-ink, #0c1a3a);
  line-height: 1.4;
}

.ww-tx-date {
  font-size: 12px;
  color: var(--tc-muted, #6a7591);
}

.ww-tx-amount-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.ww-tx-val {
  font-size: 15.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}

.ww-tx-val--credit {
  color: var(--tc-ok, #12a150);
}

.ww-tx-val--debit {
  color: var(--tc-ink, #0c1a3a);
}

.ww-tx-val * {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.ww-tx-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  line-height: 1.3;
}

.ww-tx-pill--credit {
  background: #e9f7ef;
  color: var(--tc-ok, #12a150);
}

.ww-tx-pill--debit {
  background: var(--tc-accent-soft, #fff0e8);
  color: var(--tc-accent-ink, #e4561a);
}

.ww-no-filter-msg {
  text-align: center;
  padding: 32px 16px;
  color: var(--tc-muted, #6a7591);
  font-size: 14px;
}

/* زر عرض المزيد */
.ww-more-wrap {
  padding-top: 14px;
  text-align: center;
}

.ww-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px !important;
  border-radius: 999px;
  background: var(--tc-bg, #f6f7fb);
  border: 1px solid var(--tc-line, #e5e8f0);
  color: var(--tc-ink, #0c1a3a);
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.ww-more-btn:hover {
  border-color: var(--tc-blue, #1a5cff);
  background: var(--tc-blue-soft, #ecf1ff);
  color: var(--tc-blue, #1a5cff);
}

.ww-more-btn svg {
  width: 16px;
  height: 16px;
}

/* الحالة الفارغة */
.ww-empty-state {
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ww-empty-art svg {
  width: 165px;
  height: auto;
  display: block;
  margin-bottom: 6px;
}

.ww-empty-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
}

.ww-empty-desc {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--tc-muted, #6a7591);
  max-width: 360px;
  line-height: 1.7;
}

/* ── 3. نافذة التحويل المنبثقة ── */
.ww-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ww-modal.open,
.ww-modal.is-visible {
  display: flex;
}

.ww-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 58, 0.55);
  backdrop-filter: blur(4px);
}

.ww-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
}

.ww-modal-content {
  background: var(--tc-surface, #ffffff);
  border-radius: 24px;
  border: 1px solid var(--tc-line, #e5e8f0);
  box-shadow: var(--tc-shadow-up, 0 2px 4px rgba(12, 26, 58, .05), 0 18px 36px -16px rgba(12, 26, 58, .22));
  overflow: hidden;
}

.ww-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--tc-line, #e5e8f0);
}

.ww-modal-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ww-modal-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--tc-blue-soft, #ecf1ff);
  color: var(--tc-blue, #1a5cff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ww-modal-icon {
  width: 18px;
  height: 18px;
}

.ww-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
}

.ww-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--tc-bg, #f6f7fb);
  color: var(--tc-ink, #0c1a3a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 !important;
}

.ww-modal-close:hover {
  background: var(--tc-blue-soft, #ecf1ff);
  color: var(--tc-blue, #1a5cff);
}

.ww-modal-close svg {
  width: 17px;
  height: 17px;
}

.ww-modal-body {
  padding: 20px 22px 24px;
}

.ww-transfer-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ww-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ww-form-row label {
  font-size: 13px;
  font-weight: 700;
  color: var(--tc-ink, #0c1a3a);
}

.ww-form-row input,
.ww-form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--tc-line, #e5e8f0);
  background: var(--tc-bg, #f6f7fb);
  color: var(--tc-ink, #0c1a3a);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ww-form-row input:focus,
.ww-form-row textarea:focus {
  outline: none;
  border-color: var(--tc-blue, #1a5cff);
  background: #ffffff;
}

.ww-submit-full {
  width: 100%;
  border: 0;
}

/* ── الجوال ── */
@media (max-width: 600px) {
  .ww-hero {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .ww-hero-balance {
    width: 100%;
    min-width: 0;
  }

  .ww-card {
    border-radius: 20px;
  }

  .ww-tx-subhead {
    padding: 16px;
  }

  .ww-tx-wrap {
    padding: 10px 14px 18px;
  }

  .ww-tx-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ww-tx-amount-wrap {
    width: 100%;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px dashed var(--tc-line, #e5e8f0);
  }
}

/* ── الوضع الداكن (Dark Mode) ── */
html.tc-dark .ww-hero {
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
}
html.tc-dark .ww-hero-balance {
  background: var(--tc-bg);
  border: 1px solid var(--tc-line);
}
html.tc-dark .ww-actions .tc-btn--line {
  background: var(--tc-bg);
  border-color: var(--tc-line);
  color: var(--tc-ink) !important;
}
html.tc-dark .ww-actions .tc-btn--line:hover {
  border-color: var(--tc-blue);
  color: var(--tc-blue-ink) !important;
}
html.tc-dark .ww-card,
html.tc-dark .ww-modal-content {
  background: var(--tc-surface);
  border-color: var(--tc-line);
}
html.tc-dark .ww-tx-subhead {
  background: transparent;
  border-bottom-color: var(--tc-line);
}
html.tc-dark .ww-tab {
  background: var(--tc-bg);
  border-color: var(--tc-line);
  color: var(--tc-ink-2);
}
html.tc-dark .ww-tab--active {
  background: var(--tc-blue);
  border-color: var(--tc-blue);
  color: #ffffff !important;
}
html.tc-dark .ww-tab-count {
  background: rgba(255, 255, 255, 0.10);
}
html.tc-dark .ww-tx-row:hover {
  background: #1a243d;
}
html.tc-dark .ww-tx-sign--credit,
html.tc-dark .ww-tx-pill--credit {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
}
html.tc-dark .ww-tx-sign--debit {
  background: rgba(239, 68, 68, 0.16);
  color: #f87171;
}
html.tc-dark .ww-tx-val--credit {
  color: #4ade80;
}
html.tc-dark .ww-more-btn {
  background: var(--tc-bg);
  border-color: var(--tc-line);
  color: var(--tc-ink);
}
html.tc-dark .ww-more-btn:hover {
  background: var(--tc-blue-soft);
  border-color: var(--tc-blue);
  color: var(--tc-blue-ink);
}
html.tc-dark .ww-modal-close {
  background: var(--tc-bg);
  color: var(--tc-ink);
}
html.tc-dark .ww-form-row input,
html.tc-dark .ww-form-row textarea {
  background: var(--tc-bg);
  border-color: var(--tc-line);
  color: var(--tc-ink);
}
html.tc-dark .ww-form-row input:focus,
html.tc-dark .ww-form-row textarea:focus {
  background: #0f172a;
  border-color: var(--tc-blue);
}

/* --- assets\css\orders-page.css --- */
.tc-orders {
  direction: rtl;
  font-family: var(--font-family, 'Tajawal', system-ui, sans-serif);
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.tc-orders *,
.tc-orders *::before,
.tc-orders *::after {
  box-sizing: border-box;
}

/* ── رأس الصفحة (متطابق مع dsh-hero) ── */
.tc-orders-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--tc-ink, #0c1a3a);
  color: #ffffff;
  border-radius: 24px;
  padding: 24px 26px;
  position: relative;
  overflow: hidden;
}

.tc-orders-hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  left: -100px;
  top: -155px;
  border: 46px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.tc-orders-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tc-orders-title {
  margin: 4px 0 0;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.25;
}

.tc-orders-sub {
  margin: 0;
  font-size: 13.5px;
  color: #aab6d3;
  line-height: 1.6;
}

.tc-orders-stat {
  position: relative;
  z-index: 1;
  background: var(--tc-surface, #ffffff);
  color: var(--tc-ink, #0c1a3a);
  border-radius: 18px;
  padding: 14px 20px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.tc-orders-stat-label {
  font-size: 12px;
  color: var(--tc-muted, #6a7591);
  font-weight: 600;
}

.tc-orders-stat-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--tc-blue, #1a5cff);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

/* ── قائمة الطلبات ── */
.tc-orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tc-order-card {
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--tc-shadow, 0 1px 2px rgba(12, 26, 58, .04), 0 8px 24px -12px rgba(12, 26, 58, .14));
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tc-order-card:hover {
  border-color: rgba(26, 92, 255, 0.28);
  box-shadow: var(--tc-shadow-up, 0 2px 4px rgba(12, 26, 58, .05), 0 18px 36px -16px rgba(12, 26, 58, .22));
  transform: translateY(-2px);
}

/* صف الرأس */
.tc-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.tc-order-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tc-order-id {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
  font-variant-numeric: tabular-nums;
  direction: ltr;
}

.tc-order-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tc-line, #e5e8f0);
}

.tc-order-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--tc-muted, #6a7591);
  font-weight: 500;
}

.tc-order-date svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.tc-order-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tc-order-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
}

.tc-order-chip svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.tc-order-chip--delivered {
  background: #e9f7ef;
  color: var(--tc-ok, #12a150);
}

.tc-order-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
}

.tc-order-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: block;
}

.tc-order-status.status-success {
  background: #e9f7ef;
  color: #12a150;
}

.tc-order-status.status-info {
  background: var(--tc-blue-soft, #ecf1ff);
  color: var(--tc-blue, #1a5cff);
}

.tc-order-status.status-warning {
  background: var(--tc-accent-soft, #fff0e8);
  color: var(--tc-accent-ink, #e4561a);
}

.tc-order-status.status-danger {
  background: #fdecec;
  color: #dc2626;
}

.tc-order-status.status-neutral {
  background: var(--tc-bg, #f6f7fb);
  color: var(--tc-ink-2, #3b4766);
}

/* جسم البطاقة */
.tc-order-body {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  background: var(--tc-bg, #f6f7fb);
  border-radius: 14px;
}

.tc-order-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--tc-blue-soft, #ecf1ff);
  color: var(--tc-blue, #1a5cff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tc-order-icon svg {
  width: 20px;
  height: 20px;
}

.tc-order-product-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}

.tc-order-product-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a) !important;
  text-decoration: none !important;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.tc-order-product-title:hover {
  color: var(--tc-blue, #1a5cff) !important;
}

.tc-order-extra {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--tc-blue-ink, #0f3fc4);
  background: var(--tc-blue-soft, #ecf1ff);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* تذييل البطاقة */
.tc-order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}

.tc-order-total {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.tc-order-total-lbl {
  font-size: 13px;
  color: var(--tc-muted, #6a7591);
  font-weight: 600;
}

.tc-order-total-val {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a) !important;
  font-variant-numeric: tabular-nums;
}

.tc-order-total-val * {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.tc-order-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.tc-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.tc-order-btn:active {
  transform: translateY(1px);
}

.tc-order-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.tc-order-btn--view {
  background: var(--tc-blue, #1a5cff);
  color: #ffffff !important;
}

.tc-order-btn--view:hover {
  background: var(--tc-blue-ink, #0f3fc4);
}

.tc-order-btn--pay {
  background: var(--tc-accent, #ff6a2b);
  color: #ffffff !important;
}

.tc-order-btn--pay:hover {
  background: var(--tc-accent-ink, #e4561a);
}

/* ── الحالة الفارغة ── */
.tc-orders-empty {
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  border-radius: 24px;
  padding: 44px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: var(--tc-shadow, 0 1px 2px rgba(12, 26, 58, .04), 0 8px 24px -12px rgba(12, 26, 58, .14));
}

.tc-orders-empty-art svg {
  width: 170px;
  height: auto;
  display: block;
  margin-bottom: 4px;
}

.tc-orders-empty-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
}

.tc-orders-empty-desc {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--tc-muted, #6a7591);
  max-width: 380px;
  line-height: 1.7;
}

/* ── الترقيم ── */
.tc-orders-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 6px;
}

.tc-orders-page {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  color: var(--tc-ink, #0c1a3a) !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.tc-orders-page:hover {
  border-color: var(--tc-blue, #1a5cff);
  color: var(--tc-blue, #1a5cff) !important;
}

.tc-orders-page.is-active {
  background: var(--tc-blue, #1a5cff);
  border-color: var(--tc-blue, #1a5cff);
  color: #ffffff !important;
}

/* ── الجوال ── */
@media (max-width: 560px) {
  .tc-orders-hero {
    padding: 20px 18px;
    border-radius: 22px;
    gap: 14px;
  }

  .tc-orders-stat {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
  }

  .tc-order-card {
    padding: 16px;
    border-radius: 18px;
  }

  .tc-order-foot {
    flex-wrap: wrap;
  }

  .tc-order-actions {
    width: 100%;
  }

  .tc-order-btn {
    flex: 1;
  }
}

/* ── شريط التقدم (Order Progress Stepper) ── */
.vod-progress-card {
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  border-radius: 22px;
  box-shadow: var(--tc-shadow);
  padding: 24px 26px !important;
  margin-bottom: 0;
}
.vod-stepper {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
}
.vod-stepper::before {
  content: '';
  position: absolute;
  top: 19px;
  right: 16.66%;
  left: 16.66%;
  height: 2.5px;
  background: var(--tc-line, #e5e8f0);
  z-index: 0;
}
.vod-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.vod-step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  background: var(--tc-surface, #ffffff);
  border: 2.5px solid var(--tc-line, #cbd5e1);
  color: var(--tc-muted, #6a7591);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.vod-step-circle svg {
  width: 18px;
  height: 18px;
}
.vod-step-label {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--tc-muted, #6a7591);
}
.vod-step.is-done .vod-step-circle {
  background: #12a150;
  border-color: #12a150;
  color: #ffffff;
}
.vod-step.is-done .vod-step-label {
  color: #12a150;
}
.vod-step.is-current .vod-step-circle {
  background: var(--tc-surface, #ffffff);
  border-color: #b7791f;
  color: #b7791f;
}
.vod-step.is-current .vod-step-label {
  color: #b7791f;
}
.vod-step.is-error .vod-step-circle {
  background: var(--tc-surface, #ffffff);
  border-color: #dc2626;
  color: #dc2626;
}
.vod-step.is-error .vod-step-label {
  color: #dc2626;
}
html.tc-dark .vod-step.is-done .vod-step-label {
  color: #4ade80;
}
html.tc-dark .vod-step.is-current .vod-step-circle {
  background: var(--tc-surface);
  border-color: #f59e0b;
  color: #fbbf24;
}
html.tc-dark .vod-step.is-current .vod-step-label {
  color: #fbbf24;
}
html.tc-dark .vod-step.is-error .vod-step-circle {
  background: var(--tc-surface);
  border-color: #ef4444;
  color: #f87171;
}
html.tc-dark .vod-step.is-error .vod-step-label {
  color: #f87171;
}
@media (max-width: 600px) {
  .vod-progress-card { padding: 18px 14px !important; }
  .vod-stepper::before { top: 17px; }
  .vod-step-circle { width: 36px; height: 36px; font-size: 14px; }
  .vod-step-circle svg { width: 16px; height: 16px; }
  .vod-step-label { font-size: 12.5px; }
}

/* --- assets\css\view-order.css --- */
.vod-wrap {
  direction: rtl;
  width: 100%;
  margin: 0 auto;
  font-family: var(--font-family, 'Tajawal', system-ui, sans-serif);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vod-wrap *,
.vod-wrap *::before,
.vod-wrap *::after {
  box-sizing: border-box;
}

/* ══ Hero ══ */
.vod-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--tc-ink, #0c1a3a);
  color: #ffffff;
  border-radius: 24px;
  padding: 24px 26px;
  position: relative;
  overflow: hidden;
}

.vod-hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  left: -100px;
  top: -155px;
  border: 46px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.vod-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  min-width: 240px;
}

.vod-hero-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vod-order-title {
  margin: 2px 0 0;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.25;
}

.vod-order-title span {
  direction: ltr;
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.vod-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.vod-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
}

.vs-completed  { background: rgba(18, 161, 80, 0.18); color: #6ee7a8; border: 1px solid rgba(110, 231, 168, 0.35); }
.vs-completed  .vod-dot { background: #6ee7a8; }
.vs-processing { background: rgba(26, 92, 255, 0.25); color: #93c5fd; border: 1px solid rgba(147, 197, 253, 0.35); }
.vs-processing .vod-dot { background: #93c5fd; }
.vs-pending,
.vs-hold       { background: rgba(255, 106, 43, 0.22); color: #ffb38f; border: 1px solid rgba(255, 179, 143, 0.35); }
.vs-pending .vod-dot,
.vs-hold .vod-dot { background: #ffb38f; }
.vs-cancelled,
.vs-failed     { background: rgba(220, 38, 38, 0.22); color: #fca5a5; border: 1px solid rgba(252, 165, 165, 0.35); }
.vs-cancelled .vod-dot,
.vs-failed .vod-dot { background: #fca5a5; }
.vs-refunded   { background: rgba(255, 255, 255, 0.12); color: #cbd5e1; border: 1px solid rgba(255, 255, 255, 0.2); }
.vs-refunded .vod-dot { background: #cbd5e1; }

.vod-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vod-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #aab6d3;
}

.vod-meta-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.vod-meta-sep {
  color: rgba(255, 255, 255, 0.25);
}

.vod-hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.vod-hero-actions .tc-btn {
  height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
}

.vod-hero-total {
  position: relative;
  z-index: 1;
  background: var(--tc-surface, #ffffff);
  color: var(--tc-ink, #0c1a3a);
  border-radius: 18px;
  padding: 16px 22px;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: start;
  gap: 4px;
}

.vod-total-lbl {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tc-muted, #6a7591);
}

.vod-total-amt {
  font-size: 26px;
  font-weight: 800;
  color: var(--tc-blue, #1a5cff);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.vod-total-amt * {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.vod-total-amt .woocommerce-Price-currencySymbol {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--tc-muted, #6a7591) !important;
  margin-inline-start: 3px;
}

/* ══ Block ══ */
.vod-block {
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--tc-shadow, 0 1px 2px rgba(12, 26, 58, .04), 0 8px 24px -12px rgba(12, 26, 58, .14));
}

.vod-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--tc-line, #e5e8f0);
}

.vod-block-title h2 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
}

.vod-block-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--tc-blue-soft, #ecf1ff);
  color: var(--tc-blue, #1a5cff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vod-block-icon svg {
  width: 18px;
  height: 18px;
}

/* ══ Items ══ */
.vod-items {
  display: flex;
  flex-direction: column;
}

.vod-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--tc-line-2, #eef0f5);
  transition: background-color 0.15s ease;
}

.vod-item:last-child {
  border-bottom: none;
}

.vod-item:hover {
  background: var(--tc-bg, #f6f7fb);
}

.vod-item-img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--tc-line, #e5e8f0);
  background: var(--tc-bg, #f6f7fb);
  flex-shrink: 0;
}

.vod-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vod-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.vod-item-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}

.vod-item-total {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.vod-item-total * {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.vod-item-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vod-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vod-unit-price {
  font-size: 13px;
  color: var(--tc-muted, #6a7591);
}

.vod-unit-price * {
  font-size: inherit !important;
}

.vod-qty {
  font-size: 12px;
  font-weight: 700;
  color: var(--tc-blue-ink, #0f3fc4);
  background: var(--tc-blue-soft, #ecf1ff);
  border-radius: 999px;
  padding: 2px 9px;
}

.vod-sku {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--tc-muted, #6a7591);
  font-family: monospace;
}

.vod-sku svg {
  width: 11px;
  height: 11px;
  opacity: 0.7;
}

/* Toggle */
.vod-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px !important;
  font-size: 12px;
  font-weight: 700;
  color: var(--tc-blue, #1a5cff);
  background: var(--tc-blue-soft, #ecf1ff);
  border: 1px solid rgba(26, 92, 255, 0.2);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
  width: fit-content;
  margin-top: 2px;
}

.vod-toggle-btn:hover {
  background: rgba(26, 92, 255, 0.16);
  border-color: var(--tc-blue, #1a5cff);
}

.vod-toggle-icon {
  width: 11px;
  height: 11px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.vod-toggle-btn[aria-expanded="true"] .vod-toggle-icon {
  transform: rotate(45deg);
}

/* Meta details */
.vod-meta-details {
  margin-top: 6px;
  background: var(--tc-bg, #f6f7fb);
  border: 1px solid var(--tc-line, #e5e8f0);
  border-radius: 14px;
  overflow: hidden;
}

.vod-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vod-meta-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--tc-line-2, #eef0f5);
  font-size: 13px;
}

.vod-meta-row:last-child {
  border-bottom: none;
}

.vod-meta-key {
  color: var(--tc-muted, #6a7591);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.vod-meta-val {
  color: var(--tc-ink, #0c1a3a);
  font-weight: 600;
}

.vod-hook:empty {
  display: none;
}

@media (max-width: 560px) {
  .vod-hero {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .vod-hero-total {
    width: 100%;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .vod-block {
    border-radius: 20px;
  }

  .vod-block-title,
  .vod-item {
    padding-inline: 16px;
  }

  .vod-item-img {
    width: 44px;
    height: 44px;
  }
}

/* --- assets\css\edit-account.css --- */
.ea-container {
  direction: rtl;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: var(--font-family, 'Tajawal', system-ui, sans-serif);
}

.ea-container *,
.ea-container *::before,
.ea-container *::after {
  box-sizing: border-box;
}

/* ── 1. الهيرو (متطابق مع dsh-hero و tc-orders-hero و ww-hero) ── */
.ea-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--tc-ink, #0c1a3a);
  color: #ffffff;
  border-radius: 24px;
  padding: 24px 26px;
  position: relative;
  overflow: hidden;
}

.ea-hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  left: -100px;
  top: -155px;
  border: 46px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.ea-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ea-title {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.3;
}

.ea-desc {
  margin: 0;
  font-size: 13.5px;
  color: #aab6d3;
  line-height: 1.6;
}

.ea-cust-id-box {
  position: relative;
  z-index: 1;
  background: var(--tc-surface, #ffffff);
  color: var(--tc-ink, #0c1a3a);
  border-radius: 18px;
  padding: 14px 18px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ea-cust-id-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--tc-muted, #6a7591);
}

.ea-cust-id-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ea-cust-id-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
  direction: ltr;
  font-variant-numeric: tabular-nums;
}

.ea-copy-id-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 12px !important;
  border-radius: 999px;
  border: 1px solid var(--tc-line, #e5e8f0);
  background: var(--tc-bg, #f6f7fb);
  color: var(--tc-blue, #1a5cff);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ea-copy-id-btn:hover {
  background: var(--tc-blue-soft, #ecf1ff);
  border-color: var(--tc-blue, #1a5cff);
}

.ea-copy-id-btn.copied {
  background: #e9f7ef;
  border-color: var(--tc-ok, #12a150);
  color: var(--tc-ok, #12a150);
}

.ea-copy-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ── 2. بطاقة النموذج ── */
.ea-card {
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--tc-shadow, 0 1px 2px rgba(12, 26, 58, .04), 0 8px 24px -12px rgba(12, 26, 58, .14));
}

.ea-body {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ea-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ea-section-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--tc-blue-soft, #ecf1ff);
  color: var(--tc-blue, #1a5cff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ea-section-icon-wrap--accent {
  background: var(--tc-accent-soft, #fff0e8);
  color: var(--tc-accent-ink, #e4561a);
}

.ea-section-icon {
  width: 20px;
  height: 20px;
}

.ea-section-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
  line-height: 1.3;
}

.ea-section-desc {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--tc-muted, #6a7591);
  line-height: 1.5;
}

/* شبكة الحقول */
.ea-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ea-fg {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ea-fg--full {
  grid-column: 1 / -1;
}

.ea-fg label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tc-ink, #0c1a3a);
}

.ea-required {
  color: var(--tc-accent, #ff6a2b);
  margin-inline-start: 2px;
}

.ea-input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1.5px solid var(--tc-line, #e5e8f0);
  background: var(--tc-bg, #f6f7fb);
  color: var(--tc-ink, #0c1a3a);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ea-input::placeholder {
  color: var(--tc-muted, #6a7591);
  opacity: 0.75;
}

.ea-input:focus {
  outline: none;
  border-color: var(--tc-blue, #1a5cff);
  background: #ffffff;
}

.ea-hint {
  font-size: 12px;
  color: var(--tc-muted, #6a7591);
}

/* قسم كلمة المرور */
.ea-pwd-section {
  padding-top: 22px;
  border-top: 1px solid var(--tc-line, #e5e8f0);
}

.ea-pwd-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.ea-pwd-wrap .ea-input {
  padding-inline-end: 46px;
}

.ea-pwd-toggle {
  position: absolute;
  left: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--tc-muted, #6a7591);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 !important;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.ea-pwd-toggle:hover {
  color: var(--tc-blue, #1a5cff);
  background: var(--tc-blue-soft, #ecf1ff);
}

.ea-pwd-toggle .eye-closed {
  display: none;
}

.ea-pwd-toggle.is-visible .eye-open {
  display: none;
}

.ea-pwd-toggle.is-visible .eye-closed {
  display: block;
}

/* تذييل النموذج */
.ea-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 26px;
  background: var(--tc-bg, #f6f7fb);
  border-top: 1px solid var(--tc-line, #e5e8f0);
}

.ea-footer .tc-btn {
  height: 44px;
  padding: 0 24px;
  font-size: 14.5px;
}

.ea-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2.2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  animation: ea-spin 0.7s linear infinite;
}

@keyframes ea-spin {
  to { transform: rotate(360deg); }
}

/* ── الجوال ── */
@media (max-width: 640px) {
  .ea-hero {
    padding: 20px 18px;
    border-radius: 22px;
    gap: 14px;
  }

  .ea-cust-id-box {
    width: 100%;
    min-width: 0;
  }

  .ea-card {
    border-radius: 20px;
  }

  .ea-body {
    padding: 20px 16px;
  }

  .ea-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ea-footer {
    padding: 16px;
    flex-direction: column-reverse;
  }

  .ea-btn-submit,
  .ea-btn-cancel {
    width: 100%;
  }
}

/* --- assets\css\thankyou.css --- */
.thankyou-container {
  direction: rtl;
  font-family: var(--font-family, system-ui, sans-serif);
  max-width: 680px;
  margin: 0 auto;
  padding: 0 0 40px;
  color: var(--color-text, #1a1a1a);
}

.thankyou-container *,
.thankyou-container *::before,
.thankyou-container *::after {
  box-sizing: border-box;
}

/* ── الحاوية الموحدة (Zero Drop Shadow) ── */
.thankyou-card {
  background-color: var(--color-bg, #ffffff);
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none !important;
}

/* ── إخفاء عنوان الفاتورة وتفاصيل العميل تماماً ── */
.woocommerce-customer-details,
.woocommerce-customer-details address,
.woocommerce-column--billing-address,
.woocommerce-column--shipping-address,
.customer-details,
.woocommerce-Address,
.billing-address,
.woocommerce-order-details__customer-details {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* ── لافتة الحالة العلوية ── */
.thankyou-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 20px;
  border-bottom: 1px solid var(--color-divider, #e8e8e8);
}

.thankyou-banner-success {
  background-color: #fcfdfd;
}

.thankyou-banner-danger {
  background-color: #fef2f2;
}

.thankyou-banner-icon-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
}

.thankyou-icon-success svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary, #1a5cff);
}

.thankyou-icon-danger svg {
  width: 28px;
  height: 28px;
  color: #b91c1c;
}

.thankyou-banner-text {
  flex: 1;
  min-width: 0;
}

.thankyou-banner-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading, #0f0f0f) !important;
  margin: 0 0 6px;
  line-height: 1.3;
}

.thankyou-banner-desc {
  font-size: 0.84375rem;
  color: var(--color-text-muted, #555566);
  margin: 0;
  line-height: 1.55;
}

.thankyou-user-email {
  color: var(--color-heading, #0f0f0f);
  font-weight: 600;
}

.thankyou-btn-retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  background-color: #b91c1c;
  color: #ffffff !important;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid #b91c1c;
  transition: background-color 140ms ease-out;
}

.thankyou-btn-retry:hover {
  background-color: #991b1b;
  border-color: #991b1b;
  color: #ffffff !important;
}

/* ── شريط بيانات الطلب الأساسية ── */
.thankyou-meta-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 20px;
  background-color: var(--color-block, #f2f2f2);
  border-bottom: 1px solid var(--color-divider, #e8e8e8);
}

.thankyou-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.thankyou-meta-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-subtle, #888899);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.thankyou-meta-value {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-heading, #0f0f0f) !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}

/* ── شارات الحالة الدلالية ── */
.thankyou-status-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.2;
  white-space: nowrap;
}

.status-success {
  background-color: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.status-warning {
  background-color: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.status-danger {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.status-neutral {
  background-color: var(--color-block, #f2f2f2);
  color: var(--color-text-muted, #555566);
  border: 1px solid var(--color-border, #e0e0e0);
}

/* ── أقسام المحتوى ── */
.thankyou-section {
  padding: 20px;
  border-bottom: 1px solid var(--color-divider, #e8e8e8);
}

.thankyou-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.thankyou-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.thankyou-section-icon {
  width: 16px;
  height: 16px;
  color: var(--color-primary, #1a5cff);
  flex-shrink: 0;
}

.thankyou-section-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-heading, #0f0f0f) !important;
  margin: 0;
  line-height: 1.2;
}

.thankyou-count-chip {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-muted, #555566);
  background-color: var(--color-block, #f2f2f2);
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 4px;
  padding: 2px 7px;
  line-height: 1.2;
}

/* ── قائمة المنتجات ── */
.thankyou-products-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thankyou-product-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background-color: var(--color-bg-secondary, #f9f9fa);
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 8px;
  box-shadow: none !important;
  transition: background-color 140ms ease-out;
}

.thankyou-product-item:hover {
  background-color: #f2f2f5;
}

.thankyou-product-img-wrap {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--color-border, #e0e0e0);
}

.thankyou-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thankyou-product-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.thankyou-product-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.thankyou-product-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-heading, #0f0f0f) !important;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thankyou-product-total {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-heading, #0f0f0f) !important;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

.thankyou-product-total * {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.thankyou-product-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.thankyou-price-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.thankyou-unit-price {
  font-size: 0.75rem;
  color: var(--color-text-muted, #555566);
}

.thankyou-unit-price * {
  font-size: inherit !important;
  color: inherit !important;
}

.thankyou-qty-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-muted, #555566);
  background-color: var(--color-bg, #ffffff);
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.2;
}

.thankyou-sku {
  font-size: 0.6875rem;
  color: var(--color-text-subtle, #888899);
}

/* ── زر ودرج تفاصيل المنتج الإضافية ── */
.thankyou-toggle-meta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--color-primary, #1a5cff);
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 6px;
  padding: 4px 10px;
  min-height: 28px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer !important;
  align-self: flex-start;
  margin-top: 6px;
  position: relative;
  z-index: 2;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color 140ms ease-out, border-color 140ms ease-out, color 140ms ease-out;
}

.thankyou-toggle-meta-btn:hover {
  background-color: var(--color-block, #f2f2f2);
  border-color: var(--color-primary, #1a5cff);
}

.thankyou-toggle-meta-btn:active {
  background-color: rgba(67, 50, 147, 0.1);
}

.thankyou-toggle-meta-btn.active {
  background-color: rgba(67, 50, 147, 0.08);
  border-color: var(--color-primary, #1a5cff);
}

.thankyou-toggle-meta-btn svg,
.thankyou-toggle-meta-btn span {
  pointer-events: none;
}

.thankyou-toggle-svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  transition: transform 160ms ease-out;
}

.thankyou-toggle-meta-btn.active .thankyou-toggle-svg {
  transform: rotate(45deg);
}

.thankyou-meta-drawer {
  margin-top: 8px;
  padding: 10px 14px;
  background-color: var(--color-bg, #ffffff);
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  animation: thankyouDrawerFade 160ms ease-out;
}

.thankyou-meta-drawer[hidden] {
  display: none !important;
}

@keyframes thankyouDrawerFade {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.thankyou-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.thankyou-meta-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.75rem;
  line-height: 1.35;
}

.thankyou-meta-k {
  color: var(--color-text-subtle, #888899);
  font-weight: 600;
  flex-shrink: 0;
}

.thankyou-meta-v {
  color: var(--color-text, #1a1a1a);
  word-break: break-all;
}

/* ── جدول ملخص الفاتورة ── */
.thankyou-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: var(--color-bg-secondary, #f9f9fa);
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 8px;
  padding: 14px 16px;
}

.thankyou-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
}

.thankyou-sum-label {
  color: var(--color-text-muted, #555566);
}

.thankyou-sum-val {
  font-weight: 600;
  color: var(--color-heading, #0f0f0f) !important;
  font-variant-numeric: tabular-nums;
}

.thankyou-sum-val * {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.thankyou-discount-row .thankyou-sum-val {
  color: #15803d !important;
}

.thankyou-total-row {
  border-top: 1px solid var(--color-divider, #e8e8e8);
  padding-top: 10px;
  margin-top: 4px;
}

.thankyou-total-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-heading, #0f0f0f) !important;
}

.thankyou-total-amount {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-heading, #0f0f0f) !important;
  font-variant-numeric: tabular-nums;
}

.thankyou-total-amount * {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

/* ── هوكات المفاتيح والتنزيلات ── */
.thankyou-downloads-wrap {
  padding: 0 20px;
}

.thankyou-gateway-hooks {
  padding: 0 20px;
}

/* ── تذييل الإجراءات والانتقال ── */
.thankyou-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background-color: var(--color-block, #f2f2f2);
  border-top: 1px solid var(--color-divider, #e8e8e8);
}

.thankyou-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  background-color: var(--color-primary, #1a5cff);
  color: #ffffff !important;
  border: 1px solid var(--color-primary, #1a5cff);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none !important;
  transition: background-color 140ms ease-out, border-color 140ms ease-out;
}

.thankyou-btn-primary:hover {
  background-color: var(--color-primary-hover, #352875);
  border-color: var(--color-primary-hover, #352875);
  color: #ffffff !important;
}

.thankyou-btn-primary:visited {
  color: #ffffff !important;
}

.thankyou-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  background-color: var(--color-bg, #ffffff);
  color: var(--color-heading, #0f0f0f) !important;
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none !important;
  transition: background-color 140ms ease-out, border-color 140ms ease-out;
}

.thankyou-btn-secondary:hover {
  background-color: var(--color-block, #f2f2f2);
  border-color: #c0c0c0;
  color: var(--color-heading, #0f0f0f) !important;
}

.thankyou-btn-secondary:visited {
  color: var(--color-heading, #0f0f0f) !important;
}

/* ── الحالة الفارغة ── */
.thankyou-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
}

.thankyou-empty-icon {
  width: 44px;
  height: 44px;
  color: var(--color-text-subtle, #888899);
  margin-bottom: 16px;
}

.thankyou-empty-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading, #0f0f0f);
  margin: 0 0 8px;
}

.thankyou-empty-sub {
  font-size: 0.875rem;
  color: var(--color-text-muted, #555566);
  max-width: 420px;
  margin: 0 0 24px;
  line-height: 1.5;
}

.thankyou-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── التجاوب مع الهواتف الذكية ── */
@media (max-width: 580px) {
  .thankyou-banner {
    padding: 16px;
    gap: 12px;
  }

  .thankyou-meta-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 12px;
    padding: 14px 16px;
  }

  .thankyou-section {
    padding: 16px;
  }

  .thankyou-downloads-wrap,
  .thankyou-gateway-hooks {
    padding: 0 16px;
  }

  .thankyou-product-item {
    gap: 10px;
    padding: 10px;
  }

  .thankyou-product-img-wrap {
    width: 42px;
    height: 42px;
  }

  .thankyou-footer-actions {
    flex-direction: column;
    padding: 16px;
    gap: 10px;
  }

  .thankyou-btn-primary,
  .thankyou-btn-secondary {
    width: 100%;
  }
}

/* --- assets\css\lmfwc-keys.css --- */
.lmfwc-licenses {
  direction: rtl;
  font-family: var(--font-family, 'Tajawal', system-ui, sans-serif);
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.lmfwc-licenses *,
.lmfwc-licenses *::before,
.lmfwc-licenses *::after {
  box-sizing: border-box;
}

/* ── ترويسة القسم ── */
.lmfwc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: var(--tc-shadow, 0 1px 2px rgba(12, 26, 58, .04), 0 8px 24px -12px rgba(12, 26, 58, .14));
}

.lmfwc-head-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lmfwc-head-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--tc-blue-soft, #ecf1ff);
  color: var(--tc-blue, #1a5cff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lmfwc-head-icon svg {
  width: 20px;
  height: 20px;
}

.lmfwc-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
  line-height: 1.3;
}

.lmfwc-sub {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--tc-muted, #6a7591);
}

.lmfwc-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lmfwc-status {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tc-ok, #12a150);
}

/* ── أزرار موحدة ── */
.lmfwc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px !important;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lmfwc-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.lmfwc-btn--primary {
  background: var(--tc-blue, #1a5cff);
  color: #ffffff !important;
}

.lmfwc-btn--primary:hover {
  background: var(--tc-blue-ink, #0f3fc4);
}

.lmfwc-btn--soft {
  background: var(--tc-blue-soft, #ecf1ff);
  color: var(--tc-blue-ink, #0f3fc4);
  border-color: rgba(26, 92, 255, 0.18);
}

.lmfwc-btn--soft:hover {
  background: var(--tc-blue, #1a5cff);
  color: #ffffff;
}

.lmfwc-btn--copy {
  background: var(--tc-surface, #ffffff);
  color: var(--tc-ink, #0c1a3a);
  border-color: var(--tc-line, #e5e8f0);
}

.lmfwc-btn--copy:hover {
  border-color: var(--tc-blue, #1a5cff);
  color: var(--tc-blue, #1a5cff);
  background: var(--tc-blue-soft, #ecf1ff);
}

.lmfwc-btn.is-copied {
  background: #e9f7ef !important;
  border-color: var(--tc-ok, #12a150) !important;
  color: var(--tc-ok, #12a150) !important;
}

/* ── بطاقات المنتجات والمفاتيح ── */
.lmfwc-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lmfwc-card {
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--tc-shadow, 0 1px 2px rgba(12, 26, 58, .04), 0 8px 24px -12px rgba(12, 26, 58, .14));
}

.lmfwc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--tc-bg, #f6f7fb);
  border-bottom: 1px solid var(--tc-line, #e5e8f0);
  flex-wrap: wrap;
}

.lmfwc-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lmfwc-product-name {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
}

.lmfwc-count-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  color: var(--tc-muted, #6a7591);
}

.lmfwc-keys-list {
  display: flex;
  flex-direction: column;
  padding: 10px 16px 14px;
  gap: 8px;
}

.lmfwc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--tc-bg, #f6f7fb);
  border: 1px solid var(--tc-line, #e5e8f0);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.lmfwc-row:hover {
  border-color: rgba(26, 92, 255, 0.3);
  background: #ffffff;
}

.lmfwc-key-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
  flex: 1;
}

.lmfwc-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--tc-ink, #0c1a3a);
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  padding: 6px 12px;
  border-radius: 10px;
  word-break: break-all;
  user-select: all;
}

.lmfwc-exp {
  font-size: 12px;
  color: var(--tc-muted, #6a7591);
}

.lmfwc-exp strong {
  color: var(--tc-ink-2, #3b4766);
}

.lmfwc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lmfwc-empty,
.lmfwc-empty-inline {
  background: var(--tc-surface, #ffffff);
  border: 1px solid var(--tc-line, #e5e8f0);
  border-radius: 22px;
  padding: 36px 20px;
  text-align: center;
  color: var(--tc-muted, #6a7591);
  font-size: 14px;
}

.lmfwc-empty-art svg {
  width: 155px;
  height: auto;
  display: block;
  margin: 0 auto 8px;
}

.lmfwc-empty-text {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--tc-ink, #0c1a3a);
}

@media (max-width: 560px) {
  .lmfwc-head,
  .lmfwc-card-head {
    padding: 14px 16px;
  }

  .lmfwc-keys-list {
    padding: 10px 12px 12px;
  }

  .lmfwc-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .lmfwc-btn--copy {
    width: 100%;
  }
}

/* ── Thank You Page Overrides (Final Cascade) ── */
.thankyou-card .vod-progress-card {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--tc-line, #e5e8f0) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  padding: 22px 20px !important;
}
html.tc-dark .thankyou-banner-success {
  background-color: var(--tc-surface) !important;
}
html.tc-dark .thankyou-banner-danger {
  background-color: rgba(220, 38, 38, 0.14) !important;
}
html.tc-dark .thankyou-product-item,
html.tc-dark .product-item.thankyou-product-item {
  background-color: var(--tc-bg) !important;
  border-color: var(--tc-line) !important;
}
html.tc-dark .thankyou-product-item:hover,
html.tc-dark .product-item.thankyou-product-item:hover {
  background-color: #1a243d !important;
}
html.tc-dark .thankyou-product-img-wrap {
  background-color: var(--tc-surface) !important;
  border-color: var(--tc-line) !important;
}
html.tc-dark .thankyou-btn-secondary:hover {
  background-color: #1a243d !important;
  border-color: var(--tc-blue) !important;
  color: var(--tc-ink) !important;
}
html.tc-dark .thankyou-btn-primary:hover {
  background-color: var(--color-primary-hover, #2563eb) !important;
  border-color: var(--color-primary-hover, #2563eb) !important;
}
html.tc-dark .thankyou-toggle-meta-btn:hover,
html.tc-dark .thankyou-toggle-meta-btn.active {
  background-color: #1a243d !important;
  border-color: var(--tc-blue) !important;
  color: var(--tc-ink) !important;
}

/* ── Wishlist Modal (2026 Brand Layer) ── */
.wishlist-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(12, 26, 58, 0.56);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  direction: rtl;
}
.wishlist-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}
.wishlist-modal {
  width: 100%;
  max-width: 560px;
  max-height: 84vh;
  background: var(--tc-surface, #ffffff);
  color: var(--tc-ink, #0c1a3a);
  border: 1px solid var(--tc-line, #e5e8f0);
  border-radius: 24px;
  box-shadow: var(--tc-shadow-up);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease;
}
.wishlist-overlay.is-active .wishlist-modal {
  transform: translateY(0) scale(1);
}
.wishlist-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--tc-line, #e5e8f0);
}
.wishlist-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wishlist-modal-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(225, 29, 72, 0.12);
  color: #e11d48;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wishlist-modal-icon-box svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.wishlist-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--tc-ink, #0c1a3a);
}
.wishlist-modal-count-pill {
  font-size: 12px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--tc-bg, #f6f7fb);
  color: var(--tc-muted, #6a7591);
  font-variant-numeric: tabular-nums;
}
.wishlist-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wishlist-modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--tc-line, #e5e8f0);
  background: var(--tc-bg, #f6f7fb);
  color: var(--tc-ink, #0c1a3a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 !important;
}
.wishlist-modal-close-btn:hover {
  background: var(--tc-blue-soft);
  color: var(--tc-blue);
}
.wishlist-modal-close-btn svg {
  width: 16px;
  height: 16px;
}
.tc-wl-row-view {
  display: none;
}
.wishlist-modal-body {
  padding: 14px 18px;
  overflow-y: auto;
  flex: 1;
}
.wishlist-modal-body .tc-wl-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wishlist-modal-body .tc-wl-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  padding-inline-end: 54px;
  border-radius: 14px;
  box-shadow: none;
  position: relative;
}
.wishlist-modal-body .tc-wl-card:hover {
  transform: none;
}
.wishlist-modal-body .tc-wl-media {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  position: static;
}
.wishlist-modal-body .tc-wl-remove-btn {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--tc-bg, #f6f7fb);
  color: var(--tc-muted, #6a7591);
  border: 1px solid var(--tc-line, #e5e8f0);
}
.wishlist-modal-body .tc-wl-remove-btn:hover {
  background: #e5484d;
  border-color: #e5484d;
  color: #ffffff;
}
.wishlist-modal-body .tc-wl-body {
  flex: 1;
  min-width: 0;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  order: 2;
}
.wishlist-modal-body .tc-wl-item-title {
  font-size: 14px;
  font-weight: 800;
  -webkit-line-clamp: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.wishlist-modal-body .tc-wl-row-view {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--tc-blue, #1a5cff);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}
.wishlist-modal-body .tc-wl-row-view:hover {
  background: var(--color-primary-hover, #2563eb);
}
.wishlist-modal-body .tc-wl-row-view svg {
  width: 14px;
  height: 14px;
}
.wishlist-modal-body .tc-wl-empty {
  border: 0;
  box-shadow: none;
  padding: 28px 14px;
}
html.tc-dark .wishlist-modal-body .tc-wl-card {
  background: var(--tc-bg);
  border-color: var(--tc-line);
}
html.tc-dark .wishlist-modal-body .tc-wl-card:hover {
  background: #1a243d;
}
html.tc-dark .wishlist-modal-body .tc-wl-remove-btn {
  background: var(--tc-surface);
  border-color: var(--tc-line);
  color: var(--tc-muted);
}
.wishlist-modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--tc-line, #e5e8f0);
  display: flex;
  justify-content: flex-end;
}
.wishlist-continue-btn {
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--tc-line, #e5e8f0);
  background: var(--tc-bg, #f6f7fb);
  color: var(--tc-ink, #0c1a3a);
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.wishlist-continue-btn:hover {
  border-color: var(--tc-blue);
  color: var(--tc-blue);
}
html.tc-dark .wishlist-modal {
  background: var(--tc-surface);
  border-color: var(--tc-line);
}
html.tc-dark .wishlist-modal-close-btn:hover,
html.tc-dark .wishlist-continue-btn:hover {
  background: #1a243d;
  color: var(--tc-blue-ink);
  border-color: var(--tc-blue);
}
@media (max-width: 560px) {
  .wishlist-modal {
    max-height: 88vh;
    border-radius: 20px;
  }
  .wishlist-modal-body .tc-wl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}



/* ═════════ PERFORMANCE — no backdrop blur on phones / reduced motion (2026-12-02) ═════════
   Blur behind full-screen overlays and the hero slider controls is expensive on mobile GPUs.
   The overlays are already dark/semi-opaque, so they look almost the same without it. */
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .mnav-overlay,
  .search-popup-overlay,
  .tc-skin .search-popup-overlay,
  .wishlist-overlay,
  .ww-modal-backdrop,
  #wc-force-modal,
  .tc-hs-nav,
  .tc-hs-dots {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}