/* ============================================================
   Top Rated Kitchenware Redesign 2026 — visual layer (redesign7)
   Design tokens (fleet standard, mẫu reviewstook):
   Anton (display) / Archivo (UI) / Space Mono (labels)
   Header/footer: #0A0C10 · Accent: #2E5BFF · Hover: #1F49D8
   Loaded AFTER assets/redesign.css (rd-editorial).
   NOTE: does NOT touch the yellow Amazon button rules.
   ============================================================ */

/* ---------- Base typography ---------- */
body,
button,
input,
select,
textarea {
  font-family: 'Archivo', 'Segoe UI', Arial, sans-serif;
}

h1,
h2,
.rd-directory-header h1,
.rd-section-head h2,
.rd-hero h1 {
  font-family: 'Anton', 'Archivo', sans-serif;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 400;
}

h3,
h4 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
}

/* ---------- Top line + header ---------- */
.rd-topline {
  background: #0A0C10;
  color: rgba(255, 255, 255, .72);
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.rd-topline a { color: #fff; }
.rd-topline a:hover { color: #2E5BFF; }

.rd-header {
  background: #0A0C10;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
}
.rd-header a { color: #fff; }
.rd-brand-name {
  font-family: 'Anton', 'Archivo', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #fff;
}
.rd-brand-name small {
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .65);
}
.rd-mark {
  background: #2E5BFF;
  color: #fff;
  font-family: 'Anton', 'Archivo', sans-serif;
}
.rd-desktop-nav a,
.rd-mobile-nav a {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  color: #fff;
}
.rd-desktop-nav a:hover,
.rd-mobile-nav a:hover { color: #2E5BFF; }
/* ALL TOPICS = accent pill (last item of the main nav) */
.rd-desktop-nav a:last-child {
  background: #2E5BFF;
  border-radius: 999px;
  padding: .45rem .95rem;
}
.rd-desktop-nav a:last-child:hover {
  background: #1F49D8;
  color: #fff;
}
.rd-search-toggle,
.rd-menu-toggle { color: #fff; }
.rd-search-panel { background: #0A0C10; color: #fff; }
.rd-mobile-nav { background: #0A0C10; }

/* ---------- Labels / eyebrows ---------- */
.rd-eyebrow {
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #2E5BFF;
}
.rd-date {
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- Buttons / links ---------- */
.rd-button {
  background: #2E5BFF;
  color: #fff !important;
}
.rd-button:hover { background: #1F49D8; }
.rd-text-link { color: #2E5BFF; }
.rd-text-link:hover { color: #1F49D8; }
.rd-read { color: #2E5BFF; }

/* ---------- Hero ---------- */
.rd-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
}
.rd-value-number {
  font-family: 'Anton', 'Archivo', sans-serif;
  color: #2E5BFF;
}

/* ---------- Intent cards ("What are you here for?") ---------- */
.rd-kitchen .rd-topic .rt-intent-img {
  display: block;
  width: calc(100% + 32px);
  margin: -14px -16px 12px;
  height: 110px;
  object-fit: cover;
}
.rd-topic-no {
  font-family: 'Anton', 'Archivo', sans-serif;
  color: #2E5BFF;
}

/* ---------- Homepage topic hub tiles (JS adds .rt-hub-grid) ---------- */
.rd-kitchen .rd-topic-hubs ul.rt-hub-grid > li > a.rt-tile-link {
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  overflow: hidden;
  background: #fff;
}
.rd-kitchen .rd-topic-hubs ul.rt-hub-grid > li > a.rt-tile-link .rt-tile-img {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: cover;
}
.rd-kitchen .rd-topic-hubs ul.rt-hub-grid > li > a.rt-tile-link > span {
  padding: 8px 12px 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  color: #0A0C10;
}
.rd-kitchen .rd-topic-hubs ul.rt-hub-grid > li > a.rt-tile-link > span:last-child {
  padding: 0 12px 10px;
  font-family: 'Space Mono', monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  color: #2E5BFF;
  opacity: 1;
}
.rd-kitchen .rd-topic-hubs ul.rt-hub-grid.rt-collapsed > li:nth-child(n+13) {
  display: none;
}
.rt-topics-toggle {
  display: inline-block;
  margin-top: 16px;
  background: #2E5BFF;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: .7rem 1.4rem;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .06em;
  cursor: pointer;
}
.rt-topics-toggle:hover { background: #1F49D8; }

/* ---------- Latest list thumbnails ---------- */
.rd-latest-thumb { flex: 0 0 auto; }
.rd-latest-thumb img {
  display: block;
  width: 112px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
}
.rd-list-number {
  font-family: 'Anton', 'Archivo', sans-serif;
  color: #2E5BFF;
}

/* ---------- Footer ---------- */
.rd-footer { background: #0A0C10; color: #fff; }
.rd-footer a { color: rgba(255, 255, 255, .85); }
.rd-footer a:hover { color: #2E5BFF; }
.rd-footer .rd-brand-name { color: #fff; }
.rd-footer-topics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px 24px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.rd-footer-topics h3 {
  font-family: 'Space Mono', monospace;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px;
}
.rd-footer-topics a {
  display: block;
  font-size: .85rem;
  padding: 2px 0;
  text-decoration: none;
}
.rd-footer-topics a small {
  font-family: 'Space Mono', monospace;
  color: rgba(255, 255, 255, .5);
  margin-left: 6px;
}
.rd-footer-topics .rd-footer-group-all {
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #2E5BFF;
  margin-top: 6px;
}

/* ---------- Catsweep 2026-11-21: /guides/ directory image tiles ---------- */
.rd-kitchen .rt-dir-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px; }
.rd-kitchen .rt-dir-grid > a { display:flex; flex-direction:column; gap:8px; padding:10px; background:var(--rd-card,#fff); border:1px solid rgba(10,12,16,.12); border-radius:12px; text-decoration:none; }
.rd-kitchen .rt-dir-grid > a[hidden] { display:none; }
.rd-kitchen .rt-dir-grid .rt-dir-img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:8px; display:block; }
.rd-kitchen .rt-dir-toggle { margin-top:12px; }
.rd-kitchen .rd-subtopic-grid.rt-dir-grid > a { align-items:stretch; }

/* ---------- Umtstyle align 2026-11-21: match umtsmarttool model ---------- */
/* Header nav: every link is an outline pill; hover + All Topics filled. */
.rd-desktop-nav a,
.rd-mobile-nav a {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 8px 14px;
}
.rd-desktop-nav a:hover,
.rd-desktop-nav a:focus,
.rd-mobile-nav a:hover,
.rd-mobile-nav a:focus {
  background: #2E5BFF;
  border-color: #2E5BFF;
  color: #fff;
}
.rd-desktop-nav a:last-child,
.rd-mobile-nav a:last-child {
  background: #2E5BFF;
  border-color: #2E5BFF;
  color: #fff;
}
.rd-desktop-nav a:last-child:hover,
.rd-mobile-nav a:last-child:hover { background: #1F49D8; }

/* Show-all toggles: pill shape like the model. */
.rt-topics-toggle { border-radius: 999px; padding: 12px 20px; }

/* Intent cards: same grid, card surface and hover as the model. */
.rd-kitchen .rd-topic-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}
.rd-kitchen .rd-topic {
  background: #fff;
  border: 1px solid #E3E7EE;
  padding: 14px 16px;
}
.rd-kitchen .rd-topic h3 { font-family: 'Archivo', sans-serif; font-weight: 800; }
.rd-kitchen .rd-topic:hover { border-color: #2E5BFF; transform: translateY(-2px); }
.rd-kitchen .rd-topic-no { font-family: 'Space Mono', monospace; color: #2E5BFF; }

/* Picks cards: 16/9 image frame like the model. */
.rd-kitchen .rd-card-image { aspect-ratio: 16 / 9; }

/* Latest list: numbered rows with 132x96 thumbnails like the model. */
.rd-kitchen .rd-latest-item .rd-latest-thumb {
  display: block;
  flex: 0 0 132px;
  width: 132px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  background: #EEF1F6;
}
.rd-kitchen .rd-latest-item .rd-latest-thumb img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}
@media (max-width: 650px) {
  .rd-kitchen .rd-latest-item .rd-latest-thumb {
    flex-basis: 96px;
    width: 96px;
    height: 76px;
  }
}
