.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  font-size: 1rem;
}

.brand-mark {
  width: 96px;
  height: 96px;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 4px;
  background: transparent;
  box-shadow: 0 12px 28px rgba(5, 19, 13, 0.2);
  cursor: zoom-in;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  display: inline-block;
  line-height: 1.1;
}

.icon-button,
.close-button,
.send-button {
  border: 0;
  cursor: pointer;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--cream);
  display: grid;
  place-items: center;
  transition: transform 180ms ease, background 180ms ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.member-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.member-menu-trigger {
  min-height: 42px;
  border: 1px solid rgba(212, 175, 55, 0.36);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 5px;
  background: rgba(255, 248, 229, 0.1);
  color: var(--cream);
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold), #fff1a8);
  color: #1d1707;
  font-size: 0.8rem;
  font-weight: 900;
}

.member-menu-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 850;
}

.member-menu-trigger svg {
  width: 16px;
  height: 16px;
}

.member-menu-trigger svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.member-menu-panel {
  position: absolute;
  z-index: 25;
  top: calc(100% + 12px);
  right: 0;
  min-width: 230px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 14px;
  display: none;
  padding: 10px;
  background: rgba(7, 27, 20, 0.96);
  color: var(--cream);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.member-menu.is-open .member-menu-panel {
  display: grid;
  gap: 4px;
}

.member-menu-kicker {
  padding: 6px 8px 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member-menu-panel a,
.member-menu-panel button.member-menu-link {
  border: 0;
  width: 100%;
  border-radius: 10px;
  padding: 10px 12px;
  background: transparent;
  color: rgba(255, 248, 229, 0.9);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
}

.member-menu-panel a:hover,
.member-menu-panel button.member-menu-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.primary-link,
.secondary-link,
.primary-button,
.secondary-button {
  min-height: 46px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.primary-link,
.primary-button {
  border: 0;
  background: linear-gradient(135deg, var(--sunset), var(--coral));
  color: #211208;
  box-shadow: 0 16px 34px rgba(239, 109, 74, 0.34);
  cursor: pointer;
}

.secondary-link,
.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.secondary-button {
  border-color: rgba(23, 33, 27, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
}

.primary-link:hover,
.secondary-link:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.primary-link svg,
.send-button svg {
  width: 20px;
  height: 20px;
}

.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--gold);
  font-weight: 800;
  cursor: pointer;
}

.text-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.footer-login {
  color: var(--gold);
}

.eyebrow,
.section-kicker,
.panel-kicker {
  font-weight: 820;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 246, 231, 0.72);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--gold);
  font-weight: 800;
}

.mini-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-stat {
  min-height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.mini-stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 1.35rem;
}

.mini-stat span {
  color: rgba(255, 246, 231, 0.72);
  line-height: 1.45;
}

.coffee-showcase {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.coffee-showcase img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--coral);
}

.jungle .section-kicker {
  color: var(--gold);
}

.panel-kicker {
  margin-bottom: 10px;
  color: var(--gold);
}

.access-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 157, 66, 0.16), rgba(13, 38, 27, 0.74)),
    rgba(7, 27, 20, 0.66);
  color: var(--cream);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.access-panel h2,
.auth-dialog h2,
.cookie-banner h2 {
  margin-bottom: 18px;
  font-size: 1.65rem;
  line-height: 1.15;
}

.stack-form {
  display: grid;
  gap: 12px;
}

.stack-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 246, 231, 0.82);
  font-size: 0.9rem;
  font-weight: 760;
}

.auth-dialog .stack-form label,
.cookie-banner p,
.modal-account p {
  color: var(--muted);
}

.admin-form.stack-form label,
.admin-form.stack-form label span,
.cart-card .stack-form label,
.cart-card .stack-form label span,
.cart-page-shell .stack-form label,
.cart-page-shell .stack-form label span {
  color: var(--ink);
}

.stack-form input {
  min-width: 0;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  outline: 0;
}

.planner-builder {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr 0.8fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.8);
  box-shadow: var(--soft-shadow);
}

.planner-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
}

.planner-filters label {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: rgba(255, 250, 240, 0.82);
  color: var(--muted);
  font-weight: 800;
}

.planner-filters select {
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 850;
  outline: 0;
}

.filter-toggle input {
  accent-color: var(--jungle-700);
}

.planner-builder label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.planner-builder input,
.planner-builder select {
  min-width: 0;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  outline: 0;
}

.planner-builder input:focus,
.planner-builder select:focus {
  border-color: rgba(29, 80, 53, 0.45);
  box-shadow: 0 0 0 4px rgba(111, 166, 79, 0.16);
}

.stack-form input:focus,
.chat-form input:focus {
  border-color: rgba(255, 208, 119, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 208, 119, 0.16);
}

.access-panel .text-button {
  margin-top: 14px;
}

.account-card {
  display: grid;
  gap: 14px;
}

.account-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.account-progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--leaf));
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 246, 231, 0.82);
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.quick-tile,
.dashboard-card,
.trip-card,
.panel,
.chat-point,
.chat-widget,
.auth-dialog,
.cookie-banner {
  border-radius: var(--radius);
}

.quick-tile {
  min-height: 128px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 157, 66, 0.14), rgba(111, 166, 79, 0.16)),
    rgba(255, 255, 255, 0.05);
  color: var(--cream);
  transition: transform 180ms ease, border-color 180ms ease;
}

.quick-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 208, 119, 0.38);
}

.locked-tile {
  cursor: default;
}

.quick-tile.locked-tile:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.12);
}

.tile-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  margin-bottom: 16px;
  background: rgba(255, 208, 119, 0.16);
  color: var(--gold);
}

.tile-icon svg {
  width: 21px;
  height: 21px;
}

.quick-tile strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.02rem;
}

.quick-tile span {
  color: rgba(255, 246, 231, 0.72);
  line-height: 1.45;
  font-size: 0.92rem;
}

.dashboard-card {
  min-height: 214px;
  border: 1px solid var(--line);
  padding: 22px;
  background: rgba(255, 250, 240, 0.76);
  box-shadow: var(--soft-shadow);
}

.dashboard-card h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.dashboard-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.info-card,
.list-panel,
.cart-card,
.product-buy-card,
.article-card,
.article-feature,
.timeline,
.profile-panel,
.settings-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: var(--soft-shadow);
}

.info-card,
.cart-card,
.product-buy-card,
.article-card,
.article-feature,
.profile-panel,
.settings-panel {
  padding: 22px;
}

.info-card h3,
.cart-card h3,
.product-buy-card h3,
.article-card h3,
.article-feature h3,
.profile-panel h3,
.settings-panel h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.info-card p,
.cart-card p,
.product-buy-card p,
.article-card p,
.article-feature p,
.profile-panel p,
.settings-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.info-card .primary-button,
.info-card .primary-link {
  margin-top: 18px;
}

.profile-panel .stack-form {
  margin-top: 16px;
}

.profile-panel .stack-form label {
  color: var(--muted);
}

.profile-panel .text-button {
  margin-top: 14px;
  color: var(--jungle-700);
}

.product-buy-card {
  position: sticky;
  top: 88px;
}

.product-price {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 18px 0;
  color: var(--jungle-700);
}

.product-price strong {
  font-size: 2.4rem;
  line-height: 1;
}

.product-price span {
  padding-bottom: 5px;
  color: var(--muted);
  font-weight: 800;
}

.product-detail-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.product-detail-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.product-detail-list strong {
  color: var(--ink);
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.flavor-card {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 157, 66, 0.12), rgba(111, 166, 79, 0.12)),
    rgba(255, 250, 240, 0.82);
}

.flavor-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--jungle-700);
  font-size: 1.05rem;
}

.flavor-card span {
  color: var(--muted);
  line-height: 1.5;
}

.video-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: var(--soft-shadow);
}

.video-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) - 2px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  color: var(--cream);
  background:
    linear-gradient(145deg, rgba(7, 27, 20, 0.18), rgba(7, 27, 20, 0.86)),
    url("../coffee-product.jpg");
  background-size: cover;
  background-position: center;
}

.video-frame strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 1.2rem;
}

.video-frame span {
  color: rgba(255, 246, 231, 0.78);
  line-height: 1.5;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.planner-map-card,
.planner-side-panel,
.calendar-card,
.service-card,
.plan-item,
.empty-plan {
  border-radius: var(--radius);
}

.planner-map-card,
.planner-side-panel,
.calendar-card,
.service-card {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: var(--soft-shadow);
}

.planner-map-card {
  overflow: hidden;
}

.planner-map-head,
.planner-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.planner-map-head h3,
.planner-side-head h3 {
  margin: 0;
  font-size: 1.12rem;
}

.map-canvas {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    radial-gradient(circle at 42% 20%, rgba(255, 208, 119, 0.22), transparent 24%),
    linear-gradient(145deg, rgba(7, 27, 20, 0.92), rgba(29, 80, 53, 0.78)),
    url("../jungle-sunset-hero.jpg");
  background-size: cover;
  background-position: center;
}

.map-canvas::before {
  content: "";
  position: absolute;
  inset: 44px 22% 48px 24%;
  border-radius: 52% 48% 58% 44%;
  background:
    linear-gradient(180deg, rgba(201, 230, 196, 0.95), rgba(111, 166, 79, 0.82));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 24px 70px rgba(0, 0, 0, 0.28);
  transform: rotate(8deg);
}

.map-canvas::after {
  content: "";
  position: absolute;
  left: 47%;
  top: 42%;
  width: 18%;
  height: 45%;
  border-radius: 45% 55% 48% 52%;
  background: rgba(111, 166, 79, 0.92);
  transform: rotate(-12deg);
}

.map-pin {
  position: absolute;
  z-index: 2;
  min-width: 34px;
  min-height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sunset), var(--coral));
  color: #211208;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.map-pin::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  background: currentColor;
}

