/* Mera's Store — Modern & Professional Landing Page Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-title: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* ── Color Palette ─────────────────────────────── */
  --lp-primary: #4f46e5;
  --lp-primary-hover: #4338ca;
  --lp-primary-light: #eef2ff;
  --lp-primary-dark: #3730a3;
  --lp-primary-rgb: 79, 70, 229;
  
  --lp-secondary: #0f172a;
  --lp-secondary-hover: #1e293b;
  --lp-secondary-dark: #020617;
  --lp-secondary-rgb: 15, 23, 42;

  --lp-accent: #f59e0b; /* Amber */
  --lp-bg: #f8fafc;
  --lp-surface: #ffffff;
  --lp-surface-hover: #f1f5f9;
  
  --lp-text: #1e293b;
  --lp-text-muted: #64748b;
  --lp-text-subtle: #94a3b8;
  --lp-border: #e2e8f0;
  --lp-border-hover: #cbd5e1;

  --lp-success: #10b981;
  --lp-success-light: #ecfdf5;
  --lp-warning: #f59e0b;
  --lp-warning-light: #fffbeb;
  --lp-danger: #ef4444;
  --lp-danger-light: #fef2f2;

  /* ── Shadows ──────────────────────────────────── */
  --lp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --lp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --lp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --lp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --lp-shadow-primary: 0 10px 15px -3px rgba(79, 70, 229, 0.3);

  /* ── Radius ───────────────────────────────────── */
  --radius-2xl: 24px;
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;

  /* ── Transitions ──────────────────────────────── */
  --lp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --lp-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Globals ────────────────────────────── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--lp-bg);
  color: var(--lp-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--lp-secondary);
  font-weight: 700;
  line-height: 1.25;
}

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

/* ── Animation Keyframes ─────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
  }
  50% {
    box-shadow: 0 0 12px 4px rgba(79, 70, 229, 0.2);
  }
}

@keyframes dotPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Apply Entry Animations */
.hero-badge { animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-title { animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.hero-desc { animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
.hero-actions { animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both; }
.stats-row { animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }
.hero-image-wrapper { animation: fadeIn 1s ease-out 0.2s both; }

/* ── Layout Wrapper ──────────────────────────────── */
.guest-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 72px - 100px); /* header & footer offsets */
}

/* ── Header Navigation ────────────────────────────── */
.guest-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: var(--lp-transition);
}

.guest-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  height: 72px;
}

.guest-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--lp-secondary);
  letter-spacing: -0.025em;
}

.guest-brand svg {
  color: var(--lp-primary);
  filter: drop-shadow(0 2px 4px rgba(79, 70, 229, 0.15));
}

.guest-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.guest-link {
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--lp-text-muted);
  position: relative;
  padding: 4px 0;
}

.guest-link:hover {
  color: var(--lp-secondary);
}

.guest-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--lp-primary);
  transition: var(--lp-transition-fast);
}

.guest-link:hover::after {
  width: 100%;
}

.btn-guest-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--lp-secondary);
  color: #ffffff !important;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--lp-shadow-sm);
  border: 1px solid transparent;
}

.btn-guest-login:hover {
  background: var(--lp-secondary-hover);
  transform: translateY(-1px);
  box-shadow: var(--lp-shadow-md);
}

.btn-guest-login::after {
  display: none !important;
}

/* ── Hero Section ────────────────────────────────── */
.hero-section {
  background: radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.05) 0%, rgba(255, 255, 255, 0) 50%),
              radial-gradient(circle at 10% 80%, rgba(15, 23, 42, 0.02) 0%, rgba(255, 255, 255, 0) 50%),
              #ffffff;
  border-bottom: 1px solid var(--lp-border);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lp-primary-light);
  color: var(--lp-primary);
  border: 1px solid rgba(79, 70, 229, 0.15);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.06);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--lp-secondary);
}

.hero-title span {
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--lp-text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Button Classes */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  border-radius: var(--radius-lg);
  transition: var(--lp-transition);
  cursor: pointer;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-dark));
  color: #ffffff;
  box-shadow: var(--lp-shadow-primary);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -3px rgba(79, 70, 229, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--lp-secondary);
  border: 2px solid var(--lp-border);
}

.btn-secondary:hover {
  background: var(--lp-bg);
  border-color: var(--lp-border-hover);
  transform: translateY(-2px);
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.stat-item {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: var(--lp-transition);
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--lp-shadow-md);
  border-color: var(--lp-border);
}

