:root {
  --black: #111111;
  --ink: #191816;
  --charcoal: #22201c;
  --gold: #c6a75c;
  --gold-soft: #e1cc91;
  --cream: #f5f1e8;
  --light: #fbfaf7;
  --gray: #d9d9d9;
  --muted: #817b70;
  --line: rgba(198, 167, 92, 0.28);
  --shadow: 0 22px 70px rgba(17, 17, 17, 0.18);
  --radius: 8px;
  --max: 1180px;
  --font-body: "Assistant", "Heebo", "Segoe UI", Arial, sans-serif;
  --font-heading: "Noto Serif Hebrew", "Assistant", Georgia, serif;
  --font-ui: "Assistant", "Heebo", "Segoe UI", Arial, sans-serif;
  --hero-image: url("../img/main/korin-hero.jpeg");
  --portrait-image: url("../img/main/korin-portrait.jpeg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--light);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.7;
  letter-spacing: 0;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1200;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--black);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

body.a11y-large {
  font-size: 118%;
}

body.a11y-contrast {
  --black: #000;
  --ink: #000;
  --charcoal: #000;
  --gold: #ffd766;
  --gold-soft: #ffe6a3;
  --cream: #fff;
  --light: #fff;
  --gray: #111;
  --muted: #111;
  --line: rgba(0, 0, 0, 0.65);
}

body.a11y-links a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

body.a11y-motion *,
body.a11y-motion *::before,
body.a11y-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  font-family: var(--font-ui);
}

button {
  cursor: pointer;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  gap: 16px;
  background: var(--black);
  color: var(--gold-soft);
  transition: opacity 600ms ease, visibility 600ms ease;
}

.loader img {
  width: min(230px, 58vw);
  height: auto;
  max-height: 130px;
  object-fit: contain;
  border: 0;
}

.loader span {
  align-self: start;
  font-family: var(--font-heading);
  letter-spacing: 0;
  font-size: 0.82rem;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: var(--black);
  color: #fff;
  border-bottom: 1px solid rgba(198, 167, 92, 0.35);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: clamp(78px, 9vw, 122px);
  height: 48px;
  object-fit: contain;
  border: 0;
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(0.88rem, 2vw, 1.02rem);
  letter-spacing: 0;
  white-space: nowrap;
}

.brand small {
  color: var(--gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  transition: color 220ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 220ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.admin-link {
  color: var(--gold-soft) !important;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  padding: 11px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--gold);
}

#app {
  min-height: 70vh;
}

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--black);
  background:
    linear-gradient(90deg, rgba(245, 241, 232, 0.94), rgba(255, 255, 255, 0.98)),
    var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(198, 167, 92, 0.18), rgba(198, 167, 92, 0)),
    linear-gradient(90deg, rgba(198, 167, 92, 0.1), rgba(255, 255, 255, 0));
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  z-index: -1;
  background: rgba(198, 167, 92, 0.32);
}

.hero-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(420px, 1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px) 0 clamp(46px, 7vw, 78px);
}

.hero-content {
  width: 100%;
  margin: 0;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid rgba(198, 167, 92, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 44px rgba(17, 17, 17, 0.07);
}

.hero-mark {
  width: clamp(150px, 20vw, 240px);
  height: auto;
  max-height: 150px;
  object-fit: contain;
  border: 0;
  filter: drop-shadow(0 18px 28px rgba(17, 17, 17, 0.12));
  margin-bottom: 28px;
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual img {
  width: 100%;
  max-height: min(760px, calc(100vh - 128px));
  min-height: 620px;
  object-fit: cover;
  object-position: center top;
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.44);
  box-shadow: 0 26px 68px rgba(17, 17, 17, 0.16);
  background: #fff;
}

.hero-visual figcaption {
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.section-title,
.hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 10px;
  color: var(--black);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--gold);
}

.hero .lead {
  max-width: 660px;
  color: #4c463c;
  font-size: clamp(1.05rem, 2.1vw, 1.32rem);
}

.hero .eyebrow {
  color: var(--gold);
}

.hero .btn-outline {
  color: var(--black);
  border-color: rgba(198, 167, 92, 0.56);
  background: rgba(255, 255, 255, 0.64);
}

