/* Base rules that Tailwind used to provide */
*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-body), system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
}
img { max-width: 100%; height: auto; display: block; }
.site-main { flex: 1; }
:root { --font-fraunces: "Fraunces"; --font-manrope: "Manrope"; }
:root {
  --mint: #00c79d;
  --mint-deep: #009977;
  --mint-soft: #eef9f5;
  --ink: #1a211f;
  --ink-soft: #44514c;
  --muted: #6a7571;
  --line: rgba(26, 33, 31, 0.1);
  --paper: #fafaf8;
  --white: #ffffff;
  --background: var(--paper);
  --foreground: var(--ink);
  --font-display: var(--font-fraunces);
  --font-body: var(--font-manrope);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-manrope), system-ui, sans-serif;
  background: var(--paper);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(250, 250, 248, 0.9);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(26, 33, 31, 0.04);
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-fraunces), Georgia, serif;
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-mark--footer {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--ink);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--ink) !important;
}

.cart-count {
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--mint);
  color: #053328;
  font-size: 0.7rem;
  display: inline-grid;
  place-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--mint);
  color: #053328;
}

.btn-primary:hover {
  background: var(--mint-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

/* Hero — split, not giant full-bleed */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) 1.25rem 1.5rem;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  animation: rise 0.7s ease both;
}

.hero__copy {
  display: grid;
  gap: 0.85rem;
}

.hero__since {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-deep);
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.hero__brand strong {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 14ch;
  color: var(--ink);
}