.map-pin span {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  min-width: max-content;
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(7, 27, 20, 0.82);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.map-pin:hover span,
.map-pin.is-active span {
  opacity: 1;
}

.map-pin.is-active {
  background: linear-gradient(135deg, var(--gold), var(--leaf));
}

.map-detail {
  padding: 20px;
  border-top: 1px solid var(--line);
}

.map-detail h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.map-detail p {
  color: var(--muted);
  line-height: 1.6;
}

.planner-meta {
  border-color: var(--line);
  color: var(--jungle-700);
  margin-bottom: 18px;
}

.calendar-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.calendar-card.premium,
.service-card.premium {
  background:
    linear-gradient(145deg, rgba(255, 157, 66, 0.12), rgba(111, 166, 79, 0.18)),
    rgba(255, 250, 240, 0.86);
}

.calendar-date {
  width: 72px;
  min-height: 72px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--jungle-700);
  color: var(--cream);
}

.calendar-date strong {
  font-size: 1.8rem;
  line-height: 1;
}

.calendar-date span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.calendar-card h3,
.service-card h3 {
  margin: 10px 0 8px;
  font-size: 1.15rem;
}

.calendar-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.calendar-meta,
.service-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: var(--jungle-700);
  font-size: 0.9rem;
  font-weight: 850;
}

.service-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.service-footer {
  align-items: center;
  justify-content: space-between;
}

.planner-side-panel {
  position: sticky;
  top: 88px;
  overflow: hidden;
}

.planner-side-panel .cart-card {
  margin: 0 16px 16px;
  box-shadow: none;
}

.plan-summary {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.plan-item,
.empty-plan {
  padding: 14px;
  background: rgba(23, 33, 27, 0.06);
}

.plan-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 12px;
  align-items: center;
}

.plan-item strong {
  display: block;
  margin-bottom: 4px;
}

.plan-item span,
.empty-plan {
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.92rem;
}

.plan-item button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(239, 109, 74, 0.14);
  color: var(--coral);
  cursor: pointer;
  font-weight: 900;
}

.list-panel {
  overflow: hidden;
}

.list-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

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

.list-row-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--jungle-700);
  background: rgba(111, 166, 79, 0.18);
  font-weight: 900;
}

.list-row h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.list-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.list-row strong {
  color: var(--jungle-700);
  white-space: nowrap;
}

.timeline {
  display: grid;
  overflow: hidden;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-time {
  color: var(--coral);
  font-weight: 900;
}

.timeline-item h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.card-number {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--coral);
  font-weight: 900;
}

.trip-card {
  min-height: 320px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background:
    var(--trip-bg-image, none),
    linear-gradient(145deg, rgba(255, 157, 66, 0.18), rgba(18, 75, 50, 0.82)),
    var(--jungle-800);
  background-size: cover;
  background-position: center;
  color: var(--cream);
  box-shadow: var(--shadow);
}

.trip-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 208, 119, 0.3), transparent 25%),
    linear-gradient(180deg, transparent, rgba(2, 12, 8, 0.5));
  pointer-events: none;
}

.trip-card.is-locked {
  background: var(--jungle-800);
  cursor: default;
}

.trip-card.is-locked::before {
  background: var(--trip-bg-image, none) center / cover;
  filter: blur(7px) brightness(0.55);
  transform: scale(1.12);
}

.trip-card-lock-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.trip-card-lock-overlay h3 {
  margin: 0;
  max-width: none;
}

.trip-card-lock-overlay p {
  margin: 0;
  color: rgba(255, 246, 231, 0.85);
}

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

.trip-card.featured {
  min-height: 410px;
  background:
    var(--trip-bg-image, none),
    linear-gradient(145deg, rgba(255, 157, 66, 0.26), rgba(22, 85, 56, 0.86)),
    var(--jungle-700);
  background-size: cover;
  background-position: center;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 246, 231, 0.88);
  font-size: 0.82rem;
  font-weight: 750;
}

.trip-card h3 {
  margin: 28px 0 12px;
  max-width: 15ch;
  color: #fff;
  font-size: 1.9rem;
  line-height: 1.1;
}

.trip-card p {
  margin-bottom: 24px;
  color: rgba(255, 246, 231, 0.75);
  line-height: 1.6;
}

.trip-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 18px;
  color: var(--gold);
  font-weight: 820;
}

.panel {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.74);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.panel-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.panel-header h3 {
  margin: 0;
  font-size: 1.12rem;
}

.panel-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-list,
.article-list {
  display: grid;
}

.product-item,
.article-item {
  min-height: 112px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.product-link {
  color: inherit;
  transition: background 180ms ease, transform 180ms ease;
}

.product-link:hover {
  background: rgba(255, 157, 66, 0.08);
}

.article-item {
  grid-template-columns: minmax(0, 1fr) auto;
}

.product-item:last-child,
.article-item:last-child {
  border-bottom: 0;
}

.product-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 68% 24%, rgba(255, 208, 119, 0.72), transparent 26%),
    linear-gradient(145deg, var(--jungle-700), var(--coral));
}

.product-thumb svg {
  width: 30px;
  height: 30px;
}

.product-item h4,
.article-item h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.cart-card {
  position: sticky;
  top: 88px;
}

.cart-page-shell {
  max-width: 640px;
  margin: 0 auto;
}

.cart-preview {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.cart-preview-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 1.02rem;
  color: inherit;
  text-align: left;
}

.cart-preview-toggle svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 160ms ease;
}

.cart-preview-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.cart-preview-panel {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-preview-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.cart-preview-more {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.cart-preview-line:last-child {
  border-bottom: 0;
}

.icon-button.cart-nav-link {
  width: auto;
  min-width: 42px;
  padding: 0 12px 0 10px;
  gap: 6px;
  display: inline-flex;
  align-items: center;
}

.cart-nav-badge {
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--coral);
  color: var(--white);
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-nav-price {
  font-size: 0.82rem;
  font-weight: 700;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.cart-total strong {
  color: var(--jungle-700);
  font-size: 1.35rem;
}

.cart-shipping-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.discount-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.discount-row input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.discount-row .secondary-button {
  flex: 0 0 auto;
  padding: 8px 14px;
  font-size: 0.88rem;
}

.discount-status {
  margin: 6px 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--jungle-700);
}

.discount-status.is-error { color: var(--coral); }

[data-cart-discount-line] strong { color: var(--jungle-700); }

.premium-hero-copy h1 {
  margin-bottom: 14px;
  max-width: 13ch;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  color: var(--cream);
}

.premium-hero-support {
  max-width: 64ch;
  margin: 0;
  color: rgba(255, 246, 231, 0.8);
  font-size: 1.02rem;
  line-height: 1.7;
}

.premium-hero-card,
.premium-plan-card,
.dashboard-card,
.premium-comparison-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--soft-shadow);
}

.premium-hero-card {
  padding: 22px;
  background: linear-gradient(145deg, rgba(255, 250, 240, 0.96), rgba(255, 229, 185, 0.9));
  box-shadow: var(--soft-shadow);
}

.premium-account-status {
  display: grid;
  gap: 10px;
}

.premium-status-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  border: 1px solid rgba(23, 33, 27, 0.1);
}

.premium-status-card.is-active {
  border-color: rgba(111, 166, 79, 0.28);
  background: linear-gradient(145deg, rgba(111, 166, 79, 0.16), rgba(255, 186, 97, 0.16));
}

.premium-status-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--jungle-700);
}

.premium-status-card span {
  color: #111;
  line-height: 1.55;
}

.premium-benefits-grid,
.premium-pricing-grid,
.premium-grid,
.premium-comparison-grid {
  display: grid;
  gap: 16px;
}

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

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

.premium-plan-card {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.premium-plan-card.is-featured {
  border-color: rgba(239, 109, 74, 0.28);
  box-shadow: 0 24px 48px rgba(239, 109, 74, 0.16);
  transform: translateY(-2px);
}

.premium-plan-price {
  margin: 0;
  color: var(--jungle-700);
  font-size: 2rem;
  font-weight: 900;
}

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

.premium-comparison-card {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.92);
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 12px;
}

.premium-comparison-card.is-basic {
  border: 1px solid rgba(23, 33, 27, 0.12);
}

.premium-comparison-card.is-premium {
  border: 1px solid rgba(111, 166, 79, 0.26);
  background: linear-gradient(145deg, rgba(255, 250, 240, 0.96), rgba(111, 166, 79, 0.16));
}

.premium-comparison-card.is-super {
  border: 1px solid rgba(239, 109, 74, 0.24);
  background: linear-gradient(145deg, rgba(255, 250, 240, 0.96), rgba(255, 186, 97, 0.16));
}

.premium-comparison-card .check-list {
  color: #111;
}

.premium-comparison-card .check-list li {
  color: #111;
}

.premium-card-copy {
  margin: 0;
  color: #111;
  line-height: 1.6;
}

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

.premium-grid-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.premium-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: var(--soft-shadow);
}

.premium-card.is-locked {
  opacity: 0.86;
  border-color: rgba(239, 109, 74, 0.24);
}

.premium-card.is-unlocked {
  border-color: rgba(111, 166, 79, 0.3);
  background: linear-gradient(145deg, rgba(255, 157, 66, 0.12), rgba(111, 166, 79, 0.16));
}

.premium-card h3 {
  margin: 10px 0 6px;
  font-size: 1.02rem;
  color: #111;
}

.premium-card p {
  margin: 0 0 8px;
  color: #111;
  line-height: 1.5;
}

.premium-card strong {
  color: var(--jungle-700);
  font-weight: 850;
}

.premium-trip-list {
  display: grid;
  gap: 16px;
}

.premium-trip-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--soft-shadow);
  color: #111;
}

.premium-trip-card.is-active {
  border-color: rgba(111, 166, 79, 0.32);
  background: linear-gradient(145deg, rgba(255, 157, 66, 0.12), rgba(111, 166, 79, 0.18));
}

.premium-checkout-dialog {
  width: min(560px, 100%);
  color: #111;
}

.premium-option-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 12px;
}

.premium-option-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 33, 27, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
}

.premium-option-card.is-selected {
  border-color: rgba(111, 166, 79, 0.26);
  background: rgba(111, 166, 79, 0.12);
}

.premium-option-card input {
  margin: 0;
}

