@font-face {
  font-family: "Work Sans";
  src: url("../fonts/WorkSans-Light.woff2") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --brown: #4b281b;
  --brown-deep: #2a160f;
  --brown-soft: #714633;
  --orange: #f3ad02;
  --orange-deep: #f2ae02b6;
  --cream: #fff8ed;
  --cream-2: #fff1df;
  --peach: #f8dfc1;
  --peach-2: #f3d2aa;
  --ink: #30211b;
  --muted: #76675e;
  --line: #efdfcd;
  --white: #fff;
  --shadow: 0 14px 34px rgba(73, 39, 25, 0.07);
  --radius: 17px;
  --max: 1720px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  color: var(--ink);
  background: #fffaf3;
  font-size: 14px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.catalog-body {
  background: linear-gradient(180deg, #fff8ed 0, #fffdf9 480px, #fffaf4 100%);
}
.site-header {
  height: 72px;
  background: #4b281b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4.8vw, 84px);
  gap: 28px;
  border-bottom: 1px solid rgba(103, 62, 38, 0.08);
  position: relative;
  z-index: 10;
}
.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}
.brand-symbol {
  width: 42px;
  height: 42px;
  border: 2px solid var(--brown);
  border-radius: 50% 50% 48% 12%;
  display: grid;
  place-items: center;
  color: var(--brown);
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  font-size: 25px;
  transform: rotate(-7deg);
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.brand-wordmark strong,
.footer-brand strong {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  font-weight: 600;
  font-size: 29px;
  letter-spacing: -1.2px;
  color: var(--brown);
}
.brand-wordmark small,
.footer-brand small {
  letter-spacing: 4px;
  font-size: 8px;
  margin-top: 4px;
  color: var(--brown-soft);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 42px);
  height: 100%;
  font-size: 12px;
  white-space: nowrap;
  color: #fff;
}
.main-nav a {
  height: 100%;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  padding-top: 2px;
  font-size: 20px;
}
.main-nav a:hover,
.main-nav a.active {
  border-color: var(--white);
  color: var(--orange);
  font-weight: 700;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}
.header-search,
.mobile-menu {
  border: 0;
  background: transparent;
  color: var(--orange);
  font-size: 28px;
  width: 35px;
  height: 40px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 7px;
  padding: 12px 19px;
  min-height: 40px;
  font-weight: 750;
  font-size: 20px;
  line-height: 1.1;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 15px rgba(75, 40, 27, 0.12);
}
.button-dark {
  background: var(--brown);
  color: white;
  border-top: 1px solid var(--orange);
  border-bottom: 1px solid var(--orange);
}
.button-dark:hover {
  background: var(--orange);
  color: white;
}
.button-orange {
  background: var(--orange);
  color: #fff;
}
.button-orange:hover {
  background: var(--orange-deep);
}
.button-outline {
  background: #fffaf4;
  border: 1px solid var(--peach-2);
  color: var(--brown);
}
.button-wide {
  width: 100%;
}
.header-book {
  min-width: 185px;
}
.mobile-menu {
  display: none;
  font-size: 22px;
}
.hero {
  min-height: 250px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: #f7d5ad;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 240, 218, 0.99) 0%,
      rgba(255, 235, 207, 0.94) 29%,
      rgba(255, 229, 194, 0.35) 49%,
      rgba(75, 40, 27, 0.04) 100%
    ),
    var(--hero-image);
  background-size: cover;
  background-position: center 48%;
  padding: 34px clamp(22px, 5.2vw, 88px);
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(76, 43, 27, 0.08);
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.eyebrow {
  font-weight: 850;
  letter-spacing: 2.4px;
  font-size: 13px;
  color: var(--brown-soft);
  margin: 0 0 8px;
}
.hero h1 {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 0.99;
  letter-spacing: -1.4px;
  color: var(--brown);
  max-width: 440px;
  margin: 0 0 11px;
}
.hero-copy > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.55;
  color: #5d493d;
  max-width: 435px;
  margin: 0 0 17px;
}
.hero-search {
  display: flex;
  align-items: center;
  gap: 11px;
  width: min(480px, 100%);
  height: 44px;
  border: 1px solid #f0dfcc;
  background: #fff;
  border-radius: 12px;
  padding: 0 13px;
  box-shadow: 0 4px 14px rgba(70, 42, 27, 0.07);
}
.search-icon {
  font-size: 24px;
  color: var(--brown);
}
.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}
.hero-search button {
  display: none;
  background: #fff1e0;
  border: 0;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  color: var(--brown);
}
.hero-search:focus-within {
  outline: 2px solid rgba(246, 135, 31, 0.35);
}
.hero-note {
  position: absolute;
  right: clamp(28px, 6vw, 95px);
  top: 29%;
  display: flex;
  flex-direction: column;
  transform: rotate(-7deg);
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.05;
  color: var(--brown);
  text-shadow: 0 1px 8px rgba(255, 240, 220, 0.6);
}
.hero-note i {
  width: 65%;
  height: 4px;
  background: var(--orange);
  border-radius: 4px;
  transform: rotate(-8deg);
  margin: 5px 0 0 7px;
}
.category-rail-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px clamp(20px, 4.8vw, 82px);
  background: #fffaf3;
  border-bottom: 1px solid #f4e5d3;
  position: relative;
}
.category-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  flex: 1;
  padding: 2px 1px;
}
.category-rail::-webkit-scrollbar {
  display: none;
}
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 7px;
  border: 1px solid #f0deca;
  background: #fffdf9;
  color: #4d382e;
  font-size: 13px;
  flex: 0 0 auto;
  transition: 0.18s ease;
}
.category-pill > span {
  color: var(--orange);
  font-size: 15px;
}
.category-pill:hover {
  border-color: var(--orange);
  background: #fff2e3;
}
.category-pill.active {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
  box-shadow: 0 5px 12px rgba(75, 40, 27, 0.12);
}
.rail-controls {
  display: flex;
  gap: 6px;
}
.rail-controls button {
  border: 1px solid #efdecb;
  background: #fffdf9;
  color: var(--brown);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 22px;
  line-height: 1;
}
.rail-controls button:last-child {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.catalog-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px clamp(18px, 4.8vw, 82px) 45px;
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}
.category-sidebar,
.selection-sidebar {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 5px 20px rgba(75, 40, 27, 0.035);
  padding: 15px 13px;
}
.sidebar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6px 11px;
}
.sidebar-heading h2,
.selection-heading h2 {
  font-size: 13px;
  margin: 0;
  font-weight: 800;
  color: var(--brown);
}
.mobile-close {
  display: none;
  border: 0;
  background: #f7e8d6;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: var(--brown);
  font-size: 18px;
}
.sidebar-category {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 35px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  color: var(--brown-deep);
  padding: 8px 10px;
  font-size: 15px;
  margin-bottom: 2px;
  font-weight: 600;
  font-family: "Work Sans", Palatino, "Palatino Linotype", sans-serif;
}
.sidebar-category .category-icon {
  width: 15px;
  color: var(--orange);
  font-size: 12px;
  flex: 0 0 auto;
}
.sidebar-category span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.sidebar-category b {
  font-size: 14px;
  color: #877569;
  font-weight: 600;
}
.sidebar-category:hover {
  background: #fff0dd;
}
.sidebar-category.active {
  background: #ffe8cb;
  color: var(--brown);
  font-weight: 800;
}
.sidebar-category.active b {
  color: var(--brown);
}
.help-card {
  margin-top: 17px;
  border: 1px solid #f2d7b7;
  border-radius: 11px;
  background: linear-gradient(135deg, #fff0dc, #fff7ed);
  padding: 13px 11px;
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 8px;
}
.help-flower {
  font-size: 21px;
  color: var(--brown);
  grid-row: 1 / span 2;
}
.help-card strong {
  font-size: 11px;
  color: var(--brown);
}
.help-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #76665b;
  margin: 5px 0 10px;
}
.help-card a {
  grid-column: 2;
  background: var(--brown);
  border-radius: 7px;
  color: #fff;
  padding: 8px 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
}
.help-card a span {
  color: #ff9b35;
}
.service-content {
  min-width: 0;
}
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.results-title {
  display: flex;
  align-items: center;
  gap: 13px;
}
.results-title .eyebrow {
  margin: 0;
}
.results-title > span {
  font-size: 11px;
  color: #907e70;
}
.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort-control {
  color: #817065;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sort-control select {
  max-width: 142px;
  border: 1px solid var(--line);
  background: #fffdf9;
  border-radius: 8px;
  color: var(--brown);
  font-size: 13px;
  padding: 8px 22px 8px 9px;
  outline-color: var(--orange);
}
.view-toggle {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: #fff8ef;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.view-toggle button {
  width: 29px;
  height: 27px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #8a7668;
  font-size: 17px;
}
.view-toggle button.active {
  background: var(--brown);
  color: #fff;
}
.featured-service {
  display: grid;
  grid-template-columns: minmax(175px, 35%) minmax(0, 1fr);
  position: relative;
  overflow: hidden;
  min-height: 177px;
  border-radius: 13px;
  background: linear-gradient(100deg, #f7d7b5, #fff0dc 65%, #ffe5c5);
  margin: 0 0 17px;
  border: 1px solid #f2d5b0;
}
.featured-service > img {
  height: 100%;
  width: 100%;
  min-height: 177px;
  position: absolute;
  inset: 0 auto 0 0;
  width: 36%;
  object-fit: cover;
  object-position: center;
}
.featured-service:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 27%;
  width: 18%;
  z-index: 1;
  background: linear-gradient(90deg, transparent, #f7d7b5);
}
.featured-copy {
  grid-column: 2;
  position: relative;
  z-index: 2;
  padding: 15px 18px 14px 9px;
  min-width: 0;
}
.featured-tag {
  display: inline-block;
  background: #ffecd6;
  color: #7c4824;
  border: 1px solid #f2c58f;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.6px;
}
.featured-copy h2 {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  font-size: 20px;
  line-height: 1.15;
  margin: 7px 0 6px;
  color: var(--brown);
}
.featured-copy > p {
  font-size: 11px;
  line-height: 1.5;
  color: #685347;
  margin: 0 0 11px;
  max-width: 520px;
}
.featured-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #6b4a35;
  flex-wrap: wrap;
}
.featured-meta strong {
  color: var(--brown);
}
.featured-copy > .button {
  position: absolute;
  bottom: 14px;
  right: 16px;
  min-width: 105px;
  padding: 10px 14px;
}
.featured-copy {
  padding-bottom: 55px;
}
.leaf-art {
  position: absolute;
  right: 13px;
  top: 12px;
  color: rgba(232, 151, 64, 0.3);
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  font-size: 56px;
  pointer-events: none;
}
.popular-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 2px 10px;
}
.popular-heading h2 {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  font-size: 30px;
  letter-spacing: -0.5px;
  color: var(--brown);
  margin: 0;
}
.popular-heading p {
  font-size: 13px;
  color: #9a8778;
  margin: 3px 0 0;
}
.popular-heading {
  padding-bottom: 10px;
}
.subtle-link {
  font-size: 13px;
  color: #7b6657;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.service-grid.list-view {
  grid-template-columns: 1fr;
}
.service-card {
  min-width: 0;
  border: 1px solid #efdfce;
  background: #fff;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(75, 40, 27, 0.025);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(75, 40, 27, 0.09);
  border-color: #e8c29c;
}
.service-card.is-selected {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(246, 135, 31, 0.16);
}
.service-card[hidden] {
  display: none !important;
}
.card-image-wrap {
  height: 112px;
  position: relative;
  overflow: hidden;
  background: #f7e3cc;
}
.service-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.service-card:hover .service-image {
  transform: scale(1.035);
}
.card-category-icon {
  position: absolute;
  top: 8px;
  left: 9px;
  background: #fffaf3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brown);
  font-size: 12px;
  box-shadow: 0 2px 7px rgba(50, 25, 14, 0.1);
}
.select-service {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(91, 56, 36, 0.2);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.95);
  display: grid;
  place-items: center;
  color: transparent;
}
.select-service .select-check {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 13px;
}
.select-service.selected {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
}
.popular-label {
  position: absolute;
  left: 46px;
  top: 15px;
  background: #ffead0;
  color: #814a25;
  border-radius: 7px;
  font-size: 7px;
  letter-spacing: 0.7px;
  font-weight: 900;
  padding: 4px 6px;
}
.card-content {
  padding: 11px 11px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-category-label {
  font-size: 11px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #b1743b;
  font-weight: 850;
  margin: 0 0 5px;
}
.card-content h3 {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  font-size: 20px;
  line-height: 1.2;
  min-height: 34px;
  margin: 0 0 6px;
  color: var(--brown);
  overflow-wrap: anywhere;
}
.card-description {
  font-size: 15px;
  line-height: 1.45;
  color: #7c6b5f;
  margin: 0 0 11px;
  min-height: 43px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 8px 0 10px;
  font-size: 16px;
  color: #8b7565;
  border-top: 1px solid #f8eee3;
}
.card-meta strong {
  color: var(--brown);
  font-size: 19px;
  white-space: nowrap;
}
.card-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.choose-button {
  background: #fff4e6;
  border: 1px solid #f4d5b5;
  color: var(--brown);
  border-radius: 7px;
  padding: 8px 9px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.choose-button:hover,
.choose-button[aria-pressed="true"] {
  background: #fde1bf;
  border-color: #efb778;
}
.card-book {
  font-size: 17px;
  flex: 1;
  padding: 9px 8px;
  min-height: 31px;
  gap: 7px;
}
.selection-sidebar {
  position: sticky;
  top: 15px;
  padding: 14px 13px;
}
.selection-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 13px;
  border-bottom: 1px solid #f1e3d3;
}
.bag-icon {
  font-size: 19px;
  color: var(--brown);
}
.selection-heading h2 {
  flex: 1;
  font-size: 12px;
}
.selection-heading h2 span {
  color: #9c806a;
  font-weight: 600;
}
.selection-heading > button {
  border: 0;
  background: transparent;
  color: var(--orange-deep);
  font-size: 9px;
  padding: 3px;
}
.selection-items {
  max-height: 390px;
  overflow: auto;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 10px 28px;
  color: #887365;
}
.cart-empty > span {
  font-size: 30px;
  color: #db9a57;
  margin-bottom: 10px;
}
.cart-empty strong {
  font-size: 11px;
  color: var(--brown);
}
.cart-empty p {
  font-size: 13px;
  line-height: 1.5;
  margin: 7px 0 0;
}
.selection-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 16px;
  gap: 9px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px solid #f2e4d5;
}
.selection-item > img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  background: #f6dec3;
}
.selection-item-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.selection-item-details strong {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  font-size: 11px;
  line-height: 1.25;
  color: var(--brown);
}
.selection-item-details small {
  font-size: 8px;
  color: #907b6b;
  line-height: 1.35;
}
.selection-item-details b {
  font-size: 13px;
  color: var(--brown);
}
.remove-selection {
  border: 0;
  background: transparent;
  color: #846d5e;
  font-size: 19px;
  line-height: 1;
  padding: 0;
}
.remove-selection:hover {
  color: #d96723;
}
.selection-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin: 14px 0;
  font-size: 13px;
  color: #8a7464;
}
.selection-total strong {
  font-size: 14px;
  color: var(--brown);
}
.proceed-button {
  border-radius: 7px;
  min-height: 42px;
}
.proceed-button span {
  font-size: 15px;
}
.secure-note {
  margin-top: 13px;
  background: #fff0df;
  border-radius: 9px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.secure-note > span {
  font-size: 20px;
  color: var(--brown);
}
.secure-note strong {
  display: block;
  font-size: 9px;
  color: var(--brown);
}
.secure-note p {
  font-size: 8px;
  color: #8e7a6b;
  margin: 4px 0 0;
  line-height: 1.4;
}
.empty-state {
  text-align: center;
  padding: 45px 15px;
  background: #fff;
  border: 1px dashed #e9c9a7;
  border-radius: 13px;
  color: #8b7565;
}
.empty-state[hidden] {
  display: none;
}
.empty-state > span {
  font-size: 38px;
  color: var(--orange);
}
.empty-state h3 {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  color: var(--brown);
  font-size: 23px;
  margin: 10px 0 6px;
}
.empty-state p {
  font-size: 12px;
  margin: 0 0 17px;
}
.load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 22px 0 3px;
}
.load-more-wrap button[hidden] {
  display: none;
}
.load-more-wrap .button {
  font-size: 17px;
}
.load-more-wrap small {
  font-size: 17px;
  opacity: 0.7;
}
.service-grid.list-view .service-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  flex-direction: row;
}
.service-grid.list-view .card-image-wrap {
  height: 100%;
  min-height: 145px;
}
.service-grid.list-view .card-content {
  padding: 15px 18px;
}
.service-grid.list-view .card-content h3 {
  min-height: 0;
  font-size: 18px;
}
.service-grid.list-view .card-description {
  min-height: 0;
  -webkit-line-clamp: 2;
  max-width: 650px;
}
.service-grid.list-view .card-actions {
  max-width: 400px;
}
.site-footer {
  background: var(--brown);
  color: #fcead4;
  padding: 23px clamp(20px, 4.8vw, 82px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-brand .brand-symbol {
  border-color: #fcead4;
  color: #fcead4;
  width: 34px;
  height: 34px;
  font-size: 21px;
}
.footer-brand strong {
  color: #fff0dc;
  font-size: 21px;
}
.footer-brand small {
  color: #eccca8;
  font-size: 6px;
  letter-spacing: 3px;
}
.site-footer > p {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  font-style: italic;
  font-size: 13px;
  color: #f5d9b8;
  margin: 0;
}
.footer-links {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #ffead5;
}
.footer-links a:hover {
  text-decoration: underline;
}
.site-footer > small {
  font-size: 9px;
  color: #d7b59b;
}
.mobile-cart-bar {
  display: none;
}
.install-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at top left, #ffe5c4, transparent 46%),
    linear-gradient(135deg, #fff8ed, #f4d8b8);
}
.install-card {
  width: min(100%, 500px);
  background: #fffdf9;
  border: 1px solid #edd8c1;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 25px 70px rgba(75, 40, 27, 0.13);
}
.install-card h1 {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  color: var(--brown);
  font-size: 29px;
  margin: 0 0 8px;
}
.install-card > p {
  color: #7b685b;
  line-height: 1.6;
}
.install-card .muted {
  font-size: 13px;
}
.brand-mark {
  height: 48px;
  width: 48px;
  border-radius: 50% 50% 48% 14%;
  background: var(--brown);
  color: #fff7e9;
  display: grid;
  place-items: center;
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  font-size: 30px;
  margin-bottom: 18px;
}
.brand-mark span {
  font-size: 11px;
  color: var(--orange);
  position: absolute;
  margin: 0 0 0 25px;
}
.form-stack {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}
.form-stack label,
.field-label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 750;
  color: var(--brown);
}
.form-stack input,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #e7d5c2;
  border-radius: 9px;
  background: #fffdf9;
  color: var(--ink);
  padding: 10px 12px;
  outline-color: var(--orange);
}
.field-hint {
  font-size: 13px;
  color: #9c8978;
  font-weight: 500;
}
.install-foot {
  font-size: 10px !important;
  border-top: 1px solid #f1e1cf;
  padding-top: 15px;
}
.install-help {
  background: #fff0df;
  border: 1px solid #edcaa6;
  border-radius: 10px;
  padding: 14px;
  font-size: 12px;
  color: #664431;
}
.notice {
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.5;
  margin: 14px 0;
}
.notice-success {
  background: #e9f5e8;
  color: #245b2c;
  border: 1px solid #c8e4c6;
}
.notice-error {
  background: #fff0e6;
  color: #883f1e;
  border: 1px solid #f3c7a6;
}
.admin-body {
  background: #f7f3ed;
  min-height: 100vh;
}
.admin-header {
  height: 70px;
  background: var(--brown);
  color: #fff7ed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 60px);
  gap: 18px;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  font-size: 20px;
}
.admin-brand .brand-symbol {
  border-color: #ffe5c8;
  color: #ffe5c8;
  width: 32px;
  height: 32px;
  font-size: 20px;
}
.admin-header nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.admin-header nav a,
.admin-header nav button {
  color: #f8e3cd;
  background: transparent;
  border: 0;
  border-radius: 7px;
  padding: 9px 11px;
  font-size: 17px;
}
.admin-header nav a.active,
.admin-header nav a:hover,
.admin-header nav button:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px clamp(16px, 4vw, 50px) 60px;
}
.admin-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}
.admin-page-heading h1 {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  color: var(--brown);
  font-size: 30px;
  margin: 0 0 5px;
}
.admin-page-heading p {
  font-size: 12px;
  color: #88766a;
  margin: 0;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 26px;
}
.stat-card {
  background: #fffdf9;
  border: 1px solid #efdfcf;
  border-radius: 13px;
  padding: 19px;
  box-shadow: 0 6px 18px rgba(75, 40, 27, 0.03);
}
.stat-card span {
  display: block;
  color: var(--brown-deep);
  font-size: 11px;
  margin-bottom: 11px;
}
.stat-card strong {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  font-size: 29px;
  color: var(--brown);
}
.stat-card small {
  display: block;
  margin-top: 7px;
  color: #a08c7e;
  font-size: 13px;
}
.admin-panel {
  background: #fffdf9;
  border: 1px solid #eddecd;
  border-radius: 13px;
  padding: 20px;
  margin-bottom: 19px;
  box-shadow: 0 5px 15px rgba(75, 40, 27, 0.025);
}
.admin-panel h2 {
  font-size: 15px;
  color: var(--brown);
  margin: 0 0 16px;
}
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.admin-toolbar form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-toolbar input,
.admin-toolbar select {
  min-height: 37px;
  border: 1px solid #e8d8c7;
  border-radius: 8px;
  background: #fffaf3;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--ink);
}
.admin-table-wrap {
  overflow: auto;
  border: 1px solid #f0e1d1;
  border-radius: 9px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.admin-table th,
.admin-table td {
  padding: 12px 13px;
  text-align: left;
  border-bottom: 1px solid #f1e6d9;
  vertical-align: middle;
  font-size: 17px;
}
.admin-table th {
  background: #fff4e5;
  color: #6f4c35;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  white-space: nowrap;
}
.admin-table td {
  color: #5f4e42;
}
.admin-table tr:last-child td {
  border-bottom: 0;
}
.admin-table tr:hover td {
  background: #fffcf7;
}
.status-pill {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
}
.status-pill.on {
  background: #e7f4e4;
  color: #306c32;
}
.status-pill.off {
  background: #f3e9e0;
  color: #8a6850;
}
.table-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.small-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff2e1;
  color: #6e4327;
  border: 1px solid #f0d4b7;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 13px;
}
.small-action.danger {
  background: #fff0eb;
  color: #9a442d;
  border-color: #f2c9bb;
}
.admin-two-col {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.admin-form {
  display: grid;
  gap: 13px;
}
.admin-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-form label {
  font-size: 11px;
  font-weight: 800;
  color: #634634;
}
.admin-form input[type="checkbox"] {
  width: 17px;
  min-height: 17px;
  accent-color: var(--orange);
}
.admin-form textarea {
  min-height: 95px;
  resize: vertical;
  line-height: 1.5;
}
.admin-form .check-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.admin-form .check-row label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
}
.admin-form .button {
  min-height: 39px;
}
.admin-form .field-hint {
  font-size: 13px;
  color: #958174;
  font-weight: 500;
  line-height: 1.5;
}
.image-preview {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid #ebd8c4;
  background: #fff1df;
}
.admin-filter-link {
  font-size: 12px;
  color: #94603a;
}
.admin-empty {
  padding: 28px;
  text-align: center;
  color: #8d796c;
  font-size: 12px;
}
.form-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 3px;
}
.dashboard-welcome {
  background: linear-gradient(105deg, #512d20, #6f4128);
  color: #fff2df;
  border-radius: 15px;
  padding: 24px 27px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.dashboard-welcome h2 {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  font-size: 25px;
  margin: 0 0 5px;
  font-weight: 500;
}
.dashboard-welcome p {
  font-size: 11px;
  line-height: 1.5;
  color: #efd3b7;
  margin: 0;
}
.dashboard-welcome .button {
  background: var(--orange);
  color: white;
}
.admin-setting-help {
  font-size: 13px;
  line-height: 1.55;
  color: #88776b;
}
.code-box {
  background: #f7efe5;
  border: 1px solid #ead7c2;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", sans-serif;
  font-size: 11px;
  overflow-wrap: anywhere;
}
@media (max-width: 1400px) {
  .catalog-shell {
    grid-template-columns: 220px minmax(0, 1fr) 235px;
    gap: 12px;
    padding-left: 22px;
    padding-right: 22px;
  }
  .site-header {
    padding-left: 25px;
    padding-right: 25px;
  }
  .main-nav {
    gap: 18px;
  }
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .card-image-wrap {
    height: 135px;
  }
  .featured-copy h2 {
    font-size: 18px;
  }
  .hero {
    padding-left: 35px;
  }
  .category-rail-wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
}
@media (max-width: 1140px) {
  .main-nav {
    gap: 12px;
  }
  .main-nav a {
    font-size: 11px;
  }
  .brand-wordmark strong {
    font-size: 25px;
  }
  .header-book {
    min-width: auto;
  }
  .catalog-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .hero-note {
    display: none;
  }
  .hero {
    background-position:
      center,
      right center;
  }
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .featured-service {
    display: none !important;
    /* min-height: 190px; */
  }
  .featured-service > img {
    min-height: 190px;
  }
}
@media (max-width: 850px) {
  .site-header {
    height: 66px;
    padding: 0 16px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .header-book {
    min-width: 0;
    padding: 10px 13px;
  }
  .header-book span {
    display: inline;
  }
  .header-search {
    font-size: 25px;
  }
  .brand-symbol {
    width: 35px;
    height: 35px;
    font-size: 21px;
  }
  .brand-wordmark strong {
    font-size: 23px;
  }
  .category-rail-wrap {
    padding: 12px 14px;
  }
  .rail-controls {
    display: none;
  }
  .catalog-shell {
    padding: 15px 14px 95px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .category-sidebar {
    display: none;
    position: fixed;
    z-index: 40;
    left: 12px;
    right: 12px;
    top: 76px;
    bottom: 88px;
    overflow: auto;
    box-shadow: 0 22px 70px rgba(41, 21, 13, 0.3);
    background: #fffaf2;
  }
  .category-sidebar.mobile-open {
    display: block;
  }
  .mobile-close {
    display: block;
  }
  .category-sidebar .sidebar-category {
    min-height: 43px;
    font-size: 12px;
  }
  .category-sidebar .help-card {
    margin-bottom: 8px;
  }
  .service-content {
    grid-column: 1;
  }
  .selection-sidebar {
    display: none;
  }
  .hero {
    min-height: 245px;
    padding: 25px 20px;
    background-position: 57% center;
  }
  .hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(255, 240, 219, 0.98),
      rgba(255, 236, 210, 0.86) 52%,
      rgba(255, 231, 202, 0.26)
    );
  }
  .hero-copy {
    z-index: 1;
    max-width: 440px;
  }
  .hero h1 {
    font-size: 37px;
    max-width: 350px;
  }
  .hero-copy > p:not(.eyebrow) {
    max-width: 350px;
    font-size: 12px;
  }
  .hero-search {
    max-width: 390px;
  }
  .results-toolbar {
    flex-wrap: wrap;
  }
  .results-title {
    width: 100%;
    justify-content: space-between;
  }
  .toolbar-controls {
    width: 100%;
    justify-content: space-between;
  }
  .featured-service {
    grid-template-columns: 32% 1fr;
  }
  .featured-service > img {
    width: 34%;
  }
  .featured-service:before {
    left: 23%;
    width: 18%;
  }
  .featured-copy {
    padding-left: 7px;
    padding-right: 12px;
  }
  .featured-copy > .button {
    right: 12px;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-image-wrap {
    height: 150px;
  }
  .card-actions {
    flex-wrap: wrap;
  }
  .choose-button {
    flex: 0 0 auto;
  }
  .card-book {
    min-width: 0;
  }
  .mobile-cart-bar {
    display: flex;
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--brown);
    color: #fff3e2;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 25px rgba(52, 27, 17, 0.17);
  }
  .mobile-cart-bar > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .mobile-cart-bar strong {
    font-size: 18px;
  }
  .mobile-cart-bar small {
    font-size: 13px;
    color: #efd3b9;
  }
  .mobile-cart-bar button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-width: 125px;
    border: 0;
    border-radius: 8px;
    background: var(--orange);
    color: white;
    padding: 12px 17px;
    font-size: 14px;
    font-weight: 850;
  }
  .mobile-cart-bar button span {
    background: white;
    color: var(--brown);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 17px;
  }
  .mobile-cart-bar button:disabled {
    background: #a38a77;
  }
  .site-footer {
    padding: 20px;
    justify-content: center;
    text-align: center;
  }
  .footer-links {
    width: 100%;
    justify-content: center;
  }
  .site-footer > small {
    width: 100%;
  }
  .category-menu-open:after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(39, 19, 11, 0.36);
    z-index: 30;
  }
}
@media (max-width: 520px) {
  .site-header {
    gap: 8px;
  }
  .brand {
    gap: 7px;
  }
  .brand-wordmark strong {
    font-size: 20px;
    letter-spacing: -0.8px;
  }
  .brand-wordmark small {
    letter-spacing: 3px;
  }
  .header-actions {
    gap: 3px;
  }
  .header-search {
    width: 27px;
  }
  .header-book {
    font-size: 13px;
    padding: 10px 11px;
    gap: 6px;
  }
  .header-book span {
    display: none;
  }
  .hero {
    min-height: 250px;
    background-position: 58% center;
    padding: 23px 16px;
  }
  .hero h1 {
    font-size: 35px;
    max-width: 310px;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 11px;
    max-width: 310px;
  }
  .hero-search {
    height: 43px;
  }
  .category-pill {
    padding: 9px 13px;
    font-size: 15px;
  }
  .category-rail-wrap {
    padding: 10px;
  }
  .catalog-shell {
    padding-left: 11px;
    padding-right: 11px;
  }
  .results-title .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .results-title > span {
    font-size: 13px;
  }
  .sort-control {
    font-size: 13px;
  }
  .sort-control select {
    max-width: 142px;
  }
  .featured-service {
    min-height: 190px;
    grid-template-columns: 31% 1fr;
  }
  .featured-service > img {
    width: 33%;
    min-height: 190px;
  }
  .featured-service:before {
    left: 20%;
    width: 18%;
  }
  .featured-copy {
    padding: 12px 10px 57px 3px;
  }
  .featured-tag {
    font-size: 7px;
  }
  .featured-copy h2 {
    font-size: 17px;
    line-height: 1.1;
  }
  .featured-copy > p {
    font-size: 9px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
  }
  .featured-meta {
    font-size: 8px;
    gap: 8px;
  }
  .featured-meta strong {
    font-size: 8px;
  }
  .featured-copy > .button {
    bottom: 10px;
    right: 10px;
    min-height: 30px;
    padding: 8px 13px;
    font-size: 9px;
  }
  .leaf-art {
    display: none;
  }

  .popular-heading h2 {
    font-size: 34px;
  }
  .popular-heading p,
  .subtle-link {
    font-size: 12px;
  }

  .service-grid {
    gap: 20px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .card-image-wrap {
    height: 116px;
  }
  .card-category-icon {
    width: 25px;
    height: 25px;
    font-size: 13px;
    top: 6px;
    left: 6px;
  }
  .select-service {
    right: 6px;
    top: 6px;
    width: 25px;
    height: 25px;
  }
  .popular-label {
    display: none;
  }
  .card-content {
    padding: 9px 8px 10px;
  }
  .card-category-label {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .card-content h3 {
    font-size: 22px;
    min-height: 32px;
    margin-bottom: 5px;
  }
  .card-description {
    font-size: 13px;
    line-height: 1.4;
    min-height: 50px;
    margin-bottom: 7px;
    -webkit-line-clamp: 4;
  }
  .card-meta {
    padding: 7px 0 8px;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .card-meta strong {
    font-size: 22px;
  }
  .card-meta span {
    font-size: 14px;
  }
  .card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .choose-button,
  .card-book {
    font-size: 16px;
    padding: 8px 6px;
    width: 100%;
    justify-content: center;
  }
  .service-grid.list-view .service-card {
    grid-template-columns: 115px minmax(0, 1fr);
  }
  .service-grid.list-view .card-image-wrap {
    min-height: 100%;
    height: auto;
  }
  .service-grid.list-view .card-content {
    padding: 10px;
  }
  .service-grid.list-view .card-description {
    min-height: 0;
  }
  .service-grid.list-view .card-actions {
    display: flex;
    flex-wrap: wrap;
  }
  .service-grid.list-view .card-content h3 {
    font-size: 14px;
  }
  .mobile-cart-bar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .mobile-cart-bar strong {
    font-size: 16px;
  }
  .mobile-cart-bar button {
    min-width: 112px;
    font-size: 13px;
    padding: 11px 13px;
  }
  .install-card {
    padding: 23px;
  }
  .install-card h1 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.button-primary {
  background: var(--brown);
  color: #fff;
}
.hero-search button {
  display: grid;
  align-items: center;
  justify-content: center;
}

.disableBtn {
  cursor: wait;
  color: #958a806e;
}
/* Search field */

/* Layout refinement: remove the right-hand selection panel and give services room. */
.catalog-shell {
  grid-template-columns: 235px minmax(0, 1fr) !important;
}
.service-content {
  min-width: 0;
  grid-column: 2;
}
@media (max-width: 1140px) {
  .catalog-shell {
    grid-template-columns: 220px minmax(0, 1fr) !important;
  }
}
@media (max-width: 850px) {
  .catalog-shell {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .service-content {
    grid-column: 1;
  }
}
