:root {
  --ink: #3f2c1d;
  --text: #5f4937;
  --muted: #7d6a58;
  --paper: #fff7e9;
  --paper-soft: #fffaf2;
  --cream: #f4dfc3;
  --peach: #efb98f;
  --clay: #b96f4e;
  --sage: #87a985;
  --sage-deep: #486b50;
  --brown: #4b3220;
  --line: rgba(80, 45, 20, 0.14);
  --shadow: 0 20px 50px rgba(83, 52, 27, 0.13);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

[hidden] { display: none !important; }

.admin-delete-control { margin-top: 1rem; }
.admin-delete-control summary { cursor: pointer; color: #8b3427; font-weight: 800; padding: .5rem 0; }
.admin-delete-control form { padding: 1rem; border: 1px solid var(--line); border-radius: 14px; }
.admin-delete-control form p { margin-bottom: .75rem; }

button:disabled { opacity: 0.6; cursor: not-allowed; }

.hero-layout > *, .category-hero-grid > *, .footer-inner > *,
.cart-inner > *, .modal-panel > *, .admin-row > * {
  min-width: 0;
}

h1, h2, h3, .brand, .price-row { overflow-wrap: anywhere; }

.hero-copy h1, .category-hero h1 { hyphens: auto; }

.nav-links { flex-wrap: wrap; }

.admin-page .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-basis: 100%;
  order: 3;
}

.product-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 16px;
  background: var(--paper-soft);
}

.view-count { color: var(--sage-deep); font-weight: 800; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 0%, rgba(239, 185, 143, 0.38), transparent 18rem),
    radial-gradient(circle at 0% 52%, rgba(135, 169, 133, 0.26), transparent 20rem),
    linear-gradient(180deg, #fff4e6 0%, #f8ead8 52%, #fffaf2 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(90deg, rgba(80, 45, 20, 0.2) 1px, transparent 1px),
    linear-gradient(rgba(80, 45, 20, 0.2) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 30;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--brown);
  color: #fff;
  padding: 0.7rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(80, 45, 20, 0.1);
  background: rgba(255, 247, 233, 0.82);
  backdrop-filter: blur(18px);
}

.topbar {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
}

.brand-mark {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border: 2px solid rgba(75, 50, 32, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 64% 32%, #fff 0 0.18rem, transparent 0.2rem),
    radial-gradient(circle at 38% 58%, #f3cb77 0 0.28rem, transparent 0.3rem),
    linear-gradient(135deg, var(--peach), var(--sage));
  box-shadow: 0 10px 20px rgba(75, 50, 32, 0.14);
}

.nav-links {
  display: none;
}

.language-switch { display: flex; gap: .25rem; align-items: center; }
.language-switch a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .4rem .55rem; border: 1px solid transparent; border-radius: 999px; font-size: .8rem; font-weight: 800; }
.language-switch a[aria-current="true"] { background: #fffaf2; border-color: var(--brown); }
.language-switch svg { width: 24px; height: 16px; flex-shrink: 0; border-radius: 2px; box-shadow: 0 0 0 1px #0002; }
.language-switch a:hover { background: #fffaf2; }
.language-switch a:focus-visible { outline: 3px solid var(--brown); outline-offset: 2px; }
@media (max-width: 420px) { .language-switch { margin-left: auto; } }

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.8);
  padding: 0.52rem 0.72rem;
  color: var(--brown);
  font-size: 0.88rem;
  font-weight: 800;
}

.cart-count {
  min-width: 1.35rem;
  height: 1.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--sage-deep);
  color: #fff;
  font-size: 0.78rem;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-section {
  padding: 2.25rem 0 2rem;
}

.hero-layout {
  display: grid;
  gap: 1.6rem;
}

.eyebrow,
.section-kicker,
.card-label,
.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow {
  border: 1px solid rgba(72, 51, 31, 0.14);
  background: #e8d0b5;
  color: #48331f;
  padding: 0.45rem 0.75rem;
}

.hero-copy h1 {
  margin-top: 0.95rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 0.92;
  max-width: 9ch;
}

.hero-text {
  max-width: 39rem;
  margin-top: 1rem;
  color: var(--text);
  font-size: 1.06rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  border-radius: 999px;
  padding: 0.78rem 1rem;
  font-weight: 900;
}

.button.primary {
  background: var(--brown);
  color: #fff;
  box-shadow: 0 16px 34px rgba(75, 50, 32, 0.22);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.78);
  color: var(--brown);
}

.hero-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  align-items: start;
  gap: 0.75rem;
}