.premium-option-card span {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.premium-option-card strong {
  color: var(--jungle-700);
}

.premium-checkout-plan {
  margin: 16px 0 24px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(111, 166, 79, 0.14);
  color: var(--jungle-700);
  font-weight: 850;
}

.premium-checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.avatar-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.avatar-option {
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.avatar-option.is-active {
  border-color: rgba(239, 109, 74, 0.32);
  background: rgba(255, 157, 66, 0.14);
}

.avatar-option-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.8rem;
}

.member-menu-summary {
  min-height: 42px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 5px;
  background: rgba(255, 248, 229, 0.12);
  color: var(--cream);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.member-menu-toggle-button {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 14px;
  margin-left: 6px;
  background: linear-gradient(135deg, var(--sunset), var(--coral));
  color: #211208;
  font-weight: 800;
  cursor: pointer;
}

.cart-card .primary-link,
.cart-card .secondary-button,
.product-buy-card .primary-link {
  width: 100%;
  margin-top: 10px;
}

.article-feature {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  background:
    linear-gradient(145deg, rgba(7, 27, 20, 0.18), rgba(7, 27, 20, 0.88)),
    url("../jungle-sunset-hero.jpg");
  background-size: cover;
  background-position: center;
}

.article-feature .tag {
  width: max-content;
  margin-bottom: 18px;
}

.article-feature h3 {
  max-width: 17ch;
  color: #fff;
  font-size: 2rem;
}

.article-feature p {
  color: rgba(255, 246, 231, 0.78);
}

.article-card {
  display: grid;
  gap: 12px;
}

.article-card small {
  color: var(--coral);
  font-weight: 900;
  text-transform: uppercase;
}

.profile-panel {
  color: var(--ink);
}

.profile-panel .check-list {
  margin-top: 16px;
  color: var(--muted);
}

.profile-panel .check-list li::before {
  background: var(--jungle-700);
}

.settings-panel {
  display: grid;
  gap: 14px;
}

.panel-plan-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 157, 66, 0.1), rgba(111, 166, 79, 0.12)),
    rgba(255, 250, 240, 0.78);
  box-shadow: var(--soft-shadow);
}

.panel-plan-preview h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.panel-plan-preview p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(23, 33, 27, 0.06);
}

.setting-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-item p,
.article-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.92rem;
}

.price,
.read-time {
  min-width: max-content;
  color: var(--jungle-700);
  font-weight: 850;
}

.chat-point {
  min-height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
}

.chat-point strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
}

.chat-point span {
  color: rgba(255, 246, 231, 0.72);
  line-height: 1.5;
}

.chat-widget {
  min-height: 510px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #fffaf0;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.chat-head {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 157, 66, 0.18), rgba(111, 166, 79, 0.16)),
    #fffaf0;
}

.agent {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 64% 28%, var(--gold) 0 16%, transparent 17%),
    linear-gradient(145deg, var(--jungle-700), var(--sunset));
}

.agent strong {
  display: block;
  margin-bottom: 2px;
}

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

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #4aaa62;
  box-shadow: 0 0 0 6px rgba(74, 170, 98, 0.14);
}

.messages {
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.92), rgba(242, 247, 235, 0.92));
  overflow: auto;
}

.message {
  max-width: min(78%, 520px);
  border-radius: var(--radius);
  padding: 12px 14px;
  line-height: 1.45;
  font-size: 0.95rem;
}

.message.bot {
  justify-self: start;
  background: #ffffff;
  border: 1px solid var(--line);
}

.message.user {
  justify-self: end;
  background: var(--jungle-700);
  color: #fff;
}

.chat-form {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #fffaf0;
}

.chat-form input {
  min-width: 0;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  outline: 0;
}

.send-button {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sunset), var(--coral));
  color: #221107;
}

.modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 13, 9, 0.74);
  backdrop-filter: blur(8px);
}

.logo-lightbox {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.logo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 13, 9, 0.78);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.logo-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(500px, 90vw);
  max-height: 90vh;
  border-radius: 16px;
  padding: 18px;
  background: rgba(7, 27, 20, 0.66);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.logo-lightbox-dialog img {
  width: auto;
  max-width: calc(min(500px, 90vw) - 36px);
  max-height: calc(90vh - 36px);
  object-fit: contain;
}

.logo-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: rgba(255, 250, 240, 0.88);
  color: var(--ink);
  cursor: pointer;
}

.logo-lightbox-close svg {
  width: 20px;
  height: 20px;
}

.content-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.content-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 13, 9, 0.74);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.content-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 20px;
  background: #fffaf0;
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.content-modal-image-wrap {
  position: relative;
}

.content-modal-image-wrap[hidden] {
  display: none;
}

.content-modal-image {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #14281e;
  border-radius: 20px 20px 0 0;
  display: block;
}

.content-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  border-radius: 999px;
  border: none;
  background: rgba(20, 40, 30, 0.55);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}

.content-modal-nav:hover {
  background: rgba(20, 40, 30, 0.78);
}

.content-modal-nav[hidden] {
  display: none;
}

.content-modal-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.content-modal-nav-prev {
  left: 12px;
}

.content-modal-nav-next {
  right: 12px;
}

.content-modal-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 26px 0;
  overflow-x: auto;
}

.content-modal-thumbs:empty {
  display: none;
}

.content-modal-thumbs button {
  flex: 0 0 auto;
  width: 64px;
  height: 48px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
}

.content-modal-thumbs button.is-active {
  border-color: var(--jungle-700);
  opacity: 1;
}

.content-modal-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-modal-body {
  padding: 26px;
}

.content-modal-body .tag-row {
  margin-bottom: 10px;
}

.content-modal-body h2 {
  margin: 0 0 12px;
}

.content-modal-body p {
  color: var(--muted);
  line-height: 1.6;
  white-space: pre-line;
}

.content-modal-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(29, 80, 53, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.content-modal-section[hidden] {
  display: none;
}

.content-modal-section .stack-form,
.content-modal-section [data-product-reviews-list] {
  width: 100%;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.shop-product-rating {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gold, #d4a017);
}

.shop-product-rating span {
  color: var(--muted);
}

.product-review-item {
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid rgba(29, 80, 53, 0.1);
}

.product-review-item:last-child {
  border-bottom: none;
}

.product-review-item-head {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.product-review-item-head strong {
  color: var(--ink);
}

.product-review-item p {
  margin: 4px 0 0;
}

.content-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}

.content-modal-meta strong {
  color: var(--jungle-700);
  font-size: 1.2rem;
}

.content-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: rgba(255, 250, 240, 0.92);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--soft-shadow);
}

.content-modal-close svg {
  width: 20px;
  height: 20px;
}

.auth-dialog {
  position: relative;
  width: min(480px, 100%);
  padding: 26px;
  background: #fffaf0;
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.auth-dialog .panel-kicker,
.cookie-banner .panel-kicker {
  color: var(--coral);
}

.google-auth-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.google-auth-button:hover {
  background: rgba(23, 33, 27, 0.04);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: rgba(23, 33, 27, 0.08);
}

.close-button svg {
  width: 20px;
  height: 20px;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: var(--radius);
  background: rgba(23, 33, 27, 0.08);
}

.segmented-control button {
  min-height: 40px;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.segmented-control button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(23, 33, 27, 0.08);
}

.modal-account {
  color: var(--ink);
}

.modal-account .check-list {
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  z-index: 45;
  left: 20px;
  right: 20px;
  bottom: 20px;
  width: min(1020px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 24px 70px rgba(5, 19, 13, 0.26);
}

.cookie-banner h2 {
  margin-bottom: 8px;
}

.cookie-banner p {
  margin-bottom: 0;
  line-height: 1.55;
}

.cookie-options {
  display: grid;
  gap: 8px;
}

.toggle-row {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: rgba(23, 33, 27, 0.06);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 760;
}

.toggle-row input {
  accent-color: var(--jungle-700);
}

.stack-form label.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.5;
}

.stack-form label.terms-check input[type="checkbox"] {
  height: 18px;
  width: 18px;
  min-width: 18px;
  margin-top: 3px;
  border: none;
  padding: 0;
  accent-color: var(--jungle-700);
}

.terms-check a {
  color: inherit;
  text-decoration: underline;
}

.footer-legal-link {
  color: inherit;
  text-decoration: underline;
  margin-left: 6px;
}

.legal-content {
  display: grid;
  gap: 14px;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.legal-content h3 {
  margin-top: 18px;
  color: var(--jungle-900);
}

.legal-content strong {
  color: var(--ink);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.stack-form textarea,
.stack-form select,
.admin-form textarea,
.admin-form select,
.cart-line input,
.admin-row input,
.admin-row select {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  outline: 0;
}

.stack-form textarea,
.admin-form textarea {
  resize: vertical;
  line-height: 1.5;
}

.map-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 12px;
}

.map-gallery-grid:empty {
  display: none;
}

.map-gallery-item {
  width: 96px;
}

.map-gallery-item img {
  width: 96px;
  height: 72px;
  border-radius: var(--radius);
  object-fit: cover;
  display: block;
}

.map-gallery-item button {
  width: 100%;
  margin-top: 4px;
  padding: 4px 0;
  font-size: 0.72rem;
}

.antibot-field {
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: var(--radius);
  display: grid;
  gap: 8px;
  padding: 10px;
  background: rgba(212, 175, 55, 0.08);
}

.antibot-field span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
}

.antibot-field input[name="antibot_answer"] {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  outline: 0;
}

.shop-product-card,
.knowledge-card,
.premium-card,
.forum-category,
.forum-topic-row,
.forum-detail-topic,
.forum-reply,
.community-message,
.admin-stat-grid article,
.admin-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: var(--soft-shadow);
}

.shop-product-card {
  min-height: 420px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 260px minmax(0, 1fr);
  cursor: pointer;
}

.shop-product-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 157, 66, 0.16), rgba(29, 80, 53, 0.26)),
    rgba(255, 255, 255, 0.52);
  color: var(--jungle-700);
}

