:root {
  --bg-a: #fffaf4;
  --bg-b: #fff3ea;
  --bg-c: #f4fbf8;
  --ink: #2f2940;
  --ink-soft: #615a74;
  --ink-mute: #8a829d;
  --line: #ebdecd;
  --line-strong: #dcc9b2;
  --card: rgba(255, 255, 255, 0.9);
  --card-strong: #ffffff;
  --mint: #63c8b2;
  --mint-dark: #3ea892;
  --peach: #f2a97d;
  --peach-dark: #de8653;
  --lav: #9a8fd8;
  --lav-soft: #ece9fb;
  --sky-soft: #e8f4ff;
  --shadow-sm: 0 8px 20px rgba(62, 44, 22, 0.08);
  --shadow-md: 0 14px 30px rgba(62, 44, 22, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  background:
    radial-gradient(
      900px 420px at -10% -10%,
      rgba(242, 169, 125, 0.26),
      transparent 62%
    ),
    radial-gradient(
      800px 380px at 110% -12%,
      rgba(154, 143, 216, 0.24),
      transparent 60%
    ),
    radial-gradient(
      760px 340px at 50% 110%,
      rgba(99, 200, 178, 0.2),
      transparent 58%
    ),
    linear-gradient(140deg, var(--bg-a) 0%, var(--bg-b) 46%, var(--bg-c) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

body::before {
  width: 280px;
  height: 280px;
  left: -100px;
  bottom: -90px;
  background: radial-gradient(
    circle,
    rgba(154, 143, 216, 0.25),
    rgba(154, 143, 216, 0)
  );
}

body::after {
  width: 300px;
  height: 300px;
  right: -120px;
  top: 16%;
  background: radial-gradient(
    circle,
    rgba(99, 200, 178, 0.2),
    rgba(99, 200, 178, 0)
  );
}

.zr-wrap {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.zr-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 250, 243, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(70, 45, 24, 0.06);
}

.zr-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}

.zr-brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 12px;
}

.zr-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(80, 55, 34, 0.18));
}

.zr-nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.zr-nav-link {
  text-decoration: none;
  color: #5b4f5f;
  font-size: 0.84rem;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.zr-nav-link:hover,
.zr-nav-link.active {
  color: #2f2940;
  background: #fff;
  border-color: #eadccc;
  box-shadow: 0 6px 14px rgba(80, 58, 35, 0.08);
}

.zr-back-marendal {
  text-decoration: none;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--mint-dark), var(--mint));
  box-shadow: 0 8px 16px rgba(62, 168, 146, 0.22);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.zr-back-marendal:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 10px 18px rgba(62, 168, 146, 0.3);
}

.zr-main {
  flex: 1 0 auto;
  padding: 26px 0 10px;
}

.zr-section {
  padding: 10px 0 22px;
}

.zr-hero-card,
.zr-page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 28px 24px;
  color: #2f2940;
  border: 1px solid #f0dcc4;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 243, 232, 0.92) 48%,
    rgba(235, 250, 245, 0.9) 100%
  );
  box-shadow: var(--shadow-md);
}

.zr-hero-card::before,
.zr-page-hero::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -42px;
  top: -52px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(242, 169, 125, 0.25),
    rgba(242, 169, 125, 0)
  );
}

.zr-hero-card::after,
.zr-page-hero::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  left: -46px;
  bottom: -56px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(154, 143, 216, 0.24),
    rgba(154, 143, 216, 0)
  );
}

.zr-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a5d7f;
  border-radius: 999px;
  border: 1px solid #e4d8f8;
  background: #f5f1ff;
  padding: 5px 10px;
  margin-bottom: 10px;
}

.zr-hero-card h1,
.zr-page-hero h1 {
  position: relative;
  z-index: 1;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 8px;
  color: #2f2940;
}

.zr-hero-card p,
.zr-page-hero p {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  color: #5f5873;
  max-width: 740px;
}

.zr-hero-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: 6px 0 14px;
}

.zr-hero-list li {
  list-style: none;
  position: relative;
  padding-left: 18px;
  color: #5f5873;
  font-size: 0.9rem;
}

.zr-hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--mint), #7fd9c5);
}

.zr-hero-cta {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.zr-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 10px 15px;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.zr-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(82, 56, 34, 0.12);
}

.zr-btn.primary {
  background: linear-gradient(130deg, var(--mint), var(--mint-dark));
  color: #fff;
}