.hero-actions,
.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-ui);
  font-weight: 700;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.btn-primary:hover {
  background: #000;
  border-color: #000;
}

.btn-outline {
  background: transparent;
  color: var(--gold-soft);
  border-color: rgba(198, 167, 92, 0.62);
}

.btn-outline.dark {
  color: var(--black);
}

.btn-black {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.full {
  width: 100%;
}

.section {
  padding: clamp(72px, 10vw, 122px) clamp(20px, 4vw, 56px);
}

.section.dark {
  background: var(--black);
  color: #fff;
}

.section.cream {
  background: var(--cream);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.55fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.section-title {
  color: inherit;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.12;
  margin-bottom: 12px;
}

.section-copy {
  color: var(--muted);
  font-size: 1.04rem;
}

.dark .section-copy {
  color: rgba(255, 255, 255, 0.7);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.intro-text {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: #35312b;
}

.intro-text p {
  margin-bottom: 1.1em;
}

.image-stack {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 14px;
  align-items: end;
}

.image-stack img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.28);
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  margin-bottom: 44px;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
}

.story-media {
  margin: 0;
}

.story-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.34);
  box-shadow: var(--shadow);
}

.story-copy .section-copy {
  max-width: 680px;
}

.story-points {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.story-point {
  padding-top: 14px;
  border-top: 1px solid rgba(198, 167, 92, 0.24);
}

.story-point strong {
  color: var(--black);
}

.story-point p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-grid,
.treatments-grid,
.products-grid,
.review-grid,
.stats-grid,
.admin-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.promise-grid,
.treatment-summary-grid,
.process-grid,
.faq-grid,
.routine-grid,
.client-insight-grid {
  display: grid;
  gap: 18px;
}

.promise-grid,
.routine-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.treatment-summary-grid,
.process-grid,
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.treatment-card,
.product-card,
.review-card,
.stat-card,
.admin-panel,
.form-panel,
.contact-panel,
.qr-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.22);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.08);
}

.feature-card {
  padding: 28px 22px;
}

.promise-card,
.summary-pill-card,
.process-card,
.faq-card,
.routine-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.22);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.08);
}

.promise-card h3,
.summary-pill-card strong,
.process-card h3,
.faq-card h3 {
  color: var(--black);
}

.promise-card p,
.summary-pill-card span,
.process-card p,
.faq-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.summary-pill-card {
  display: grid;
  gap: 6px;
  text-align: center;
}

.summary-pill-card strong {
  font-family: var(--font-heading);
  font-size: 1.12rem;
}

.process-card .num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: #fff;
  color: var(--gold);
  font-weight: 900;
}

.routine-card {
  display: grid;
  gap: 10px;
}

.routine-card small {
  color: var(--gold);
  font-weight: 800;
}

.routine-card .btn {
  width: auto;
  justify-self: start;
}

.feature-card .num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--gold-soft);
  background: var(--black);
  border: 1px solid var(--gold);
}

.feature-card h3,
.treatment-card h3,
.product-card h3,
.review-card h3 {
  color: var(--black);
  margin-bottom: 8px;
}

.feature-card p,
.treatment-card p,
.product-card p,
.review-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.signature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.signature-item {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--black);
}

.signature-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 500ms ease, opacity 500ms ease;
}

.signature-item:hover img {
  transform: scale(1.04);
  opacity: 0.86;
}

.signature-content {
  position: relative;
  width: 100%;
  padding: 26px;
  color: #fff;
  background: linear-gradient(0deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0));
}

.signature-content small {
  color: var(--gold-soft);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filters.secondary {
  margin-top: -12px;
}

.filter-btn {
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(198, 167, 92, 0.35);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-ui);
}

.filter-btn.is-active {
  background: var(--black);
  color: var(--gold-soft);
  border-color: var(--gold);
}

.masonry {
  columns: 4 230px;
  column-gap: 16px;
}

.gallery-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.24);
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.1);
}

.gallery-item img {
  width: 100%;
  object-fit: cover;
}

.gallery-item span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.78);
  color: var(--gold-soft);
  font-size: 0.82rem;
}

