:root {
  --ink: #0f0f0f;
  --bg: #ffffff;
  --muted: #6b6b6b;
  --border: #ececec;
  --accent: #0e8a6d;       /* Grevon emerald */
  --accent-dark: #095f4c;
  --tint-mint: #dff3ec;
  --tint-cream: #f5efe0;
  --tint-dark: #0f1b17;
  --radius: 8px;
  --radius-sm: 4px;
  --maxw: 1232px;
  --shadow: 0 4px 12px rgba(15, 15, 15, 0.08);
  --font: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Oxygen-Sans, Ubuntu, Cantarell, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main#app {
  flex: 1 0 auto;
}

::placeholder { color: #9e9e9e; opacity: 1; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.view[hidden] { display: none; }

.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 200px;
  padding: 13px 24px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: scale(0.97); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eee; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 85px;
  padding: 14px 32px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--accent-dark);
  flex-shrink: 0;
}
.logo-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.main-nav {
  display: flex;
  gap: 22px;
  font-weight: 500;
  font-size: 15px;
  flex-shrink: 0;
}
.main-nav a:hover { color: var(--accent-dark); }

.location-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f6f6f6;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f6f6f6;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 14px;
  flex: 1;
  min-width: 120px;
  color: var(--muted);
}
.search-field input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  width: 100%;
  color: var(--ink);
}

