:root {
  --ink: #090a0d;
  --muted: #5c6070;
  --line: #e9e0d4;
  --soft: #fff7ec;
  --paper: #ffffff;
  --green: #d7fb68;
  --green-dark: #48621d;
  --amber: #ffd400;
  --blue: #3157ff;
  --rose: #ef0d83;
  --flame: #ff4d2d;
  --violet: #c400d8;
  --navy: #10171f;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(9, 10, 13, 0.05), 0 4px 12px rgba(9, 10, 13, 0.06);
  --shadow-md: 0 2px 6px rgba(9, 10, 13, 0.06), 0 14px 34px rgba(9, 10, 13, 0.1);
  --shadow-lg: 0 8px 20px rgba(9, 10, 13, 0.08), 0 28px 70px rgba(9, 10, 13, 0.16);
  --shadow: var(--shadow-lg);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 260ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(9, 10, 13, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 10, 13, 0.035) 1px, transparent 1px),
    #f7f8f3;
  background-size: 28px 28px;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
  padding: 14px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid rgba(215, 251, 104, 0.1);
  background: rgba(16, 23, 31, 0.97);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark,
.avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #10171f;
  box-shadow: inset 0 0 0 2px rgba(9, 10, 13, 0.1), 0 8px 24px rgba(215, 251, 104, 0.18);
  font-weight: 800;
}

.brand strong,
.profile-card strong {
  display: block;
  font-size: 1rem;
}

.topbar .brand strong {
  color: white;
  font-size: 1.5rem;
  letter-spacing: 0;
}

.topbar .brand small {
  color: rgba(255, 255, 255, 0.64);
}

.brand small,
.profile-card span,
.stat-card small,
.appointment-summary small,
.cart-footer small {
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.main-nav a,
.cart-button,
.tab,
.admin-table button,
.profile-card button {
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.main-nav a {
  padding: 9px 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.main-nav a:hover {
  background: rgba(215, 251, 104, 0.12);
  color: var(--green);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-button,
.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
  font-weight: 700;
}

.account-chip.is-admin {
  background: rgba(20, 122, 83, 0.1);
  color: var(--green-dark);
}

.cart-button span {
  display: grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-size: 0.82rem;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr) minmax(280px, 0.68fr);
  gap: clamp(18px, 2.2vw, 30px);
  align-items: stretch;
  min-height: calc(100vh - 88px);
  max-width: 1720px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 58px) clamp(18px, 5vw, 88px);
  background: transparent;
  overflow: hidden;
}

.home-hero-copy {
  display: flex;
  min-height: 680px;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  max-width: none;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(16, 23, 31, 0.08);
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 920px;
  font-size: clamp(3.2rem, 5vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.home-hero-copy h1 {
  max-width: 100%;
  font-size: clamp(2.9rem, 3.75vw, 4.85rem);
  line-height: 1;
  overflow-wrap: normal;
  text-wrap: balance;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 16px;
  font-size: 1.08rem;
}

.home-hero-copy > p:not(.eyebrow),
.section-heading > p {
  max-width: 650px;
  color: #6b726b;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.primary-action {
  padding: 0 20px;
  background: #10171f;
  color: white;
  box-shadow: 0 14px 30px rgba(9, 10, 13, 0.16);
}

.secondary-action {
  padding: 0 20px;
  border: 1px solid rgba(9, 10, 13, 0.12);
  background: white;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  border: 1px solid rgba(215, 251, 104, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 40% 48%, rgba(215, 251, 104, 0.22), transparent 34%),
    #10171f;
  background-size: 36px 36px, 36px 36px, auto, auto;
  box-shadow: 0 28px 70px rgba(16, 23, 31, 0.22);
  padding: clamp(20px, 2.2vw, 30px);
  transform: none;
  overflow: hidden;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  opacity: 0.88;
}

.radar-heading span {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.radar-heading strong {
  display: block;
  max-width: 420px;
  margin-top: 12px;
  color: white;
  font-size: clamp(2rem, 3.3vw, 3.1rem);
  line-height: 1;
}

.radar-heading p {
  max-width: 450px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.hero-offer {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.hero-offer > strong {
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.05;
}

.book-label {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-offer p,
.featured-book p {
  margin: 0;
  color: var(--muted);
}

.hero-offer > strong,
.hero-offer p,
.hero-offer .featured-actions > strong {
  color: white;
}

.hero-offer p {
  color: rgba(255, 255, 255, 0.68);
}

.hero-offer .primary-action {
  background: var(--green);
  color: #10171f;
  box-shadow: none;
}

.home-side-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(16, 23, 31, 0.08);
  padding: clamp(20px, 2.2vw, 30px);
}

.home-side-panel h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.side-product,
.quick-link {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 14px;
  background: #fbfcf8;
  padding: 14px;
}

.side-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 14px;
  background: #fbfcf8;
  padding: 12px;
}

.side-item span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #10171f;
  color: var(--green);
  font-weight: 900;
}

.side-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-item small {
  color: var(--green-dark);
  font-weight: 900;
}

.side-link {
  color: #2f67c7;
  font-weight: 900;
}

.mini-leaderboard {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(9, 10, 13, 0.08);
}

.mini-leaderboard a {
  display: block;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 14px;
  background: #fbfcf8;
  padding: 13px 14px;
  font-weight: 900;
}

.side-product strong,
.quick-link strong {
  line-height: 1.12;
}

.side-product span,
.quick-link span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.quick-link {
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
}

.quick-link em {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #10171f;
  font-style: normal;
  font-weight: 900;
}

.featured-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.featured-actions > strong {
  font-size: 1.6rem;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(9, 10, 13, 0.08);
  border-bottom: 1px solid rgba(9, 10, 13, 0.08);
  background: rgba(9, 10, 13, 0.08);
}

.process-strip > div {
  display: grid;
  align-content: start;
  gap: 8px;
  background: #fffdf8;
  padding: 22px;
}

.process-strip span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--flame), var(--rose));
  color: white;
  font-weight: 900;
}

.process-strip strong {
  font-size: 1rem;
}

.process-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.flow-grid article {
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 20px;
  background: white;
  box-shadow: 0 12px 28px rgba(23, 33, 27, 0.06);
  padding: 20px;
}

.flow-grid span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #111, #3a2313);
  color: white;
  font-weight: 900;
}

.flow-grid p {
  color: var(--muted);
}

.hero-panel {
  display: none;
}

.stat-card,
.profile-card,
.library-panel,
.admin-form,
.admin-table,
.appointment-board,
.product-card {
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(23, 33, 27, 0.06);
}

.metric-label,
.stat-card span,
.appointment-summary span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.stat-card strong,
.appointment-summary strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  letter-spacing: 0;
  line-height: 1;
}

.publisher-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.publisher-strip > div {
  padding: 18px clamp(18px, 6vw, 90px);
  background: #ffffff;
}

.publisher-strip span,
.publisher-note {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.publisher-strip strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
}

.section {
  max-width: 1720px;
  margin: clamp(26px, 4vw, 52px) auto;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(16, 23, 31, 0.06);
  padding: clamp(34px, 5vw, 64px) clamp(22px, 4.8vw, 58px);
}

.bio-page {
  display: grid;
  min-height: calc(100vh - 76px);
  place-items: center;
  padding: clamp(32px, 7vw, 78px) 18px;
  background:
    linear-gradient(110deg, rgba(20, 122, 83, 0.08), transparent 44%),
    linear-gradient(180deg, #ffffff, var(--soft));
}

.auth-page {
  display: grid;
  min-height: calc(100vh - 76px);
  place-items: center;
  padding: clamp(32px, 7vw, 78px) 18px;
  background:
    linear-gradient(110deg, rgba(53, 108, 168, 0.08), transparent 44%),
    linear-gradient(180deg, #ffffff, var(--soft));
}

.auth-card {
  display: grid;
  width: min(480px, 100%);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  padding: clamp(22px, 5vw, 36px);
}

.auth-card h1 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 7vw, 3.8rem);
}

.auth-card p {
  color: var(--muted);
}

.bio-card {
  display: grid;
  width: min(520px, 100%);
  gap: 14px;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  padding: clamp(24px, 6vw, 42px);
  text-align: center;
}

.bio-card h1 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 8vw, 4.2rem);
}

.bio-card p {
  color: var(--muted);
}

