@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@600;700;800;900&family=Tajawal:wght@400;500;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  /* CYJ Studio Core Theme Variables */
  --cyj-bg: #020712;
  --cyj-bg-secondary: #07111F;
  --cyj-surface: #0B1727;
  --cyj-primary: #00DCEB;
  --cyj-primary-hover: #42F1FF;
  --cyj-text: #FFFFFF;
  --cyj-text-muted: #A9B6C7;
  --cyj-border: rgba(0, 220, 235, 0.20);

  /* Legacy variable mapping for smooth fallback compatibility */
  --ink: var(--cyj-text);
  --paper: var(--cyj-bg);
  --paper-soft: var(--cyj-bg-secondary);
  --deep: var(--cyj-surface);
  --deep-2: var(--cyj-bg);
  --brass: var(--cyj-primary);
  --brass-dim: var(--cyj-primary-hover);
  --rust: #ff5252;
  --line: var(--cyj-border);
  --line-dark: rgba(0, 220, 235, 0.15);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  --radius: 10px;
  --font-display: 'Cairo', 'Tajawal', sans-serif;
  --font-body: 'Tajawal', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  background: var(--cyj-bg);
  color: var(--cyj-text);
  direction: rtl;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0 0 0.4em;
  letter-spacing: normal;
  color: var(--cyj-text);
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }
input, textarea, select {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
}

/* --- Layout helpers --- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 560px; margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius);
  padding: 13px 26px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cyj-primary); color: #020712; }
.btn-primary:hover { background: var(--cyj-primary-hover); box-shadow: 0 6px 18px rgba(0, 220, 235, 0.35); }
.btn-dark { background: var(--cyj-surface); color: var(--cyj-text); border: 1px solid var(--cyj-border); }
.btn-dark:hover { background: var(--cyj-bg-secondary); border-color: var(--cyj-primary); }
.btn-outline { background: transparent; border: 1.5px solid var(--cyj-border); color: var(--cyj-text); }
.btn-outline:hover { border-color: var(--cyj-primary); color: var(--cyj-primary); }
.btn-danger { background: transparent; color: var(--rust); border: 1.5px solid rgba(255, 82, 82, 0.35); }
.btn-danger:hover { background: rgba(255, 82, 82, 0.12); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 14px; font-weight: 700; }

/* --- Google OAuth Button & Auth Divider --- */
.btn-google {
  background: #ffffff;
  color: #1f2937;
  border: 1.5px solid #d1d5db;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  min-height: 48px;
  user-select: none;
  text-decoration: none;
}
.btn-google:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #94a3b8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
  color: #0f172a;
}
.btn-google:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.btn-google:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.btn-google svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--cyj-text-muted);
  font-size: 13px;
  font-weight: 600;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--cyj-border);
}
.auth-divider span {
  padding: 0 14px;
}

/* --- Form fields --- */
.field { margin-bottom: 18px; text-align: right; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--cyj-border);
  border-radius: 8px;
  background: var(--cyj-surface);
  color: var(--cyj-text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--cyj-primary); box-shadow: 0 0 0 3px rgba(0, 220, 235, 0.15); }
