/* Base tweaks */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Reusable UI tokens */
:root {
  --color-primary: #4f46e5; /* indigo-600 */
  --color-primary-700: #4338ca; /* indigo-700 */
  --color-ring: rgba(79, 70, 229, 0.35);
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.625rem 1rem; border-radius: 0.75rem; font-weight: 600;
  color: #fff; background: var(--color-primary);
  box-shadow: 0 6px 14px -6px var(--color-ring);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary:hover { transform: translateY(-1px); background: var(--color-primary-700); box-shadow: 0 10px 22px -10px var(--color-ring); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.625rem 1rem; border-radius: 0.75rem; font-weight: 600;
  color: var(--color-primary); background: #eef2ff; /* indigo-100 */
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn-secondary:hover { transform: translateY(-1px); background: #e0e7ff; }

/* Cards */
.card {
  background: #fff; border-radius: 0.875rem; padding: 1rem; border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0,0,0,0.2); border-color: #e5e7eb; }

/* Inputs */
.input {
  width: 100%; padding: 0.625rem 0.75rem; border-radius: 0.75rem;
  border: 1px solid #e5e7eb; outline: none; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 4px var(--color-ring); }
.label { display: inline-block; font-size: 0.875rem; color: #374151; margin-bottom: 0.375rem; }

/* Sections */
.section-title { font-size: 1.875rem; line-height: 2.25rem; font-weight: 800; margin-bottom: 1.25rem; }

/* Navigation */
.nav-link { color: #374151; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.nav-link:hover { color: var(--color-primary); }
.nav-link.active { color: var(--color-primary); border-color: var(--color-primary); }

/* Reveal animations */
.reveal-up, .reveal-from-left, .reveal-from-right { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal-from-left { transform: translateX(-16px); }
.reveal-from-right { transform: translateX(16px); }
.animate-in { opacity: 1 !important; transform: none !important; }

/* Utility: gallery images */
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 0.75rem; }

/* Product thumbnails: enforce uniform aspect ratio */
.product-thumb {
  width: 100%;
  aspect-ratio: 16 / 10; /* consistent card media */
  object-fit: cover;      /* crop larger images to fit */
  object-position: center;/* center crop */
  border-radius: 0.75rem;
  display: block;
}

/* Progress bars */
.progress { height: 0.75rem; border-radius: 9999px; overflow: hidden; background: #e5e7eb; }
.progress > span { display: block; height: 100%; background: var(--color-primary); border-radius: inherit; transition: width 1s ease; }


