/* ============================================================
   THE WHITE DIGITAL — Marketplace Home (Etsy-inspired rebuild)
   Scoped: .mkt-header (home nav) + .home-page
   Brand: black / olive panel / soft off-white (not Etsy orange)
   ============================================================ */

:root {
  --mkt-bg: #faf9f6;
  --mkt-ink: #222;
  --mkt-muted: #6a6a6a;
  --mkt-line: #e1e3df;
  --mkt-panel: #2f3a2e;
  --mkt-radius: 12px;
  --mkt-radius-lg: 18px;
  --mkt-max: 1400px;
}

body:has(.home-page) {
  background: var(--mkt-bg);
}

/* ===== MARKETPLACE HEADER ===== */
/* Ensure mail/social topbar stays visible above marketplace header */
body:has(.mkt-header) .topbar {
  display: block;
  position: relative;
  z-index: 1001;
}

/* Old navbar never shows alongside marketplace header */
body:has(.mkt-header) .navbar {
  display: none !important;
}

/* Unified storefront background with homepage */
body:has(.mkt-header):not(:has(.home-page)) {
  background: var(--mkt-bg, #faf9f6);
}

.mkt-header {
  background: #fff;
  border-bottom: 1px solid var(--mkt-line);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.mkt-header.scrolled {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.mkt-header__inner {
  max-width: var(--mkt-max);
  margin: 0 auto;
  padding: 12px 24px;
  width: 100%;
  box-sizing: border-box;
}

.mkt-header__bar {
  display: grid;
  grid-template-columns: auto auto minmax(180px, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.mkt-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mkt-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--mkt-ink);
  border-radius: 2px;
}

.mkt-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--mkt-ink);
  min-width: 0;
  max-width: 100%;
}

.mkt-logo img {
  height: 40px;
  width: auto;
  max-width: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.mkt-logo__text {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.1;
}

.mkt-cats-wrap {
  position: relative;
}

.mkt-cats-btn {
  border: none;
  background: transparent;
  font-weight: 600;
  color: var(--mkt-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  white-space: nowrap;
}

.mkt-cats-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--mkt-line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  z-index: 30;
  display: flex;
  flex-direction: column;
}

.mkt-cats-panel[hidden] {
  display: none !important;
}

.mkt-cats-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--mkt-ink);
  font-size: 0.92rem;
}

.mkt-cats-panel a:hover {
  background: var(--mkt-bg);
}

.mkt-search {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  background: #fff;
  border: 1.5px solid #222;
  border-radius: 999px;
  overflow: hidden;
  height: 44px;
  box-sizing: border-box;
}

.mkt-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 16px;
  font-size: 0.95rem;
  background: transparent;
  font-family: var(--font-body);
  min-width: 0;
  width: 100%;
}

