/* IRANSans — the Farsi typeface, served locally so it works offline and without
   reaching an external CDN (which Iranian visitors often cannot load).
   All six weights are declared; the hierarchy below leans on that range rather
   than pulling in a second family. woff2 + woff cover IE9 onward. */
@font-face {
  font-family: IRANSans; font-style: normal; font-weight: 200; font-display: swap;
  src: url('/fonts/IRANSansWeb_UltraLight.woff2') format('woff2'),
       url('/fonts/IRANSansWeb_UltraLight.woff') format('woff');
}
@font-face {
  font-family: IRANSans; font-style: normal; font-weight: 300; font-display: swap;
  src: url('/fonts/IRANSansWeb_Light.woff2') format('woff2'),
       url('/fonts/IRANSansWeb_Light.woff') format('woff');
}
@font-face {
  font-family: IRANSans; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/IRANSansWeb.woff2') format('woff2'),
       url('/fonts/IRANSansWeb.woff') format('woff');
}
@font-face {
  font-family: IRANSans; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/IRANSansWeb_Medium.woff2') format('woff2'),
       url('/fonts/IRANSansWeb_Medium.woff') format('woff');
}
@font-face {
  font-family: IRANSans; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/IRANSansWeb_Bold.woff2') format('woff2'),
       url('/fonts/IRANSansWeb_Bold.woff') format('woff');
}
@font-face {
  font-family: IRANSans; font-style: normal; font-weight: 900; font-display: swap;
  src: url('/fonts/IRANSansWeb_Black.woff2') format('woff2'),
       url('/fonts/IRANSansWeb_Black.woff') format('woff');
}