.mini-product {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.82);
  box-shadow: var(--shadow);
}

.mini-product.is-front {
  width: 100%;
  padding: 0.85rem;
}

.mini-product.is-front h2 {
  margin-top: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.mini-product.is-front p {
  color: var(--muted);
  font-size: 0.95rem;
}

.mini-product.is-back {
  width: 100%;
  padding: 0.75rem;
}

.intro-section {
  padding: 1rem 0 2.25rem;
}

.intro-grid {
  display: grid;
  gap: 0.8rem;
}

.intro-grid h2,
.section-heading h2,
.cart-inner h2 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 9vw, 3.6rem);
  line-height: 1;
}

.intro-grid p:not(.section-kicker),
.section-heading + p,
.cart-inner p {
  color: var(--text);
}

.section-block {
  padding: 2.5rem 0;
}

.section-heading {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.section-kicker {
  color: var(--sage-deep);
  letter-spacing: 0;
}

.category-grid,
.product-grid,
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.category-card,
.product-card,
.process-list article,
.cart-preview {
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.82);
  box-shadow: var(--shadow);
}

.category-card {
  display: block;
  position: relative;
  min-height: 17rem;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 1rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-0.18rem);
  box-shadow: 0 24px 56px rgba(83, 52, 27, 0.18);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(90deg, rgba(80, 45, 20, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(80, 45, 20, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
}

.category-card > * {
  position: relative;
  z-index: 1;
}

.card-label,
.status {
  background: rgba(232, 208, 181, 0.76);
  color: var(--brown);
  padding: 0.34rem 0.55rem;
}

.category-card h3 {
  margin-top: 1rem;
  overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.12;
}

.category-card p {
  max-width: 18rem;
  margin-top: 0.55rem;
  color: var(--text);
}

.card-link,
.price-row a {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--sage-deep);
  font-weight: 900;
}

.category-art,
.product-art {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(75, 50, 32, 0.12);
  background: linear-gradient(135deg, #e9c39f, #fff0ce 68%, #d9e5c6);
}

.category-art {
  position: relative;
  margin-top: 1rem;
  width: 6.8rem;
  height: 6.8rem;
  border-radius: 1.4rem;
  transform: none;
  box-shadow: 0 18px 34px rgba(75, 50, 32, 0.16);
}

.product-art {
  min-height: 13rem;
  border-radius: 18px;
}

.category-art span,
.product-art span,
.product-art::before,
.product-art::after,
.category-art::before,
.category-art::after {
  content: "";
  position: absolute;
}

.charm span {
  width: 2.7rem;
  height: 2.7rem;
  left: 50%;
  top: 50%;
  border: 0.42rem solid rgba(75, 50, 32, 0.88);
  border-radius: 50%;
  transform: translate(-50%, -35%);
}

.charm::before {
  width: 0.42rem;
  height: 4rem;
  left: 50%;
  top: 1.35rem;
  border-radius: 999px;
  background: rgba(75, 50, 32, 0.75);
  transform: translateX(-50%) rotate(12deg);
}

.charm::after {
  width: 1.1rem;
  height: 1.1rem;
  right: 1.2rem;
  bottom: 1.3rem;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: -2.1rem -1rem 0 var(--peach), -3.2rem 1.1rem 0 #f3cb77;
}

.bottle span {
  width: 3.7rem;
  height: 6.7rem;
  left: 50%;
  bottom: 1.05rem;
  border: 0.28rem solid rgba(75, 50, 32, 0.72);
  border-radius: 1.25rem 1.25rem 1.65rem 1.65rem;
  background: rgba(255, 255, 255, 0.34);
  transform: translateX(-50%);
}

.bottle::before {
  width: 1.45rem;
  height: 1.7rem;
  left: 50%;
  top: 1.35rem;
  border: 0.28rem solid rgba(75, 50, 32, 0.72);
  border-bottom: 0;
  border-radius: 0.55rem 0.55rem 0 0;
  transform: translateX(-50%);
}

.bottle::after {
  width: 0.48rem;
  height: 0.48rem;
  right: 1.4rem;
  top: 2.3rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: -1.5rem 2rem 0 #fff, 0.6rem 3.9rem 0 rgba(255, 255, 255, 0.8);
}

.mosaic span {
  inset: 1.45rem;
  border-radius: 0.9rem;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(75, 50, 32, 0.72) 49% 51%, transparent 52%),
    linear-gradient(45deg, transparent 0 48%, rgba(75, 50, 32, 0.72) 49% 51%, transparent 52%),
    linear-gradient(135deg, #f3cb77 0 25%, #cdddbd 25% 50%, #efb98f 50% 75%, #fff7e9 75%);
  box-shadow: inset 0 0 0 0.24rem rgba(75, 50, 32, 0.45);
}

.mosaic::before {
  inset: 1rem;
  border-radius: 1.2rem;
  border: 0.24rem solid rgba(75, 50, 32, 0.46);
}

.custom span {
  width: 4.8rem;
  height: 3.8rem;
  left: 50%;
  top: 50%;
  border-radius: 1rem;
  background: #fff7e9;
  box-shadow: inset 0 0 0 0.22rem rgba(75, 50, 32, 0.55);
  transform: translate(-50%, -50%) rotate(-6deg);
}

.custom::before {
  width: 2.6rem;
  height: 0.36rem;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background: var(--clay);
  transform: translate(-50%, -50%) rotate(22deg);
}

.custom::after {
  width: 0.6rem;
  height: 0.6rem;
  right: 1.55rem;
  top: 1.35rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: -2.6rem 3.9rem 0 #fff, -0.7rem 4.7rem 0 #f3cb77;
}

.process-list article {
  border-radius: var(--radius);
  padding: 1rem;
}

.process-list span {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--sage-deep);
  color: #fff;
  font-weight: 900;
}

.process-list h3 {
  margin-top: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.process-list p {
  margin-top: 0.45rem;
  color: var(--text);
}

.product-card {
  border-radius: var(--radius);
  padding: 0.75rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-0.16rem);
  box-shadow: 0 22px 52px rgba(83, 52, 27, 0.17);
  outline: none;
}

.product-details {
  padding: 0.95rem 0.15rem 0.2rem;
}

.product-details h3 {
  margin-top: 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.1;
}

.product-details p {
  margin-top: 0.45rem;
  color: var(--text);
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
}

.price-row strong {
  color: var(--brown);
  font-size: 1.45rem;
}

.price-row a,
.price-row span {
  margin-top: 0;
  text-align: right;
  color: var(--sage-deep);
  font-weight: 900;
}

.cart-preview {
  margin: 1.5rem 1rem 3rem;
  border-radius: var(--radius);
}

.category-hero {
  padding: 2.25rem 0 1.5rem;
}

.category-hero-grid {
  display: grid;
  gap: 1.2rem;
}

.category-hero h1 {
  max-width: 10ch;
  margin-top: 0.85rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 0.94;
}

.back-link {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  color: var(--sage-deep);
  font-weight: 900;
}

.category-hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.82);
  box-shadow: var(--shadow);
  padding: 0.85rem;
}

