/* ==========================================================================
   MOBILAB SD — UNIVERSAL MULTI-THEME STOREFRONT & MARKETPLACE STYLESHEET
   Supports 5 Main Platform Themes & 8 Store Specific Themes
   High-Performance, Pure CSS3, Semantic & RTL Optimized
   ========================================================================== */

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

:root {
  --font-main: 'Cairo', 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --container-max: 1280px;

  /* Default Theme: modern-marketplace */
  --bg-page: #0B1110;
  --bg-surface: #111A18;
  --bg-surface-elevated: #16221F;
  --bg-glass: rgba(17, 26, 24, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(16, 185, 129, 0.35);
  
  --primary: #10B981;
  --primary-glow: rgba(16, 185, 129, 0.25);
  --primary-hover: #059669;
  --secondary: #06B6D4;
  --accent: #F59E0B;
  
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --card-hover-shadow: 0 20px 40px -15px rgba(16, 185, 129, 0.15);
}

/* ==========================================================================
   THEME VARIATIONS (5 Main Marketplace Themes)
   ========================================================================== */

/* 1. Theme: modern-marketplace */
[data-theme="modern-marketplace"] {
  --bg-page: #0B1110;
  --bg-surface: #121C1A;
  --bg-surface-elevated: #172421;
  --border-color: rgba(255, 255, 255, 0.08);
  --primary: #10B981;
  --secondary: #06B6D4;
  --accent: #F59E0B;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
}

/* 2. Theme: premium-electronics (Dark Titanium & Luxury Gold) */
[data-theme="premium-electronics"] {
  --bg-page: #0A0A0D;
  --bg-surface: #121217;
  --bg-surface-elevated: #1A1A22;
  --border-color: rgba(212, 175, 55, 0.18);
  --border-hover: rgba(212, 175, 55, 0.45);
  --primary: #D4AF37;
  --primary-glow: rgba(212, 175, 55, 0.25);
  --primary-hover: #B89628;
  --secondary: #E2E8F0;
  --accent: #F59E0B;
  --text-main: #FAF8F5;
  --text-muted: #A3A3A3;
  --card-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.7);
  --card-hover-shadow: 0 22px 45px -12px rgba(212, 175, 55, 0.2);
}

/* 3. Theme: minimal-commerce (Clean, Crisp Scandi White & Slate) */
[data-theme="minimal-commerce"] {
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(15, 23, 42, 0.25);
  --primary: #0F172A;
  --primary-glow: rgba(15, 23, 42, 0.1);
  --primary-hover: #1E293B;
  --secondary: #2563EB;
  --accent: #D97706;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --card-hover-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

/* 4. Theme: dark-technology (Futuristic Cyberpunk & Neon Cyan) */
[data-theme="dark-technology"] {
  --bg-page: #050811;
  --bg-surface: #090E1D;
  --bg-surface-elevated: #0E162B;
  --border-color: rgba(0, 240, 255, 0.15);
  --border-hover: rgba(0, 240, 255, 0.5);
  --primary: #00F0FF;
  --primary-glow: rgba(0, 240, 255, 0.3);
  --primary-hover: #00C4D4;
  --secondary: #A855F7;
  --accent: #FF0055;
  --text-main: #E2E8F0;
  --text-muted: #94A3B8;
  --card-shadow: 0 10px 30px rgba(0, 240, 255, 0.05);
  --card-hover-shadow: 0 15px 40px rgba(0, 240, 255, 0.2);
}

/* 5. Theme: professional-marketplace (B2B Enterprise Navy & Blue) */
[data-theme="professional-marketplace"] {
  --bg-page: #F1F5F9;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #E2E8F0;
  --border-color: rgba(30, 64, 175, 0.12);
  --border-hover: rgba(30, 64, 175, 0.35);
  --primary: #1E40AF;
  --primary-glow: rgba(30, 64, 175, 0.15);
  --primary-hover: #1D4ED8;
  --secondary: #0284C7;
  --accent: #E11D48;
  --text-main: #0F172A;
  --text-muted: #475569;
  --card-shadow: 0 4px 15px rgba(30, 64, 175, 0.06);
  --card-hover-shadow: 0 12px 28px rgba(30, 64, 175, 0.12);
}

/* ==========================================================================
   STORE SPECIFIC THEMES (8 Store Themes)
   ========================================================================== */

/* Store Theme 1: modern-electronics */
[data-theme="store-modern-electronics"] {
  --bg-page: #0C131F;
  --bg-surface: #131E31;
  --bg-surface-elevated: #1A2842;
  --primary: #3B82F6;
  --secondary: #10B981;
  --accent: #F59E0B;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --border-color: rgba(59, 130, 246, 0.15);
}

/* Store Theme 2: premium-tech-store */
[data-theme="store-premium-tech-store"] {
  --bg-page: #070709;
  --bg-surface: #0F0F14;
  --bg-surface-elevated: #161620;
  --primary: #D4AF37;
  --secondary: #F3F4F6;
  --accent: #F59E0B;
  --text-main: #FAFAF9;
  --text-muted: #A8A29E;
  --border-color: rgba(212, 175, 55, 0.2);
}

/* Store Theme 3: minimal-product-store */
[data-theme="store-minimal-product-store"] {
  --bg-page: #FAFAFA;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F4F4F5;
  --primary: #18181B;
  --secondary: #10B981;
  --accent: #E11D48;
  --text-main: #18181B;
  --text-muted: #71717A;
  --border-color: rgba(0, 0, 0, 0.08);
}

/* Store Theme 4: dark-gaming-store */
[data-theme="store-dark-gaming-store"] {
  --bg-page: #090611;
  --bg-surface: #110B22;
  --bg-surface-elevated: #1A1233;
  --primary: #A855F7;
  --secondary: #EC4899;
  --accent: #00F0FF;
  --text-main: #F5F3FF;
  --text-muted: #A78BFA;
  --border-color: rgba(168, 85, 247, 0.2);
}

/* Store Theme 5: mobile-accessories */
[data-theme="store-mobile-accessories"] {
  --bg-page: #0E1726;
  --bg-surface: #162238;
  --bg-surface-elevated: #1E2F4C;
  --primary: #FF5722;
  --secondary: #00BCD4;
  --accent: #FFC107;
  --text-main: #FFFFFF;
  --text-muted: #B0BEC5;
  --border-color: rgba(255, 87, 34, 0.2);
}

/* Store Theme 6: pro-computer-store */
[data-theme="store-pro-computer-store"] {
  --bg-page: #0D1624;
  --bg-surface: #142033;
  --bg-surface-elevated: #1C2D47;
  --primary: #2563EB;
  --secondary: #0D9488;
  --accent: #F59E0B;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --border-color: rgba(37, 99, 235, 0.18);
}

/* Store Theme 7: classic-commerce */
[data-theme="store-classic-commerce"] {
  --bg-page: #F5F7FA;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #EDF2F7;
  --primary: #C2410C;
  --secondary: #047857;
  --accent: #B45309;
  --text-main: #1A202C;
  --text-muted: #4A5568;
  --border-color: rgba(0, 0, 0, 0.09);
}

/* Store Theme 8: modern-catalog */
[data-theme="store-modern-catalog"] {
  --bg-page: #10141D;
  --bg-surface: #181E2B;
  --bg-surface-elevated: #21293B;
  --primary: #E0E7FF;
  --secondary: #6366F1;
  --accent: #F43F5E;
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --border-color: rgba(99, 102, 241, 0.2);
}

/* ==========================================================================
   BASE RESET & TYPOGRAPHY
   ========================================================================== */

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

html {
  font-family: var(--font-main);
  direction: rtl;
  text-align: right;
  background-color: var(--bg-page);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-page);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--border-color);
  background-color: transparent;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--bg-surface-elevated);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}