.shop-product-media img {
  /* Pozycja bezwzgledna zamiast width/height:100% w gridzie - ten drugi wariant
     dawal przegladarce niejednoznaczny (circular) rozmiar procentowy wewnatrz
     gridu bez jawnych torow, przez co object-fit:contain nie dzialal i obrazek
     wygladal na przyciety zamiast wpasowany. */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-product-media svg {
  width: 54px;
  height: 54px;
}

.shop-product-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.shop-product-body h3,
.knowledge-card h3,
.premium-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

.shop-product-card .tag,
.knowledge-card .tag,
.premium-card .tag,
.forum-detail-topic .tag {
  background: rgba(29, 80, 53, 0.1);
  color: var(--jungle-700);
}

.shop-product-body p,
.knowledge-card p,
.premium-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.shop-product-price {
  color: var(--jungle-700);
  font-size: 1.2rem;
}

.shop-product-stock {
  margin: -4px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
}

.shop-product-stock.is-low { color: var(--gold); }
.shop-product-stock.is-out { color: var(--coral); }

.shop-product-card.is-out-of-stock .shop-product-media img { opacity: 0.55; filter: grayscale(0.4); }

.shop-product-footer button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.shop-product-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.shop-product-footer button {
  flex: 1;
  padding: 0 10px;
  font-size: 0.88rem;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line-qty {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-line-qty input {
  width: 42px;
  text-align: center;
  padding: 6px 2px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: grid;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--jungle-700);
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.qty-btn:hover {
  background: var(--jungle-50, #f2f7f0);
}

.cart-line-remove {
  width: 28px;
  height: 28px;
  display: grid;
  place-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(239, 109, 74, 0.12);
  color: var(--coral);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.cart-line-remove:hover {
  background: var(--coral);
  color: #fff;
}

.cart-clear-button {
  display: block;
  margin: 8px auto 0;
  color: var(--coral);
}

.product-page-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.product-page-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--soft-shadow);
  padding: 18px;
  align-content: start;
}

.product-page-sidebar .panel-kicker {
  color: var(--jungle-700);
  margin-bottom: 2px;
}

.product-page-category-list {
  display: grid;
  gap: 8px;
}

.product-page-category-tile {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease;
}

.product-page-category-tile:hover {
  transform: translateY(-1px);
  background: rgba(111, 166, 79, 0.14);
}

.product-page-category-tile.is-active {
  background: linear-gradient(145deg, rgba(111, 166, 79, 0.22), rgba(255, 157, 66, 0.12)), rgba(255, 250, 240, 0.9);
  border-color: rgba(29, 80, 53, 0.5);
  color: var(--jungle-900);
}

.product-page-sidebar > .text-button {
  margin-top: 4px;
  color: var(--jungle-700);
  font-weight: 700;
}

.product-page-main {
  display: grid;
  gap: 20px;
}

.product-page-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--soft-shadow);
  padding: 22px;
}

.product-page-panel > .panel-kicker {
  color: var(--jungle-700);
}

.product-page-panel[hidden] {
  display: none;
}

.product-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 24px;
}

@media (max-width: 1000px) {
  .product-page-shell {
    /* minmax(0,1fr) zamiast golego 1fr - 1fr ma podloge min-content i szeroka
       nieprzenosliwa zawartosc (np. 7 miniatur galerii po 64px) rozsadzala grid
       na telefonie - dokladnie ten sam mechanizm co bug kafelkow sklepu. */
    grid-template-columns: minmax(0, 1fr);
  }

  .product-page-sidebar {
    position: static;
  }

  .product-page-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 860px) {
  .product-page-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.product-page-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  background:
    linear-gradient(145deg, rgba(255, 157, 66, 0.16), rgba(29, 80, 53, 0.26)),
    rgba(255, 255, 255, 0.52);
}

.product-page-image {
  width: 100%;
  height: 420px;
  object-fit: contain;
  display: block;
}

.product-page-info {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--soft-shadow);
  padding: 24px;
}

.product-page-info h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.product-page-rating {
  margin: 0;
  color: var(--gold, #d4a017);
}

.product-page-rating span {
  color: var(--muted);
}

.product-page-price {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--jungle-700);
}

.product-page-stock {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.product-page-stock.is-low { color: var(--gold, #d4a017); }
.product-page-stock.is-out { color: var(--coral); }

.product-page-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  white-space: pre-line;
}

.product-page-buy-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.product-page-qty input {
  width: 48px;
}

.product-page-cart-widget {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.7);
  display: grid;
  gap: 8px;
  justify-items: start;
}

.product-page-cart-widget p {
  margin: 0;
}

.product-page-cart-widget strong {
  color: var(--jungle-700);
}

.app-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 12px);
  z-index: 200;
  padding: 12px 22px;
  border-radius: 999px;
  background: #14281e;
  color: #fff6e7;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cart-line:last-child {
  border-bottom: 0;
}

.cart-line strong,
.cart-line span {
  display: block;
}

.cart-line span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.knowledge-card,
.premium-card {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.knowledge-card {
  cursor: pointer;
}

.knowledge-card.is-locked,
.premium-card.is-locked {
  background:
    linear-gradient(145deg, rgba(23, 33, 27, 0.06), rgba(239, 109, 74, 0.08)),
    rgba(255, 250, 240, 0.78);
}

.knowledge-body {
  min-height: 78px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(23, 33, 27, 0.05);
  color: var(--muted);
  line-height: 1.55;
}

.knowledge-author {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
}

.knowledge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.knowledge-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.knowledge-filter-row button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 250, 240, 0.8);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.knowledge-filter-row button.is-active {
  background: var(--jungle-700);
  color: var(--cream);
}

.premium-card strong {
  color: var(--jungle-700);
}

.forum-category {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
}

.shop-search {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  margin-bottom: 16px;
  background: rgba(255, 250, 240, 0.8);
  color: var(--ink);
  font-weight: 700;
}

.shop-category-tile {
  width: 100%;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: var(--soft-shadow);
  text-align: left;
  cursor: pointer;
  position: relative;
}

.shop-category-tile strong {
  font-size: 1rem;
}

.shop-category-tile span {
  color: var(--muted);
  font-size: 0.85rem;
}

.shop-category-tile.is-active {
  border-color: rgba(29, 80, 53, 0.5);
  background:
    linear-gradient(145deg, rgba(111, 166, 79, 0.18), rgba(255, 157, 66, 0.08)),
    rgba(255, 250, 240, 0.9);
}

.shop-category-tile-chevron {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--muted);
  font-size: 0.75rem;
}

.shop-subcategory-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  padding-left: 8px;
}

.shop-subcategory-row button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 250, 240, 0.8);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  font-size: 0.82rem;
}

.shop-subcategory-row button.is-active {
  background: var(--jungle-700);
  color: var(--cream);
}

.forum-category.is-active {
  border-color: rgba(29, 80, 53, 0.5);
  background:
    linear-gradient(145deg, rgba(111, 166, 79, 0.18), rgba(255, 157, 66, 0.08)),
    rgba(255, 250, 240, 0.9);
}

.forum-category span,
.forum-category small,
.forum-topic-row small,
.forum-reply span {
  color: var(--muted);
  line-height: 1.45;
}

.forum-topic-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 12px;
  align-items: center;
  overflow: hidden;
}