.category-hero-card .product-art {
  min-height: 16rem;
}

.category-product-grid .product-card {
  min-height: 100%;
}

.category-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.category-product-grid .product-card {
  border-radius: 16px;
  padding: 0.45rem;
  box-shadow: 0 14px 34px rgba(83, 52, 27, 0.12);
}

.category-product-grid .product-art {
  min-height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
}

.category-product-grid .product-details {
  padding: 0.65rem 0.1rem 0.15rem;
}

.category-product-grid .status {
  font-size: 0.64rem;
  padding: 0.25rem 0.42rem;
}

.category-product-grid .product-details h3 {
  margin-top: 0.5rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.96rem;
  line-height: 1.12;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-product-grid .product-details p {
  font-size: 0.82rem;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-product-grid .price-row {
  align-items: start;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.65rem;
}

.category-product-grid .price-row strong {
  font-size: 1.05rem;
}

.category-product-grid .price-row a,
.category-product-grid .price-row span {
  text-align: left;
  font-size: 0.82rem;
}

.modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  padding: 0.75rem;
}

.product-modal.is-open {
  display: grid;
  place-items: end center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 30, 20, 0.48);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 1.5rem);
  overflow: auto;
  border: 1px solid rgba(255, 250, 242, 0.68);
  border-radius: 24px 24px 18px 18px;
  background: var(--paper-soft);
  box-shadow: 0 30px 90px rgba(43, 30, 20, 0.34);
  padding-top: 3.6rem;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.9);
  color: var(--brown);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.modal-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  padding: 0.75rem;
}