.mkt-search__go {
  width: 36px;
  height: 36px;
  margin-right: 4px;
  border: none;
  border-radius: 50%;
  background: var(--mkt-panel);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mkt-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.mkt-actions__text {
  color: var(--mkt-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 10px;
  white-space: nowrap;
}

.mkt-actions__text:hover {
  text-decoration: underline;
}

.mkt-icon-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mkt-ink);
  text-decoration: none;
  position: relative;
  border-radius: 50%;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.mkt-icon-link:hover {
  background: var(--mkt-bg);
}

.mkt-subnav {
  border-top: 1px solid var(--mkt-line);
  background: #fff;
}

.mkt-subnav__inner {
  max-width: var(--mkt-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px 6px;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mkt-subnav__inner::-webkit-scrollbar {
  display: none;
}

.mkt-subnav a {
  flex: 0 0 auto;
  color: var(--mkt-ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 11px 12px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.mkt-subnav a:hover {
  background: var(--mkt-bg);
  color: var(--mkt-panel);
  text-decoration: none;
}

.mkt-subnav__all {
  margin-left: 4px;
  font-weight: 700;
  color: var(--mkt-panel);
}

.mkt-header .mkt-mobile-menu {
  display: none !important;
  list-style: none;
  margin: 0;
  padding: 4px 16px 16px;
  background: #fff;
  border-top: 1px solid var(--mkt-line);
  max-height: min(70vh, 480px);
  overflow-y: auto;
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
  box-shadow: none !important;
  width: 100%;
}

.mkt-header .mkt-mobile-menu.open {
  display: block !important;
}

.mkt-header .mkt-mobile-menu li a {
  display: block;
  padding: 14px 4px;
  color: var(--mkt-ink) !important;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--mkt-line);
}

/* ===== HOME PAGE ===== */
.home-page {
  background: var(--mkt-bg);
  color: var(--mkt-ink);
  padding-bottom: 20px;
}

.home-page .container {
  max-width: var(--mkt-max);
}

.mkt-h {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-align: left;
  color: var(--mkt-ink);
}

.mkt-sec {
  padding: clamp(36px, 5vw, 64px) 0 0;
}

.mkt-sec--tight {
  padding-top: clamp(24px, 3vw, 36px);
}

.mkt-sec__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.mkt-sec__head .mkt-h {
  margin-bottom: 0;
}

.mkt-center {
  text-align: center;
  margin-top: 28px;
}

.mkt-link {
  color: var(--mkt-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mkt-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.2s ease, background 0.2s ease;
}

.mkt-pill:hover {
  transform: scale(1.02);
}

.mkt-pill--white {
  background: #fff;
  color: var(--mkt-ink);
}

.mkt-pill--dark {
  background: var(--mkt-ink);
  color: #fff;
}

.mkt-pill--outline {
  background: transparent;
  border-color: var(--mkt-ink);
  color: var(--mkt-ink);
}

.mkt-pill--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.mkt-pill--sm {
  padding: 8px 14px;
  font-size: 0.8rem;
}

.mkt-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--mkt-line);
  background: #fff;
  cursor: pointer;
}

/* Homepage product art: full image, no letterbox crop */
.home-page .mkt-cat__media img,
.home-page .mkt-interest__img img,
.home-page .mkt-product__media img,
.home-page .mkt-deal__img img,
.home-page .mkt-price-card img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: unset !important;
}

/* HERO SLIDER — desktop: clear split (content | image) */
.mkt-hero {
  padding: 14px 0 0;
}

.mkt-slider {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #1a2219;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(18, 22, 18, 0.16);
}

.mkt-slider__viewport {
  overflow: hidden;
  width: 100%;
}

.mkt-slider__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  touch-action: pan-y;
}

.mkt-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.15fr);
  align-items: stretch;
  min-height: 400px;
  box-sizing: border-box;
}

.mkt-slide__copy {
  padding: clamp(28px, 3.8vw, 52px) clamp(24px, 3.2vw, 44px);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, #243024 0%, #1a2219 55%, #151a15 100%);
  box-sizing: border-box;
}

.mkt-slide__copy::before {
  display: none;
}

.mkt-slide__brand {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #f4efe3;
  line-height: 1.15;
}

.mkt-slide__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4a35a;
}

.mkt-slide__copy h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: none;
}

.mkt-slide__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.94rem;
  line-height: 1.5;
  max-width: 32em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mkt-slide__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin-top: 2px;
}

.mkt-slide__price strong {
  font-size: 1.28rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.mkt-slide__price s {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
}

.mkt-slide__price em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a2219;
  background: #d4b56a;
  padding: 3px 8px;
  border-radius: 999px;
}

.mkt-slide__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.mkt-slide.is-active .mkt-slide__copy > * {
  animation: mktHeroIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mkt-slide.is-active .mkt-slide__copy > *:nth-child(2) { animation-delay: 0.05s; }
.mkt-slide.is-active .mkt-slide__copy > *:nth-child(3) { animation-delay: 0.1s; }
.mkt-slide.is-active .mkt-slide__copy > *:nth-child(4) { animation-delay: 0.14s; }
.mkt-slide.is-active .mkt-slide__copy > *:nth-child(5) { animation-delay: 0.18s; }
.mkt-slide.is-active .mkt-slide__copy > *:nth-child(6) { animation-delay: 0.22s; }

.mkt-slide.is-active .mkt-slide__frame img {
  animation: mktHeroImg 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes mktHeroIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mktHeroImg {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .mkt-slide.is-active .mkt-slide__copy > *,
  .mkt-slide.is-active .mkt-slide__frame img {
    animation: none;
  }
}

.mkt-slide__media {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #101410;
  overflow: hidden;
}

.mkt-slide__frame {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  border: none;
  background: transparent;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

.mkt-slide__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

/* Desktop only: split layout — full product image visible (no crop) */
@media (min-width: 721px) {
  .mkt-slide {
    min-height: 440px;
  }

  .mkt-slide__media {
    min-height: 440px;
    background: #0f130f;
  }

  .mkt-slide__frame {
    display: grid;
    place-items: center;
  }

  .mkt-slide__frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .mkt-slider__btn {
    top: 50%;
  }
}

.mkt-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--mkt-ink);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mkt-slider__btn:hover {
  transform: translateY(-50%) scale(1.05);
  background: #fff;
}

.mkt-slider__btn--prev { left: 12px; }
.mkt-slider__btn--next { right: 12px; }

.mkt-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
}

.mkt-slider__dot {
  pointer-events: auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.mkt-slider__dot.is-active {
  width: 22px;
  background: #d4b56a;
}

/* SHOP BY CATEGORY */
.mkt-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mkt-cat {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--mkt-line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mkt-cat:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.mkt-cat__media {
  background: transparent;
  overflow: hidden;
  line-height: 0;
}

.mkt-cat__media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.mkt-cat:hover .mkt-cat__media img {
  transform: scale(1.015);
}

.mkt-cat__fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--mkt-panel);
  background: linear-gradient(145deg, #f3f3f0, #e5e5e0);
}

.mkt-cat__body {
  padding: 12px 14px 14px;
}

.mkt-cat__body h3 {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--mkt-ink);
  line-height: 1.25;
}

.mkt-cat__body p {
  margin: 0 0 8px;
  color: var(--mkt-muted);
  font-size: 0.82rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mkt-cat__body span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mkt-panel);
}