:root {
  --font: IRANSans, 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Surfaces — deep black base, translucent panels floating over it. */
  --bg: #121212;
  --bg-raise: #171717;
  --surface: rgba(32, 32, 34, 0.72);
  --surface-solid: #202022;
  --surface-2: rgba(45, 45, 48, 0.66);
  --surface-2-solid: #2b2b2e;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Type */
  --text: #F4F2ED;
  --muted: #A0A0A0;
  --muted-dim: #7C7C7C;

  /* Luxurious gold */
  --gold: #CFB53B;
  --gold-soft: #E6D48A;
  --gold-deep: #A8912C;
  --gold-grad: linear-gradient(135deg, #E8D583 0%, #CFB53B 52%, #A8912C 100%);
  --gold-grad-hi: linear-gradient(135deg, #F2E3A0 0%, #DEC554 52%, #BFA436 100%);
  --on-gold: #1A1503;

  --danger: #E06A55;
  --ok: #5CBF8A;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-lift: 0 16px 40px rgba(0, 0, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 8px 24px rgba(207, 181, 59, 0.28);
  --t: 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* Faint gold glows so the frosted panels have something to refract. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(760px circle at 12% -8%, rgba(207, 181, 59, 0.10), transparent 60%),
    radial-gradient(640px circle at 92% 8%, rgba(207, 181, 59, 0.06), transparent 58%),
    radial-gradient(900px circle at 50% 108%, rgba(207, 181, 59, 0.05), transparent 62%);
}
html[dir="rtl"] body { line-height: 1.85; }

a { color: var(--gold-soft); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold); }
.hidden { display: none !important; }

/* ---------------------------------------------------------------- header */
header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 30px;
  background: rgba(18, 18, 18, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 30;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand .logo {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--gold-grad); color: var(--on-gold);
  font-size: 22px; font-weight: 700;
  box-shadow: var(--shadow-gold);
  transition: transform var(--t), box-shadow var(--t);
}
header:hover .brand .logo { transform: rotate(-6deg) scale(1.04); }
.brand h1 {
  font-size: 19px; font-weight: 700; margin: 0;
  letter-spacing: 0.4px; line-height: 1.2;
}
.brand span { color: var(--muted); font-size: 12.5px; font-weight: 300; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

nav.main-nav { display: flex; gap: 4px; }
nav.main-nav button {
  position: relative;
  background: transparent; border: 0; color: var(--muted);
  font-family: inherit; font-size: 14px; font-weight: 500;
  padding: 9px 14px; cursor: pointer; border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t), transform var(--t);
}
/* Gold underline that grows out from the centre on hover. */
nav.main-nav button::after {
  content: ""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; border-radius: 2px;
  background: var(--gold-grad);
  transition: width var(--t);
}
nav.main-nav button:hover { color: var(--text); transform: translateY(-1px); }
nav.main-nav button:hover::after { width: 42%; }
nav.main-nav button.active { color: var(--gold); background: rgba(207, 181, 59, 0.10); }
nav.main-nav button.active::after { width: 42%; }

.lang-switch {
  display: inline-flex; border: 1px solid var(--border);
  border-radius: 999px; overflow: hidden;
  background: var(--surface-2); backdrop-filter: blur(10px);
}
.lang-switch button {
  background: transparent; color: var(--muted); border: 0;
  padding: 7px 15px; cursor: pointer; font-size: 13px; font-family: inherit;
  font-weight: 500; transition: color var(--t), background var(--t);
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active {
  background: var(--gold-grad); color: var(--on-gold); font-weight: 700;
}

/* ---------------------------------------------------------------- layout */
main { max-width: 960px; margin: 0 auto; padding: 40px 22px 90px; }

.card {
  background: var(--surface);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lift); }

.card h2 {
  margin: 0 0 8px;
  font-size: 23px; font-weight: 700;
  letter-spacing: -0.2px; line-height: 1.3;
}
.card .sub {
  color: var(--muted); font-size: 14px; font-weight: 300;
  margin-bottom: 26px; max-width: 62ch;
}
.step-label {
  color: var(--gold); font-size: 11.5px; letter-spacing: 1.6px;
  text-transform: uppercase; margin-bottom: 14px; font-weight: 700;
}

/* ------------------------------------------------------------------ hero */
.hero {
  text-align: center; padding: 76px 30px;
  background:
    radial-gradient(600px circle at 50% 0%, rgba(207, 181, 59, 0.10), transparent 62%),
    var(--surface);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.hero h2 {
  font-size: 46px; font-weight: 900; margin: 0 0 14px;
  letter-spacing: -1px; line-height: 1.15;
  background: linear-gradient(180deg, #FFFDF6 20%, #D9CFAE 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--text);
}
.hero p {
  color: var(--muted); font-weight: 300; font-size: 16px;
  max-width: 480px; margin: 0 auto 34px;
}

/* --------------------------------------------------------------- buttons */
.btn {
  background: var(--gold-grad); color: var(--on-gold);
  border: 0; border-radius: var(--radius-sm);
  padding: 14px 30px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; letter-spacing: 0.2px;
  box-shadow: var(--shadow-gold);
  transition: transform var(--t), box-shadow var(--t), background var(--t), opacity var(--t);
}
.btn:hover:not(:disabled) {
  background: var(--gold-grad-hi);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(207, 181, 59, 0.42);
}
.btn:active:not(:disabled) { transform: translateY(-1px); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; }

.btn.secondary {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border); box-shadow: none;
}
.btn.secondary:hover:not(:disabled) {
  background: var(--surface-2); border-color: var(--gold);
  color: var(--gold-soft); transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.btn.small { padding: 8px 16px; font-size: 13px; }
.btn.danger {
  background: transparent; color: var(--danger);
  border: 1px solid rgba(224, 106, 85, 0.5); box-shadow: none;
}
.btn.danger:hover:not(:disabled) {
  background: rgba(224, 106, 85, 0.12); border-color: var(--danger);
  transform: translateY(-3px); box-shadow: none;
}
.btn.ok {
  background: transparent; color: var(--ok);
  border: 1px solid rgba(92, 191, 138, 0.5); box-shadow: none;
}
.btn.ok:hover:not(:disabled) {
  background: rgba(92, 191, 138, 0.12); transform: translateY(-3px); box-shadow: none;
}

/* -------------------------------------------------------------- services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.service {
  text-align: start; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 20px; cursor: pointer; color: var(--text); font-family: inherit;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t), background var(--t);
}
.service:hover {
  border-color: var(--gold-soft); transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.service.selected {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold), var(--shadow-gold);
}
.service .name { font-weight: 700; font-size: 16px; letter-spacing: -0.1px; }
.service .meta {
  color: var(--muted); font-size: 13px; font-weight: 300; margin-top: 9px;
  display: flex; justify-content: space-between; gap: 10px;
}
.price { color: var(--gold-soft); font-weight: 700; }

/* ------------------------------------------------------- day/slot pickers */
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 11px 13px; cursor: pointer;
  font-family: inherit; min-width: 72px; text-align: center;
  font-size: 13px; line-height: 1.4;
  transition: border-color var(--t), transform var(--t), background var(--t), box-shadow var(--t);
}
.pill:hover:not(:disabled) {
  border-color: var(--gold-soft); transform: translateY(-3px); box-shadow: var(--shadow);
}
.pill.selected {
  background: var(--gold-grad); color: var(--on-gold);
  border-color: transparent; font-weight: 700; box-shadow: var(--shadow-gold);
}
.pill:disabled { opacity: 0.25; cursor: not-allowed; }
.pill .dow { display: block; font-size: 11px; opacity: 0.85; font-weight: 300; }
.pill .dnum { display: block; font-size: 18px; font-weight: 700; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.slot {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 11px 7px; cursor: pointer;
  font-family: inherit; text-align: center; line-height: 1.4;
  transition: border-color var(--t), transform var(--t), background var(--t), box-shadow var(--t);
}
.slot:hover:not(:disabled) {
  border-color: var(--gold-soft); transform: translateY(-3px); box-shadow: var(--shadow);
}
.slot.selected {
  background: var(--gold-grad); color: var(--on-gold);
  border-color: transparent; box-shadow: var(--shadow-gold);
}
.slot:disabled { opacity: 0.22; cursor: not-allowed; text-decoration: line-through; }
.slot .t { display: block; font-size: 16px; font-weight: 700; }
.slot .p { display: block; font-size: 11.5px; color: var(--gold-soft); font-weight: 500; }
.slot.selected .p { color: var(--on-gold); }
.slot .tag { display: block; font-size: 10px; color: var(--muted); font-weight: 300; }
.slot.selected .tag { color: rgba(26, 21, 3, 0.72); }

/* ----------------------------------------------------------------- forms */
label.field { display: block; margin-bottom: 18px; }
label.field > span {
  display: block; font-size: 13px; color: var(--muted);
  font-weight: 500; margin-bottom: 8px;
}
input, select, textarea {
  width: 100%; background: rgba(18, 18, 18, 0.6);
  border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 13px 15px;
  font-family: inherit; font-size: 14.5px;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
input::placeholder, textarea::placeholder { color: var(--muted-dim); }
input:hover, select:hover, textarea:hover { border-color: var(--border-strong); }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold);
  background: rgba(18, 18, 18, 0.85);
  box-shadow: 0 0 0 3px rgba(207, 181, 59, 0.14);
}
select option { background: var(--surface-2-solid); color: var(--text); }

/* --------------------------------------------------------------- summary */
.summary {
  background: rgba(18, 18, 18, 0.5); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px 22px; margin-bottom: 22px;
}
.summary div {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 6px 0; font-size: 14.5px;
}
.summary .k { color: var(--muted); font-weight: 300; }
.summary .total {
  border-top: 1px solid var(--border); margin-top: 10px;
  padding-top: 14px; font-size: 17px; font-weight: 700;
}

/* ------------------------------------------------------------------ tips */
.tip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tip-btn {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 11px 19px; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 500;
  transition: border-color var(--t), transform var(--t), background var(--t), box-shadow var(--t);
}
.tip-btn:hover {
  border-color: var(--gold-soft); transform: translateY(-3px); box-shadow: var(--shadow);
}
.tip-btn.selected {
  background: var(--gold-grad); color: var(--on-gold);
  border-color: transparent; font-weight: 700; box-shadow: var(--shadow-gold);
}

/* ------------------------------------------------------------------ misc */
.hint { color: var(--muted); font-size: 14px; font-weight: 300; }
.empty {
  color: var(--muted); text-align: center; padding: 40px 20px;
  font-size: 14px; font-weight: 300;
}
.badge {
  display: inline-block; font-size: 11px; font-weight: 500;
  padding: 3px 11px; border-radius: 999px;
  background: rgba(207, 181, 59, 0.14); color: var(--gold-soft);
}
.badge.block { background: rgba(224, 106, 85, 0.14); color: var(--danger); }
.badge.ok { background: rgba(92, 191, 138, 0.14); color: var(--ok); }
.badge.muted { background: rgba(160, 160, 160, 0.13); color: var(--muted); }

.notice {
  background: rgba(207, 181, 59, 0.07);
  border: 1px solid rgba(207, 181, 59, 0.28);
  border-radius: var(--radius-sm); padding: 15px 18px;
  font-size: 13.5px; font-weight: 300; margin-bottom: 22px; color: var(--muted);
}
.notice strong { color: var(--gold-soft); font-weight: 700; }

.list-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 10px;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.list-item:hover {
  border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow);
}
.list-item .info { font-size: 14.5px; }
.list-item .info .time { color: var(--gold-soft); font-weight: 700; }
.list-item .info .who {
  color: var(--muted); font-size: 13px; font-weight: 300; margin-top: 3px;
}
.list-item .actions { display: flex; gap: 8px; flex-shrink: 0; }

.day-group { margin-bottom: 28px; }
.day-group h3 {
  font-size: 14px; font-weight: 700; color: var(--gold);
  margin: 0 0 12px; letter-spacing: 0.3px;
  border-bottom: 1px solid var(--border); padding-bottom: 9px;
}

.tabs { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.tabs .btn { flex: 1; min-width: 116px; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.hours-line {
  display: flex; justify-content: space-between;
  padding: 10px 0; font-size: 14.5px;
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
}
.hours-line:last-child { border-bottom: 0; }
.hours-line:hover { color: var(--gold-soft); }
.hours-line .closed { color: var(--danger); font-weight: 500; }

.confirm-box { text-align: center; padding: 40px 24px; }
.confirm-box .check {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px;
  background: rgba(92, 191, 138, 0.14); color: var(--ok);
  display: grid; place-items: center; font-size: 38px;
  box-shadow: 0 0 0 8px rgba(92, 191, 138, 0.06);
}

footer {
  text-align: center; color: var(--muted-dim);
  font-size: 12.5px; font-weight: 300; padding: 34px 20px;
  border-top: 1px solid var(--border);
}

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(10px);
  background: var(--surface-2-solid); border: 1px solid var(--gold);
  color: var(--text); padding: 14px 24px; border-radius: var(--radius-sm);
  font-size: 14px; z-index: 100; opacity: 0; pointer-events: none; max-width: 90vw;
  box-shadow: var(--shadow-lift);
  transition: opacity var(--t), transform var(--t);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

table.simple { width: 100%; border-collapse: collapse; font-size: 14px; }
table.simple th, table.simple td {
  padding: 11px 9px; border-bottom: 1px solid var(--border); text-align: start;
}
table.simple th { color: var(--muted); font-weight: 500; font-size: 12.5px; }

/* ---------------------------------------------------------- date picker */
.dp {
  background: rgba(18, 18, 18, 0.5); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px;
}
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dp-title { font-size: 14.5px; font-weight: 700; }
.dp-nav {
  background: transparent; border: 1px solid var(--border); color: var(--text);
  border-radius: 9px; width: 34px; height: 34px; cursor: pointer;
  font-family: inherit; font-size: 18px; line-height: 1;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.dp-nav:hover {
  border-color: var(--gold); color: var(--gold-soft);
  background: rgba(207, 181, 59, 0.08); transform: translateY(-2px);
}
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dp-dow {
  text-align: center; font-size: 11px; color: var(--muted-dim);
  padding: 5px 0; font-weight: 500;
}
.dp-day {
  background: transparent; border: 1px solid transparent; color: var(--text);
  border-radius: 9px; padding: 9px 0; cursor: pointer;
  font-family: inherit; font-size: 13.5px; min-height: 38px;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.dp-day:hover:not(:disabled) {
  border-color: var(--gold-soft); background: rgba(207, 181, 59, 0.08);
  transform: translateY(-2px);
}
.dp-day.sel {
  background: var(--gold-grad); color: var(--on-gold);
  font-weight: 700; box-shadow: var(--shadow-gold);
}
.dp-day:disabled { opacity: 0.2; cursor: not-allowed; }

/* ---------------------------------------------------------------- stats */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 14px; margin-bottom: 28px; }
.stat {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.stat:hover {
  border-color: var(--gold-soft); transform: translateY(-4px); box-shadow: var(--shadow-lift);
}
.stat .label { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.stat .value {
  font-size: 23px; font-weight: 900; color: var(--gold-soft);
  margin-top: 6px; letter-spacing: -0.3px;
}
.stat .sub2 { color: var(--muted-dim); font-size: 12px; font-weight: 300; margin-top: 4px; }

.bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 13.5px; }
.bar-row .bl { min-width: 62px; color: var(--muted); font-weight: 300; }
.bar-track {
  flex: 1; background: rgba(18, 18, 18, 0.6); border-radius: 999px;
  height: 10px; overflow: hidden;
}
.bar-fill {
  background: var(--gold-grad); height: 100%; border-radius: 999px;
  transition: width var(--t);
}
.bar-row .bn { min-width: 28px; text-align: end; color: var(--muted); }

/* -------------------------------------------------------------- gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; position: relative; }
.gallery img {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface-2-solid);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.gallery figure:hover img {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--gold-soft); box-shadow: var(--shadow-lift);
}
.gallery .rm {
  position: absolute; inset-block-start: 9px; inset-inline-end: 9px;
  background: rgba(18, 18, 18, 0.86); color: var(--danger);
  border: 1px solid rgba(224, 106, 85, 0.6); border-radius: 9px;
  padding: 4px 11px; font-size: 12px; cursor: pointer; font-family: inherit;
  opacity: 0; transition: opacity var(--t), background var(--t);
}
.gallery figure:hover .rm { opacity: 1; }
.gallery .rm:hover { background: rgba(224, 106, 85, 0.2); }

.upload-drop {
  border: 1px dashed var(--border-strong); border-radius: var(--radius-sm);
  padding: 30px; text-align: center; color: var(--muted);
  font-size: 14px; font-weight: 300; margin-bottom: 22px;
  transition: border-color var(--t), background var(--t);
}
.upload-drop:hover { border-color: var(--gold); background: rgba(207, 181, 59, 0.04); }

/* --------------------------------------------------------------- mobile */
@media (max-width: 620px) {
  body { font-size: 14.5px; }
  /* Two rows exactly: [brand | actions] on top, nav scrolling underneath.
     The nav is a direct child of <header> so it can claim a full row of its
     own — nested inside .header-actions it forced a third row. */
  header { padding: 10px 14px; gap: 8px; flex-wrap: wrap; }
  /* Brand takes the leftover space and truncates, so a long shop name can
     never push the actions onto a row of their own. */
  .brand { flex: 1 1 auto; min-width: 0; gap: 10px; }
  .brand .logo { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; flex: 0 0 auto; }
  .brand h1 {
    font-size: 15.5px; min-width: 0; flex: 1 1 auto;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .brand span { display: none; }        /* tagline is dead weight on a phone */
  .header-actions { flex: 0 0 auto; margin-inline-start: auto; gap: 6px; }
  .header-actions .btn.small { padding: 7px 12px; font-size: 12.5px; }
  .lang-switch button { padding: 6px 10px; font-size: 12px; }

  nav.main-nav {
    order: 10; flex: 1 0 100%;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    gap: 2px; padding-bottom: 1px; scrollbar-width: none;
  }
  nav.main-nav::-webkit-scrollbar { display: none; }
  nav.main-nav button { padding: 6px 11px; font-size: 13px; white-space: nowrap; }
  nav.main-nav button::after { bottom: 2px; }

  main { padding: 22px 14px 64px; }
  .card { padding: 22px 19px; margin-bottom: 18px; }
  .card h2 { font-size: 20px; }
  .card .sub { margin-bottom: 20px; }
  .hero { padding: 46px 20px; }
  .hero h2 { font-size: 31px; letter-spacing: -0.6px; }
  .hero p { font-size: 15px; margin-bottom: 26px; }

  /* Bigger tap targets — these are the controls people actually poke at. */
  .slot { padding: 12px 6px; min-height: 66px; }
  .pill { min-width: 66px; min-height: 66px; }
  .btn { padding: 14px 24px; }
  .tip-btn { padding: 12px 18px; }
  .dp-day { min-height: 42px; font-size: 14px; }

  .service-grid { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery .rm { opacity: 1; }          /* no hover on touch, so always show */
  .info-grid { gap: 18px; }

  .list-item { flex-direction: column; align-items: stretch; gap: 11px; }
  .list-item .actions { justify-content: flex-end; }
  .tabs { gap: 8px; }
  .tabs .btn { min-width: 0; flex: 1 1 auto; }
  table.simple { font-size: 13px; }
  table.simple th, table.simple td { padding: 8px 5px; }
}

@media (max-width: 380px) {
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: 1fr; }
  .hero h2 { font-size: 27px; }
}

/* Respect users who ask for less motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .btn:hover, .service:hover, .pill:hover, .slot:hover,
  .tip-btn:hover, .stat:hover, .list-item:hover { transform: none; }
}