.stat-num {
  font-family: var(--font-title);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--lp-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Hero Image Column */
.hero-image-column {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-wrapper {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16/10;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--lp-shadow-xl);
  border: 6px solid #ffffff;
  background-color: var(--lp-bg);
  position: relative;
  z-index: 10;
  transition: var(--lp-transition);
}

.hero-image-wrapper:hover {
  transform: translateY(-4px) rotate(1deg);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-deco-blob {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  top: -40px;
  right: -40px;
  z-index: 1;
}

/* ── Section Containers ───────────────────────────── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

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

/* ── Products Section — Catalog ───────────────────── */
.filter-card {
  background: #ffffff;
  border: 1px solid var(--lp-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: var(--lp-shadow-sm);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.form-control-lp {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--lp-border);
  background-color: var(--lp-bg);
  color: var(--lp-text);
  outline: none;
  transition: var(--lp-transition-fast);
}

.form-control-lp:focus {
  border-color: var(--lp-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

select.form-control-lp {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 48px;
}

/* Product Grid & Cards */
.product-grid {
  display: grid;
  /* Force a clean 5-column layout when there is space */
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}


.product-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  box-shadow: var(--lp-shadow-sm);
  transition: var(--lp-transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lp-shadow-xl);
  border-color: rgba(79, 70, 229, 0.15);
}

.prod-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.prod-category {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  background-color: var(--lp-bg);
  color: var(--lp-text-muted);
  border-radius: 4px;
  transition: var(--lp-transition-fast);
}

.product-card:hover .prod-category {
  background-color: var(--lp-primary-light);
  color: var(--lp-primary);
}

.prod-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lp-secondary);
  line-height: 1.4;
  word-break: break-word;
}

.prod-sku {
  font-size: 0.8rem;
  color: var(--lp-text-subtle);
  font-family: monospace;
}

.stock-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-in-stock {
  background-color: var(--lp-success);
  animation: dotPulse 2s infinite ease-in-out;
}

.dot-low-stock {
  background-color: var(--lp-warning);
}

.dot-out-of-stock {
  background-color: var(--lp-danger);
}

.prod-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--lp-border);
  padding-top: 18px;
  margin-top: auto;
}

.prod-price {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--lp-secondary);
}

.btn-inquire {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--lp-primary);
  background-color: var(--lp-primary-light);
  border: 1px solid transparent;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--lp-transition-fast);
}

.btn-inquire:hover {
  background-color: var(--lp-primary);
  color: #ffffff;
}

.landing-bulk-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #4f46e5;
  background: #e0e7ff;
  border: 1px solid #c7d2fe;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 4px;
}

.btn-inquire-all {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid transparent;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--lp-transition-fast);
  white-space: nowrap;
}

.btn-inquire-all:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ── Inquiry Section ──────────────────────────────── */
.inquiry-split {
  display: grid;
  grid-template-columns: 1fr 1.20fr;
  gap: 48px;
  align-items: stretch;
}

.inquiry-info-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--lp-secondary);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--lp-shadow-lg);
  position: relative;
  overflow: hidden;
}

.inquiry-info-column::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
}

.info-block {
  position: relative;
  z-index: 2;
}

.info-title {
  font-size: 1.75rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.info-text {
  font-size: 1rem;
  line-height: 1.6;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--lp-primary-light);
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: var(--lp-transition-fast);
}

.contact-item:hover .contact-icon-wrapper {
  background: var(--lp-primary);
  color: #ffffff;
  transform: scale(1.05);
}

.contact-label {
  font-size: 0.8rem;
  color: var(--lp-text-subtle);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-value {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.inquiry-form-card {
  background: #ffffff;
  border: 1px solid var(--lp-border);
  border-radius: var(--radius-2xl);
  padding: 48px;
  box-shadow: var(--lp-shadow-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lp-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-control-lp.error {
  border-color: var(--lp-danger);
  background-color: var(--lp-danger-light);
}

.btn-submit-lp {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-dark));
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: var(--lp-shadow-primary);
  transition: var(--lp-transition);
}

.btn-submit-lp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -3px rgba(79, 70, 229, 0.45);
}

.btn-submit-lp:active {
  transform: translateY(0);
}

/* Alert styling */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  margin-bottom: 24px;
  border-left: 4px solid;
}