.forum-topic-row button {
  display: grid;
  gap: 6px;
  min-height: 96px;
  border: 0;
  padding: 16px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.forum-topic-row button span {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.forum-topic-stats {
  display: grid;
  place-items: center;
  min-height: 96px;
  border-left: 1px solid var(--line);
  color: var(--jungle-700);
}

.forum-topic-stats strong {
  font-size: 1.35rem;
}

.forum-topic-stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

.forum-detail-topic,
.forum-reply {
  padding: 18px;
}

.forum-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.forum-detail-head h3 {
  margin: 12px 0 6px;
  font-size: 1.35rem;
}

.forum-detail-topic p,
.forum-reply p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.forum-replies {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.forum-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.danger-button {
  color: var(--coral);
}

.danger-zone {
  border-color: rgba(217, 95, 79, 0.35);
}

.forum-reply-form {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
}

.community-message {
  display: grid;
  gap: 8px;
  padding: 14px;
  box-shadow: none;
}

.community-message-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--jungle-700);
  font-size: 0.92rem;
}

.community-message-head span {
  color: var(--muted);
  font-size: 0.84rem;
}

.community-message p {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.community-message.is-admin {
  background: rgba(255, 157, 66, 0.14);
  border-radius: var(--radius);
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-command-center {
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(7, 78, 54, 0.08), rgba(212, 175, 55, 0.1)),
    rgba(255, 250, 240, 0.82);
  box-shadow: var(--soft-shadow);
}

.admin-command-center h3,
.admin-command-center p {
  margin: 0;
}

.admin-command-center h3 {
  margin-bottom: 6px;
  color: var(--jungle-800);
  font-size: 1.35rem;
}

.admin-command-center p {
  color: var(--muted);
  line-height: 1.55;
}

.admin-command-actions,
.admin-row-actions,
.admin-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-stat-grid article {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.admin-stat-grid strong {
  color: var(--jungle-700);
  font-size: 1.6rem;
}

.admin-stat-grid span,
.admin-row span {
  color: var(--muted);
}

.admin-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  box-shadow: none;
}

.admin-row p {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

.admin-row form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-form {
  padding: 16px;
}

.admin-form + .admin-form {
  border-top: 1px solid var(--line);
}

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

.compact-list {
  padding-top: 0;
}

.admin-map-form {
  border-bottom: 1px solid var(--line);
}

.admin-app {
  display: grid;
  grid-template-columns: minmax(220px, 0.24fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-sidebar,
.admin-workspace,
.admin-editor,
.admin-record,
.admin-subpanel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: var(--soft-shadow);
}

.admin-sidebar {
  position: sticky;
  top: 92px;
  overflow: hidden;
}

.admin-sidebar-head {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.admin-badge,
.admin-record-badges span {
  width: fit-content;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--jungle-800);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-side-nav {
  display: grid;
  padding: 10px;
  gap: 6px;
}

.admin-nav-button,
.admin-health-list button {
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 11px 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.admin-nav-button:hover,
.admin-nav-button.is-active,
.admin-health-list button:hover {
  border-color: rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.72);
  color: var(--jungle-800);
}

.admin-workspace {
  padding: 16px;
  min-width: 0;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 16px;
}

.admin-health-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.admin-toolbar,
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-toolbar h3,
.admin-toolbar p {
  margin: 0;
}

.admin-toolbar h3 {
  color: var(--jungle-800);
  font-size: 1.45rem;
}

.admin-toolbar p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.admin-filters {
  justify-content: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.admin-filters label {
  display: grid;
  gap: 6px;
  min-width: min(260px, 100%);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.admin-filters input,
.admin-filters select,
.admin-editor input,
.admin-editor select,
.admin-editor textarea {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  outline: 0;
}

.admin-editor {
  display: none;
  margin: 14px 0;
  overflow: hidden;
}

.admin-editor.is-open {
  display: block;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
}

.admin-record-list {
  display: grid;
  gap: 12px;
}

.admin-record {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
}

.admin-record-no-image {
  grid-template-columns: 1fr;
}

.admin-record-main {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.admin-record-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.admin-record-head h4,
.admin-record-head p {
  margin: 0;
}

.admin-record-head h4 {
  color: var(--jungle-800);
  font-size: 1.02rem;
}

.admin-record-head p {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.admin-record-badges,
.admin-detail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.admin-detail-grid div {
  border: 1px solid rgba(13, 80, 56, 0.09);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(255, 255, 255, 0.58);
}

.admin-detail-grid strong,
.admin-detail-grid span {
  display: block;
}

.admin-detail-grid strong {
  margin-bottom: 4px;
  color: var(--jungle-800);
  font-size: 0.78rem;
}

.admin-detail-grid span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.admin-record-thumb {
  min-height: 112px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(7, 78, 54, 0.08);
}

.admin-record-thumb img {
  width: 100%;
  height: 100%;
  min-height: 112px;
  object-fit: cover;
  display: block;
}

.admin-subpanel {
  margin-top: 18px;
  overflow: hidden;
}

.admin-console-page {
  min-height: 100vh;
  background: #eef2ee;
}

.admin-console-shell {
  min-height: 100vh;
}

.admin-console-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 78px;
  border-bottom: 1px solid rgba(7, 27, 20, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 44px rgba(5, 19, 13, 0.08);
  backdrop-filter: blur(16px);
}

.admin-console-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.admin-console-brand img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 10px 24px rgba(5, 19, 13, 0.16);
}

.admin-console-brand span {
  display: grid;
  gap: 3px;
}

.admin-console-brand strong {
  color: var(--jungle-900);
  line-height: 1.1;
}

.admin-console-brand small {
  color: var(--muted);
  font-weight: 800;
}

.admin-console-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.admin-console-main {
  width: min(100% - 32px, 1480px);
  margin: 0 auto;
  padding: 24px 0 46px;
}

.admin-login-panel {
  min-height: calc(100vh - 128px);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.5fr);
  gap: 26px;
  align-items: center;
  padding: clamp(26px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(7, 27, 20, 0.94), rgba(13, 38, 27, 0.78)),
    url("../jungle-sunset-hero.jpg");
  background-size: cover;
  background-position: center;
  color: var(--cream);
  box-shadow: var(--shadow);
}

.admin-login-panel h1 {
  max-width: 12ch;
  margin-bottom: 18px;
}

.admin-login-panel p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 246, 231, 0.78);
  font-size: 1.08rem;
  line-height: 1.7;
}

.admin-login-form {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(7, 27, 20, 0.72);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.admin-console-page:not(.is-logged-in) .admin-console-board {
  display: none;
}

.admin-console-page .admin-console-board {
  min-width: 0;
}

.admin-console-page .admin-app {
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-console-page .admin-sidebar {
  top: 96px;
  max-height: calc(100vh - 116px);
  overflow: auto;
  border-color: rgba(255, 255, 255, 0.1);
  background: #071b14;
  color: var(--cream);
  box-shadow: 0 20px 60px rgba(5, 19, 13, 0.18);
}

.admin-console-page .admin-sidebar-head {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.admin-console-page .admin-badge {
  border-color: rgba(255, 208, 119, 0.34);
  background: rgba(255, 208, 119, 0.12);
  color: var(--gold);
}

.admin-console-page .admin-nav-button {
  color: rgba(255, 246, 231, 0.72);
}

.admin-console-page .admin-nav-button:hover,
.admin-console-page .admin-nav-button.is-active {
  border-color: rgba(255, 208, 119, 0.22);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.admin-console-page .admin-workspace {
  border: 1px solid rgba(23, 33, 27, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 56px rgba(5, 19, 13, 0.1);
}

.admin-console-page .admin-command-center {
  background:
    linear-gradient(135deg, rgba(7, 27, 20, 0.94), rgba(29, 80, 53, 0.82)),
    #071b14;
}

.admin-console-page .admin-row-actions {
  align-items: center;
}

.hero-home {
  background-image:
    linear-gradient(180deg, rgba(7, 27, 20, 0.1) 0%, rgba(7, 27, 20, 0.28) 46%, rgba(7, 27, 20, 0.72) 100%),
    radial-gradient(circle at 50% 44%, rgba(255, 208, 119, 0.18), transparent 34%),
    url("../jungle-sunset-hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-logo {
  width: min(48vw, 440px);
  max-width: calc(100vw - 64px);
  height: auto;
  object-fit: contain;
  padding: 10px;
  filter: drop-shadow(0 28px 64px rgba(0, 0, 0, 0.42));
  opacity: 0.98;
}

.hero-empty {
  width: min(100%, 760px);
  justify-items: center;
  place-items: center;
}

.page-hero-inner,
.retreat-hero-inner,
.coffee-story-hero-inner {
  grid-template-columns: minmax(0, 780px) minmax(170px, 280px);
  align-items: center;
}

.hero-side-logo {
  justify-self: end;
  display: block;
  width: min(24vw, 260px);
  opacity: 0.96;
  filter: drop-shadow(0 24px 54px rgba(0, 0, 0, 0.34));
}

.hero-side-logo img {
  width: 100%;
  height: auto;
}

.travel-letter-section {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  background:
    linear-gradient(180deg, rgba(7, 27, 20, 0.66), rgba(7, 27, 20, 0.52)),
    linear-gradient(135deg, rgba(255, 157, 66, 0.18), rgba(111, 166, 79, 0.18)),
    url("../jungle-sunset-hero.jpg");
  background-size: cover;
  background-position: center;
}

.travel-letter-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 208, 119, 0.22), transparent 30%),
    radial-gradient(circle at 88% 84%, rgba(111, 166, 79, 0.24), transparent 34%);
  pointer-events: none;
}

.travel-letter-frame {
  position: relative;
  z-index: 1;
}

.travel-letter-paper {
  position: relative;
  display: grid;
  gap: clamp(30px, 4vw, 54px);
  align-items: start;
  min-height: 680px;
  padding: clamp(50px, 7vw, 88px) clamp(34px, 6vw, 72px);
  border: 1px solid rgba(90, 69, 42, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 243, 220, 0.32)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(120, 88, 46, 0.035) 32px),
    #fffaf0;
  box-shadow:
    0 34px 92px rgba(2, 12, 8, 0.34),
    inset 0 0 54px rgba(123, 86, 39, 0.08);
  border-radius: 2px;
  transform: rotate(-0.35deg);
}

.travel-letter-paper::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(121, 87, 45, 0.12);
  border-radius: 4px;
  background-image:
    linear-gradient(180deg, transparent calc(33% - 1px), rgba(70, 48, 22, 0.18) 33%, transparent calc(33% + 1px)),
    linear-gradient(180deg, transparent calc(66% - 1px), rgba(70, 48, 22, 0.18) 66%, transparent calc(66% + 1px));
  pointer-events: none;
}

.travel-letter-paper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 24%, rgba(123, 86, 39, 0.07) 0 1px, transparent 1px),
    radial-gradient(circle at 72% 62%, rgba(13, 38, 27, 0.055) 0 1px, transparent 1px),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.28  0 0 0 0 0.2  0 0 0 0 0.12  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 34px 34px, 46px 46px, 180px 180px;
  opacity: 0.7;
  pointer-events: none;
}

.travel-letter-paper > * {
  position: relative;
  z-index: 1;
}

.paper-clip {
  position: absolute;
  z-index: 3;
  top: -22px;
  left: clamp(34px, 5vw, 68px);
  width: 34px;
  height: 78px;
  border: 4px solid rgba(72, 75, 65, 0.58);
  border-radius: 24px;
  transform: rotate(-9deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.paper-clip::after {
  content: "";
  position: absolute;
  inset: 9px 6px 9px 8px;
  border: 3px solid rgba(72, 75, 65, 0.48);
  border-radius: 18px;
}

.travel-letter-top {
  display: flex;
  align-items: center;
  min-height: 318px;
  max-width: 800px;
  padding-right: clamp(0px, 24vw, 330px);
}

.travel-letter-heading {
  align-self: center;
}

.travel-letter-copy {
  max-width: 740px;
}

.travel-letter-heading h2 {
  margin: 0 0 12px;
  color: #2c2419;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 3.5vw, 3.35rem);
  line-height: 1.06;
}

.letter-subtitle {
  margin: 0;
  color: #b45d38;
  font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.35;
}

.letter-text {
  color: #30261a;
  font-family: "Patrick Hand", "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(1.22rem, 1.5vw, 1.42rem);
  line-height: 1.75;
  letter-spacing: 0.01em;
  text-align: left;
}

.letter-text p {
  margin: 0 0 20px;
}

.letter-list {
  margin: 0 0 28px;
  padding-left: clamp(18px, 3vw, 34px);
}

.letter-list p {
  margin-bottom: 18px;
}

.letter-list li {
  margin-bottom: 10px;
}

.letter-more-toggle {
  margin: 4px 0 20px;
  border: 1px solid rgba(90, 69, 42, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.4);
  color: #6d3c22;
  font-family: "Patrick Hand", "Segoe Print", "Bradley Hand", cursive;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.letter-more-toggle:hover {
  background: rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
}

@media (min-width: 981px) {
  /* Zwiniecie listu ma dzialac tylko na mobile (ten sam breakpoint co nav-toggle
     w responsive.css) - na desktopie caly list jest widoczny od razu.
     !important wymagane - [hidden] w tokens.css tez ma display:none !important. */
  [data-letter-more] {
    display: block !important;
  }

  .letter-more-toggle {
    display: none;
  }
}

.letter-signature {
  margin-top: 28px;
  color: #6d3c22;
  font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  font-weight: 700;
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  line-height: 1.1;
  transform: rotate(-1.5deg);
}

.travel-polaroid {
  position: absolute;
  top: clamp(36px, 6vw, 72px);
  right: clamp(10px, 2vw, 26px);
  width: min(100%, 300px);
  margin: -6px 0 0;
  padding: 12px 12px 24px;
  border: 1px solid rgba(95, 70, 41, 0.16);
  border-radius: 5px;
  background: #fffef8;
  box-shadow: 0 22px 54px rgba(68, 45, 24, 0.2);
  transform: rotate(3deg);
}

.travel-polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  background: linear-gradient(135deg, #e6dccb, #c8d6bc);
  object-fit: cover;
}

.travel-polaroid--bottom {
  position: relative;
  top: auto;
  right: auto;
  width: min(100%, 260px);
  margin: 32px 0 12px;
  transform: rotate(-3deg);
}

.photo-tape {
  position: absolute;
  z-index: 2;
  top: -18px;
  left: 50%;
  width: 116px;
  height: 34px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08)),
    rgba(255, 233, 184, 0.72);
  box-shadow: 0 9px 22px rgba(58, 36, 16, 0.16);
  transform: translateX(-50%) rotate(-4deg);
}

.travel-stamp {
  position: absolute;
  right: clamp(28px, 5vw, 68px);
  bottom: clamp(26px, 4vw, 54px);
  width: 142px;
  height: 142px;
  border: 2px solid rgba(147, 54, 37, 0.66);
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 3px;
  color: rgba(147, 54, 37, 0.74);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
  background:
    radial-gradient(circle at 32% 28%, rgba(147, 54, 37, 0.1), transparent 40%),
    radial-gradient(circle at 68% 74%, rgba(147, 54, 37, 0.08), transparent 44%);
  mix-blend-mode: multiply;
  opacity: 0.92;
}

.travel-stamp::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed currentColor;
  border-radius: inherit;
}

.travel-stamp span {
  display: block;
}

.footer-brand-block {
  display: grid;
  gap: 10px;
}

.footer-brand-block p {
  max-width: 34rem;
  margin: 0;
  line-height: 1.6;
}

.footer-link-group,
.footer-meta {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-link-group span,
.footer-meta span:first-child {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-link-group a {
  color: rgba(255, 246, 231, 0.78);
  font-weight: 760;
}

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

.footer-meta {
  font-size: 0.92rem;
}

.map-point-marker {
  position: relative;
  width: 32px;
  height: 40px;
}

.map-pin {
  position: relative;
  display: block;
  width: 32px;
  height: 40px;
}

.map-pin-shape {
  position: absolute;
  inset: 0;
  width: 32px;
  height: 40px;
  fill: #2f9e5c;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

.map-pin-icon {
  position: absolute;
  top: 5px;
  left: 8px;
  width: 16px;
  height: 16px;
  color: #fff;
}

.map-point-marker.is-premium .map-pin-shape {
  fill: #d4a017;
}

.map-point-marker.is-vip .map-pin-shape {
  fill: #8b3fd1;
}

.map-point-marker.is-locked {
  opacity: 0.55;
}

.map-point-marker:hover {
  z-index: 1000 !important;
}

.footer-final {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.footer-newsletter {
  display: grid;
  gap: 8px;
  min-width: 220px;
}

.footer-newsletter .panel-kicker {
  color: rgba(255, 246, 231, 0.62);
  margin: 0;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 246, 231, 0.3);
  background: rgba(255, 246, 231, 0.08);
  color: var(--cream);
  font-size: 0.85rem;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 246, 231, 0.5);
}

.footer-newsletter-status {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 246, 231, 0.7);
}

.footer-legal-block {
  display: grid;
  gap: 6px;
}

.footer-creator {
  color: var(--cream);
  font-weight: 700;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.95rem;
  cursor: default;
}

a.footer-creator {
  cursor: pointer;
  text-decoration: none;
}

a.footer-creator:hover {
  color: var(--gold);
}

.footer-byline {
  color: rgba(255, 246, 231, 0.55);
  font-size: 0.78rem;
  font-weight: 500;
}

.footer-copyright {
  margin: 0;
  max-width: 32rem;
  color: rgba(255, 246, 231, 0.62);
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-company {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 246, 231, 0.5);
  font-size: 0.76rem;
  line-height: 1.5;
}

.footer-contact-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer-email {
  color: rgba(255, 246, 231, 0.82);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-email:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  display: grid;
  place-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 246, 231, 0.22);
  color: rgba(255, 246, 231, 0.78);
  transition: border-color 0.15s ease, color 0.15s ease;
}

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

.footer-social svg {
  width: 16px;
  height: 16px;
}

.map-filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: var(--soft-shadow);
}

.map-filter-panel label {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.map-filter-panel input {
  accent-color: var(--jungle-700);
}

.mobile-app-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(229, 238, 220, 0.62)),
    var(--cream);
}

.mobile-app-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 430px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.mobile-app-copy {
  display: grid;
  gap: 18px;
}

.mobile-app-copy p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.65;
}

.mobile-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
}

