.mkt { overflow-x: clip; background: #fff; color: #001556; font-family: "Plus Jakarta Sans", Gilroy, system-ui, sans-serif; }
.mkt-head { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 8px; min-height: 64px; padding: 8px 16px; background: #fff; }
.rf-hero { min-height: 280px; padding: 84px 0 120px; background: linear-gradient(180deg, #c9d9f7 0%, #eef6ff 55%, #fff 100%); color: #001556; }
.rf-hero h1 span { color: #1254d5; }
.rf-frequent, .rf-frequent button { color: #001556; }
.rf-frequent button { border-color: #1254d5; background: #fff; }
.mkt-chip.on, .mkt-btn.primary, .mkt-bar { background: #1254d5; color: #fff; border-color: #1254d5; }
.mkt-price { color: #1254d5; }
.mkt-tile { background: #1254d5; }
.mkt-tile.navy { background: #001556; }
.mkt-tile.sky { background: #0bc8ff; color: #001556; }
.mkt-tile.amber { background: #ffa700; color: #001556; }
.mkt-pay { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; }
.mkt-pay span { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; background: #c9d9f7; color: #001556; font-size: 13px; font-weight: 700; white-space: nowrap; }
.mkt-photo, .mkt-photo img { max-width: 100%; }
@media (max-width: 767px) {
  .mkt-split { grid-template-columns: 1fr; }
  .mkt-factory { min-height: 112px; font-size: 18px; }
}
.mkt-wrap { width: min(1280px, calc(100% - 32px)); margin-inline: auto; }
.mkt-head { display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 8px 16px; background: #fff; }
.mkt-head.bleed { position: absolute; inset: 0 0 auto 0; z-index: 40; background: transparent; }
.mkt-menu { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; color: #111; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; }
.rf-hero { min-height: 280px; padding: 84px 0 120px; background: linear-gradient(180deg, #c9d9f7 0%, #eef6ff 55%, #fff 100%); color: #001556; }
.rf-hero h1 { max-width: 16ch; margin: 0; font-size: 34px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.rf-hero h1 span { color: #1254d5; }
.rf-search-slot { position: relative; z-index: 5; margin-top: -132px; }
.mkt-search { position: sticky; top: 8px; z-index: 30; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 6px 0 16px; border-radius: 999px; background: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16); }
.mkt-search input { min-width: 0; flex: 1; border: 0; background: transparent; color: #111; font-size: 15px; outline: none; }
.rf-frequent { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; overflow-x: auto; color: #001556; font-size: 13px; }
.rf-frequent button { height: 32px; padding: 0 12px; border: 1px solid #1254d5; border-radius: 999px; background: #fff; color: #001556; white-space: nowrap; }
.rf-body { padding-bottom: 28px; }
.mkt-section { margin-top: 28px; }
.mkt-section h2, .mkt-rowhead h2 { margin: 0; font-size: 18px; font-weight: 800; }
.mkt-sources { margin-top: 16px; }
.mkt-rowhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mkt-more { color: #6b7280; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.mkt-chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid #e5e7eb; border-radius: 999px; background: #fff; color: #111; font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.mkt-chip.on { border-color: #1254d5; background: #1254d5; color: #fff; }
.mkt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid #1254d5; border-radius: 999px; background: #fff; color: #1254d5; font-weight: 700; }
.mkt-btn.primary { border-color: #1254d5; background: #1254d5; color: #fff; }
.mkt-btn:disabled { opacity: 0.5; }
.mkt-field { width: 100%; height: 48px; border: 0; border-radius: 12px; background: #fff; padding: 0 14px; color: #111; }
.mkt-cats { display: grid; grid-auto-columns: max-content; grid-auto-flow: column; grid-template-rows: repeat(2, auto); gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.mkt-feature { display: flex; gap: 12px; margin-top: 12px; overflow-x: auto; }
.mkt-tile { position: relative; display: flex; flex: 0 0 78%; align-items: flex-end; min-height: 128px; overflow: hidden; border-radius: 18px; background: #0bc8ff; color: #001556; font-size: 22px; font-weight: 800; text-decoration: none; }
.mkt-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.55)); }
.mkt-tile span { position: relative; z-index: 1; padding: 14px; }
.mkt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; margin-top: 12px; }
.mkt-grid.tight { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
.mkt-card { min-width: 0; }
.mkt-photo { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 14px; background: #f3f4f6; }
.mkt-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mkt-photo-empty { display: grid; height: 100%; place-items: center; color: #9ca3af; font-size: 28px; font-weight: 800; }
.mkt-icon.save { position: absolute; top: 8px; right: 8px; display: grid; width: 36px; height: 36px; place-items: center; border: 0; background: transparent; }
.mkt-meta { margin-top: 8px; color: #9ca3af; font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.mkt-name { display: -webkit-box; overflow: hidden; margin-top: 2px; color: #001556; font-size: 13px; font-weight: 500; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mkt-price { margin-top: 4px; color: #1254d5; font-size: 16px; font-weight: 800; }
.mkt-moq { margin-top: 2px; color: #9ca3af; font-size: 12px; }
.mkt-bar { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-top: 8px; border-radius: 14px; background: #1254d5; color: #fff; padding: 0 16px; font-weight: 800; text-decoration: none; }
.mkt-bar span { color: #fff; }
.rf-help { display: grid; gap: 12px; align-items: center; }
.rf-help h2 { max-width: 16ch; color: #1254d5; font-size: 26px; line-height: 1.15; }
.rf-bubbles { display: grid; gap: 10px; }
.rf-bubble { display: block; border-radius: 18px; background: #dcfce7; padding: 16px; color: #166534; text-decoration: none; }
.rf-bubble b { display: block; color: #1254d5; }
.rf-bubble span { font-size: 13px; }
.rf-kicker { margin: 8px 0 0; color: #6b7280; font-size: 13px; font-weight: 700; }
.mkt-discover { margin-top: 12px; border-radius: 20px; background: #f3f4f6; padding: 16px; }
.rf-deals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.rf-deals article { border-radius: 18px; background: #f3f4f6; padding: 14px; }
.rf-deals h3 { margin: 0 0 8px; font-size: 16px; }
.mkt-quote { margin-top: 12px; border-radius: 22px; background: #ecfdf3; padding: 20px; }
.mkt-quote h3 { margin: 0; font-size: 28px; }
.mkt-quote p { color: #374151; }
.mkt-actions { display: flex; gap: 8px; margin-top: 4px; }
.mkt-actions .mkt-btn { flex: 1; }
.mkt-split { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
.mkt-factory { display: flex; min-height: 120px; align-items: flex-end; overflow: hidden; border-radius: 18px; background: #001556; color: #fff; font-size: 20px; font-weight: 800; text-decoration: none; }
.mkt-factory.navy { background: #1254d5; }
.mkt-factory span { padding: 14px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.rf-stats { text-align: center; }
.rf-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.rf-stats-grid b { display: block; color: #16a34a; font-size: 28px; }
.rf-stats-grid span { color: #6b7280; font-size: 13px; }
.mkt-reviews { margin-top: 28px; }
.mkt-reviews h2 { font-size: 28px; line-height: 1.15; }
.mkt-reviews p { color: #6b7280; }
.mkt-foot { background: #001556; color: #fff; padding: 28px 16px 40px; }
.mkt-foot.photo { background: #102033 url(/mkt/foot.jpg) center/cover no-repeat; }
.mkt-foot a { color: #fff; text-decoration: none; }
.mkt-foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.rf-open { display: flex; align-items: center; justify-content: center; height: 48px; margin-top: 16px; border-radius: 999px; background: #111; color: #fff; font-weight: 700; }
@media (min-width: 768px) {
  .mkt-split { grid-template-columns: 1fr 1fr; }
  .mkt-factory { min-height: 180px; }
  .rf-hero { min-height: 460px; padding-top: 110px; }
  .rf-hero h1 { font-size: 64px; }
  .mkt-search { max-width: 720px; }
  .mkt-tile { flex-basis: 320px; min-height: 180px; }
  .mkt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mkt-grid.tight { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rf-help { grid-template-columns: 1fr 280px; }
  .mkt-foot { padding: 48px 32px; }
}
@media (min-width: 1280px) {
  .mkt-grid, .mkt-grid.tight { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .rf-hero h1 { font-size: 72px; }
}
