:root {
  --bg: #ffffff;
  --bg-deep: #f4f6f2;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-soft: #f6f7f3;
  --surface-moss: #edf2ea;
  --text: #1f4832;
  --muted: #5e7562;
  --border: rgba(66, 109, 76, 0.2);
  --brand: #2f7a4b;
  --brand-dark: #1b4b31;
  --accent: #d9892b;
  --accent-soft: #f2c46c;
  --shadow: 0 24px 60px rgba(58, 79, 45, 0.12);
  --bg-image-orchard: url("/static/images/background/WhatsApp Image 2026-03-14 at 11.06.20 (17).jpeg");
  --bg-image-community: url("/static/images/background/WhatsApp Image 2026-03-14 at 11.06.20 (13).jpeg");
  --bg-image-harvest: url("/static/images/background/WhatsApp Image 2026-03-14 at 11.06.20 (19).jpeg");
  --bg-image-kitchen: url("/static/images/background/WhatsApp Image 2026-03-14 at 11.06.20.jpeg");
  --bg-image-peppers: url("/static/images/background/WhatsApp Image 2026-03-14 at 11.06.20 (6).jpeg");
  --bg-image-eggs: url("/static/images/background/WhatsApp Image 2026-03-14 at 11.06.20 (12).jpeg");
  --product-image-1: url("/static/images/background/WhatsApp Image 2026-03-14 at 11.06.20 (18).jpeg");
  --product-image-2: url("/static/images/background/WhatsApp Image 2026-03-14 at 11.06.20 (20).jpeg");
  --product-image-3: url("/static/images/background/WhatsApp Image 2026-03-14 at 11.06.20 (21).jpeg");
  --product-image-4: url("/static/images/background/WhatsApp Image 2026-03-14 at 11.06.20 (22).jpeg");
  --product-image-5: url("/static/images/background/WhatsApp Image 2026-03-14 at 11.06.20 (24).jpeg");
  --product-image-6: url("/static/images/background/WhatsApp Image 2026-03-14 at 11.06.20 (25).jpeg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: #ffffff;
}

body::before {
  content: none;
}

body::after {
  content: none;
}

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

img {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 130;
  padding: 0.85rem 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at left center, rgba(226, 165, 61, 0.12), transparent 30%),
    radial-gradient(circle at right center, rgba(111, 181, 118, 0.1), transparent 28%);
  border-bottom: 1px solid rgba(44, 76, 56, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(30, 47, 36, 0.05);
}

.site-header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0.2rem 0;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.35rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.brand img {
  width: 87px;
  height: 87px;
  border-radius: 50%;
  border: 1px solid rgba(44, 76, 56, 0.14);
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(36, 56, 42, 0.08);
}

.brand-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.4rem;
  color: #2b4c38;
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  justify-self: start;
}

.brand-nav a {
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.brand-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.brand-nav a:hover::after,
.brand-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-mobile-menu-backdrop,
.site-mobile-menu-button {
  display: none;
}

.site-mobile-menu-button {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  justify-self: start;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  position: relative;
  z-index: 121;
  border: 1px solid rgba(44, 76, 56, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #31553f;
  box-shadow: 0 10px 24px rgba(30, 47, 36, 0.08);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.site-mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.14s ease, opacity 0.14s ease;
}

body.site-mobile-menu-open .site-mobile-menu-button span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.site-mobile-menu-open .site-mobile-menu-button span:nth-child(2) {
  opacity: 0;
}

body.site-mobile-menu-open .site-mobile-menu-button span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-mobile-menu-button:hover,
.site-mobile-menu-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(44, 76, 56, 0.2);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.65rem;
}

.header-auth-form {
  margin: 0;
}

.header-profile-menu {
  position: relative;
}

.header-profile-menu[open] {
  z-index: 20;
}

.header-profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 17rem;
  padding: 0.42rem 0.55rem 0.42rem 0.42rem;
  border: 1px solid rgba(44, 76, 56, 0.1);
  border-radius: 999px;
  background: rgba(247, 250, 245, 0.96);
  color: #31553f;
  box-shadow: 0 6px 18px rgba(30, 47, 36, 0.05);
  cursor: pointer;
  list-style: none;
}

