/* Canonical public shell for inner pages.
   Mirrors the solid/scrolled state of the homepage header. */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15, 93, 56, 0.12);
  background: rgba(247, 245, 239, 0.94);
  box-shadow: 0 18px 45px rgba(24, 33, 28, 0.08);
  color: #18211C;
  backdrop-filter: blur(18px);
}

.site-header .nav-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header .brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: inherit;
  text-decoration: none;
}

.site-header .brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 224px;
  height: 104px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
}

.site-header .brand-badge img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

.site-header .brand-copy {
  display: none;
  flex-direction: column;
  line-height: 1.05;
}

.site-header .brand-copy strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-header .brand-copy small {
  margin-top: 5px;
  color: currentColor;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  opacity: 0.7;
}

.site-header .nav-links {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.site-header .nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
}

.site-header .nav-item::after {
  position: absolute;
  top: 100%;
  left: -18px;
  right: -18px;
  height: 16px;
  content: "";
}

.site-header .nav-link {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 180ms ease, color 180ms ease;
}

.site-header .nav-link::after {
  position: absolute;
  right: 0;
  bottom: -13px;
  left: 0;
  height: 2px;
  content: "";
  background: #8BB174;
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.is-active,
.site-header .nav-item:hover > .nav-link,
.site-header .nav-item:focus-within > .nav-link {
  opacity: 1;
}

.site-header .nav-link:hover::after,
.site-header .nav-link.is-active::after,
.site-header .nav-item:hover > .nav-link::after,
.site-header .nav-item:focus-within > .nav-link::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header .nav-main {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-header .nav-trigger {
  appearance: none;
}

.site-header .nav-sub {
  display: none;
}

.site-header .dropdown-panel {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  display: grid;
  min-width: 150px;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(15, 93, 56, 0.14);
  border-radius: 2px;
  background: rgba(247, 245, 239, 0.98);
  box-shadow: 0 22px 55px rgba(24, 33, 28, 0.15);
  color: #18211C;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px);
}

.site-header .nav-item:hover .dropdown-panel,
.site-header .nav-item:focus-within .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-header .dropdown-panel a {
  display: grid;
  padding: 12px 14px;
  border-radius: 2px;
  color: inherit;
  text-decoration: none;
  transition: background 160ms ease;
  white-space: nowrap;
}

.site-header .dropdown-panel a:hover {
  background: rgba(15, 93, 56, 0.08);
}

.site-header .dropdown-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-header .btn-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #0F5D38;
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-header .btn-header-action:hover {
  background: #8BB174;
  color: #18211C;
  transform: translateY(-1px);
}

.site-header .header-action-group {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.site-header .account-menu {
  position: relative;
  display: inline-flex;
}

.site-header .account-menu summary {
  display: inline-flex;
  width: 72px;
  height: 46px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(24, 33, 28, 0.16);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.54);
  color: #5a0b6f;
  cursor: pointer;
  list-style: none;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-header .account-menu summary::-webkit-details-marker {
  display: none;
}

.site-header .account-menu summary:hover,
.site-header .header-icon-button:hover {
  border-color: rgba(90, 11, 111, 0.32);
  box-shadow: 0 12px 28px rgba(24, 33, 28, 0.08);
  transform: translateY(-1px);
}

.site-header .avatar {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #5a0b6f;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.site-header .account-menu.is-logged-out .avatar {
  flex-basis: auto;
  width: auto;
  height: auto;
  padding: 0 2px;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
}

.site-header .account-summary-copy {
  display: none;
}

.site-header .chevron {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.8;
  transform: rotate(45deg) translateY(-2px);
}

.site-header .account-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  display: grid;
  width: 250px;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(15, 93, 56, 0.14);
  border-radius: 2px;
  background: rgba(247, 245, 239, 0.98);
  box-shadow: 0 22px 55px rgba(24, 33, 28, 0.16);
  color: #18211C;
  backdrop-filter: blur(18px);
}

.site-header .account-panel a,
.site-header .account-panel button {
  display: flex;
  min-height: 40px;
  align-items: center;
  border: 0;
  border-radius: 2px;
  padding: 0 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
}

.site-header .account-panel a:hover,
.site-header .account-panel button:hover {
  background: rgba(15, 93, 56, 0.08);
  color: #0F5D38;
}

.site-header .account-panel .sign-out {
  margin-top: 5px;
  border-top: 1px solid rgba(24, 33, 28, 0.1);
  border-radius: 0;
  padding-top: 10px;
  color: #8e4e34;
}

.site-header .header-icon-button {
  position: relative;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 33, 28, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: #5a0b6f;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-header .cart-count-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #f7f5ef;
  border-radius: 999px;
  background: #0f5d38;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.site-header .cart-count-badge[hidden],
.site-header .mobile-cart-count[hidden] {
  display: none;
}

.site-header .header-icon-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header .mobile-menu {
  position: relative;
  display: none;
  justify-self: end;
}

.site-header .mobile-menu summary {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(24, 33, 28, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: inherit;
  cursor: pointer;
  list-style: none;
}

.site-header .mobile-menu summary::before {
  content: none !important;
}

.site-header .mobile-menu summary::-webkit-details-marker {
  display: none;
}

.site-header .mobile-menu summary span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-header .mobile-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: min(320px, calc(100vw - 32px));
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(15, 93, 56, 0.14);
  border-radius: 2px;
  background: rgba(247, 245, 239, 0.98);
  box-shadow: 0 22px 55px rgba(24, 33, 28, 0.16);
  color: #18211C;
}

.site-header .mobile-menu-group {
  display: grid;
  gap: 4px;
}

.site-header .mobile-menu-label {
  padding: 0 12px 4px;
  color: rgba(24, 33, 28, 0.52);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header .mobile-menu-panel a {
  padding: 10px 12px;
  border-radius: 2px;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-header .mobile-menu-panel a:hover {
  background: rgba(15, 93, 56, 0.08);
}

.site-header .mobile-menu-panel .mobile-cart-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-header .mobile-cart-count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #0f5d38;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 1040px) {
  .site-header .nav-container {
    grid-template-columns: auto auto;
    width: min(100% - 32px, 1180px);
  }

  .site-header .nav-links,
  .site-header .btn-header-action,
  .site-header .header-action-group {
    display: none;
  }

  .site-header .mobile-menu {
    display: block;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 8px 0;
  }

  .site-header .nav-container {
    width: min(100% - 28px, 1180px);
  }

  .site-header .brand-badge {
    width: 168px;
    height: 78px;
  }

  .site-header .mobile-menu-panel {
    position: fixed;
    top: 86px;
    right: 14px;
    left: 14px;
    width: auto;
    max-height: calc(100vh - 108px);
    overflow: auto;
  }
}

.public-footer {
  border-radius: 40px 40px 0 0;
  background: #091e14;
  padding: 64px 0;
  color: rgba(255, 255, 255, 0.65);
}

.public-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  width: min(1152px, calc(100% - 48px));
  margin: 0 auto;
}

.public-footer-info {
  display: grid;
  gap: 32px;
}

.public-footer-heading {
  margin: 0 0 12px;
  color: white;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.public-footer-copy,
.public-footer-contact,
.public-footer-address {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
}

.public-footer-copy {
  color: rgba(255, 255, 255, 0.55);
}

.public-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.public-footer a:hover {
  color: #8BB174;
}

.public-footer-copy a,
.public-footer-contact a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.public-footer-copy a:hover,
.public-footer-contact a:hover {
  color: #8BB174;
}

.public-footer-address strong {
  display: block;
  margin-bottom: 6px;
  color: white;
  font-weight: 500;
}

.public-footer-qr-wrap {
  display: block;
  width: 176px;
  height: 176px;
  margin-top: 8px;
}

.public-footer-qr {
  display: block;
  width: 176px;
  height: 176px;
  border-radius: 4px;
  background: white;
  object-fit: contain;
}

.public-footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 96px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 500;
}

.public-footer-links a:hover {
  transform: translateX(4px);
}

.public-footer-cookie-settings {
  width: fit-content;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.public-footer-cookie-settings:hover {
  color: #8BB174;
  transform: translateX(4px);
}

.public-footer-cookie-settings:focus-visible,
.cookie-button:focus-visible,
.cookie-preferences-close:focus-visible,
.cookie-preference-row input:focus-visible {
  outline: 3px solid rgba(139, 177, 116, 0.55);
  outline-offset: 3px;
}

.public-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: min(1152px, calc(100% - 48px));
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.public-footer-bottom p {
  margin: 0;
}

.public-footer-bottom .public-footer-registration {
  color: rgba(139, 177, 116, 0.8);
}

@media (max-width: 768px) {
  .public-footer {
    padding: 64px 0;
  }

  .public-footer-grid {
    grid-template-columns: 1fr;
  }

  .public-footer-links {
    padding-top: 8px;
  }

  .public-footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .public-footer-qr-wrap,
  .public-footer-qr {
    width: 164px;
    height: 164px;
  }
}

.cookie-consent-banner {
  box-sizing: border-box;
  position: fixed;
  z-index: 1000;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid rgba(20, 73, 53, 0.18);
  border-radius: 8px;
  background: #fffefa;
  box-shadow: 0 18px 54px rgba(20, 32, 25, 0.2);
  color: #17211c;
}

.cookie-consent-banner[hidden] {
  display: none;
}

.cookie-consent-copy {
  min-width: 0;
}

.cookie-consent-copy h2 {
  margin: 0 0 6px;
  color: #123f2f;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0;
}

.cookie-consent-copy p {
  max-width: 690px;
  margin: 0;
  color: #4f5c55;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent-copy a,
.cookie-preferences-footer a {
  color: #0f684b;
  font-weight: 700;
  text-underline-offset: 3px;
}

.cookie-consent-actions,
.cookie-preferences-footer,
.cookie-preferences-footer > div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-consent-actions {
  justify-content: flex-end;
}

.cookie-button {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
}

.cookie-button-primary {
  border-color: #0f684b;
  background: #0f684b;
  color: #fff;
}

.cookie-button-primary:hover {
  border-color: #0b543c;
  background: #0b543c;
}

.cookie-button-secondary {
  border-color: rgba(20, 73, 53, 0.25);
  background: #fff;
  color: #123f2f;
}

.cookie-button-secondary:hover {
  border-color: rgba(20, 73, 53, 0.48);
  background: #f3f6f1;
}

.cookie-preferences-dialog {
  box-sizing: border-box;
  width: min(620px, calc(100% - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(20, 73, 53, 0.2);
  border-radius: 8px;
  background: #fffefa;
  box-shadow: 0 28px 80px rgba(12, 28, 20, 0.28);
  color: #17211c;
}

.cookie-preferences-dialog::backdrop {
  background: rgba(12, 23, 17, 0.58);
}

.cookie-preferences-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(20, 73, 53, 0.14);
}

.cookie-preferences-eyebrow {
  margin: 0 0 5px;
  color: #a75424;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cookie-preferences-header h2 {
  margin: 0;
  color: #123f2f;
  font-size: 26px;
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: 0;
}

.cookie-preferences-close {
  display: inline-grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(20, 73, 53, 0.2);
  border-radius: 6px;
  background: transparent;
  color: #365047;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.cookie-preferences-intro {
  margin: 0;
  padding: 20px 24px 8px;
  color: #59655f;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-preference-list {
  display: grid;
  padding: 8px 24px 20px;
}

.cookie-preference-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 82px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(20, 73, 53, 0.12);
  cursor: pointer;
}

.cookie-preference-row:last-child {
  border-bottom: 0;
}

.cookie-preference-row span {
  display: grid;
  gap: 4px;
}

.cookie-preference-row strong {
  color: #17211c;
  font-size: 15px;
  font-weight: 750;
}

.cookie-preference-row small {
  color: #66716b;
  font-size: 13px;
  line-height: 1.45;
}

.cookie-preference-row input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #0f684b;
}

.cookie-preference-row.is-required {
  cursor: default;
}

.cookie-preferences-footer {
  justify-content: space-between;
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(20, 73, 53, 0.14);
}

.cookie-preferences-footer a {
  font-size: 13px;
}

@media (max-width: 900px) {
  .cookie-consent-banner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cookie-consent-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .cookie-consent-banner {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    width: calc(100% - 20px);
    padding: 18px;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-consent-actions .cookie-button-primary {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .cookie-button {
    width: 100%;
    white-space: normal;
  }

  .cookie-preferences-header {
    padding: 20px 18px 16px;
  }

  .cookie-preferences-header h2 {
    font-size: 23px;
  }

  .cookie-preferences-intro {
    padding: 18px 18px 6px;
  }

  .cookie-preference-list {
    padding: 6px 18px 14px;
  }

  .cookie-preferences-footer {
    display: grid;
    gap: 16px;
    padding: 16px 18px 18px;
  }

  .cookie-preferences-footer > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.checkout-reward-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 4px;
  padding: 14px 0;
  border-top: 1px solid rgba(20, 73, 53, 0.18);
  border-bottom: 1px solid rgba(20, 73, 53, 0.18);
  color: #17211c;
}

.checkout-reward-offer__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.checkout-reward-offer__copy strong {
  font-size: 14px;
  line-height: 1.4;
}

.checkout-reward-offer__copy span {
  color: rgba(23, 33, 28, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.checkout-reward-offer__action {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.checkout-reward-offer__action select,
.checkout-reward-offer__action button {
  min-height: 40px;
  border: 1px solid #0f5d38;
  border-radius: 6px;
  padding: 9px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.checkout-reward-offer__action select {
  max-width: 210px;
  background: #fff;
  color: #17211c;
}

.checkout-reward-offer__action button {
  background: #0f5d38;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 620px) {
  .checkout-reward-offer {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .checkout-reward-offer__action {
    align-items: stretch;
  }

  .checkout-reward-offer__action select {
    max-width: none;
    min-width: 0;
    flex: 1 1 auto;
  }
}