.bio-links {
  display: grid;
  width: 100%;
  gap: 10px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 760px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 0;
  font-weight: 650;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonials-section {
  position: relative;
  overflow: visible;
  border: 0;
  background: #ffffff;
  color: var(--ink);
  box-shadow: none;
  text-align: center;
}

.testimonials-section .eyebrow,
.testimonial-card span {
  color: var(--ink);
}

.testimonials-section .section-heading > p:not(.eyebrow),
.testimonial-heading p:not(.eyebrow) {
  color: var(--muted);
}

.testimonial-title {
  margin: 0 0 26px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.1vw, 4.2rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
}

.testimonial-controls {
  display: none;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: clamp(58px, 7vw, 104px);
  height: clamp(58px, 7vw, 104px);
  place-items: center;
  border: 0;
  background: transparent;
  color: #000000;
  cursor: pointer;
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.testimonial-arrow:hover {
  opacity: 0.72;
  transform: translateY(-50%) scale(1.03);
}

.testimonial-arrow-prev {
  left: clamp(6px, 2vw, 28px);
}

.testimonial-arrow-next {
  right: clamp(6px, 2vw, 28px);
}

.testimonial-slider {
  overflow: hidden;
  max-width: min(1320px, calc(100% - 150px));
  margin: 0 auto;
}

.testimonial-track,
.testimonial-grid {
  display: grid;
  grid-auto-columns: calc((100% - 56px) / 2);
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: 56px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  display: grid;
  min-height: 0;
  scroll-snap-align: start;
  align-content: start;
  gap: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 10px;
  text-align: left;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 24px;
}

.testimonial-photo {
  display: grid;
  flex: 0 0 auto;
  width: clamp(92px, 10vw, 148px);
  height: clamp(92px, 10vw, 148px);
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #b6b6b6;
  color: #10171f !important;
  font-size: 1.15rem !important;
  font-weight: 950;
  overflow: hidden;
  box-shadow: none;
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-stars {
  display: block;
  margin-top: 10px;
  color: #000000 !important;
  font-size: clamp(1.45rem, 2.1vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
}

.testimonial-card p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.45vw, 1.55rem);
  font-weight: 500;
  line-height: 1.38;
}

.testimonial-quote {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.testimonial-card footer {
  display: block;
  margin-top: 2px;
  padding-top: 0;
  border-top: 0;
}

.testimonial-card strong {
  color: var(--ink);
}

.testimonial-author strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.25vw, 4rem);
  font-weight: 950;
  line-height: 1;
}

.testimonial-author small {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
}

.testimonial-card small {
  color: var(--muted);
  font-weight: 750;
}

.testimonial-card footer strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.25vw, 2.65rem);
  font-weight: 950;
  line-height: 1.1;
}

.testimonial-card footer span {
  color: var(--ink);
}

.checkout-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.checkout-choice-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 20px;
  background: white;
  box-shadow: 0 18px 46px rgba(29, 29, 31, 0.07);
  padding: 22px;
}

.checkout-choice-card h3 {
  margin: 0;
  color: #1d1d1f;
  font-size: 1.35rem;
}

.checkout-choice-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.5;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.product-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  overflow: hidden;
}

.product-art {
  display: block;
  min-height: 150px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(9, 10, 13, 0.08), transparent),
    linear-gradient(135deg, var(--art-a), var(--art-b));
  color: white;
}