.hero__copy > p:not(.hero__since) {
  margin: 0;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.hero__visual {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #f0eeea;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  box-shadow: 0 16px 40px rgba(26, 33, 31, 0.08);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.strip {
  max-width: 1120px;
  margin: 0 auto 0.5rem;
  padding: 0 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.strip__item {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.strip__item strong {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.strip__item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head--row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  flex-wrap: wrap;
}

.schedule-block {
  margin-top: 1.25rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--white);
}

.schedule-block__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.schedule-block__head h3 {
  margin: 0;
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.schedule-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mint-deep);
  text-decoration: none;
}

.schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.schedule-list li {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.schedule-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.schedule-list strong {
  display: block;
}

.schedule-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.schedule-list__hours {
  text-align: left;
}

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

.news-list--home {
  gap: 0.9rem;
}

.news-card {
  padding: 1.25rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
}

.news-card__date {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.news-card h2,
.news-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.news-card h2 a,
.news-card h3 a {
  text-decoration: none;
}

.news-card p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.news-article {
  max-width: 720px;
}

.news-article__body {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.news-article__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.news-source {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.news-source a {
  color: var(--mint-deep);
  font-weight: 700;
}

@media (min-width: 720px) {
  .news-list--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-list li {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .schedule-list__hours {
    text-align: right;
  }
}


.section-head h2,
.market h2,
.page-title,
.steps h2,
.contact h2 {
  margin: 0;
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.5;
}

.seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.86rem;
  color: var(--muted);
}

.seo-breadcrumb a {
  color: var(--mint-deep);
  font-weight: 700;
  text-decoration: none;
}

.seo-breadcrumb a:hover {
  text-decoration: underline;
}

.filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.25rem 0 1.25rem;
  scrollbar-width: none;
}

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

.filter-btn {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.35rem);
}

.product-card {
  animation: rise 0.65s ease both;
}

.product-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f0eeea;
  border-radius: 0.9rem;
  position: relative;
  min-height: 11rem;
}

.product-card__media img {
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card__media > span,
.product-card__media > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__body {
  padding: 0.8rem 0.05rem 0.15rem;
}

.product-card__body h3 {
  margin: 0;
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.product-card__body h3 a {
  text-decoration: none;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.3rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.product-card__meta span:last-child {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
}

.product-card__blurb {
  margin: 0.4rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.84rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.product-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.steps__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.steps__grid li {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}

.steps__grid span {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--mint-deep);
  display: inline-grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.steps__grid strong {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.steps__grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.market {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.market p {
  color: var(--ink-soft);
  line-height: 1.55;
}

.market-card {
  display: grid;
  gap: 0.3rem;
  margin-top: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.market-note {
  margin: 1rem 0 0;
  color: var(--muted) !important;
  font-size: 0.92rem;
}

.market-visual {
  border-radius: 1.2rem;
  overflow: hidden;
  background: #f0eeea;
  aspect-ratio: 4 / 5;
  max-height: 460px;
}

.market-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-map {
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8e8e4;
  min-height: 320px;
  height: 100%;
  box-shadow: 0 12px 32px rgba(26, 33, 31, 0.06);
}

.market-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

.market-map-link {
  margin-top: 1rem;
}

.contact-grid {
  display: grid;
  gap: 0.85rem;
}

.contact-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}

.contact-card:hover {
  border-color: var(--mint);
  transform: translateY(-1px);
}

.contact-card strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.contact-card span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  word-break: break-word;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.site-footer {
  margin-top: auto;
  padding: 2.5rem 1.25rem 2rem;
  border-top: 1px solid var(--line);
  background: #f3f3f0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
}

.site-footer__grid p {
  margin: 0.2rem 0;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.65rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.88rem;
}

.footer-social a:hover {
  color: var(--ink);
}

.site-footer__bottom {
  max-width: 1120px;
  margin: 1.75rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cart-layout,
.checkout-layout {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.cart-lead,
.cart-empty-copy {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.cart-empty-copy + .btn {
  margin-top: 1.1rem;
}

.cart-lines {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  border-radius: 0.7rem;
  object-fit: cover;
}

.cart-line__info strong {
  font-size: 0.98rem;
}

.cart-line__price,
.cart-line__total {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.cart-line__total {
  color: var(--ink);
  font-size: 0.98rem;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.qty button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.cart-remove {
  width: auto !important;
  height: auto !important;
  border: none !important;
  background: transparent !important;
  padding: 0 0 0 0.45rem;
  margin-left: 0.15rem;
  font-size: 0.78rem !important;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.cart-remove:hover {
  color: #b42318;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.4rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.cart-pay-hint {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.checkout-actions .btn {
  flex: 1 1 200px;
}

.checkout-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.checkout-form input,
.checkout-form textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fff;
}

.checkout-form textarea {
  min-height: 100px;
  resize: vertical;
}

.notice {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--mint-soft);
  border: 1px solid rgba(0, 199, 157, 0.28);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.notice.warn {
  background: #fff7ed;
  border-color: #fdba74;
}

.error,
.form-error {
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  display: grid;
  gap: 1.5rem;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

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

.admin-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.35rem;
}

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

.admin-panel label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.admin-panel input,
.admin-panel textarea,
.admin-panel select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-top: 1rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 720px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    padding-top: 2.25rem;
  }

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

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

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

  .market {
    grid-template-columns: 1.05fr 0.95fr;
  }

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

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

  .product-detail {
    grid-template-columns: 0.9fr 1.1fr !important;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .admin-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (max-width: 640px) {
  .site-nav a:not(.cart-link) {
    display: none;
  }

  .cart-line {
    grid-template-columns: 72px 1fr;
  }

  .cart-line__total {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Loyalty ---------- */

.loyalty-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

.loyalty-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.loyalty-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.loyalty-steps__num {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint-soft);
  border: 1px solid rgba(0, 199, 157, 0.28);
  font-weight: 700;
  font-size: 0.9rem;
}

.loyalty-steps h2 {
  margin: 0.15rem 0 0.3rem;
  font-size: 1.05rem;
}

.loyalty-steps p {
  margin: 0;
  color: var(--muted);
}

.loyalty-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 18px 40px -32px rgba(15, 23, 42, 0.45);
}

.loyalty-form {
  display: grid;
  gap: 0.9rem;
}

.loyalty-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.loyalty-result {
  display: grid;
  gap: 0.75rem;
}

.loyalty-result h2 {
  margin: 0;
  font-size: 1.15rem;
}

.loyalty-code {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--mint-soft);
  border: 1px dashed rgba(0, 199, 157, 0.5);
  text-align: center;
}

.loyalty-result__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .loyalty-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
}

/* ---------- Promo code ---------- */

.promo-box {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  display: grid;
  gap: 0.5rem;
}

.promo-box--applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--mint-soft);
  border-color: rgba(0, 199, 157, 0.35);
}

.promo-box--applied p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.promo-form {
  display: grid;
  gap: 0.4rem;
}

.promo-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

.promo-form__row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.promo-form__row input {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  font: inherit;
  letter-spacing: 0.3em;
  width: 8rem;
  background: #fff;
}

.promo-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.cart-totals {
  display: grid;
  gap: 0.3rem;
  min-width: 240px;
}

.cart-totals__row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.cart-totals__row--discount {
  color: #0f766e;
}

.cart-totals__row--total {
  color: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

/* ---------- Product detail extras ---------- */

.product-card__media {
  position: relative;
}

.product-card__badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--ink, #1a211f);
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-detail__badge {
  display: inline-block;
  margin: 0.5rem 0 0;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--mint-soft);
  border: 1px solid rgba(0, 199, 157, 0.3);
  font-size: 0.8rem;
  font-weight: 700;
}

.product-detail__long {
  margin-top: 1rem;
  max-width: 52ch;
  color: var(--ink-soft);
  display: grid;
  gap: 0.7rem;
}

.product-detail__long p {
  margin: 0;
}

.product-detail__specs {
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.6rem;
  max-width: 52ch;
}

.product-detail__specs > div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0.75rem;
  font-size: 0.92rem;
}

.product-detail__specs dt {
  color: var(--muted);
  font-weight: 600;
}

.product-detail__specs dd {
  margin: 0;
}


/* ---------- Logo ---------- */

/* The source SVG carries a white square behind the round emblem; clipping to a
   circle removes those corners without touching the artwork. */
.brand-mark img,
.hero__brand img,
.admin-login .brand-mark img {
  border-radius: 50%;
  background: transparent;
}

.brand-mark img {
  width: 56px;
  height: 56px;
}

.site-header__inner .brand-mark {
  font-size: 1.4rem;
  gap: 0.75rem;
}

.hero__brand img {
  width: clamp(64px, 9vw, 96px);
  height: clamp(64px, 9vw, 96px);
}

@media (max-width: 720px) {
  .brand-mark img {
    width: 46px;
    height: 46px;
  }
}

/* ================= Layout fixes ported from the React inline styles ================= */

/* Product cards: the photo has to crop, not stretch */
.product-card__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--mint-soft);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.hero__visual {
  overflow: hidden;
}

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

.cart-line img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  flex: 0 0 auto;
}

/* ---------- Product page ---------- */

.product-detail-wrap {
  display: grid;
  gap: 1.5rem;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.product-detail__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  background: var(--mint-soft);
  box-shadow: 0 30px 60px -45px rgba(15, 23, 42, 0.6);
}

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

.product-detail__price {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0.6rem 0 0;
  letter-spacing: -0.01em;
}

.product-detail__lead {
  color: var(--ink-soft);
  margin-top: 1rem;
  max-width: 46ch;
  font-size: 1.02rem;
}

.product-detail__note {
  color: var(--muted);
  margin-top: 0.9rem;
  font-size: 0.9rem;
}

.product-detail__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.5rem;
}

.qty-form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.4rem 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.qty-form__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.qty-form input {
  width: 3.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.6rem;
  font: inherit;
  text-align: center;
}

@media (max-width: 860px) {
  .product-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .product-detail__media {
    max-width: 420px;
  }
}

/* ---------- News article ---------- */

.post-body {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.9rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.post-body p {
  margin: 0;
}

/* ---------- Cart feedback ---------- */

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  margin-left: 0.4rem;
  border-radius: 999px;
  background: var(--mint);
  color: #05261f;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

@keyframes cart-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.cart-count.is-bumped {
  animation: cart-bump 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn.is-done {
  background: var(--mint-deep);
  border-color: var(--mint-deep);
  color: #fff;
}

.qty form {
  display: inline;
}

.cart-line__total {
  font-variant-numeric: tabular-nums;
}

/* ---------- Small polish ---------- */

.product-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -40px rgba(15, 23, 42, 0.55);
}

.filter-btn {
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn {
  transition: transform 0.12s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.section-head h1,
.section-head h2 {
  letter-spacing: -0.02em;
}

.market-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 18px;
}

.contact-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 199, 157, 0.45);
}

/* Flex and grid display rules override the UA's [hidden] rule, so restate it */
[hidden] {
  display: none !important;
}

/* ================= Product cards ================= */

.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.35rem;
  margin-top: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  animation: rise 0.65s ease both;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 199, 157, 0.4);
  box-shadow: 0 26px 50px -34px rgba(15, 23, 42, 0.45);
}

.product-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--mint-soft);
  position: relative;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: rgba(20, 26, 24, 0.88);
  color: #fff;
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.15rem;
}

.product-card__cat {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mint-deep);
}

