:root {
  --ink: #0a1628;
  --ink-soft: #3d4f66;
  --navy: #0b1f44;
  --navy-deep: #061229;
  --gold: #e8a317;
  --gold-soft: #ffe6a8;
  --mist: #ffffff;
  --paper: #ffffff;
  --line: rgba(11, 31, 68, 0.1);
  --ok: #1f7a4d;
  --font: "Sora", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --pad: clamp(0.85rem, 2.5vw, 1.5rem);
  --max: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body.mkt-body {
  font-family: var(--font);
  color: var(--ink);
  background: #ffffff;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mkt-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.045;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mkt-orb {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.35;
}

.mkt-orb-a {
  width: 280px;
  height: 280px;
  background: rgba(232, 163, 23, 0.45);
  top: 18%;
  right: -80px;
  animation: mkt-float 12s ease-in-out infinite alternate;
}

.mkt-orb-b {
  width: 220px;
  height: 220px;
  background: rgba(11, 31, 68, 0.28);
  bottom: 12%;
  left: -60px;
  animation: mkt-float 14s ease-in-out infinite alternate-reverse;
}

@keyframes mkt-float {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(18px, -22px, 0); }
}

.mkt-top,
.mkt-banner,
main,
.mkt-foot,
.mkt-drawer,
.mkt-modal,
.mkt-toast {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.mkt-top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--pad);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.mkt-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mkt-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.mkt-brand em {
  font-style: normal;
  color: #9a6b00;
  font-family: var(--display);
  font-weight: 700;
}

.mkt-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.mkt-nav a:hover {
  color: var(--navy);
}

.mkt-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.mkt-ghost {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}

.mkt-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.mkt-cart-btn:hover {
  transform: translateY(-1px);
}

.mkt-cart-btn strong {
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}

.mkt-join {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  background: #fff;
}

.mkt-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem var(--pad);
  background: linear-gradient(90deg, #0b1f44, #163566);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
}

.mkt-banner[hidden] {
  display: none !important;
}

.mkt-banner strong {
  color: var(--gold-soft);
}

.mkt-hero {
  padding: 0;
}

.mkt-hero-inner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: clamp(220px, 32vh, 320px);
  border-radius: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  box-shadow: none;
}

.mkt-hero-visual {
  position: relative;
  min-height: 100%;
  display: grid;
  align-items: end;
}

.mkt-hero-slider {
  position: absolute;
  inset: 0;
}

.mkt-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.85s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.mkt-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.mkt-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(95deg, rgba(6, 18, 41, 0.88) 0%, rgba(6, 18, 41, 0.45) 55%, rgba(6, 18, 41, 0.15) 100%),
    linear-gradient(0deg, rgba(6, 18, 41, 0.55) 0%, transparent 50%);
}

.mkt-hero-vendor {
  position: relative;
  z-index: 2;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  border-left: 1px solid var(--line);
}

.mkt-vendor-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #9a6b00;
}

.mkt-hero-vendor h2 {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.mkt-vendor-lead {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 18rem;
}

.mkt-vendor-cta {
  margin-top: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mkt-vendor-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(11, 31, 68, 0.18);
}

.mkt-hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 2.5vw, 1.75rem);
  max-width: 520px;
  color: #fff;
  animation: mkt-rise 0.9s ease both;
}

@keyframes mkt-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.mkt-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 0.85rem;
}

.mkt-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.mkt-hero h1 span {
  color: var(--gold);
}

.mkt-lead {
  max-width: 34rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1.6rem;
}

.mkt-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mkt-hero-cta .mkt-primary,
.mkt-hero-cta .mkt-secondary {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

.mkt-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 14px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mkt-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(232, 163, 23, 0.35);
}

.mkt-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease;
}

.mkt-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mkt-full {
  width: 100%;
}

.mkt-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.85rem;
  padding: 0.95rem var(--pad);
  background: rgba(11, 31, 68, 0.94);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.mkt-how {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad);
}

.mkt-how h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
}

.mkt-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mkt-steps li {
  padding: 1.35rem 1.25rem;
  border-radius: 4px;
  background: rgba(255, 252, 247, 0.78);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  animation: mkt-rise 0.7s ease both;
}

.mkt-steps li:nth-child(2) { animation-delay: 0.08s; }
.mkt-steps li:nth-child(3) { animation-delay: 0.16s; }

.mkt-steps strong {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.mkt-steps span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.mkt-shelf {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 var(--pad) clamp(2.5rem, 5vw, 3.5rem);
}

.mkt-shelf-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  width: 100%;
}

.mkt-shelf-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em;
}

.mkt-shelf-head .mkt-kicker {
  color: #9a6b00;
}

.mkt-search {
  flex: 1;
  min-width: min(100%, 260px);
  max-width: 360px;
}

.mkt-search input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #ffffff;
  font: inherit;
  color: var(--ink);
  outline: none;
}

.mkt-search input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 31, 68, 0.12);
}

.mkt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.mkt-tab {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: #ffffff;
  border: 1px solid var(--line);
}