.product-art span {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.product-body p {
  color: var(--muted);
}

.publisher-note {
  margin-top: -6px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.price {
  font-size: 1.25rem;
  font-weight: 900;
}

.product-card button,
.slot-card button,
.cart-item button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 800;
  padding: 0 12px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: stretch;
  padding: clamp(44px, 7vw, 84px) clamp(18px, 6vw, 90px);
  background: linear-gradient(180deg, #fff8ec, #ffffff);
}

.detail-art {
  min-height: 480px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-copy {
  align-self: center;
}

.detail-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 12px 14px;
  font-weight: 700;
}

.purchase-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 16px;
}

.purchase-box > strong {
  font-size: 2rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
}

.subheading {
  margin-top: 28px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 100px;
}

.appointment-board {
  padding: 20px;
}

.appointment-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: end;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.appointment-summary small {
  grid-column: 1 / -1;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.calendar-grid {
  display: grid;
  gap: 14px;
}

.calendar-day {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 18px;
  background: #fffdf8;
  padding: 14px;
}

.calendar-date {
  display: grid;
  align-content: center;
  gap: 4px;
  border-radius: 14px;
  background: linear-gradient(135deg, #111, #3a2313);
  color: white;
  padding: 16px;
}

.calendar-date span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 800;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.time-slot button {
  display: grid;
  width: 100%;
  min-height: 72px;
  gap: 4px;
  place-items: center;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 16px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.time-slot.is-available button:hover {
  border-color: var(--rose);
  box-shadow: 0 12px 28px rgba(239, 13, 131, 0.14);
  transform: translateY(-1px);
}

.time-slot span {
  color: var(--muted);
  font-size: 0.82rem;
}

.time-slot.is-booked button {
  cursor: not-allowed;
  opacity: 0.48;
  background: #f2eee7;
}

.slot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.slot-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.account-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 16px;
}

.profile-card,
.library-panel {
  padding: 18px;
}

.profile-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.profile-card button {
  min-height: 40px;
  margin-top: 8px;
  padding: 0 12px;
}

.panel-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.tab {
  min-height: 38px;
  padding: 0 12px;
}

.tab.is-active {
  background: var(--ink);
  color: white;
}

.library-list,
#salesRows,
#memberRows,
.cart-items {
  display: grid;
  gap: 10px;
}

.library-row,
.table-row,
.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.library-row > div,
.table-row > div,
.cart-item > div {
  min-width: 0;
}

.library-row p,
.table-row p,
.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.library-row button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card {
  padding: 18px;
}

.admin-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-form,
.admin-table {
  padding: 18px;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.site-editor {
  margin-bottom: 18px;
}

.form-pair,
.form-triplet,
.menu-editor {
  display: grid;
  gap: 12px;
}

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

.form-triplet {
  grid-template-columns: 90px minmax(0, 0.8fr) minmax(0, 1.2fr);
}

label {
  display: grid;
  gap: 6px;
  color: #33453d;
  font-size: 0.88rem;
  font-weight: 800;
}

.form-help {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 11px 12px;
}

textarea {
  resize: vertical;
}

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.table-header h3 {
  margin: 0;
}

.admin-table button {
  min-height: 38px;
  padding: 0 12px;
}

.row-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.status-pill.is-live {
  background: rgba(20, 122, 83, 0.12);
  color: var(--green-dark);
}

.status-pill.is-draft {
  background: rgba(217, 151, 35, 0.16);
  color: #80560f;
}

.admin-body {
  min-height: 100vh;
  background:
    linear-gradient(rgba(9, 10, 13, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 10, 13, 0.03) 1px, transparent 1px),
    #f7f8f3;
  background-size: 28px 28px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  gap: 28px;
  background: #10171f;
  padding: 30px;
}

.admin-mobile-toggle,
.admin-nav-backdrop {
  display: none;
}

.admin-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: white;
  font-size: 1.55rem;
  font-weight: 900;
}

.admin-sidebar nav {
  display: grid;
  gap: 10px;
}

.admin-nav-group {
  display: grid;
  gap: 6px;
}

.admin-sidebar nav a,
.admin-nav-parent {
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  padding: 15px 18px;
  font-weight: 900;
}

.admin-subnav {
  display: none;
  gap: 6px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-nav-group.is-open .admin-subnav {
  display: grid;
}

.admin-subnav a {
  min-height: 38px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.86rem;
}

.admin-sidebar nav a.is-active,
.admin-sidebar nav a:hover,
.admin-nav-parent:hover {
  border-color: transparent;
  background: var(--green);
  color: #10171f;
}

.admin-logout {
  margin-top: auto;
  color: #ef604f;
  font-weight: 900;
}

.admin-main {
  min-width: 0;
  padding: clamp(28px, 4vw, 58px);
}

.admin-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.admin-top h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4.8vw, 4.6rem);
  line-height: 0.95;
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flag-button {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 999px;
  background: white;
  box-shadow: 0 12px 28px rgba(23, 33, 27, 0.06);
}

.admin-body .secondary-action {
  min-height: 52px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 12px 28px rgba(23, 33, 27, 0.06);
}

.admin-body .dashboard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.admin-body .stat-card,
.admin-body .admin-form,
.admin-body .admin-table {
  border-color: rgba(9, 10, 13, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(16, 23, 31, 0.07);
}

.admin-body .stat-card {
  min-height: 150px;
  padding: 28px;
}

.admin-body .stat-card span {
  color: #6d746c;
  font-size: 1rem;
  font-weight: 900;
}

.admin-body .stat-card strong {
  font-size: clamp(2.8rem, 4vw, 4rem);
}

.admin-body .site-editor {
  margin-bottom: 24px;
}

.admin-body .admin-layout {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 20px;
  align-items: start;
}

.admin-body .admin-form,
.admin-body .admin-table {
  padding: 28px;
}

.admin-body .admin-form h3,
.admin-body .admin-table h3 {
  font-size: 1.45rem;
}

.admin-body label {
  color: #10171f;
}

.admin-body input,
.admin-body select,
.admin-body textarea {
  border-color: rgba(9, 10, 13, 0.09);
  border-radius: 12px;
  background: #fbfcf8;
}

.admin-body .table-row {
  border-color: rgba(9, 10, 13, 0.08);
  border-radius: 14px;
  background: #fbfcf8;
  padding: 16px;
}

.admin-body .row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.admin-body .row-actions form {
  display: inline-flex;
}

.admin-body .status-pill.is-live {
  background: var(--green);
  color: #10171f;
}

.admin-body .primary-action {
  background: #10171f;
}

.admin-body .admin-table button {
  border-radius: 12px;
  background: white;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.cart-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 33, 27, 0.38);
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(430px, 100vw);
  height: 100%;
  background: white;
  box-shadow: var(--shadow);
  transform: translateX(20px);
  transition: transform 180ms ease;
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-header,
.cart-footer {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.cart-header button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 1.6rem;
}

.cart-items {
  align-content: start;
  overflow: auto;
  padding: 18px;
}

.cart-footer {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-footer > div {
  display: flex;
  justify-content: space-between;
}

.inline-total {
  margin-top: 16px;
  padding-right: 0;
  padding-left: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 60;
  max-width: min(520px, calc(100vw - 28px));
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 6vw, 90px);
  border-top: 1px solid var(--line);
  background: white;
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

@media (max-width: 1040px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

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

  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 80;
    width: min(86vw, 360px);
    height: 100vh;
    overflow: auto;
    padding: 24px;
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .admin-nav-open .admin-sidebar {
    transform: translateX(0);
  }

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

  .admin-mobile-toggle {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(9, 10, 13, 0.12);
    border-radius: 999px;
    background: #10171f;
    box-shadow: 0 18px 50px rgba(16, 23, 31, 0.22);
  }

  .admin-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: #ffffff;
  }

  .admin-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    background: rgba(9, 10, 13, 0.46);
    backdrop-filter: blur(4px);
  }

  .admin-nav-backdrop[hidden] {
    display: none;
  }

  .admin-main {
    padding: 28px 16px 96px;
  }

  .admin-top {
    align-items: stretch;
    flex-direction: column;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .header-actions {
    margin-left: auto;
  }

  .home-hero,
  .product-detail,
  .split-section,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .product-grid,
  .testimonial-grid,
  .checkout-choice,
  .dashboard-grid,
  .admin-body .dashboard-grid,
  .admin-body .admin-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .topbar {
    gap: 12px;
    min-height: auto;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .main-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .header-actions {
    order: 2;
    width: 100%;
    justify-content: space-between;
  }

  .account-chip,
  .cart-button {
    flex: 1;
    justify-content: center;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .home-hero {
    min-height: auto;
  }

  .detail-art {
    min-height: 280px;
  }

  .process-strip,
  .publisher-strip,
  .product-grid,
  .testimonial-grid,
  .checkout-choice,
  .form-pair,
  .form-triplet,
  .calendar-day,
  .slot-grid,
  .faq-grid,
  .flow-grid,
  .dashboard-grid,
  .admin-body .dashboard-grid,
  .admin-body .admin-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .testimonial-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .testimonial-track,
  .testimonial-grid {
    grid-auto-columns: minmax(280px, 86vw);
  }

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

  .admin-top-actions {
    align-items: stretch;
  }

  .admin-top-actions .secondary-action {
    flex: 1;
  }

  .appointment-summary,
  .library-row,
  .table-row,
  .cart-item {
    grid-template-columns: 1fr;
  }

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

  .row-actions {
    justify-content: flex-start;
  }

  .product-card {
    min-height: 0;
  }
}

/* Apple-inspired commerce polish */
:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --soft: #f5f5f7;
  --paper: #ffffff;
  --green: #34c759;
  --green-dark: #1f7a3b;
  --amber: #ffcc00;
  --blue: #0071e3;
  --rose: #ff2d55;
  --flame: #ff3b30;
  --violet: #5856d6;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

body,
.admin-body {
  background: #f5f5f7;
  color: var(--ink);
}

.topbar {
  min-height: 70px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(251, 251, 253, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.topbar .brand strong,
.topbar .brand small,
.main-nav a,
.cart-button,
.account-chip {
  color: var(--ink);
}

.brand-mark,
.avatar {
  background: #1d1d1f;
  color: white;
  box-shadow: none;
}

.main-nav a:hover {
  background: rgba(0, 113, 227, 0.08);
  color: var(--blue);
}

.cart-button,
.account-chip {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.cart-button span {
  background: var(--blue);
  color: white;
}

.home-hero {
  min-height: calc(100vh - 70px);
  max-width: 1440px;
}

.home-hero-copy,
.home-side-panel,
.section,
.stat-card,
.profile-card,
.library-panel,
.admin-form,
.admin-table,
.appointment-board,
.product-card,
.flow-grid article,
.faq-grid article,
.auth-card,
.bio-card {
  border-color: rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.home-hero-copy {
  min-height: 600px;
}

.hero-visual {
  background: #1d1d1f;
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-visual img {
  border-radius: 16px;
}

.radar-heading span,
.book-label {
  color: #86d2ff;
}

.hero-offer {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.primary-action,
.product-card button,
.slot-card button,
.cart-item button {
  background: var(--blue);
  color: white;
  box-shadow: none;
}

.secondary-action {
  background: #ffffff;
  color: var(--blue);
}

.product-art {
  min-height: 170px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, var(--art-a), var(--art-b));
}

.product-art span {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.18);
}

.process-strip > div,
.publisher-strip > div,
.side-item,
.mini-leaderboard a,
.library-row,
.table-row,
.cart-item,
.calendar-day,
.slot-card {
  background: #ffffff;
}

.process-strip span,
.flow-grid span,
.calendar-date {
  background: #1d1d1f;
}

.detail-art {
  border-radius: 22px;
}

.purchase-box,
.feature-list li {
  border-color: rgba(0, 0, 0, 0.08);
  border-radius: 16px;
}

input,
select,
textarea {
  border-color: rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
  outline: none;
}

.admin-sidebar {
  background: #1d1d1f;
}

.admin-sidebar nav a.is-active,
.admin-sidebar nav a:hover,
.admin-body .status-pill.is-live {
  background: #ffffff;
  color: #1d1d1f;
}

.admin-body .primary-action {
  background: var(--blue);
}

.toast {
  border-radius: 14px;
  background: rgba(29, 29, 31, 0.94);
}

@media (max-width: 700px) {
  .home-hero,
  .section,
  .product-detail {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-hero-copy {
    min-height: auto;
    padding: 24px;
  }

  .home-hero-copy h1,
  h1 {
    font-size: clamp(2.4rem, 13vw, 3.6rem);
  }

  .topbar {
    position: sticky;
    padding: 12px 14px;
  }

  .main-nav {
    scrollbar-width: none;
  }
}

/* Refined storefront layout */
body {
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.95), transparent 42%),
    #f5f5f7;
}

.topbar {
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
}

.brand {
  min-width: 260px;
}

.brand-mark,
.avatar {
  width: 42px;
  height: 42px;
}

.topbar .brand strong {
  font-size: 1.22rem;
}

.main-nav {
  gap: 2px;
}

.main-nav a {
  padding: 8px 12px;
  color: #2a2a2d;
  font-size: 0.86rem;
}

.account-chip,
.cart-button {
  min-height: 42px;
  padding: 9px 14px;
}

.account-chip.is-admin {
  display: none;
}

.home-hero {
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.64fr);
  min-height: auto;
  max-width: 1180px;
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
  padding: clamp(34px, 5vw, 58px) 24px clamp(28px, 4vw, 48px);
  overflow: visible;
}

.home-hero-copy {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.home-hero-copy h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5vw, 4.75rem);
  line-height: 1;
}

.home-hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: #6e6e73;
  font-size: clamp(1.06rem, 1.35vw, 1.24rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 0.94rem;
}

.secondary-action {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-visual {
  gap: 12px;
  border: 0;
  border-radius: 28px;
  background: #1d1d1f;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.16);
  padding: 22px;
}

.radar-heading strong {
  max-width: 310px;
  margin-top: 8px;
  font-size: clamp(1.8rem, 2.4vw, 2.35rem);
  line-height: 1.03;
}

.radar-heading p {
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero-visual img {
  aspect-ratio: 16 / 10;
  max-height: 190px;
  border: 0;
  border-radius: 18px;
  opacity: 0.94;
}

.hero-offer {
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px;
}

.hero-offer > strong {
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
}

.hero-offer p {
  font-size: 0.9rem;
  line-height: 1.45;
}

.featured-actions > strong {
  font-size: 1.35rem;
}

.home-side-panel {
  display: none;
}

.process-strip {
  max-width: 1180px;
  margin: 0 auto 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  overflow: hidden;
}

.process-strip > div {
  padding: 18px;
}

.process-strip p {
  font-size: 0.82rem;
}

.section {
  max-width: 1180px;
  margin: clamp(22px, 4vw, 48px) auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: clamp(22px, 4vw, 44px) 24px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.testimonial-card,
.flow-grid article,
.faq-grid article,
.library-panel,
.appointment-board,
.profile-card {
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.product-card {
  min-height: 320px;
}

.product-body {
  padding: 20px;
}

.testimonials-section {
  border-radius: 30px;
  padding: clamp(34px, 5vw, 56px);
}

@media (max-width: 1100px) {
  .topbar {
    align-items: center;
  }

  .brand {
    min-width: 220px;
  }

  .home-hero {
    max-width: 920px;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 620px;
  }

  .process-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 920px;
  }
}

@media (max-width: 700px) {
  .topbar {
    position: sticky;
    gap: 10px;
  }

  .brand {
    width: 100%;
  }

  .main-nav {
    order: 2;
    width: 100%;
  }

  .header-actions {
    order: 3;
  }

  .home-hero {
    padding: 36px 18px 24px;
  }

  .home-hero-copy h1 {
    font-size: clamp(2.55rem, 12vw, 3.9rem);
  }

  .hero-visual {
    padding: 20px;
    border-radius: 24px;
  }

  .radar-heading strong {
    font-size: 1.65rem;
  }

  .radar-heading p {
    display: none;
  }

  .hero-visual img {
    max-height: 132px;
  }

  .hero-offer {
    padding: 14px;
  }

  .hero-offer p {
    display: none;
  }

  .featured-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .process-strip {
    margin-right: 18px;
    margin-left: 18px;
    grid-template-columns: 1fr;
  }

  .section {
    padding-right: 18px;
    padding-left: 18px;
  }
}

/* Premium editorial storefront pass */
:root {
  --surface: #ffffff;
  --canvas: #f5f5f7;
  --hairline: rgba(29, 29, 31, 0.1);
  --blue: #006edb;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --shadow: 0 24px 70px rgba(29, 29, 31, 0.09);
}

body {
  background:
    linear-gradient(180deg, #fbfbfd 0, #f5f5f7 420px, #ffffff 100%);
}

.topbar {
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(251, 251, 253, 0.82);
  backdrop-filter: saturate(180%) blur(24px);
}

.brand {
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, #111827, #2c2c2e);
}

.topbar .brand strong {
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.05;
}

.topbar .brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  justify-self: center;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 4px;
  box-shadow: 0 10px 26px rgba(29, 29, 31, 0.04);
}

.main-nav a {
  border-radius: 999px;
  color: #303033;
  font-size: 0.82rem;
  font-weight: 750;
}

.main-nav a:hover {
  background: #1d1d1f;
  color: white;
}

.header-actions {
  justify-self: end;
}

.account-chip,
.cart-button {
  border-color: rgba(29, 29, 31, 0.08);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(29, 29, 31, 0.05);
}

.cart-button span {
  background: #1d1d1f;
}

.home-hero {
  position: relative;
  max-width: 1240px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 6vw, 78px);
  padding-top: clamp(44px, 7vw, 86px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.eyebrow {
  color: #2f7d46;
  font-size: 0.75rem;
  font-weight: 850;
}

.home-hero-copy h1 {
  max-width: 720px;
  color: #111113;
  font-size: clamp(3.35rem, 5.35vw, 5.5rem);
  letter-spacing: 0;
}

.home-hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  color: #5f6368;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
}

.hero-actions {
  gap: 10px;
}

.hero-topic-label {
  margin: 30px 0 10px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.primary-action {
  background: #006edb;
  box-shadow: 0 13px 26px rgba(0, 110, 219, 0.22);
}

.secondary-action {
  border-color: rgba(0, 110, 219, 0.18);
  color: #006edb;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  gap: 10px;
}

.hero-proof a {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 132px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  padding: 16px;
  box-shadow: 0 14px 30px rgba(29, 29, 31, 0.06);
}

.hero-proof strong {
  color: #111113;
  font-size: 1.02rem;
  line-height: 1.08;
}

.hero-proof span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: #f0f6ff;
  color: #006edb;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-proof small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.3;
}

.hero-visual {
  align-self: center;
  max-width: 460px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background:
    linear-gradient(180deg, #2a2a2d, #111113);
  box-shadow:
    0 30px 80px rgba(29, 29, 31, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 24px;
}

.radar-heading span,
.book-label {
  color: #8fd8ff;
}

.radar-heading strong {
  max-width: 360px;
  font-size: clamp(2rem, 2.4vw, 2.55rem);
}

.hero-visual img {
  width: 100%;
  max-height: 220px;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.hero-offer {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-offer .primary-action {
  background: #67ce67;
  color: #101113;
  box-shadow: none;
}

.process-strip {
  max-width: 1240px;
  border: 0;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(29, 29, 31, 0.07);
}

.process-strip > div {
  background: transparent;
}

.process-strip span {
  width: 30px;
  height: 30px;
  background: #f0f6ff;
  color: #006edb;
}

.section {
  max-width: 1240px;
}

.section-heading {
  align-items: end;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  padding-bottom: 18px;
}

.section-heading h2 {
  color: #111113;
}

.product-grid {
  gap: 18px;
}

.product-card {
  min-height: 360px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(29, 29, 31, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(29, 29, 31, 0.11);
}

.product-art {
  position: relative;
  display: flex;
  min-height: 176px;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 28px 28px 0 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--art-a), var(--art-b));
  overflow: hidden;
}

.product-art img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transform: scale(1.03);
}

.product-art::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(110deg, color-mix(in srgb, var(--art-a) 74%, transparent), color-mix(in srgb, var(--art-b) 66%, transparent)),
    linear-gradient(180deg, rgba(29, 29, 31, 0.18), rgba(29, 29, 31, 0.06));
  content: "";
}

.product-art::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.02) 64%);
  content: "";
}

.product-art span {
  position: relative;
  z-index: 3;
  align-self: flex-start;
}

.product-art strong {
  position: relative;
  z-index: 3;
  max-width: 160px;
  color: white;
  font-size: 1.55rem;
  line-height: 1.05;
}

.product-body h3 {
  font-size: 1.2rem;
  line-height: 1.18;
}

.product-body p {
  color: #6e6e73;
  font-size: 0.94rem;
}

.product-card button {
  background: #1d1d1f;
}

.price {
  font-size: 1.18rem;
}

.testimonials-section {
  box-shadow: 0 28px 78px rgba(29, 29, 31, 0.1);
}

.testimonial-card {
  border-radius: 24px;
}

.flow-grid article {
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 26px;
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-self: start;
    max-width: 100%;
    overflow-x: auto;
  }

  .home-hero {
    max-width: 920px;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 560px;
  }
}

@media (max-width: 700px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .header-actions {
    justify-self: stretch;
  }

  .home-hero-copy h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.35rem);
  }

  .home-hero-copy > p:not(.eyebrow) {
    font-size: 0.98rem;
    line-height: 1.48;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
    border-radius: 18px;
  }

  .hero-proof a {
    min-height: 118px;
    padding: 12px;
  }

  .hero-proof strong {
    font-size: 0.9rem;
  }

  .hero-proof span {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .hero-proof small {
    display: none;
  }

  .hero-visual {
    max-width: none;
    gap: 10px;
    padding: 16px;
  }

  .radar-heading strong {
    font-size: 1.35rem;
  }

  .hero-visual img {
    max-height: 96px;
    border-radius: 16px;
  }

  .hero-offer > strong {
    font-size: 1.05rem;
  }

  .featured-actions {
    gap: 8px;
  }

  .hero-offer .primary-action {
    min-height: 40px;
  }

  .product-grid {
    gap: 14px;
  }

  .product-card {
    border-radius: 24px;
  }

  .product-art {
    min-height: 150px;
    border-radius: 24px 24px 0 0;
  }
}

/* Light hero product panel */
.hero-visual {
  display: grid;
  max-width: 460px;
  gap: 14px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76)),
    #ffffff;
  box-shadow: 0 28px 80px rgba(29, 29, 31, 0.12);
  padding: 20px;
}

.hero-book-cover {
  position: relative;
  display: grid;
  min-height: 310px;
  align-content: space-between;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, var(--art-a), var(--art-b));
  color: white;
  overflow: hidden;
  padding: 24px;
}

.hero-book-cover::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(125deg, color-mix(in srgb, var(--art-a) 72%, transparent), color-mix(in srgb, var(--art-b) 68%, transparent)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.02) 70%);
  content: "";
}

.hero-book-cover img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  transform: scale(1.03);
}