.alert-success {
  background-color: var(--lp-success-light);
  color: #065f46;
  border-left-color: var(--lp-success);
}

.alert-danger {
  background-color: var(--lp-danger-light);
  color: #991b1b;
  border-left-color: var(--lp-danger);
}

.alert-warning {
  background-color: var(--lp-warning-light);
  color: #92400e;
  border-left-color: var(--lp-warning);
}

/* ── Footer ──────────────────────────────────────── */
.app-footer {
  background-color: var(--lp-secondary-dark) !important;
  color: var(--lp-text-muted) !important;
  padding: 60px 24px 40px 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-brand svg {
  color: var(--lp-primary);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 440px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-title {
  color: #ffffff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-link {
  font-size: 0.9rem;
  transition: var(--lp-transition-fast);
}

.footer-nav-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

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

/* ── Auth Layout Overrides (Login / Register) ─────── */
.guest-main-content:has(.auth-container) {
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.04) 0%, rgba(255, 255, 255, 0) 50%),
              radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.02) 0%, rgba(255, 255, 255, 0) 50%),
              var(--lp-bg);
}

.auth-container {
  background-color: #ffffff !important;
  border-radius: var(--radius-2xl) !important;
  box-shadow: var(--lp-shadow-xl) !important;
  padding: 48px 40px !important;
  border: 1px solid var(--lp-border) !important;
  width: 100%;
  max-width: 440px;
}

.auth-header h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-top: 12px;
  margin-bottom: 6px;
  letter-spacing: -0.025em;
}

.auth-header p {
  color: var(--lp-text-muted);
  font-size: 0.95rem;
}

.auth-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--lp-secondary);
}

.auth-header .brand svg {
  color: var(--lp-primary);
}

.auth-container .form-control {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--lp-border);
  outline: none;
  transition: var(--lp-transition-fast);
  width: 100%;
  margin-top: 4px;
}

.auth-container .form-control:focus {
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.auth-container .btn-primary {
  font-family: var(--font-title);
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  margin-top: 12px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--lp-text-muted);
}

.auth-footer a {
  color: var(--lp-primary);
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ── Responsive Media Queries ──────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 32px;
  }
  .hero-title {
    font-size: 2.85rem;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
    width: 100%;
  }
  .btn-lg {
    width: 100%;
  }
  .stats-row {
    gap: 16px;
  }
  .hero-image-column {
    order: -1;
  }
  .inquiry-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .inquiry-info-column {
    padding: 32px;
  }
  .inquiry-form-card {
    padding: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .stats-row {
    grid-template-columns: 1fr;
  }
  .filter-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .form-control-lp {
    width: 100%;
  }
}

/* Customer app download button */
.btn-app-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--lp-primary-light);
  color: var(--lp-primary) !important;
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn-app-download:hover {
  background: var(--lp-primary);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: var(--lp-shadow-md);
}

.btn-app-download::after {
  display: none !important;
}

.btn-app-download svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .guest-nav-container {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
  }

  .guest-brand {
    font-size: 1.1rem;
  }

  .guest-links {
    flex: 1;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
  }

  .guest-link {
    font-size: 0.84rem;
  }

  .btn-app-download,
  .btn-guest-login {
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .guest-nav-container {
    align-items: flex-start;
  }

  .guest-links {
    width: 100%;
    justify-content: space-between;
  }

  .guest-link:not(.btn-app-download):not(.btn-guest-login):not(.btn-guest-login-outline) {
    display: none;
  }

  .btn-app-download,
  .btn-guest-login,
  .btn-guest-login-outline {
    flex: 1;
    min-width: 0;
  }
}

/* ═══════════════════════════════════════════════════════════
   Shop Gallery Lightbox
   ══════════════════════════════════════════════════════════ */

/* Hero image — clickable */
.hero-image-clickable {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hero-image-clickable img {
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-clickable:hover img {
  transform: scale(1.03);
}

.hero-image-clickable:focus {
  outline: 3px solid var(--lp-primary);
  outline-offset: 4px;
}

/* "View Shop Photos" badge */
.gallery-hint-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
  transition: all 0.25s ease;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.15);
}

.hero-image-clickable:hover .gallery-hint-badge {
  background: rgba(79, 70, 229, 0.92);
  transform: translateY(-2px);
}

/* Overlay */
.gallery-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Modal card */
.gallery-modal {
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px 28px 22px 28px;
  max-width: 860px;
  width: 100%;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
  opacity: 0;
  max-height: 92vh;
  overflow-y: auto;
}