.mkt-tab.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.mkt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
}

.mkt-loading,
.mkt-empty {
  grid-column: 1 / -1;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--ink-soft);
}

.mkt-loading-pulse {
  animation: mkt-pulse 1.2s ease-in-out infinite;
}

@keyframes mkt-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes mkt-item-enter {
  0% {
    opacity: 0;
    transform: translate3d(0, 72px, 0) scale(0.82) rotateX(14deg);
    filter: blur(10px);
  }
  55% {
    opacity: 1;
    transform: translate3d(0, -10px, 0) scale(1.04);
    filter: blur(0);
  }
  75% {
    transform: translate3d(0, 4px, 0) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.mkt-item {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  transform-origin: center bottom;
}

.mkt-item-enter {
  animation: mkt-item-enter 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mkt-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 48px rgba(11, 31, 68, 0.16);
}

.mkt-item-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f4f6;
}

.mkt-item-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(6, 18, 41, 0.18));
  pointer-events: none;
}

.mkt-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.mkt-item:hover .mkt-item-media img {
  transform: scale(1.06);
}

.mkt-item-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem 0.65rem 0.7rem;
}

.mkt-item-cat {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a6b00;
  font-weight: 600;
}

.mkt-item-title {
  font-family: var(--display);
  font-size: 0.92rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.mkt-item-desc {
  font-size: 0.74rem;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mkt-item-foot {
  margin-top: auto;
  padding-top: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.mkt-price {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}

.mkt-add {
  padding: 0.38rem 0.6rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.mkt-add:hover {
  background: #12305f;
}

.mkt-foot {
  border-top: 1px solid var(--line);
  background: rgba(11, 31, 68, 0.96);
  color: rgba(255, 255, 255, 0.82);
  padding: 2rem var(--pad);
}

.mkt-foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
}

.mkt-foot strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.mkt-foot p {
  max-width: 28rem;
  font-size: 0.92rem;
}

.mkt-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.mkt-foot-links a:hover {
  color: var(--gold-soft);
}

.mkt-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(6, 18, 41, 0.45);
  display: flex;
  justify-content: flex-end;
}

.mkt-drawer[hidden],
.mkt-modal[hidden],
.mkt-toast[hidden] {
  display: none !important;
}

.mkt-drawer-panel {
  width: min(420px, 100%);
  height: 100%;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.18);
  animation: mkt-slide 0.28s ease;
}

@keyframes mkt-slide {
  from { transform: translateX(24px); opacity: 0.6; }
  to { transform: none; opacity: 1; }
}

.mkt-drawer-panel header,
.mkt-drawer-panel footer {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.mkt-drawer-panel footer {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.mkt-drawer-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mkt-drawer-panel h3 {
  font-family: var(--display);
  font-size: 1.45rem;
}

.mkt-icon-x {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
  background: rgba(11, 31, 68, 0.06);
}

.mkt-drawer-body {
  padding: 0.85rem 1.2rem;
  overflow: auto;
  flex: 1;
}

.mkt-cart-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 0.5rem 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.mkt-cart-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: #f3f4f6;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.mkt-cart-thumb-empty {
  background: linear-gradient(145deg, #e8eaee, #f5f6f8);
}

.mkt-cart-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.mkt-cart-row strong {
  font-size: 0.92rem;
  line-height: 1.25;
}

.mkt-cart-row span {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.mkt-cart-row button {
  align-self: center;
  color: #b42318;
  font-size: 0.8rem;
  font-weight: 600;
}

.mkt-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.mkt-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(6, 18, 41, 0.55);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.mkt-modal-card {
  width: min(560px, 100%);
  background: var(--paper);
  border-radius: 22px;
  padding: 1.6rem 1.5rem 1.5rem;
  position: relative;
  animation: mkt-rise 0.35s ease;
}

.mkt-modal-card .mkt-icon-x {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
}

.mkt-modal-card h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.55rem;
}

.mkt-modal-lead {
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.mkt-role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mkt-role-card {
  text-align: left;
  padding: 1.1rem;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mkt-role-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.mkt-role-ico {
  font-size: 1.4rem;
}

.mkt-role-card strong {
  font-family: var(--display);
  font-size: 1.15rem;
}

.mkt-role-card span:last-child {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.mkt-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mkt-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.mkt-form input,
.mkt-form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  resize: vertical;
}

.mkt-form input:focus,
.mkt-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.mkt-toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 80;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  max-width: min(92vw, 420px);
  text-align: center;
}

@media (max-width: 1024px) {
  .mkt-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .mkt-nav { display: none; }
  .mkt-steps { grid-template-columns: 1fr; }
  .mkt-role-grid { grid-template-columns: 1fr; }
  .mkt-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .mkt-hero-visual {
    min-height: clamp(200px, 28vh, 260px);
  }
  .mkt-hero-vendor {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 1rem var(--pad);
  }
  .mkt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .mkt-join { display: none; }
  .mkt-trust { font-size: 0.68rem; }
  .mkt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
}
