:root {
  --brown-deep: #1a3a28;
  --brown-dark: #2d5a3d;
  --brown-mid: #3d7a52;
  --brown-warm: #5a9970;
  --caramel: #c8a96e;
  --cream-dark: #d4c9a8;
  --cream: #ede8d0;
  --cream-light: #f5f0e8;
  --white: #fafaf7;
  --text-dark: #0d1f16;
  --text-mid: #1a3a28;
  --text-light: #4a7a5a;
  --shadow: 0 16px 34px rgba(26, 58, 40, 0.15);
  --menu-surface: #fffdf8;
  --menu-ink: #173523;
  --menu-muted: #547360;
  --menu-line: rgba(26, 58, 40, 0.1);
  --menu-shadow: 0 18px 42px rgba(30, 54, 38, 0.1), 0 2px 8px rgba(30, 54, 38, 0.05);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: var(--cream-light);
  color: var(--text-dark);
  font-family: Lato, Arial, sans-serif;
  overflow-x: hidden;
}

.showcase-body {
  background-color: #f6f2e8;
  color: var(--menu-ink);
  font-family: "DM Sans", sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233D7A52' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.hidden {
  display: none !important;
}

.page-shell,
.admin-layout {
  position: relative;
  z-index: 1;
}

.showcase-body .page-shell,
.showcase-body main {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 5vw, 2.5rem);
  background: var(--brown-deep);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.showcase-body .topbar {
  position: relative;
  padding-block: clamp(1rem, 2.6vw, 1.65rem);
  box-shadow: 0 12px 32px rgba(14, 39, 25, 0.16);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.logo-public {
  justify-content: center;
}

.brand-logo-image {
  display: block;
  width: min(306px, 78vw);
  max-width: 306px;
  max-height: 227px;
  height: auto;
  object-fit: contain;
}

.showcase-body .brand-logo-image {
  filter: drop-shadow(0 7px 18px rgba(4, 25, 14, 0.12));
}

.logo-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--caramel);
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.logo-copy {
  display: grid;
  gap: 0.15rem;
}

.logo-copy strong {
  color: var(--cream-light);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1;
}

.logo-copy span {
  color: var(--cream-dark);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-link,
.admin-btn-primary,
.admin-btn-secondary {
  border-radius: 999px;
  padding: 0.78rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.admin-link:hover,
.admin-btn-primary:hover,
.admin-btn-secondary:hover {
  transform: translateY(-1px);
}

.admin-link {
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel,
.admin-card {
  background: linear-gradient(145deg, rgba(250, 250, 247, 0.96), rgba(237, 232, 208, 0.92));
  border: 1px solid rgba(61, 122, 82, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 0.85rem clamp(1rem, 5vw, 2.5rem) 1rem;
  padding: clamp(0.9rem, 2.4vw, 1.15rem) clamp(1rem, 2.8vw, 1.35rem);
  border-radius: 20px;
  background:
    radial-gradient(circle at right center, rgba(200, 169, 110, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(250, 250, 247, 0.98), rgba(244, 239, 224, 0.96));
}

.hero-copy {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.55rem;
}

.hero-eyebrow,
.section-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--brown-warm);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero-panel h1,
.admin-title,
.admin-section-title,
.cat-section-title,
.modal-product-name {
  margin: 0;
  color: var(--brown-deep);
  font-family: "Playfair Display", Georgia, serif;
}

.hero-panel h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.hero-description,
.admin-copy {
  max-width: 780px;
  margin: 0;
  color: var(--brown-dark);
  font-size: clamp(0.98rem, 1.8vw, 1.15rem);
  font-weight: 700;
  line-height: 1.45;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.35rem clamp(1rem, 5vw, 2.5rem) 1.15rem;
}

.showcase-body .service-strip {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.service-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(61, 122, 82, 0.12);
  border-radius: 20px;
  background: rgba(250, 250, 247, 0.88);
  box-shadow: 0 10px 24px rgba(26, 58, 40, 0.08);
}

.showcase-body .service-card {
  border-color: rgba(26, 58, 40, 0.08);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 12px 28px rgba(30, 54, 38, 0.07);
}

.service-card-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 58, 40, 0.12);
}

.service-label {
  color: var(--text-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-card strong {
  color: var(--brown-deep);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  line-height: 1.2;
}

.showcase-body .service-card strong {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
}

.service-meta {
  color: var(--text-light);
  font-size: 0.78rem;
  line-height: 1.45;
}

.service-hours {
  display: grid;
  gap: 0.24rem;
}

.service-hours-line {
  color: var(--brown-deep);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.tabs {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.95rem clamp(1rem, 5vw, 2.5rem);
  background: var(--brown-deep);
  box-shadow: 0 8px 24px rgba(12, 34, 21, 0.15);
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  padding: 0.72rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tab:active {
  transform: scale(0.97);
}

.tab.active {
  background: var(--caramel);
  border-color: var(--caramel);
  color: var(--white);
  box-shadow: 0 7px 18px rgba(8, 27, 16, 0.18);
}

.section {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 1.35rem clamp(1rem, 5vw, 2.5rem) 2rem;
}

.showcase-body .section {
  padding-top: clamp(1.4rem, 3vw, 2.2rem);
}

.products-grid {
  display: grid;
  gap: clamp(2.2rem, 5vw, 3.6rem);
  width: 100%;
  min-width: 0;
  max-width: 1240px;
  margin: 0 auto;
}

.cat-section {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  scroll-margin-top: 140px;
  content-visibility: auto;
  contain-intrinsic-block-size: auto 720px;
}

.cat-section-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.15rem;
  padding: 0;
  border: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.cat-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--caramel), rgba(200, 169, 110, 0.1));
}

.cat-products-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.45rem);
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  background: var(--menu-surface);
  border: 1px solid rgba(26, 58, 40, 0.07);
  border-radius: 22px;
  box-shadow: var(--menu-shadow);
  isolation: isolate;
  animation: menu-card-enter 0.52s both;
  animation-delay: calc(min(var(--card-order), 6) * 55ms);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(30, 54, 38, 0.15), 0 4px 12px rgba(30, 54, 38, 0.06);
}

.product-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  aspect-ratio: 5 / 4;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  background:
    radial-gradient(circle at top right, rgba(250, 250, 247, 0.24), transparent 26%),
    linear-gradient(135deg, rgba(61, 122, 82, 0.22), rgba(200, 169, 110, 0.28)),
    var(--cream);
  color: var(--brown-deep);
  font-size: 4.4rem;
  overflow: hidden;
  cursor: zoom-in;
}