.hero-book-cover span {
  position: relative;
  z-index: 3;
  justify-self: start;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 7px 11px;
  font-size: 0.78rem;
  font-weight: 850;
}

.hero-book-cover strong {
  position: relative;
  z-index: 3;
  max-width: 250px;
  font-size: clamp(2rem, 2.7vw, 2.6rem);
  line-height: 1.03;
}

.hero-book-cover small {
  position: relative;
  z-index: 3;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.hero-offer {
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: none;
  padding: 18px;
}

.book-label {
  color: #006edb;
}

.hero-offer > strong,
.hero-offer p,
.hero-offer .featured-actions > strong {
  color: #1d1d1f;
}

.hero-offer p {
  color: #6e6e73;
}

.hero-offer .primary-action {
  background: #006edb;
  color: white;
}

.hero-mini-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-mini-list a {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
}

.hero-mini-list strong {
  color: #1d1d1f;
  font-size: 0.92rem;
}

.hero-mini-list span {
  color: #6e6e73;
  font-size: 0.78rem;
  font-weight: 750;
}

.radar-heading,
.hero-visual > img {
  display: none;
}

@media (max-width: 700px) {
  .hero-visual {
    padding: 14px;
  }

  .hero-book-cover {
    min-height: 210px;
    border-radius: 22px;
    padding: 18px;
  }

  .hero-book-cover::before {
    content: none;
  }

  .hero-book-cover img {
    width: min(44%, 145px);
  }

  .hero-book-cover strong {
    max-width: 230px;
    font-size: 1.55rem;
  }

  .hero-mini-list {
    grid-template-columns: 1fr;
  }
}

/* Appointment page */
.appointment-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 24px;
}

