:root {
  --color-primary:        #D4AF37;
  --color-primary-hover:  #E7C65C;
  --color-primary-light:  rgba(212, 175, 55, 0.14);
  --color-primary-dark:   #B8921E;

  --color-bg:             #0B1120;
  --color-bg-secondary:   #111827;
  --color-block:          #172033;
  --color-block-hover:    #1D2940;
  --color-block-alt:      #1A2436;
  --color-overlay:        rgba(11, 17, 32, 0.85);

  --color-text:           #EAF0FF;
  --color-text-muted:     #A6B0C5;
  --color-text-subtle:    #71809A;
  --color-text-inverse:   #0B1120;
  --color-heading:        #FFFFFF;

  --color-header-bg:      rgba(5, 20, 37, 0.75);
  --color-border:         #243045;
  --color-border-hover:   #D4AF37;
  --color-border-focus:   rgba(212, 175, 55, 0.50);
  --color-divider:        #1A2436;

  --color-link:           #D4AF37;
  --color-link-hover:     #E7C65C;
  --color-link-visited:   #B8921E;

  --btn-bg:               #D4AF37;
  --btn-text:             #0B1120;
  --btn-hover-bg:         #E7C65C;
  --btn-hover-text:       #0B1120;
  --btn-active-bg:        #B8921E;
  --btn-border-radius:    6px;
  --btn-padding:          10px 22px;
  --btn-font-size:        0.875rem;
  --btn-font-weight:      600;
  --btn-transition:       background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;

  --btn-outline-bg:       transparent;
  --btn-outline-text:     #D4AF37;
  --btn-outline-border:   #D4AF37;
  --btn-outline-hover-bg: rgba(212, 175, 55, 0.14);

  --input-bg:             #172033;
  --input-text:           #EAF0FF;
  --input-border:         #243045;
  --input-focus-border:   #D4AF37;
  --input-focus-shadow:   0 0 0 3px rgba(212, 175, 55, 0.18);
  --input-placeholder:    #71809A;
  --input-border-radius:  5px;
  --input-padding:        10px 14px;
  --input-font-size:      0.9rem;

  --card-bg:              #172033;
  --card-border:          #243045;
  --card-hover-border:    #D4AF37;
  --card-hover-shadow:    0 4px 20px rgba(212, 175, 55, 0.12);
  --card-border-radius:   10px;
  --card-padding:         24px;
  --card-transition:      border-color 0.25s ease, box-shadow 0.25s ease;

  --badge-bg:             rgba(212, 175, 55, 0.14);
  --badge-text:           #D4AF37;
  --badge-border:         rgba(212, 175, 55, 0.30);
  --badge-border-radius:  4px;

  --alert-success-bg:     rgba(34, 197, 94, 0.12);
  --alert-success-text:   #4ADE80;
  --alert-success-border: rgba(34, 197, 94, 0.30);
  --alert-error-bg:       rgba(239, 68, 68, 0.12);
  --alert-error-text:     #F87171;
  --alert-error-border:   rgba(239, 68, 68, 0.30);
  --alert-warning-bg:     rgba(212, 175, 55, 0.12);
  --alert-warning-text:   #E7C65C;
  --alert-warning-border: rgba(212, 175, 55, 0.30);
  --alert-info-bg:        rgba(59, 130, 246, 0.12);
  --alert-info-text:      #93C5FD;
  --alert-info-border:    rgba(59, 130, 246, 0.30);

  --shadow-sm:            0 1px 4px rgba(0, 0, 0, 0.40);
  --shadow-md:            0 4px 16px rgba(0, 0, 0, 0.50);
  --shadow-lg:            0 8px 32px rgba(0, 0, 0, 0.60);
  --shadow-primary:       0 4px 20px rgba(212, 175, 55, 0.20);

  --font-family: 'Noto Kufi Arabic', 'Segoe UI', system-ui, sans-serif;
  --font-family-heading:  'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-size-xs:         0.75rem;
  --font-size-sm:         0.8125rem;
  --font-size-base:       0.9rem;
  --font-size-md:         1rem;
  --font-size-lg:         1.125rem;
  --font-size-xl:         1.25rem;
  --font-size-2xl:        1.5rem;
  --font-size-3xl:        1.875rem;
  --font-size-4xl:        2.25rem;
  --font-weight-normal:   400;
  --font-weight-medium:   500;
  --font-weight-semi:     600;
  --font-weight-bold:     700;
  --line-height-base:     1.65;
  --line-height-heading:  1.25;
  --letter-spacing-base:  0.01em;

  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   32px;
  --space-2xl:  48px;
  --space-3xl:  64px;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  --z-dropdown: 100;
  --z-sticky:   200;
  --z-modal:    1000;
  --z-overlay:  999;
  --z-tooltip:  1100;

  --scrollbar-track:       #0B1120;
  --scrollbar-thumb:       #243045;
  --scrollbar-thumb-hover: #D4AF37;
}