.product-thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 24%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(11, 31, 19, 0.07));
}

.product-thumb img,
.modal-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.32s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-thumb img.is-loaded,
.modal-product-thumb img.is-loaded {
  opacity: 1;
}

.product-card:hover .product-thumb img {
  transform: scale(1.045);
}

.product-badge,
.modal-product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  border-radius: 999px;
  background: rgba(46, 119, 72, 0.94);
  color: var(--white);
  padding: 0.38rem 0.72rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  box-shadow: 0 8px 18px rgba(15, 49, 27, 0.18);
  backdrop-filter: blur(8px);
}

.product-info {
  display: grid;
  gap: 0.68rem;
  flex: 1;
  min-width: 0;
  padding: 1.05rem 1.1rem 1.1rem;
  background: var(--menu-surface);
  cursor: pointer;
}

.product-name {
  color: var(--brown-deep);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.product-desc {
  color: var(--text-light);
  display: -webkit-box;
  min-height: 4.35em;
  margin: 0;
  overflow: hidden;
  font-size: 0.83rem;
  line-height: 1.48;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.15rem;
}

.price-stack,
.modal-product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.28rem 0.38rem;
  min-width: 0;
}

.price-current {
  color: var(--brown-mid);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.price-prefix {
  color: var(--text-light);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.price-original {
  color: var(--text-light);
  font-size: 0.74rem;
  text-decoration: line-through;
}

.view-btn {
  border: none;
  border-radius: 999px;
  background: #2f7a4c;
  color: var(--white);
  padding: 0.64rem 0.92rem;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 9px 20px rgba(47, 122, 76, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.view-btn:hover {
  background: #266b40;
  box-shadow: 0 12px 24px rgba(47, 122, 76, 0.24);
  transform: translateY(-1px);
}

.view-btn:active {
  transform: scale(0.97);
}

@keyframes menu-card-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-product {
  width: min(680px, calc(100% - 1rem));
  max-height: 92dvh;
  padding: 0;
  border: none;
  border-radius: 28px;
  background: transparent;
}

.modal-product::backdrop {
  background: rgba(7, 24, 14, 0.68);
  backdrop-filter: blur(7px);
}

.modal-product-content {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 92dvh;
  overflow-y: auto;
  background: var(--menu-surface);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(4, 20, 11, 0.34);
  animation: modal-product-enter 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal-product-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.3rem;
  height: 2.3rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--text-dark);
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(7, 24, 14, 0.16);
  backdrop-filter: blur(10px);
}

.modal-product-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 5 / 4;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 22%),
    linear-gradient(135deg, rgba(61, 122, 82, 0.22), rgba(200, 169, 110, 0.32)),
    var(--cream);
  font-size: 6rem;
  flex: 0 0 auto;
  overflow: hidden;
}

.modal-product-body {
  display: grid;
  gap: 0.9rem;
  padding: 1.45rem 1.5rem 1.65rem;
  background: var(--menu-surface);
}

.modal-product-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.modal-product-desc {
  margin: 0;
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.62;
}

.modal-meta {
  display: grid;
  gap: 0.75rem;
}

.modal-product-sizes {
  display: grid;
  gap: 0.6rem;
  padding: 0.35rem 0;
  border: 0;
  border-top: 1px solid var(--menu-line);
  border-radius: 0;
  background: transparent;
}

.modal-size-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.68rem 0;
  border-bottom: 1px solid var(--menu-line);
}