/* INTERESTS */
.mkt-interests {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.mkt-interest {
  color: inherit;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mkt-interest__img {
  border-radius: var(--mkt-radius);
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--mkt-line);
  display: block;
  line-height: 0;
}

.mkt-interest__img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.mkt-interest:hover .mkt-interest__img img {
  transform: scale(1.015);
}

.mkt-interest__title {
  text-decoration: none;
  color: inherit;
}

.mkt-interest h3 {
  margin: 12px 0 4px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mkt-interest p {
  margin: 0 0 8px;
  color: var(--mkt-muted);
  font-size: 0.86rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.mkt-interest .mkt-product__meta {
  margin-bottom: 8px;
}

.mkt-interest .mkt-product__actions {
  margin-top: auto;
}

/* DISCOVER */
.mkt-discover {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.mkt-discover__item {
  text-decoration: none;
  color: var(--mkt-ink);
}

.mkt-discover__tile {
  aspect-ratio: 1;
  border-radius: var(--mkt-radius);
  background: #fff;
  border: 1px solid var(--mkt-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--mkt-panel);
  margin-bottom: 10px;
  transition: transform 0.25s ease;
}

.mkt-discover__item:hover .mkt-discover__tile {
  transform: translateY(-3px);
}

.mkt-discover__item span {
  font-weight: 700;
  font-size: 0.95rem;
}

/* PRICE ROW */
.mkt-price-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.mkt-price-card {
  position: relative;
  border-radius: var(--mkt-radius);
  overflow: hidden;
  display: block;
  background: transparent;
  border: 1px solid var(--mkt-line);
  line-height: 0;
}

.mkt-price-card img {
  width: 100%;
  height: auto;
  display: block;
}

.mkt-price-card span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mkt-ink);
}

/* CHIPS */
.mkt-chips {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.mkt-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--mkt-line);
  border-radius: var(--mkt-radius);
  padding: 12px;
  text-decoration: none;
  color: inherit;
  min-height: 88px;
}

.mkt-chip__img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--mkt-bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mkt-chip__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.mkt-chip strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.mkt-chip span {
  font-size: 0.8rem;
  color: var(--mkt-muted);
  line-height: 1.35;
}

/* CAROUSEL PRODUCTS */
.mkt-carousel__nav {
  display: flex;
  gap: 8px;
}

.mkt-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--mkt-line);
  background: #fff;
  cursor: pointer;
}

.mkt-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.mkt-carousel::-webkit-scrollbar {
  display: none;
}

.mkt-product {
  scroll-snap-align: start;
  background: transparent;
}

.mkt-product__media {
  display: block;
  position: relative;
  border-radius: var(--mkt-radius);
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--mkt-line);
  line-height: 0;
}

.mkt-product__media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.mkt-product:hover .mkt-product__media img {
  transform: scale(1.015);
}

.mkt-product__media em {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
}

.mkt-product__body {
  padding: 12px 2px 0;
}

.mkt-product__body > span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mkt-muted);
}

.mkt-product__body h3 {
  margin: 4px 0 8px;
  font-size: 0.98rem;
  font-weight: 600;
  font-family: var(--font-body);
  line-height: 1.35;
  color: var(--mkt-ink);
}

