﻿:root {
  color-scheme: light;
  --page: #f6f2ec;
  --paper: #fffdf9;
  --paper-soft: #fbf8f3;
  --ink: #2b2824;
  --muted: #81786f;
  --line: #e8dfd5;
  --accent: #965f49;
  --accent-dark: #774735;
  --accent-soft: #f2e7de;
  --green: #286749;
  --green-soft: #e7f1e9;
  --amber: #95631e;
  --amber-soft: #f8efdd;
  --red: #a4433e;
  --red-soft: #f7e9e6;
  --shadow: 0 18px 54px rgba(66, 45, 31, .08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(221, 197, 177, .28), transparent 32rem),
    var(--page);
  color: var(--ink);
  font: 15px/1.55 "Avenir Next", Avenir, "Segoe UI", sans-serif;
}
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(150, 95, 73, .35);
  outline-offset: 3px;
}
.site-main { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0 36px; }
.loading-state { padding: 28px 0; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
p { margin: 0; }
h1, h2, h3 { color: var(--ink); }
h1, h2 { line-height: 1.2; }
h2 { margin: 9px 0 14px; font-size: 1.12rem; }
.eyebrow, .step-label, .summary-kicker {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  margin-bottom: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-dark);
  color: #fffaf4;
  font: 700 1.45rem/1 Georgia, "Times New Roman", serif;
}
.brand > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.brand strong { font-size: .83rem; letter-spacing: .12em; }
.brand small { color: var(--muted); font-size: .64rem; letter-spacing: .12em; }
.header-greeting { display: flex; flex-direction: column; gap: 1px; color: var(--muted); font-size: .83rem; }
.header-greeting strong { color: var(--ink); font-weight: 700; }
.header-greeting small { font-size: .75rem; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.header-action {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, .8);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 700;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.header-action:hover { transform: translateY(-1px); border-color: #cbb5a5; background: var(--paper); }
.header-action[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.header-action > svg, .icon-close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.profile-avatar-wrap {
  display: grid;
  width: 26px;
  height: 26px;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.profile-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
.profile-fallback { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
#avatar:not([hidden]) + .profile-fallback, #profile-avatar:not([hidden]) + .profile-fallback { display: none; }
.cart-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: .7rem;
  line-height: 1;
}
.booking-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 62px);
  border: 1px solid rgba(150, 95, 73, .12);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 88% 20%, rgba(255, 252, 245, .82), transparent 29%),
    linear-gradient(120deg, #eee2d7, #f4ece3 58%, #e8d9cb);
}
.booking-hero::after {
  position: absolute;
  top: -78px;
  right: 6%;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(150, 95, 73, .13);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 24px rgba(255, 253, 249, .12), 0 0 0 50px rgba(255, 253, 249, .1);
  pointer-events: none;
}
.booking-hero .eyebrow { margin-bottom: 12px; }
.booking-hero h1, .login-card h1 {
  max-width: 680px;
  margin: 0;
  font: 400 clamp(2.15rem, 5vw, 3.55rem)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.booking-hero h1 em { color: var(--accent-dark); font-weight: 400; }
.booking-hero > p:last-child { margin-top: 15px; color: #655b52; font-size: .98rem; }

.booking-card, .profile-card, .login-card {
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.booking-card { margin-top: 18px; padding: clamp(20px, 4vw, 34px); }
.booking-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.booking-block {
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-soft);
}
.booking-block h2 { margin-bottom: 13px; }
.step-label { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; letter-spacing: .1em; }
.step-label span {
  display: inline-grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  font-size: .66rem;
}
.time-block { margin-top: 15px; }
.notice {
  margin-bottom: 18px;
  padding: 12px 15px;
  border: 1px solid #ead6b0;
  border-radius: 12px;
  background: var(--amber-soft);
  color: #77511c;
  font-size: .9rem;
}
.notice .link { color: inherit; text-decoration: underline; }
.link, .back-link { padding: 4px 0; border: 0; background: none; color: var(--accent); font-weight: 700; }
.link:hover, .back-link:hover { color: var(--accent-dark); text-decoration: underline; }

.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.chip, .shoot-type {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: inherit;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.chip { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 11px 12px; }
.studio-thumbnail { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; margin-bottom: 5px; background: var(--accent-soft); }
.studio-preview { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.studio-preview img { width: 82px; height: 58px; object-fit: cover; border-radius: 8px; background: var(--accent-soft); }
.studio-preview div { display: grid; gap: 3px; }
.chip small, .shoot-type-heading small, .shoot-type-people { color: var(--muted); }
.chip[aria-pressed="true"], .shoot-type[aria-pressed="true"] {
  border-color: var(--accent);
  background: #fcf5ef;
  box-shadow: 0 0 0 1px var(--accent);
}
.chip:disabled, .shoot-type:disabled { opacity: .55; cursor: not-allowed; }
.shoot-categories { margin-bottom: 12px; }
.shoot-types { display: grid; gap: 9px; margin: 10px 0 14px; }
.shoot-type { width: 100%; padding: 12px; }
.shoot-type-heading { display: flex; justify-content: space-between; gap: 8px; }
.shoot-type-heading strong { overflow-wrap: anywhere; }
.shoot-type-heading small { white-space: nowrap; }
.shoot-type-people { display: block; margin-top: 4px; font-size: .83rem; }
.shoot-type-details { display: block; margin-top: 8px; font-size: .84rem; }
.shoot-type-details span { display: block; }
.booking-block .msg:empty { display: none; }

label { display: block; margin: 14px 0 6px; font-size: .9rem; font-weight: 700; }
input, textarea, select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dcd2c8;
  border-radius: 10px;
  background: #fffefa;
  color: var(--ink);
}
input::placeholder, textarea::placeholder { color: #a49a90; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: 2px solid rgba(150, 95, 73, .12); }
textarea { min-height: 84px; resize: vertical; }
.invalid { border-color: var(--red); }
.err { display: block; min-height: 1.1em; margin-top: 4px; color: var(--red); font-size: .82rem; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.slot {
  display: flex;
  min-height: 53px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 7px 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.2;
}
.slot small { min-height: 1em; color: var(--muted); font-size: .7rem; }
.slot:disabled { opacity: .5; cursor: not-allowed; }
.slot:disabled span { text-decoration: line-through; }
.slot.mine:disabled { border-color: var(--green); opacity: 1; }
.slot.mine:disabled span { text-decoration: none; }
.slot.mine:disabled small { color: var(--green); }
.slot[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: white; }
.slot[aria-pressed="true"] small { color: inherit; }
.summary { display: grid; gap: 4px; margin-top: 17px; padding: 15px 17px; border-radius: 12px; background: var(--accent-soft); }
.summary-kicker { font-size: .65rem; }
.summary strong { font-size: .98rem; }
.summary > span:last-child { font-size: .88rem; }
.payment-options {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-soft);
}
.payment-options[hidden] { display: none; }
.payment-options legend { padding: 0 5px; font-weight: 800; }
.payment-options label { display: flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; font-weight: 500; }
.payment-options label strong { margin-left: auto; }
.payment-options input { width: auto; min-height: 0; margin: 0; accent-color: var(--accent); }
.payment-options small { line-height: 1.5; }
.btn-primary {
  min-height: 48px;
  margin-top: 17px;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fffaf6;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(119, 71, 53, .16);
  transition: background .16s ease, transform .16s ease;
}
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); background: var(--accent-dark); }
.btn-primary:disabled { opacity: .52; cursor: not-allowed; box-shadow: none; }
.booking-card > .btn-primary { width: 100%; }
.msg { min-height: 1.2em; margin-top: 10px; font-size: .9rem; }
.msg:empty { min-height: 0; margin-top: 0; }
.msg.error { color: var(--red); }
.msg.ok { color: var(--green); }
.msg.info { color: var(--accent); }

.profile-panel { max-width: 800px; margin: 8px auto 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.profile-card { padding: clamp(22px, 5vw, 38px); }
.profile-card > .eyebrow { margin-bottom: 7px; }
.profile-card h1 { margin: 0; font: 400 2.2rem/1.15 Georgia, "Times New Roman", serif; }
.profile-copy { margin-top: 9px; }
.profile-overview {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 23px 0 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-soft);
}
.profile-avatar-large {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.profile-avatar-large img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-large .profile-fallback { width: 28px; height: 28px; }
.profile-overview-text { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.profile-overview-text strong, .profile-overview-text span { overflow: hidden; text-overflow: ellipsis; }
.profile-overview .badge { flex-shrink: 0; }
.profile-form-actions { display: flex; align-items: center; gap: 14px; }
.profile-form-actions .btn-primary { min-width: 190px; margin-top: 17px; }
.logout-button { margin-top: 17px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-weight: 700; }
.logout-button:hover { border-color: #cbb5a5; color: var(--ink); }
.badge { display: inline-flex; align-items: center; justify-content: center; padding: 5px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.badge.ok { background: var(--green-soft); color: var(--green); }
.badge.warn { background: var(--amber-soft); color: var(--amber); }
.badge.off { background: #efebe6; color: var(--muted); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 14px 2px;
  color: var(--muted);
  font-size: .78rem;
}
.site-footer span:first-child { color: var(--accent); font-size: .69rem; font-weight: 800; letter-spacing: .12em; }
.cart-dialog, .change-dialog, .payment-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: min(850px, calc(100% - 28px));
  overflow: auto;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(41, 30, 23, .24);
}
.cart-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(700px, calc(100% - 28px));
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  border-radius: 20px 0 0 20px;
}
.cart-dialog[open] { animation: cart-enter .2s ease-out both; }
@keyframes cart-enter { from { opacity: .6; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
.cart-dialog::backdrop, .change-dialog::backdrop, .payment-dialog::backdrop { background: rgba(35, 29, 25, .48); backdrop-filter: blur(3px); }
.cart-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.cart-dialog-header .eyebrow { margin: 0 0 5px; }
.cart-dialog-header h2 { margin: 0; font: 400 2rem/1.15 Georgia, "Times New Roman", serif; }
.cart-dialog-header > div > p:last-child { margin-top: 6px; }
.icon-close {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
}
.icon-close:hover { background: var(--accent-soft); color: var(--accent-dark); }
.empty-bookings { padding: 25px; border: 1px dashed #d8c8ba; border-radius: 14px; color: var(--muted); text-align: center; }
.cart-continue { width: 100%; min-height: 46px; margin-top: 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-soft); color: var(--accent-dark); font-weight: 800; }
.cart-continue:hover { border-color: #cbb5a5; background: var(--accent-soft); }
.payment-dialog { width: min(500px, calc(100% - 28px)); max-height: min(720px, calc(100% - 28px)); padding: clamp(20px, 4vw, 30px); border-radius: 20px; }
.payment-dialog[open] { animation: payment-enter .18s ease-out both; }
@keyframes payment-enter { from { opacity: .65; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.payment-dialog .cart-dialog-header { margin-bottom: 12px; }
.payment-dialog .cart-dialog-header h2 { font-size: clamp(1.55rem, 5vw, 2rem); }
.payment-dialog > #payment-copy { margin: 0 0 18px; line-height: 1.55; }
.payment-summary { display: grid; gap: 7px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-soft); }
.payment-summary > strong { line-height: 1.4; }
.payment-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 5px; padding-top: 12px; border-top: 1px solid var(--line); }
.payment-total > span { color: var(--muted); font-size: .86rem; }
.payment-total > strong { color: var(--accent-dark); font-size: 1.05rem; }
.payment-summary > p { margin: 0; }
.payment-dialog-actions { display: grid; gap: 9px; margin-top: 12px; }
.payment-dialog-actions button { min-height: 46px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; font-weight: 800; }
.payment-now { border-color: var(--accent); background: var(--accent); color: white; }
.payment-now:hover:not(:disabled) { background: var(--accent-dark); }
.payment-now:disabled { opacity: .55; cursor: not-allowed; }
.bookings { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.bookings li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffefa;
}
.bookings li.old { background: #f8f5f0; }
.b-main { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.b-main strong { font-size: .95rem; line-height: 1.4; }
.b-main .nw { white-space: nowrap; }
.b-main .small { line-height: 1.45; }
.b-side { display: flex; min-width: 120px; flex-direction: column; align-items: flex-end; gap: 7px; }
.btn-small {
  max-width: 100%;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--red);
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}
.btn-small:disabled { opacity: .6; cursor: wait; }
.btn-small.change { border-color: #dfc9b9; color: var(--accent-dark); }
.btn-small.change:hover { background: var(--accent-soft); }
.change-note { max-width: 300px; }

.change-dialog { width: min(520px, calc(100% - 28px)); padding: 0; }
.change-dialog form { padding: 24px; }
.change-dialog h2 { margin: 0 0 8px; font: 400 1.65rem/1.2 Georgia, "Times New Roman", serif; }
.change-dialog select { background: var(--paper); }
.change-dialog .dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.change-dialog .dialog-actions button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
}
.change-dialog .dialog-actions button.primary { border-color: var(--accent); background: var(--accent); color: white; }

.login-card { max-width: 500px; margin: clamp(35px, 12vh, 120px) auto 0; padding: clamp(25px, 6vw, 42px); }
.terms-card {
  max-width: 780px;
  margin: clamp(22px, 6vh, 64px) auto 0;
  padding: clamp(22px, 5vw, 40px);
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.terms-card > .eyebrow { margin-bottom: 8px; }
.terms-card h1 { margin: 0 0 20px; font: 400 clamp(2rem, 5vw, 2.8rem)/1.1 Georgia, "Times New Roman", serif; }
.terms-copy { display: grid; gap: 12px; color: #655b52; }
.terms-copy h2 { margin: 4px 0 -7px; color: var(--ink); font-size: 1rem; }
.terms-no-refund { margin-top: 4px; color: var(--red); font-weight: 900; letter-spacing: .08em; }
.terms-accept { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font-size: .92rem; }
.terms-accept input { width: 18px; height: 18px; flex: 0 0 auto; margin: 3px 0 0; accent-color: var(--accent); }
.terms-actions { display: flex; align-items: center; gap: 10px; }
.terms-actions .btn-primary { min-height: 46px; padding: 11px 19px; }
.terms-actions .btn-primary:disabled { cursor: not-allowed; opacity: .52; }
.terms-actions .logout-button { margin: 0; }
.brand-login { margin-bottom: 36px; }
.login-card > .eyebrow { margin-bottom: 10px; }
.login-card h1 { font-size: clamp(2.2rem, 6vw, 3rem); }
.login-copy { margin-top: 13px; }
.g-wrap { display: flex; justify-content: center; min-height: 44px; margin: 24px 0 8px; }
.login-note { margin-top: 27px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.login-note span { margin-right: 6px; color: var(--accent); }
.login-card .msg { text-align: center; }

@media (max-width: 720px) {
  .site-main { width: min(100% - 32px, 600px); padding-top: 15px; }
  .site-header { gap: 12px; margin-bottom: 17px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { font-size: .75rem; }
  .brand small { font-size: .58rem; }
  .booking-columns { grid-template-columns: 1fr; }
  .booking-hero::after { right: -120px; }
  .booking-card { padding: 17px; }
  .booking-block { padding: 17px; }
}

@media (max-width: 480px) {
  .site-main { width: calc(100% - 24px); }
  .site-header { align-items: flex-start; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 1.2rem; }
  .brand strong { font-size: .67rem; letter-spacing: .08em; }
  .brand small { font-size: .51rem; letter-spacing: .08em; }
  .header-actions { gap: 6px; }
  .header-greeting { display: none; }
  .header-action { min-height: 39px; gap: 5px; padding: 6px 9px; font-size: .76rem; }
  .header-action > svg { width: 17px; height: 17px; }
  .profile-avatar-wrap { width: 22px; height: 22px; }
  .cart-count { min-width: 17px; height: 17px; padding: 0 4px; font-size: .63rem; }
  .booking-hero { padding: 31px 23px; border-radius: 18px; }
  .booking-hero h1 { font-size: 2.25rem; }
  .booking-hero > p:last-child { max-width: 270px; font-size: .9rem; }
  .booking-card { border-radius: 17px; }
  .booking-block { padding: 14px; }
  .chips { gap: 7px; }
  .chip { padding: 9px; font-size: .88rem; }
  .site-footer { flex-direction: column; gap: 4px; }
  .profile-overview { align-items: flex-start; flex-wrap: wrap; }
  .profile-overview .badge { margin-left: 65px; }
  .profile-form-actions { align-items: stretch; flex-direction: column; gap: 3px; }
  .profile-form-actions .btn-primary, .logout-button { width: 100%; }
  .logout-button { margin-top: 5px; }
  .bookings li { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .b-side { min-width: 0; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
  .change-note { max-width: none; }
  .cart-dialog-header h2 { font-size: 1.7rem; }
  .cart-dialog { width: 100%; border-radius: 0; padding-top: 26px; }
  .login-card { margin-top: 45px; }
  .terms-card { margin-top: 18px; }
  .terms-actions { align-items: stretch; flex-direction: column; }
}

@media (max-width: 380px) {
  .header-action > span:not(.profile-avatar-wrap):not(.cart-count) { display: none; }
  .header-action { width: 39px; padding: 6px; }
}

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