[data-theme="light"] {
  --color-bg:             #F8FAFC;
  --color-bg-secondary:   #FFFFFF;
  --color-block:          #FFFFFF;
  --color-block-hover:    #F1F5F9;
  --color-block-alt:      #F1F5F9;
  --color-overlay:        rgba(248, 250, 252, 0.85);

  --color-text:           #1E293B;
  --color-text-muted:     #475569;
  --color-text-subtle:    #64748B;
  --color-text-inverse:   #FFFFFF;
  --color-heading:        #0F172A;

  --color-header-bg:      rgba(250, 249, 246, 0.545);
  --color-border:         #E2E8F0;
  --color-border-hover:   #D4AF37;
  --color-border-focus:   rgba(212, 175, 55, 0.50);
  --color-divider:        #E2E8F0;

  --input-bg:             #FFFFFF;
  --input-text:           #1E293B;
  --input-border:         #E2E8F0;
  --input-placeholder:    #94A3B8;

  --card-bg:              #FFFFFF;
  --card-border:          #E2E8F0;

  --scrollbar-track:      #F8FAFC;
  --scrollbar-thumb:      #CBD5E1;
  --scrollbar-thumb-hover:#94A3B8;

  --shadow-sm:            0 1px 3px rgba(0,0,0,0.05);
  --shadow-md:            0 4px 10px rgba(0,0,0,0.05);
  --shadow-lg:            0 10px 25px rgba(0,0,0,0.05);
}

[data-theme="light"] .elementor-widget-wrap,
[data-theme="light"] .cat-box,
[data-theme="light"] .app-card-inner {
  background-color: var(--color-block) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  border-color: var(--color-border) !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg) !important;
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing-base);
}

/* ─── Theme Toggle Icons Styling ─── */
.theme-toggle .sun-icon {
  color: #FFD700 !important; /* Gold */
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
}

.theme-toggle .moon-icon {
  color: #cbd5e1 !important; /* Silver/Slate */
}

[data-theme="light"] .theme-toggle .moon-icon {
  color: #475569 !important; /* Dark slate for light mode */
}

[data-theme="light"] .theme-toggle .theme-label {
  color: #475569 !important;
  font-weight: 800 !important;
}

.theme-toggle:hover .sun-icon {
  transform: rotate(45deg) scale(1.1);
}

.theme-toggle:hover .moon-icon {
  transform: rotate(-15deg) scale(1.1);
}
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[data-theme="light"] body,
[data-theme="light"] .site-layout,
[data-theme="light"] .site-main,
[data-theme="light"] .site-footer {
  background-color: var(--color-bg) !important;
}

[data-theme="light"] .elementor-section.elementor-section-boxed > .elementor-container {
  /* Only override the container if it's acting as the main background, otherwise let inner elements have their block color */
}

[data-theme="light"] .elementor-widget-container {
  color: var(--color-text);
}


h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-weight: var(--font-weight-bold);
	  --font-family: 'Noto Kufi Arabic', 'Segoe UI', system-ui, sans-serif;
  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: 'Noto Kufi Arabic', 'Segoe UI', system-ui, sans-serif;
  transition: color var(--transition-base);
}
a:hover  { color: var(--color-link-hover); }
a:visited { color: var(--color-link-visited); }

.tlo-ebtns a {
	color:black;
}
p {
  font-size: var(--font-size-base);
  color: var(--color-text);
	  --font-family: 'Noto Kufi Arabic', 'Segoe UI', system-ui, sans-serif;
  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);
  cursor: pointer;
  transition: var(--btn-transition);
	  --font-family: 'Noto Kufi Arabic', 'Segoe UI', system-ui, sans-serif;
  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);
  border: 1px solid var(--input-border);
  border-radius: var(--input-border-radius);
  padding: var(--input-padding);
  font-size: var(--input-font-size);
    --font-family: 'Noto Kufi Arabic', 'Segoe UI', system-ui, sans-serif;
  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: 'Noto Kufi Arabic', 'Segoe UI', system-ui, sans-serif;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--input-focus-border);
  box-shadow: var(--input-focus-shadow);
	  --font-family: 'Noto Kufi Arabic', 'Segoe UI', system-ui, sans-serif;
}

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(255, 189, 32, 0.25);
  color: var(--color-heading);
}





.woocommerce-MyAccount-navigation {
    display: none !important;
}
 


═══════════════════════════════ */
		
.cat-box {
  position: relative;
  background: var(--color-block);
  border-radius: 14px;
  padding: 14px;
  margin: 12px 14px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  transition: var(--g-transition);
}

[data-theme="light"] .cat-box {
  border-color: rgba(0,0,0,0.05);
}

/* العنوان */
.cat-title {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-weight: 700;
}

/* الجريد */
.cat-products{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:8px;
}

/* الصور */
.cat-products img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--color-border);
}

/* زر المزيد */
.more-btn{
  position:absolute;
  top:10px;
  left:10px;
  background: linear-gradient(135deg, #facc15, #eab308); /* ذهبي */
  color:#111;
  padding:5px 9px;
  border-radius:7px;
  font-size:11px;
  text-decoration:none;
  font-weight:600;
}

/* ═══════════════════════════════
   PRODUCTS — App Store Style
═══════════════════════════════ */
.products-section {
  padding: 16px 16px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px 12px;
}

.product-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: transform 0.2s ease;
}

.product-card:hover { transform: translateY(-3px); }

.product-card-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  background-color: var(--color-block);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover .product-card-thumb {
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  border-color: var(--color-primary);
}

.product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-card-thumb-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-thumb-ph svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-text-subtle);
  fill: none;
  stroke-width: 1.5;
}

.product-card-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
}

/* موبايل — 3 بالصف */
@media (max-width: 768px) {
  .cats-bar { gap: 2px; }
  .cat-item { padding: 8px 10px; }
  .cat-icon { width: 44px; height: 44px; }
  .cat-icon svg { width: 19px; height: 19px; }
  .cat-label { font-size: 0.7rem; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }

  .product-card-thumb { border-radius: 18px; }
  .product-card-name  { font-size: 0.7rem; }
}