.header-profile-trigger::-webkit-details-marker {
  display: none;
}

.header-profile-avatar {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f7a4b, #245c39);
  color: #f8fdf8;
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
}

.header-profile-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 800;
}

.header-profile-trigger svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-profile-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 12rem;
  display: grid;
  gap: 0.3rem;
  padding: 0.45rem;
  border: 1px solid rgba(44, 76, 56, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(19, 35, 25, 0.12);
}

.header-profile-form {
  margin: 0;
}

.header-profile-action {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: rgba(247, 250, 245, 0.96);
  color: #2b4c38;
  padding: 0.8rem 0.95rem;
  text-align: left;
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.header-profile-action:hover {
  background: rgba(229, 239, 231, 0.96);
}

.header-profile-action--danger {
  background: rgba(255, 245, 243, 0.98);
  color: #8c3b2d;
}

.header-profile-action--danger:hover {
  background: rgba(251, 232, 228, 0.98);
}

.header-icon-link,
.header-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.header-icon-link {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(44, 76, 56, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #31553f;
  box-shadow: 0 6px 18px rgba(30, 47, 36, 0.05);
  cursor: pointer;
}

.header-icon-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.85;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-icon-link .icon-fill {
  fill: currentColor;
  stroke: none;
}

.header-signin {
  border: 0;
  border-radius: 999px;
  font-family: "Manrope", "DM Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #2f7a4b, #245c39);
  color: #f8fdf8;
  font-size: 0.88rem;
  padding: 0.78rem 1.08rem;
  box-shadow: 0 10px 24px rgba(47, 122, 75, 0.16);
  cursor: pointer;
}

.header-signin--secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #2b4c38;
  border: 1px solid rgba(44, 76, 56, 0.12);
  box-shadow: 0 6px 18px rgba(30, 47, 36, 0.05);
}

.header-account-pill {
  max-width: 16rem;
  padding: 0.68rem 0.95rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(247, 250, 245, 0.95);
  border: 1px solid rgba(44, 76, 56, 0.1);
  color: #31553f;
  font-size: 0.82rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-icon-link:hover,
.header-signin:hover {
  transform: translateY(-1px);
}

.header-icon-link:hover {
  background: #ffffff;
  border-color: rgba(44, 76, 56, 0.18);
}

.header-cart-link {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -0.3rem;
  right: -0.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #d9892b, #b86a18);
  color: #fff7ec;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(185, 109, 24, 0.25);
}

.page-shell {
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.25rem 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

body.gallery-viewer-open {
  overflow: hidden;
}

[data-gallery-item]:focus-visible,
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__nav:focus-visible {
  outline: 2px solid rgba(49, 95, 67, 0.7);
  outline-offset: 4px;
}

[data-gallery-item][aria-disabled="true"] {
  cursor: default;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(10, 22, 15, 0.24);
  backdrop-filter: none;
  cursor: pointer;
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-width: calc(100vw - 2.5rem);
  box-sizing: border-box;
  padding: 0 4.8rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.gallery-lightbox__dialog:focus {
  outline: none;
}

.gallery-lightbox__body {
  display: block;
}

.gallery-lightbox__eyebrow {
  display: none;
}

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

.gallery-lightbox__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 2.5rem);
  padding: 0;
  background: transparent;
  overflow: visible;
}

.gallery-lightbox__media img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(86vh, 860px);
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 28px 64px rgba(7, 17, 11, 0.24);
}

.gallery-lightbox__meta {
  display: none;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 22, 15, 0.44);
  box-shadow: 0 14px 30px rgba(7, 17, 11, 0.18);
  color: #f7fbf6;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.gallery-lightbox__close {
  position: fixed;
  z-index: 3;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 22, 15, 0.72);
  box-shadow: 0 18px 36px rgba(7, 17, 11, 0.28);
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.gallery-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 800;
}