.mobile-feature-grid span {
  border: 1px solid rgba(29, 80, 53, 0.14);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--jungle-700);
  font-weight: 900;
}

.mobile-app-device {
  min-height: 760px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(7, 27, 20, 0.18);
  border-radius: 34px;
  padding: 14px;
  background:
    linear-gradient(160deg, rgba(7, 27, 20, 0.96), rgba(29, 80, 53, 0.84)),
    var(--jungle-900);
  box-shadow: 0 28px 80px rgba(5, 19, 13, 0.22);
}

.mobile-statusbar,
.mobile-app-topbar,
.mobile-bottom-nav {
  color: var(--cream);
}

.mobile-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 12px 10px;
  font-size: 0.75rem;
  font-weight: 900;
  opacity: 0.82;
}

.mobile-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 246, 231, 0.12);
  padding: 10px 10px 14px;
}

.mobile-app-topbar h3 {
  margin: 4px 0 0;
  color: var(--cream);
  font-size: 1.08rem;
}

.mobile-app-topbar .icon-button {
  border-color: rgba(212, 175, 55, 0.34);
  color: var(--cream);
}

.mobile-app-screen {
  display: none;
  gap: 12px;
  align-content: start;
  overflow: auto;
  padding: 14px 4px 14px;
}

.mobile-app-screen.is-active {
  display: grid;
}

.mobile-screen-head {
  display: grid;
  gap: 4px;
  padding: 2px 8px 4px;
  color: var(--cream);
}

.mobile-screen-head strong {
  font-size: 1.2rem;
}

.mobile-welcome-card,
.mobile-app-card,
.mobile-list-card {
  border: 1px solid rgba(255, 246, 231, 0.16);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.94);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(5, 19, 13, 0.18);
}

.mobile-welcome-card,
.mobile-app-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.mobile-welcome-card span,
.mobile-app-card span {
  color: var(--jungle-700);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-welcome-card strong,
.mobile-app-card h4 {
  margin: 0;
  color: var(--jungle-900);
  font-size: 1.16rem;
}

.mobile-welcome-card p,
.mobile-app-card p,
.mobile-list-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.mobile-account-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 246, 231, 0.1);
  color: var(--cream);
}

.mobile-account-strip div {
  display: grid;
  gap: 4px;
}

.mobile-account-strip span {
  color: rgba(255, 246, 231, 0.72);
  font-size: 0.82rem;
  line-height: 1.35;
}

.mobile-account-strip .secondary-button {
  min-height: 40px;
  border-color: rgba(212, 175, 55, 0.34);
  color: var(--cream);
}

.mobile-quick-grid,
.mobile-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-quick-grid button,
.mobile-guide-grid a {
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 14px;
  background: rgba(255, 246, 231, 0.12);
  color: var(--cream);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.mobile-list-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.mobile-list-card div {
  display: grid;
  gap: 4px;
}

.mobile-list-card strong {
  color: var(--jungle-900);
  line-height: 1.25;
}

.mobile-list-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.mobile-list-card p {
  grid-column: 1 / -1;
  font-size: 0.9rem;
}

.mobile-bottom-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  border-top: 1px solid rgba(255, 246, 231, 0.12);
  padding-top: 10px;
}

.mobile-bottom-nav button {
  min-width: 0;
  border: 0;
  border-radius: 12px;
  padding: 8px 4px;
  background: transparent;
  color: rgba(255, 246, 231, 0.68);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 900;
}

.mobile-bottom-nav button.is-active {
  background: rgba(212, 175, 55, 0.18);
  color: var(--cream);
}

.mobile-calendar-month {
  padding: 0 8px;
  color: var(--cream);
  font-weight: 900;
  text-transform: capitalize;
}

.interactive-map-shell,
.map-planner-side,
.trip-planner-card,
.trip-calendar-card,
.offline-package-card,
.route-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: var(--soft-shadow);
}

.interactive-map-shell {
  overflow: hidden;
}

.thai-map-canvas {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #dcebd7;
}

.leaflet-map-surface {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 600px;
}

.thai-map-canvas.is-map-unavailable .leaflet-map-surface {
  opacity: 0;
  pointer-events: none;
}

.map-locate-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: var(--jungle-700);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}

.map-locate-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
}

.map-locate-btn:hover {
  color: var(--jungle-900);
}

.map-locate-btn.is-locating {
  color: #ff9d42;
  animation: map-locate-pulse 1s ease-in-out infinite;
}

@keyframes map-locate-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.map-gesture-hint {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  padding: 16px 24px;
  background: rgba(20, 40, 30, 0.55);
  color: #fff;
  font-weight: 600;
  text-align: center;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.map-gesture-hint.is-visible {
  opacity: 1;
}

.map-tile-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(218, 235, 215, 0.92)),
    linear-gradient(180deg, rgba(29, 80, 53, 0.08), rgba(255, 208, 119, 0.12));
  color: var(--jungle-900);
  text-align: center;
}

.map-tile-fallback[hidden] {
  display: none;
}

