:root {
  --primary: #e63946;
  --primary-dark: #b22332;
  --dark: #0f172a;
  --light: #f1faee;
  --gray: #f5f5f5;
  --text: #1f2937;
  --muted: #4b5563;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Manrope", "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: radial-gradient(circle at 10% 10%, #f7f9fb, #ffffff 35%),
    radial-gradient(circle at 80% 0%, #f0f4ff, #ffffff 30%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  width: min(1100px, 94%);
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.92));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--dark);
}

.logo-mark {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text small {
  color: var(--muted);
  font-weight: 600;
}

nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #444;
  font-weight: 500;
}

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

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

.menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
  color: #111827;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.menu-toggle:focus-visible,
nav a:focus-visible,
.btn-primary:focus-visible,
.brand-tab:focus-visible,
.model-dropdown__toggle:focus-visible,
.category-btn:focus-visible,
.chat-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.locations {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  padding-top: 3.6rem;
  padding-bottom: 3.6rem;
}

.locations-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
}

.locations-copy h2 {
  font-size: 2rem;
  color: #0f172a;
  margin: 0.35rem 0 0.6rem;
  font-weight: 800;
}

.lead-dark {
  color: #0f172a;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.eyebrow-dark {
  background: #e5e7eb;
  color: #111827;
}

.location-list {
  display: grid;
  gap: 0.7rem;
}

.loc-card {
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.loc-card strong {
  display: block;
  color: #0f172a;
  margin-bottom: 0.15rem;
  font-weight: 800;
}

.loc-card span {
  color: #111827;
  font-size: 0.95rem;
  font-weight: 600;
}

.locations-map {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.locations-map img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}

.hero {
  background-image:
    linear-gradient(135deg, rgba(11, 31, 60, 0.82), rgba(20, 58, 91, 0.8) 55%, rgba(15, 23, 42, 0.78)),
    url("assets/japan-tok-facebook-wide.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 4.8rem 0;
  position: relative;
  overflow: hidden;
}

.hero::after,
.hero::before {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.18;
}

.hero::before {
  width: 240px;
  height: 240px;
  background: #e63946;
  top: -40px;
  right: 18%;
}

.hero::after {
  width: 280px;
  height: 280px;
  background: #2dd4bf;
  bottom: -80px;
  left: 12%;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  margin-bottom: 1rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.lead {
  margin-bottom: 1.4rem;
  color: #e5e7eb;
  font-size: 1.05rem;
}

/* When lead text is used on light backgrounds, keep it darker */
.lead.lead-dark {
  color: #1f2937;
}

.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d1d5db;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.8rem;
}

/* Ensure darker eyebrow variant stays dark on light backgrounds */
.eyebrow.eyebrow-dark {
  background: #e5e7eb;
  color: #0f172a;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 0.78rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(230, 57, 70, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(230, 57, 70, 0.3);
}

.section {
  padding: 3.5rem 0;
}

.bg-light {
  background: var(--gray);
}

.section h2 {
  margin-bottom: 1.5rem;
  font-size: 1.7rem;
  color: var(--dark);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.card {
  background: #fff;
  border-radius: 6px;
  padding: 1.1rem 1.1rem 1.3rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.pill {
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.18);
}

.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand-pill {
  background: #fff;
  border: 1px solid #ddd;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.contact-form {
  background: #fff;
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  max-width: 540px;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

input, textarea {
  width: 100%;
  padding: 0.55rem 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 1.4rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
}

@media (max-width: 650px) {
  .nav {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.6rem;
  }

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

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.4rem;
  }

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

  nav a {
    margin-left: 0;
  }

  .hero {
    text-align: left;
  }
  .contact-form {
    width: 100%;
  }
}
/* Hero extras */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.stat {
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.stat span {
  color: #d1d5db;
  font-size: 0.95rem;
}

.hero-visual {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.35);
  isolation: isolate;
  background: #0f172a;
  aspect-ratio: 16 / 9;
}

.hero-image--brand {
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.25), rgba(0,0,0,0.4)),
    url("assets/japan-tok-facebook-wide.jpg");
  background-size: cover;
  background-position: center;
}

.hero-image img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.hero-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.82);
  color: #e2e8f0;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.35);
}

.hero-label strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
}

.hero-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  color: #e5e7eb;
  box-shadow: 0 16px 38px rgba(0,0,0,0.28);
  backdrop-filter: blur(12px);
}

.card-chip {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}

.hero-card p {
  margin: 0.3rem 0;
}

.mini-metrics {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  color: #cbd5e1;
}
/* === About page layout === */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 2rem;
}

.about-sidecard {
  background: #fff;
  border-radius: 10px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  font-size: 0.95rem;
}

.about-sidecard h2 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.about-main h2 {
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 0.8rem;
}

.about-text ol {
  margin: 0.5rem 0 0.8rem 1.2rem;
}

.hero--about {
  padding-bottom: 3rem;
}

/* === Products page layout === */

.products-layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 1.5rem;
}

.products-sidebar {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  font-size: 0.95rem;
}

.products-sidebar h2 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--dark);
}

.category-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.45rem 0.6rem;
  margin-bottom: 0.35rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: #fafafa;
  font-size: 0.9rem;
  cursor: pointer;
}

.category-btn:hover {
  background: #f0f0f0;
}

.category-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.products-note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: #666;
}

.products-main {
  min-width: 0;
}