.modal-gallery-item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 0.4rem;
  width: 100%;
  min-height: auto;
  aspect-ratio: auto;
  border: 1px solid rgba(75, 50, 32, 0.12);
  border-radius: 16px;
  background: linear-gradient(135deg, #e9c39f, #fff0ce 68%, #d9e5c6);
  cursor: zoom-in;
  overflow: hidden;
  padding: 0;
}

.modal-gallery-item:first-child {
  grid-column: 1 / -1;
  aspect-ratio: auto;
}

.modal-gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.modal-gallery-item:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.gallery-badge,
.video-badge {
  position: static;
  margin: 0 0.4rem 0.4rem;
  z-index: 1;
  border-radius: 999px;
  padding: 0.32rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 900;
}

.gallery-badge {
  left: 0.45rem;
  bottom: 0.45rem;
  background: rgba(255, 250, 242, 0.9);
  color: var(--brown);
}

.video-badge {
  right: 0.45rem;
  bottom: 0.45rem;
  background: var(--sage-deep);
  color: #fff;
}

.modal-content {
  padding: 0 1rem 1rem;
}

.modal-content h2 {
  margin-top: 0.75rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1;
}

.modal-content p {
  margin-top: 0.55rem;
  color: var(--text);
}

.modal-price {
  display: block;
  margin-top: 0.8rem;
  color: var(--brown);
  font-size: 1.55rem;
}

.comment-field {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--brown);
  font-weight: 900;
}

.comment-field textarea {
  width: 100%;
  resize: vertical;
  min-height: 7rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaf2;
  color: var(--ink);
  padding: 0.8rem;
  font-weight: 500;
}

.comment-field textarea:focus,
.modal-close:focus-visible,
.modal-order-button:focus-visible {
  outline: 3px solid rgba(135, 169, 133, 0.42);
  outline-offset: 2px;
}

.modal-order-button {
  width: 100%;
  margin-top: 0.9rem;
  border: 0;
  cursor: pointer;
}

.order-panel {
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(232, 208, 181, 0.34);
  padding: 0.9rem;
}

.order-panel p:not(.section-kicker) {
  color: var(--text);
}

.order-actions {
  margin-top: 0.8rem;
}

.order-actions .button {
  width: 100%;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  padding: 0.75rem;
}

.image-lightbox.is-open {
  display: grid;
  place-items: center;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 17, 12, 0.74);
  backdrop-filter: blur(10px);
}

.image-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 1.5rem);
  display: grid;
  gap: 0.75rem;
}

.image-lightbox-panel img {
  width: 100%;
  max-height: calc(100vh - 8.5rem);
  object-fit: contain;
  border-radius: 18px;
  background: #fffaf2;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.image-lightbox-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(255, 250, 242, 0.72);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.9);
  color: var(--brown);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.image-lightbox-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 250, 242, 0.2);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.9);
  padding: 0.7rem;
}

.image-lightbox-meta p {
  color: var(--brown);
  font-weight: 900;
}

.cart-inner {
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem;
}

.cart-copy {
  display: grid;
  gap: 0.65rem;
}

.cart-box {
  display: grid;
  gap: 0.85rem;
}

.cart-inner .cart-reservation-warning {
  border: 1px solid #c68b43;
  border-left: 5px solid #a36524;
  border-radius: 14px;
  background: #fff0cf;
  color: #593914;
  padding: 1rem;
}

.cart-reservation-warning strong {
  display: block;
  margin-bottom: 0.4rem;
}

.cart-empty,
.cart-note {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.78);
  color: var(--text);
  padding: 0.85rem;
}

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

.cart-item {
  display: grid;
  grid-template-columns: 5.25rem 1fr;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.88);
  padding: 0.65rem;
}

.cart-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(75, 50, 32, 0.12);
  border-radius: 14px;
  object-fit: cover;
  background: linear-gradient(135deg, #e9c39f, #fff0ce 68%, #d9e5c6);
}

.cart-item-body {
  display: grid;
  gap: 0.45rem;
}

.cart-item h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1;
}

.cart-item strong {
  color: var(--brown);
  font-size: 1.1rem;
}

.cart-item label {
  display: grid;
  gap: 0.35rem;
  color: var(--brown);
  font-size: 0.85rem;
  font-weight: 900;
}