.zr-btn.secondary {
  color: #53485f;
  background: #fff;
  border: 1px solid #e7d7c5;
}

.zr-head {
  margin-bottom: 12px;
}

.zr-head h2 {
  font-family: "Fredoka", sans-serif;
  color: var(--ink);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.zr-head p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.zr-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.zr-feature-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #fff7ef 100%);
  box-shadow: var(--shadow-sm);
  padding: 15px;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.zr-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.zr-feature-card h3 {
  font-family: "Fredoka", sans-serif;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.zr-feature-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.zr-feature-badge {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--lav-soft);
  color: #655c92;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 9px;
}

.zr-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.zr-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

.zr-product-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card-strong);
  box-shadow: var(--shadow-sm);
  padding: 14px;
  text-align: center;
}

.zr-product-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px solid #e9dccd;
  background: linear-gradient(155deg, #fff6ec 0%, #eefaf4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.zr-product-image img {
  width: 46%;
  max-width: 108px;
  max-height: 82px;
  object-fit: contain;
}

.zr-product-name {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.zr-product-price {
  color: #476f68;
  font-size: 0.92rem;
  font-weight: 800;
}

.zr-panel h3 {
  font-family: "Fredoka", sans-serif;
  color: var(--ink);
  font-size: 1.14rem;
  margin-bottom: 8px;
}

.zr-panel p,
.zr-text {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.zr-ad-panel,
.zr-ad-slot {
  display: none !important;
}

.zr-redeem {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zr-redeem input,
.zr-redeem button,
.zr-login-btn,
.zr-logout-btn,
.zr-tukar-form button {
  min-height: 44px;
}

.zr-redeem input {
  flex: 1;
  border: 1px solid #e0cfbc;
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: #fff;
}

.zr-redeem input:focus {
  border-color: var(--lav);
  box-shadow: 0 0 0 3px rgba(154, 143, 216, 0.18);
}

.zr-redeem button {
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(130deg, var(--peach), var(--peach-dark));
  cursor: pointer;
}

.zr-redeem button:disabled,
.zr-tukar-form button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.zr-auth-box {
  display: grid;
  gap: 12px;
}

.zr-auth-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.zr-auth-row h3 {
  font-family: "Fredoka", sans-serif;
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.zr-auth-row p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 0;
}

.zr-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zr-login-btn,
.zr-logout-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.zr-login-btn {
  color: #fff;
  background: linear-gradient(130deg, var(--mint), var(--mint-dark));
}

.zr-logout-btn {
  color: #fff;
  background: linear-gradient(130deg, #8a7f95, #6f667c);
}

.zr-user-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.zr-user-box img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid #e2d2be;
}

.zr-user-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.zr-user-meta strong,
.zr-user-meta span {
  overflow-wrap: anywhere;
}

.zr-user-meta strong {
  color: var(--ink);
}

.zr-user-meta span {
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.zr-alert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px 11px;
}

.zr-alert.info {
  color: #75502e;
  background: #fff1e0;
  border-color: #efd4b7;
}

.zr-alert.error {
  color: #9d3e4a;
  background: #ffe8ec;
  border-color: #eeb9c2;
}

.zr-alert.success {
  color: #2d6b52;
  background: #e8f8f2;
  border-color: #bfe6d8;
}

.zr-note {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.zr-coin-list {
  display: grid;
  gap: 8px;
}

.zr-coin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  border: none;
  background: rgba(255, 251, 246, 0.6);
  padding: 9px 10px;
  font-size: 0.88rem;
}

.zr-coin-item strong {
  color: #4f7e74;
}

.zr-point-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.zr-point-item {
  border-radius: 11px;
  border: 1px solid #e7d9ca;
  background: linear-gradient(145deg, #ffffff, #f8f9ff);
  padding: 10px 11px;
  display: grid;
  gap: 4px;
}

.zr-point-item span {
  color: var(--ink-soft);
  font-size: 0.79rem;
}

.zr-point-item strong {
  color: #4f7e74;
  font-size: 1.1rem;
  font-family: "Fredoka", sans-serif;
}

.zr-option-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.zr-option-card {
  text-decoration: none;
  color: #564c62;
  border-radius: 13px;
  border: 1px solid #e6d7c6;
  background: linear-gradient(180deg, #ffffff, #fff6eb);
  display: grid;
  gap: 7px;
  place-items: center;
  text-align: center;
  padding: 11px 8px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.16s ease;
}

a.zr-option-card {
  color: inherit;
}

.zr-option-card:hover {
  transform: translateY(-2px);
}

.zr-option-card.active {
  color: #fff;
  border-color: #7c72b2;
  background: linear-gradient(140deg, #8a7dcb, #7064aa);
  box-shadow: 0 10px 20px rgba(112, 100, 170, 0.3);
}

.zr-option-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: #545f78;
  background: linear-gradient(135deg, var(--sky-soft), #eefaf5);
}

.zr-option-card.active .zr-option-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.zr-option-icon i {
  font-size: 1rem;
  line-height: 1;
}

.zr-tukar-form {
  display: grid;
  gap: 10px;
}

.zr-tukar-form label {
  display: grid;
  gap: 5px;
  font-size: 0.83rem;
  color: var(--ink-soft);
  font-weight: 800;
}

.zr-tukar-form input,
.zr-tukar-form select,
.zr-tukar-form textarea {
  border: 1px solid #e0cfbc;
  border-radius: 10px;
  padding: 10px 11px;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: #fff;
}

.zr-tukar-form textarea {
  resize: vertical;
}

.zr-tukar-form input:focus,
.zr-tukar-form select:focus,
.zr-tukar-form textarea:focus {
  border-color: var(--lav);
  box-shadow: 0 0 0 3px rgba(154, 143, 216, 0.18);
}

.zr-tukar-form button {
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(130deg, var(--peach), var(--peach-dark));
  padding: 11px 16px;
  cursor: pointer;
}

.zr-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.zr-option-fields {
  display: grid;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid #ecdece;
  background: linear-gradient(165deg, #fffdf9, #f8fbff);
  padding: 11px;
}

.zr-category-note {
  margin: 0 0 2px;
  border: 1px dashed #dbcab9;
  border-radius: 9px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
  padding: 8px 10px;
}

.zr-tukar-history {
  display: grid;
  gap: 8px;
}

.zr-history-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px 11px;
  display: grid;
  gap: 6px;
}

.zr-history-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.zr-history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.79rem;
}

.zr-history-empty {
  border: 1px dashed #dbcab8;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.86rem;
  padding: 13px;
}

.zr-contact-single {
  justify-content: center;
}

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

.zr-visit-card {
  text-decoration: none;
  text-align: center;
  color: #574d63;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 14px;
  border: 1px solid #e9d9c8;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 12px 8px;
  display: grid;
  place-items: center;
  gap: 7px;
}

.zr-visit-card:hover {
  transform: translateY(-2px);
}

.zr-visit-card img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.zr-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.zr-channel-card {
  text-decoration: none;
  text-align: center;
  color: #574d63;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 14px;
  border: 1px solid #e9d9c8;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 12px 8px;
  display: grid;
  place-items: center;
  gap: 7px;
  transition: transform 0.15s ease;
}

.zr-channel-card:hover {
  transform: translateY(-2px);
}

.zr-channel-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
}

.zr-channel-icon.shopee {
  background: #ee4d2d;
}

.zr-channel-icon.tokopedia {
  background: #42b549;
}

.zr-channel-icon.tiktok {
  background: #111111;
}

.zr-channel-icon.instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
}

.zr-channel-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.zr-contact {
  margin-top: 14px;
  border-radius: 14px;
  padding: 12px 14px;
  background: linear-gradient(130deg, #8a7dcb, #6c61ac);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  text-align: center;
}

.zr-contact a {
  color: #fff;
  text-decoration: none;
}

.zr-contact a:hover {
  text-decoration: underline;
}

.zr-sep {
  opacity: 0.45;
}

.zr-footer {
  margin-top: auto;
  padding: 22px 0 30px;
  text-align: center;
  color: #7f748f;
  font-size: 0.84rem;
}

@media (max-width: 1024px) {
  .zr-option-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .zr-nav-inner {
    padding: 8px 0;
  }

  .zr-nav-menu {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    gap: 5px;
  }

  .zr-nav-menu::-webkit-scrollbar {
    height: 4px;
  }

  .zr-nav-menu::-webkit-scrollbar-thumb {
    background: rgba(112, 100, 170, 0.32);
    border-radius: 999px;
  }

  .zr-brand img {
    width: 45px;
    height: 45px;
  }

  .zr-nav-link {
    font-size: 0.75rem;
    padding: 6px 9px;
  }

  .zr-back-marendal {
    display: none;
  }

  .zr-main {
    padding: 14px 0 8px;
  }

  .zr-section {
    padding: 8px 0 16px;
  }

  .zr-hero-card,
  .zr-page-hero {
    border-radius: 18px;
    padding: 22px 16px;
  }

  .zr-feature-grid,
  .zr-grid-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .zr-product-grid,
  .zr-visit-grid,
  .zr-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zr-redeem input,
  .zr-redeem button {
    width: 100%;
  }

  .zr-sep {
    display: none;
  }

  .zr-form-grid {
    grid-template-columns: 1fr;
  }

  .zr-point-summary {
    grid-template-columns: 1fr;
  }

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

  .zr-option-card {
    font-size: 0.73rem;
  }

  .zr-contact {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .zr-wrap {
    width: 93%;
  }

  .zr-head h2 {
    font-size: 1.3rem;
  }

  .zr-hero-card h1,
  .zr-page-hero h1 {
    font-size: 1.5rem;
  }

  .zr-product-image img {
    width: 58%;
    max-width: 124px;
    max-height: 92px;
  }
}

/* --------------------------------------------------------------------------
   Zeratto Vintage Refresh (No color animation)
---------------------------------------------------------------------------- */
:root {
  --zr-paper: #f2e7d3;
  --zr-paper-soft: #f8efde;
  --zr-paper-deep: #e6d3b5;
  --zr-ink: #2f2418;
  --zr-ink-soft: #604d3a;
  --zr-accent: #8a5a34;
  --zr-accent-deep: #6f4527;
  --zr-olive: #646245;
  --zr-line: #c7b08f;
  --zr-line-soft: #dbc8ad;
  --zr-shadow-sm: 0 10px 22px rgba(44, 29, 14, 0.12);
  --zr-shadow-md: 0 18px 36px rgba(40, 26, 14, 0.18);
}

@keyframes zrFadeLift {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes zrSoftFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -3px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes zrPaperShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(1.2%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

body {
  font-family: "Source Sans 3", "Nunito", sans-serif;
  color: var(--zr-ink);
  background:
    radial-gradient(
      1200px 420px at 120% -10%,
      rgba(97, 77, 58, 0.08),
      transparent 62%
    ),
    radial-gradient(
      1000px 380px at -14% 102%,
      rgba(138, 90, 52, 0.1),
      transparent 58%
    ),
    linear-gradient(
      165deg,
      var(--zr-paper-soft) 0%,
      var(--zr-paper) 56%,
      #e9d8bc 100%
    );
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Crect width='180' height='180' fill='none'/%3E%3Cg fill='%23624835' fill-opacity='0.08'%3E%3Ccircle cx='20' cy='25' r='1.4'/%3E%3Ccircle cx='72' cy='44' r='1.2'/%3E%3Ccircle cx='128' cy='30' r='1.1'/%3E%3Ccircle cx='42' cy='104' r='1.1'/%3E%3Ccircle cx='102' cy='92' r='1.3'/%3E%3Ccircle cx='146' cy='122' r='1.2'/%3E%3Ccircle cx='30' cy='156' r='1.1'/%3E%3Ccircle cx='116' cy='160' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
  animation: zrPaperShift 30s linear infinite;
}

body::after {
  background:
    linear-gradient(to bottom, rgba(76, 48, 24, 0.1), transparent 26%),
    linear-gradient(to top, rgba(76, 48, 24, 0.08), transparent 22%);
}

.zr-wrap {
  width: min(1120px, 93%);
}

.zr-navbar {
  border-bottom: 1px solid var(--zr-line);
  background: rgba(247, 237, 220, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(53, 34, 17, 0.12);
}

.zr-nav-inner {
  gap: 12px;
  padding: 9px 0;
}

.zr-brand {
  border-radius: 16px;
  border: 1px solid var(--zr-line-soft);
  background: rgba(255, 248, 235, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.zr-brand img {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 4px 8px rgba(48, 30, 14, 0.2));
  animation: zrSoftFloat 6s ease-in-out infinite;
}

.zr-nav-menu {
  gap: 6px;
}

.zr-nav-link {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: capitalize;
  color: var(--zr-ink-soft);
  border: 1px solid transparent;
  padding: 7px 12px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.zr-nav-link:hover,
.zr-nav-link.active {
  color: var(--zr-ink);
  background: #fff8ec;
  border-color: var(--zr-line);
  box-shadow: 0 8px 16px rgba(45, 30, 17, 0.12);
  transform: translate3d(0, -1px, 0);
}

.zr-back-marendal {
  display: none !important;
}

.zr-main {
  padding: 28px 0 14px;
}

.zr-section {
  padding: 12px 0 22px;
}

.zr-hero-card,
.zr-page-hero {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--zr-line);
  color: var(--zr-ink);
  padding: 30px 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 250, 240, 0.95) 0%,
    rgba(245, 233, 213, 0.94) 100%
  );
  box-shadow: var(--zr-shadow-md);
  overflow: hidden;
  animation: zrFadeLift 0.55s ease both;
}

.zr-hero-card::before,
.zr-page-hero::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px dashed rgba(111, 69, 39, 0.28);
  pointer-events: none;
}

.zr-hero-card::after,
.zr-page-hero::after {
  content: "ZERATTO";
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: rgba(111, 69, 39, 0.36);
}

.zr-kicker {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff7ea;
  border: 1px solid #7b4f2d;
  background: #7b4f2d;
  padding: 5px 11px;
}

.zr-hero-card h1,
.zr-page-hero h1 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2rem, 3.8vw, 2.95rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: #2e2316;
  margin-bottom: 8px;
}

.zr-hero-card p,
.zr-page-hero p {
  color: #5b4938;
  font-size: 0.97rem;
  max-width: 760px;
}

.zr-hero-list li {
  color: #5b4938;
}

.zr-hero-list li::before {
  background: #815334;
}

.zr-hero-cta {
  margin-top: 14px;
  gap: 10px;
}

.zr-btn {
  border-radius: 11px;
  border: 1px solid var(--zr-line);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 10px 16px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.zr-btn:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: var(--zr-shadow-sm);
}

.zr-btn.primary {
  color: #fff7ea;
  border-color: #7a4c2d;
  background: linear-gradient(180deg, #8a5a34 0%, #6f4527 100%);
}

.zr-btn.secondary {
  color: #4c3a29;
  border-color: #ccb391;
  background: #fdf5e8;
}

.zr-head {
  margin-bottom: 14px;
}

.zr-head h2 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  color: #2e2317;
  font-size: clamp(1.7rem, 2.5vw, 2rem);
  letter-spacing: 0.01em;
  margin-bottom: 2px;
}

.zr-head p {
  color: #6a5644;
  font-size: 0.92rem;
}

.zr-card,
.zr-feature-card,
.zr-product-card,
.zr-option-card,
.zr-visit-card,
.zr-channel-card,
.zr-history-item,
.zr-history-empty {
  border-radius: 16px;
  border: 1px solid var(--zr-line-soft);
  background: linear-gradient(
    180deg,
    rgba(255, 251, 243, 0.98) 0%,
    rgba(245, 233, 214, 0.94) 100%
  );
  box-shadow: var(--zr-shadow-sm);
  animation: zrFadeLift 0.5s ease both;
}

.zr-feature-grid {
  gap: 13px;
}

.zr-feature-card {
  padding: 16px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.zr-feature-card:hover,
.zr-product-card:hover,
.zr-option-card:hover,
.zr-visit-card:hover,
.zr-channel-card:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: var(--zr-shadow-md);
}

.zr-feature-card h3,
.zr-panel h3,
.zr-auth-row h3,
.zr-product-name {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  color: #372718;
  letter-spacing: 0.01em;
}

.zr-feature-card p,
.zr-panel p,
.zr-text,
.zr-auth-row p,
.zr-note {
  color: #624f3c;
}

.zr-feature-badge {
  background: rgba(123, 79, 45, 0.12);
  color: #724827;
  border: 1px solid rgba(123, 79, 45, 0.22);
}

.zr-grid-two {
  gap: 13px;
}

.zr-product-grid {
  gap: 13px;
}

.zr-product-card {
  padding: 16px;
}

.zr-product-image {
  border-radius: 13px;
  border: 1px solid #d7bf9f;
  background: linear-gradient(180deg, #fef7ea 0%, #f1e1c8 100%);
}

.zr-product-name {
  font-size: 1.22rem;
}

.zr-product-price {
  color: var(--zr-accent-deep);
  font-size: 0.94rem;
}

.zr-redeem input,
.zr-tukar-form input,
.zr-tukar-form select,
.zr-tukar-form textarea {
  border: 1px solid #cdb291;
  border-radius: 10px;
  background: #fff9ef;
  color: #2f2418;
}

.zr-redeem input:focus,
.zr-tukar-form input:focus,
.zr-tukar-form select:focus,
.zr-tukar-form textarea:focus {
  border-color: #9b6d46;
  box-shadow: 0 0 0 3px rgba(155, 109, 70, 0.16);
}

.zr-redeem button,
.zr-login-btn,
.zr-tukar-form button {
  border: 1px solid #7a4c2d;
  color: #fff8ed;
  background: linear-gradient(180deg, #885732 0%, #6f4527 100%);
}

.zr-logout-btn {
  border: 1px solid #595641;
  color: #fff8ea;
  background: linear-gradient(180deg, #6b684f 0%, #52503c 100%);
}

.zr-user-box,
.zr-coin-item,
.zr-point-item,
.zr-option-fields {
  border-color: #d2ba99;
  background: rgba(255, 250, 241, 0.95);
}

.zr-user-meta strong {
  color: #332618;
}

.zr-user-meta span,
.zr-coin-item,
.zr-history-meta,
.zr-point-item span,
.zr-category-note {
  color: #634f3d;
}

.zr-point-item strong,
.zr-coin-item strong {
  color: #6f4527;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

.zr-alert {
  border-radius: 10px;
  font-weight: 700;
}

.zr-alert.info {
  color: #654529;
  background: #f3e3ca;
  border-color: #d8b994;
}

.zr-alert.error {
  color: #7a2f2f;
  background: #f4dddd;
  border-color: #d9acac;
}

.zr-alert.success {
  color: #3f5a2b;
  background: #e6efdc;
  border-color: #bdcfaa;
}

.zr-option-grid {
  gap: 10px;
}

.zr-option-card {
  color: #4e3d2d;
  border: 1px solid #d0b695;
  background: linear-gradient(180deg, #fffaf1 0%, #f2e3ca 100%);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.zr-option-card.active {
  color: #fff7ea;
  border-color: #6f4527;
  background: linear-gradient(180deg, #8a5a34 0%, #6f4527 100%);
  box-shadow: 0 16px 30px rgba(58, 35, 18, 0.26);
}

.zr-option-icon {
  color: #6b4a32;
  background: rgba(255, 247, 233, 0.85);
  border: 1px solid #d5bb9b;
}

.zr-option-card.active .zr-option-icon {
  color: #fff8ee;
  background: rgba(255, 247, 233, 0.2);
  border-color: rgba(255, 247, 233, 0.4);
}

.zr-option-icon svg,
.zr-contact a svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}

.zr-option-icon svg {
  filter: drop-shadow(0 2px 4px rgba(61, 39, 21, 0.18));
}

.zr-option-card:hover .zr-option-icon svg,
.zr-option-card:focus-visible .zr-option-icon svg {
  transform: translate3d(0, -1px, 0) scale(1.07) rotate(-3deg);
}

.zr-option-card.active .zr-option-icon svg {
  filter: drop-shadow(0 2px 5px rgba(24, 13, 7, 0.24));
}

.zr-history-item,
.zr-history-empty {
  padding: 11px 12px;
}

.zr-contact {
  border: 1px solid #765233;
  background: linear-gradient(180deg, #7f5331 0%, #664024 100%);
  box-shadow: inset 0 1px 0 rgba(255, 240, 223, 0.24);
}

.zr-contact a {
  color: #fff8ec;
  transition: transform 0.2s ease;
}

.zr-contact a:hover {
  transform: translate3d(0, -1px, 0);
}

.zr-contact a:hover svg,
.zr-contact a:focus-visible svg {
  transform: translate3d(1px, 0, 0) scale(1.05);
}

.zr-channel-card,
.zr-visit-card {
  color: #4d3b2c;
}

.zr-channel-card .zr-channel-logo,
.zr-visit-card img {
  filter: saturate(0.95) contrast(1.05);
}

.zr-footer {
  padding: 24px 0 30px;
  color: #6a5642;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.zr-feature-card:nth-child(2),
.zr-product-card:nth-child(2),
.zr-option-card:nth-child(2),
.zr-channel-card:nth-child(2) {
  animation-delay: 0.06s;
}

.zr-feature-card:nth-child(3),
.zr-product-card:nth-child(3),
.zr-option-card:nth-child(3),
.zr-channel-card:nth-child(3) {
  animation-delay: 0.12s;
}

.zr-feature-card:nth-child(4),
.zr-product-card:nth-child(4),
.zr-option-card:nth-child(4),
.zr-channel-card:nth-child(4) {
  animation-delay: 0.18s;
}

@media (max-width: 980px) {
  .zr-hero-card,
  .zr-page-hero {
    padding: 24px 18px;
  }

  .zr-nav-link {
    font-size: 0.9rem;
    padding: 6px 10px;
  }
}

@media (max-width: 860px) {
  .zr-nav-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .zr-nav-menu {
    width: 100%;
  }

  .zr-brand img {
    width: 48px;
    height: 48px;
  }

  .zr-feature-grid,
  .zr-grid-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .zr-main {
    padding-top: 16px;
  }

  .zr-hero-card h1,
  .zr-page-hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.1rem);
  }

  .zr-product-grid,
  .zr-visit-grid,
  .zr-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 520px) {
  .zr-wrap {
    width: 94%;
  }

  .zr-section {
    padding: 9px 0 16px;
  }

  .zr-hero-card,
  .zr-page-hero,
  .zr-card,
  .zr-feature-card,
  .zr-product-card {
    border-radius: 14px;
  }
}

/* --------------------------------------------------------------------------
   Zeratto Mobile Navbar Fix (No horizontal slider)
---------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .zr-navbar {
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .zr-navbar .zr-nav-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 6px;
    padding: 8px 0;
  }

  .zr-navbar .zr-brand {
    display: inline-flex !important;
    justify-self: center;
    align-self: center;
    grid-column: 1;
    grid-row: 1;
  }

  .zr-navbar .zr-brand img {
    width: 44px;
    height: 44px;
  }

  .zr-navbar .zr-nav-menu {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    overflow-x: clip !important;
    overflow-y: visible !important;
    flex-wrap: wrap !important;
    padding-bottom: 0;
    justify-content: stretch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .zr-navbar .zr-nav-menu::-webkit-scrollbar {
    display: none;
  }

  .zr-navbar .zr-nav-link {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 33px;
    font-size: 0.78rem;
    line-height: 1.15;
    padding: 6px 8px;
    white-space: normal !important;
  }
}

@media (max-width: 520px) {
  .zr-navbar .zr-nav-inner {
    gap: 6px;
  }

  .zr-navbar .zr-brand img {
    width: 40px;
    height: 40px;
  }

  .zr-navbar .zr-nav-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .zr-navbar .zr-nav-link {
    font-size: 0.73rem;
    min-height: 32px;
    padding: 5px 6px;
  }
}

@media (max-width: 390px) {
  .zr-navbar .zr-nav-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zr-navbar .zr-nav-link {
    font-size: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   Zeratto Mobile Polish + Type Refresh
---------------------------------------------------------------------------- */
@keyframes zrLiftIn {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes zrGentleDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -4px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

body {
  font-family: "Manrope", "Source Sans 3", sans-serif;
}

.zr-nav-link,
.zr-btn,
.zr-kicker,
.zr-option-card,
.zr-login-btn,
.zr-logout-btn,
.zr-tukar-form label,
.zr-redeem input,
.zr-tukar-form input,
.zr-tukar-form select,
.zr-tukar-form textarea {
  font-family: "Manrope", "Source Sans 3", sans-serif;
}

.zr-hero-card h1,
.zr-page-hero h1,
.zr-head h2,
.zr-feature-card h3,
.zr-panel h3,
.zr-auth-row h3,
.zr-product-name,
.zr-point-item strong,
.zr-coin-item strong {
  font-family: "Bricolage Grotesque", "Manrope", sans-serif;
  letter-spacing: -0.03em;
}

.zr-hero-card,
.zr-page-hero,
.zr-feature-card,
.zr-product-card,
.zr-card {
  animation: zrLiftIn 0.58s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.zr-hero-card,
.zr-page-hero {
  background:
    radial-gradient(
      circle at top right,
      rgba(197, 130, 77, 0.12),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(147, 111, 75, 0.08),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      rgba(255, 251, 243, 0.98) 0%,
      rgba(244, 231, 210, 0.95) 100%
    );
}

.zr-hero-card::after,
.zr-page-hero::after {
  animation: zrGentleDrift 7s ease-in-out infinite;
}

.zr-btn {
  position: relative;
  overflow: hidden;
}

.zr-btn:hover {
  transform: translate3d(0, -3px, 0) scale(1.01);
}

.zr-feature-card,
.zr-product-card,
.zr-card {
  position: relative;
}

.zr-feature-card::after,
.zr-product-card::after,
.zr-card::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-right: 1px solid rgba(111, 69, 39, 0.14);
  border-bottom: 1px solid rgba(111, 69, 39, 0.14);
  border-radius: 0 0 10px 0;
  pointer-events: none;
}

@media (max-width: 620px) {
  .zr-navbar .zr-nav-inner {
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .zr-navbar .zr-brand {
    justify-self: start;
    align-self: start;
    padding: 2px;
  }

  .zr-navbar .zr-brand img {
    width: 44px;
    height: 44px;
  }

  .zr-navbar .zr-nav-menu {
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }

  .zr-navbar .zr-nav-link {
    min-height: 38px;
    padding: 7px 8px;
    font-size: 0.8rem;
    border-radius: 16px;
    box-shadow: 0 7px 14px rgba(55, 35, 18, 0.06);
  }

  .zr-hero-card,
  .zr-page-hero {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .zr-hero-card::before,
  .zr-page-hero::before,
  .zr-hero-card::after,
  .zr-page-hero::after {
    display: none;
  }

  .zr-kicker {
    margin-bottom: 12px;
    font-size: 0.68rem;
    padding: 6px 11px;
  }

  .zr-hero-card h1,
  .zr-page-hero h1 {
    font-size: clamp(2rem, 9vw, 2.35rem);
    line-height: 1.02;
    margin-bottom: 10px;
  }

  .zr-hero-card p,
  .zr-page-hero p {
    max-width: none;
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .zr-hero-cta {
    gap: 10px;
  }

  .zr-hero-cta .zr-btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
  }

  .zr-head h2 {
    font-size: clamp(1.95rem, 8vw, 2.3rem);
    margin-bottom: 6px;
  }

  .zr-head p,
  .zr-text,
  .zr-feature-card p,
  .zr-panel p {
    font-size: 0.95rem;
  }

  .zr-feature-card,
  .zr-product-card,
  .zr-card {
    border-radius: 18px;
  }

  .zr-feature-card {
    padding: 18px 16px;
  }

  .zr-feature-card h3,
  .zr-panel h3,
  .zr-product-name {
    font-size: 1.45rem;
    margin-bottom: 8px;
  }

  .zr-feature-card .zr-btn {
    margin-top: 4px;
  }

  .zr-feature-card::after,
  .zr-product-card::after,
  .zr-card::after {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 390px) {
  .zr-navbar .zr-nav-inner {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 8px;
  }

  .zr-navbar .zr-brand img {
    width: 40px;
    height: 40px;
  }

  .zr-navbar .zr-nav-link {
    font-size: 0.75rem;
    min-height: 36px;
    padding: 6px 6px;
  }

  .zr-hero-card,
  .zr-page-hero {
    padding: 20px 16px;
  }

  .zr-feature-card h3,
  .zr-panel h3,
  .zr-product-name {
    font-size: 1.28rem;
  }
}

/* --------------------------------------------------------------------------
   Zeratto Tukar Popup
---------------------------------------------------------------------------- */
@keyframes zrModalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zrModalPop {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

body.zr-modal-open {
  overflow: hidden;
}

.zr-tukar-modal-shell[hidden] {
  display: none !important;
}

.zr-tukar-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 18px 14px;
}

.zr-tukar-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 22, 11, 0.52);
  backdrop-filter: blur(3px);
  animation: zrModalFade 0.2s ease both;
}

.zr-tukar-modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: 20px 16px 16px;
  border-radius: 18px;
  box-shadow: 0 26px 46px rgba(19, 11, 6, 0.35);
  animation: zrModalPop 0.24s ease both;
}

.zr-tukar-modal-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 12px;
  border: 1px dashed rgba(111, 69, 39, 0.34);
  pointer-events: none;
}

.zr-tukar-modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  margin-bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #c9ae8e;
  background: #fff7e8;
  color: #6f4527;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  z-index: 2;
}

.zr-tukar-modal-close:hover {
  transform: translate3d(0, -1px, 0);
  box-shadow: 0 8px 16px rgba(58, 35, 18, 0.16);
}

.zr-tukar-modal-close svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 640px) {
  .zr-tukar-modal-shell {
    padding: 10px;
  }

  .zr-tukar-modal-card {
    max-height: calc(100dvh - 18px);
    border-radius: 14px;
    padding: 14px 12px 12px;
  }
}