.gallery-modal-overlay.open .gallery-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Close button */
.gallery-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  z-index: 1;
}

.gallery-close-btn:hover {
  background: rgba(239,68,68,0.18);
  border-color: rgba(239,68,68,0.4);
  color: #f87171;
}

/* Modal header */
.gallery-modal-header {
  margin-bottom: 18px;
  padding-right: 48px;
}

.gallery-modal-header h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.gallery-modal-header h3 svg {
  color: var(--lp-primary);
}

.gallery-modal-header p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

/* Main image display */
.gallery-main-display {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.gallery-main-img-wrapper {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #1e293b;
  aspect-ratio: 16/9;
  position: relative;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

/* The shop reel is shot vertically, so it is fitted inside the 16:9 stage
   rather than cropped; the wrapper's dark background becomes the pillarbox. */
.gallery-main-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #0f172a;
}

/* The `hidden` attribute only hides through the UA sheet's [hidden]{display:none},
   which the display:block above outranks — so spell the hidden state out here.
   Without this the photo and the reel both render and fight for the stage. */
.gallery-main-img[hidden],
.gallery-main-video[hidden] {
  display: none;
}

/* Loading / failure state for the reel. Without this a slow or broken fetch
   just leaves the poster sitting there with no hint that anything is wrong. */
.gallery-video-status {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: rgba(2, 6, 23, 0.72);
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
  /* Never intercept a click meant for the video controls underneath. */
  pointer-events: none;
}

.gallery-video-status[hidden] {
  display: none;
}

.gallery-video-status.is-error {
  background: rgba(2, 6, 23, 0.92);
  color: #fecaca;
}

.gallery-video-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(226, 232, 240, 0.25);
  border-top-color: #e2e8f0;
  border-radius: 50%;
  animation: gallerySpin 0.8s linear infinite;
}

@keyframes gallerySpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-video-spinner { animation: none; }
}

.gallery-thumb-video {
  position: relative;
}

.gallery-thumb-video::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-40%, -50%);
  border-left: 13px solid rgba(255, 255, 255, 0.95);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
  pointer-events: none;
}

.gallery-thumb-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  pointer-events: none;
}

.gallery-thumb-badge {
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.gallery-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(2,6,23,0.85) 0%, transparent 100%);
  color: #e2e8f0;
  font-size: 0.78rem;
  padding: 20px 14px 10px 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  /* The caption sits over the video's native control bar. Without this it eats
     the click meant for the play button and the reel simply never starts. */
  pointer-events: none;
}

/* Lift the caption clear of the controls while a reel is on the stage, so the
   scrubber and buttons stay readable as well as clickable. */
.gallery-main-img-wrapper.is-video .gallery-img-caption {
  bottom: 48px;
  background: none;
  text-shadow: 0 1px 4px rgba(2, 6, 23, 0.95);
}

/* Nav buttons */
.gallery-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.gallery-nav-btn:hover {
  background: rgba(79,70,229,0.22);
  border-color: rgba(79,70,229,0.45);
  color: #a5b4fc;
}

/* Thumbnail strip */
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.gallery-thumb {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  opacity: 0.55;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.gallery-thumb:hover img {
  transform: scale(1.06);
}

.gallery-thumb.active {
  border-color: var(--lp-primary);
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.3);
}

/* Dots indicator */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-dot.active {
  background: var(--lp-primary);
  width: 20px;
}

/* Responsive */
@media (max-width: 640px) {
  .gallery-modal {
    padding: 20px 16px 18px 16px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .gallery-nav-btn {
    width: 34px;
    height: 34px;
  }

  .gallery-hint-badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    bottom: 10px;
    right: 10px;
  }
}

/* ── Mobile Bottom Navigation Bar ────────────────── */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  background-color: #ffffff;
  display: none; /* Hidden on desktop */
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none !important;
  font-size: 0.8rem;
  font-weight: 500;
  flex: 1;
  height: 100%;
  transition: all 0.2s ease;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  color: #4f46e5 !important;
}

.mobile-nav-item .nav-icon {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.mobile-nav-item .nav-label {
  font-size: 10px;
}

@media (max-width: 767px) {
  .mobile-bottom-nav {
    display: flex;
  }
  
  /* Add padding-bottom to body so the content doesn't get covered by the nav bar */
  body {
    padding-bottom: 75px !important;
  }
}