.appointment-copy {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 96px;
}

.appointment-copy h1 {
  max-width: 520px;
  margin: 0;
  color: #111113;
  font-size: clamp(3.1rem, 5vw, 5.2rem);
  line-height: 1;
}

.appointment-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 0;
  color: #6e6e73;
  font-size: 1.08rem;
  line-height: 1.58;
}

.appointment-note {
  display: inline-grid;
  width: fit-content;
  gap: 3px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 20px;
  background: white;
  box-shadow: 0 16px 42px rgba(29, 29, 31, 0.06);
  padding: 16px 18px;
}

.appointment-note strong {
  font-size: 2rem;
  line-height: 1;
}

.appointment-note span {
  color: #6e6e73;
  font-size: 0.9rem;
  font-weight: 750;
}

.appointment-page .appointment-board {
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 30px;
  background: white;
  box-shadow: 0 28px 78px rgba(29, 29, 31, 0.1);
  padding: 24px;
}

.appointment-page .appointment-summary {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 20px;
  border-color: rgba(29, 29, 31, 0.08);
}

.appointment-page .appointment-summary strong {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.appointment-page .calendar-grid {
  display: grid;
  gap: 14px;
}

.appointment-page .calendar-day {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 22px;
  background: #fbfbfd;
  padding: 14px;
}

.appointment-page .calendar-date {
  border-radius: 18px;
  background: #1d1d1f;
}

.appointment-page .time-grid {
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  align-content: center;
}

.appointment-page .time-slot button {
  min-height: 76px;
  border-radius: 18px;
}

.appointment-page .time-slot.is-available button:hover {
  border-color: #006edb;
  box-shadow: 0 16px 34px rgba(0, 110, 219, 0.12);
}

.active-appointments {
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .appointment-page {
    grid-template-columns: 1fr;
  }

  .appointment-copy {
    position: static;
  }
}

@media (max-width: 700px) {
  .appointment-page {
    padding: 34px 18px;
  }

  .appointment-copy h1 {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }

  .appointment-page .appointment-board {
    padding: 16px;
    border-radius: 24px;
  }

  .appointment-page .calendar-day,
  .appointment-page .time-grid {
    grid-template-columns: 1fr;
  }

  .appointment-page .appointment-summary {
    grid-template-columns: 1fr;
  }
}

/* Admin multi-page layout */
.admin-grid-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-grid-links a {
  display: grid;
  gap: 8px;
  min-height: 150px;
  align-content: end;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 22px;
  background: white;
  box-shadow: 0 18px 46px rgba(29, 29, 31, 0.07);
  padding: 22px;
}

.admin-grid-links strong {
  font-size: 1.2rem;
}

.admin-grid-links span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-form-wide {
  max-width: 920px;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-row input {
  width: auto;
}

.payment-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 18px;
  background: rgba(245, 245, 247, 0.72);
}

.page-structure-form {
  gap: 18px;
}

.structure-sort-list {
  display: grid;
  gap: 10px;
}

.structure-sort-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 18px;
  background: #fbfcfb;
  padding: 12px;
  cursor: grab;
}

.structure-sort-item.is-dragging {
  opacity: 0.58;
}

.drag-handle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: #f0f6ff;
  color: #006edb;
  font-weight: 900;
}

.structure-sort-item strong {
  display: block;
  margin-bottom: 3px;
}

.structure-sort-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.payment-status-row > div {
  min-width: 0;
  flex: 1 1 220px;
}

.payment-status-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.media-fieldset {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 18px;
  background: rgba(245, 245, 247, 0.72);
}

.media-fieldset legend {
  padding: 0 8px;
  color: #1d1d1f;
  font-weight: 850;
}

.media-preview-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.media-preview-row img {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  object-fit: cover;
  background: white;
}

.media-preview-row span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.45;
}

.appointment-admin-layout {
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr) !important;
  align-items: start;
  width: 100%;
  max-width: none;
  margin: 24px 0;
}

.appointment-admin-layout .admin-table,
.active-appointments {
  min-width: 0;
  overflow: hidden;
}

.appointment-admin-layout .table-row,
.active-appointments .table-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.inline-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.inline-edit-grid label {
  gap: 4px;
  font-size: 0.78rem;
}

.appointment-slot-row {
  align-items: start;
}

.admin-main > .admin-table,
.admin-main > .admin-form,
.admin-main > .admin-layout,
.admin-main > .sales-dashboard,
.admin-main > .admin-grid-links {
  width: 100%;
  max-width: 1480px;
}

.appointment-admin-layout .table-row > div,
.active-appointments .table-row > div {
  min-width: 0;
}

.appointment-admin-layout .table-row p,
.active-appointments .table-row p {
  overflow-wrap: anywhere;
}

.admin-sidebar nav a.is-active {
  border-color: transparent;
  background: var(--green);
  color: #1d1d1f;
}

.admin-main > .admin-table,
.admin-main > .admin-form {
  max-width: 1180px;
}

.admin-main > .appointment-admin-layout,
.admin-main > .active-appointments {
  max-width: none;
}

.static-page {
  max-width: 920px;
}

.static-content {
  display: grid;
  gap: 16px;
  color: #333336;
  font-size: 1.08rem;
  line-height: 1.72;
}

/* SEO blog */
.blog-index-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 42px 24px 72px;
}

.blog-index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: end;
  padding: 42px 0 28px;
}

.blog-index-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.96;
}

.blog-index-hero p:last-child {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
  font-weight: 750;
  line-height: 1.55;
}

.blog-index-hero aside {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 22px;
  background: white;
  box-shadow: 0 18px 46px rgba(29, 29, 31, 0.06);
  padding: 22px;
}

.blog-index-hero aside strong {
  color: #1d1d1f;
  font-size: 3rem;
  line-height: 1;
}

.blog-index-hero aside span,
.blog-index-hero aside small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.blog-topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.blog-topic-row a,
.blog-topic-row span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 999px;
  background: white;
  color: #1d1d1f;
  padding: 0 14px;
  font-weight: 850;
}

.blog-topic-row .is-active {
  background: #1d1d1f;
  color: white;
}

.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  margin-bottom: 34px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 28px;
  background: white;
  box-shadow: 0 24px 70px rgba(29, 29, 31, 0.08);
  padding: 18px;
}

.blog-featured-media {
  display: block;
  overflow: hidden;
  min-height: 360px;
  border-radius: 20px;
  background: #f5f5f7;
}

.blog-featured-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.blog-featured > div {
  display: grid;
  gap: 16px;
  padding: 18px 18px 18px 0;
}

.blog-featured h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.blog-featured h2 a {
  color: #1d1d1f;
}

.blog-featured p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.6;
}

.blog-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}

.blog-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.blog-section-title h2 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.blog-section-title span {
  color: var(--muted);
  font-weight: 850;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 20px;
  background: white;
  box-shadow: 0 14px 38px rgba(29, 29, 31, 0.06);
}

.blog-card-cover {
  background: #f5f5f7;
}

.blog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card > div {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
}

.blog-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.12;
}

.blog-card h3 a {
  color: #1d1d1f;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.blog-empty-card {
  display: grid;
  gap: 10px;
  align-content: center;
  min-height: 260px;
  border: 1px dashed rgba(29, 29, 31, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  padding: 24px;
}

.blog-empty-card strong {
  color: #1d1d1f;
  font-size: 1.35rem;
}

.blog-empty-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.55;
}

.blog-read-link {
  color: #006edb;
  font-weight: 900;
}

.blog-sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 16px;
}

.blog-sidebar > div {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 20px;
  background: white;
  box-shadow: 0 14px 38px rgba(29, 29, 31, 0.05);
  padding: 20px;
}

.blog-sidebar h3 {
  margin: 0 0 4px;
  color: #1d1d1f;
  font-size: 1.1rem;
}

.blog-sidebar a:not(.secondary-action) {
  border-top: 1px solid rgba(29, 29, 31, 0.08);
  color: #1d1d1f;
  padding-top: 10px;
  font-weight: 850;
}

.blog-sidebar p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.55;
}

.blog-meta,
.blog-meta-line {
  color: #147a53;
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.blog-post {
  max-width: 920px;
  margin: 0 auto;
  padding: 62px 24px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.breadcrumb a {
  color: #006edb;
}

.blog-post header h1 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: 0.98;
}

.blog-post header > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.58;
}

.blog-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.blog-cover {
  margin: 36px 0;
  overflow: hidden;
  border-radius: 28px;
  background: #f5f5f7;
}

.blog-cover img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.blog-cover figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  background: white;
}