.gallery-lightbox__nav--prev {
  left: 1rem;
}

.gallery-lightbox__nav--next {
  right: 1rem;
}

.flash-stack {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0.85rem 1rem 0;
  display: grid;
  gap: 0.7rem;
}

.flash-banner {
  padding: 0.95rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(44, 76, 56, 0.1);
  box-shadow: 0 14px 30px rgba(30, 47, 36, 0.06);
  font-size: 0.94rem;
  font-weight: 700;
}

.flash-banner--success {
  background: rgba(235, 244, 232, 0.96);
  color: #24553a;
}

.flash-banner--error {
  background: rgba(255, 243, 236, 0.98);
  color: #9a4a18;
}

.section {
  position: relative;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 3.75rem 0;
  scroll-margin-top: 8.5rem;
  box-shadow: none;
  backdrop-filter: none;
}

.section + .section {
  border-top: 1px solid rgba(86, 108, 77, 0.12);
}

.section::before {
  content: "";
  position: absolute;
  inset: auto auto -25% 0;
  width: 30%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(202, 141, 58, 0.06), transparent 66%);
  pointer-events: none;
}

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

.detail-card {
  max-width: 1020px;
  margin: 0 auto;
  padding: 1.2rem;
  border-radius: 32px;
  border: 1px solid rgba(65, 91, 71, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.9), rgba(240, 233, 217, 0.86));
  box-shadow: var(--shadow);
}

.detail-image-wrap {
  margin: -1.2rem -1.2rem 1.2rem;
  overflow: hidden;
  border-radius: 32px 32px 22px 22px;
}

.detail-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.detail-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.detail-header h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  color: var(--brand-dark);
  line-height: 1.05;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.82);
  border: 1px solid rgba(71, 94, 72, 0.14);
  color: #415e49;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.detail-meta {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-price {
  margin: 0.4rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.muted-price {
  color: #7a6e58;
}

.detail-description,
.detail-block p {
  color: var(--muted);
  line-height: 1.7;
}

.detail-description {
  margin: 1rem 0 0;
  font-size: 1rem;
}

.detail-block {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(73, 98, 70, 0.22);
}

.detail-block h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  color: var(--brand-dark);
  line-height: 1.05;
  font-size: 1.35rem;
}

.page-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(1rem, calc((100vw - 1360px) / 2 + 1rem));
  padding-right: max(1rem, calc((100vw - 1360px) / 2 + 1rem));
  padding-top: 3rem;
  padding-bottom: 2.2rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(242, 207, 88, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(22, 62, 37, 0.98), rgba(18, 46, 29, 1));
  color: #ebf4eb;
}