.products-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.products-toolbar input {
  flex: 1 1 260px;
  max-width: 420px;
  padding: 0.55rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.products-count {
  font-size: 0.9rem;
  color: #555;
}

.products-footnote {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #666;
}

.muted {
  color: #6b7280;
}

.label {
  color: #6b7280;
  font-size: 0.9rem;
}

.product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 220px;
}

.product-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.pill--category {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e5e7eb;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
}

.product-card__id {
  color: #6b7280;
  font-size: 0.9rem;
}

.product-card__name {
  font-size: 1.02rem;
  color: #0f172a;
  line-height: 1.4;
}

.product-card__fit {
  color: #4b5563;
  font-size: 0.93rem;
}

.product-card__price {
  margin-top: auto;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;      /* stack everything vertically */
  align-items: flex-start;     /* left-align text */
  gap: 0.25rem;                /* small gap between lines */
}

.product-card__price .label {
  display: block;
  color: #6b7280;
  font-size: 0.85rem;
}

.product-card__price strong {
  color: #e63946;
  font-size: 1.05rem;
}

.product-card__oem {
  color: #475569;
  font-size: 0.9rem;
  white-space: normal;     /* allow wrapping */
  word-break: break-all;   /* long OEM codes break instead of overflowing */
}


/* Nav active link */
nav a.active {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 900px) {
  .about-layout,
  .products-layout {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.6rem;
  }

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

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.4rem;
  }

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

  nav a {
    margin-left: 0;
  }
}

.brand-strip {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.8rem 0;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.brand-note {
  color: #6b7280;
  font-weight: 600;
}

.brand-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  align-items: center;
}

.brand-logos img {
  max-width: 100%;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.08));
}

.visuals {
  padding-top: 3rem;
}

.visuals-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.visual-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
}

.visual-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.visual-card figcaption {
  padding: 1rem 1.2rem 1.2rem;
}

.visual-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
  color: #111827;
}

.visual-card p {
  color: #4b5563;
  font-size: 0.98rem;
}

/* Products page visual section: tone down cards (avoid shop tiles look) */
body[data-page="products"] .visuals-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

body[data-page="products"] .visual-card {
  border: 1px solid #e5e7eb;
  box-shadow: none;
  border-radius: 10px;
}

body[data-page="products"] .visual-card img {
  height: 180px;
}

body[data-page="products"] .visual-card figcaption {
  padding: 0.75rem 0.9rem 0.9rem;
}

body[data-page="products"] .visual-card h3 {
  margin-bottom: 0.3rem;
}

/* Products page cards: keep data-focused, not e‑commerce tiles */
/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }

/* === Brand → model navigation === */

.catalog-header {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.catalog-brand-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand-tab {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  cursor: pointer;
  color: #374151;
  font-weight: 600;
}

.brand-tab:hover {
  background: #f3f4f6;
}

.brand-tab.active {
  background: #111827;
  color: #f9fafb;
  border-color: #111827;
}

.catalog-model-dropdown {
  position: relative;
  max-width: 340px;
}

.model-dropdown__toggle {
  width: 100%;
  text-align: left;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  padding: 0.5rem 0.9rem;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #374151;
}

.model-dropdown__toggle:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.model-dropdown__menu {
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 0.35rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  max-height: 260px;
  overflow-y: auto;
  padding: 0.4rem;
  display: none;
  z-index: 20;
}

.model-dropdown__menu.open {
  display: block;
}

.model-btn {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  color: #111827;
}

.model-btn:hover {
  background: #f3f4f6;
}

.model-menu__empty {
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  color: #6b7280;
}

/* === Product catalog tiles === */

body[data-page="products"] .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.product-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 0;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.09);
}

.product-card__image {
  width: 100%;
  height: 200px;          /* was 180px – make this whatever looks good */
  background: radial-gradient(circle at 20% 0%, #f3f4f6, #e5e7eb 60%, #f9fafb 100%);
  border-bottom: 1px solid #e5e7eb;
  overflow: hidden;
}

.product-card__image-label {
  background: rgba(17, 24, 39, 0.9);
  color: #f9fafb;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  margin: 0.6rem;
}

.product-card__body {
  padding: 0.8rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
}

.product-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
}

.product-card__brandline {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
}

.product-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
}

.product-card__fit {
  font-size: 0.85rem;
  color: #4b5563;
}

.product-card__price {
  margin-top: 0.4rem;      /* or 0.5rem, whatever spacing you like */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.55rem;
  border-top: 1px dashed #e5e7eb;
}

.product-card__price strong {
  color: #e63946;
  font-size: 0.98rem;
}

.product-card__price .label {
  display: block;
  color: #6b7280;
  font-size: 0.85rem;
}

.product-card__oem {
  font-size: 0.82rem;
  color: #6b7280;
  white-space: nowrap;
}

/* Products Page Background */
body[data-page="products"] {
  background-image: url("assets/images/products-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body[data-page="products"]::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(3px);
  z-index: -1;
}

/* Chat widget */
.chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #2563eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-toggle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chat-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.chatbot-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 380px;
  height: 600px;
  max-height: 80vh;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  z-index: 99999;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.chatbot-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.chatbot-fallback {
  padding: 0.75rem;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 600;
}

@media (max-width: 600px) {
  .chat-toggle {
    width: 72px;
    height: 72px;
    bottom: 12px;
    right: 12px;
  }

  .chatbot-container {
    right: 12px;
    bottom: 84px;
    width: calc(100% - 24px);
    height: 70vh;
  }
}
.products-grid .product-card {
  max-width: 320px;
}
body[data-page="products"] .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
  align-items: flex-start;   /* was stretch – this avoids equal-height forcing */
}