.blog-content {
  color: #27272a;
  font-size: 1.1rem;
  line-height: 1.82;
}

.blog-content h2,
.blog-content h3 {
  margin: 42px 0 12px;
  color: #1d1d1f;
  line-height: 1.12;
}

.blog-content a {
  color: #006edb;
  font-weight: 800;
  text-decoration: underline;
}

.blog-content blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid #147a53;
  background: #f5f5f7;
  color: #333336;
  font-weight: 750;
}

.blog-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 42px;
  padding: 24px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 24px;
  background: #f5f5f7;
}

.blog-cta strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
}

.blog-cta p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.blog-cta > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editor-shell {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 18px;
  background: white;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  background: #f5f5f7;
}

.editor-toolbar button {
  min-width: 38px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 10px;
  background: white;
  color: #1d1d1f;
  font-weight: 850;
}

.rich-editor {
  min-height: 360px;
  padding: 20px;
  color: #1d1d1f;
  font-size: 1rem;
  line-height: 1.7;
  outline: none;
}

.danger-action {
  color: #b42318;
}

.coupon-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 18px;
  background: #fbfcf8;
  padding: 14px;
  margin: 18px 0;
}

.coupon-form label {
  display: grid;
  gap: 8px;
  color: #6d746c;
  font-size: 0.86rem;
  font-weight: 900;
}

.coupon-form input {
  width: 100%;
  border: 1px solid rgba(9, 10, 13, 0.1);
  border-radius: 14px;
  background: #fff;
  color: #10171f;
  font: inherit;
  font-weight: 800;
  padding: 13px 14px;
}

.cart-recommendations {
  margin: 22px 0;
  padding: 24px;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 26px;
  background: #f7f8fa;
}

.cart-recommendations h3 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: 0;
}

.cart-recommendations p {
  margin: 0;
  color: #6d746c;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.recommendation-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 230px;
  padding: 20px;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.08);
}

.recommendation-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.12;
}

.recommendation-card p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.45;
}

.recommendation-card span {
  display: block;
  margin-top: 14px;
  font-weight: 900;
}

.recommendation-card form,
.recommendation-card button {
  width: 100%;
}

.guide-library-section .section-heading {
  border-bottom: 0;
}

.guide-library-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -14px 0 24px;
}

.guide-library-tabs span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(9, 10, 13, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #4f574f;
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.06);
}

.guide-library-grid .product-card-guide .product-meta button {
  background: #ffffff;
  color: #111318;
  border: 1px solid rgba(9, 10, 13, 0.12);
}

.section.bundle-section {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}

.bundle-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(20, 122, 83, 0.1), rgba(53, 108, 168, 0.08)),
    #ffffff;
  box-shadow: 0 18px 48px rgba(29, 29, 31, 0.07);
  padding: clamp(24px, 4vw, 42px);
}

.bundle-panel h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 0.98;
}

.bundle-panel p:not(.eyebrow) {
  max-width: 720px;
  margin: 14px 0 0;
  color: #5f6762;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 800;
  line-height: 1.45;
}

.bundle-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.bundle-mini-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 9px 14px;
  color: #313835;
  font-size: 0.9rem;
  font-weight: 900;
}

.coming-soon-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 12%, rgba(20, 122, 83, 0.12), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(53, 108, 168, 0.12), transparent 32%),
    #fbfbfd;
}

.coming-soon-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
}

.coming-soon-panel {
  display: grid;
  width: min(920px, 100%);
  gap: 18px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 90px rgba(29, 29, 31, 0.1);
  padding: clamp(28px, 6vw, 64px);
}

.coming-soon-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.coming-soon-brand strong {
  display: block;
  font-size: 1.24rem;
}

.coming-soon-brand small {
  color: var(--muted);
  font-weight: 750;
}

.coming-soon-panel h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
}

.coming-soon-panel > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: #626963;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 750;
  line-height: 1.48;
}

.coming-soon-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(620px, 100%);
  margin-top: 10px;
}

.coming-soon-form input {
  min-height: 54px;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 1rem;
}

.coming-soon-note {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.inline-total {
  gap: 14px;
}

.inline-total small {
  display: block;
  margin-top: 6px;
  color: #147a53;
  font-weight: 900;
}

.admin-detail-grid,
.product-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.detail-list {
  display: grid;
  gap: 10px;
}

.detail-list > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid rgba(9, 10, 13, 0.08);
  padding: 12px 0;
}

.detail-list > div:last-child {
  border-bottom: 0;
}

.detail-list span,
.product-info-grid span {
  color: #147a53;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-list strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #10171f;
}

.media-row > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.media-row img,
.media-file-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 14px;
  object-fit: cover;
  background: #eef1ea;
}

.media-file-icon {
  display: grid;
  place-items: center;
  color: #10171f;
  font-size: 0.75rem;
  font-weight: 950;
}

.product-info-grid article {
  min-width: 0;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(16, 23, 31, 0.07);
  padding: 24px;
}

.product-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-info-grid h2 {
  margin: 8px 0 10px;
  color: #10171f;
  font-size: 1.35rem;
  line-height: 1.1;
}

.product-info-grid p {
  margin: 0;
  color: #6d746c;
  font-weight: 750;
  line-height: 1.55;
}

.sales-dashboard {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

.dashboard-grid-sales .stat-card {
  position: relative;
  overflow: hidden;
}

.dashboard-grid-sales .stat-card::after {
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(16, 23, 31, 0.08);
  border-radius: 50%;
  content: "";
}

.sales-dashboard-grid,
.sales-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.sales-lower-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
}

