:root {
  --cyan: #00c4cc;
  --cyan-dark: #00a9b0;
  --cyan-soft: #e6fbfc;
  --purple: #6d28d9;
  --purple-deep: #5b21b6;
  --magenta: #e91e8c;
  --pink: #f472b6;
  --yellow: #facc15;
  --orange: #fb923c;
  --green: #34d399;
  --navy: #0b1220;
  --navy-2: #111827;
  --black: #111111;
  --text: #1e2433;
  --muted: #6b7280;
  --line: #eceff3;
  --soft: #f7f8fb;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(17, 24, 39, 0.08);
  --shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1240px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
ul { list-style: none; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.container-wide { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  border-radius: 8px;
  padding: 14px 26px;
  transition: 0.25s ease;
  line-height: 1;
}
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--purple); }
.btn-cyan { background: var(--cyan); color: #fff; }
.btn-cyan:hover { background: var(--cyan-dark); }
.btn-white { background: #fff; color: var(--black); }
.btn-white:hover { background: var(--yellow); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid #d7dbe3;
}
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 999px; }
.btn-cyan-sm {
  background: var(--cyan);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pill.light { background: rgba(255,255,255,0.18); color: #fff; }
.section { padding: 90px 0; }
.section-head { margin-bottom: 42px; }
.section-head h2, .section-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.muted { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.star { color: #f5b301; }
.check { color: #22c55e; margin-right: 8px; }

/* Topbar */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  gap: 16px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sale-chip {
  background: var(--cyan);
  color: #fff;
  font-weight: 700;
  padding: 8px 14px;
  margin-left: -20px;
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
}
.countdown { display: flex; gap: 6px; font-weight: 700; }
.countdown span {
  min-width: 28px;
  text-align: center;
  background: var(--soft);
  border-radius: 6px;
  padding: 4px 6px;
}
.topbar a:hover { color: var(--cyan); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  color: var(--muted);
}
.socials a:hover { color: var(--cyan); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 86px;
  gap: 20px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
}
.logo img, .logo svg { width: 42px; height: 42px; }
.logo span { color: var(--black); }
.nav { display: flex; justify-content: center; gap: 28px; }
.nav a {
  font-weight: 600;
  font-size: 15px;
  color: #222;
  position: relative;
  padding: 8px 0;
}
.nav a:hover, .nav a.active { color: var(--cyan); }
.nav a.active::after, .nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--cyan);
}
.header-actions { display: flex; align-items: center; gap: 16px; }
.icon-btn {
  width: 42px; height: 42px;
  border: 0; background: transparent;
  position: relative;
  cursor: pointer;
  font-size: 18px;
  color: var(--text);
}
.cart-count {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid; place-items: center;
}
.menu-toggle { display: none; }

/* Page hero */
.page-hero {
  background: linear-gradient(90deg, #fde7f1 0%, #e7e4ff 48%, #d7ecff 100%);
  padding: 72px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  letter-spacing: -0.04em;
  margin-top: 14px;
}
.sparkle {
  position: absolute;
  color: var(--yellow);
  font-size: 34px;
  filter: drop-shadow(0 0 0 #111);
}
.sparkle.right { right: 14%; top: 38%; }
.sparkle.left { left: 12%; top: 28%; color: #fb7185; }

/* Home hero */
.home-hero {
  background: linear-gradient(105deg, #fbe8f4 0%, #ece7ff 46%, #dceeff 100%);
  padding: 70px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.home-hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 14px 0 18px;
}
.hero-copy { font-size: 16px; color: var(--muted); max-width: 520px; margin-bottom: 20px; }
.hero-list { margin: 0 0 28px; }
.hero-list li { display: flex; gap: 10px; margin-bottom: 8px; font-weight: 600; }
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.play-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.play-link i {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--purple);
}
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  min-height: 460px;
  max-height: 520px;
}
.price-badge {
  position: absolute;
  left: 18px; top: 18px;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  line-height: 1.15;
  box-shadow: var(--shadow);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

/* Feature row */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -36px;
  position: relative;
  z-index: 2;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.icon-circle {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
  font-size: 20px;
}
.bg-cyan { background: var(--cyan); }
.bg-purple { background: var(--purple); }
.bg-pink { background: var(--magenta); }
.bg-orange { background: var(--orange); }
.bg-yellow { background: var(--yellow); color: #111; }
.feature-card h3 { font-size: 18px; margin-bottom: 4px; }

/* Split about */
.split-visual { position: relative; }
.split-visual img {
  width: 100%;
  border-radius: 24px;
  min-height: 420px;
  object-fit: cover;
}
.mini-float {
  position: absolute;
  right: -12px;
  bottom: 28px;
  width: 150px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.mini-float img { min-height: 110px; object-fit: cover; }
.check-list { margin: 18px 0 26px; }
.check-list li { display: flex; gap: 10px; margin-bottom: 10px; font-weight: 600; }
.avatars { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.avatars img {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -10px;
}
.avatars img:first-child { margin-left: 0; }
.trust-note { font-weight: 800; font-size: 14px; }

/* Marquee */
.marquee-wrap {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.marquee {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: slide 22s linear infinite;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.marquee span:nth-child(3n+1) { color: var(--cyan); }
.marquee span:nth-child(3n+2) { color: var(--black); }
.marquee span:nth-child(3n) { color: var(--orange); }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Service cards */
.service-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.service-card {
  background: var(--soft);
  border-radius: 18px;
  padding: 22px 18px 0;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.service-card h3 { font-size: 18px; margin: 8px 0 8px; }
.service-card p { color: var(--muted); font-size: 14px; }
.service-card img {
  margin-top: auto;
  height: 130px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}
.more-link { color: var(--cyan); font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; margin-top: 10px; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  border-radius: 22px;
  padding: 28px 18px;
  text-align: center;
}
.stat b { display: block; font-size: 40px; letter-spacing: -0.04em; }
.stat.pink { background: #fde4ec; }
.stat.orange { background: #ffe8d6; }
.stat.green { background: #e5f8ea; }
.stat.purple { background: #ece4ff; }

/* Product cards */
.tabs { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; }
.tabs button {
  border: 0; background: transparent;
  font-weight: 700; cursor: pointer; color: var(--muted);
  padding-bottom: 6px; border-bottom: 2px solid transparent;
}
.tabs button.active { color: var(--cyan); border-color: var(--cyan); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  transition: 0.25s ease;
}
.product-card:hover { box-shadow: var(--shadow); }
.product-media {
  background: #f3f4f6;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  height: 230px;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-actions {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.28);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: 0.25s ease;
}
.product-card:hover .product-actions { opacity: 1; }
.product-body { padding: 14px 6px 8px; }
.product-body h3 { font-size: 16px; color: #2563eb; margin: 6px 0; }
.price { font-weight: 800; }

/* Project showcase */
.project-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
}
.project-copy {
  background: linear-gradient(160deg, #6d28d9, #4c1d95);
  color: #fff;
  padding: 48px 40px;
}
.project-copy h2 { color: #fff; margin: 10px 0 16px; font-size: 34px; }
.project-copy li { margin-bottom: 10px; }
.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.project-gallery img { width: 100%; height: 210px; object-fit: cover; }

/* How it works */
.step-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid transparent;
}
.step-box.active { border-color: #ddd6fe; box-shadow: var(--shadow); }
.step-label { color: var(--cyan); font-weight: 800; font-size: 13px; }

/* Pricing */
.billing-toggle {
  display: inline-flex;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 6px;
  margin: 18px 0 36px;
}
.billing-toggle button {
  border: 0; background: transparent;
  padding: 10px 22px; border-radius: 999px;
  font-weight: 700; cursor: pointer;
}
.billing-toggle button.active { background: var(--purple); color: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 26px;
  background: #fff;
  position: relative;
}
.price-card.featured {
  background: linear-gradient(180deg, #6d28d9, #4c1d95);
  color: #fff;
  transform: scale(1.04);
}
.price-card.featured p, .price-card.featured li { color: #efe7ff; }
.price-card h3 { font-size: 24px; margin-bottom: 6px; }
.price-card .amount { font-size: 40px; font-weight: 800; margin: 16px 0; }
.price-card li { margin: 10px 0; }
.ribbon {
  position: absolute;
  top: 18px; right: -8px;
  background: var(--yellow);
  color: #111;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px 0 0 6px;
}

/* Testimonials */
.quote-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px;
}
.quote-card p { margin: 12px 0 18px; color: var(--muted); }
.person { display: flex; gap: 12px; align-items: center; }
.person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }

/* Process cards */
.process-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.process-card img { height: 210px; width: 100%; object-fit: cover; }
.process-card .body { padding: 22px; }
.step-no {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cyan);
  color: #fff;
  font-weight: 800;
}

/* Blog */
.blog-card { background: #fff; }
.blog-card img { width: 100%; height: 230px; object-fit: cover; border-radius: 18px; }
.meta { color: var(--muted); font-size: 13px; display: flex; gap: 14px; margin: 12px 0; }
.blog-card h3 { font-size: 20px; margin-bottom: 8px; line-height: 1.35; }
.blog-main { display: grid; grid-template-columns: 1.6fr 0.8fr; gap: 40px; }
.blog-item { margin-bottom: 42px; }
.thumb-wrap { position: relative; }
.date-badge {
  position: absolute;
  left: 16px; top: 16px;
  background: var(--cyan);
  color: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  font-size: 13px;
}
.sidebar-card {
  background: var(--soft);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 22px;
}
.sidebar-card h3 { margin-bottom: 14px; }
.search-field, .field {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  background: #fff;
}
.search-field:focus, .field:focus { border-color: var(--cyan); }
.field-group { display: block; margin-top: 14px; font-weight: 700; font-size: 14px; }
.field-group .field { font-weight: 500; }
.cat-link {
  display: flex; justify-content: space-between;
  padding: 10px 12px; border-radius: 10px; margin-bottom: 6px;
}
.cat-link.active, .cat-link:hover { background: var(--cyan); color: #fff; }
.tag {
  display: inline-block;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 10px;
  margin: 0 6px 8px 0;
  font-size: 13px;
}
.recent { display: flex; gap: 12px; margin-bottom: 14px; }
.recent img { width: 72px; height: 64px; object-fit: cover; border-radius: 10px; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 42%, #06b6d4 100%);
  border-radius: 24px;
  padding: 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.cta-banner h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.15; margin: 12px 0 20px; color: #fff; }
.cta-art { display: flex; gap: 12px; justify-content: end; }
.cta-art img {
  width: 170px; height: 210px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

/* Newsletter */
.newsletter {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
}
.newsletter-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.newsletter h2 { font-size: 32px; color: #fff; }
.news-form {
  display: flex;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  min-width: min(520px, 100%);
}
.news-form input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 12px 18px;
  border-radius: 999px;
}
.news-form button {
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--cyan);
  color: #fff;
  cursor: pointer;
}

/* Footer */
.footer { background: var(--navy); color: #cbd5e1; padding: 20px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 30px;
  padding: 30px 0 40px;
}
.footer h4 { color: #fff; margin-bottom: 16px; }
.footer a { display: block; margin: 8px 0; color: #94a3b8; }
.footer a:hover { color: var(--cyan); }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.to-top {
  width: 42px; height: 42px;
  background: var(--cyan);
  color: #fff;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

/* Shop */
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; }
.filter-box { background: var(--soft); border-radius: 16px; padding: 20px; margin-bottom: 18px; }
.filter-box h4 { margin-bottom: 12px; }
.filter-box label { display: flex; gap: 8px; align-items: center; margin: 8px 0; font-size: 14px; }
.shop-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.colors { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid #d1d5db; cursor: pointer;
}
.range { width: 100%; accent-color: var(--cyan); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.pager a, .pager span {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 8px; background: #f3f4f6; font-weight: 700;
}
.pager .active { background: var(--cyan); color: #fff; }

/* Contact */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: -50px; position: relative; z-index: 2; }
.info-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 32px 24px;
  text-align: center;
}
.info-card.accent {
  background: linear-gradient(160deg, #7c3aed, #2563eb);
  color: #fff;
}
.info-card .ico {
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 14px;
  background: #ede9fe; color: var(--purple); font-size: 22px;
}
.info-card.accent .ico { background: rgba(255,255,255,0.18); color: #fff; }
.form-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; }
.underline-field {
  display: flex; gap: 10px; align-items: center;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
  margin-bottom: 16px;
}
.underline-field input, .underline-field textarea {
  border: 0; outline: none; width: 100%; background: transparent; resize: vertical;
}
.error { color: #dc2626; font-size: 13px; margin: -8px 0 12px; display: none; }
.error.show { display: block; }
.success-banner {
  display: none;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-weight: 700;
}

/* Team */
.team-card { text-align: center; }
.team-card img {
  width: 100%; height: 280px; object-fit: cover;
  border-radius: 18px; margin-bottom: 14px;
}
.team-card h3 { font-size: 20px; }
.role { color: var(--cyan); font-weight: 700; font-size: 14px; }

/* FAQ */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item .answer { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item.open { border-color: #c4b5fd; }
.faq-item.open .answer { display: block; }

/* Legal */
.legal h2 { margin: 28px 0 10px; font-size: 24px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 18px; list-style: disc; }
.legal li { margin-bottom: 8px; }

/* Cart */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { text-align: left; padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; gap: 12px; align-items: center; }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.qty {
  width: 54px; padding: 8px; border-radius: 8px; border: 1px solid #e5e7eb; text-align: center;
}
.cart-layout { display: grid; grid-template-columns: 1.5fr 0.7fr; gap: 32px; }
.cart-summary {
  background: var(--soft);
  border-radius: 18px;
  padding: 24px;
}
.row-between { display: flex; justify-content: space-between; margin: 10px 0; }

/* Search modal */
.overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  z-index: 80;
}
.overlay.open { display: flex; }
.search-box {
  background: #fff;
  width: min(640px, calc(100% - 32px));
  border-radius: 16px;
  padding: 18px;
}
.search-box input { width: 100%; border: 0; outline: none; font-size: 18px; padding: 8px; }

.center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.hidden { display: none !important; }

@media (max-width: 1100px) {
  .service-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .project-split, .cta-banner, .form-wrap, .blog-main, .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 86px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px 24px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .menu-toggle { display: grid; }
  .sale-chip { margin-left: 0; }
  .feature-row, .info-cards, .service-grid, .product-grid, .grid-3 { grid-template-columns: 1fr 1fr; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .newsletter-inner, .footer-bottom, .topbar-inner, .service-toolbar { flex-direction: column; align-items: flex-start; }
  .news-form { width: 100%; }
}
@media (max-width: 640px) {
  .feature-row, .info-cards, .service-grid, .product-grid, .grid-3, .grid-4, .stats, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual img { min-height: 320px; }
  .cta-banner, .project-copy { padding: 28px; }
  .header-actions .btn { display: none; }
}