/* ==========================================================================
   HERO BANNER & SLIDER
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 17, 16, 0.95) 0%, rgba(11, 17, 16, 0.75) 50%, rgba(11, 17, 16, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 3rem;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   SEARCH BAR & CATEGORY BAR
   ========================================================================== */

.search-section {
  margin: -1.5rem auto 2.5rem;
  position: relative;
  z-index: 20;
}

.search-bar-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  padding: 0.6rem 1rem;
  outline: none;
}

.category-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.category-pill {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.category-pill:hover, .category-pill.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

/* ==========================================================================
   PRODUCT CARDS & GRIDS
   ========================================================================== */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.section-title {
  font-size: 1.65rem;
  font-weight: 800;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--card-shadow);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--card-hover-shadow);
}

.product-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 11;
  background-color: var(--bg-surface-elevated);
  overflow: hidden;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb {
  transform: scale(1.05);
}

.product-badge-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(8px);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-store-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #F8FAFC;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

.product-info {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.product-specs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.spec-chip {
  background-color: var(--bg-surface-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.product-price-currency {
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 2px;
}

/* ==========================================================================
   STORE DIRECTORY & STATE FILTER
   ========================================================================== */

.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.store-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.store-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--card-hover-shadow);
}

.store-logo-frame {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.store-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-name-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.store-state-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  margin-top: auto;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 1.95rem;
  }
}