.treatments-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.treatment-card,
.product-card {
  overflow: hidden;
}

.treatment-card img,
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--cream);
}

.treatment-body,
.product-body {
  padding: 20px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(198, 167, 92, 0.35);
  color: var(--gold);
  background: rgba(198, 167, 92, 0.08);
  font-size: 0.86rem;
  font-family: var(--font-ui);
  font-weight: 700;
}

.products-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.store-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.24);
  background: rgba(245, 241, 232, 0.88);
}

.store-intro h2 {
  margin-bottom: 10px;
  color: var(--black);
}

.store-intro p {
  margin-bottom: 0;
  color: #4d463c;
}

.store-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(170px, 220px);
  gap: 12px;
  margin-bottom: 18px;
}

.results-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  margin-bottom: 16px;
  color: var(--muted);
}

.results-row strong {
  color: var(--black);
}

.store-toolbar input,
.store-toolbar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px 14px;
}

.store-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 16px;
}

.products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card img {
  object-fit: contain;
  padding: 16px;
}

.stock {
  color: var(--muted);
  font-size: 0.9rem;
}

.stock.is-empty {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(155, 44, 44, 0.28);
  color: #9b2c2c;
  background: rgba(155, 44, 44, 0.07);
  font-weight: 800;
}

.cart-summary {
  padding: 22px;
  background: var(--black);
  color: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.payment-card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.36);
  background: #fff;
  color: var(--black);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
}

.payment-card h3 {
  margin-bottom: 6px;
}

.payment-card p {
  color: var(--muted);
  margin-bottom: 14px;
}

.payment-card img {
  width: 138px;
  height: 138px;
  margin: 12px auto;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: var(--radius);
}

.payment-actions {
  display: grid;
  gap: 10px;
}

.store-benefits {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.28);
  background: var(--cream);
}

.store-benefits p {
  margin: 0;
}

.cart-summary h3 {
  color: var(--gold-soft);
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  padding: 22px;
}

.stars {
  color: var(--gold);
  letter-spacing: 0;
  direction: ltr;
  text-align: right;
}

.review-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-top: 16px;
  border-radius: var(--radius);
}

.final-cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: clamp(22px, 5vw, 60px);
}

.form-panel,
.contact-panel,
.qr-panel {
  padding: clamp(22px, 4vw, 34px);
}

.lux-form {
  display: grid;
  gap: 14px;
}

.lux-form label,
.checkout-form label,
.admin-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

.lux-form input,
.lux-form select,
.lux-form textarea,
.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.lux-form input:focus,
.lux-form select:focus,
.lux-form textarea:focus,
.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(198, 167, 92, 0.13);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(198, 167, 92, 0.24);
}

.map-embed {
  width: 100%;
  min-height: 300px;
  margin-top: 22px;
  border: 0;
  border-radius: var(--radius);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: 28px;
  padding: 52px clamp(20px, 4vw, 56px);
  background: var(--black);
  color: rgba(255, 255, 255, 0.74);
  border-top: 1px solid rgba(198, 167, 92, 0.38);
}

.site-footer img {
  width: min(160px, 70vw);
  height: auto;
  max-height: 110px;
  object-fit: contain;
  border: 0;
  margin-bottom: 12px;
}

.site-footer h3,
.site-footer p {
  color: #fff;
  margin-bottom: 8px;
}

.site-footer small,
.footer-socials a {
  color: var(--gold-soft);
}

.footer-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter form {
  display: flex;
  gap: 10px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 12px 14px;
}

.whatsapp-float,
.cart-fab,
.accessibility-fab,
.mobile-admin-fab {
  position: fixed;
  z-index: 850;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.28);
}

.whatsapp-float {
  left: 20px;
  bottom: 22px;
  background: #25d366;
}

.whatsapp-float span {
  width: 25px;
  height: 25px;
  border: 2px solid #fff;
  border-radius: 50%;
  position: relative;
}

.whatsapp-float span::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: -5px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(35deg);
}

.cart-fab {
  left: 86px;
  bottom: 22px;
  border: 1px solid var(--gold);
  background: var(--black);
  color: var(--gold-soft);
}