.modal-size-label {
  color: var(--brown-deep);
  font-weight: 600;
}

.modal-size-values {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--brown-mid);
}

@keyframes modal-product-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-size-original {
  color: var(--text-light);
  font-size: 0.8rem;
  text-decoration: line-through;
}

.menu-footer {
  display: grid;
  gap: 0.2rem;
  padding: 0 1rem 2rem;
  color: var(--text-light);
  text-align: center;
}

.menu-footer strong {
  color: var(--brown-deep);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
}

.admin-body {
  min-height: 100vh;
}

.admin-topbar {
  position: relative;
}

.admin-layout {
  display: grid;
  gap: 1.5rem;
  max-width: 1260px;
  margin: 0 auto;
  padding: 1.1rem clamp(1rem, 5vw, 2.5rem) 2rem;
}

.admin-intro {
  padding: 1.5rem;
}

.admin-title {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.admin-btn-primary {
  border: none;
  background: var(--brown-deep);
  color: var(--white);
}

.admin-btn-secondary {
  border: 1.5px solid var(--brown-deep);
  background: transparent;
  color: var(--brown-deep);
}

.import-box {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1.5px dashed rgba(61, 122, 82, 0.36);
  border-radius: 16px;
  color: var(--text-mid);
  font-weight: 700;
}

.import-box input {
  width: 100%;
}

.admin-message {
  min-height: 1.2rem;
  margin: 0.9rem 0 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.admin-grid {
  display: grid;
  gap: 1.5rem;
}

.admin-card {
  padding: 1.4rem;
}

.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-section-title {
  font-size: 1.35rem;
}

.admin-form-grid,
.product-editor-grid {
  display: grid;
  gap: 0.95rem;
}

.brand-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.remote-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-grid {
  grid-template-columns: 1fr;
}

.admin-field {
  display: grid;
  gap: 0.45rem;
  color: var(--text-mid);
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-field-full {
  grid-column: 1 / -1;
}

.admin-input {
  width: 100%;
  border: 1.5px solid rgba(212, 201, 168, 0.92);
  border-radius: 12px;
  background: var(--white);
  color: var(--text-dark);
  padding: 0.82rem 0.95rem;
}

.admin-input:focus {
  border-color: var(--brown-mid);
  outline: none;
}

.admin-textarea {
  min-height: 88px;
  resize: vertical;
}

.admin-stack {
  display: grid;
  gap: 0.95rem;
}

.brand-logo-preview-box,
.schedule-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(61, 122, 82, 0.12);
  border-radius: 18px;
  background: rgba(250, 250, 247, 0.92);
}

.brand-logo-preview-box {
  grid-column: 1 / -1;
  align-content: start;
  max-width: 360px;
}

.brand-logo-preview {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 1rem;
  border: 1px dashed rgba(61, 122, 82, 0.28);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(61, 122, 82, 0.1), rgba(200, 169, 110, 0.1)), var(--cream);
  color: var(--brown-deep);
  font-weight: 700;
}

.brand-logo-preview img {
  max-width: 240px;
  width: auto;
  max-height: 100px;
  height: auto;
  object-fit: contain;
  display: block;
}

.schedule-editor {
  display: grid;
  gap: 0.75rem;
}

.schedule-row {
  display: grid;
  grid-template-columns: minmax(120px, 160px) auto minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 0.95rem;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(61, 122, 82, 0.1);
}

.schedule-day {
  color: var(--brown-deep);
  font-weight: 800;
}

.schedule-time-field {
  min-width: 0;
}

.admin-section-head-compact {
  margin-bottom: 0;
}

.admin-actions-end {
  justify-content: flex-end;
}

.remote-auth-box {
  display: grid;
  gap: 0.95rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(61, 122, 82, 0.12);
}

.category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(200, 169, 110, 0.18);
  color: var(--brown-deep);
  padding: 0.55rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-preview {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px dashed rgba(61, 122, 82, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(61, 122, 82, 0.14), rgba(200, 169, 110, 0.16)),
    var(--cream);
  color: var(--brown-deep);
  font-size: 3.5rem;
  overflow: hidden;
}

.product-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-mid);
  font-weight: 700;
}