.sales-panel {
  min-width: 0;
  align-self: start;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(16, 23, 31, 0.07);
  padding: 24px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.panel-heading span {
  color: #147a53;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-heading h3 {
  margin: 4px 0 0;
  color: #10171f;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.panel-heading > strong,
.panel-heading a {
  flex: 0 0 auto;
  color: #10171f;
  font-weight: 900;
}

.panel-heading a {
  color: #2563eb;
}

.sales-chart {
  display: grid;
  grid-template-columns: repeat(14, minmax(22px, 1fr));
  gap: 10px;
  min-height: 300px;
  align-items: end;
}

.sales-bar-item {
  display: grid;
  min-width: 0;
  gap: 8px;
  text-align: center;
}

.sales-bar-track {
  display: flex;
  align-items: flex-end;
  height: 220px;
  overflow: hidden;
  border-radius: 14px;
  background: #eef1ea;
}

.sales-bar {
  display: block;
  width: 100%;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, #74d169 0%, #147a53 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.sales-bar-item small,
.sales-bar-item em {
  color: #6d746c;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.sales-bar-item em {
  color: #10171f;
}

.top-product-list,
.recent-sales-list,
.type-breakdown {
  display: grid;
  gap: 12px;
}

.recent-sales-list {
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.recent-sales-list::-webkit-scrollbar {
  width: 8px;
}

.recent-sales-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(16, 23, 31, 0.18);
}

.top-product,
.recent-sale,
.type-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(9, 10, 13, 0.08);
  border-radius: 16px;
  background: #fbfcf8;
  padding: 14px;
}

.top-product {
  grid-template-columns: minmax(0, 1fr);
}

.top-product strong,
.recent-sale strong,
.type-row strong {
  display: block;
  overflow: hidden;
  color: #10171f;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-product p,
.recent-sale p,
.type-row span {
  margin: 4px 0 0;
  color: #6d746c;
  font-size: 0.84rem;
  font-weight: 800;
}

.recent-sale span,
.type-row em {
  color: #10171f;
  font-style: normal;
  font-weight: 950;
}

.mini-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7ebe3;
}

.mini-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #10171f;
}

.type-row {
  grid-template-columns: minmax(0, 0.8fr) minmax(110px, 1fr) auto;
}

.empty-state {
  border: 1px dashed rgba(9, 10, 13, 0.16);
  border-radius: 16px;
  color: #6d746c;
  font-weight: 800;
  padding: 18px;
}

@media (max-width: 1100px) {
  .sales-dashboard-grid,
  .sales-lower-grid,
  .admin-detail-grid,
  .product-info-grid {
    grid-template-columns: 1fr;
  }

  .blog-index-hero,
  .blog-featured,
  .blog-content-layout {
    grid-template-columns: 1fr;
  }

  .blog-featured > div {
    padding: 4px;
  }

  .blog-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 700px) {
  .sales-panel {
    padding: 18px;
  }

  .panel-heading,
  .recent-sale,
  .type-row {
    grid-template-columns: 1fr;
  }

  .panel-heading {
    display: grid;
  }

  .sales-chart {
    grid-template-columns: repeat(14, minmax(14px, 1fr));
    gap: 4px;
    min-height: 230px;
    overflow: hidden;
    padding-bottom: 4px;
  }

  .sales-bar-item {
    min-width: 0;
  }

  .sales-bar-track {
    height: 160px;
    border-radius: 10px;
  }

  .sales-bar-item small,
  .sales-bar-item em {
    font-size: 0.62rem;
  }

  .top-product strong,
  .recent-sale strong,
  .type-row strong {
    white-space: normal;
  }

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

  .admin-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-grid,
  .blog-cta,
  .blog-sidebar {
    grid-template-columns: 1fr;
  }

  .blog-index-page {
    padding: 28px 18px 48px;
  }

  .blog-index-hero {
    gap: 18px;
    padding: 26px 0 22px;
  }

  .blog-index-hero h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .blog-featured {
    gap: 18px;
    border-radius: 22px;
    padding: 12px;
  }

  .blog-featured-media,
  .blog-featured-media img {
    min-height: 220px;
  }

  .blog-section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-card {
    grid-template-rows: 180px 1fr;
  }

  .appointment-admin-layout {
    grid-template-columns: 1fr !important;
  }

  .appointment-admin-layout .table-row,
  .active-appointments .table-row,
  .appointment-slot-row,
  .inline-edit-grid,
  .media-preview-row,
  .coupon-form,
  .detail-list > div {
    grid-template-columns: 1fr;
  }

  .admin-body .row-actions {
    justify-content: flex-start;
  }

  .coupon-form .secondary-action,
  .coupon-form .danger-action {
    width: 100%;
  }

  .media-row {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .blog-post {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.hero-book-cover img,
.product-art img {
  max-height: none;
  border-radius: 0;
}

/* ============================================================
   V2 MODERN REFRESH LAYER
   Mevcut çizgiyi (koyu lacivert bar + limon yeşili vurgu +
   krem zemin) koruyarak tipografi, derinlik ve mikro etkileşim
   katmanını yeniler. Bu blok dosyanın sonunda olduğu için
   yukarıdaki kuralların üzerine biner.
   ============================================================ */

::selection {
  background: var(--green);
  color: var(--navy);
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-feature-settings: "cv02", "cv03", "cv04";
}

h1, h2, h3 {
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-heading h1,
.home-hero-copy h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  line-height: 1.06;
}

.section-heading h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.3rem);
  line-height: 1.12;
}

.section-heading p,
.detail-copy > p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid rgba(49, 87, 255, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- Üst bar: açık, camsı Apple tarzı (renkler netleştirildi) --- */
.topbar {
  min-height: 76px;
  background: rgba(251, 251, 253, 0.82);
  backdrop-filter: blur(22px) saturate(1.8);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
}

.topbar .brand strong {
  color: var(--ink);
}

.topbar .brand small {
  color: var(--muted);
}

.main-nav a {
  position: relative;
  transition: color var(--speed) var(--ease-out), background var(--speed) var(--ease-out);
}

.main-nav a.is-current {
  background: rgba(215, 251, 104, 0.55);
  color: #2a3d10;
}

/* --- Header arama --- */
.header-search {
  display: inline-flex;
  align-items: center;
  min-width: 170px;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.045);
  transition: border-color var(--speed) var(--ease-out), background var(--speed) var(--ease-out), box-shadow var(--speed) var(--ease-out);
}

.header-search:focus-within {
  border-color: rgba(29, 29, 31, 0.28);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.header-search input {
  width: 130px;
  padding: 9px 4px 9px 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.88rem;
}

.header-search input::placeholder {
  color: var(--muted);
}

.header-search input:focus {
  outline: none;
}

.header-search button {
  padding: 6px 12px 6px 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.05rem;
  cursor: pointer;
}

/* --- Hamburger + mobil menü --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--speed) var(--ease-out), opacity var(--speed) var(--ease-out);
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: sticky;
  top: 76px;
  z-index: 39;
  display: grid;
  gap: 14px;
  padding: 18px clamp(16px, 4vw, 56px) 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 251, 243, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav nav {
  display: grid;
  gap: 2px;
}

.mobile-nav nav a {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.mobile-nav nav a:active,
.mobile-nav nav a:hover {
  background: rgba(215, 251, 104, 0.3);
}

.mobile-search {
  display: flex;
  gap: 8px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
}

.mobile-search button {
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

/* --- Butonlar: mikro etkileşim --- */
.primary-action,
.secondary-action,
.product-card button {
  transition: transform var(--speed) var(--ease-out), box-shadow var(--speed) var(--ease-out), background var(--speed) var(--ease-out), color var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out);
  will-change: transform;
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(9, 10, 13, 0.22);
}

.primary-action:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 8px 18px rgba(9, 10, 13, 0.18);
}

.secondary-action:hover {
  border-color: rgba(9, 10, 13, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.secondary-action:active {
  transform: translateY(0) scale(0.98);
}

/* --- Ürün kartları: derinlik ve hover --- */
.product-card {
  border-radius: var(--radius-lg);
  transition: transform var(--speed) var(--ease-out), box-shadow var(--speed) var(--ease-out);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card .product-art {
  overflow: hidden;
}

.product-card .product-art img {
  transition: transform 600ms var(--ease-out);
}

.product-card:hover .product-art img {
  transform: scale(1.045);
}

.product-card h3 a {
  transition: color var(--speed) var(--ease-out);
}

.product-card h3 a:hover {
  color: var(--green-dark);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px clamp(18px, 6vw, 90px) 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumbs a {
  font-weight: 600;
  transition: color var(--speed) var(--ease-out);
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.breadcrumbs em {
  overflow: hidden;
  max-width: 46ch;
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Sıralama pilleri --- */
.sort-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -8px 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.sort-pill {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-weight: 700;
  font-size: 0.86rem;
  transition: border-color var(--speed) var(--ease-out), background var(--speed) var(--ease-out), transform var(--speed) var(--ease-out);
}

.sort-pill:hover {
  border-color: rgba(9, 10, 13, 0.3);
  transform: translateY(-1px);
}

.sort-pill.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

/* --- Arama sayfası --- */
.search-form {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin-bottom: 34px;
}

.search-form input {
  flex: 1;
  min-width: 0;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
  transition: border-color var(--speed) var(--ease-out), box-shadow var(--speed) var(--ease-out);
}

.search-form input:focus {
  border-color: rgba(9, 10, 13, 0.35);
  outline: none;
  box-shadow: var(--shadow-md);
}

.search-group-title {
  margin: 34px 0 16px;
  font-size: 1.2rem;
}

.search-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  background: white;
}

/* --- İlgili ürünler & mobil satın alma barı --- */
.related-section {
  border-top: 1px solid var(--line);
}

.mobile-buy-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 251, 243, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 -12px 34px rgba(9, 10, 13, 0.12);
}

.mobile-buy-bar > div {
  display: grid;
}

.mobile-buy-bar span {
  color: var(--muted);
  font-size: 0.78rem;
}

.mobile-buy-bar strong {
  font-size: 1.15rem;
}

/* --- Yeni footer --- */
.site-footer {
  display: block;
  padding: 0;
  border-top: 1px solid var(--line);
  background: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(36px, 6vw, 64px) clamp(18px, 6vw, 90px);
}

.footer-brand p {
  max-width: 34ch;
  margin: 14px 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-brand .brand strong {
  font-size: 1.15rem;
}

.footer-social a {
  display: inline-flex;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: border-color var(--speed) var(--ease-out), background var(--speed) var(--ease-out);
}

.footer-social a:hover {
  border-color: var(--navy);
  background: var(--green);
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-nav strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav a {
  width: fit-content;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.94rem;
  transition: color var(--speed) var(--ease-out), transform var(--speed) var(--ease-out);
}

.footer-nav a:hover {
  color: var(--ink);
  transform: translateX(3px);
}

.footer-newsletter strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.footer-newsletter p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-newsletter form {
  display: flex;
  gap: 8px;
}

.footer-newsletter input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  transition: border-color var(--speed) var(--ease-out), background var(--speed) var(--ease-out);
}

.footer-newsletter input[type="email"]:focus {
  border-color: rgba(9, 10, 13, 0.35);
  background: white;
  outline: none;
}

.footer-newsletter .primary-action {
  min-height: 44px;
  padding: 0 22px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 18px clamp(18px, 6vw, 90px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* --- Toast: daha canlı --- */
.toast {
  padding: 13px 18px;
  border: 1px solid rgba(215, 251, 104, 0.4);
  border-radius: 14px;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  font-weight: 700;
}

.toast.is-visible {
  animation: toast-in 380ms var(--ease-out);
}

.toast.is-hiding {
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: 380ms var(--ease-out);
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 18px) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

/* --- Admin güvenlik uyarısı --- */
.admin-alert {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 77, 45, 0.35);
  border-radius: var(--radius-md);
  background: rgba(255, 77, 45, 0.08);
  color: #9c2c14;
  font-weight: 600;
}

.admin-alert a {
  font-weight: 800;
  text-decoration: underline;
}

.form-hint {
  margin: -4px 0 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --- İnce kaydırma çubuğu --- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  border: 3px solid #f7f8f3;
  border-radius: 999px;
  background: rgba(9, 10, 13, 0.28);
}

/* --- Responsive kırılımlar --- */
@media (max-width: 1240px) {
  .header-search input { width: 100px; }
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1040px) {
  .topbar {
    flex-wrap: nowrap;
    align-items: center;
  }

  .main-nav,
  .header-search,
  .topbar .account-chip.is-admin {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    top: 76px;
  }
}

@media (min-width: 1041px) {
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .topbar {
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .mobile-nav {
    top: 64px;
  }

  .mobile-nav[hidden] {
    display: none !important;
  }

  .brand-mark,
  .avatar {
    width: 38px;
    height: 38px;
  }

  .topbar .brand strong {
    font-size: 1.15rem;
  }

  .topbar .brand small {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mobile-buy-bar {
    display: flex;
  }

  body:has(.mobile-buy-bar) {
    padding-bottom: 78px;
  }

  .breadcrumbs em {
    max-width: 22ch;
  }

  .search-form {
    flex-direction: column;
  }
}

/* Final mobile layout fixes */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .product-card {
    min-height: 0;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  main {
    overflow: hidden;
  }

  .home-hero {
    min-height: 0 !important;
    margin-top: 0 !important;
    padding-top: 18px !important;
    padding-bottom: 24px !important;
  }

  .home-hero-copy {
    min-height: 0 !important;
    padding-top: 26px !important;
    padding-bottom: 28px !important;
  }

  .home-hero-copy h1 {
    margin-top: 10px;
  }

  .section {
    margin-top: 18px;
    margin-bottom: 28px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-heading {
    gap: 14px;
    margin-bottom: 20px;
  }

  .section-heading h1,
  .section-heading h2 {
    width: 100%;
    text-align: left;
  }

  .section-heading > p:not(.eyebrow) {
    max-width: none;
  }

  .product-grid {
    grid-template-columns: 1fr !important;
  }

  .product-card {
    width: 100%;
  }

  .product-art {
    min-height: 190px;
  }

  .testimonials-section {
    overflow: hidden;
    padding: 28px 16px 34px !important;
  }

  .testimonial-title {
    margin-bottom: 22px;
    font-size: clamp(1.85rem, 8vw, 2.7rem);
    letter-spacing: 0.02em;
  }

  .testimonial-slider {
    max-width: calc(100% - 52px);
  }

  .testimonial-track,
  .testimonial-grid {
    grid-auto-columns: 100%;
    gap: 20px;
  }

  .testimonial-card {
    padding: 0;
  }

  .testimonial-author {
    gap: 14px;
  }

  .testimonial-photo {
    width: 74px;
    height: 74px;
  }

  .testimonial-author strong {
    font-size: clamp(1.55rem, 7vw, 2.25rem);
  }

  .testimonial-author small {
    font-size: 1rem;
  }

  .testimonial-stars {
    margin-top: 8px;
    font-size: 1.25rem;
    letter-spacing: 0.06em;
  }

  .testimonial-card p {
    font-size: 1rem;
  }

  .testimonial-card footer strong {
    font-size: 1.25rem;
  }

  .testimonial-arrow {
    width: 38px;
    height: 38px;
    font-size: 2.2rem;
  }

  .testimonial-arrow-prev {
    left: 4px;
  }

  .testimonial-arrow-next {
    right: 4px;
  }
}

/* Refined testimonial band */
.testimonials-section {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: clamp(28px, 4vw, 52px) clamp(18px, 3.8vw, 46px) !important;
  text-align: left;
}

.testimonial-title {
  margin: 0 0 22px;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.85rem, 3vw, 3.4rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.04;
  text-align: left;
  text-transform: none;
}

.testimonial-slider {
  max-width: none;
  margin: 0;
}

.testimonial-track,
.testimonial-grid {
  grid-auto-columns: calc((100% - 22px) / 2);
  gap: 22px;
}

.testimonial-card {
  min-height: 390px;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    #242426;
  box-shadow: none;
  padding: clamp(22px, 3vw, 34px);
  color: #ffffff;
}

.testimonial-author {
  align-items: flex-start;
  gap: 14px;
}

.testimonial-photo {
  width: 70px;
  height: 70px;
  border: 1px solid rgba(134, 210, 255, 0.38);
  background: #ffffff;
}

.testimonial-author strong {
  display: inline;
  color: #ffffff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.18rem, 1.55vw, 1.7rem);
  font-weight: 850;
  line-height: 1.15;
}

.testimonial-author small {
  display: inline;
  margin: 0 0 0 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(1rem, 1.25vw, 1.35rem);
  font-weight: 800;
  line-height: 1.2;
}

.testimonial-stars {
  margin-top: 10px;
  color: #86d2ff !important;
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  letter-spacing: 0.08em;
}

.testimonial-quote {
  margin-top: 2px;
}

.testimonial-card p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.2rem, 1.55vw, 1.65rem);
  font-weight: 820;
  line-height: 1.42;
}

.testimonial-card footer {
  margin-top: auto;
}

.testimonial-card footer strong {
  color: #ffffff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.45rem);
  font-weight: 850;
  line-height: 1.25;
}

.testimonial-card footer span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(0.88rem, 1.05vw, 1.18rem);
  font-weight: 850;
}

.testimonial-arrow {
  top: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.25rem;
  backdrop-filter: blur(12px);
}

.testimonial-arrow-prev {
  left: 10px;
}

.testimonial-arrow-next {
  right: 10px;
}

.testimonial-arrow:hover {
  background: #ffffff;
  opacity: 1;
}

@media (max-width: 700px) {
  .testimonials-section {
    padding: 26px 16px 30px !important;
  }

  .testimonial-title {
    margin-bottom: 18px;
    font-size: 1.75rem;
  }

  .testimonial-slider {
    max-width: calc(100% - 52px);
    margin: 0 auto;
  }

  .testimonial-track,
  .testimonial-grid {
    grid-auto-columns: 100%;
    gap: 18px;
  }

  .testimonial-card {
    min-height: 360px;
    padding: 22px;
  }

  .testimonial-photo {
    width: 58px;
    height: 58px;
  }

  .testimonial-author strong {
    font-size: 1.18rem;
  }

  .testimonial-author small {
    display: block;
    margin: 2px 0 0;
    font-size: 0.95rem;
  }

  .testimonial-stars {
    margin-top: 8px;
    font-size: 1rem;
  }

  .testimonial-card p {
    font-size: 1.05rem;
  }

  .testimonial-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
}

/* Home section alignment */
:root {
  --home-section-width: 1240px;
  --home-section-pad: 24px;
}

.home-hero,
.process-strip,
main > .section {
  width: min(calc(100% - 48px), var(--home-section-width));
  max-width: var(--home-section-width);
  margin-left: auto;
  margin-right: auto;
}

main > .section {
  padding-left: var(--home-section-pad) !important;
  padding-right: var(--home-section-pad) !important;
}

main > .testimonials-section {
  padding-left: var(--home-section-pad) !important;
  padding-right: var(--home-section-pad) !important;
}

@media (max-width: 700px) {
  :root {
    --home-section-pad: 18px;
  }

  .home-hero,
  .process-strip,
  main > .section {
    width: 100%;
    max-width: 100%;
  }

  main > .section,
  main > .testimonials-section {
    padding-left: var(--home-section-pad) !important;
    padding-right: var(--home-section-pad) !important;
  }

  .recommendation-grid {
    grid-template-columns: 1fr;
  }

  .cart-recommendations {
    padding: 18px;
    border-radius: 22px;
  }

  .bundle-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .bundle-panel .primary-action {
    width: 100%;
    justify-content: center;
  }

  .coming-soon-form {
    grid-template-columns: 1fr;
  }

  .coming-soon-form .primary-action {
    width: 100%;
  }
}

/* Final admin normalization */
.admin-main > .admin-table,
.admin-main > .admin-form,
.admin-main > .admin-layout,
.admin-main > .active-appointments,
.admin-main > .sales-dashboard,
.admin-main > .admin-grid-links {
  width: 100%;
  max-width: 1480px;
}

@media (max-width: 1180px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 80;
    width: min(86vw, 360px);
    height: 100vh;
    overflow: auto;
    padding: 24px;
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .admin-nav-open .admin-sidebar {
    transform: translateX(0);
  }

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

  .admin-mobile-toggle {
    display: flex;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 90;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(9, 10, 13, 0.12);
    border-radius: 999px;
    background: #10171f;
    box-shadow: 0 18px 50px rgba(16, 23, 31, 0.22);
  }

  .admin-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: #ffffff;
  }

  .admin-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    background: rgba(9, 10, 13, 0.46);
    backdrop-filter: blur(4px);
  }

  .admin-nav-backdrop[hidden] {
    display: none;
  }

  .admin-main {
    padding: 28px 16px 96px;
  }

  .admin-body .dashboard-grid,
  .admin-body .admin-layout,
  .appointment-admin-layout,
  .sales-dashboard-grid,
  .sales-lower-grid,
  .admin-grid-links {
    grid-template-columns: 1fr !important;
  }

  .admin-body .table-row,
  .appointment-slot-row,
  .appointment-booking-row {
    grid-template-columns: 1fr !important;
  }

  .inline-edit-grid {
    grid-template-columns: 1fr;
  }

  .admin-body .row-actions {
    justify-content: flex-start;
  }
}