.accessibility-fab {
  right: 20px;
  top: auto;
  bottom: 116px;
  transform: none;
  width: auto;
  min-width: 56px;
  padding: 0 13px;
  border: 1px solid var(--gold);
  background: var(--black);
  color: var(--gold-soft);
  font-weight: 800;
}

.cart-icon {
  width: 24px;
  height: 18px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 4px 4px;
  position: relative;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: -8px;
  height: 10px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}

.cart-fab strong {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.75rem;
}

.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 950;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  background: var(--cream);
  box-shadow: 28px 0 80px rgba(17, 17, 17, 0.28);
  transform: translateX(-110%);
  transition: transform 260ms ease;
  overflow-y: auto;
}

.accessibility-panel {
  position: fixed;
  right: 20px;
  top: auto;
  bottom: 180px;
  z-index: 950;
  width: min(330px, calc(100% - 40px));
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(14px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.accessibility-panel.is-open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--black);
  font-size: 1.4rem;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(198, 167, 92, 0.2);
  border-radius: var(--radius);
  background: #fff;
}

.cart-line img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--cream);
  border-radius: var(--radius);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: #fff;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 1100;
  max-width: min(360px, calc(100% - 40px));
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--gold-soft);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  direction: ltr;
  margin: 0;
  padding: 0;
  background: var(--light);
}

body[data-route="admin"] .site-header,
body[data-route="admin"] .site-footer,
body[data-route="admin"] .cart-fab,
body[data-route="admin"] .accessibility-fab,
body[data-route="admin"] .mobile-admin-fab,
body[data-route="admin"] .whatsapp-float {
  display: none;
}

body[data-route="admin"] .admin-shell,
body[data-route="admin"] .admin-sidebar {
  min-height: 100vh;
}

.admin-sidebar {
  grid-column: 2;
  grid-row: 1;
  direction: rtl;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100vh;
  padding: 22px 18px;
  background: var(--black);
  color: #fff;
  border-inline-start: 1px solid rgba(198, 167, 92, 0.28);
}

.admin-sidebar-brand {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(198, 167, 92, 0.24);
}

.admin-sidebar-brand img {
  width: 96px;
  height: 44px;
  object-fit: contain;
}

.admin-sidebar-brand strong {
  font-family: var(--font-heading);
  font-size: 1.08rem;
}

.admin-sidebar-brand span {
  color: var(--gold-soft);
  font-size: 0.86rem;
}

.admin-main {
  grid-column: 1;
  grid-row: 1;
  direction: rtl;
  min-width: 0;
  padding: clamp(30px, 5vw, 58px) clamp(22px, 4vw, 48px);
}

.login-card {
  max-width: 440px;
  margin: 0 auto;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-tabs {
  display: grid;
  gap: 10px;
  margin: 0;
}

.sync-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 16px 0 22px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.32);
  background: #fff;
  color: var(--muted);
}

.sync-status strong {
  color: #8a6420;
}

.sync-status.is-ready strong {
  color: #17613a;
}

.sync-status .mini-btn {
  margin-inline-start: auto;
}

.sync-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.sync-actions .mini-btn {
  margin-inline-start: 0;
}

.sync-hint {
  width: 100%;
  color: var(--muted);
}

.admin-tabs button {
  width: 100%;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  padding: 10px 14px;
  font-weight: 800;
  text-align: right;
}

.admin-tabs button.is-active {
  background: rgba(198, 167, 92, 0.22);
  color: #fff;
  border-color: rgba(198, 167, 92, 0.34);
}

.admin-sidebar-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.admin-sidebar-actions button,
.admin-sidebar-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: transparent;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  padding: 10px 14px;
  line-height: 1.35;
}

.admin-sidebar-actions .admin-action-load {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.admin-sidebar-actions .admin-action-save {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-sidebar-actions .admin-action-logout {
  border-color: rgba(163, 58, 50, 0.35);
  background: rgba(163, 58, 50, 0.2);
  color: #fff;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.admin-panel {
  padding: 22px;
}

.stat-card strong {
  display: block;
  color: var(--black);
  font-size: 2rem;
}

.admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.2);
  background: #fff;
}