.map-tile-fallback::before {
  content: "";
  width: 76px;
  height: 76px;
  justify-self: center;
  border: 1px solid rgba(29, 80, 53, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(29, 80, 53, 0.22) 49%, rgba(29, 80, 53, 0.22) 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(29, 80, 53, 0.22) 49%, rgba(29, 80, 53, 0.22) 51%, transparent 52%),
    rgba(255, 255, 255, 0.74);
  box-shadow: var(--soft-shadow);
}

.map-tile-fallback strong {
  font-size: 1.18rem;
  color: var(--jungle-900);
}

.map-tile-fallback span {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.55;
}


.leaflet-place-popup {
  display: grid;
  gap: 10px;
  min-width: 230px;
}

.leaflet-place-popup h3,
.leaflet-place-popup p {
  margin: 0;
}

.leaflet-place-popup h3 {
  color: var(--jungle-900);
  font-size: 1.05rem;
}

.leaflet-place-popup p {
  color: var(--muted);
  line-height: 1.45;
}

.leaflet-popup-meta {
  font-weight: 850;
}

.leaflet-popup-image {
  height: 120px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
}

.leaflet-popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leaflet-popup-location {
  font-weight: 800;
}

.leaflet-place-popup .primary-button {
  width: 100%;
  min-height: 40px;
}

.map-point-list {
  display: grid;
  gap: 10px;
  padding: 14px;
  max-height: 620px;
  overflow: auto;
}

.map-offer-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(36, 43, 33, 0.08);
}

.map-offer-card.is-active {
  border-color: rgba(29, 80, 53, 0.55);
  box-shadow: 0 18px 44px rgba(5, 19, 13, 0.12);
}

.map-offer-main {
  width: 100%;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  border: 0;
  padding: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.map-offer-image {
  min-height: 132px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background: rgba(29, 80, 53, 0.12);
}

.map-offer-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.map-offer-placeholder {
  min-height: 132px;
  display: grid;
  place-items: center;
  color: var(--jungle-700);
  font-weight: 900;
}

.map-offer-body {
  display: grid;
  gap: 7px;
  align-content: start;
}

.map-offer-category {
  color: var(--jungle-700);
  font-size: 0.78rem;
  font-weight: 900;
}

.map-offer-body h4 {
  margin: 0;
  color: var(--jungle-900);
  font-size: 1.04rem;
  line-height: 1.2;
}

.map-offer-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.48;
}

.map-offer-body small {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.map-offer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.map-offer-tags span {
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(29, 80, 53, 0.08);
  color: var(--jungle-700);
  font-size: 0.72rem;
  font-weight: 850;
}

.map-offer-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding: 10px;
}

.map-offer-actions .primary-button,
.map-offer-actions .secondary-button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.88rem;
}

.map-list-item {
  display: grid;
  gap: 4px;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.map-list-item.is-active {
  border-color: rgba(29, 80, 53, 0.55);
  background: rgba(111, 166, 79, 0.12);
}

.map-list-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.map-planner-side {
  position: sticky;
  top: 88px;
  overflow: hidden;
}

.map-point-detail-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.map-point-image {
  min-height: 180px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(23, 33, 27, 0.08);
}

.map-point-image img {
  width: 100%;
  height: 100%;
  max-height: 240px;
  object-fit: cover;
}

.map-point-image-placeholder {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--jungle-700);
  font-size: 2rem;
  font-weight: 900;
}

.map-point-detail-card .tag,
.route-card .tag {
  background: rgba(29, 80, 53, 0.1);
  color: var(--jungle-700);
}

.map-point-detail-card h3,
.trip-planner-card h3,
.route-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.map-point-detail-card p,
.route-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.map-point-meta,
.map-point-note {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(23, 33, 27, 0.06);
}

.map-point-meta strong {
  color: var(--jungle-700);
  font-size: 1.18rem;
}

.map-point-note span {
  color: var(--muted);
  line-height: 1.5;
}

.map-lock-note {
  color: var(--coral) !important;
  font-weight: 850;
}

.trip-planner-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.trip-calendar-card {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 16px;
}

.offline-package-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.trip-planner-head,
.trip-calendar-head,
.offline-package-head,
.route-footer,
.trip-planner-actions,
.trip-planner-toolbar,
.map-admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.offline-package-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.offline-package-progress {
  display: grid;
  gap: 6px;
}

.offline-package-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.offline-package-progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: #ff9d42;
  transition: width 0.2s ease;
}

.offline-package-progress span[data-offline-progress-label] {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.offline-package-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trip-planner-card label,
.trip-day-card label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.trip-planner-card input,
.trip-planner-card textarea,
.trip-planner-card select,
.trip-day-card input,
.trip-day-card textarea {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  outline: 0;
}

.trip-day-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
}

.trip-day-card ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trip-point-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(23, 33, 27, 0.05);
}

.trip-point-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
}

.trip-point-actions {
  display: flex;
  gap: 6px;
}

.trip-point-actions button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(29, 80, 53, 0.12);
  color: var(--jungle-700);
  cursor: pointer;
  font-weight: 900;
}

.google-calendar-grid,
.phone-calendar-grid {
  display: grid;
  gap: 8px;
}

.calendar-weekdays,
.google-calendar-grid-body,
.phone-calendar-grid-body {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.google-calendar-cell,
.phone-calendar-day {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 5px;
  border: 1px solid rgba(29, 80, 53, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
}

.google-calendar-cell {
  min-height: 84px;
  padding: 8px;
}

.phone-calendar-day {
  min-height: 48px;
  padding: 5px;
  background: rgba(255, 250, 240, 0.94);
}

.google-calendar-cell.is-empty,
.phone-calendar-day.is-empty {
  opacity: 0.34;
  background: rgba(23, 33, 27, 0.04);
}

.google-calendar-cell.is-today,
.phone-calendar-day.is-today {
  border-color: rgba(212, 175, 55, 0.72);
}

.google-calendar-cell.is-start,
.phone-calendar-day.is-start {
  box-shadow: inset 0 0 0 2px rgba(29, 80, 53, 0.28);
}

.google-calendar-cell.is-saturday,
.phone-calendar-day.is-saturday {
  background: rgba(212, 175, 55, 0.1);
}

.google-calendar-cell.is-sunday,
.phone-calendar-day.is-sunday {
  background: rgba(29, 80, 53, 0.14);
}

.calendar-weekdays span.is-saturday {
  color: #a3811a;
}

.calendar-weekdays span.is-sunday {
  color: var(--jungle-700);
  font-weight: 950;
}

.trip-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.trip-calendar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trip-calendar-nav select {
  border-radius: 8px;
  border: 1px solid rgba(29, 80, 53, 0.2);
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--jungle-900);
}

.trip-calendar-nav button {
  border-radius: 8px;
  border: 1px solid rgba(29, 80, 53, 0.2);
  background: rgba(255, 255, 255, 0.9);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-weight: 900;
  cursor: pointer;
}

.calendar-day-number {
  color: var(--jungle-900);
  font-size: 0.82rem;
  font-weight: 950;
}

.calendar-event-pill,
.calendar-more {
  min-width: 0;
  overflow: hidden;
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(29, 80, 53, 0.12);
  color: var(--jungle-700);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-event-pill.is-premium {
  background: rgba(212, 175, 55, 0.22);
  color: #5e4310;
}

.calendar-event-pill.is-empty {
  background: rgba(102, 114, 104, 0.12);
  color: var(--muted);
}

.calendar-more {
  background: transparent;
  color: var(--muted);
}

.phone-calendar-day .calendar-event-pill {
  width: 8px;
  height: 8px;
  padding: 0;
  color: transparent;
  justify-self: center;
}

.phone-calendar-day .calendar-more {
  display: none;
}

.route-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
}

.route-card.is-locked {
  background:
    linear-gradient(145deg, rgba(23, 33, 27, 0.04), rgba(239, 109, 74, 0.08)),
    rgba(255, 250, 240, 0.78);
}

.route-footer strong {
  color: var(--jungle-700);
}

.map-admin-band {
  margin-top: 28px;
  padding-bottom: 0;
}

.admin-map-grid .panel {
  align-self: start;
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.retreat-hero {
  min-height: 92svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  border-bottom: 1px solid rgba(212, 175, 55, 0.34);
  padding: 126px 0 72px;
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(5, 18, 13, 0.94) 0%, rgba(7, 27, 20, 0.78) 42%, rgba(7, 27, 20, 0.46) 100%),
    linear-gradient(180deg, rgba(7, 27, 20, 0.16), rgba(7, 27, 20, 0.84)),
    url("../jungle-sunset-hero.jpg");
  background-size: cover;
  background-position: center;
}

.retreat-hero::after {
  content: none;
}

.retreat-hero-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.retreat-hero-copy {
  max-width: 780px;
}

.retreat-hero .eyebrow {
  gap: 12px;
  margin-bottom: 14px;
  color: #d4af37;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  word-spacing: 0.18em;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.24);
  animation: retreatEyebrowReveal 620ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.retreat-hero .eyebrow::before {
  width: 1px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 246, 231, 0.34), #d4af37, rgba(212, 175, 55, 0.3));
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.26);
}

.retreat-hero .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.62), rgba(255, 246, 231, 0));
}

.retreat-hero-copy h1 {
  max-width: 9ch;
}

@keyframes retreatEyebrowReveal {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.retreat-video-frame {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 246, 231, 0.24);
  border-radius: var(--radius);
  background: rgba(7, 27, 20, 0.74);
  box-shadow: 0 24px 70px rgba(5, 19, 13, 0.34);
}

.retreat-video-section {
  padding: 72px 0;
  background:
    linear-gradient(180deg, rgba(7, 27, 20, 0.96), rgba(13, 38, 27, 0.9)),
    var(--jungle-950);
  color: var(--cream);
}

.retreat-video-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.retreat-video-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
}

.retreat-video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 208, 119, 0.12), rgba(111, 166, 79, 0.14)),
    rgba(7, 27, 20, 0.74);
}

.retreat-video-placeholder strong {
  color: var(--gold);
  font-size: 1.35rem;
}

.retreat-video-placeholder span {
  max-width: 34rem;
  color: rgba(255, 246, 231, 0.78);
  line-height: 1.6;
}