.mkt-product__body a {
  text-decoration: none;
}

.mkt-product__meta {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 10px;
}

.mkt-product__meta s {
  color: var(--mkt-muted);
  font-size: 0.85rem;
}

.mkt-product__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.mkt-product__actions .mkt-pill--sm {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  padding: 8px 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* ABOUT */
.mkt-about__card {
  background: #fff;
  border: 1px solid var(--mkt-line);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 36px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px 28px;
  align-items: center;
}

.mkt-about__eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mkt-muted);
}

.mkt-about__intro .mkt-h {
  margin-bottom: 10px;
}

.mkt-about__lead,
.mkt-about__text {
  margin: 0 0 12px;
  color: var(--mkt-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 38em;
}

.mkt-about__intro .mkt-pill {
  margin-top: 6px;
}

.mkt-about__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mkt-about__shot {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #ecece8;
}

.mkt-about__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.mkt-about__shot:hover img {
  transform: scale(1.04);
}

.mkt-about__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--mkt-line);
}

.mkt-about__stats > div {
  text-align: center;
  padding: 8px 4px;
}

.mkt-about__stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 500;
  color: var(--mkt-ink);
  line-height: 1.1;
}

.mkt-about__stats span {
  display: block;
  margin-top: 4px;
  color: var(--mkt-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

/* DEALS */
.mkt-deals {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.mkt-deal {
  color: inherit;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mkt-deal__img {
  border-radius: var(--mkt-radius);
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--mkt-line);
  margin-bottom: 10px;
  display: block;
  line-height: 0;
}

.mkt-deal__img img {
  width: 100%;
  height: auto;
  display: block;
}

.mkt-deal__title {
  text-decoration: none;
  color: inherit;
}

.mkt-deal h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mkt-deal .mkt-product__meta {
  margin-bottom: 4px;
}

.mkt-deal p {
  margin: 0 0 8px;
  color: #b3541e;
  font-weight: 700;
  font-size: 0.85rem;
}

.mkt-deal .mkt-product__actions {
  margin-top: auto;
}

/* REVIEWS — compact strip */
.mkt-reviews-sec {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(8px, 2vw, 16px);
}

.mkt-reviews-sec .mkt-sec__head {
  align-items: flex-end;
  margin-bottom: 16px;
}

.mkt-reviews-sec__sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--mkt-muted);
}

.mkt-review-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mkt-rv {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--mkt-line);
  border-radius: 14px;
  padding: 16px 14px 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mkt-rv:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.mkt-rv__stars {
  color: #b8953a;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 8px;
}

.mkt-rv__quote {
  margin: 0 0 14px;
  color: var(--mkt-ink);
  font-size: 0.88rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.mkt-rv__who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.mkt-rv__avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mkt-panel);
  color: #f3efe4;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mkt-rv__meta {
  min-width: 0;
}

.mkt-rv__meta strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--mkt-ink);
  line-height: 1.2;
}

.mkt-rv__meta span {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  color: var(--mkt-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* BLOGS */
/* BLOG — compact strip */
.mkt-blog-sec {
  padding-top: clamp(28px, 4vw, 48px);
}

.mkt-blog-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mkt-blog-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--mkt-line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mkt-blog-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
}

.mkt-blog-tile__media {
  aspect-ratio: 16 / 10;
  background: #ecece8;
  overflow: hidden;
}

.mkt-blog-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mkt-blog-tile__body {
  padding: 10px 12px 12px;
}

.mkt-blog-tile__body span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mkt-muted);
  margin-bottom: 4px;
}

.mkt-blog-tile__body h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--mkt-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

/* CONTACT */
/* CONTACT */
.mkt-contact__panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--mkt-line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.mkt-contact__info {
  background: linear-gradient(160deg, #2f3a2e 0%, #1c241c 100%);
  color: #fff;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mkt-contact__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.mkt-contact__info .mkt-h {
  color: #fff;
  margin: 0;
}

.mkt-contact__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  font-size: 0.95rem;
  max-width: 32em;
}

.mkt-contact__channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.mkt-contact__channel {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

.mkt-contact__channel:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mkt-contact__channel--static {
  cursor: default;
}

.mkt-contact__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-light, #f0d98a);
}

.mkt-contact__channel small {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2px;
}

.mkt-contact__channel strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}

.mkt-contact__wa {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  padding: 12px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.mkt-contact__wa:hover {
  filter: brightness(1.05);
}

.mkt-contact__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 4vw, 40px);
  background: #fff;
}