.page-footer::before {
  background:
    radial-gradient(circle at 14% 22%, rgba(226, 165, 61, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.footer-top {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: start;
}

.footer-top h2 {
  margin: 0;
  color: #f7fbf5;
  font-family: "Marcellus", "Fraunces", serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
}

.footer-top > div:first-child p {
  max-width: 18rem;
  margin: 0.55rem 0 0.8rem;
  color: #cbdccf;
}

.footer-top > div:first-child a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(235, 244, 235, 0.1);
  color: #f3f8f2;
}

.footer-top h3 {
  margin: 0 0 0.7rem;
  color: #f7fbf5;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-top a,
.footer-top span {
  display: block;
  margin: 0.34rem 0;
  color: #b8cdbd;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-top a:hover {
  color: #f0f6ef;
}

.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(224, 239, 229, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  color: #96af9b;
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: inherit;
  transition: color 0.18s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #f0f6ef;
}

@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header-inner {
    grid-template-columns: auto auto 1fr auto;
    padding: 0.2rem 0 0.2rem 4rem;
  }

  .site-mobile-menu-button {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .brand-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    width: min(320px, calc(100vw - 28px));
    min-height: 100vh;
    height: 100dvh;
    padding: max(1rem, env(safe-area-inset-top)) 1.1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.45rem;
    background:
      linear-gradient(180deg, rgba(27, 57, 38, 0.98), rgba(19, 44, 29, 0.98)),
      radial-gradient(circle at top left, rgba(226, 165, 61, 0.18), transparent 32%);
    color: #edf4ec;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
    visibility: hidden;
    pointer-events: none;
    transform: translateX(calc(-100% - 24px));
    transition: transform 0.18s ease, visibility 0s linear 0.18s;
  }

  .brand-nav a {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid rgba(233, 241, 232, 0.12);
    font-size: 0.94rem;
    letter-spacing: 0.12em;
  }

  .brand-nav a::after {
    display: none;
  }

  .site-mobile-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 110;
    border: 0;
    padding: 0;
    background: rgba(6, 12, 21, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease;
  }

  body.site-mobile-menu-open {
    overflow: hidden;
  }

  body.site-mobile-menu-open .brand-nav {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition: transform 0.18s ease;
  }

  body.site-mobile-menu-open .site-mobile-menu-button {
    position: fixed;
    top: max(0.95rem, env(safe-area-inset-top));
    left: min(calc(320px - 58px), calc(100vw - 86px));
    transform: none;
    background: rgba(255, 255, 255, 0.08);
    color: #f7fbf5;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
  }

  body.site-mobile-menu-open .site-mobile-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .site-mobile-menu-button {
    display: inline-flex;
  }

  .site-mobile-menu-button:hover,
  .site-mobile-menu-button:focus-visible {
    transform: translateY(calc(-50% - 1px));
  }

  body.site-mobile-menu-open .site-mobile-menu-button:hover,
  body.site-mobile-menu-open .site-mobile-menu-button:focus-visible {
    transform: translateY(-1px);
  }

  .header-actions {
    grid-column: 4;
    justify-self: end;
  }

  .header-profile-text {
    display: none;
  }

  .detail-header {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.75rem 0.7rem;
  }

  .site-header-inner {
    padding-left: 3.7rem;
    gap: 0.75rem;
  }

  .brand img {
    width: 72px;
    height: 72px;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .header-icon-link {
    width: 38px;
    height: 38px;
  }

  .header-signin {
    padding: 0.72rem 0.95rem;
    font-size: 0.82rem;
  }

  .page-shell {
    padding: 0.9rem 0.7rem 2rem;
    gap: 0;
  }

  .section {
    padding: 2.2rem 0;
  }

  .detail-image-wrap {
    margin: -1rem -1rem 1rem;
    border-radius: 24px 24px 18px 18px;
  }

  .detail-image {
    height: 250px;
  }

  .page-shell {
    padding-bottom: 0;
  }

  .gallery-lightbox {
    padding: 0.75rem;
  }

  .gallery-lightbox__dialog {
    width: min(100%, calc(100vw - 1.5rem));
    padding: 0 0.75rem 4.6rem;
  }

  .gallery-lightbox__media {
    min-height: calc(100vh - 5.8rem);
  }

  .gallery-lightbox__media img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 18px;
  }

  .gallery-lightbox__close {
    top: max(0.8rem, env(safe-area-inset-top));
    right: max(0.8rem, env(safe-area-inset-right));
    width: 50px;
    height: 50px;
  }

  .gallery-lightbox__nav {
    top: auto;
    bottom: 0.8rem;
    transform: none;
  }

  .gallery-lightbox__nav--prev {
    left: 0.8rem;
  }

  .gallery-lightbox__nav--next {
    right: 0.8rem;
  }

  .page-footer {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 0.9rem;
  }

  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-top h2 {
    font-size: clamp(1.6rem, 7.2vw, 1.9rem);
  }

  .footer-top h3 {
    margin-bottom: 0.5rem;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
  }

  .footer-top a,
  .footer-top span {
    margin: 0.18rem 0;
    font-size: 0.93rem;
    line-height: 1.42;
  }

  .footer-top > div:not(:first-child) a,
  .footer-top > div:not(:first-child) span {
    display: flex;
    align-items: center;
    min-height: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

@media (max-width: 420px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-top > div:first-child {
    grid-column: auto;
  }
}