.cart-item textarea {
  min-height: 4.7rem;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffaf2;
  color: var(--ink);
  padding: 0.6rem;
}

.cart-remove {
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.82);
  color: var(--brown);
  cursor: pointer;
  padding: 0.45rem 0.7rem;
  font-weight: 900;
}

.checkout-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.checkout-form {
  display: grid;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.9);
  padding: 0.85rem;
}

.checkout-form[hidden] {
  display: none;
}

.checkout-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--brown);
  font-weight: 900;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffaf2;
  color: var(--ink);
  padding: 0.7rem;
  font-weight: 500;
}

.checkout-form textarea {
  resize: vertical;
}

.checkout-attachment {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  background: var(--paper);
  overflow-wrap: anywhere;
}

.checkout-attachment p { font-size: 0.9rem; }
.checkout-attachment input { min-width: 0; font-size: 0.9rem; }

.checkout-form input:focus,
.checkout-form textarea:focus,
.cart-item textarea:focus {
  outline: 3px solid rgba(135, 169, 133, 0.42);
  outline-offset: 2px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.72);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  padding: 1.5rem 1rem;
  color: var(--text);
}

.footer-brand {
  margin-bottom: 0.55rem;
}

.footer-note {
  display: grid;
  gap: 0.25rem;
}

@media (min-width: 680px) {
  .topbar,
  .section-inner,
  .footer-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 800;
  }

  .hero-section {
    padding-top: 3rem;
  }

  .hero-layout,
  .intro-grid,
  .category-hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .category-grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-inner,
  .cart-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .product-modal.is-open {
    place-items: center;
  }

  .modal-panel {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    max-height: min(780px, calc(100vh - 3rem));
    border-radius: 24px;
  }

  .modal-gallery {
    align-content: start;
  }

  .modal-content {
    padding: 1.1rem 1.15rem 1.15rem 0.25rem;
  }
}

@media (min-width: 1020px) {
  .hero-section {
    padding-top: 4rem;
  }

  .hero-layout {
    grid-template-columns: 1.02fr 0.98fr;
  }

  .hero-showcase {
    align-items: center;
  }

  .mini-product.is-front {
    width: 100%;
  }

  .mini-product.is-back {
    width: 100%;
  }

  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .category-card {
    min-height: 20rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

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

.admin-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.admin-card {
  width: min(430px, 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.admin-brand {
  display: flex;
  margin-bottom: 1rem;
}

.admin-card h1,
.admin-hero h1 {
  margin-top: 0.65rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 12vw, 4rem);
  line-height: 0.96;
}

.admin-card h1 {
  font-size: clamp(1.6rem, 7vw, 2.5rem);
  line-height: 1.15;
  overflow-wrap: normal;
}

.admin-alert {
  margin-top: 1rem;
  border: 1px solid rgba(185, 111, 78, 0.28);
  border-radius: 16px;
  background: rgba(239, 185, 143, 0.24);
  color: var(--brown);
  padding: 0.8rem;
  font-weight: 800;
}

.admin-success {
  margin-top: 1rem;
  border: 1px solid rgba(72, 107, 80, 0.24);
  border-radius: 16px;
  background: rgba(135, 169, 133, 0.22);
  color: var(--sage-deep);
  padding: 0.8rem;
  font-weight: 900;
}

.admin-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.admin-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--brown);
  font-weight: 900;
}

.admin-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffaf2;
  color: var(--ink);
  padding: 0.78rem;
}

.admin-form input:focus,
.admin-edit-form input:focus,
.admin-edit-form textarea:focus,
.admin-edit-form select:focus {
  outline: 3px solid rgba(135, 169, 133, 0.42);
  outline-offset: 2px;
}

.admin-form .button {
  border: 0;
  cursor: pointer;
}

.admin-dashboard {
  padding: 2rem 0 4rem;
}

.admin-hero {
  display: grid;
  gap: 0.65rem;
}