.mkt-contact__form h3 {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--mkt-ink);
}

.mkt-contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mkt-contact__form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mkt-ink);
}

.mkt-contact__form label span {
  letter-spacing: 0.02em;
}

.mkt-contact__form input,
.mkt-contact__form textarea {
  border: 1px solid var(--mkt-line);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  background: #faf9f6;
  color: var(--mkt-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.mkt-contact__form input::placeholder,
.mkt-contact__form textarea::placeholder {
  color: #9a9a9a;
}

.mkt-contact__form input:focus,
.mkt-contact__form textarea:focus {
  outline: none;
  border-color: var(--mkt-panel);
  box-shadow: 0 0 0 3px rgba(47, 58, 46, 0.12);
  background: #fff;
}

.mkt-contact__form .mkt-pill {
  margin-top: 4px;
  align-self: flex-start;
  min-width: 160px;
}

/* CTA */
.mkt-cta-wrap {
  padding-bottom: clamp(40px, 6vw, 72px);
}

.mkt-cta {
  background: var(--mkt-panel);
  border-radius: var(--mkt-radius-lg);
  padding: clamp(36px, 5vw, 64px) 24px;
  text-align: center;
  color: #fff;
}

.mkt-cta__eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-light, #f0d98a);
}

.mkt-cta h2 {
  margin: 0 auto 12px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 500;
  max-width: 560px;
}

.mkt-cta > p {
  margin: 0 auto 24px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.mkt-cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Soften footer on home */
body:has(.home-page) .footer {
  margin-top: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .mkt-cats,
  .mkt-deals,
  .mkt-price-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .mkt-blog-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .mkt-review-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  .mkt-header__bar {
    grid-template-columns: auto auto minmax(140px, 1fr) auto;
    gap: 10px;
  }

  .mkt-actions__text {
    display: none;
  }
}

@media (max-width: 980px) {
  /* Mobile header: row1 = menu + logo + icons | row2 = full search */
  .mkt-header__inner {
    padding: 10px 14px 12px;
  }

  .mkt-header__bar {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    grid-template-areas:
      "menu logo actions"
      "search search search";
    gap: 10px 8px;
    align-items: center;
  }

  .mkt-menu-btn {
    display: inline-flex;
    grid-area: menu;
  }

  .mkt-logo {
    grid-area: logo;
    justify-self: start;
  }

  .mkt-logo__text {
    display: none !important;
  }

  .mkt-logo img {
    height: 36px;
    max-width: 40px;
  }

  .mkt-cats-wrap,
  .mkt-subnav {
    display: none !important;
  }

  .mkt-search {
    grid-area: search;
    height: 42px;
    border-width: 1.5px;
  }

  .mkt-actions {
    grid-area: actions;
    justify-self: end;
    gap: 2px;
  }

  .mkt-actions__text {
    display: none !important;
  }

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

  .home-page .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .mkt-interests {
    grid-template-columns: repeat(2, 1fr);
  }

  .mkt-review-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .mkt-about__card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mkt-about__intro {
    text-align: center;
  }

  .mkt-about__lead,
  .mkt-about__text {
    margin-left: auto;
    margin-right: auto;
  }

  .mkt-about__intro .mkt-h {
    text-align: center;
  }

  .mkt-contact__panel {
    grid-template-columns: 1fr;
  }

  .mkt-sec__head {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .mkt-header__inner {
    padding: 8px 12px 10px;
  }

  .mkt-search input {
    font-size: 0.9rem;
    padding: 0 14px;
  }

  .mkt-hero {
    padding-top: 10px;
  }

  .mkt-slider {
    border-radius: 16px;
  }

  .mkt-slide {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  .mkt-slide__media {
    order: 1;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .mkt-slide__frame {
    width: 100%;
    height: auto;
  }

  .mkt-slide__frame img {
    width: 100%;
    height: auto;
    object-fit: unset;
    object-position: center;
  }

  .mkt-slide__copy {
    order: 2;
    width: 100%;
    max-width: none;
    padding: 18px 16px 22px;
    text-align: center;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #1c241c 0%, #141814 100%);
  }

  .mkt-slide__copy::before {
    display: none;
  }

  .mkt-slide__brand {
    font-size: 1.15rem;
  }

  .mkt-slide__copy h1 {
    font-size: 1.28rem;
    -webkit-line-clamp: 2;
    text-shadow: none;
  }

  .mkt-slide__lead {
    font-size: 0.84rem;
    -webkit-line-clamp: 2;
  }

  .mkt-slide__price strong {
    font-size: 1.1rem;
  }

  .mkt-slide__cta {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }

  .mkt-slide__cta .mkt-pill {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.84rem;
  }

  .mkt-slider__btn {
    width: 34px;
    height: 34px;
    top: 14%;
  }

  .mkt-slider__btn--prev { left: 8px; }
  .mkt-slider__btn--next { right: 8px; }

  .mkt-slider__dots {
    bottom: 8px;
  }

  .mkt-h {
    font-size: 1.45rem;
    margin-bottom: 14px;
  }

  .mkt-sec {
    padding-top: 28px;
  }

  .mkt-blog-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .mkt-blog-strip::-webkit-scrollbar {
    display: none;
  }

  .mkt-blog-tile {
    flex: 0 0 68%;
    max-width: 260px;
    scroll-snap-align: start;
  }

  .mkt-blog-tile__body h3 {
    font-size: 0.92rem;
    min-height: 0;
  }

  .mkt-interests,
  .mkt-cats,
  .mkt-price-row,
  .mkt-deals {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .mkt-cats {
    gap: 12px;
  }

  .mkt-cat {
    border-radius: 14px;
  }

  .mkt-cat__body {
    padding: 10px 10px 12px;
  }

  .mkt-cat__body h3 {
    font-size: 0.95rem;
  }

  .mkt-cat__body p {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }

  .mkt-review-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
    scrollbar-width: none;
  }

  .mkt-review-strip::-webkit-scrollbar {
    display: none;
  }

  .mkt-rv {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
    padding: 14px 12px 12px;
  }

  .mkt-rv__quote {
    font-size: 0.84rem;
    -webkit-line-clamp: 3;
  }

  .mkt-reviews-sec .mkt-sec__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 12px;
  }

  .mkt-reviews-sec__sub {
    font-size: 0.8rem;
  }

  .mkt-product__actions {
    flex-wrap: wrap;
  }

  .mkt-about__card {
    padding: 18px 14px;
    border-radius: 16px;
  }

  .mkt-about__grid {
    gap: 8px;
  }

  .mkt-about__shot {
    border-radius: 12px;
  }

  .mkt-about__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding-top: 14px;
  }

  .mkt-about__stats > div {
    background: var(--mkt-bg);
    border-radius: 12px;
    padding: 12px 8px;
  }

  .mkt-about__intro .mkt-pill {
    width: 100%;
    justify-content: center;
  }

  .mkt-cta {
    border-radius: 14px;
    padding: 28px 16px;
  }

  .mkt-cta__actions .mkt-pill {
    width: 100%;
  }

  .mkt-contact__panel {
    border-radius: 16px;
  }

  .mkt-contact__info {
    padding: 22px 16px;
    text-align: center;
    align-items: center;
  }

  .mkt-contact__info .mkt-h {
    text-align: center;
  }

  .mkt-contact__desc {
    text-align: center;
  }

  .mkt-contact__channels {
    width: 100%;
  }

  .mkt-contact__channel {
    text-align: left;
  }

  .mkt-contact__wa {
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
  }

  .mkt-contact__form {
    padding: 20px 16px 22px;
  }

  .mkt-contact__form h3 {
    text-align: center;
    font-size: 1.2rem;
  }

  .mkt-contact__row {
    grid-template-columns: 1fr;
  }

  .mkt-contact__form .mkt-pill {
    width: 100%;
    align-self: stretch;
    justify-content: center;
  }

  .mkt-pill {
    padding: 11px 18px;
  }
}

@media (max-width: 480px) {
  .mkt-interests,
  .mkt-cats,
  .mkt-price-row,
  .mkt-deals {
    grid-template-columns: 1fr 1fr;
  }

  .mkt-interest h3,
  .mkt-deal h3,
  .mkt-cat__body h3 {
    font-size: 0.9rem;
  }

  .mkt-interest p {
    font-size: 0.8rem;
  }

  .mkt-interest .mkt-product__actions,
  .mkt-deal .mkt-product__actions {
    flex-direction: column;
    gap: 6px;
  }

  .mkt-interest .mkt-product__actions .mkt-pill,
  .mkt-deal .mkt-product__actions .mkt-pill {
    width: 100%;
  }

  .mkt-blog-tile {
    flex-basis: 72%;
  }

  .mkt-carousel {
    grid-auto-columns: minmax(72vw, 1fr);
  }
}