@media (max-width: 640px) {
  .header-nav {
    display: none;
  }
  .hero-content {
    padding: 2rem 1.25rem;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}


/* ==========================================================================
   ADVANCED STORE THEMES & ORIGINAL STORE CARD ENGINE
   Includes:
   - 3 Themes from File 1: specs-list, bento-glass, stories-reel
   - 5 Themes from File 2: image-first, app-list, color-blocks, dark-performance, platform-stage
   - Original Store Theme: original-store (نيون داكن مع كافة التفاصيل)
   ========================================================================== */

/* --- Card Base & Shared Structure --- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card, #111a28);
  border: var(--bw, 1.5px) solid var(--bd, rgba(16, 185, 129, 0.25));
  border-radius: var(--r, 24px);
  overflow: hidden;
  box-shadow: var(--sh, 0 10px 25px -5px rgba(0, 0, 0, 0.4));
  min-width: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px -5px rgba(0, 0, 0, 0.5);
  border-color: var(--acc, #10b981);
}

.media {
  position: relative;
  aspect-ratio: 4/3;
  background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--pc, #10b981) 35%, transparent), transparent 70%), var(--media, #0a1322);
  overflow: hidden;
}
.media svg, .media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.card:hover .media img, .card:hover .media svg {
  transform: scale(1.04);
}

.badges {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  z-index: 2;
}
.bd {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  color: #2a1a00;
  background: #f5b324;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.bd.green { background: #10b981; color: #ffffff; }
.bd.blue { background: #06b6d4; color: #04261a; }
.bd.disc { background: #ef4444; color: #ffffff; }
.bd.dark { background: rgba(0,0,0,0.65); color: #ffffff; backdrop-filter: blur(4px); }

.fav {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s;
}
.fav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  transition: transform 0.25s, fill 0.25s, stroke 0.25s;
}
.fav.on svg, .fav[aria-pressed="true"] svg {
  fill: #ff4d6d;
  stroke: #ff4d6d;
  transform: scale(1.15);
}
.fav:active {
  transform: scale(0.9);
}

.body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text, #f1f5f9);
}
.price {
  display: flex;
  gap: 6px;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.price .cur {
  font-size: 13px;
  font-weight: 700;
  color: var(--price, #10b981);
}
.price .num {
  font-size: 21px;
  font-weight: 900;
  color: var(--price, #10b981);
  letter-spacing: 0.2px;
}
.price s {
  font-size: 12px;
  color: var(--mut, #94a3b8);
  text-decoration: line-through;
}

/* Specifications Grid (2 Columns, Dotted Chips) */
.specs {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.specs li {
  background: var(--chip, #17233a);
  border: 1px solid var(--chipbd, rgba(255, 255, 255, 0.08));
  border-radius: 10px;
  padding: 6px 6px;
  text-align: center;
  font-size: 11.5px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.specs b {
  font-weight: 700;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text, #f1f5f9);
}
.specs small {
  display: block;
  font-size: 10px;
  color: var(--mut, #94a3b8);
  font-weight: 500;
  margin-bottom: 2px;
}

/* 3-Button Action Row */
.actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}
.btn-action {
  --bc: var(--acc, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 40px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  color: var(--bc);
  border: 1px solid color-mix(in srgb, var(--bc) 55%, transparent);
  background: color-mix(in srgb, var(--bc) 12%, transparent);
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
  cursor: pointer;
}
.btn-action:active {
  transform: scale(0.96);
}
.btn-action svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.btn-action.call { --bc: var(--c1, #f59e0b); }
.btn-action.wa { --bc: var(--c2, #10b981); }
.btn-action.info { --bc: var(--c3, #06b6d4); }

/* --- Meters (RAM & Storage Gauges for Performance Themes) --- */
.meters {
  display: none;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}
.m {
  display: grid;
  grid-template-columns: 42px 1fr 54px;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--mut, #94a3b8);
}
.m i {
  height: 6px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--text, #fff) 14%, transparent);
  position: relative;
  overflow: hidden;
}
.m i::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: calc(var(--v, 0.5) * 100%);
  background: var(--acc, #10b981);
  border-radius: 9px;
}
.m b {
  color: var(--text, #f1f5f9);
  font-weight: 700;
  direction: ltr;
  text-align: left;
  font-size: 11.5px;
}

/* ==========================================================================
   THEME STYLES SPECIFICATIONS
   ========================================================================== */

/* 1. ORIGINAL STORE THEME (نيون داكن - التصميم الأصلي) */
[data-theme="original-store"], [data-theme="store-original-store"] {
  --bg: #081020;
  --card: #0d1829;
  --bd: #0f7f9a;
  --bw: 1.5px;
  --r: 26px;
  --sh: 0 0 24px rgba(25, 200, 230, .14);
  --text: #f2f6fb;
  --mut: #a6b3c6;
  --chip: #17233a;
  --chipbd: #24344f;
  --price: #2be08c;
  --acc: #19c8e6;
  --media: #0a1322;
  --c1: #f0a020;
  --c2: #22d37a;
  --c3: #19c8e6;
  --on-acc: #04222a;
}
[data-theme="original-store"] .card, [data-theme="store-original-store"] .card {
  background: linear-gradient(180deg, #0f1c31, #0a1424);
}

/* 2. THEME: SPECS-LIST (قائمة مواصفات أفقية - من الملف الأول) */
[data-theme="specs-list"], [data-theme="store-specs-list"] {
  --bg: #0f172a;
  --card: #1e293b;
  --bd: #334155;
  --bw: 1px;
  --r: 20px;
  --sh: 0 4px 20px rgba(0, 0, 0, 0.25);
  --text: #f8fafc;
  --mut: #94a3b8;
  --chip: #0f172a;
  --chipbd: #334155;
  --price: #10b981;
  --acc: #10b981;
  --media: #0b1120;
  --c1: #f8fafc;
  --c2: #10b981;
  --c3: #38bdf8;
  --on-acc: #ffffff;
}
[data-theme="specs-list"] .products-grid, [data-theme="store-specs-list"] .products-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  [data-theme="specs-list"] .products-grid, [data-theme="store-specs-list"] .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
[data-theme="specs-list"] .card, [data-theme="store-specs-list"] .card {
  flex-direction: row;
}
[data-theme="specs-list"] .media, [data-theme="store-specs-list"] .media {
  flex: 0 0 38%;
  aspect-ratio: auto;
  min-height: 100%;
}
[data-theme="specs-list"] .media img, [data-theme="specs-list"] .media svg,
[data-theme="store-specs-list"] .media img, [data-theme="store-specs-list"] .media svg {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}
[data-theme="specs-list"] .specs, [data-theme="store-specs-list"] .specs {
  grid-template-columns: 1fr;
  gap: 0;
}
[data-theme="specs-list"] .specs li, [data-theme="store-specs-list"] .specs li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 8px;
  background: none;
  border: 0;
  border-bottom: 1px dashed var(--chipbd);
  border-radius: 0;
  padding: 5px 0;
  text-align: start;
}
[data-theme="specs-list"] .actions, [data-theme="store-specs-list"] .actions {
  grid-template-columns: 38px 1fr 38px;
}
[data-theme="specs-list"] .btn-action.call span, [data-theme="specs-list"] .btn-action.info span,
[data-theme="store-specs-list"] .btn-action.call span, [data-theme="store-specs-list"] .btn-action.info span {
  display: none;
}
[data-theme="specs-list"] .btn-action.wa, [data-theme="store-specs-list"] .btn-action.wa {
  background: var(--acc);
  color: #fff;
  border-color: var(--acc);
}

/* 3. THEME: BENTO-GLASS (زجاجي Bento عصري - من الملف الأول) */
[data-theme="bento-glass"], [data-theme="store-bento-glass"] {
  --bg: #0c0a1f;
  --card: rgba(255, 255, 255, 0.07);
  --bd: rgba(255, 255, 255, 0.16);
  --bw: 1px;
  --r: 28px;
  --sh: 0 14px 40px rgba(0, 0, 0, 0.4);
  --text: #f4f3ff;
  --mut: #b4b0d6;
  --chip: rgba(255, 255, 255, 0.08);
  --chipbd: rgba(255, 255, 255, 0.12);
  --price: #ffffff;
  --acc: #10b981;
  --media: transparent;
  --c1: #ffd27a;
  --c2: #10b981;
  --c3: #c9c3ff;
  --on-acc: #04211e;
}
[data-theme="bento-glass"] .card, [data-theme="store-bento-glass"] .card {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
[data-theme="bento-glass"] .media, [data-theme="store-bento-glass"] .media {
  margin: 8px 8px 0;
  border-radius: 20px;
}
[data-theme="bento-glass"] .price .num, [data-theme="store-bento-glass"] .price .num {
  font-size: 20px;
  background: linear-gradient(90deg, #ffffff, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="bento-glass"] .card:first-child, [data-theme="store-bento-glass"] .card:first-child {
  grid-column: span 2;
  flex-direction: row;
}
[data-theme="bento-glass"] .card:first-child .media, [data-theme="store-bento-glass"] .card:first-child .media {
  flex: 0 0 48%;
  aspect-ratio: auto;
  margin: 8px;
}
[data-theme="bento-glass"] .card:first-child .body, [data-theme="store-bento-glass"] .card:first-child .body {
  justify-content: center;
  padding: 16px;
}

/* 4. THEME: STORIES-REEL (شريط كبير وقصص أفقية - من الملف الأول) */
[data-theme="stories-reel"], [data-theme="store-stories-reel"] {
  --bg: #17101f;
  --card: #221631;
  --bd: transparent;
  --bw: 0;
  --r: 34px;
  --sh: 0 20px 40px rgba(0,0,0,.45);
  --text: #fbf6ff;
  --mut: #c3b3d6;
  --chip: rgba(255,255,255,.07);
  --chipbd: transparent;
  --price: #ffffff;
  --acc: #10b981;
  --media: transparent;
  --c1: #fbf6ff;
  --c2: #10b981;
  --c3: #fbf6ff;
  --on-acc: #04211e;
}
[data-theme="stories-reel"] .products-grid, [data-theme="store-stories-reel"] .products-grid {
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  gap: 16px !important;
  padding: 8px 4vw 60px !important;
  max-width: none !important;
  scrollbar-width: none !important;
}
[data-theme="stories-reel"] .products-grid::-webkit-scrollbar, 
[data-theme="store-stories-reel"] .products-grid::-webkit-scrollbar {
  display: none;
}
[data-theme="stories-reel"] .card, [data-theme="store-stories-reel"] .card {
  flex: 0 0 82vw !important;
  max-width: 360px !important;
  scroll-snap-align: center !important;
  background: linear-gradient(170deg, color-mix(in srgb, var(--pc, #10b981) 65%, #221631) 0%, #221631 65%);
}
[data-theme="stories-reel"] .name, [data-theme="store-stories-reel"] .name {
  font-size: 20px;
  font-weight: 900;
}
[data-theme="stories-reel"] .price .num, [data-theme="store-stories-reel"] .price .num {
  font-size: 30px;
  font-weight: 900;
}
[data-theme="stories-reel"] .specs, [data-theme="store-stories-reel"] .specs {
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
[data-theme="stories-reel"] .specs li:nth-child(n+5), [data-theme="store-stories-reel"] .specs li:nth-child(n+5) {
  display: none;
}
[data-theme="stories-reel"] .btn-action, [data-theme="store-stories-reel"] .btn-action {
  height: 46px;
  border-radius: 99px;
}

/* 5. THEME: IMAGE-FIRST (صورة أولاً مع طبقة داكنة - من الملف الثاني) */
[data-theme="image-first"], [data-theme="store-image-first"] {
  --bg: #090c13;
  --card: #151b27;
  --r: 26px;
  --sh: 0 10px 30px rgba(0, 0, 0, 0.4);
  --text: #ffffff;
  --mut: #94a3b8;
  --acc: #10b981;
  --on-acc: #ffffff;
  --chip: rgba(255, 255, 255, 0.16);
  --price: #ffffff;
  --c1: #ffffff;
  --c2: #10b981;
  --c3: #ffffff;
}
[data-theme="image-first"] .card, [data-theme="store-image-first"] .card {
  aspect-ratio: 3 / 4.4;
  color: #fff;
  position: relative;
  overflow: hidden;
}
[data-theme="image-first"] .media, [data-theme="store-image-first"] .media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}
[data-theme="image-first"] .body, [data-theme="store-image-first"] .body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 44px 14px 14px;
  background: linear-gradient(to top, rgba(8, 10, 16, 0.94) 45%, transparent);
  gap: 8px;
  z-index: 2;
}
[data-theme="image-first"] .name, [data-theme="store-image-first"] .name {
  color: #fff;
  font-size: 15px;
}
[data-theme="image-first"] .price .num, [data-theme="store-image-first"] .price .num {
  font-size: 20px;
  color: #fff;
}
[data-theme="image-first"] .specs li, [data-theme="store-image-first"] .specs li {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 0;
  backdrop-filter: blur(8px);
}
[data-theme="image-first"] .btn-action.call, [data-theme="image-first"] .btn-action.info,
[data-theme="store-image-first"] .btn-action.call, [data-theme="store-image-first"] .btn-action.info {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(8px);
}
[data-theme="image-first"] .btn-action.wa, [data-theme="store-image-first"] .btn-action.wa {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
}

/* 6. THEME: APP-LIST (قائمة التطبيق المدمجة - من الملف الثاني) */
[data-theme="app-list"], [data-theme="store-app-list"] {
  --bg: #090d16;
  --card: #111827;
  --bd: #1f2937;
  --bw: 1px;
  --r: 20px;
  --text: #f9fafb;
  --mut: #9ca3af;
  --chip: #1f2937;
  --price: #10b981;
  --acc: #10b981;
  --on-acc: #ffffff;
  --c1: #f9fafb;
  --c2: #10b981;
  --c3: #38bdf8;
}
[data-theme="app-list"] .products-grid, [data-theme="store-app-list"] .products-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 760px) {
  [data-theme="app-list"] .products-grid, [data-theme="store-app-list"] .products-grid {
    grid-template-columns: 1fr 1fr;
  }
}
[data-theme="app-list"] .card, [data-theme="store-app-list"] .card {
  flex-direction: row;
  align-items: center;
  padding: 10px;
  gap: 12px;
}
[data-theme="app-list"] .media, [data-theme="store-app-list"] .media {
  flex: 0 0 96px;
  aspect-ratio: 1;
  border-radius: 16px;
}
[data-theme="app-list"] .body, [data-theme="store-app-list"] .body {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "n n" "s s" "p a";
  gap: 6px 8px;
  align-items: center;
}
[data-theme="app-list"] .name, [data-theme="store-app-list"] .name {
  grid-area: n;
  font-size: 14.5px;
}
[data-theme="app-list"] .specs, [data-theme="store-app-list"] .specs {
  grid-area: s;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
[data-theme="app-list"] .specs li, [data-theme="store-app-list"] .specs li {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0 8px 0 0;
  margin-inline-end: 8px;
  font-size: 11.5px;
  color: var(--mut);
  border-inline-end: 1px solid #374151;
  text-align: start;
}
[data-theme="app-list"] .price, [data-theme="store-app-list"] .price {
  grid-area: p;
  justify-content: flex-start;
}
[data-theme="app-list"] .actions, [data-theme="store-app-list"] .actions {
  grid-area: a;
  grid-template-columns: repeat(3, 34px);
  margin: 0;
  gap: 5px;
}
[data-theme="app-list"] .btn-action, [data-theme="store-app-list"] .btn-action {
  height: 34px;
  border-radius: 12px;
}
[data-theme="app-list"] .btn-action span, [data-theme="store-app-list"] .btn-action span {
  display: none;
}

/* 7. THEME: COLOR-BLOCKS (بلوكات ألوان الأجهزة - من الملف الثاني) */
[data-theme="color-blocks"], [data-theme="store-color-blocks"] {
  --bg: #0b0c10;
  --r: 30px;
  --sh: none;
  --text: #ffffff;
  --mut: #cbd5e1;
  --acc: #ffffff;
  --on-acc: #0f172a;
}
[data-theme="color-blocks"] .card, [data-theme="store-color-blocks"] .card {
  background: color-mix(in srgb, var(--pc, #10b981) 80%, #000);
  color: #fff;
}
[data-theme="color-blocks"] .price .num, [data-theme="store-color-blocks"] .price .num {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}
[data-theme="color-blocks"] .specs li, [data-theme="store-color-blocks"] .specs li {
  background: rgba(255, 255, 255, 0.18);
  border: 0;
  color: #fff;
  border-radius: 99px;
  padding: 4px 10px;
}
[data-theme="color-blocks"] .btn-action.wa, [data-theme="store-color-blocks"] .btn-action.wa {
  background: #fff;
  color: #0f172a;
}

/* 8. THEME: DARK-PERFORMANCE (لوحة أداء العتاد الداكنة - من الملف الثاني) */
[data-theme="dark-performance"], [data-theme="store-dark-performance"] {
  --bg: #0d131a;
  --card: #141c26;
  --bd: #243242;
  --bw: 1px;
  --r: 18px;
  --text: #eaf1f8;
  --mut: #8ea0b4;
  --chip: #1c2735;
  --chipbd: #243242;
  --price: #ffffff;
  --acc: #4fd1c5;
  --on-acc: #04211e;
  --c1: #eaf1f8;
  --c2: #4fd1c5;
  --c3: #38bdf8;
}
[data-theme="dark-performance"] .meters, [data-theme="store-dark-performance"] .meters {
  display: flex;
}

/* 9. THEME: PLATFORM-STAGE (عرض المنصة التفاعلي - من الملف الثاني) */
[data-theme="platform-stage"], [data-theme="store-platform-stage"] {
  --bg: #0b1322;
  --card: #131e33;
  --text: #f0f6fc;
  --mut: #8b9eb7;
  --chip: #1c2b48;
  --price: #f0f6fc;
  --acc: #10b981;
  --on-acc: #ffffff;
  --c1: #f0f6fc;
  --c2: #10b981;
  --c3: #38bdf8;
}
.stage {
  display: flex;
  flex-direction: column;
  background: var(--card, #131e33);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  margin-bottom: 16px;
  border: 1px solid var(--border-color, rgba(255,255,255,0.1));
}
.stage .media {
  aspect-ratio: 1 / 0.8;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--pc, #10b981) 35%, transparent), transparent 72%);
}
.stage .info-col {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stage .name {
  font-size: 24px;
  font-weight: 800;
}
.stage .price .num {
  font-size: 32px;
  font-weight: 800;
}
.stage .specs li {
  text-align: start;
  padding: 8px 12px;
}
.stage .specs small {
  display: block;
}
.stage .specs b {
  font-size: 13px;
  white-space: normal;
}
.stage .actions {
  grid-template-columns: 46px 1fr 46px;
}
.stage .btn-action {
  height: 48px;
  font-size: 14px;
}
@media (min-width: 860px) {
  .stage {
    flex-direction: row;
  }
  .stage .media {
    flex: 0 0 52%;
    aspect-ratio: auto;
    min-height: 380px;
  }
  .stage .info-col {
    flex: 1;
    justify-content: center;
    padding: 28px;
  }
}
.rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px 10px;
}
.rail::-webkit-scrollbar {
  display: none;
}
.th {
  flex: 0 0 145px;
  background: var(--card, #131e33);
  border-radius: 18px;
  padding: 8px;
  text-align: start;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}
.th:hover {
  transform: translateY(-2px);
}
.th[aria-current="true"] {
  border-color: var(--acc, #10b981);
}
.th .tm {
  aspect-ratio: 4/3;
  border-radius: 12px;
  background: radial-gradient(circle, color-mix(in srgb, var(--pc, #10b981) 28%, transparent), transparent 80%);
  overflow: hidden;
}
.th .tm svg, .th .tm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.th b {
  font-size: 11.5px;
  font-weight: 600;
  direction: ltr;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  unicode-bidi: isolate;
  color: var(--text, #f1f5f9);
}
.th span {
  font-size: 12px;
  color: var(--mut, #94a3b8);
  direction: ltr;
  text-align: right;
}

/* ==========================================================================
   INTERACTIVE THEME SWITCHER BAR & STORE CONTROLS
   ========================================================================== */
.store-controls-wrap {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.theme-chips-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0 6px;
  align-items: center;
}
.theme-chips-bar::-webkit-scrollbar {
  display: none;
}
.theme-chip-btn {
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px 7px 10px;
  border-radius: 99px;
  background: var(--bg-surface, #131e33);
  border: 1px solid var(--border-color, rgba(255,255,255,0.12));
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}
.theme-chip-btn i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: block;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}
.theme-chip-btn[aria-pressed="true"], .theme-chip-btn.active {
  color: var(--text-main, #ffffff);
  border-color: var(--primary, #10b981);
  background: color-mix(in srgb, var(--primary, #10b981) 16%, var(--bg-surface, #131e33));
}

.store-tools-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.store-search-field {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface, #131e33);
  border: 1px solid var(--border-color, rgba(255,255,255,0.12));
  border-radius: 14px;
  padding: 0 14px;
}
.store-search-field input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  height: 42px;
  font-size: 14px;
  color: var(--text-main, #ffffff);
}
.store-sort-select {
  background: var(--bg-surface, #131e33);
  border: 1px solid var(--border-color, rgba(255,255,255,0.12));
  border-radius: 14px;
  padding: 0 14px;
  height: 42px;
  font-size: 13px;
  color: var(--text-main, #ffffff);
  cursor: pointer;
}

/* ==========================================================================
   INTERACTIVE DETAIL BOTTOM SHEET MODAL
   ========================================================================== */
.sheet-wrap {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sheet-wrap[hidden] {
  display: none !important;
}
.sheet {
  width: 100%;
  max-width: 560px;
  max-height: 90dvh;
  overflow-y: auto;
  background: var(--bg-surface, #131e31);
  color: var(--text-main, #ffffff);
  border-radius: 28px 28px 0 0;
  padding: 0 0 max(20px, env(safe-area-inset-bottom));
  animation: sheetUp 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid var(--border-color, rgba(255,255,255,0.15));
  border-bottom: 0;
  position: relative;
}
@keyframes sheetUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.sheet .media {
  aspect-ratio: 16/10;
  border-radius: 0;
}
.sheet .x {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 22px;
  display: grid;
  place-items: center;
  z-index: 10;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);
}
.sheet .in {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sheet .specs {
  grid-template-columns: 1fr 1fr;
}
.sheet .specs li {
  padding: 10px 12px;
  text-align: start;
}
.sheet .specs small {
  display: block;
}
.sheet .specs b {
  font-size: 13.5px;
  white-space: normal;
}
.sheet .actions {
  grid-template-columns: 1fr 1.4fr;
  margin-top: 10px;
}
.sheet .btn-action {
  height: 48px;
  font-size: 14px;
}
.sheet .btn-action.wa {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

/* ==========================================================================
   OFFICIAL MOBILAB SD CORPORATE SAAS WEBSITE STYLES
   Fixed Brand Identity: Deep Navy (#080c16 / #0d1527), Cyan & Emerald Accents
   ========================================================================== */

:root {
  --corp-bg-dark: #080C16;
  --corp-bg-surface: #0E1626;
  --corp-bg-card: #141F36;
  --corp-bg-card-hover: #1A2947;
  --corp-border: rgba(255, 255, 255, 0.08);
  --corp-border-focus: rgba(16, 185, 129, 0.4);
  --corp-text-main: #F8FAFC;
  --corp-text-muted: #94A3B8;
  --corp-accent-primary: #10B981;
  --corp-accent-cyan: #06B6D4;
  --corp-accent-blue: #3B82F6;
  --corp-accent-purple: #8B5CF6;
  --corp-gradient-brand: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
  --corp-gradient-hero: radial-gradient(circle at 50% 20%, rgba(6, 182, 212, 0.12) 0%, rgba(8, 12, 22, 0) 70%);
}

/* Corporate Page Wrapper */
.corp-wrapper {
  background-color: var(--corp-bg-dark);
  color: var(--corp-text-main);
  min-height: 100vh;
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* Corporate Top Navigation */
.corp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--corp-border);
  transition: all 0.25s ease;
}

.corp-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.corp-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.corp-logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--corp-gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.corp-logo-text {
  display: flex;
  flex-direction: column;
}

.corp-logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

.corp-logo-subtitle {
  font-size: 0.75rem;
  color: var(--corp-accent-cyan);
  font-weight: 600;
}

.corp-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.corp-nav-link {
  color: var(--corp-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
}

.corp-nav-link:hover, .corp-nav-link.active {
  color: #FFFFFF;
}

.corp-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  background: var(--corp-accent-primary);
  border-radius: 2px;
}

.corp-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.corp-btn-login {
  background: transparent;
  color: var(--corp-text-main);
  border: 1px solid var(--corp-border);
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.corp-btn-login:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.corp-btn-primary {
  background: var(--corp-gradient-brand);
  color: #FFFFFF;
  border: none;
  padding: 0.6rem 1.35rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.925rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.corp-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  color: #FFFFFF;
}

/* Mobile Nav Toggle */
.corp-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--corp-border);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
}

/* Corporate Hero Section */
.corp-hero {
  position: relative;
  padding: 5rem 1.5rem 4rem;
  background: var(--corp-gradient-hero);
  overflow: hidden;
  text-align: center;
}

.corp-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.15) 0%, rgba(8, 12, 22, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.corp-hero-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.corp-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.corp-hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.corp-hero-title span {
  background: var(--corp-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.corp-hero-desc {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--corp-text-muted);
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.corp-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.corp-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border: 1px solid var(--corp-border);
  padding: 0.65rem 1.45rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.corp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Stats Counter Grid */
.corp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.corp-stat-card {
  background: var(--corp-bg-surface);
  border: 1px solid var(--corp-border);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.corp-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.3);
}

.corp-stat-num {
  font-size: 2.25rem;
  font-weight: 900;
  color: #FFFFFF;
  background: var(--corp-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.corp-stat-label {
  font-size: 0.875rem;
  color: var(--corp-text-muted);
  font-weight: 600;
}

/* 4 Pillars Ecosystem Architecture Diagram */
.corp-section {
  padding: 5rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.corp-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.corp-section-badge {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  border-radius: 100px;
  background: rgba(6, 182, 212, 0.12);
  color: var(--corp-accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.corp-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.corp-section-desc {
  font-size: 1.05rem;
  color: var(--corp-text-muted);
  line-height: 1.7;
}

.corp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.corp-pillar-card {
  background: var(--corp-bg-surface);
  border: 1px solid var(--corp-border);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.corp-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.corp-pillar-num {
  position: absolute;
  top: 1.25rem;
  inset-inline-end: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--corp-text-muted);
}

.corp-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.corp-pillar-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.corp-pillar-desc {
  font-size: 0.925rem;
  color: var(--corp-text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.corp-pillar-domain {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.825rem;
  color: #38BDF8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px dashed rgba(56, 189, 248, 0.3);
}

/* Features Grid */
.corp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.corp-feature-card {
  background: var(--corp-bg-surface);
  border: 1px solid var(--corp-border);
  border-radius: 18px;
  padding: 2rem;
  transition: all 0.25s ease;
}

.corp-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.corp-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.corp-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.corp-feature-badge {
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--corp-accent-cyan);
}

.corp-feature-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.corp-feature-desc {
  font-size: 0.925rem;
  color: var(--corp-text-muted);
  line-height: 1.7;
}

/* Pricing Grid */
.corp-pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.corp-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--corp-border);
  color: var(--corp-text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.corp-toggle-btn.active {
  background: var(--corp-accent-primary);
  border-color: var(--corp-accent-primary);
  color: #FFFFFF;
}

.corp-toggle-discount {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
}

.corp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.corp-plan-card {
  background: var(--corp-bg-surface);
  border: 1px solid var(--corp-border);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.corp-plan-card.popular {
  border-color: var(--corp-accent-primary);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, var(--corp-bg-surface) 100%);
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.2);
  transform: translateY(-6px);
}

.corp-plan-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--corp-gradient-brand);
  color: #ffffff;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.corp-plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.corp-plan-desc {
  font-size: 0.875rem;
  color: var(--corp-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.corp-plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--corp-border);
}

.corp-plan-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: #FFFFFF;
}

.corp-plan-period {
  font-size: 0.875rem;
  color: var(--corp-text-muted);
  font-weight: 600;
}

.corp-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.corp-plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: #CBD5E1;
  line-height: 1.5;
}

.corp-plan-feature-check {
  color: var(--corp-accent-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.corp-plan-btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
}

.corp-plan-btn.solid {
  background: var(--corp-gradient-brand);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.corp-plan-btn.solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  color: #FFFFFF;
}

.corp-plan-btn.outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.corp-plan-btn.outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

/* Template Showcase Gallery */
.corp-templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.corp-template-card {
  background: var(--corp-bg-surface);
  border: 1px solid var(--corp-border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.corp-template-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.corp-template-preview {
  height: 200px;
  background: #0F172A;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--corp-border);
}

.corp-template-tag {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: #38BDF8;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.corp-template-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.corp-template-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.corp-template-desc {
  font-size: 0.875rem;
  color: var(--corp-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.corp-template-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* FAQ Accordion */
.corp-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.corp-faq-item {
  background: var(--corp-bg-surface);
  border: 1px solid var(--corp-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.corp-faq-item.open {
  border-color: rgba(16, 185, 129, 0.35);
  background: var(--corp-bg-card);
}

.corp-faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: #FFFFFF;
}

.corp-faq-chevron {
  font-size: 1.2rem;
  color: var(--corp-accent-primary);
  transition: transform 0.2s ease;
}

.corp-faq-item.open .corp-faq-chevron {
  transform: rotate(180deg);
}

.corp-faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--corp-text-muted);
  line-height: 1.75;
  display: none;
}

.corp-faq-item.open .corp-faq-answer {
  display: block;
}

/* Registration Form Page */
.corp-register-container {
  max-width: 720px;
  margin: 3rem auto 5rem;
  background: var(--corp-bg-surface);
  border: 1px solid var(--corp-border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.corp-form-group {
  margin-bottom: 1.5rem;
}

.corp-form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 0.5rem;
}

.corp-form-input, .corp-form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--corp-border);
  border-radius: 10px;
  color: #FFFFFF;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.corp-form-input:focus, .corp-form-select:focus {
  border-color: var(--corp-accent-primary);
  background: rgba(0, 0, 0, 0.4);
}

.corp-subdomain-preview {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #38BDF8;
  font-family: monospace;
}

/* Stores Directory Grid (/stores) */
.corp-stores-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.corp-search-box {
  flex-grow: 1;
  max-width: 480px;
  position: relative;
}

.corp-filter-chips {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.corp-filter-chip {
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--corp-border);
  color: var(--corp-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.corp-filter-chip.active, .corp-filter-chip:hover {
  background: var(--corp-accent-primary);
  border-color: var(--corp-accent-primary);
  color: #FFFFFF;
}

.corp-stores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.corp-store-card {
  background: var(--corp-bg-surface);
  border: 1px solid var(--corp-border);
  border-radius: 18px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.corp-store-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.corp-store-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.corp-store-card-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--corp-border);
  flex-shrink: 0;
}

.corp-store-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.corp-store-card-meta {
  flex-grow: 1;
}

.corp-store-card-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.corp-store-card-state {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--corp-accent-cyan);
  font-weight: 600;
}

.corp-store-card-desc {
  font-size: 0.9rem;
  color: var(--corp-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.corp-store-card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Corporate Footer */
.corp-footer {
  background: #050810;
  border-top: 1px solid var(--corp-border);
  padding: 4rem 1.5rem 2rem;
  color: var(--corp-text-muted);
}

.corp-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.corp-footer-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.corp-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.corp-footer-links a {
  color: var(--corp-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.corp-footer-links a:hover {
  color: #FFFFFF;
}

.corp-footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .corp-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .corp-features-grid, .corp-pricing-grid, .corp-templates-grid, .corp-stores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .corp-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .corp-nav-links, .corp-nav-actions {
    display: none;
  }
  .corp-menu-toggle {
    display: block;
  }
  .corp-hero-title {
    font-size: 2.25rem;
  }
  .corp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .corp-pillars-grid, .corp-features-grid, .corp-pricing-grid, .corp-templates-grid, .corp-stores-grid {
    grid-template-columns: 1fr;
  }
  .corp-plan-card.popular {
    transform: none;
  }
  .corp-footer-inner {
    grid-template-columns: 1fr;
  }
}