.admin-row img {
  width: 80px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--cream);
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 16px;
}

.admin-search {
  display: grid;
  gap: 6px;
  min-width: min(320px, 100%);
  color: var(--ink);
  font-weight: 700;
}

.admin-search input {
  min-height: 44px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px 14px;
}

.admin-search input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(198, 167, 92, 0.13);
}

.admin-tools-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-inline-start: auto;
}

.admin-tools-meta strong {
  color: var(--black);
}

.mini-btn {
  min-height: 34px;
  padding: 6px 11px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.mini-btn.danger {
  border-color: rgba(155, 44, 44, 0.28);
  color: #9b2c2c;
}

.mini-btn.success {
  border-color: rgba(45, 125, 75, 0.3);
  color: #2d7d4b;
}

.notification-list {
  display: grid;
  gap: 10px;
}

.notification-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.notification-item.is-unread {
  border-color: rgba(198, 167, 92, 0.48);
  background: rgba(198, 167, 92, 0.08);
}

.notification-item p {
  margin: 4px 0;
  color: var(--black);
}

.notification-item small {
  color: var(--muted);
}

.notification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.qr-code {
  display: inline-grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.qr-code img {
  width: 220px;
  height: 220px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.empty-state {
  padding: 26px;
  border: 1px dashed rgba(198, 167, 92, 0.45);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
}

.client-portal {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  background: var(--black);
  color: #fff;
}

.client-portal-media {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
}

.client-portal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.18), rgba(17, 17, 17, 0.78));
}

.client-portal-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.01);
}

.client-portal-panel {
  align-self: center;
  width: min(560px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 70px) 0;
}

.client-logo {
  width: min(220px, 56vw);
  max-height: 132px;
  object-fit: contain;
  margin-bottom: 28px;
}

.client-portal h1,
.client-dashboard h1 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.client-lead {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.client-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.client-portal-panel .availability-calendar {
  margin-top: 22px;
  color: var(--ink);
}

.client-portal-panel .availability-calendar h2 {
  color: var(--black);
}

.client-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.client-form label span {
  color: rgba(255, 255, 255, 0.56);
  font-weight: 600;
}

.client-form input,
.client-form select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(198, 167, 92, 0.46);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--black);
  padding: 12px 14px;
  outline: none;
}

.client-form input:focus,
.client-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(198, 167, 92, 0.18);
}

.client-form input[readonly] {
  color: #5f584e;
  background: rgba(245, 241, 232, 0.94);
}

.client-test-code {
  margin: 0;
  color: var(--gold-soft);
}

.client-dashboard {
  min-height: calc(100vh - 76px);
  padding: clamp(28px, 5vw, 62px) clamp(18px, 4vw, 56px) clamp(70px, 8vw, 110px);
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(17, 17, 17, 0.9) 42%, rgba(245, 241, 232, 1) 42%),
    var(--cream);
}

.client-dashboard-hero {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 0.92fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.client-dashboard-hero img {
  width: 100%;
  max-height: 560px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.44);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.28);
}

.client-main-cta {
  margin-top: 18px;
  min-width: min(100%, 280px);
}

.client-action-bar {
  width: min(var(--max), 100%);
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.client-action-bar .btn-outline {
  color: var(--black);
  background: rgba(255, 255, 255, 0.88);
}

.client-insight-grid {
  width: min(var(--max), 100%);
  margin: 24px auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-insight {
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.client-insight small {
  display: block;
  margin-bottom: 8px;
}

.client-insight strong {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.28rem;
}

.booking-success-banner {
  width: min(var(--max), 100%);
  margin: 28px auto 0;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.28);
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.08);
}

.booking-success-banner h2 {
  color: var(--black);
  margin-bottom: 8px;
}

.booking-success-banner p {
  color: var(--muted);
  margin-bottom: 0;
}

.booking-success-meta,
.booking-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.client-shell-grid {
  width: min(var(--max), 100%);
  margin: clamp(28px, 5vw, 42px) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.client-side-stack {
  display: grid;
  gap: 18px;
}

.client-appointments-panel {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.26);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.08);
}

