:root {
  --ink: #161616;
  --muted: #5c584f;
  --yellow: #f0c014;
  --yellow-deep: #d9a400;
  --paper: #f6f3ec;
  --card: #fff;
  --line: #e4dfd4;
  --green: #128c4a;
  --danger: #9d1c1c;
  --max: 100%;
  --page-pad: clamp(20px, 2.5vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Montserrat, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
a { color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }

.topbar {
  background: #0e0e0e;
  color: #fff;
  font-size: 0.82rem;
}
.topbar-inner, .header-inner, .wrap, .footer-grid, .legal {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  box-sizing: border-box;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: #fff; text-decoration: none; }
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 84px;
  padding-top: 12px;
  padding-bottom: 12px;
  overflow: visible;
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}
.logo img {
  display: block;
  height: 72px;
  width: auto;
  max-width: min(360px, 46vw);
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
  border-radius: 6px;
}
.logo-text { font-weight: 800; letter-spacing: -0.03em; text-decoration: none; font-size: 1.2rem; }
nav { display: flex; gap: 18px; align-items: center; margin-left: auto; }
nav a { text-decoration: none; font-weight: 600; font-size: 0.92rem; }
nav a:hover, nav a.is-current { color: #8a6800; }
.nav-drop { position: relative; }
.nav-drop::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 240px;
  height: 18px;
}
.nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin-top: 6px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(22, 22, 22, 0.12);
  z-index: 30;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: grid; }
.nav-drop-menu a { padding: 8px 10px; border-radius: 8px; }
.nav-drop-menu a:hover { background: var(--paper); color: var(--ink); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-card, .post-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  text-decoration: none;
}
.guide-card strong, .post-card strong { font-size: 1.15rem; }
.guide-card span, .post-card time, .post-card span { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.post-card p { margin: 0; }
.post-list { display: grid; gap: 12px; }
.doc-list { display: grid; gap: 8px; padding: 0; margin: 0 0 24px; list-style: none; }
.doc-list a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 700; text-decoration: none; }
.video-list, .image-grid { display: grid; gap: 14px; }
.image-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-frame { position: relative; padding-top: 56.25%; background: #111; border-radius: 12px; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post figure { margin: 0; }
.post figcaption { margin-top: 6px; color: var(--muted); font-size: 0.88rem; }
.image-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; background: #fff; }
.asset-list { display: grid; gap: 10px; margin-top: 8px; }
.asset-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.asset-row .choice { margin: 0 0 12px; }
.cart-link {
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}
.search {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
header .search input[type="search"] {
  width: 180px;
  border: 0;
  border-radius: 0;
  padding: 10px 12px;
  background: transparent;
  outline: none;
}
header .search button {
  border: 0;
  border-radius: 0;
  background: var(--yellow);
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.4;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  padding: 8px 0 16px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; margin: 0 0 12px; }
.lede { font-size: 1.05rem; color: var(--muted); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--yellow);
  color: #1a1400;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 16px 32px;
  font-weight: 800;
  cursor: pointer;
  line-height: 1.2;
}
.btn.dark { background: var(--ink); color: #fff; }
.btn.green { background: var(--green); color: #fff; }
.btn.danger { background: var(--danger); color: #fff; }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.btn.small { padding: 8px 12px; font-size: 0.85rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.plate-banner { border-radius: 18px; width: 100%; background: #fff; }
.section { padding: 28px 0; }
.section h2 { margin: 0 0 8px; font-size: 1.7rem; }
.province-grid, .card-grid, .review-grid, .stat-grid {
  display: grid;
  gap: 14px;
}
.province-grid { grid-template-columns: repeat(5, 1fr); }
.province-grid a, .product-card, .panel, .stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.province-grid a { display: block; padding: 8px; transition: transform 0.15s ease; }
.province-grid a:hover { transform: translateY(-2px); }
.province-grid img { width: 100%; }
.stat-grid { grid-template-columns: repeat(4, 1fr); }
.stat { padding: 16px; }
.stat strong { display: block; font-size: 1.05rem; }
.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.product-card .thumb {
  aspect-ratio: 1 / 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 0;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.product-card .meta {
  margin-top: auto;
  padding: 4px 16px 16px;
  border: 0;
  background: #fff;
}
.product-card .meta strong {
  display: block;
  min-height: 2.6em;
  font-size: 0.95rem;
  line-height: 1.3;
  font-weight: 700;
}
.product-card .meta .muted,
.product-card .price {
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.pad { padding: 14px; }
.price { font-weight: 800; }
.muted { color: var(--muted); }
.review-grid { grid-template-columns: repeat(4, 1fr); }
.review-grid img, .wide-shot { border-radius: 16px; width: 100%; background: #fff; }

.testimonials { padding-top: 36px; }
.testimonials-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}
.testimonials-hero-image {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
}
.testimonials-intro h2 { margin-bottom: 10px; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; }
.testimonials-intro .lede { margin: 0 0 16px; max-width: 38ch; }
.testimonials-score {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-weight: 700;
  color: var(--muted);
}
.testimonials-stars {
  display: inline-block;
  color: var(--yellow-deep);
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 10px 28px rgba(22, 22, 22, 0.05);
}
.testimonial-card p {
  margin: 14px 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
}
.testimonial-card-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}
.testimonial-card-top strong { display: block; }
.testimonial-card-top time { color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}
.testimonial-form-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  scroll-margin-top: 12rem;
}
.testimonial-form-panel h3 { margin: 0 0 8px; font-size: 1.45rem; }
.testimonial-form-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.testimonial-form-copy p { margin: 0; color: var(--muted); max-width: 34ch; }
.testimonial-form-copy .wide-shot {
  margin-top: 8px;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
}
.testimonial-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.testimonial-form label,
.testimonial-form .rating-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
  font-weight: 700;
  font-size: 0.92rem;
}
.testimonial-form .field-title {
  display: block;
  min-height: 1.25em;
  line-height: 1.25;
}
.testimonial-form .field-note {
  order: 3;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  min-height: 1.2em;
  line-height: 1.2;
}
.testimonial-form .field-note-spacer {
  visibility: hidden;
  user-select: none;
  pointer-events: none;
}
.testimonial-form label.full { grid-column: 1 / -1; }
.testimonial-form input,
.testimonial-form textarea,
.testimonial-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--paper);
}
.testimonial-form input:focus,
.testimonial-form textarea:focus {
  outline: 2px solid rgba(240, 192, 20, 0.45);
  border-color: var(--yellow-deep);
}
.testimonial-form .btn { justify-self: start; }
.testimonial-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.rating-field { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; }
.rating-field legend { margin-bottom: 6px; font-weight: 700; }
.rating-field .hint { margin: 8px 0 0; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.testimonial-form .star-rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: auto;
  padding: 4px 0;
}
.testimonial-form .star-rating input[type="hidden"] {
  display: none;
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
}
.testimonial-form .star-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2b3340;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.12s ease;
}
.testimonial-form .star-btn svg {
  width: 32px;
  height: 32px;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  pointer-events: none;
  transition: fill 0.12s ease, stroke 0.12s ease;
}
.testimonial-form .star-btn.is-on svg,
.testimonial-form .star-btn.is-on svg path {
  fill: #f0a020;
  stroke: #f0a020;
}
.testimonial-form .star-btn:hover,
.testimonial-form .star-btn:focus-visible {
  transform: scale(1.08);
  outline: none;
}
.province-lead { margin-bottom: 36px; }
.about-hero { align-items: center; }
.about-hero img { max-height: 460px; object-fit: cover; object-position: center; }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-story h2 { margin-top: 0; }
.service-intro { margin-bottom: 8px; align-items: center; }
.service-intro h1 { margin-top: 0; }
.service-intro img { max-height: 320px; object-fit: cover; object-position: center; }
.service-group { padding-top: 8px; }
.service-group h2 { margin-bottom: 14px; }
.service-offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.service-offer article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.service-offer h3 { margin: 0; font-size: 1.05rem; }
.service-offer p { margin: 0; color: var(--muted); }
.service-offer ul { margin: 0; padding-left: 18px; }
.service-offer li + li { margin-top: 4px; }
.service-offer .actions { margin-top: 4px; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: center; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 28px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.service-card h2 { margin: 0 0 8px; font-size: 1.15rem; }
.service-card p { margin: 0; }
.check-list { display: grid; gap: 8px; }
.check-list label { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 600; }
.check-list input { width: auto; margin-top: 3px; }
.contact-page { align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.contact-card h1, .contact-card h2 { margin-top: 0; }
.contact-card label { display: block; font-weight: 700; margin: 0 0 14px; }
.contact-card label input, .contact-card label textarea, .contact-card label select { display: block; width: 100%; margin-top: 6px; font-weight: 500; }
.contact-card iframe { width: 100%; height: 240px; border: 0; border-radius: 12px; }
.form-grid label { display: block; font-weight: 700; }
.form-grid label input, .form-grid label select, .form-grid label textarea { display: block; width: 100%; margin-top: 6px; font-weight: 500; }
.form-grid .choice input, .form-grid .rate-picks input { display: inline; width: auto; margin-top: 0; min-height: 0; padding: 0; }
.rate-picks { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.rate-picks label { display: flex; align-items: center; gap: 6px; font-weight: 600; margin: 0; }
.form-grid + .btn { margin-top: 28px; }
.content-block { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.content-block img { border-radius: 12px; }
.note { font-size: 0.92rem; color: var(--muted); }

.layout { display: grid; grid-template-columns: 250px 1fr; gap: 22px; padding: 22px 0 40px; }
.side a { display: block; text-decoration: none; padding: 7px 0; border-bottom: 1px solid var(--line); }
.side a.active { font-weight: 800; }
.side .child { padding-left: 12px; font-size: 0.92rem; }
.toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 14px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 22px 0 40px; }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.thumbs button { border: 1px solid var(--line); background: #fff; padding: 4px; border-radius: 8px; cursor: pointer; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; }
.option { margin: 0 0 14px; padding: 0; border: 0; }
.option legend, label.field { font-weight: 700; display: block; margin-bottom: 6px; }
.choice { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="url"], select, textarea {
  width: 100%;
  border: 1px solid #d9d3c6;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 28px 36px;
  align-items: start;
}
.checkout .form-grid { grid-column: 1; gap: 18px 20px; }
.checkout .form-grid label { display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }
.checkout .form-grid label input,
.checkout .form-grid label select,
.checkout .form-grid label textarea { margin-top: 0; padding: 12px 14px; border-radius: 12px; min-height: 48px; }
.checkout textarea { min-height: 120px; resize: vertical; }
.courier-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 18px; }
.courier-panel .note { margin: 8px 0 14px; }
.checkout .courier-panel .btn { margin-top: 16px; }
.courier-status:empty { display: none; }
.courier-status.is-error { color: var(--danger); }
.courier-options { display: flex; flex-direction: column; gap: 10px; }
.courier-options:empty { display: none; }
.checkout .form-grid .courier-options label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  width: auto;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-weight: 700;
  cursor: pointer;
}
.checkout .form-grid .courier-options input {
  display: inline-block;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  flex: 0 0 auto;
}
.checkout .form-grid .courier-options span { flex: 1; min-width: 0; font-weight: 700; line-height: 1.35; }
.checkout .form-grid .courier-options small { display: block; margin-top: 4px; font-weight: 500; color: var(--muted); }
.checkout-summary { grid-column: 2; grid-row: 1 / span 2; margin-top: calc(1.38rem + 8px); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 8px; position: sticky; top: 18px; }
.checkout-summary h2 { margin: 0 0 8px; font-size: 1.15rem; }
.checkout-line { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.checkout .total-line { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 14px 0 10px; }
.checkout .btn { grid-column: 1; justify-self: start; margin-top: 0; padding: 14px 28px; }
.total-line { font-size: 1.3rem; font-weight: 800; margin: 12px 0; }
.product-layout form .btn { margin: 6px 0 20px; }
.cart-table input[type="number"] { width: 76px; }
.cart-table .remove {
  display: inline-block;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--danger);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.hidden { display: none; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.flash { padding: 12px 14px; border-radius: 12px; margin: 12px 0; background: #e8f6ee; }
.flash.error { background: #fde8e8; color: var(--danger); }
.pager { display: flex; gap: 8px; margin-top: 16px; }
.pager a, .pager span { padding: 6px 10px; border-radius: 8px; background: #fff; text-decoration: none; border: 1px solid var(--line); }
main { flex: 1; width: 100%; }
main .wrap { padding-top: 32px; padding-bottom: 48px; }
footer { background: #111; color: #f3f0e8; padding: 36px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.9fr; gap: 20px; }
footer a { color: #fff; }
.legal { margin-top: 18px; color: #bdb7ac; font-size: 0.8rem; }
.admin-header .header-inner { flex-wrap: wrap; }
.admin-main {
  padding: 36px clamp(28px, 4vw, 56px) 56px;
}
.admin-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-left: auto; }
.admin-nav a { font-weight: 700; font-size: 0.88rem; padding: 8px 12px; border-radius: 999px; color: var(--ink); }
.admin-nav a:hover { background: #f3efe4; color: #8a6800; }
.admin-nav a.active { background: var(--yellow); color: var(--ink); }
.admin-nav-split { width: 1px; align-self: stretch; margin: 6px 8px; background: var(--line); }
.admin-main h1 { margin: 0 0 18px; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.03em; }
.admin-main .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-main .stat { padding: 18px 20px; }
.admin-main .stat strong { font-size: 1.7rem; letter-spacing: -0.03em; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; }
.admin-toolbar .search input { width: min(320px, 70vw); }
.admin-main table:not(.dash-table) { border: 1px solid var(--line); border-radius: 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.admin-main th { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.admin-main th, .admin-main td { padding: 12px 14px; }
.admin-main form + table, .admin-main .admin-list { margin-top: 8px; }
.admin-list { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.admin-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.admin-list li:last-child { border-bottom: 0; }
.admin-list a { font-weight: 700; text-decoration: none; }
.province-admin { display: grid; gap: 10px; }
.province-admin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  text-decoration: none;
}
.province-admin-row:hover { border-color: var(--yellow-deep); background: #fffdf6; }
.province-admin-row strong { display: block; font-size: 1.08rem; }
.province-admin-row small { color: var(--muted); font-weight: 600; }
.province-admin-row .btn { flex: 0 0 auto; }
.page-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-actions form { margin: 0; }
.page-actions .btn { padding: 8px 14px; }
.admin-main .content-block { margin-bottom: 12px; }
.admin-main .form-grid { gap: 18px 20px; }
.admin-main .form-grid > h2 { margin: 8px 0 0; padding-top: 26px; border-top: 1px solid var(--line); font-size: 1.45rem; }
.admin-main .form-grid > .btn, .admin-main .upload-form > .btn { justify-self: start; width: auto; }
.admin-main h2 { margin: 28px 0 12px; font-size: 1.35rem; }
.admin-main .upload-box input[type="file"] {
  display: block;
  width: 100%;
  min-height: 84px;
  margin-top: 8px;
  padding: 22px 16px;
  border: 2px dashed #cfc6b4;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.admin-main .upload-box .note { margin: 8px 0 0; }
.admin-main .form-grid > h3 { margin: 4px 0 0; font-size: 1.05rem; }
.admin-main .form-grid > .note { margin: 0; }
.admin-main .form-grid .field-label { display: block; font-weight: 700; font-size: 0.92rem; }
.admin-main .form-grid .password-field { max-width: 420px; }
.admin-main .settings-sizes { display: grid; grid-template-columns: 110px repeat(3, minmax(0, 1fr)); gap: 12px 16px; align-items: end; }
.admin-main .settings-sizes strong { padding-bottom: 14px; }
.admin-main .form-grid label { display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }
.admin-main .form-grid label input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.admin-main .form-grid label select,
.admin-main .form-grid label textarea { margin-top: 0; padding: 12px 14px; border-radius: 12px; min-height: 48px; }
.admin-main .form-grid .choice { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; }
.admin-main .form-grid .choice input { width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; flex: 0 0 auto; }
.admin-main .form-grid .rate-picks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
.admin-main .form-grid .rate-picks label { flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; width: auto; font-weight: 600; }
.admin-main .form-grid .rate-picks input { width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; flex: 0 0 auto; }
.admin-main .form-grid .field { display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; font-weight: 700; }
.multi-select { position: relative; }
.multi-select-button { position: relative; width: 100%; min-height: 48px; padding: 12px 36px 12px 14px; border: 1px solid #d9d3c6; border-radius: 12px; background: #fff; text-align: left; font-weight: 500; cursor: pointer; }
.multi-select-button span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.multi-select-button::after { content: ""; position: absolute; right: 16px; top: 22px; border: 5px solid transparent; border-top-color: var(--ink); }
.multi-select-menu { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 280px; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 28px rgba(22, 22, 22, 0.12); padding: 6px; }
.admin-main .form-grid .multi-select-menu label { flex-direction: row; align-items: center; gap: 10px; margin: 0; padding: 8px 10px; border-radius: 8px; font-weight: 600; cursor: pointer; }
.admin-main .form-grid .multi-select-menu label:hover { background: var(--paper); }
.admin-main .form-grid .multi-select-menu input { width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; flex: 0 0 auto; }
.login-wrap { min-height: calc(100vh - 160px); display: flex; align-items: center; justify-content: center; }
.login-card { width: min(420px, 100%); margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 32px 28px; }
.login-card h1 { margin: 0 0 22px; text-align: center; }
.login-card label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; margin: 0 0 16px; }
.login-card input { margin-top: 0; padding: 12px 14px; border-radius: 12px; min-height: 48px; }
.login-card .btn { margin-top: 8px; padding: 14px 32px; }
.dash-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; margin: 18px 0; }
.dash-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.dash-panel h2 { margin: 0 0 8px; font-size: 1.15rem; }
.dash-bars { width: 100%; height: auto; display: block; }
.status-meter { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; align-items: center; margin: 10px 0; font-size: 0.92rem; }
.status-meter .track { display: block; height: 12px; background: #f3efe4; border-radius: 999px; overflow: hidden; }
.status-meter .track span { display: block; height: 100%; background: #f0c014; border-radius: 999px; }
.status-meter .track span.completed { background: #2f9e44; }
.status-meter .track span.cancelled, .status-meter .track span.refunded { background: #c92a2a; }
.status-meter .track span.on-hold { background: #c4b89a; }
.dash-table { margin-top: 8px; }
.status { text-transform: capitalize; font-size: 0.8rem; font-weight: 700; }
.status-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #fff3c4; font-size: 0.8rem; font-weight: 800; }
.status-pill.completed { background: #e5f6ea; }
.status-pill.on-hold, .status-pill.ywraq-new { background: #f3efe4; }
.status-pill.cancelled, .status-pill.refunded { background: #fde8e8; color: var(--danger); }
.order-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.order-tabs a { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-weight: 700; }
.order-tabs a.active { background: var(--ink); color: #fff; }
.order-search { display: flex; gap: 8px; margin: 0 0 16px; max-width: 560px; }
.order-search input { flex: 1; }
.timeline { list-style: none; padding: 0; margin: 0 0 24px; }
.timeline li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.contact-card label select, .content-block label, .content-block select, .content-block textarea { display: block; width: 100%; margin-top: 6px; }
.content-block label { font-weight: 700; margin-bottom: 12px; }

@media (max-width: 980px) {
  .hero, .split, .product-layout, .layout, .footer-grid, .service-grid, .about-story, .checkout { grid-template-columns: 1fr; }
  .province-grid, .card-grid, .card-grid.cols-3, .review-grid, .stat-grid, .service-offer, .dash-grid, .guide-grid, .image-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  nav { display: none; }
  .mobile-nav { display: flex !important; }
}
@media (max-width: 640px) {
  .service-offer, .checkout .form-grid, .guide-grid, .image-grid, .testimonial-grid, .testimonial-form, .testimonials-hero, .testimonial-form-panel { grid-template-columns: 1fr; }
  .asset-row { grid-template-columns: 1fr; }
  .checkout-summary, .checkout .btn { grid-column: 1; grid-row: auto; position: static; }
  .checkout-summary { margin-top: 0; }
  .testimonial-card-top { grid-template-columns: auto 1fr; }
  .testimonial-card-top time { grid-column: 2; }
  .testimonials-hero-image,
  .testimonial-form-copy .wide-shot { max-height: 220px; }
}
.mobile-nav { display: none; gap: 12px; padding: 0 0 12px; overflow: auto; }
.mobile-nav a { white-space: nowrap; text-decoration: none; font-weight: 700; }
@media (max-width: 980px) {
  .admin-nav { display: flex; width: 100%; margin-left: 0; }
  .admin-main .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .admin-main .stat-grid, .admin-main .form-grid { grid-template-columns: 1fr; }
  .admin-main .settings-sizes { grid-template-columns: 1fr 1fr 1fr; }
  .admin-main .settings-sizes strong { grid-column: 1 / -1; padding-bottom: 0; }
}
