:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --text-secondary: #475569;
  --surface: #ffffff;
  --border: #e2e8f0;
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --primary-light: #f5f3ff;
  --success: #059669;
  --success-bg: #ecfdf5;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --muted: #94a3b8;
  --radius: 0.75rem;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.08);
  --transition: 0.2s ease;
}

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: var(--primary); transition: color var(--transition); }
a:hover { color: var(--primary-hover); }

.container { width: min(1200px, 92vw); margin: 0 auto; }
main.container { flex: 1; padding-bottom: 2rem; }

/* ── Header ── */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 50px;
  width: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 0.65rem;
  border-radius: 0.5rem;
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-active {
  color: var(--primary) !important;
  background: var(--primary-light);
  font-weight: 600 !important;
  border-bottom: 2px solid var(--primary);
  border-radius: 0.5rem 0.5rem 0 0;
}

.link-button {
  border: none;
  background: none;
  color: var(--danger);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.4rem 0.65rem;
  border-radius: 0.5rem;
  font-family: inherit;
}

.link-button:hover { background: var(--danger-bg); }

.search-icon {
  font-size: 1rem;
  color: var(--muted);
  cursor: pointer;
}

/* ── Carousel ── */
.carousel {
  margin: 0 calc(50% - 50vw) 2.5rem;
  width: 100vw;
  height: 520px;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.88) 0%, rgba(124, 58, 237, 0.78) 50%, rgba(139, 92, 246, 0.72) 100%);
  background-size: cover;
  background-position: center;
}

.carousel-slide:nth-child(3n+2) {
  background-color: rgba(15, 23, 42, 0.9);
  background-blend-mode: overlay;
}

.carousel-slide:nth-child(3n+3) {
  background-color: rgba(6, 78, 59, 0.9);
  background-blend-mode: overlay;
}

.carousel-content {
  text-align: center;
  color: white;
  padding: 3rem 2rem;
  max-width: 700px;
}

.carousel-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.carousel-content h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.carousel-content p {
  margin: 1rem auto 2rem;
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.92;
  line-height: 1.65;
  max-width: 520px;
}

.carousel-btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  background: white;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition: all 0.25s ease;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
  color: var(--primary);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) scale(1.08);
}

.carousel-prev { left: 1.5rem; }
.carousel-next { right: 1.5rem; }

.carousel-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.carousel-dot:hover { border-color: white; }

.carousel-dot.active {
  background: white;
  border-color: white;
  width: 30px;
  border-radius: 999px;
}

/* ── Category chips ── */
.home-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.chip {
  text-decoration: none;
  border: 1px solid var(--border);
  background: white;
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.chip.clear { color: var(--danger); border-color: #fecaca; }
.chip.clear:hover { background: var(--danger-bg); }

.home-seo-intro {
  margin: 0 auto 1.75rem;
  max-width: 46rem;
  padding: 1rem 1.15rem;
  background: var(--surface-alt, var(--muted-bg, #f8fafc));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.home-seo-intro-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.home-seo-intro a { color: var(--primary); font-weight: 500; }
.home-seo-intro strong { color: var(--text); }

/* ── About page v2 (editorial / full-bleed hero) ── */
.aboutv2 {
  --aboutv2-max: 42rem;
  --aboutv2-wide: 48rem;
  margin-top: -0.5rem;
}

/* Full-bleed hero within viewport */
.aboutv2-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 2.5rem;
  padding-bottom: 0;
  overflow: hidden;
  border-radius: 0 0 clamp(1.25rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2rem);
}

.aboutv2-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(124, 58, 237, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(99, 102, 241, 0.12) 0%, transparent 45%),
    linear-gradient(165deg, #faf5ff 0%, #f8fafc 38%, #eef2ff 100%);
  pointer-events: none;
}

.aboutv2-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2rem);
}

@media (min-width: 880px) {
  .aboutv2-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.aboutv2-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.aboutv2-h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 5.5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--text);
}

.aboutv2-lead {
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 2.4vw, 1.22rem);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 36ch;
}

.aboutv2-lead strong { color: var(--text); }

.aboutv2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.aboutv2-hero__hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.aboutv2-hero__hint a { font-weight: 600; }

.aboutv2-hero__visual {
  position: relative;
  border-radius: clamp(1rem, 3vw, 1.35rem);
  overflow: hidden;
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  aspect-ratio: 4 / 3;
  max-height: min(340px, 52vw);
}