.client-appointments-list {
  display: grid;
  gap: 12px;
}

.client-next-card {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.24);
  background: linear-gradient(180deg, rgba(245, 241, 232, 0.9), #fff);
}

.client-next-card h3 {
  margin-bottom: 8px;
  color: var(--black);
}

.client-next-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.client-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.client-appointment-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.22);
  background: #fff;
}

.client-appointment-card time {
  display: grid;
  color: var(--muted);
}

.client-appointment-card time span {
  font-size: 0.84rem;
}

.client-appointment-card time strong {
  color: var(--black);
  font-size: 1.5rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  margin-inline-end: 8px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(198, 167, 92, 0.12);
  color: #8a6420;
}

.status-pill.is-approved {
  background: rgba(23, 97, 58, 0.12);
  color: #17613a;
}

.status-pill.is-waiting {
  background: rgba(198, 167, 92, 0.14);
  color: #8a6420;
}

.status-pill.is-completed {
  background: rgba(17, 17, 17, 0.08);
  color: var(--black);
}

.status-pill.is-cancelled {
  background: rgba(155, 44, 44, 0.12);
  color: #9b2c2c;
}

.client-appointment-card.is-cancelled {
  border-color: rgba(155, 44, 44, 0.2);
}

.client-appointment-card.is-waiting {
  border-color: rgba(198, 167, 92, 0.4);
}

.client-appointment-card .mini-btn {
  justify-self: end;
}

.client-appointment-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.reschedule-note {
  margin-top: 14px;
  color: #5d5140;
  font-weight: 700;
}

.client-note-panel {
  height: fit-content;
}

.client-note-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 18px 0 0;
  color: var(--muted);
}

.booking-access {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: clamp(40px, 7vw, 90px) 20px;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.62)),
    var(--portrait-image) center top / cover no-repeat;
  color: #fff;
}

.booking-access-inner {
  width: min(650px, 100%);
}

.booking-access h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1.06;
}

.booking-access p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.14rem;
}

.booking-wizard {
  padding: clamp(28px, 5vw, 62px) clamp(18px, 4vw, 56px) clamp(70px, 8vw, 110px);
  background: var(--cream);
}

.booking-wizard-hero {
  width: min(var(--max), 100%);
  margin: 0 auto clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.35fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  padding-bottom: clamp(24px, 4vw, 44px);
  border-bottom: 1px solid rgba(198, 167, 92, 0.28);
}

.booking-wizard-hero h1 {
  color: var(--black);
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 1.04;
  margin-bottom: 12px;
}

.booking-wizard-hero .client-lead {
  color: #4c463c;
  max-width: 680px;
}

.booking-wizard-hero img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 1px solid rgba(198, 167, 92, 0.46);
  box-shadow: 0 24px 58px rgba(17, 17, 17, 0.16);
}

.booking-workspace {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
}

.booking-flow {
  display: grid;
  gap: 18px;
}

.booking-step {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.24);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.07);
}

.booking-step.is-locked {
  opacity: 0.74;
  background: rgba(245, 241, 232, 0.72);
}

.booking-step.is-locked .booking-date-field,
.booking-step.is-locked .booking-time-grid,
.booking-step.is-locked .suggested-slots,
.booking-step.is-locked .form-grid,
.booking-step.is-locked > label {
  display: none;
}

.booking-step h2 {
  margin-bottom: 4px;
  color: var(--black);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--black);
  color: var(--gold-soft);
  font-weight: 900;
}

.booking-treatment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.booking-treatment-option {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 96px;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.26);
  background: #fff;
  color: var(--black);
  text-align: right;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.booking-treatment-option:hover,
.booking-treatment-option.is-selected,
.booking-time-grid button:hover,
.booking-time-grid button.is-selected,
.suggested-slots button:hover,
.suggested-slots button.is-selected {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 12px 26px rgba(198, 167, 92, 0.18);
}

.booking-treatment-option img {
  width: 78px;
  height: 76px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--cream);
}

.booking-treatment-option span,
.booking-treatment-option strong,
.booking-treatment-option small {
  display: block;
}

.booking-treatment-option small {
  color: var(--muted);
}