.product-card__body h3 {
  margin: 0;
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.product-card__body h3 a {
  text-decoration: none;
  color: inherit;
}

.product-card__body h3 a:hover {
  color: var(--mint-deep);
}

.product-card__blurb {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pushes the price row to the bottom so cards line up whatever the text length */
.product-card__foot {
  margin-top: auto;
  padding-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-card__price {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.product-card__actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.product-card__link {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.product-card__link:hover {
  color: var(--ink);
  border-bottom-color: var(--line);
}

@media (max-width: 560px) {
  .catalog {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.9rem;
  }
  .product-card__body {
    padding: 0.85rem 0.9rem 1rem;
  }
  .product-card__foot {
    gap: 0.5rem;
  }
  .product-card__link {
    display: none;
  }
}

/* ================= Loyalty signup block ================= */

.join-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: 26px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(0, 199, 157, 0.16) 0%, rgba(0, 199, 157, 0) 55%),
    linear-gradient(160deg, #101815 0%, #17231f 100%);
  color: #eaf3ef;
  overflow: hidden;
}

.join-card__copy .eyebrow {
  color: var(--mint);
}

.join-card__copy h2 {
  margin: 0.35rem 0 0;
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.join-card__copy > p {
  margin: 0.8rem 0 0;
  color: #b9cdc5;
  max-width: 46ch;
  line-height: 1.6;
}

.join-card__copy strong {
  color: #fff;
}

.join-card__perks {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.join-card__perks li {
  position: relative;
  padding-left: 1.6rem;
  color: #cddfd8;
  font-size: 0.92rem;
}

.join-card__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
}

.join-card__form {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  color: var(--ink);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.7);
}

.join-form {
  display: grid;
  gap: 0.4rem;
}

.join-form label {
  font-size: 0.85rem;
  font-weight: 700;
}

.join-form label + input {
  margin-bottom: 0.55rem;
}

.join-form__optional {
  font-weight: 400;
  color: var(--muted);
}

.join-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: #fff;
}

.join-form input:focus {
  outline: 2px solid rgba(0, 199, 157, 0.45);
  outline-offset: 1px;
  border-color: transparent;
}

.join-form .btn {
  margin-top: 0.35rem;
  width: 100%;
  justify-content: center;
}

.join-form__hint {
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.join-done {
  display: grid;
  gap: 0.55rem;
  text-align: center;
}

.join-done h3 {
  margin: 0;
  font-size: 1.1rem;
}

.join-done__code {
  margin: 0.2rem 0;
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  padding: 0.85rem 0.5rem;
  border-radius: 14px;
  background: var(--mint-soft);
  border: 1px dashed rgba(0, 199, 157, 0.55);
}

.join-done__hint {
  margin: 0;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .join-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    padding: 1.75rem;
  }
}

/* ================= Footer ================= */

.site-footer {
  margin-top: 4rem;
  padding: 3rem 1.25rem 1.5rem;
  background: #101815;
  color: #b9cdc5;
}

.site-footer__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.footer-brand .brand-mark--footer {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  text-decoration: none;
}

.footer-brand__tagline {
  margin: 0.9rem 0 0;
  color: #cddfd8;
  max-width: 30ch;
  line-height: 1.6;
}

.footer-brand__place {
  margin: 0.35rem 0 0;
  color: #7f9990;
  font-size: 0.88rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #dbeae4;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.footer-social a:hover {
  background: rgba(0, 199, 157, 0.15);
  border-color: rgba(0, 199, 157, 0.5);
  color: #fff;
}

.footer-col {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.footer-col__title {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #6f8880;
}

.footer-col p {
  margin: 0;
  line-height: 1.5;
}

.footer-col__strong {
  color: #fff;
  font-weight: 600;
}

.footer-col a {
  color: #cddfd8;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col__link {
  margin-top: 0.35rem;
  color: var(--mint) !important;
  font-weight: 600;
  font-size: 0.88rem;
}

.site-footer__bottom {
  max-width: 1180px;
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #6f8880;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom a {
  color: #6f8880;
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: #cddfd8;
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- One brand mark, in the header ---------- */

/* The hero used to repeat the logo directly above the same word; the header
   now carries it alone, so it can afford to be larger. */
.brand-mark img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow: 0 6px 18px -10px rgba(15, 23, 42, 0.55);
}

.site-header__inner .brand-mark {
  gap: 0.85rem;
  font-size: 1.5rem;
}

.site-header {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.footer-brand .brand-mark--footer img {
  width: 56px;
  height: 56px;
  box-shadow: none;
}

@media (max-width: 720px) {
  .brand-mark img {
    width: 52px;
    height: 52px;
  }
  .site-header__inner .brand-mark {
    font-size: 1.2rem;
    gap: 0.6rem;
  }
}