.search-results {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 60;
  max-height: 340px;
  overflow-y: auto;
}
.search-results.open { display: block; }
.search-result {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.search-result:last-child { border-bottom: none; }
.search-result:hover { background: var(--tint-mint); }
.search-empty { padding: 14px 16px; font-size: 13px; color: var(--muted); }

.search-toggle-btn { display: none; }

.mobile-search-bar {
  display: none;
  padding: 0 18px 12px;
  border-top: 1px solid var(--border);
}
.mobile-search-bar .search-field { margin-top: 12px; }
.mobile-search-bar.open { display: block; }

.header-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.icon-btn {
  background: none;
  border: none;
  padding: 6px;
  display: flex;
  color: var(--ink);
}
.cart-icon-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  padding: 48px 32px 56px;
  align-items: start;
}
.eyebrow {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.hero h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.hero-sub {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  max-width: 480px;
  margin: 0 0 28px;
}

.service-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
}
.service-panel h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--muted);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.service-tile {
  position: relative;
  background: #f6f6f6;
  border-radius: var(--radius-sm);
  padding: 20px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.service-tile:hover {
  background: var(--tint-mint);
  transform: translateY(-2px);
}
.tile-icon {
  font-size: 30px;
  line-height: 1;
}
.tile-label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.tile-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.trust-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}
.stars { color: #e8a900; letter-spacing: 1px; }
.trust-strip strong { color: var(--ink); }

.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.collage-tile {
  height: 180px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.tile-a { background: linear-gradient(145deg, var(--tint-mint), #b9e4d5); }
.tile-b { background: linear-gradient(145deg, var(--tint-cream), #e9dcbb); }
.tile-c { background: linear-gradient(145deg, #dcecff, #b9d4f5); }
.tile-d { background: linear-gradient(145deg, #f5dce8, #ecc0d6); }

/* ---------- Carousel sections ---------- */
.carousel-section { max-width: var(--maxw); margin: 0 auto; padding: 8px 32px 48px; }
.carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}
.carousel-head h2 { font-size: 36px; font-weight: 600; line-height: 44px; margin: 0; letter-spacing: -0.01em; }
.see-all { font-weight: 600; font-size: 14px; color: var(--accent-dark); }

.promo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.promo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}
.promo-card h3 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.2; }
.promo-card p { margin: 0; font-size: 14px; line-height: 1.4; }
.promo-dark {
  background: linear-gradient(160deg, #0f1b17, #113a2f);
  color: #fff;
}
.promo-dark p { color: #cfe6dd; }
.promo-cream { background: var(--tint-cream); color: var(--ink); }
.promo-cream p { color: #6b6047; }
.promo-mint { background: var(--tint-mint); color: var(--ink); }
.promo-mint p { color: #3f6f60; }
.promo-mint .btn, .promo-cream .btn { align-self: flex-start; }
.promo-dark .btn { align-self: flex-start; background: #fff; color: var(--ink); }

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.badge-dark { background: var(--ink); }

.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel::-webkit-scrollbar { display: none; }
.card { flex: 0 0 233px; scroll-snap-align: start; transition: transform 0.15s ease; }
.card:hover { transform: translateY(-2px); }
.card-img {
  position: relative;
  height: 233px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-img .emoji { display: inline-block; font-size: 44px; transition: transform 0.2s ease; }
.card:hover .card-img .emoji { transform: scale(1.08); }
.card-img img, .uc-card__media img, .product-img img {
  width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit;
}
.tile-icon img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; display: inline-block; }
.hub-tile .tile-icon img { width: 34px; height: 34px; }
.service-tile .tile-icon img { width: 64px; height: 48px; border-radius: 0; object-fit: cover; }
.service-hero-media { width: 100%; height: 220px; border-radius: var(--radius, 12px); overflow: hidden; margin: 16px 0 0; }
.service-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .service-hero-media { height: 160px; } }
.ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  z-index: 1;
}
.img-purifier { background: linear-gradient(150deg, #d7ecfb, #a9d3f2); }
.img-lock { background: linear-gradient(150deg, #ece0f7, #cdb3ec); }
.img-ac { background: linear-gradient(150deg, #dff3fb, #b7e2f2); }
.img-paint { background: linear-gradient(150deg, #fbe4d7, #f2bf9c); }
.img-pest { background: linear-gradient(150deg, #e7f3d7, #c5e29c); }
.img-appliance { background: linear-gradient(150deg, #e4e9ff, #c1cbf5); }
.img-electric { background: linear-gradient(150deg, #fff3cf, #f7dd8a); }
.img-plumber { background: linear-gradient(150deg, #d7ecfb, #a9d3f2); }
.img-carpenter { background: linear-gradient(150deg, #f3e3d0, #e0bf98); }
.img-bathroom { background: linear-gradient(150deg, var(--tint-mint), #bfe6d8); }
.img-cleaning { background: linear-gradient(150deg, #fde3ec, #f5c0d6); }

.card .title { margin-top: 10px; font-weight: 600; font-size: 14px; line-height: 1.3; }
.card .meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.card .meta s { color: #b3b3b3; margin-right: 4px; }

/* ---------- Banner split ---------- */
.banner-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  max-width: var(--maxw);
  margin: 0 auto 32px;
  border-radius: var(--radius);
  overflow: hidden;
}
.banner-split.reverse { direction: rtl; }
.banner-split.reverse > * { direction: ltr; }
.banner-split .text {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.banner-split .text h2 { font-size: 30px; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
.banner-split .text p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 380px; }
.banner-split .text .btn { align-self: flex-start; }
.tint-mint { background: var(--tint-mint); }
.tint-dark { background: var(--tint-dark); color: #fff; }
.tint-dark p { color: #b9c9c2; }

.img-block {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}
.bg-1 { background: linear-gradient(150deg, #cfe9de, #9ccdb6); }
.bg-2 { background: linear-gradient(150deg, #16261f, #0a1410); color: #fff; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 32px 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb .sep { color: #d3d3d3; }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

/* ---------- Service page hero ---------- */
.service-hero { max-width: var(--maxw); margin: 0 auto; padding: 20px 32px 8px; }
.service-hero h1 { font-size: 36px; font-weight: 600; line-height: 44px; margin: 6px 0 14px; letter-spacing: -0.01em; }
.service-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.service-meta .dot { color: #ccc; }
.warranty-badge {
  background: var(--tint-mint);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  margin-left: 4px;
}

/* ---------- Tabs ---------- */
.tab-nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 32px 0;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-bottom: 1px solid var(--border);
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  background: none;
  border: none;
  padding: 10px 2px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--ink); border-bottom-color: var(--accent); }

.tab-panel { max-width: var(--maxw); margin: 0 auto; padding: 26px 32px 8px; }
.tab-panel.hidden { display: none; }
.tab-panel .panel-note { color: var(--muted); font-size: 13px; margin: -10px 0 18px; }

/* ---------- Price grid / cards ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.price-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: transparent;
}
.price-card h3 { font-size: 15px; margin: 0; font-weight: 600; line-height: 1.35; }
.price-desc { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.price-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price .now { font-weight: 700; font-size: 16px; }
.price .was { text-decoration: line-through; color: #b3b3b3; font-size: 13px; margin-left: 6px; }
.btn-sm { padding: 9px 18px; font-size: 13px; flex-shrink: 0; }

/* ---------- Category hub pages ---------- */
.hub-hero { max-width: var(--maxw); margin: 0 auto; padding: 40px 32px 8px; }
.hub-hero h1 { font-size: 36px; line-height: 44px; margin: 8px 0 10px; font-weight: 600; letter-spacing: -0.01em; }
.hub-hero p { color: var(--muted); max-width: 520px; font-size: 15px; line-height: 1.5; }

.hub-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 32px 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hub-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.hub-tile:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.06); transform: translateY(-2px); }
.hub-tile .tile-icon { font-size: 30px; }
.hub-tile .tile-label { font-weight: 700; font-size: 15px; }
.hub-tile .tile-sub { font-size: 13px; color: var(--muted); }

/* ---------- Product (Native) pages ---------- */
.product-hero { max-width: var(--maxw); margin: 0 auto; padding: 40px 32px 8px; }
.product-hero h1 { font-size: 36px; line-height: 44px; margin: 8px 0 10px; font-weight: 600; letter-spacing: -0.01em; }
.product-hero p { color: var(--muted); max-width: 560px; font-size: 15px; line-height: 1.5; }

.product-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 32px 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.06); transform: translateY(-2px); }
.product-card .product-img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  overflow: hidden;
}
.product-card .product-img span { display: inline-block; transition: transform 0.2s ease; }
.product-card:hover .product-img span { transform: scale(1.08); }
.product-card .product-body { padding: 16px; }
.product-card h3 { font-size: 15px; margin: 0 0 8px; }
.product-card .price-now { font-weight: 700; font-size: 16px; }
.bank-offer { max-width: var(--maxw); margin: 18px auto 44px; padding: 0 32px; font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tint-dark);
  color: #cfd8d4;
  margin-top: 96px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 32px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand .logo { color: #fff; margin-bottom: 8px; }
.footer-brand p { color: #9aa8a2; font-size: 14px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: #7f8f88; margin: 0 0 14px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; color: #cfd8d4; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 32px;
  font-size: 13px;
  color: #7f8f88;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  #searchFieldDesktop, .location-pill { display: none; }
  .search-toggle-btn { display: flex; }
  .hamburger { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 32px 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .hero { grid-template-columns: 1fr; }
  .promo-row { grid-template-columns: 1fr; }
  .banner-split, .banner-split.reverse { grid-template-columns: 1fr; direction: ltr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hub-grid, .product-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .header-inner { padding: 12px 18px; }
  .hero { padding: 32px 18px 40px; }
  .hero h1 { font-size: 32px; }
  .service-grid { gap: 10px; }
  .tile-icon { font-size: 24px; }
  .tile-label { font-size: 12px; }
  .carousel-section { padding: 8px 18px 36px; }
  .hide-mobile { display: none; }
  .footer-inner { grid-template-columns: 1fr; padding: 40px 18px 20px; }
  .banner-split .text { padding: 32px 24px; }
  .breadcrumb, .service-hero, .tab-nav, .tab-panel, .hub-hero, .hub-grid, .product-hero, .product-grid, .bank-offer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .service-hero h1, .hub-hero h1, .product-hero h1 { font-size: 26px; }
  .hub-grid, .product-grid { grid-template-columns: 1fr; }
  .price-card-bottom { flex-wrap: wrap; }
}

/* ============================================================
   Service / Package card system (uc-*)
   Tokens adapted to Grevon's own accent — geometry/type/spacing
   unchanged.
   ============================================================ */
:root {
  --uc-fs-section: 28px; --uc-lh-section: 40px; --uc-fw-section: 700;
  --uc-fs-title:   16px; --uc-lh-title:   24px; --uc-fw-title:   700;
  --uc-fs-action:  14px; --uc-lh-action:  20px; --uc-fw-action:  600;
  --uc-fs-meta:    12px; --uc-lh-meta:    16px; --uc-fw-meta:    400;

  --uc-accent:    var(--accent);
  --uc-accent-bd: #b7ddd0;
  --uc-accent-bg: var(--tint-mint);
  --uc-success:   var(--accent-dark);
  --uc-rule:      var(--border);
  --uc-surface-alt: #f5f5f5;

  --uc-col: 480px;
  --uc-thumb: 128px;
  --uc-banner-h: 234px;
  --uc-r-md: 8px;
  --uc-btn-w: 80px;
  --uc-btn-h: 36px;

  --uc-s1: 4px; --uc-s2: 8px; --uc-s3: 12px; --uc-s4: 16px;
  --uc-s6: 24px; --uc-s8: 32px;
}

.uc-section { width: 100%; max-width: var(--uc-col); margin: 0 auto; }
.uc-section__title {
  margin: 0 0 var(--uc-s4);
  font-size: var(--uc-fs-section); line-height: var(--uc-lh-section);
  font-weight: var(--uc-fw-section); color: var(--ink); letter-spacing: -0.2px;
}

.uc-card { display: flex; flex-direction: column; width: 100%; background: var(--bg); }
.uc-card + .uc-card { margin-top: var(--uc-s8); padding-top: var(--uc-s8); border-top: 1px solid var(--uc-rule); }

.uc-card__media { position: relative; overflow: hidden; border-radius: var(--uc-r-md); background: var(--uc-surface-alt); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.uc-card__media .emoji { font-size: 44px; }
.uc-card--hero .uc-card__media { width: 100%; height: var(--uc-banner-h); margin-bottom: var(--uc-s4); }

.uc-card--compact { flex-direction: row; align-items: flex-start; gap: var(--uc-s4); }
.uc-card--compact .uc-card__body { flex: 1; min-width: 0; }
.uc-card--compact .uc-card__aside { width: var(--uc-thumb); flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }
.uc-card--compact .uc-card__media { width: var(--uc-thumb); height: var(--uc-thumb); }
.uc-card--compact .uc-card__cta { margin-top: -18px; position: relative; z-index: 1; }

.uc-chip {
  position: absolute; top: var(--uc-s3); left: var(--uc-s3);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 6px; white-space: nowrap;
  background: var(--uc-success); color: #fff;
  font-size: var(--uc-fs-meta); line-height: var(--uc-lh-meta); font-weight: 600;
}
.uc-card--compact .uc-chip {
  top: 0; left: 0; right: 0;
  justify-content: center; padding: 5px 6px;
  border-radius: var(--uc-r-md) var(--uc-r-md) 0 0;
  font-size: 11px;
}

.uc-card__body { display: flex; flex-direction: column; align-items: flex-start; }
.uc-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--uc-s4); width: 100%; }
.uc-card__title { margin: 0; font-size: var(--uc-fs-title); line-height: var(--uc-lh-title); font-weight: var(--uc-fw-title); color: var(--ink); }
.uc-card__title a { color: inherit; text-decoration: none; }
.uc-card__title a:hover { text-decoration: underline; }

.uc-rating { display: inline-flex; align-items: center; gap: var(--uc-s1); margin-top: var(--uc-s1); font-size: var(--uc-fs-meta); line-height: var(--uc-lh-meta); color: var(--muted); }
.uc-rating__icon { width: 14px; height: 14px; flex-shrink: 0; }
.uc-rating__text {
  padding-bottom: 1px;
  background-image: linear-gradient(to right, var(--muted) 40%, rgba(255,255,255,0) 0%);
  background-size: 5px 1px; background-repeat: repeat-x; background-position: bottom left;
}

.uc-price { display: flex; align-items: center; gap: var(--uc-s2); margin-top: var(--uc-s2); font-size: var(--uc-fs-meta); line-height: var(--uc-lh-meta); }
.uc-price__now { font-weight: 700; color: var(--ink); }
.uc-price__was { font-weight: 400; color: var(--muted); text-decoration: line-through; }
.uc-price__dot, .uc-price__meta { color: var(--muted); }

.uc-savings { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--uc-s2); font-size: var(--uc-fs-meta); line-height: var(--uc-lh-meta); color: var(--uc-success); }
.uc-savings svg { width: 12px; height: 12px; flex-shrink: 0; }

.uc-dash { width: 100%; height: 1px; margin-top: var(--uc-s3); background-image: linear-gradient(to right, var(--uc-rule) 40%, rgba(255,255,255,0) 0%); background-size: 5px 1px; background-repeat: repeat-x; }
.uc-list { list-style: none; margin: var(--uc-s3) 0 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: var(--uc-s1); }
.uc-list li { position: relative; padding-left: 22px; font-size: var(--uc-fs-meta); line-height: var(--uc-lh-meta); color: var(--muted); }
.uc-list li::before { content: ""; position: absolute; left: 8px; top: 7px; width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

.uc-link { margin-top: var(--uc-s3); padding: 0; border: 0; background: none; cursor: pointer; font-family: inherit; font-size: var(--uc-fs-action); line-height: var(--uc-lh-action); font-weight: var(--uc-fw-action); color: var(--uc-accent); }
.uc-link:hover { text-decoration: underline; }
.uc-details-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--uc-rule);
  font-size: 13px;
  color: var(--muted);
}

.uc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--uc-btn-w); height: var(--uc-btn-h); padding: 6px 8px;
  border: 1px solid var(--uc-accent-bd); border-radius: var(--uc-r-md);
  background: var(--bg); color: var(--uc-accent); cursor: pointer;
  font-family: inherit; font-size: var(--uc-fs-action); line-height: var(--uc-lh-action); font-weight: var(--uc-fw-action);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  transition: background .15s ease, border-color .15s ease;
}
.uc-btn:hover { background: var(--uc-accent-bg); border-color: var(--uc-accent); }
.uc-btn:active { background: #cdeee1; }
.uc-btn:focus-visible { outline: 2px solid var(--uc-accent); outline-offset: 2px; }
.uc-btn--stepper { justify-content: space-between; gap: var(--uc-s2); padding: 6px 10px; }
.uc-btn--stepper span { font-weight: 700; }

@media (max-width: 480px) {
  :root { --uc-banner-h: 180px; --uc-thumb: 96px; --uc-fs-section: 22px; --uc-lh-section: 30px; }
  .uc-card + .uc-card { margin-top: var(--uc-s6); padding-top: var(--uc-s6); }
}

/* ============================================================
   Cart / Checkout / Confirmation
   ============================================================ */
.cart-page, .checkout-page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 32px 64px;
}
.cart-page h1, .checkout-page h1 { font-size: 32px; font-weight: 600; margin: 0 0 24px; letter-spacing: -0.01em; }

.cart-empty { text-align: center; padding: 64px 24px; color: var(--muted); }
.cart-empty p { margin: 0 0 16px; }

.cart-items { max-width: 640px; display: flex; flex-direction: column; }
.cart-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.cart-item-name { font-weight: 600; font-size: 15px; }
.cart-item-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cart-item-controls { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.cart-item-price { font-weight: 700; font-size: 14px; min-width: 70px; text-align: right; }

.cart-summary { max-width: 640px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.cart-checkout-btn { display: inline-block; }

.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.checkout-section { margin-bottom: 28px; }
.checkout-section h2 { font-size: 16px; font-weight: 700; margin: 0 0 14px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid-full { grid-column: 1 / -1; }
.form-grid input {
  width: 100%; padding: 12px 14px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--ink);
  background: var(--bg);
}
.form-grid input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-error { color: #c0392b; font-size: 13px; margin: 8px 0 0; }

.slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.slot-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); cursor: pointer; font-family: inherit; text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.slot-btn:hover { border-color: var(--accent); }
.slot-btn.active { border-color: var(--accent); background: var(--tint-mint); }
.slot-day { font-size: 12px; color: var(--muted); }
.slot-window { font-size: 14px; font-weight: 600; }

.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-option {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; font-size: 14px; font-weight: 500;
}
.payment-option:has(input:checked) { border-color: var(--accent); background: var(--tint-mint); }
.payment-option input { accent-color: var(--accent); }

.checkout-submit { width: 100%; margin-top: 8px; }

.checkout-summary {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  position: sticky; top: 100px;
}
.checkout-summary h2 { font-size: 15px; font-weight: 700; margin: 0 0 14px; }
.checkout-summary-item { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; color: var(--ink); }
.checkout-summary-qty { color: var(--muted); }
.checkout-summary-total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 10px; font-weight: 700; }

.confirmation-page {
  max-width: 560px; margin: 0 auto; padding: 64px 32px 80px; text-align: center;
}
.confirmation-icon {
  width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 28px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.confirmation-page h1 { font-size: 28px; font-weight: 600; margin: 0 0 8px; }
.confirmation-order-id { font-weight: 700; color: var(--accent-dark); margin: 0 0 12px; }
.confirmation-note { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 32px; }
.confirmation-summary { text-align: left; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 28px; }
.confirmation-block { margin-bottom: 18px; }
.confirmation-block:last-child { margin-bottom: 0; }
.confirmation-block h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 0 0 6px; }
.confirmation-block p { margin: 0 0 2px; font-size: 14px; }

@media (max-width: 768px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cart-page, .checkout-page { padding: 24px 18px 48px; }
  .cart-item { flex-wrap: wrap; }
}

/* ============================================================
   Install prompt banner (mobile only)
   ============================================================ */
.install-banner {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 200;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.install-banner-icon { font-size: 20px; flex-shrink: 0; }
.install-banner-text { flex: 1; font-size: 13px; line-height: 1.4; }
.install-banner-action {
  flex-shrink: 0; background: #fff; color: var(--ink); border: none;
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700;
  font-family: inherit; cursor: pointer;
}
.install-banner-dismiss {
  flex-shrink: 0; background: none; border: none; color: #cfd8d4;
  font-size: 14px; cursor: pointer; padding: 4px;
}

@media (max-width: 768px) {
  .install-banner.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* ============================================================
   "Select a service" tab selector (icon grid)
   ============================================================ */
.service-selector {
  max-width: var(--uc-col);
  margin: 24px auto 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.service-selector-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.service-selector-head span {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.service-selector-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.service-selector-grid.tab-nav {
  max-width: none;
  margin: 0;
  padding: 0;
  border-bottom: none;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-selector-grid.tab-nav .tab-btn {
  all: unset;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  cursor: pointer;
  border-bottom: none;
}
.service-selector-tile-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: #f6f6f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.service-selector-grid.tab-nav .tab-btn:hover .service-selector-tile-icon {
  background: var(--tint-mint);
  transform: translateY(-2px);
}
.service-selector-grid.tab-nav .tab-btn.active .service-selector-tile-icon {
  background: var(--tint-mint);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.service-selector-tile-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.service-selector-grid.tab-nav .tab-btn.active .service-selector-tile-label {
  color: var(--accent-dark);
  font-weight: 600;
}

@media (max-width: 480px) {
  .service-selector { padding: 18px; }
  .service-selector-grid.tab-nav { gap: 14px; }
  .service-selector-tile-icon { font-size: 26px; }
  .service-selector-tile-label { font-size: 12px; }
}

/* ---------- Service layout: selector left, content centered ---------- */
.service-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 32px;
  align-items: start;
  max-width: var(--maxw);
  margin: 24px auto 0;
  padding: 0 32px 56px;
}
.service-layout .service-selector {
  max-width: none;
  margin: 0;
  position: sticky;
  top: 100px;
}
.service-layout .service-selector-grid.tab-nav {
  grid-template-columns: repeat(2, 1fr);
}
.service-layout .service-content { min-width: 0; }
.service-layout .tab-panel {
  max-width: none;
  margin: 0;
  padding: 0 0 8px;
}

@media (max-width: 900px) {
  .service-layout { grid-template-columns: 1fr; padding: 0 32px 56px; }
  .service-layout .service-selector {
    position: static;
    max-width: var(--uc-col);
    margin: 0 auto;
  }
  .service-layout .service-selector-grid.tab-nav { grid-template-columns: repeat(3, 1fr); }
  .service-layout .tab-panel { padding-top: 8px; }
}

@media (max-width: 560px) {
  .service-layout { padding: 0 18px 40px; }
}

/* ---------- "See all" modal ---------- */
.see-all-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
}
.see-all-overlay[hidden] { display: none; }
.see-all-modal {
  position: relative;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 780px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.see-all-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.see-all-modal-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  padding-right: 40px;
}
.see-all-section + .see-all-section { margin-top: 32px; }
.see-all-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
}
.see-all-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.see-all-item {
  background: #f6f6f6;
  border-radius: var(--radius-sm);
  padding: 16px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.see-all-item:hover { background: var(--tint-mint); transform: translateY(-2px); }
.see-all-item .see-all-item-media {
  width: 64px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.see-all-item .see-all-item-media img { width: 100%; height: 100%; object-fit: cover; }
.see-all-item .see-all-item-media .emoji { font-size: 30px; }
.see-all-item .see-all-item-label { font-size: 13px; font-weight: 500; line-height: 1.3; }

@media (max-width: 640px) {
  .see-all-modal { padding: 28px 20px; border-radius: 16px; }
  .see-all-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .see-all-modal-title { font-size: 22px; }
}
@media (max-width: 420px) {
  .see-all-grid { grid-template-columns: repeat(2, 1fr); }
}