.booking-step label,
.booking-date-field {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.booking-date-field input,
.booking-step input,
.booking-step select,
.booking-step textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
}

.booking-time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.booking-time-grid button,
.suggested-slots button {
  min-height: 44px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.28);
  background: #fff;
  color: var(--black);
  font-weight: 800;
}

.suggested-slots {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.suggested-slots > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.suggested-slots button {
  padding: 0 12px;
}

.booking-summary {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 14px;
}

.summary-card,
.summary-note {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.28);
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.08);
}

.summary-card h2 {
  color: var(--black);
  margin-bottom: 14px;
}

.summary-card dl {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.summary-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(198, 167, 92, 0.18);
}

.summary-card dt {
  color: var(--muted);
}

.summary-card dd {
  margin: 0;
  font-weight: 900;
  color: var(--black);
  text-align: left;
}

.summary-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
}

.booking-primary,
.booking-side .contact-panel {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.22);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.08);
}

.booking-side {
  display: grid;
  gap: 16px;
}

.booking-head,
.panel-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.booking-head h2,
.panel-title-row h2 {
  margin-bottom: 0;
}

.booking-badge,
.panel-title-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(198, 167, 92, 0.45);
  background: var(--black);
  color: var(--gold-soft);
  font-weight: 800;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.slot-grid button {
  min-height: 76px;
  padding: 12px;
  border: 1px solid rgba(198, 167, 92, 0.34);
  border-radius: var(--radius);
  background: #fff;
  color: var(--black);
  text-align: right;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.slot-grid button:hover,
.slot-grid button.is-selected {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 12px 26px rgba(198, 167, 92, 0.18);
}

.slot-grid strong,
.slot-grid span {
  display: block;
}

.slot-grid span,
.micro-copy {
  color: var(--muted);
  font-size: 0.92rem;
}

.availability-calendar {
  overflow: hidden;
}

.availability-days {
  display: grid;
  gap: 10px;
}

.availability-day {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(189, 152, 82, 0.28);
  border-radius: var(--radius);
  background: #fff;
}

.availability-day time {
  display: grid;
  place-items: center;
  min-height: 64px;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--muted);
  line-height: 1.1;
}

.availability-day time strong {
  color: var(--black);
  font-family: var(--font-heading);
  font-size: 1.65rem;
}

.availability-day div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.availability-day button {
  min-height: 36px;
  padding: 6px 11px;
  border-radius: var(--radius);
  border: 1px solid rgba(189, 152, 82, 0.34);
  background: rgba(250, 249, 246, 0.96);
  color: var(--black);
  font-weight: 800;
}

.mobile-admin-fab {
  right: 20px;
  bottom: 184px;
  display: none;
  width: auto;
  min-width: 58px;
  padding: 0 14px;
  border: 1px solid var(--gold);
  background: var(--black);
  color: var(--gold-soft);
  font-weight: 900;
}

.availability-day button:hover,
.availability-day button.is-selected {
  border-color: var(--gold);
  background: var(--black);
  color: #fff;
}

.availability-day.is-full {
  opacity: 0.72;
}

.availability-day p {
  margin: 0;
  color: var(--muted);
}

.booking-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.booking-steps span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(198, 167, 92, 0.32);
  background: var(--cream);
  font-weight: 800;
}

.admin-command-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.command-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.3);
  background: #fff;
  color: var(--black);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.07);
}

.command-card span {
  color: var(--muted);
}

.calendar-board,
.automation-board,
.task-list,
.insight-list,
.app-actions,
.app-qr-grid {
  display: grid;
  gap: 12px;
}

.calendar-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.25);
  background: #fff;
}

.calendar-item time {
  display: grid;
  color: var(--muted);
}

.calendar-item time strong {
  color: var(--black);
  font-size: 1.4rem;
}

.client-avatar {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--black);
  color: var(--gold-soft);
  font: 800 1.45rem var(--font-title);
}

.compact-row {
  grid-template-columns: 86px 1fr auto;
}

.automation-card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #fff;
}

.automation-card.is-active {
  border-color: rgba(198, 167, 92, 0.55);
  box-shadow: inset 4px 0 0 var(--gold);
}