.retreat-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 1;
}

.retreat-video-link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  border: 1px solid rgba(255, 246, 231, 0.34);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(7, 27, 20, 0.64);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: background 180ms ease, transform 180ms ease;
}

.retreat-video-link:hover {
  background: rgba(29, 80, 53, 0.78);
  transform: translateY(-1px);
}

.retreat-intro-section {
  background: var(--paper);
}

.retreat-intro-layout {
  row-gap: 30px;
}

.retreat-text-block {
  display: grid;
  gap: 14px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.retreat-text-block p,
.retreat-statement p,
.retreat-disclaimer p {
  margin-bottom: 0;
}

.retreat-lagoon-hero {
  position: relative;
  grid-column: 1 / -1;
  min-height: 440px;
  overflow: hidden;
  margin-top: 8px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(5, 18, 13, 0.32), rgba(7, 27, 20, 0.04) 50%, rgba(7, 27, 20, 0.22)),
    linear-gradient(180deg, rgba(255, 250, 240, 0.02), rgba(255, 250, 240, 0.56)),
    url("../retreat/lagoon-sunset.jpg");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.retreat-lagoon-hero::after {
  content: none;
}

@media (prefers-reduced-motion: reduce) {
  .retreat-hero .eyebrow {
    animation: none !important;
    transition: none !important;
  }
}

.retreat-band {
  background:
    linear-gradient(135deg, rgba(29, 80, 53, 0.08), rgba(255, 208, 119, 0.16)),
    #fffaf0;
}

.retreat-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.retreat-card {
  min-height: 100%;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(23, 33, 27, 0.12);
  border-radius: var(--radius);
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 231, 0.72)),
    #fff;
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.retreat-card:hover {
  border-color: rgba(29, 80, 53, 0.26);
  box-shadow: 0 20px 50px rgba(5, 19, 13, 0.14);
  transform: translateY(-3px);
}

.retreat-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background: rgba(29, 80, 53, 0.14);
}

.retreat-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 27, 20, 0.02), rgba(7, 27, 20, 0.46)),
    linear-gradient(135deg, rgba(255, 208, 119, 0.18), rgba(29, 80, 53, 0.08));
  pointer-events: none;
}

.retreat-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 240ms ease;
}

.retreat-card:hover .retreat-card-media img {
  transform: scale(1.04);
}

.retreat-card-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  max-width: calc(100% - 24px);
  border: 1px solid rgba(255, 246, 231, 0.46);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(7, 27, 20, 0.58);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.retreat-card-body {
  display: grid;
  gap: 10px;
  padding: 6px 8px 10px;
}

.retreat-card-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 208, 119, 0.28);
  color: var(--jungle-700);
  font-weight: 900;
}

.retreat-card h3 {
  margin-bottom: 0;
  color: var(--jungle-900);
  font-size: 1.35rem;
}

.retreat-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.retreat-why-section {
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(7, 27, 20, 0.92), rgba(29, 80, 53, 0.84)),
    url("../jungle-sunset-hero.jpg");
  background-size: cover;
  background-position: center;
}

.retreat-why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
}

.retreat-why-section .section-kicker {
  color: var(--gold);
}

.retreat-statement {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 24px;
  color: rgba(255, 246, 231, 0.84);
  font-size: 1.15rem;
  line-height: 1.72;
}

.retreat-event-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.retreat-business-section {
  background: var(--paper);
}

.retreat-disclaimer {
  border: 1px solid rgba(23, 33, 27, 0.12);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.retreat-disclaimer h3 {
  margin-bottom: 12px;
  color: var(--jungle-900);
}

.retreat-disclaimer p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.coffee-story-hero {
  min-height: 420px;
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 175, 55, 0.34);
  padding: 120px 0 56px;
  color: var(--cream);
  background: var(--jungle-950);
}

.coffee-story-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coffee-story-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 18, 13, 0.92), rgba(7, 27, 20, 0.62) 46%, rgba(7, 27, 20, 0.24)),
    linear-gradient(180deg, rgba(7, 27, 20, 0.06), rgba(7, 27, 20, 0.78));
}

.coffee-story-hero::after {
  content: none;
}

.coffee-story-hero-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(170px, 280px);
  gap: 26px;
  align-items: center;
}

.coffee-story-copy h1 {
  max-width: 9ch;
}

.coffee-origin-card {
  border: 1px solid rgba(255, 246, 231, 0.2);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(7, 27, 20, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.coffee-origin-card span {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 208, 119, 0.16);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.coffee-origin-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--cream);
  font-size: 1.35rem;
}

.coffee-origin-card p {
  margin-bottom: 0;
  color: rgba(255, 246, 231, 0.78);
  line-height: 1.58;
}

.coffee-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
  gap: 26px;
  align-items: start;
}

.coffee-story-article {
  display: grid;
  gap: 16px;
}

.coffee-story-article h2 {
  max-width: 12ch;
}

.coffee-story-article p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.coffee-buy-card {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(255, 246, 231, 0.78)),
    #fff;
}

.coffee-mountain-band {
  background:
    linear-gradient(135deg, rgba(29, 80, 53, 0.08), rgba(255, 208, 119, 0.16)),
    #fff8ea;
}

.coffee-video-card,
.coffee-detail-panel,
.coffee-process-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: var(--soft-shadow);
}

.coffee-video-card {
  padding: 14px;
}

.coffee-video-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.coffee-video-slot {
  min-height: 260px;
  display: grid;
  place-content: center;
  gap: 10px;
  border-radius: calc(var(--radius) - 2px);
  padding: 24px;
  color: var(--cream);
  text-align: center;
  background:
    linear-gradient(145deg, rgba(7, 27, 20, 0.12), rgba(7, 27, 20, 0.84)),
    url("../coffee/chiang-rai-coffee-fields.jpg");
  background-size: cover;
  background-position: center;
}

.coffee-video-slot strong {
  color: var(--gold);
  font-size: 1.22rem;
}

.coffee-video-slot span {
  max-width: 330px;
  color: rgba(255, 246, 231, 0.82);
  line-height: 1.55;
}

.coffee-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.coffee-process-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 208, 119, 0.14), rgba(111, 166, 79, 0.12)),
    rgba(255, 250, 240, 0.86);
}

.coffee-process-media {
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.coffee-process-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coffee-process-card strong {
  color: var(--jungle-900);
  font-size: 1.1rem;
}

.coffee-process-card span {
  color: var(--muted);
  line-height: 1.55;
}

.coffee-process-credit {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.coffee-process-credit a {
  color: inherit;
}

.coffee-quote-band {
  padding: 76px 0;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(7, 27, 20, 0.94), rgba(29, 80, 53, 0.84)),
    url("../coffee/chiang-rai-coffee-fields.jpg");
  background-size: cover;
  background-position: center;
}

.coffee-quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 1fr);
  gap: 34px;
  align-items: center;
}

.coffee-quote-grid .section-kicker {
  color: var(--gold);
}

.coffee-quote-grid p {
  margin-bottom: 0;
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  color: rgba(255, 246, 231, 0.84);
  font-size: 1.14rem;
  line-height: 1.78;
}

.coffee-details-band {
  background:
    linear-gradient(135deg, rgba(255, 208, 119, 0.14), rgba(29, 80, 53, 0.08)),
    #fffaf0;
}

.coffee-detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.8fr;
  gap: 16px;
}

.coffee-detail-panel {
  padding: 22px;
}

.coffee-detail-panel h3 {
  margin-bottom: 14px;
  color: var(--jungle-900);
}

.coffee-taste-list,
.coffee-brew-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coffee-taste-list span,
.coffee-brew-list span {
  border: 1px solid rgba(29, 80, 53, 0.14);
  border-radius: 999px;
  padding: 9px 11px;
  background: #fff;
  color: var(--jungle-700);
  font-weight: 850;
}

.coffee-final-section .page-lead {
  max-width: 780px;
}

.g-recaptcha-slot {
  min-height: 78px;
  display: flex;
  justify-content: center;
}

.g-recaptcha-slot:empty {
  min-height: 0;
}

.blog-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.blog-feed-empty {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted, #6b6558);
}

.blog-feed-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.blog-feed-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.blog-feed-card-body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-feed-card-text {
  white-space: pre-line;
  line-height: 1.5;
}

.blog-feed-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted, #6b6558);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.blog-feed-card-reactions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.blog-feed-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-reaction-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.blog-reaction-button.is-active {
  border-color: var(--jungle-700);
  background: rgba(29, 80, 53, 0.14);
  color: var(--jungle-700);
}

.blog-composer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: var(--soft-shadow);
  padding: 20px 22px;
  margin-bottom: 22px;
}

.blog-composer .stack-form label,
.blog-composer .stack-form label span {
  color: var(--ink);
}

.blog-composer img[data-blog-composer-preview] {
  max-width: 220px;
  max-height: 160px;
  border-radius: 8px;
  object-fit: cover;
}

.blog-composer p[data-blog-composer-status] {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.mobile-planer-tabs {
  display: none;
}

.mobile-planer-tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border: none;
  background: transparent;
  color: rgba(255, 246, 231, 0.6);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 8px 4px;
  cursor: pointer;
}

.mobile-planer-tabs button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.mobile-planer-tabs button.is-active {
  color: #ff9d42;
}

/* --- Podstrona wycieczki (retreat/wycieczka.html) --- */

.trip-deposit-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.trip-ask-button {
  align-self: flex-start;
}

.trip-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.trip-option-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.55);
  display: grid;
  gap: 6px;
  align-content: start;
}

.trip-option-card h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--jungle-700);
}

.trip-option-card strong {
  font-size: 1.3rem;
  color: var(--ink);
}

.trip-option-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

.trip-program {
  display: grid;
  gap: 12px;
}

.trip-day {
  border-left: 3px solid var(--gold, #d4a017);
  padding: 4px 0 4px 16px;
}

.trip-day h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: var(--jungle-700);
}

.trip-day ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.trip-two-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.trip-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.trip-check-list li::before {
  content: "✓ ";
  color: var(--jungle-700);
  font-weight: 700;
}

.trip-check-list.is-excluded li::before {
  content: "✕ ";
  color: var(--coral);
}