.field textarea { resize: vertical; min-height: 90px; }
.hint { font-size: 13px; color: #94A3B8; margin-top: 5px; }

/* --- Cards --- */
.card {
  background: var(--cyj-surface);
  border: 1px solid var(--cyj-border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

/* --- Stamp / signature seal (brand mark) --- */
.stamp {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--cyj-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  color: var(--cyj-primary);
  flex-shrink: 0;
  background: var(--cyj-bg);
}
.stamp.dark { border-color: var(--cyj-primary); color: var(--cyj-primary); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.14);
  border: 1px solid rgba(0, 229, 255, 0.4);
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.platform-subtitle {
  font-size: 16px;
  font-weight: 800;
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.12);
  padding: 5px 14px;
  border-radius: 8px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  display: inline-block;
}

/* --- Nav --- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(2, 7, 18, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cyj-border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 900; font-size: 24px; color: var(--cyj-text); }
.brand img { height: 72px !important; width: auto; max-width: 340px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.nav-links .btn { font-size: 15px; padding: 10px 22px; }

/* --- Alerts / toasts --- */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid transparent;
}
.alert-error { background: rgba(255, 82, 82, 0.12); color: #ff8080; border-color: rgba(255, 82, 82, 0.3); }
.alert-success { background: rgba(0, 220, 235, 0.12); color: var(--cyj-primary); border-color: var(--cyj-border); }

/* --- Badge --- */
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(0, 220, 235, 0.12);
  color: var(--cyj-primary);
  letter-spacing: 0.03em;
}
.badge.new { background: rgba(0, 220, 235, 0.2); color: var(--cyj-primary); }
.badge.done { background: rgba(0, 220, 235, 0.15); color: var(--cyj-primary); }
.badge.cancelled { background: rgba(255, 82, 82, 0.15); color: var(--rust); }

/* --- Ledger table (dashboard) --- */
.ledger { width: 100%; border-collapse: collapse; }
.ledger th {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyj-text-muted);
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--cyj-border);
}
.ledger td {
  padding: 14px;
  border-bottom: 1px solid var(--cyj-border);
  font-size: 14px;
  vertical-align: middle;
  color: var(--cyj-text);
}
.ledger tr:last-child td { border-bottom: none; }
.price { font-family: var(--font-mono); font-weight: 600; color: var(--cyj-primary); }

/* --- Scroll reveal --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: rise 0.6s ease forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--cyj-border); border-radius: 8px; }

:focus-visible { outline: 2.5px solid var(--cyj-primary); outline-offset: 2px; }

/* --- Enhanced Product Cards & Image Container --- */
.product-card {
  background: var(--cyj-surface);
  border: 1px solid var(--cyj-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyj-primary);
  box-shadow: 0 12px 30px rgba(0, 220, 235, 0.12);
}
.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, rgba(15, 25, 45, 0.9) 0%, rgba(6, 12, 24, 0.98) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  border-bottom: 1px solid var(--cyj-border);
  cursor: pointer;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.product-card:hover .product-img {
  transform: scale(1.06);
}
.product-img-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.6s infinite ease-in-out;
  pointer-events: none;
}
@keyframes skeletonPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Product Details & Gallery Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(2, 7, 18, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active,
.modal-overlay.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.product-modal {
  background: var(--cyj-surface);
  border: 1px solid var(--cyj-border);
  border-radius: 20px;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  padding: 28px;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .product-modal {
  transform: scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--cyj-border);
  color: var(--cyj-text);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.modal-close-btn:hover { background: rgba(255, 82, 82, 0.2); color: #ff5252; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.gallery-main-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, rgba(15, 25, 45, 0.9) 0%, rgba(6, 12, 24, 0.98) 100%);
  border-radius: 14px;
  border: 1px solid var(--cyj-border);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(2, 7, 18, 0.75);
  border: 1px solid var(--cyj-border);
  color: var(--cyj-primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
  z-index: 2;
}
.gallery-nav-btn:hover { background: var(--cyj-primary); color: #020712; }
.gallery-nav-prev { right: 10px; }
.gallery-nav-next { left: 10px; }

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.gallery-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 2px solid var(--cyj-border);
  background: var(--cyj-bg);
  padding: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-thumb.active {
  border-color: var(--cyj-primary);
  box-shadow: 0 0 10px rgba(0, 220, 235, 0.3);
}

/* --- Custom Stores Section (المتاجر المخصصة) --- */
.custom-stores-section {
  padding: 80px 0;
  background: radial-gradient(circle at 15% 30%, rgba(0, 229, 255, 0.08) 0%, transparent 50%), var(--cyj-bg);
  border-top: 1px solid var(--cyj-border);
  border-bottom: 1px solid var(--cyj-border);
}
.custom-stores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.custom-store-card {
  background: var(--cyj-surface);
  border: 1px solid var(--cyj-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.custom-store-card:hover {
  transform: translateY(-6px);
  border-color: #00E5FF;
  box-shadow: 0 16px 40px rgba(0, 229, 255, 0.15);
}
.browser-mockup-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #080f1d;
  overflow: hidden;
  border-bottom: 1px solid var(--cyj-border);
}
.browser-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.custom-store-card:hover .browser-mockup-img {
  transform: scale(1.03);
}
.custom-badge-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(2, 7, 18, 0.88);
  color: #00E5FF;
  border: 1px solid rgba(0, 229, 255, 0.4);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.custom-store-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.custom-store-cat {
  font-size: 13px;
  font-weight: 700;
  color: #00E5FF;
  margin-bottom: 6px;
}
.custom-store-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--cyj-text);
  margin-bottom: 10px;
  line-height: 1.4;
}
.custom-store-desc {
  font-size: 14px;
  color: var(--cyj-text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}
.custom-store-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.custom-store-tag {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--cyj-border);
  color: var(--cyj-text-muted);
}
.custom-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(0, 136, 255, 0.15) 100%);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: #00E5FF;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.custom-store-btn:hover {
  background: #00E5FF;
  color: #020712;
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.3);
}