.help-note {
  margin: 0;
  color: var(--text-light);
  font-size: 0.8rem;
  line-height: 1.5;
}

.empty-state {
  color: var(--text-light);
  text-align: center;
  padding: 1.5rem;
}

.catalog-manager {
  display: grid;
  gap: 0.95rem;
}

.catalog-category {
  overflow: hidden;
  background: rgba(250, 250, 247, 0.92);
  border: 1px solid rgba(61, 122, 82, 0.12);
  border-radius: 22px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.catalog-category.is-dragging,
.category-product-row.is-dragging {
  opacity: 0.6;
}

.catalog-category.is-drop-target,
.category-product-row.is-drop-target,
.category-product-list.is-drop-target {
  border-color: rgba(61, 122, 82, 0.42);
  box-shadow: 0 0 0 3px rgba(61, 122, 82, 0.1);
}

.catalog-category.is-drop-target[data-drop-position="before"],
.category-product-row.is-drop-target[data-drop-position="before"] {
  box-shadow: inset 0 4px 0 var(--brown-mid), 0 0 0 3px rgba(61, 122, 82, 0.1);
}

.catalog-category.is-drop-target[data-drop-position="after"],
.category-product-row.is-drop-target[data-drop-position="after"] {
  box-shadow: inset 0 -4px 0 var(--brown-mid), 0 0 0 3px rgba(61, 122, 82, 0.1);
}

.catalog-category-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.catalog-category-main {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.catalog-category-copy,
.category-product-copy {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.catalog-category-copy strong {
  color: var(--brown-deep);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.18rem;
}

.catalog-category-copy span,
.category-product-copy span {
  color: var(--text-light);
  font-size: 0.84rem;
}

.catalog-category-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: rgba(61, 122, 82, 0.08);
  color: var(--brown-deep);
  font-size: 1.2rem;
  font-weight: 900;
}

.drag-handle {
  flex: 0 0 auto;
  color: var(--brown-warm);
  font-size: 1.2rem;
  letter-spacing: -0.2em;
  cursor: grab;
  touch-action: none;
  user-select: none;
  padding: 0.45rem;
  margin: -0.45rem;
}

.drag-handle:active {
  cursor: grabbing;
}

.catalog-category-body {
  display: grid;
  gap: 1rem;
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid rgba(61, 122, 82, 0.1);
}

.catalog-category-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.9rem;
  align-items: end;
  padding-top: 1rem;
}

.catalog-category-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.catalog-inline-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.size-editor-list {
  display: grid;
  gap: 0.75rem;
}

.size-editor-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
  padding: 0.9rem;
  border: 1px solid rgba(61, 122, 82, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.category-product-list {
  display: grid;
  gap: 0.7rem;
  min-height: 1rem;
  padding: 0.25rem 0;
  border-radius: 18px;
}

.category-product-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(61, 122, 82, 0.12);
  border-radius: 18px;
  background: var(--white);
  color: inherit;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.category-product-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(26, 58, 40, 0.08);
}

.category-product-copy strong,
.category-product-price {
  color: var(--brown-deep);
  font-weight: 800;
}

.category-empty {
  border: 1px dashed rgba(61, 122, 82, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
}

.admin-modal {
  width: min(880px, calc(100vw - 2rem));
  max-width: 880px;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.admin-modal::backdrop {
  background: rgba(13, 31, 22, 0.55);
  backdrop-filter: blur(3px);
}

.admin-modal-card {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  background: linear-gradient(145deg, rgba(250, 250, 247, 0.98), rgba(237, 232, 208, 0.96));
  border: 1px solid rgba(61, 122, 82, 0.12);
  border-radius: 24px;
}

.admin-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-modal-close {
  border: 0;
  background: rgba(61, 122, 82, 0.08);
  color: var(--brown-deep);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  font-size: 1.45rem;
  line-height: 1;
}

.product-modal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

code {
  padding: 0.15rem 0.35rem;
  border-radius: 0.35rem;
  background: rgba(26, 58, 40, 0.08);
}

@media (max-width: 900px) {
  .hero-panel,
  .brand-grid,
  .schedule-row,
  .remote-grid,
  .catalog-category-tools,
  .product-modal-grid {
    grid-template-columns: 1fr;
  }

  .service-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-inline-actions {
    justify-content: flex-start;
  }

  .cat-products-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
  }
}

@media (max-width: 640px) {
  .tabs {
    top: 0;
    gap: 0.45rem;
    padding: 0.68rem 0.85rem;
  }

  .tab {
    padding: 0.62rem 0.85rem;
    font-size: 0.74rem;
  }

  .hero-panel {
    gap: 0.45rem;
    margin: 0.7rem 1rem 0.85rem;
    padding: 0.8rem 0.9rem;
    border-radius: 18px;
  }

  .hero-description {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .service-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-inline: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.9rem;
  }

  .service-card {
    gap: 0.2rem;
    padding: 0.75rem 0.55rem;
    border-radius: 14px;
  }

  .service-label {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .service-card strong {
    font-size: 0.76rem;
    line-height: 1.18;
    font-family: Lato, Arial, sans-serif;
    font-weight: 800;
  }

  .service-hours-line,
  .service-meta {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .section {
    padding: 1.15rem 0.85rem 1.8rem;
  }

  .cat-section-title {
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 1rem;
    letter-spacing: 0.065em;
  }

  .cat-products-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.78rem;
    width: 100%;
    max-width: 100%;
  }

  .product-card {
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(30, 54, 38, 0.09), 0 2px 7px rgba(30, 54, 38, 0.04);
  }

  .product-thumb {
    aspect-ratio: 5 / 4;
    font-size: 2.7rem;
  }

  .product-info {
    gap: 0.52rem;
    padding: 0.72rem 0.68rem 0.7rem;
  }

  .product-name {
    font-size: 0.9rem;
    line-height: 1.18;
  }

  .product-desc {
    display: -webkit-box;
    min-height: auto;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.68rem;
    line-height: 1.42;
  }

  .product-footer {
    display: grid;
    align-items: end;
    gap: 0.55rem;
    grid-template-columns: 1fr;
  }

  .price-current {
    font-size: 0.98rem;
  }

  .price-prefix {
    font-size: 0.61rem;
    font-weight: 500;
  }

  .price-original {
    font-size: 0.68rem;
  }

  .view-btn {
    width: 100%;
    padding: 0.52rem 0.55rem;
    font-size: 0.69rem;
    white-space: nowrap;
    box-shadow: 0 7px 16px rgba(47, 122, 76, 0.16);
  }

  .modal-product {
    width: calc(100% - 0.7rem);
    max-height: 94dvh;
  }

  .modal-product-content {
    max-height: 94dvh;
    border-radius: 24px;
  }

  .modal-product-thumb {
    aspect-ratio: 5 / 4;
    font-size: 4.3rem;
  }

  .modal-product-body {
    gap: 0.75rem;
    padding: 1.05rem 1.1rem 1.25rem;
  }

  .modal-product-name {
    font-size: 1.45rem;
  }

  .modal-product-desc {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .modal-product-price .price-current {
    font-size: 1.18rem;
  }

  .product-badge {
    top: 0.6rem;
    right: 0.6rem;
    padding: 0.32rem 0.58rem;
    font-size: 0.57rem;
  }

  .brand-logo-image {
    width: min(220px, 72vw);
  }

  .admin-actions,
  .catalog-inline-actions {
    flex-direction: column;
  }

  .size-editor-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .modal-product-content {
    animation: none;
  }

  .product-thumb img,
  .modal-product-thumb img,
  .product-card,
  .view-btn {
    transition: none;
  }
}
