:root {
  color-scheme: light;
  --ink: #e2e6e8;
  --coal: #d2d8dc;
  --coal-2: #f3f4f3;
  --steel: #3d4850;
  --brass: #ae6828;
  --brass-2: #8d4e1d;
  --oxblood: #7c292e;
  --cream: #20292f;
  --muted: #56636b;
  --line: rgba(32, 41, 47, 0.17);
  --shadow: 0 22px 55px rgba(32, 41, 47, 0.16);
  --radius: 8px;
  --container: 1180px;
  font-family: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

img,
iframe {
  max-width: 100%;
}

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

button,
a,
select,
input,
textarea,
summary {
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 120ms ease, opacity 180ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brass-2);
  outline-offset: 3px;
}

.site-header,
.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 3vw, 2.5rem);
  background: rgba(29, 38, 44, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-header .brand,
.admin-header .brand {
  color: #f1eee7;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--brass);
  color: #150f07;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 900;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-header .nav-links,
.admin-header .nav-links {
  color: #d7dcde;
}

.nav-links a {
  position: relative;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 51%;
  right: 51%;
  bottom: 2px;
  height: 1px;
  background: var(--brass);
}

.nav-links a:hover {
  color: var(--cream);
}

.site-header .nav-links a:hover,
.admin-header .nav-links a:hover {
  color: #ffffff;
}

.mobile-nav {
  display: none;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  left: 0;
  right: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 6vw, 5rem);
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-home {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  align-items: center;
  padding-top: clamp(7rem, 11vw, 9rem);
}

.hero-logo {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  z-index: 1;
  width: 220px;
  height: 220px;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.34));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 14, 18, 0.46);
}

.hero-content {
  max-width: 760px;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.55);
}

.hero-content h1,
.hero-content p {
  color: #f4f0e8;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--brass-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.06;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 7vw, 6.8rem);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4.1rem);
  letter-spacing: 0;
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--muted);
  text-wrap: pretty;
}

.hero-copy {
  max-width: 650px;
  color: #e5dccb;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.admin-card-head,
.stock-form,
.form-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.78rem 1.05rem;
  cursor: pointer;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: scale(0.98);
}

.button-primary {
  background: var(--brass);
  color: #160f07;
  box-shadow: 0 12px 38px rgba(184, 135, 59, 0.22);
}

.button-ghost {
  color: var(--cream);
}

.hero .button-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.button-secondary {
  background: var(--oxblood);
  border-color: rgba(243, 234, 216, 0.18);
}