/* --- Service Distinction Banner --- */
.custom-service-banner {
  background: linear-gradient(135deg, rgba(13, 22, 38, 0.95) 0%, rgba(8, 14, 25, 0.98) 100%);
  border: 1px stroke rgba(0, 229, 255, 0.25);
  border-radius: 20px;
  padding: 36px 30px;
  text-align: center;
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.custom-service-banner h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--cyj-text);
  margin-bottom: 12px;
}
.custom-service-banner p {
  font-size: 15px;
  color: var(--cyj-text-muted);
  max-width: 620px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.custom-service-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Accessibility & Skip Link --- */
.skip-link {
  position: absolute;
  top: -100px;
  right: 16px;
  background: var(--cyj-primary);
  color: #020712;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

*:focus-visible {
  outline: 2px solid var(--cyj-primary) !important;
  outline-offset: 3px !important;
}

/* --- Breadcrumbs Navigation --- */
.breadcrumb-nav {
  background: rgba(11, 23, 39, 0.6);
  border-bottom: 1px solid var(--cyj-border);
  padding: 12px 0;
  font-size: 14px;
  color: var(--cyj-text-muted);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb-item a {
  color: var(--cyj-text-muted);
  transition: color 0.15s ease;
}
.breadcrumb-item a:hover {
  color: var(--cyj-primary);
}
.breadcrumb-item.active {
  color: var(--cyj-text);
  font-weight: 700;
}
.breadcrumb-separator {
  color: var(--cyj-border);
  font-size: 12px;
}

/* --- Navigation & Service Links --- */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-item-link {
  color: var(--cyj-text-muted);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.15s ease;
}
.nav-item-link:hover, .nav-item-link.active {
  color: var(--cyj-primary);
}

/* Services Dropdown Menu */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown-trigger {
  background: none;
  border: none;
  color: var(--cyj-text-muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
}
.nav-dropdown-trigger:hover { color: var(--cyj-primary); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--cyj-surface);
  border: 1px solid var(--cyj-border);
  border-radius: 12px;
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--cyj-text);
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown-item:hover {
  background: rgba(0, 220, 235, 0.1);
  color: var(--cyj-primary);
}

/* --- FAQ Accordion Layout --- */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.faq-card {
  background: var(--cyj-surface);
  border: 1px solid var(--cyj-border);
  border-radius: 14px;
  padding: 22px 26px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-card:hover {
  border-color: var(--cyj-primary);
  box-shadow: 0 6px 20px rgba(0, 220, 235, 0.12);
}
.faq-question {
  font-size: 18px;
  font-weight: 800;
  color: var(--cyj-text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-question::before {
  content: '✦';
  color: var(--cyj-primary);
  font-size: 16px;
}
.faq-answer {
  font-size: 15px;
  color: var(--cyj-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* --- Feature Grid Cards for Landing Pages --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.feature-card {
  background: var(--cyj-surface);
  border: 1px solid var(--cyj-border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyj-primary);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: inline-block;
}
.feature-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--cyj-text);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 14px;
  color: var(--cyj-text-muted);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .custom-stores-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .product-modal { padding: 20px; }
  .nav-menu { display: none; } /* Handled mobile nav */
}
@media (max-width: 520px) {
  .custom-service-actions { flex-direction: column; width: 100%; }
  .custom-service-actions .btn { width: 100%; }
}

@media (max-width: 640px) {
  .wrap, .container-narrow { padding: 0 16px; }
}