.admin-hero p:not(.section-kicker) {
  max-width: 42rem;
  color: var(--text);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-stats article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 242, 0.86);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.admin-stats span {
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.admin-stats p {
  margin-top: 0.35rem;
  color: var(--text);
  font-weight: 900;
}

.admin-table-wrap {
  margin-top: 1.2rem;
}

.admin-filter-panel {
  margin-top: 1.15rem;
}

.admin-filter-buttons {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.admin-filter-button {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.86);
  color: var(--brown);
  padding: 0.58rem 0.72rem;
  font-size: 0.9rem;
  font-weight: 900;
}

.admin-filter-button.is-active {
  border-color: rgba(72, 107, 80, 0.34);
  background: rgba(135, 169, 133, 0.22);
}

.admin-filter-button strong {
  min-width: 1.55rem;
  height: 1.55rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--sage-deep);
  color: #fff;
  font-size: 0.78rem;
}

.admin-category-panel {
  margin-top: 1.15rem;
}

.admin-category-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.admin-category-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.86);
  box-shadow: 0 14px 34px rgba(83, 52, 27, 0.1);
  color: var(--brown);
  padding: 0.85rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.admin-category-button:hover,
.admin-category-button:focus-visible,
.admin-category-button.is-active {
  transform: translateY(-0.12rem);
  box-shadow: 0 20px 46px rgba(83, 52, 27, 0.15);
}

.admin-category-button.is-active {
  border-color: rgba(72, 107, 80, 0.34);
  background: rgba(135, 169, 133, 0.2);
}

.admin-category-button strong {
  min-width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--sage-deep);
  color: #fff;
  font-size: 0.9rem;
}

.admin-list-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.admin-list-heading h2 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.admin-table {
  display: grid;
  gap: 0.8rem;
}

.admin-record-list {
  display: grid;
  gap: 1rem;
}

.admin-record {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.88);
  box-shadow: 0 18px 42px rgba(83, 52, 27, 0.11);
  padding: 0.9rem;
}

.admin-record-header {
  display: grid;
  gap: 0.75rem;
}

.admin-record-header h2 {
  margin-top: 0.25rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1;
}

.admin-record-header p,
.admin-record-grid p,
.admin-item p {
  color: var(--text);
}

.admin-record-header > strong {
  color: var(--brown);
  font-size: 1.35rem;
}

.admin-record-grid {
  display: grid;
  gap: 0.85rem;
}

.admin-record-grid section,
.admin-items {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(244, 223, 195, 0.28);
  padding: 0.8rem;
}

.admin-record-grid h3,
.admin-items h3 {
  margin-bottom: 0.35rem;
  color: var(--brown);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.admin-items {
  display: grid;
  gap: 0.65rem;
}

.admin-item {
  display: grid;
  gap: 0.45rem;
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
}

.admin-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.admin-row {
  display: grid;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 242, 0.86);
  box-shadow: 0 16px 38px rgba(83, 52, 27, 0.11);
  padding: 0.85rem;
}

.admin-row h2 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.admin-row p {
  margin-top: 0.35rem;
  color: var(--text);
  font-size: 0.94rem;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.admin-row-actions form {
  margin: 0;
}

.admin-edit-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: var(--shadow);
  padding: 0.9rem;
}

.admin-edit-form label {
  display: grid;
  gap: 0.38rem;
  color: var(--brown);
  font-weight: 900;
}

.admin-edit-form input,
.admin-edit-form textarea,
.admin-edit-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffaf2;
  color: var(--ink);
  padding: 0.74rem;
  font-weight: 500;
}

.admin-edit-form textarea {
  resize: vertical;
}

.admin-form-grid {
  display: grid;
  gap: 0.85rem;
}

.admin-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.admin-checks label,
.admin-media-card label:has(input[type="radio"]) {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
}

.admin-checks input,
.admin-media-card input[type="radio"] {
  width: auto;
}

.admin-media-section {
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.admin-media-section h2 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.admin-media-section p {
  margin-top: 0.35rem;
  color: var(--text);
}

.admin-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.admin-media-card,
.admin-upload-box {
  display: grid;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(244, 223, 195, 0.32);
  padding: 0.75rem;
}

.admin-media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(75, 50, 32, 0.12);
  border-radius: 14px;
  background: linear-gradient(135deg, #e9c39f, #fff0ce 68%, #d9e5c6);
  object-fit: cover;
}

.admin-upload-box input[type="file"] {
  padding: 0.65rem;
}

@media (min-width: 680px) {
  .admin-card {
    padding: 1.25rem;
  }

  .admin-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .admin-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .admin-record-header {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

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

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

  .admin-list-heading {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

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

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

@media (min-width: 1020px) {
  .admin-form-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-media-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-category-buttons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