.button-ghost {
  background: rgba(243, 234, 216, 0.06);
  border-color: var(--line);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.hero-panel,
.closed-box,
.cart-panel,
.admin-card,
.login-card {
  background: var(--coal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  gap: 0.45rem;
  padding: 1.3rem;
}

.hero-booking {
  align-self: center;
}

.hero-form h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.hero-form {
  display: grid;
  gap: 0.8rem;
}

.hero-form small {
  line-height: 1.35;
}

.hero-panel strong {
  color: var(--brass-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-panel a,
.site-footer a,
.address-link,
.phone-link {
  color: var(--cream);
  text-decoration-color: var(--brass);
  text-underline-offset: 4px;
}

.flash-wrap {
  max-width: var(--container);
  margin: 1rem auto 0;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.flash {
  margin: 0.8rem 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--coal-2);
  color: var(--cream);
}

.flash.success {
  border-color: rgba(184, 135, 59, 0.45);
}

.flash.error {
  border-color: rgba(139, 31, 35, 0.85);
}

.page-main {
  min-height: calc(100svh - 72px);
}

.page-hero {
  padding: clamp(3rem, 8vw, 6rem) max(clamp(1rem, 3vw, 2rem), calc((100vw - var(--container)) / 2 + 2rem));
  background: var(--coal);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 920px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

.page-lead {
  max-width: 760px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.4rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--cream);
  text-decoration-color: var(--brass);
  text-underline-offset: 4px;
}

.page-section {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-strip div {
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  background: var(--coal);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  color: var(--muted);
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 3vw, 2rem);
}

.two-column,
.booking-band,
.products-layout,
.contact-band,
.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.detail-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  filter: saturate(0.85) contrast(1.08);
}

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

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

.service-card,
.product-card,
.admin-stats article,
.movement-list div {
  background: var(--coal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card {
  display: grid;
  gap: 1.2rem;
  min-height: 180px;
  padding: 1.2rem;
}

.service-card span,
.product-card span,
.admin-stats span,
.movement-list small,
small {
  color: var(--muted);
}

.service-card strong {
  color: var(--brass-2);
  font-size: 1.55rem;
}

.service-card a {
  align-self: end;
  color: var(--cream);
  font-weight: 800;
  text-decoration-color: var(--brass);
  text-underline-offset: 4px;
}

.booking-band,
.contact-band {
  max-width: none;
  margin: 0;
  padding-inline: max(clamp(1rem, 3vw, 2rem), calc((100vw - var(--container)) / 2 + 2rem));
  background: var(--coal);
  border-block: 1px solid var(--line);
}

.form,
.compact-form,
.login-card,
.toggle-form,
.admin-form-grid,
.admin-product-row,
.stock-form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.78rem 0.85rem;
  background: #ffffff;
  color: var(--cream);
}

textarea {
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(184, 135, 59, 0.6);
}

.closed-box {
  display: grid;
  gap: 0.7rem;
  padding: 1.4rem;
}

.products-layout {
  max-width: 1380px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.products-preview,
.contact-preview,
.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.products-preview {
  max-width: none;
  padding-inline: max(clamp(1rem, 3vw, 2rem), calc((100vw - var(--container)) / 2 + 2rem));
  background: var(--coal);
  border-block: 1px solid var(--line);
}

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

.product-teaser strong {
  color: var(--brass-2);
  font-size: 1.35rem;
}

.product-teaser a {
  align-self: end;
  color: var(--cream);
  font-weight: 800;
  text-decoration-color: var(--brass);
  text-underline-offset: 4px;
}

.contact-preview {
  max-width: none;
  margin: 0;
  padding-inline: max(clamp(1rem, 3vw, 2rem), calc((100vw - var(--container)) / 2 + 2rem));
  background: var(--ink);
}

.booking-form,
.order-form {
  max-width: 720px;
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--coal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.cart-page-grid .cart-lines {
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--coal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-page iframe {
  width: 100%;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: grayscale(0.25) contrast(1.05);
}

.faq-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.faq-page {
  display: block;
}

.faq-preview {
  max-width: none;
  padding-inline: max(clamp(1rem, 3vw, 2rem), calc((100vw - var(--container)) / 2 + 2rem));
  background: var(--coal);
  border-block: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-page .faq-list {
  max-width: 860px;
  margin-inline: auto;
}

.faq-list details {
  background: var(--coal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.faq-list summary {
  cursor: pointer;
  color: var(--cream);
  font-weight: 800;
}

.faq-list details p {
  margin: 0.85rem 0 0;
}

.faq-list .button {
  justify-self: start;
  margin-top: 0.35rem;
}

.product-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.product-card h3 {
  margin-bottom: 0.35rem;
}

.product-card form {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 0.75rem;
  align-items: end;
}

.product-card .button,
.product-card small {
  grid-column: 1 / -1;
}

.mini-label {
  font-size: 0.75rem;
}

.cart-panel {
  position: sticky;
  top: 92px;
  padding: 1.2rem;
}

.cart-lines {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.cart-line {
  grid-template-columns: minmax(0, 1fr) 80px;
  align-items: center;
}

.cart-line span {
  color: var(--cream);
}

.cart-line small {
  display: block;
}

.cart-total {
  display: block;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.contact-band iframe {
  width: 100%;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: grayscale(0.25) contrast(1.05);
}

.address-link,
.phone-link {
  display: block;
  margin: 0.7rem 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.mobile-call {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: none;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 1.2rem;
  border-radius: 6px;
  background: var(--brass);
  color: #150f07;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-call.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #20292f;
}

.site-footer span {
  color: #f1eee7;
  font-weight: 900;
}

.site-footer a {
  color: #f1eee7;
}

.admin-page {
  background: var(--coal);
}

.admin-brand,
.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cream);
  font-weight: 900;
  text-decoration: none;
}

.admin-header .admin-brand {
  color: #f1eee7;
}

.admin-brand .brand-logo {
  width: 58px;
  height: 58px;
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-nav a {
  padding: 0.55rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}

.admin-nav a:hover,
.admin-nav a.is-current {
  background: rgba(174, 104, 40, 0.14);
  border-color: rgba(174, 104, 40, 0.42);
  color: var(--brass-2);
}

.admin-public-link {
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.admin-header .button-ghost {
  color: #f1eee7;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.admin-header {
  align-items: center;
}

.admin-main {
  max-width: 1420px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
}

.admin-page-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 1rem 0 1.5rem;
}

.admin-page-title h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.admin-page-title p:last-child {
  max-width: 680px;
  margin-bottom: 0;
}

.admin-stat-grid,
.admin-quick-grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}

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

.admin-stat-card,
.admin-quick-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem;
  background: var(--coal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--cream);
  text-decoration: none;
}

.admin-stat-card span,
.admin-quick-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-stat-card strong {
  color: var(--brass-2);
  font-size: 2rem;
}

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

.admin-quick-card:hover,
.admin-stat-card:hover {
  border-color: rgba(174, 104, 40, 0.55);
  transform: translateY(-1px);
}

.admin-dashboard-hero {
  margin-bottom: 1rem;
}

.admin-dashboard-section {
  margin-top: 1rem;
}

.admin-appointment-list,
.admin-order-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-card-list {
  margin: 1rem 0;
}

.admin-appointment-card,
.admin-order-card,
.admin-empty {
  display: grid;
  gap: 0.65rem;
  padding: 1.1rem;
  background: var(--coal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.appointment-card-top,
.order-card-footer,
.appointment-customer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.appointment-card-top time,
.admin-order-card time {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-appointment-card > strong,
.appointment-customer strong,
.admin-order-card > .appointment-card-top strong {
  font-size: 1.1rem;
}

.appointment-phone {
  color: var(--brass-2);
  font-weight: 800;
  text-decoration-color: var(--brass);
  text-underline-offset: 4px;
}

.appointment-service,
.order-items-list span {
  color: var(--muted);
  font-weight: 700;
}

.appointment-note {
  margin: 0;
  padding: 0.7rem;
  background: rgba(32, 41, 47, 0.05);
  border-left: 3px solid var(--brass);
  font-size: 0.92rem;
}

.appointment-status-form label,
.order-card-footer label {
  min-width: 170px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(174, 104, 40, 0.14);
  color: var(--brass-2);
  font-size: 0.76rem;
  font-weight: 900;
}

.status-tamamlandi {
  background: rgba(35, 96, 71, 0.14);
  color: #236047;
}

.status-iptal {
  background: rgba(124, 41, 46, 0.14);
  color: var(--oxblood);
}

.order-items-list {
  display: grid;
  gap: 0.25rem;
}

.order-card-footer > strong {
  color: var(--brass-2);
  font-size: 1.25rem;
}

.admin-filter-bar {
  display: flex;
  align-items: end;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.admin-filter-bar label {
  flex: 1 1 280px;
}

.admin-empty {
  grid-column: 1 / -1;
}

.admin-empty span {
  color: var(--muted);
}

.admin-hero {
  max-width: none;
  margin: 0 0 1rem;
  padding: 2rem 0;
  align-items: end;
}

.admin-hero h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.admin-stats article {
  padding: 1rem;
}

.admin-stats strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--brass-2);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.admin-card {
  margin: 1rem 0;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.admin-card-head {
  justify-content: space-between;
  margin-bottom: 1rem;
}

.admin-card h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

th,
td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--brass-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

td a {
  display: block;
  color: var(--muted);
  text-decoration-color: var(--brass);
}

.order-item {
  display: block;
  color: var(--cream);
}

.inline-form {
  min-width: 150px;
}

.toggle-form {
  max-width: 640px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: var(--coal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toggle-row span {
  display: grid;
}

.toggle-row input {
  width: 26px;
  height: 26px;
  accent-color: var(--brass);
}

.product-editor {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

summary {
  cursor: pointer;
  color: var(--brass-2);
  font-weight: 900;
}

.admin-form-grid,
.admin-product-row {
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  margin-top: 1rem;
}

.span-2 {
  grid-column: span 2;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-label input {
  width: 22px;
  height: 22px;
  accent-color: var(--brass);
}

.admin-product-list {
  display: grid;
  gap: 1rem;
}

.admin-product-row {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--coal-2);
}

.stock-form {
  grid-template-columns: 1.2fr 0.7fr 0.7fr 1.2fr auto;
  align-items: end;
}

.movement-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.movement-list div {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1rem;
  padding: 0.85rem;
}

.login-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: #20292f;
}

.login-card {
  width: min(100%, 460px);
  padding: clamp(1.2rem, 4vw, 2rem);
}

.login-card h1 {
  margin-top: 1.8rem;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
}

.login-brand {
  color: var(--cream);
}

.login-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .hero,
  .two-column,
  .booking-band,
  .products-layout,
  .contact-band,
  .products-preview,
  .contact-preview,
  .contact-page,
  .faq-preview,
  .cart-page-grid,
  .admin-hero {
    grid-template-columns: 1fr;
  }

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

  .cart-panel {
    position: static;
  }

  .admin-form-grid,
  .admin-product-row,
  .stock-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .span-2 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 68px;
  }

  .admin-page {
    padding-bottom: 0;
  }

  .site-header {
    position: relative;
    min-height: 58px;
    align-items: center;
    flex-direction: row;
    padding: 0.65rem 0.85rem;
  }

  .site-header .brand {
    position: absolute;
    left: 50%;
    max-width: calc(100% - 2rem);
    overflow: hidden;
    transform: translateX(-50%);
    white-space: nowrap;
    min-width: 0;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 900;
  }

  .site-header .brand > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-header .brand-logo {
    width: 48px;
    height: 48px;
  }

  .site-header > .nav-links {
    display: none;
  }

  .admin-header {
    min-height: 58px;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0.65rem 0.85rem;
  }

  .admin-brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 0.5rem;
    font-size: 0.75rem;
  }

  .admin-brand > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-brand .brand-logo {
    width: 46px;
    height: 46px;
  }

  .admin-header > form .button {
    min-height: 36px;
    padding: 0.5rem 0.7rem;
    font-size: 0.7rem;
  }

  .admin-public-link {
    display: none;
  }

  .admin-nav {
    order: 5;
    flex: 0 0 100%;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .admin-nav a {
    padding: 0.45rem 0.55rem;
    font-size: 0.72rem;
  }

  .admin-main {
    padding: 0.85rem;
  }

  .admin-page-title {
    align-items: stretch;
    flex-direction: column;
    margin-top: 0.4rem;
  }

  .admin-page-title h1 {
    font-size: 2.45rem;
  }

  .admin-page-title .button,
  .admin-dashboard-hero .button {
    width: 100%;
  }

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

  .admin-stat-card,
  .admin-quick-card {
    padding: 0.85rem;
  }

  .admin-stat-card strong {
    font-size: 1.65rem;
  }

  .admin-appointment-list,
  .admin-order-list {
    grid-template-columns: 1fr;
  }

  .admin-card {
    padding: 0.9rem;
  }

  .admin-filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .admin-filter-bar label {
    grid-column: 1 / -1;
  }

  .admin-filter-bar .button {
    width: 100%;
  }

  .appointment-card-top time {
    flex: 1 1 100%;
  }

  .appointment-status-form label,
  .order-card-footer label {
    width: 100%;
    min-width: 0;
  }

  .order-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .order-card-footer .inline-form {
    width: 100%;
  }
  }

  .site-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    min-height: 68px;
    padding: 0.35rem 0.35rem calc(0.35rem + env(safe-area-inset-bottom));
    background: #20292f;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 -12px 30px rgba(16, 24, 29, 0.22);
  }

  .mobile-nav a {
    display: grid;
    place-items: center;
    gap: 0.1rem;
    min-width: 0;
    color: #aeb8bd;
    text-decoration: none;
  }

  .mobile-nav a > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #e6e9e8;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-nav small {
    color: inherit;
    font-size: 0.64rem;
    font-weight: 800;
    line-height: 1;
  }

  .mobile-nav a.is-current,
  .mobile-nav a.is-current > span {
    color: #d8914b;
  }

  .mobile-nav .mobile-nav-cta > span {
    background: var(--brass);
    border-radius: 50%;
    color: #20150d;
    font-size: 1.45rem;
  }

  .mobile-call {
    right: 0.8rem;
    bottom: 76px;
  }

  .hero {
    min-height: auto;
    gap: 1.4rem;
    padding: 2.8rem 1rem 2.5rem;
  }

  .hero-home {
    padding-top: 11.5rem;
  }

  .hero-logo {
    top: 1rem;
    width: 164px;
    height: 164px;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-panel {
    padding: 1rem;
  }

  .hero-panel h2 {
    font-size: 1.8rem;
  }

  .hero-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .page-hero {
    padding: 2.2rem 1rem 2.8rem;
  }

  .page-hero h1 {
    font-size: 2.6rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .hero-actions .button,
  .booking-band .button,
  .closed-box .button {
    width: 100%;
  }

  .trust-strip,
  .service-grid,
  .service-grid-wide,
  .product-grid,
  .admin-stats,
  .admin-form-grid,
  .admin-product-row,
  .stock-form,
  .movement-list div,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .product-card form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-bottom: 1.2rem;
  }
}

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