@media (min-width: 880px) {
  .aboutv2-hero__visual {
    max-height: 380px;
    aspect-ratio: 5 / 4;
  }
}

.aboutv2-hero__img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center 20%;
}

.aboutv2-stats {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
  gap: 0;
}

.aboutv2-stat {
  text-align: center;
  padding: 1rem 0.75rem;
  border-right: 1px solid rgba(124, 58, 237, 0.12);
}

.aboutv2-stat:last-child { border-right: none; }

@media (max-width: 520px) {
  .aboutv2-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .aboutv2-stat {
    border-right: none;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    padding: 0.85rem;
  }
  .aboutv2-stat:last-child { border-bottom: none; }
}

.aboutv2-stat__n {
  display: block;
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1.1;
}

.aboutv2-stat__l {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
  line-height: 1.35;
}

.aboutv2-narrow {
  width: min(44rem, 92vw);
  margin-left: auto;
  margin-right: auto;
}

.aboutv2-prose p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--text-secondary);
}

.aboutv2-prose p + p { margin-top: 1.1rem; }

.aboutv2-prose--wide { max-width: var(--aboutv2-wide); }

.aboutv2-prose strong { color: var(--text); }

.aboutv2-section {
  padding: clamp(2rem, 5vw, 2.75rem) 0;
}

.aboutv2-section--tint {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(245, 243, 255, 0.45) 100%);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.aboutv2-h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
}

.aboutv2-h2--sm {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.aboutv2-h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.aboutv2-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.aboutv2-intro {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.aboutv2-features {
  margin-top: 0.5rem;
}

.aboutv2-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem 1.35rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}

.aboutv2-feature:last-child { border-bottom: none; }

.aboutv2-feature__idx {
  font-size: 1.65rem;
  font-weight: 800;
  color: rgba(124, 58, 237, 0.22);
  line-height: 1;
  padding-top: 0.15rem;
  font-variant-numeric: tabular-nums;
}

.aboutv2-feature p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--text-secondary);
}

.aboutv2-quote {
  padding: clamp(2rem, 5vw, 2.75rem) 0;
}

.aboutv2-quote__inner {
  margin: 0;
  padding: 0;
  border: none;
  position: relative;
  padding-left: 1.1rem;
  margin-left: 0;
}

.aboutv2-quote__inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--primary) 0%, #a78bfa 100%);
}

.aboutv2-quote__inner p {
  margin: 0;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
}

.aboutv2-split-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .aboutv2-split-cards { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

.aboutv2-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.aboutv2-card--accent {
  background: linear-gradient(145deg, rgba(250, 245, 255, 0.95) 0%, var(--surface) 100%);
}

.aboutv2-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.aboutv2-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.aboutv2-pills li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.aboutv2-pills li:hover {
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: var(--shadow-sm);
}

.aboutv2-pill__t {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary);
}

.aboutv2-pill__d {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.aboutv2-media-row {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  width: min(900px, 92vw);
  margin: 0 auto clamp(2rem, 5vw, 2.75rem);
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: calc(var(--radius) + 6px);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

@media (min-width: 760px) {
  .aboutv2-media-row {
    grid-template-columns: minmax(160px, 0.38fr) 1fr;
    gap: 2rem;
  }
}

.aboutv2-media-row__img {
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #f5f3ff 0%, #eef2ff 100%);
}

.aboutv2-media-row__mark {
  width: min(140px, 40vw);
  height: auto;
}

.aboutv2-media-row__text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--text-secondary);
}

.aboutv2-cta {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0.5rem;
  padding: clamp(2.25rem, 6vw, 3.25rem) 1.25rem;
  /* Light wash: soft logo blue + warm peach (readable on white) */
  background:
    radial-gradient(ellipse 90% 85% at 100% 0%, rgba(254, 215, 170, 0.55) 0%, transparent 52%),
    radial-gradient(ellipse 75% 70% at 0% 100%, rgba(191, 219, 254, 0.65) 0%, transparent 48%),
    linear-gradient(168deg, #f8fafc 0%, #eff6ff 42%, #fffbeb 88%, #fef3c7 100%);
  color: var(--text);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.aboutv2-cta__inner {
  max-width: 36rem;
  margin: 0 auto;
}

.aboutv2-cta__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 3.8vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.aboutv2-cta__sub {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.aboutv2-cta__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.aboutv2-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition);
}

.aboutv2-cta__btn:hover { transform: translateY(-1px); }

.aboutv2-cta__btn--light {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #fff;
  border: none;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.25);
}

