:root {
  --ink: #292c2b;
  --muted: #787875;
  --line: #e8e5df;
  --paper: #fcfbf8;
  --cream: #f5f2ed;
  --pink: #be617b;
  --pink-dark: #a04b64;
  --pink-light: #f4e6e9;
  --green: #61756b;
  --radius: 20px;
  --shadow: 0 18px 65px #37312b10;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", "Noto Sans Thai", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button {
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #c6849b;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: white;
  border: 1px solid #dcdad3;
  border-radius: 10px;
  padding: 11px 13px;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
label {
  font-size: 13px;
  font-weight: 550;
  display: block;
}
label input,
label textarea,
label select {
  margin-top: 6px;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--pink);
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.4;
  font-weight: 550;
}
h1 {
  letter-spacing: -1px;
}
h2 {
  font-size: 28px;
}
h3 {
  font-size: 19px;
}
small,
.small {
  font-size: 12px;
}
.serif {
  font-family: "Playfair Display", serif;
}
svg.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.container {
  width: min(1272px, calc(100% - 80px));
  margin: auto;
}
.muted {
  color: var(--muted);
}
.pink-text {
  color: var(--pink);
}
.flex {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.stack {
  display: grid;
  gap: 20px;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hidden {
  display: none !important;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 11px;
  background: #ffffffa8;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  padding: 4px 9px;
  line-height: 1.6;
  font-size: 11px;
  background: #f0efea;
  color: #696b64;
}
.badge.green {
  background: #eaf0e9;
  color: #56715b;
}
.badge.pink {
  background: #f5e5eb;
  color: #ad5873;
}
.badge.purple {
  background: #eeebf8;
  color: #80709f;
}
.badge.blue {
  background: #e7edf7;
  color: #597b9c;
}
.badge.amber {
  background: #f6eddc;
  color: #a58035;
}
.badge.gray {
  background: #eee;
  color: #777;
}
.dot {
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background: currentColor;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 45px;
  border-radius: 9px;
  padding: 11px 22px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  line-height: 1.5;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.btn:hover {
  background: #464b46;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px #2b31251a;
}
.btn.primary {
  background: var(--pink);
}
.btn.primary:hover {
  background: var(--pink-dark);
}
.btn.light {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: none;
}
.btn.soft {
  background: var(--pink-light);
  color: var(--pink-dark);
}
.btn.small {
  min-height: 36px;
  font-size: 12px;
  padding: 8px 13px;
}
.btn.full {
  width: 100%;
}
.text-btn {
  background: none;
  padding: 4px 0;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 13px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  transition: 0.2s;
}
.icon-btn:hover {
  background: var(--pink-light);
  color: var(--pink);
}
.skip {
  position: fixed;
  left: 10px;
  top: -100px;
  background: white;
  z-index: 100;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.announcement {
  background: #efeee7;
  color: #6a7169;
  font-size: 11px;
  letter-spacing: 0.3px;
  text-align: center;
  padding: 7px 18px;
}
.announcement span {
  margin: 0 13px;
  color: #a9afa2;
}
.site-header {
  height: 86px;
  border-bottom: 1px solid #e6e3dc9e;
  background: #fcfbf8f5;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}
.brand {
  font-family: "Playfair Display", serif;
  letter-spacing: 2.6px;
  font-size: 28px;
  line-height: 1;
  white-space: nowrap;
}
.brand span {
  color: var(--pink);
  font-size: 19px;
  vertical-align: top;
  margin-left: 4px;
}
.brand-sub {
  font-size: 8px;
  letter-spacing: 3.3px;
  display: block;
  margin-top: 7px;
  color: var(--muted);
}
.main-nav {
  display: flex;
  gap: 30px;
  height: 100%;
  align-items: center;
  position: relative;
}
.main-nav > a {
  font-size: 13px;
  position: relative;
}
.main-nav > a.active {
  color: var(--pink-dark);
}
/* One pink bar that slides under the menu item you tap (positioned by router.js). */
.nav-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--pink);
  pointer-events: none;
  opacity: 0;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s;
}
.nav-indicator.ready {
  opacity: 1;
}
.mobile-menu a.active {
  color: var(--pink-dark);
  font-weight: 600;
}
.row-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.icon-btn.danger {
  color: #b25f69;
}
.icon-btn.danger:hover {
  background: #f8e4e6;
  color: #9c3f4b;
}
.nav-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-tools .divider {
  height: 23px;
  width: 1px;
  background: var(--line);
}
.nav-tools .btn {
  font-size: 12px;
  min-height: 38px;
  padding: 9px 17px;
}
.mobile-nav-btn {
  display: none;
}
.mode-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  min-height: 29px;
  background: #f6eddf;
  color: #8b7351;
  font-size: 10px;
  padding: 5px 15px;
}
.mode-bar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 53px 0 31px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.4px;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8c8c7e;
}
.eyebrow:before {
  content: "";
  width: 23px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  font-size: clamp(32px, 3.2vw, 49px);
  line-height: 1.55;
  font-weight: 500;
  margin: 19px 0 15px;
  letter-spacing: -1.1px;
}
.hero h1 em {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-style: italic;
  color: var(--pink);
  font-size: 1.08em;
  line-height: 1.1;
}
.hero-description {
  color: #7a7c74;
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 26px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}
.hero-proof {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 29px;
  font-size: 10px;
  color: var(--muted);
}
.avatar-stack {
  display: flex;
  padding-left: 4px;
}
.avatar-stack span {
  width: 28px;
  height: 28px;
  border: 2px solid var(--paper);
  background: #e7d2c4;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-left: -5px;
  color: #8b6d66;
  font-size: 14px;
}
.hero-image-wrap {
  position: relative;
  max-width: 540px;
  justify-self: end;
  width: 100%;
}
.hero-image {
  height: 377px;
  border-radius: 180px 180px 20px 20px;
  overflow: hidden;
  background: #e8e0dc;
  position: relative;
}
.hero-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-image:after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, #3d2b2b25, transparent 35%);
}
.hero-note {
  position: absolute;
  bottom: 22px;
  right: -12px;
  background: #fffcf6f2;
  padding: 13px 18px;
  box-shadow: var(--shadow);
  border: 1px solid #fff;
  border-radius: 13px;
  transform: rotate(-3deg);
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 11px;
}
.hero-note .note-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  background: #f5e7ed;
  border-radius: 50%;
  color: var(--pink);
}
.hero-note strong {
  display: block;
  font-weight: 550;
}
.hero-note small {
  font-size: 9px;
  color: var(--muted);
}
.hero-star {
  position: absolute;
  z-index: 2;
  left: -24px;
  top: 46px;
  color: var(--pink);
  font-family: serif;
  font-size: 57px;
  animation: float 6s ease-in-out infinite;
}
.hero-caption {
  position: absolute;
  right: -34px;
  top: 18px;
  writing-mode: vertical-rl;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.7px;
  color: #a18a83;
}
.hero-bottom {
  position: absolute;
  bottom: -21px;
  left: 20px;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 25px;
  color: #7f847c;
  transform: rotate(-5deg);
}
.hero-flower {
  position: absolute;
  left: -36px;
  bottom: 13px;
  width: 120px;
  opacity: 0.13;
  transform: rotate(15deg);
}
.search-strip {
  margin-top: 44px;
  display: flex;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 7px 26px #595a4510;
  padding: 10px;
  border-radius: 13px;
  align-items: center;
}
.search-field {
  display: flex;
  align-items: center;
  padding: 4px 22px;
  gap: 13px;
  min-width: 0;
  border-right: 1px solid var(--line);
}
.search-field .icon {
  color: #7b8074;
}
.search-field:first-child {
  flex: 1.5;
}
.search-field:nth-child(2) {
  flex: 1;
}
.search-field label {
  font-size: 10px;
  color: #72786f;
  font-weight: 400;
  white-space: nowrap;
}
.search-field input,
.search-field select {
  padding: 0;
  margin-top: 2px;
  font-size: 12px;
  border: 0;
  min-height: 25px;
  background: none;
  outline-offset: 0;
}
.search-strip > .btn {
  margin-left: 12px;
  padding: 12px 26px;
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  font-size: 10px;
  color: #83877d;
  padding: 22px 0 12px;
}
.trust-row span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-row .icon {
  width: 15px;
  height: 15px;
}
.catalog-section {
  padding: 42px 0 64px;
}
.section-heading {
  margin-bottom: 27px;
}
.section-heading h2 {
  font-size: 26px;
  margin-top: 7px;
}
.section-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}
.section-heading .serif {
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--pink);
}
.catalog-toolbar {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 20px;
}
.categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.category {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 100px;
  color: #73786e;
  font-size: 12px;
}
.category.active {
  background: #29352e;
  border-color: #29352e;
  color: #fff;
}
.category .icon {
  width: 16px;
  height: 16px;
}
.sort {
  width: 168px;
  border: 0;
  font-size: 11px;
  background: transparent;
  color: #6c746b;
  padding: 8px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 31px 22px;
}
.product-card {
  min-width: 0;
  position: relative;
  animation: appear 0.45s ease both;
}
.product-media {
  display: block;
  position: relative;
  aspect-ratio: 4/4.7;
  border-radius: 13px;
  overflow: hidden;
  background: #efebe7;
}
.product-media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.product-card:hover .product-media img {
  transform: scale(1.04);
}
.product-top {
  position: absolute;
  inset: 12px 12px auto;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: start;
  pointer-events: none;
}
.product-top .badge {
  background: #fffcf3db;
  backdrop-filter: blur(5px);
  font-size: 9px;
  border: 1px solid #fff9;
}
.favorite {
  pointer-events: auto;
  background: #ffffffc9;
  border: 1px solid #fff;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: grid;
  place-items: center;
  color: #73756c;
  transition: 0.2s;
}
.favorite.active {
  color: var(--pink);
}
.favorite.active .icon {
  fill: #bd668244;
}
.favorite .icon {
  width: 15px;
  height: 15px;
}
.product-action {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: #ffffffed;
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid white;
  backdrop-filter: blur(10px);
  border-radius: 7px;
  opacity: 0;
  transform: translateY(9px);
  transition: 0.25s;
  font-size: 11px;
}
.product-card:hover .product-action,
.product-card:focus-within .product-action {
  opacity: 1;
  transform: none;
}
.product-content {
  padding-top: 13px;
}
.product-character {
  font-size: 9px;
  color: #8a8d83;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}
.product-title {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 500;
}
.product-subtitle {
  font-size: 11px;
  color: #8b8d83;
  margin-top: 1px;
}
.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.price-line strong {
  font-weight: 550;
  font-size: 15px;
  color: #8e5268;
}
.price-line small {
  font-size: 10px;
  color: #8a8d83;
  margin-left: 3px;
}
.price-line .sizes {
  font-size: 9px;
  background: #efeee7;
  border-radius: 4px;
  padding: 1px 5px;
  color: #798074;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100px;
  text-overflow: ellipsis;
}
.gallery-note {
  font-size: 10px;
  color: #9b9b91;
  margin-top: 19px;
  text-align: center;
}
.wish-empty {
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 60px;
  text-align: center;
  grid-column: 1/-1;
}
.guide-band {
  background: #f0eee6;
  padding: 53px 0;
}
.guide-band .section-heading {
  text-align: center;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 45px;
  margin-top: 32px;
}
.step {
  text-align: center;
  position: relative;
}
.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #faf8f2;
  display: grid;
  place-items: center;
  color: #877a72;
  margin: 0 auto 15px;
}
.step h3 {
  font-size: 14px;
  margin-bottom: 7px;
}
.step p {
  font-size: 11px;
  color: #838479;
}
.step .num {
  position: absolute;
  left: calc(50% + 14px);
  top: -3px;
  font-size: 9px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  background: #d8dfd4;
  border: 2px solid #f0eee6;
  border-radius: 50%;
}
.creator-band {
  margin: 55px auto;
  background: #f2e6e7;
  border: 1px solid #eadcde;
  border-radius: 18px;
  padding: 35px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.creator-band h2 {
  font-size: 23px;
  margin-bottom: 7px;
}
.creator-band p {
  font-size: 12px;
  color: #93747d;
}
.creator-band .serif {
  font-size: 14px;
  color: #a46b7d;
  margin-bottom: 9px;
}
.creator-band:after {
  content: "✧";
  font-family: serif;
  position: absolute;
  right: 26%;
  font-size: 140px;
  color: #b2818c17;
  line-height: 1;
  pointer-events: none;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 24px;
  background: #f9f7f2;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.footer .brand {
  font-size: 23px;
}
.footer p {
  font-size: 11px;
  color: #97988d;
  margin-top: 13px;
}
.footer-links {
  display: flex;
  gap: 25px;
  font-size: 11px;
  color: #7d8276;
  align-items: start;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #9a9e91;
  letter-spacing: 0.3px;
}
.page {
  min-height: 65vh;
  padding: 35px 0 70px;
}
.breadcrumbs {
  font-size: 11px;
  color: #939489;
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 30px;
}
.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-title {
  font-size: 32px;
  margin: 12px 0;
}
.page-intro {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 24px;
}
.panel.soft {
  background: #f6f3ee;
}
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 65px;
}
.detail-main-image {
  aspect-ratio: 1/1.15;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  background: var(--cream);
  cursor: zoom-in;
}
.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.thumbnail {
  height: 65px;
  width: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
}
.thumbnail.active {
  border-color: var(--pink);
}
.detail-heading {
  font-size: 37px;
  margin: 13px 0 5px;
  font-family: "Playfair Display", serif;
  font-weight: 500;
}
.detail-price {
  font-size: 29px;
  color: var(--pink);
  margin: 20px 0;
}
.detail-price small {
  font-size: 12px;
  color: var(--muted);
  font-family: inherit;
}
.detail-description {
  font-size: 13px;
  color: #7c7f73;
  margin-bottom: 21px;
}
.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  padding: 18px 0;
  margin: 22px 0;
  gap: 10px;
}
.detail-facts small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.detail-facts strong {
  font-weight: 500;
  font-size: 13px;
}
.variants {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 9px;
  margin-bottom: 18px;
}
.variant {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 8px 16px;
  min-width: 47px;
}
.variant.active {
  background: var(--pink-light);
  border-color: #be8194;
  color: var(--pink-dark);
}
.date-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.availability-message {
  min-height: 28px;
  font-size: 12px;
  color: var(--green);
  margin: 10px 0;
}
.availability-message.error {
  color: #b25f55;
}
.detail-accordion {
  margin-top: 25px;
  border-block: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
details:last-child {
  border: 0;
}
summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}
summary:after {
  content: "+";
  color: var(--muted);
}
details[open] summary:after {
  content: "−";
}
details p {
  white-space: pre-line;
  color: var(--muted);
  font-size: 12px;
  padding-top: 12px;
}
.booking-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}
.booking-summary {
  position: sticky;
  top: 130px;
}
.summary-product {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.summary-product img {
  width: 77px;
  height: 95px;
  object-fit: cover;
  background: var(--cream);
  border-radius: 8px;
}
.summary-product h3 {
  font-size: 17px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 10px 0;
  gap: 12px;
}
.summary-total {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 15px;
  font-size: 16px;
  font-weight: 550;
}
.summary-total strong {
  color: var(--pink);
  font-size: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.span2 {
  grid-column: 1/-1;
}
.form-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 16px;
}
.form-heading .number {
  border-radius: 50%;
  background: var(--pink-light);
  color: var(--pink);
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  font-weight: 400;
}
.check-label input {
  flex-shrink: 0;
  margin: 3px 0 0;
}
.callout {
  padding: 14px 17px;
  background: #f2f0e8;
  border: 1px solid #e8e4d9;
  border-radius: 9px;
  color: #818373;
  font-size: 12px;
  line-height: 1.8;
}
.callout.warning {
  background: #fcf3df;
  color: #977b3a;
  border-color: #eee0bc;
}
.callout.error {
  background: #fbecec;
  color: #a05757;
  border-color: #f0d6d6;
}
.callout.success {
  background: #edf4ec;
  color: #62816a;
  border-color: #dbe8d9;
}
.auth-wrap {
  width: min(460px, calc(100% - 36px));
  margin: 50px auto 80px;
}
.auth-card {
  padding: 35px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.auth-card h1 {
  font-size: 26px;
  margin-bottom: 10px;
}
.auth-card form {
  display: grid;
  gap: 18px;
  margin-top: 25px;
}
.auth-toggle {
  margin-top: 25px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.auth-decoration {
  text-align: center;
  font-family: "Playfair Display", serif;
  color: var(--pink);
  font-size: 35px;
  margin-bottom: 15px;
}
.empty {
  text-align: center;
  padding: 65px 24px;
}
.empty .icon {
  width: 38px;
  height: 38px;
  color: #c0b1a2;
  margin-bottom: 18px;
}
.empty h2 {
  font-size: 23px;
  margin-bottom: 12px;
}
.empty p {
  color: var(--muted);
  margin-bottom: 22px;
  font-size: 13px;
}
.order-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  margin-bottom: 15px;
  padding: 20px;
  transition: 0.2s;
}
.order-card:hover {
  border-color: #c9b0b5;
  box-shadow: 0 5px 20px #31262a06;
}
.order-card .order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 13px;
  margin-bottom: 15px;
  font-size: 11px;
}
.order-product {
  display: flex;
  gap: 17px;
  align-items: center;
}
.order-product img {
  width: 65px;
  height: 78px;
  object-fit: cover;
  border-radius: 7px;
  background: var(--cream);
}
.order-product h3 {
  font-size: 17px;
  margin-bottom: 3px;
}
.order-product p {
  font-size: 11px;
  color: var(--muted);
}
.order-price {
  margin-left: auto;
  text-align: right;
}
.timeline {
  margin: 28px 0 10px;
  padding: 0;
  list-style: none;
}
.timeline li {
  position: relative;
  padding: 0 0 26px 29px;
  border-left: 1px solid #e6e2db;
  margin-left: 7px;
}
.timeline li:last-child {
  border: 0;
}
.timeline li:before {
  content: "";
  width: 10px;
  height: 10px;
  background: #d1d5ca;
  border-radius: 50%;
  position: absolute;
  left: -6px;
  top: 6px;
  border: 2px solid white;
  box-shadow: 0 0 0 1px #d1d5ca;
}
.timeline li:first-child:before {
  background: var(--pink);
  box-shadow: 0 0 0 1px var(--pink);
}
.timeline p {
  font-size: 12px;
}
.timeline time {
  font-size: 10px;
  color: var(--muted);
}
.progress-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 0;
  gap: 8px;
}
.progress-step {
  flex: 1;
  text-align: center;
  position: relative;
  font-size: 10px;
  color: #aaa99d;
}
.progress-step:before {
  content: "";
  height: 1px;
  background: var(--line);
  width: 100%;
  top: 14px;
  position: absolute;
  left: -50%;
}
.progress-step:first-child:before {
  display: none;
}
.progress-step span {
  position: relative;
  display: grid;
  place-items: center;
  background: #efeee8;
  border: 4px solid white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin: 0 auto 9px;
}
.progress-step.done span {
  background: #8c9d86;
  color: white;
}
.progress-step.current span {
  background: var(--pink);
  color: white;
}
.progress-step.current {
  color: var(--pink);
}
.studio-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: calc(100vh - 115px);
}
.sidebar {
  background: #f5f3ed;
  border-right: 1px solid var(--line);
  padding: 28px 18px;
}
.shop-identity {
  border-bottom: 1px solid var(--line);
  padding: 0 5px 24px;
  margin-bottom: 22px;
}
.shop-logo {
  width: 37px;
  height: 37px;
  background: #f1dfe5;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--pink);
  font-family: "Playfair Display", serif;
  font-size: 22px;
}
.shop-identity strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-identity small {
  font-size: 9px;
  color: var(--muted);
}
.sidebar-caption {
  font-size: 9px;
  color: #a3a597;
  letter-spacing: 1.6px;
  margin: 17px 12px 10px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: #7c8378;
  margin: 3px 0;
}
.side-link.active {
  background: #fff;
  color: var(--pink-dark);
  box-shadow: 0 2px 8px #72675808;
}
.side-link .icon {
  width: 17px;
  height: 17px;
}
.sidebar-bottom {
  margin-top: 34px;
  padding: 15px 12px;
  background: #ece9df;
  border-radius: 10px;
  font-size: 10px;
  color: #939580;
}
.sidebar-bottom strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 14px;
  color: #727c6b;
  margin-bottom: 7px;
}
.studio-main {
  background: #faf9f6;
  padding: 32px 35px 60px;
  min-width: 0;
}
.studio-heading {
  margin-bottom: 27px;
}
.studio-heading h1 {
  font-size: 27px;
  letter-spacing: -0.5px;
}
.studio-heading p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 26px;
}
.stat {
  padding: 19px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat > span {
  font-size: 10px;
  color: #93968a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat > span .icon {
  width: 17px;
  height: 17px;
  color: #b6979d;
}
.stat strong {
  display: block;
  font-size: 27px;
  font-weight: 500;
  margin: 9px 0 2px;
}
.stat small {
  font-size: 10px;
  color: var(--muted);
}
.table-wrap {
  overflow-x: auto;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  text-align: left;
  white-space: nowrap;
}
.data-table th {
  color: #93988b;
  font-size: 10px;
  font-weight: 500;
  background: #f9f8f3;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 14px;
  border-bottom: 1px solid #f0eee8;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table .thumb {
  width: 36px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--cream);
}
.table-title {
  padding-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.table-title h2 {
  font-size: 17px;
}
.tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  padding-bottom: 12px;
}
.tab {
  background: transparent;
  padding: 7px 13px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
}
.tab.active {
  background: var(--pink-light);
  color: var(--pink-dark);
}
.toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.toolbar input {
  max-width: 320px;
  font-size: 12px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.calendar-day {
  min-height: 120px;
  background: white;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 9px;
  min-width: 0;
}
.calendar-day.today {
  background: #fcf1f4;
}
.calendar-day.off {
  background: #f6f5ef;
}
.calendar-date {
  font-size: 10px;
  color: #7c8377;
  margin-bottom: 8px;
}
.calendar-event {
  background: var(--pink-light);
  color: var(--pink-dark);
  font-size: 9px;
  line-height: 1.5;
  border-radius: 4px;
  padding: 4px 5px;
  margin-bottom: 4px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-weekday {
  padding: 10px;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.image-uploader {
  border: 1px dashed #c8c4b5;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  background: #fbfaf5;
  cursor: pointer;
  font-size: 12px;
  color: #8d9284;
  display: block;
}
.image-uploader input {
  display: block;
  margin: 12px auto 0;
  font-size: 10px;
  border: 0;
  max-width: 260px;
  background: none;
  padding: 3px;
}
.upload-previews {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.upload-preview {
  position: relative;
  width: 80px;
}
.upload-preview img {
  width: 80px;
  height: 94px;
  object-fit: cover;
  border-radius: 7px;
}
.upload-preview button {
  position: absolute;
  right: 2px;
  top: 2px;
  background: white;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  box-shadow: 0 1px 8px #0002;
  font-size: 14px;
}
.upload-preview small {
  font-size: 9px;
  display: block;
}
.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #24251e65;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.modal {
  background: var(--paper);
  max-width: 720px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 25px 100px #1b211d44;
  max-height: 92dvh;
  overflow: auto;
  padding: 27px;
}
.modal.large {
  max-width: 900px;
}
.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 15px;
}
.modal h2 {
  font-size: 21px;
}
.modal .form-grid {
  gap: 16px;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #111d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
}
.lightbox img {
  max-height: 90dvh;
  max-width: 90vw;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  top: 15px;
  right: 20px;
  background: white;
}
.toast {
  padding: 14px 19px;
  background: #303e32;
  color: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: 12px;
  max-width: 380px;
  animation: appear 0.25s ease;
}
.toast.error {
  background: #9a535d;
}
#toasts {
  position: fixed;
  z-index: 100;
  bottom: 24px;
  right: 24px;
  display: grid;
  gap: 10px;
}
.initial {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}
.initial p {
  color: var(--muted);
  font-size: 12px;
}
.rich-text {
  white-space: pre-line;
  font-size: 13px;
  color: #747b6f;
}
.policy {
  max-width: 800px;
  margin: auto;
}
.policy h2 {
  font-size: 20px;
  margin: 30px 0 12px;
}
.policy p {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0;
}
.setup-step {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 16px;
  margin: 25px 0;
}
.setup-step .number {
  background: var(--pink-light);
  color: var(--pink);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.setup-step h3 {
  font-size: 16px;
}
.setup-step p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 12px;
}
.code-block {
  background: #eeede7;
  font: 11px/1.7 monospace;
  padding: 13px;
  border-radius: 8px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 170px;
  padding-top: 20px;
}
.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  height: 150px;
  gap: 7px;
  min-width: 0;
}
.bar-group .bar {
  width: 60%;
  background: #c991a3;
  border-radius: 5px 5px 0 0;
  min-height: 2px;
}
.bar-group small {
  font-size: 8px;
  color: var(--muted);
}
.bar-group .value {
  font-size: 9px;
  color: #9a6b7d;
}
.mobile-menu {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 20px;
  display: grid;
  gap: 16px;
  position: fixed;
  z-index: 40;
  top: 86px;
  left: 0;
  right: 0;
}
.filter-date {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
  padding: 15px;
  background: #f5f2ea;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 22px;
}
.filter-date label {
  font-size: 10px;
  max-width: 190px;
}
.filter-date input {
  font-size: 11px;
}
.filter-date .btn {
  min-height: 39px;
}
.faq-list {
  max-width: 800px;
  margin: auto;
}
.faq-list details {
  padding: 22px 0;
}
.faq-list summary {
  font-size: 15px;
}
.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #e8eee4;
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto 23px;
}
.success-icon .icon {
  width: 30px;
  height: 30px;
}
.search-empty {
  padding: 45px;
  background: #f6f4ef;
  text-align: center;
  border-radius: 12px;
  grid-column: 1/-1;
}
.loading {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid #dec8d0;
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.inline-error {
  color: #aa5263;
  font-size: 12px;
  min-height: 1em;
}
.connection-indicator {
  color: #65826a;
}
.payment-preview {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  margin-top: 14px;
  border-radius: 8px;
}
body.modal-open {
  overflow: hidden;
}
.menu-count {
  background: var(--pink-light);
  color: var(--pink);
  font-size: 9px;
  border-radius: 5px;
  padding: 0 6px;
  margin-left: auto;
}
.studio-notice {
  margin-bottom: 20px;
}
.note-label {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #a18c88;
}
.count-label {
  font-size: 10px;
  color: #979c8d;
}
.filters-summary {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 14px;
}
.sample-tag {
  font-size: 9px;
  color: #8e917f;
  background: #ffffffc7;
  border-radius: 3px;
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 2px 5px;
  pointer-events: none;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.danger-text {
  color: #b25f69;
}
.deposit-box {
  border-left: 3px solid #b9c8af;
  padding-left: 16px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
.section-gap {
  margin-top: 40px;
}
.radio-cards {
  display: flex;
  gap: 12px;
}
.radio-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px;
  flex: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 400;
  font-size: 12px;
}
.radio-card input {
  width: 15px;
  margin: 0;
  accent-color: var(--pink);
}
.info-list {
  display: grid;
  gap: 11px;
  font-size: 12px;
}
.info-list span {
  color: var(--muted);
  min-width: 105px;
  display: inline-block;
}
.tracking-code {
  font-family: monospace;
  font-size: 17px;
  letter-spacing: 0.5px;
  color: var(--pink);
}
.form-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.contact-block {
  padding: 16px;
  background: #f6f4ee;
  border-radius: 10px;
  font-size: 12px;
  color: var(--muted);
  white-space: pre-line;
}
.review-payment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
  font-size: 11px;
}
.vertical-gap {
  margin-top: 20px;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  50% {
    transform: translateY(-9px) rotate(8deg);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1550px) {
  .container {
    width: min(1320px, calc(100% - 110px));
  }
  .hero {
    padding-top: 65px;
  }
  .hero-image {
    height: 420px;
  }
  .hero h1 {
    font-size: 49px;
  }
}
@media (max-width: 1150px) {
  .container {
    width: calc(100% - 50px);
  }
  .nav-inner {
    gap: 28px;
  }
  .main-nav {
    gap: 20px;
  }
  .hero-grid {
    gap: 44px;
  }
  .hero-image {
    height: 345px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-caption {
    right: -20px;
  }
  .studio-main {
    padding: 27px 23px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 14px;
  }
  .stat strong {
    font-size: 23px;
  }
  .product-detail {
    gap: 38px;
  }
  .nav-tools {
    gap: 8px;
  }
  .product-title {
    font-size: 16px;
  }
  .search-field {
    padding-inline: 15px;
  }
  .hero-proof {
    margin-top: 20px;
  }
  .trust-row {
    gap: 35px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-nav-btn {
    display: flex;
  }
  .hero-grid {
    gap: 28px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-image {
    height: 315px;
  }
  .hero-description br {
    display: none;
  }
  .hero-buttons {
    gap: 13px;
  }
  .hero-buttons .btn {
    font-size: 12px;
    padding: 11px 17px;
  }
  .hero-proof {
    font-size: 9px;
  }
  .hero-note {
    right: -3px;
    padding: 10px 12px;
    bottom: 20px;
  }
  .hero-note small {
    font-size: 8px;
  }
  .hero-caption {
    display: none;
  }
  .hero-star {
    font-size: 42px;
    left: -16px;
  }
  .product-grid {
    gap: 26px 16px;
  }
  .category {
    padding: 8px 13px;
  }
  .creator-band {
    padding: 28px;
  }
  .studio-layout {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .sidebar {
    padding: 25px 10px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .studio-main {
    padding: 25px 20px;
  }
  .studio-heading {
    align-items: flex-start;
  }
  .studio-heading h1 {
    font-size: 23px;
  }
  .booking-layout {
    grid-template-columns: 1.3fr 1fr;
  }
  .booking-summary {
    padding: 18px;
  }
  .detail-heading {
    font-size: 30px;
  }
  .detail-facts {
    grid-template-columns: 1fr 1fr;
  }
  .calendar-day {
    min-height: 95px;
    padding: 5px;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-bottom {
    font-size: 20px;
  }
  .trust-row {
    font-size: 9px;
    gap: 22px;
  }
  .search-field:nth-child(3) {
    display: none;
  }
  .footer-links {
    gap: 16px;
  }
  .steps {
    gap: 20px;
  }
  .product-detail {
    gap: 28px;
  }
}
@media (max-width: 650px) {
  .container {
    width: calc(100% - 36px);
  }
  .announcement {
    font-size: 9px;
    padding: 6px 12px;
  }
  .announcement span {
    margin: 0 8px;
  }
  .site-header {
    height: 69px;
  }
  .brand {
    font-size: 24px;
  }
  .brand-sub {
    font-size: 6px;
    letter-spacing: 3px;
  }
  .nav-inner {
    gap: 12px;
  }
  .nav-tools {
    gap: 5px;
  }
  .nav-tools .divider,
  .nav-store-label {
    display: none;
  }
  .nav-tools .btn {
    font-size: 10px;
    padding: 8px 12px;
    min-height: 34px;
  }
  .nav-tools .icon-btn {
    width: 30px;
    height: 30px;
  }
  .nav-tools .icon {
    width: 18px;
    height: 18px;
  }
  .mode-bar {
    font-size: 9px;
    gap: 6px;
  }
  .hero {
    padding: 29px 0 14px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero-copy {
    position: relative;
  }
  .hero h1 {
    font-size: 34px;
    line-height: 1.48;
    letter-spacing: -1px;
    margin: 13px 0 10px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.8px;
  }
  .hero-description {
    font-size: 11px;
    max-width: 290px;
    margin-bottom: 18px;
  }
  .hero-buttons {
    gap: 18px;
  }
  .hero-buttons .btn {
    font-size: 11px;
    min-height: 41px;
  }
  .hero-buttons .text-btn {
    font-size: 11px;
  }
  .hero-proof {
    display: none;
  }
  .hero-image-wrap {
    max-width: 100%;
    padding-left: 24px;
    justify-self: center;
  }
  .hero-image {
    height: 290px;
    border-radius: 140px 140px 12px 12px;
  }
  .hero-image img {
    object-position: center 59%;
  }
  .hero-star {
    left: 5px;
    top: 35px;
    font-size: 45px;
  }
  .hero-note {
    right: 0;
    bottom: 18px;
    font-size: 10px;
  }
  .hero-bottom {
    left: 8px;
    font-size: 22px;
    bottom: -15px;
  }
  .hero-flower {
    display: none;
  }
  .hero-caption {
    display: block;
    right: 0;
    top: 10px;
    font-size: 10px;
  }
  .search-strip {
    margin-top: 32px;
    padding: 9px;
    flex-wrap: wrap;
    gap: 8px;
    border-radius: 11px;
  }
  .search-field {
    padding: 3px 7px;
  }
  .search-field:first-child {
    flex-basis: 60%;
    border: 0;
  }
  .search-field:nth-child(2) {
    display: none;
  }
  .search-strip > .btn {
    padding: 10px 12px;
    margin-left: 0;
    font-size: 11px;
    min-height: 40px;
    flex: 1;
  }
  .search-field input {
    font-size: 11px;
  }
  .search-field label {
    font-size: 9px;
  }
  .search-field .icon {
    width: 17px;
  }
  .trust-row {
    gap: 12px;
    justify-content: space-around;
    font-size: 8px;
    padding-top: 17px;
  }
  .trust-row span {
    gap: 4px;
  }
  .trust-row span:nth-child(3) {
    display: none;
  }
  .trust-row .icon {
    width: 12px;
    height: 12px;
  }
  .catalog-section {
    padding: 24px 0 40px;
  }
  .section-heading {
    margin-bottom: 21px;
    gap: 10px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .section-heading .serif {
    font-size: 12px;
  }
  .section-heading p {
    font-size: 10px;
  }
  .section-heading .text-btn {
    font-size: 10px;
  }
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    padding-top: 17px;
    margin-bottom: 17px;
  }
  .categories {
    gap: 6px;
  }
  .category {
    font-size: 10px;
    padding: 7px 11px;
    gap: 5px;
  }
  .category .icon {
    width: 13px;
    height: 13px;
  }
  .sort {
    align-self: flex-end;
    width: 151px;
    font-size: 10px;
    padding: 2px 0;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 13px;
  }
  .product-media {
    border-radius: 10px;
  }
  .product-top {
    inset: 8px 8px auto;
    gap: 3px;
  }
  .product-top .badge {
    font-size: 8px;
    padding: 3px 6px;
  }
  .favorite {
    height: 27px;
    width: 27px;
  }
  .product-content {
    padding-top: 10px;
  }
  .product-character {
    font-size: 8px;
  }
  .product-title {
    font-size: 16px;
  }
  .product-subtitle {
    font-size: 10px;
  }
  .price-line {
    margin-top: 8px;
    gap: 3px;
    flex-wrap: wrap;
  }
  .price-line strong {
    font-size: 14px;
  }
  .price-line small {
    font-size: 9px;
  }
  .price-line .sizes {
    font-size: 8px;
    max-width: 66px;
  }
  .product-action {
    opacity: 1;
    transform: none;
    font-size: 9px;
    min-height: 29px;
    bottom: 8px;
    left: 8px;
    right: 8px;
  }
  .product-action .icon {
    width: 13px;
  }
  .sample-tag {
    bottom: 43px;
    right: 8px;
    font-size: 7px;
  }
  .guide-band {
    padding: 33px 0;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
    margin-top: 25px;
  }
  .step-icon {
    height: 43px;
    width: 43px;
    margin-bottom: 10px;
  }
  .step h3 {
    font-size: 12px;
  }
  .step p {
    font-size: 10px;
  }
  .creator-band {
    margin: 32px auto;
    padding: 25px;
    display: block;
  }
  .creator-band h2 {
    font-size: 20px;
  }
  .creator-band p {
    font-size: 11px;
  }
  .creator-band .btn {
    margin-top: 20px;
    font-size: 11px;
  }
  .creator-band .serif {
    font-size: 12px;
  }
  .creator-band:after {
    right: 16px;
    top: 20px;
  }
  .footer {
    padding: 26px 0 18px;
  }
  .footer-top {
    display: block;
  }
  .footer-links {
    margin-top: 23px;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 10px;
  }
  .footer-bottom {
    font-size: 8px;
    gap: 10px;
  }
  .page {
    padding: 25px 0 45px;
  }
  .page-title {
    font-size: 26px;
  }
  .breadcrumbs {
    font-size: 10px;
    margin-bottom: 21px;
  }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .detail-main-image {
    max-height: 430px;
    aspect-ratio: 1/1;
  }
  .detail-heading {
    font-size: 30px;
  }
  .detail-price {
    font-size: 26px;
    margin: 16px 0;
  }
  .detail-facts {
    grid-template-columns: repeat(3, 1fr);
  }
  .detail-description {
    font-size: 12px;
  }
  .booking-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }
  .booking-layout > * {
    width: 100%;
  }
  .booking-summary {
    position: static;
  }
  .booking-summary .summary-product {
    padding-bottom: 13px;
    margin-bottom: 12px;
  }
  .summary-product img {
    height: 70px;
    width: 58px;
  }
  .booking-summary .summary-row {
    margin: 5px 0;
    font-size: 11px;
  }
  .booking-summary .summary-total {
    padding-top: 10px;
    margin-top: 10px;
  }
  .form-grid {
    gap: 14px;
  }
  .panel {
    padding: 19px;
  }
  .auth-wrap {
    margin-top: 25px;
  }
  .auth-card {
    padding: 25px;
  }
  .progress-step {
    font-size: 8px;
  }
  .progress-steps {
    gap: 3px;
    overflow: hidden;
  }
  .order-card {
    padding: 15px;
  }
  .order-product {
    gap: 10px;
  }
  .order-product h3 {
    font-size: 14px;
  }
  .order-product img {
    width: 47px;
    height: 62px;
  }
  .order-product p {
    font-size: 10px;
  }
  .order-price strong {
    font-size: 13px;
  }
  .order-price .btn {
    font-size: 10px;
    padding: 6px 10px;
  }
  .order-price small {
    font-size: 9px;
  }
  .grid2,
  .grid3 {
    grid-template-columns: 1fr;
  }
  .studio-layout {
    display: block;
  }
  .sidebar {
    position: sticky;
    top: 69px;
    z-index: 20;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 10px;
    display: flex;
    gap: 5px;
    overflow-x: auto;
    background: #f5f3edf5;
    backdrop-filter: blur(12px);
  }
  .shop-identity,
  .sidebar-caption,
  .sidebar-bottom {
    display: none;
  }
  .side-link {
    display: flex;
    gap: 5px;
    white-space: nowrap;
    padding: 8px 10px;
    font-size: 10px;
    margin: 0;
  }
  .side-link .icon {
    width: 14px;
    height: 14px;
  }
  .menu-count {
    display: none;
  }
  .studio-main {
    padding: 23px 17px 45px;
  }
  .studio-heading {
    margin-bottom: 20px;
    gap: 10px;
  }
  .studio-heading h1 {
    font-size: 22px;
  }
  .studio-heading p {
    font-size: 10px;
  }
  .studio-heading .btn {
    font-size: 10px;
    padding: 8px 12px;
    min-height: 36px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }
  .stat {
    padding: 15px;
  }
  .stat strong {
    font-size: 25px;
    margin-top: 6px;
  }
  .stat small {
    font-size: 9px;
  }
  .stat > span {
    font-size: 9px;
  }
  .studio-main .panel {
    padding: 16px;
  }
  .table-title h2 {
    font-size: 16px;
  }
  .data-table th,
  .data-table td {
    padding: 10px;
    font-size: 10px;
  }
  .modal-backdrop {
    padding: 12px;
  }
  .modal {
    padding: 20px;
    border-radius: 13px;
    max-height: 95dvh;
  }
  .modal h2 {
    font-size: 18px;
  }
  .modal .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .modal input,
  .modal textarea,
  .modal select {
    font-size: 12px;
    padding: 10px;
  }
  .modal label {
    font-size: 11px;
  }
  .modal-footer {
    margin-top: 20px;
    padding-top: 15px;
  }
  .calendar-day {
    min-height: 85px;
    padding: 3px;
  }
  .calendar-date {
    font-size: 9px;
  }
  .calendar-event {
    font-size: 7px;
    padding: 3px;
  }
  .calendar-weekday {
    font-size: 9px;
    padding: 8px 3px;
  }
  .filter-date {
    gap: 8px;
    padding: 12px;
  }
  .filter-date label {
    max-width: calc(50% - 5px);
    flex: 1;
  }
  .filter-date .btn {
    font-size: 10px;
  }
  .mobile-menu {
    top: 69px;
  }
  .form-heading {
    font-size: 14px;
  }
  .date-pair {
    gap: 9px;
  }
  .form-note {
    font-size: 9px;
  }
  .callout {
    font-size: 11px;
  }
  .creator-band .btn {
    width: 100%;
  }
  .hero-description {
    max-width: 100%;
  }
  .review-payment {
    flex-wrap: wrap;
  }
  #toasts {
    bottom: 14px;
    left: 14px;
    right: 14px;
  }
  .toast {
    max-width: 100%;
  }
  .table-title .text-btn {
    font-size: 10px;
  }
  .auth-card h1 {
    font-size: 24px;
  }
  .radio-card {
    padding: 12px;
    font-size: 11px;
  }
  .policy h2 {
    font-size: 18px;
  }
  .setup-step {
    gap: 10px;
  }
  .setup-step h3 {
    font-size: 14px;
  }
  .page-intro {
    font-size: 12px;
  }
  .rich-text {
    font-size: 12px;
  }
  .summary-total strong {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
.product-image-link {
  display: block;
  width: 100%;
  height: 100%;
}
.mode-bar .icon {
  width: 12px;
  height: 12px;
}
.mode-bar a .icon {
  width: 10px;
  height: 10px;
}
.product-top > .badge > .icon {
  width: 12px;
  height: 12px;
}
.product-top > .badge {
  gap: 4px;
}
@media (max-width: 650px) {
  .studio-main > .grid2 {
    grid-template-columns: 1fr !important;
  }
  .studio-main > .grid2 > .panel {
    min-width: 0;
  }
  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    font-size: 14px;
  }
  .hero-image img {
    object-position: 50% 65%;
  }
}

/* ===== v1.2 — single shop, admin, phone-first (no left-right scrolling) ===== */
.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  vertical-align: middle;
  margin-right: 8px;
}
.shop-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}
.site-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.site-image {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--paper);
}
.site-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  background: var(--cream);
  display: block;
}
.site-image.logo img {
  aspect-ratio: 1;
  object-fit: contain;
  max-width: 160px;
}
.site-image .flex {
  flex-wrap: wrap;
  margin-top: 10px;
}
.admin-note code {
  background: #eeede7;
  padding: 2px 6px;
  border-radius: 6px;
  word-break: break-all;
}
@media (max-width: 900px) {
  /* Studio menu wraps onto rows instead of a sideways-scrolling strip */
  .sidebar {
    flex-wrap: wrap;
    overflow-x: visible;
    position: static;
  }
  .side-link {
    flex: 1 1 calc(33% - 5px);
    justify-content: center;
    min-height: 40px;
    align-items: center;
  }
}
@media (max-width: 650px) {
  /* Tables become stacked cards: one row = one card, label on the left */
  .table-wrap {
    overflow-x: visible;
  }
  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
    white-space: normal;
  }
  .data-table thead {
    display: none;
  }
  .data-table tr {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
    background: #fff;
  }
  .data-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    border: 0;
    text-align: right;
    font-size: 12px;
  }
  .data-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    text-align: left;
    flex-shrink: 0;
  }
  .data-table td[data-label=""]::before {
    content: none;
  }
  .data-table td[colspan] {
    justify-content: center;
    text-align: center;
  }
  .side-link {
    flex-basis: calc(50% - 5px);
  }
}
.disabled {
  pointer-events: none;
  opacity: 0.55;
}
@media (max-width: 650px) {
  /* Header must fit a 360–390px phone without sideways scrolling */
  .site-header .nav-inner {
    gap: 8px;
  }
  .site-header .brand {
    font-size: 21px;
    letter-spacing: 1.4px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-header .brand-logo {
    width: 28px;
    height: 28px;
    margin-right: 6px;
  }
  .nav-tools {
    gap: 6px;
    flex-shrink: 0;
  }
}

/* ---------- v1.3.0 · เกินกำหนดคืน / ปัญหา / คิวที่กระทบ ---------- */
.badge.red {
  background: #fbe3e3;
  color: #b34848;
}
.green-text {
  color: #56715b;
}
.issue-panel.is-late {
  border-color: #f0c9c9;
  box-shadow: 0 0 0 3px #fbecec;
}
.issue-panel h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.issue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.impact-list:empty {
  display: none;
}
.impact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #eee9e0;
  line-height: 1.7;
}
.impact-row:last-child {
  border-bottom: 0;
}
.incident-list {
  display: grid;
  gap: 10px;
}
.incident {
  padding: 12px 14px;
  border: 1px solid #eee9e0;
  border-radius: 9px;
  background: #fffdf9;
  line-height: 1.7;
}
.incident.open {
  border-color: #eee0bc;
  background: #fffaf0;
}
.incident.void {
  opacity: 0.6;
}
.incident .flex {
  flex-wrap: wrap;
}
.overdue-alert {
  margin-bottom: 25px;
  border-color: #f0c9c9;
  background: #fffafa;
}
.overdue-alert h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a04848;
}
.overdue-list {
  display: grid;
  gap: 8px;
}
.overdue-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #f3dede;
  border-radius: 9px;
  background: #fff;
  line-height: 1.7;
  color: inherit;
  text-decoration: none;
}
.overdue-row:hover {
  border-color: #e6b9b9;
}
.tab.tab-alert:not(.active) {
  color: #b34848;
}
.calendar-event.late {
  border-left-color: #c94f4f;
  background: #fbe3e3;
  color: #a04848;
}
.callout code {
  word-break: break-all;
}