.whatsapp-template-panel {
  grid-column: 1 / -1;
}

.whatsapp-template-panel .automation-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lead-small {
  color: var(--muted);
  font-size: 1.04rem;
}

.task-list label {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 167, 92, 0.24);
  background: #fff;
}

.app-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-qr-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-qr-grid .qr-code img {
  width: 150px;
  height: 150px;
}

@media (max-width: 1060px) {
  .feature-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promise-grid,
  .process-grid,
  .faq-grid,
  .routine-grid,
  .client-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .treatment-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .treatments-grid,
  .products-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-layout,
  .split-layout,
  .booking-layout,
  .booking-workspace,
  .booking-wizard-hero,
  .client-portal,
  .client-dashboard-hero,
  .client-shell-grid,
  .story-layout,
  .intro-grid,
  .section-head,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .client-portal-media {
    min-height: 42vh;
  }

  .client-portal-media::after {
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.86));
  }

  .cart-summary {
    position: static;
  }

  .store-sidebar {
    position: static;
  }

  .booking-summary {
    position: static;
  }

  .store-intro,
  .final-cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: clamp(72px, 18vw, 96px);
    height: 44px;
  }

  .brand strong {
    white-space: normal;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-admin-fab {
    display: grid;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 20px 22px;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 240ms ease;
  }

  .main-nav a,
  .main-nav a:hover,
  .main-nav a.is-active,
  .main-nav .admin-link {
    color: #fff !important;
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    background: rgba(198, 167, 92, 0.32);
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(198, 167, 92, 0.18), rgba(198, 167, 92, 0));
    opacity: 0.96;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    padding: 42px 0 56px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    width: min(100%, 440px);
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 5;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.7rem);
  }

  .signature-strip,
  .booking-treatment-list,
  .admin-grid,
  .admin-command-grid {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar,
  .admin-main {
    grid-column: 1;
  }

  .admin-sidebar {
    grid-row: 1;
    min-height: auto;
  }

  .admin-main {
    grid-row: 2;
  }

  .admin-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter form {
    display: grid;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 58px 18px;
  }

  .brand img {
    width: 76px;
    height: 40px;
  }

  .brand small {
    display: none;
  }

  .hero-content {
    width: 100%;
  }

  .feature-grid,
  .treatments-grid,
  .products-grid,
  .review-grid,
  .stats-grid,
  .promise-grid,
  .treatment-summary-grid,
  .process-grid,
  .faq-grid,
  .routine-grid,
  .client-insight-grid,
  .form-grid,
  .slot-grid,
  .booking-time-grid,
  .app-actions,
  .app-qr-grid,
  .client-appointment-card {
    grid-template-columns: 1fr;
  }

  .client-appointment-actions {
    justify-content: stretch;
  }

  .client-appointment-actions .mini-btn {
    flex: 1;
  }

  .notification-item {
    grid-template-columns: 1fr;
  }

  .sync-actions,
  .notification-actions {
    width: 100%;
    justify-content: stretch;
  }

  .sync-actions .mini-btn,
  .notification-actions .mini-btn {
    width: 100%;
  }

  .client-portal {
    min-height: auto;
  }

  .client-portal-panel {
    width: calc(100% - 32px);
  }

  .client-dashboard {
    background:
      linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(17, 17, 17, 0.92) 52%, rgba(245, 241, 232, 1) 52%),
      var(--cream);
  }

  .client-action-bar {
    display: grid;
  }

  .hero-actions,
  .actions-row {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack img:first-child {
    margin-bottom: 0;
  }

  .admin-row {
    grid-template-columns: 64px 1fr;
  }

  .admin-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .admin-actions .mini-btn {
    flex: 1;
  }

  .whatsapp-float {
    left: 16px;
    bottom: 16px;
  }

  .cart-fab {
    left: 82px;
    bottom: 16px;
  }

  .accessibility-fab {
    right: 16px;
    top: auto;
    bottom: 104px;
  }

  .accessibility-panel {
    right: 16px;
    top: auto;
    bottom: 166px;
    width: calc(100% - 32px);
  }

  .store-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-tools-meta {
    margin-inline-start: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
