/* Aquaguard & Livpure Product Portal — Premium appliance aesthetic */
:root {
  --bg: #f3f7f9;
  --bg-deep: #0b2a3a;
  --surface: #ffffff;
  --ink: #102532;
  --muted: #5b7380;
  --line: #d7e3ea;
  --brand: #0e6f8f;
  --brand-2: #148f6a;
  --accent: #1aa6c5;
  --warn: #c45c26;
  --ok: #1f8f5f;
  --danger: #c0392b;
  --shadow: 0 18px 50px rgba(11, 42, 58, 0.10);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --font-display: "Fraunces", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(26, 166, 197, 0.18), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(20, 143, 106, 0.12), transparent 55%),
    linear-gradient(180deg, #eef5f8 0%, var(--bg) 40%, #eaf2f5 100%);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.86);
  border-bottom: 1px solid rgba(215,227,234,0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo span { color: var(--brand); }
.nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.94rem;
}
.nav a:hover { color: var(--brand); }
.header-actions { display: flex; gap: 0.6rem; align-items: center; }
.search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.search-form input {
  border: 0;
  outline: 0;
  padding: 0.55rem 0.9rem;
  min-width: 160px;
  background: transparent;
  font: inherit;
}
.search-form button {
  border: 0;
  background: var(--bg-deep);
  color: #fff;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), #0a5f7a); color: #fff; box-shadow: 0 10px 24px rgba(14,111,143,.28); }
.btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-whatsapp { background: #128C7E; color: #fff; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.9rem; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: clamp(420px, 72vh, 620px);
  display: grid;
  align-items: end;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8,28,40,.88) 0%, rgba(8,28,40,.55) 48%, rgba(8,28,40,.25) 100%),
    var(--hero-image, linear-gradient(135deg, #0b2a3a, #0e6f8f));
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .6s ease, transform 4s ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  max-width: 640px;
  animation: rise .7s ease both;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 0.8rem;
  letter-spacing: -0.03em;
}
.hero-content p {
  margin: 0 0 1.4rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,.88);
  max-width: 42ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.4rem;
}
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.4); cursor: pointer;
}
.hero-dots button.is-active { background: #fff; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
  letter-spacing: -0.02em;
}
.section-head p { margin: 0.35rem 0 0; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

.brand-card, .category-card, .product-card, .service-card, .why-card {
  background: var(--surface);
  border: 1px solid rgba(215,227,234,.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.brand-card:hover, .category-card:hover, .product-card:hover, .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(11,42,58,.14);
}
.brand-card { padding: 1.4rem; }
.brand-card .logo-slot {
  width: 72px; height: 72px; border-radius: 16px;
  background: linear-gradient(145deg, #e8f5f8, #d9efe8);
  display: grid; place-items: center;
  font-weight: 800; color: var(--brand); margin-bottom: 1rem;
  overflow: hidden;
}
.brand-card .logo-slot img { width: 100%; height: 100%; object-fit: contain; }
.brand-card h3 { margin: 0 0 0.4rem; font-size: 1.25rem; }
.brand-card p { color: var(--muted); margin: 0 0 1rem; }
.meta-chip {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #e8f4f8;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.category-card {
  text-align: center;
  padding: 1.3rem 1rem;
  color: inherit;
}
.category-card .icon {
  width: 64px; height: 64px; margin: 0 auto 0.8rem;
  border-radius: 18px;
  background: linear-gradient(145deg, #dff3f8, #e8f7ef);
  display: grid; place-items: center;
  font-size: 1.4rem;
  overflow: hidden;
}
.category-card .icon img { width: 100%; height: 100%; object-fit: cover; }
.category-card strong { display: block; color: var(--ink); }

.product-card .thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, #edf5f8, #e7f2ee);
  overflow: hidden;
}
.product-card .thumb img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .35s ease;
}
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .body { padding: 1rem 1.1rem 1.2rem; }
.product-card .brand { color: var(--brand); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.product-card h3 { margin: 0.25rem 0 0.4rem; font-size: 1.05rem; line-height: 1.3; }
.product-card h3 a { color: inherit; }
.product-card .desc { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.7rem; }
.product-card .features { list-style: none; padding: 0; margin: 0 0 0.8rem; color: var(--muted); font-size: 0.85rem; }
.product-card .features li { margin-bottom: 0.2rem; }
.product-card .features li::before { content: "• "; color: var(--brand-2); }
.product-card .price { font-weight: 800; font-size: 1.1rem; margin-bottom: 0.8rem; }
.product-card .actions { display: flex; gap: 0.45rem; flex-wrap: wrap; }

/* Flipkart-style product list layout */
.page-hero--compact { padding: 1.4rem 0 0.6rem; }
.page-hero--compact h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.product-list-wrap { min-width: 0; }
.product-list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.product-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 180px;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background .15s ease;
}
.product-row:last-child { border-bottom: 0; }
.product-row:hover { background: #f7fbfc; }
.product-row__media {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  background: linear-gradient(160deg, #edf5f8, #e7f2ee);
  border-radius: 12px;
  overflow: hidden;
}
.product-row__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .25s ease;
}
.product-row:hover .product-row__media img { transform: scale(1.03); }
.product-row__brand {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 0.2rem;
}
.product-row__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
}
.product-row__title a { color: var(--ink); }
.product-row__title a:hover { color: var(--brand); }
.product-row__meta {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}
.product-row__bullets {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  color: #4d6572;
  font-size: 0.88rem;
}
.product-row__bullets li {
  position: relative;
  padding-left: 0.85rem;
  margin-bottom: 0.22rem;
  line-height: 1.35;
}
.product-row__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-2);
}
.product-row__desc {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.product-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.product-row__pricebox {
  text-align: left;
  padding-top: 0.15rem;
}
.product-row__price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.product-row__price--ask {
  font-size: 1rem;
  color: var(--brand);
}
.product-row__mrp {
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: baseline;
  font-size: 0.9rem;
}
.product-row__mrp .strike {
  color: #80939e;
  text-decoration: line-through;
}
.product-row__mrp .off {
  color: #1f8f5f;
  font-weight: 800;
}
.product-row__stock {
  margin-top: 0.55rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
}
.product-row__stock.is-in { color: #1f8f5f; }
.product-row__stock.is-out { color: #c0392b; }
.product-row__badge {
  display: inline-block;
  margin-top: 0.55rem;
  margin-right: 0.35rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: #e8f4f8;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
}
.product-row__badge--new { background: #e8f7ef; color: #1f8f5f; }

@media (max-width: 900px) {
  .product-row {
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-areas:
      "media info"
      "media price";
  }
  .product-row__media { width: 112px; height: 112px; grid-area: media; }
  .product-row__info { grid-area: info; }
  .product-row__pricebox { grid-area: price; padding-top: 0; }
  .product-row__actions .btn-whatsapp { display: none; }
}

@media (max-width: 560px) {
  .product-row {
    grid-template-columns: 96px 1fr;
    padding: 0.9rem;
    gap: 0.75rem;
  }
  .product-row__media { width: 96px; height: 96px; }
  .product-row__title { font-size: 0.98rem; }
  .product-row__price { font-size: 1.2rem; }
  .product-row__bullets { font-size: 0.82rem; }
}

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.why-card { padding: 1.2rem; }
.why-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.why-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.cta-band {
  background: linear-gradient(120deg, #0b2a3a, #0e6f8f 55%, #148f6a);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-band h2 { font-family: var(--font-display); margin: 0 0 0.35rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 0.3rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: #fff;
}
textarea { min-height: 110px; resize: vertical; }
.alert {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-weight: 600;
}
.alert-success { background: #e8f7ef; color: #1f8f5f; }
.alert-error { background: #fdecea; color: #c0392b; }

.filters {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.4rem;
}
.filter-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  height: fit-content;
  position: sticky;
  top: 90px;
}
.filter-panel h3 { margin: 0 0 0.8rem; font-size: 1rem; }
.filter-group { margin-bottom: 1rem; }
.filter-group label { font-weight: 600; color: var(--muted); }

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: start;
}
.gallery-main {
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 0.5rem; margin-top: 0.7rem; overflow-x: auto; }
.gallery-thumbs button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0;
  width: 72px; height: 72px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-thumbs button.is-active { border-color: var(--brand); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-brand { color: var(--brand); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 0.82rem; }
.detail-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0.3rem 0 0.7rem;
  letter-spacing: -0.02em;
}
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.spec-table th { width: 42%; background: #f4fafb; color: var(--muted); font-weight: 700; }
.tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tabs button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.tabs button.is-active { background: var(--bg-deep); color: #fff; border-color: var(--bg-deep); }
.tab-panel { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.tab-panel.is-active { display: block; animation: rise .35s ease both; }

.site-footer {
  margin-top: 3rem;
  background: var(--bg-deep);
  color: rgba(255,255,255,.84);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.site-footer h4 { color: #fff; margin: 0 0 0.8rem; font-family: var(--font-display); }
.site-footer a { color: rgba(255,255,255,.8); display: block; margin-bottom: 0.35rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.page-hero {
  padding: 2.2rem 0 1rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0 0 0.4rem;
}

.floating-wa {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(37,211,102,.4);
}

@media (max-width: 980px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 1rem; right: 1rem; top: 74px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow);
  }
  .menu-toggle { display: inline-grid; place-items: center; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .product-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-form input { min-width: 110px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .header-actions .search-form { display: none; }
  .hero { min-height: 520px; }
}