.aboutv2-cta__btn--light:hover {
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.aboutv2-cta__btn--ghost {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  border: 1px solid var(--border);
}

.aboutv2-cta__btn--ghost:hover {
  background: #fff;
  border-color: #cbd5e1;
  color: var(--text);
}

.aboutv2-cta__back {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.aboutv2-cta__back:hover { color: var(--primary-hover); }

/* ── Section titles ── */
.page-header { margin-bottom: 1.25rem; }
.page-header h1 { font-weight: 700; letter-spacing: -0.02em; }

.featured-title h2 {
  text-align: center;
  margin: 0 0 1.25rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Flash messages ── */
.flash {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.flash.notice { background: var(--success-bg); color: var(--success); border-color: #a7f3d0; }
.flash.alert { background: var(--danger-bg); color: var(--danger); border-color: #fecaca; }

/* ── Product grid ── */
.product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  margin-bottom: 2rem;
}

/* ── Cards ── */
.card, .form-card, .table-card, .stat-card, .filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card { position: relative; overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.card-images { margin: 0; overflow: hidden; background: #f1f5f9; display: block; text-decoration: none; }

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover .product-image { transform: scale(1.03); }

.image-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: #f1f5f9;
}

.card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }

.card-body h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.home-product-title { font-size: 1.1rem; }

.home-product-description {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin: 0 0 0.75rem;
  min-height: 2.5em;
  line-height: 1.5;
}

.product-title-link { color: var(--text); text-decoration: none; }
.product-title-link:hover { color: var(--primary); }

/* ── Prices ── */
.price {
  font-weight: 700;
  color: var(--text);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.price-wrap {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: auto;
  margin-bottom: 1rem;
}

.price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.95rem;
}

.discount-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--danger);
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  z-index: 2;
}

/* ── Buttons ── */
.button, .small-button {
  border: none;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #6d28d9 100%);
  color: white;
  border-radius: 0.5rem;
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  font-family: inherit;
  transition: all var(--transition);
  letter-spacing: -0.01em;
  background-size: 200% 200%;
  background-position: 0% 50%;
}

.button:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
  color: #e9d5ff;
}
.small-button { padding: 0.35rem 0.65rem; font-size: 0.8rem; }

.button.ghost {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  color: var(--primary);
  border: 1px solid #ddd6fe;
  background-size: auto;
}

.button.ghost:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.12);
}

.full-width { width: 100%; }

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid #a7f3d0;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all var(--transition);
  width: 100%;
}

.contact-link:hover {
  background: #d1fae5;
  color: #047857;
  border-color: #6ee7b7;
}

.contact-icon { font-size: 1rem; }

.show-contact { width: auto; margin-top: 0.75rem; }

.card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* ── Forms ── */
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.field label {
  font-weight: 500;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

input, textarea, select {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.form-card { max-width: 100%; }

.image-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.image-preview-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

/* ── Tables ── */
table { width: 100%; border-collapse: collapse; }
th { font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-secondary); }
th, td { text-align: left; border-bottom: 1px solid var(--border); padding: 0.75rem 0.5rem; vertical-align: top; }
td { font-size: 0.9rem; }
tbody tr:hover { background: #f8fafc; }

/* ── Stats ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-card h2 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}

.stat-card p {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  letter-spacing: -0.03em;
}

/* ── Empty state ── */
.empty-state { text-align: center; color: var(--muted); }

.empty-state-card {
  grid-column: 1 / -1;
  text-align: center;
  background: white;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
}

.empty-state-card h3 { margin: 0 0 0.5rem; color: var(--text); font-weight: 700; }
.empty-state-card p { margin: 0 0 1.25rem; color: var(--text-secondary); }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--muted); }
.breadcrumb-current { color: var(--text); font-weight: 600; }

/* ── Product Detail Page ── */
.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.pdp-gallery { position: relative; }

.pdp-main-image {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pdp-hero-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pdp-placeholder { height: 400px; }

.pdp-thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.pdp-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all var(--transition);
  flex-shrink: 0;
}

.pdp-thumb:hover { opacity: 1; border-color: var(--border); }
.pdp-thumb-active { opacity: 1; border-color: var(--primary) !important; box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15); }

/* ── PDP Info ── */
.pdp-info { padding-top: 0.25rem; }

.pdp-category {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.pdp-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.pdp-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.pdp-rating-value {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.pdp-rating-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.pdp-rating-count:hover { color: var(--primary); text-decoration: underline; }

.pdp-price-block {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  background: #faf5ff;
  border: 1px solid #ede9fe;
  border-radius: var(--radius);
}

.pdp-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.pdp-price-old {
  font-size: 1.1rem;
  color: var(--muted);
  text-decoration: line-through;
}

.pdp-save {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.pdp-description {
  margin-bottom: 1.5rem;
}

.pdp-description p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pdp-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}

.pdp-book-btn {
  flex: 1;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.6rem;
}

.pdp-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid #a7f3d0;
  border-radius: 0.6rem;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.pdp-call-btn:hover {
  background: #d1fae5;
  color: #047857;
  border-color: #6ee7b7;
}

.pdp-meta {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  margin-bottom: 1.25rem;
}

.pdp-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.88rem;
}

.pdp-meta-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.pdp-in-stock {
  color: var(--success);
  font-weight: 600;
}

.pdp-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pdp-share-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pdp-share-icons {
  display: flex;
  gap: 0.5rem;
}

.pdp-share-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pdp-share-icon svg { width: 18px; height: 18px; }
.pdp-share-icon:hover { transform: translateY(-2px); color: white; }
.pdp-share-icon.whatsapp { background: #25d366; }
.pdp-share-icon.whatsapp:hover { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }
.pdp-share-icon.facebook { background: #1877f2; }
.pdp-share-icon.facebook:hover { box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4); }
.pdp-share-icon.twitter { background: #0f172a; }
.pdp-share-icon.twitter:hover { box-shadow: 0 4px 12px rgba(15, 23, 42, 0.4); }
.pdp-share-icon.instagram { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.pdp-share-icon.instagram:hover { box-shadow: 0 4px 12px rgba(220, 39, 67, 0.4); }
.pdp-share-icon.copy-link { background: #6366f1; border: none; cursor: pointer; color: white; }
.pdp-share-icon.copy-link:hover { box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4); }
.pdp-share-icon.copy-link.copied { background: #25d366; }

/* ── PDP Reviews ── */
.pdp-reviews {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.pdp-latest-products {
  margin-top: 2.5rem;
}

.pdp-latest-products h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.pdp-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.pdp-reviews-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.pdp-reviews-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
}

.pdp-reviews-avg {
  font-size: 2rem;
  font-weight: 800;
  color: #b45309;
  line-height: 1;
}

.pdp-reviews-summary-detail {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.pdp-reviews-total {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.pdp-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pdp-review {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.pdp-review:last-child { border-bottom: none; }

.pdp-review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #a855f7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.pdp-review-content { flex: 1; min-width: 0; }

.pdp-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}

.pdp-review-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}

.pdp-review-date {
  font-size: 0.78rem;
  color: var(--muted);
}

.pdp-review-text {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.divider { border: none; border-top: 1px solid var(--border); margin: 1.25rem 0; }

/* ── Footer ── */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  margin-top: auto;
  padding: 2.5rem 0 1.25rem;
}

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

.footer-col { min-width: 0; }

.footer-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.footer-copy {
  margin-top: 0.6rem;
  max-width: 300px;
  line-height: 1.55;
  font-size: 0.88rem;
}

.site-footer h4 {
  margin: 0 0 0.75rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  transition: color var(--transition);
}

.site-footer a:hover { color: #ffffff; }

.footer-social { display: flex; gap: 0.5rem; margin-top: 0.25rem; }

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.footer-social a svg { width: 18px; height: 18px; }

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-top: 1rem;
}

.footer-bottom p { margin: 0; font-size: 0.85rem; color: #64748b; }

/* ── Admin filters ── */
.admin-filters {
  margin-bottom: 1.25rem;
}

.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: flex-end;
}

.filter-field { flex: 1; min-width: 160px; }

.filter-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: white;
}

.filter-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* ── Status pills ── */
.status-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.status-pill.active {
  background: var(--success-bg);
  color: var(--success);
}

.status-pill.inactive {
  background: #f1f5f9;
  color: var(--muted);
}

.inline-form {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.inline-form select {
  padding: 0.3rem 0.5rem;
  font-size: 0.82rem;
}

/* ── Kaminari pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination span,
.pagination em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
  font-style: normal;
}

.pagination a {
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: white;
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.pagination span.current,
.pagination em.current {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
  border: 1px solid transparent;
  font-weight: 700;
}

.pagination span.gap {
  color: var(--muted);
  border: none;
}

.pagination span.prev,
.pagination span.next,
.pagination span.first,
.pagination span.last {
  color: var(--muted);
  border: 1px solid var(--border);
}

/* ── Stars & Reviews ── */
.stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.stars-lg { font-size: 1.3rem; }

.stars-inline {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.rating-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
}

.rating-count {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.rating-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.show-rating-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.reviews-section {
  margin-top: 2rem;
}

.reviews-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.review-author {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.review-date {
  font-size: 0.8rem;
  color: var(--muted);
  margin-left: auto;
}

.review-body {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Action links ── */
.action-links {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

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

.danger-btn {
  background: linear-gradient(135deg, #dc2626, #ef4444) !important;
  border: none;
  color: white;
}

.danger-btn:hover {
  background: linear-gradient(135deg, #b91c1c, #dc2626) !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.detail-grid { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.detail-row { display: flex; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.detail-label { font-weight: 600; min-width: 140px; color: var(--text-secondary); }
.detail-actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }

.text-secondary { color: var(--text-secondary); font-size: 0.88rem; }

/* ── Hamburger menu ── */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--text);
}

.menu-toggle svg { width: 24px; height: 24px; display: block; }

/* ── Responsive tables ── */
.table-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── Responsive ── */
@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pdp-title { font-size: 1.4rem; }
  .pdp-price { font-size: 1.4rem; }
  .pdp-actions { flex-direction: column; }
  .pdp-reviews-header { flex-direction: column; align-items: flex-start; }
  .pdp-review-top { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .split { gap: 0.75rem; flex-wrap: wrap; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-form { flex-direction: column; }
  .filter-field { min-width: 100%; }
  .header-actions { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    border-top: 1px solid var(--border);
    padding: 0.5rem 0;
    gap: 0;
  }

  .nav-links.open { display: flex; }

  .nav {
    flex-wrap: wrap;
  }

  .nav-links a, .nav-links .link-button {
    width: 100%;
    padding: 0.7rem 0.75rem;
    border-radius: 0;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a:last-child, .nav-links .link-button:last-child {
    border-bottom: none;
  }

  .nav-active {
    border-bottom: 1px solid var(--border) !important;
    border-left: 3px solid var(--primary);
    border-radius: 0;
  }

  .product-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
}

@media (max-width: 640px) {
  .container { width: 94vw; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-copy { max-width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .carousel { height: 380px; }
  .carousel-arrow { width: 32px; height: 32px; font-size: 0.85rem; }
  .carousel-prev { left: 0.4rem; }
  .carousel-next { right: 0.4rem; }
  .carousel-content { padding: 1.75rem 3rem; }
  .carousel-content h1 { font-size: 1.4rem; }
  .carousel-content p { font-size: 0.85rem; margin: 0.75rem auto 1.25rem; max-width: 85%; }
  .carousel-btn { padding: 0.7rem 1.8rem; font-size: 0.88rem; }
  .carousel-tag { font-size: 0.65rem; padding: 0.25rem 0.8rem; }
  .breadcrumb { font-size: 0.78rem; flex-wrap: wrap; }
  .pdp-thumbnails { gap: 0.35rem; }
  .pdp-thumb { width: 56px; height: 56px; }
  .pdp-price-block { padding: 0.75rem 1rem; }
  .pdp-share-icon { width: 34px; height: 34px; }
  .pdp-share-icon svg { width: 16px; height: 16px; }
  .stat-card { padding: 1rem; }
  .stat-card p { font-size: 1.5rem; }
  .page-header h1 { font-size: 1.3rem; }
  .featured-title h2 { font-size: 1.35rem; }
  .card-body { padding: 1rem; }
  .form-card { padding: 1rem; }
  .table-card { padding: 0.75rem; }
  table { font-size: 0.82rem; }
  th, td { padding: 0.55rem 0.4rem; }
  .inline-form { flex-wrap: wrap; }
  .action-links { flex-wrap: wrap; }
  .footer-social a { width: 34px; height: 34px; }
  .footer-social a svg { width: 16px; height: 16px; }
}

@media (max-width: 380px) {
  .product-grid { gap: 0.75rem; }
  .card-body h2 { font-size: 1rem; }
  .price { font-size: 1.05rem; }
  .button { padding: 0.55rem 0.9rem; font-size: 0.85rem; }
  .carousel { height: 320px; }
}
