:root {
  --navy: #061d42;
  --text: #111827;
  --muted: #5f6673;
  --cream: #fbf8f4;
  --cream-2: #f6f0e8;
  --border: #e7e0d8;
  --gold: #b77a32;
  --green: #5f7847;
  --shadow: 0 12px 30px rgba(17, 24, 39, 0.07);
  --radius: 14px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #f7f7f7;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.page-shell {
  max-width: 1536px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  box-shadow: 0 0 0 1px #ececec;
}

.site-header {
  height: 68px;
  padding: 0 88px;
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid #e8e8e8;
  background: rgba(255,255,255,.98);
  position: relative;
  z-index: 10;
}
.logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--navy);
  min-width: 190px;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex: 1;
  font-weight: 700;
  color: #071832;
}
.main-nav a { height: 68px; display: grid; place-items: center; position: relative; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 3px;
  background: var(--navy);
}
/* ── Nav dropdown ── */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown .chevron { font-size: 0.65rem; transition: transform 0.2s; }
.nav-dropdown:hover .chevron { transform: rotate(180deg); }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; border: 1.5px solid #e8e8e8; border-radius: 10px; box-shadow: 0 8px 24px rgba(6,29,66,0.10); min-width: 160px; padding: 0.4rem 0; z-index: 300; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 0.65rem 1.2rem; font-family: Inter, sans-serif; font-size: 0.88rem; font-weight: 600; color: #061d42; white-space: nowrap; height: auto; }
.nav-dropdown-menu a:hover { background: #f5f0eb; }

.header-actions { display: flex; gap: 26px; color: #1f2937; }
.header-actions a { display: flex; gap: 8px; align-items: center; }

.hero {
  height: 308px;
  display: grid;
  grid-template-columns: 48% 52%;
  background: linear-gradient(90deg, #f9f6f1 0%, #fff 50%);
  overflow: hidden;
}
.hero-copy { padding: 36px 0 0 140px; z-index: 1; }
.hero h1 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 4vw, 60px);
  line-height: 0.93;
  letter-spacing: -0.04em;
}
.hero p { max-width: 540px; margin: 0 0 22px; color: #344054; font-size: 17px; line-height: 1.45; }
.primary-button,
.brand-card button,
.signup-form button {
  border: 0;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.primary-button { display: inline-flex; padding: 14px 28px; font-size: 16px; }
.hero-image {
  min-height: 100%;
  background-image: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.15) 18%, rgba(255,255,255,0) 34%), url("hero.png");
  background-size: cover;
  background-position: center;
}

.content-wrap { width: calc(100% - 174px); margin: 0 auto; }
.search-card {
  display: none;
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
}
.search-icon { font-size: 25px; color: var(--navy); }
.search-card input { width: 100%; border: 0; outline: 0; color: #344054; }

.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.05fr; gap: 22px; margin-top: 28px; margin-bottom: 32px; }
.feature-card, .price-guide {
  min-height: 110px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(105deg, var(--cream) 0%, #fff 60%);
  box-shadow: 0 8px 20px rgba(17,24,39,.04);
}
.feature-card {
  display: grid;
  grid-template-columns: 110px 1fr 32px;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--navy);
  border-radius: 8px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-card:hover { box-shadow: 0 14px 32px rgba(17,24,39,.10); transform: translateY(-2px); }
.feature-card img { width: 110px; height: 110px; object-fit: cover; background: #f4eee7; }
.feature-card h3, .price-guide h3 { margin: 4px 0 6px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 18px; }
.feature-card p, .price-guide p { margin: 0; color: #3f4652; line-height: 1.35; font-size: 13px; }
.tiny-badge { display: inline-flex; padding: 3px 8px; border-radius: 3px; background: var(--navy); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.arrow { color: var(--navy); font-size: 22px; font-weight: 700; opacity: 0.5; transition: opacity 0.18s, transform 0.18s; }
.feature-card:hover .arrow { opacity: 1; transform: translateX(3px); }
.price-guide { display: flex; align-items: center; gap: 16px; padding: 24px; background: linear-gradient(135deg, #fff, #f8f0e7); }
.price-icon { width: 38px; height: 38px; border: 1px solid #d8bb96; border-radius: 50%; display: grid; place-items: center; color: var(--gold); }

.filter-row { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0 12px; border-top: 1px solid #eee; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: #1f2937;
  cursor: pointer;
}
.pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.sort-wrap { display: flex; align-items: center; }
.sort-select-styled {
  display: flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid #d0d5e0;
  border-radius: 50px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
}
.sort-select-styled select {
  border: none;
  outline: none;
  background: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: #333;
  cursor: pointer;
}

.results-meta { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 18px; margin-bottom: 10px; }
.results-meta p { margin: 0; }
.disclosure { text-align: center; padding: 8px 14px; border-radius: 8px; background: #f7f1eb; color: #4a4f59; font-size: 13px; }
.disclosure a { text-decoration: underline; }

.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.brand-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(17,24,39,.045);
}
.brand-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.badge { display: inline-flex; align-self: flex-start; padding: 5px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.badge.tall-exclusive { background: #712B13; color: #F5C4B3; }
.badge.best-budget { background: var(--gold); color: #fff; }
.favorite { color: #667085; font-size: 20px; }
.brand-card h3 { margin: 0 0 12px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 24px; line-height: 1; }
.brand-card p { margin: 0 0 6px; color: #344054; line-height: 1.35; }
.brand-card strong { color: #111827; }
.brand-card button, .shop-button { width: 100%; height: 31px; margin-top: auto; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: var(--navy); color: #fff; font-weight: 700; cursor: pointer; font-size: 14px; }

.newsletter {
  margin: 10px -40px 16px;
  min-height: 84px;
  display: grid;
  grid-template-columns: 80px 1fr 1.1fr;
  align-items: center;
  gap: 20px;
  padding: 16px 140px;
  border-radius: 10px;
  background: linear-gradient(90deg, #f9f4ee, #fff, #f8f0e7);
}
.mail-icon { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--navy); font-size: 25px; }
.newsletter h2 { margin: 0 0 5px; font-size: 18px; }
.newsletter p { margin: 0; color: #475467; }
.signup-form { display: grid; grid-template-columns: 1fr 120px; gap: 12px; align-items: center; }
.signup-form input { height: 38px; padding: 0 14px; border: 1px solid var(--border); border-radius: 6px; }
.signup-form button { height: 38px; }
.signup-form small { grid-column: 1 / -1; color: #667085; }

.trust-footer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 0 36px 24px; }
.trust-footer div { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; border-right: 1px solid #ddd; }
.trust-footer div:last-child { border-right: 0; }
.trust-footer span { grid-row: 1 / 3; width: 42px; height: 42px; border: 1px solid #d8dee8; border-radius: 50%; display: grid; place-items: center; color: var(--navy); font-size: 22px; }
.trust-footer strong { color: var(--navy); }
.trust-footer small { color: #667085; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.mobile-only { display: none; }

@media (max-width: 1100px) {
  .site-header { padding: 0 32px; gap: 24px; }
  .content-wrap { width: calc(100% - 48px); }
  .hero-copy { padding-left: 48px; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter { margin-left: 0; margin-right: 0; padding: 16px 32px; grid-template-columns: 60px 1fr; }
  .signup-form { grid-column: 1 / -1; }
}

/* ── Site Footer (all pages) ── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--cream);
  padding: 32px 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.04em;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--navy); }
.footer-copy {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

/* ── Inner page content ── */
.inner-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.inner-wrap h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.inner-wrap .page-intro {
  font-size: 17px;
  color: #344054;
  line-height: 1.65;
  margin: 0 0 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.inner-wrap h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 10px;
}
.inner-wrap p { color: #344054; line-height: 1.7; margin: 0 0 14px; }
.inner-wrap ul { color: #344054; line-height: 1.7; padding-left: 20px; margin: 0 0 14px; }
.inner-wrap ul li { margin-bottom: 6px; }
.inner-wrap a { color: var(--navy); text-decoration: underline; }

.highlight-box {
  background: #f0f4f8;
  border-left: 4px solid var(--navy);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 0 0 32px;
  font-size: 15px;
  color: #1e3a5f;
  line-height: 1.6;
}

/* ── About page ── */
.about-hero {
  background: linear-gradient(135deg, #f9f6f1, #fff);
  border-bottom: 1px solid var(--border);
  padding: 56px 88px 48px;
}
.about-hero h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(36px, 4vw, 54px); color: var(--navy); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 12px; max-width: 700px; }
.about-hero .sub { font-size: 20px; color: #344054; margin: 0; }
.about-body { max-width: 780px; margin: 0 auto; padding: 48px 88px 80px; }
.about-body p { font-size: 16px; color: #344054; line-height: 1.75; margin: 0 0 20px; }
.about-body h2 { font-family: "Playfair Display", Georgia, serif; font-size: 26px; color: var(--navy); margin: 40px 0 14px; }
.about-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0; }
.about-stat { border: 1px solid var(--border); border-radius: 10px; padding: 22px; text-align: center; background: #fff; }
.about-stat strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 32px; color: var(--navy); margin-bottom: 4px; }
.about-stat span { font-size: 13px; color: var(--muted); }

/* ── Contact form ── */
.contact-form { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { height: 140px; padding-top: 12px; resize: vertical; }
.form-submit {
  height: 46px;
  padding: 0 32px;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
}
.form-submit:hover { opacity: 0.9; }

/* ── Program table (affiliate disclosure) ── */
.program-table { width: 100%; border-collapse: collapse; margin: 24px 0 32px; font-size: 14px; }
.program-table th { background: var(--navy); color: #fff; padding: 10px 14px; text-align: left; font-weight: 600; }
.program-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: #344054; }
.program-table tr:last-child td { border-bottom: 0; }
.program-table tr:nth-child(even) td { background: var(--cream); }

@media (max-width: 1100px) {
  .site-footer { padding: 28px 32px; }
  .about-hero { padding: 40px 32px 36px; }
  .about-body { padding: 40px 32px 60px; }
  .about-stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer-nav { gap: 16px; }
  .about-stat-row { grid-template-columns: 1fr; }
}

/* Shoe card subtle indicator */

/* ── Section separators & two-tier layout ── */
.section-wrap { margin-bottom: 4px; }
.section-sep-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 12px;
}
.section-sep-label {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #b77a32;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: -0.01em;
}
.section-sep-label i { font-size: 22px; }
.section-sep-line { flex: 1; height: 5px; background: #b77a32; border-radius: 2px; }
.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: #b77a32;
  color: #fff;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.view-all-btn:hover { opacity: 0.88; }

/* ── Badge legend ── */
.badge-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  flex-wrap: wrap;
}
.badge-legend-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* ── Browse all button ── */
.browse-all-wrap {
  border-top: 1px solid var(--border);
  padding: 28px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.browse-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}
.browse-all-btn:hover { opacity: 0.88; }
.browse-all-sub {
  font-size: 12px;
  color: var(--muted);
}

/* ── Section visibility ── */
.section-wrap.hidden { display: none; }

/* ── Hanger & shoe type tags ── */
.brand-type-tag {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}
.brand-type-tag.clothing { color: var(--navy); }
.brand-type-tag.shoes { color: var(--gold); }

/* ── Header search ── */
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: #fff;
  min-width: 210px;
  flex-shrink: 0;
}
.header-search .ti-search { color: var(--navy); font-size: 15px; flex-shrink: 0; }
.header-search input {
  border: 0;
  outline: 0;
  font-size: 13px;
  background: transparent;
  width: 100%;
  color: #344054;
}
.header-search input::placeholder { color: #9ca3af; }

@media (max-width: 1100px) {
  .header-search { min-width: 160px; }
}


/* ── Hamburger button ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── iPad (769–1024px) — shrink logo + nav gap to stop clipping ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .logo { font-size: 36px; min-width: auto; }
  .main-nav { gap: 18px; }
  .site-header { padding: 0 32px; gap: 20px; }
}

/* ── Tablet / large phone ≤ 900px ── */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .mobile-only { display: block; }
  .main-nav .nav-dropdown > a .chevron { display: none; }

  /* Mobile nav dropdown */
  .main-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy);
    padding: 0.25rem 0 0.75rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    display: none;
    z-index: 200;
    gap: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    color: rgba(255,255,255,0.9);
    height: auto;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 15px;
    font-weight: 600;
    display: block;
    justify-content: unset;
  }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a.active { color: #fff; }
  .main-nav a.active::after { display: none; }
}

/* ── Mobile ≤ 768px ── */
@media (max-width: 768px) {
  /* Header */
  .site-header { padding: 0 20px; height: 56px; gap: 0; }
  .logo { font-size: 28px; min-width: auto; }
  .header-search { display: none; }

  /* Hero */
  .hero {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 2rem 20px 2.5rem;
    background: linear-gradient(180deg, #f9f6f1 0%, #fff 100%);
  }
  .hero-copy { padding: 0; }
  .hero-image { display: none; }
  .hero h1 { font-size: clamp(28px, 9vw, 42px); line-height: 1.12; }
  .hero p { font-size: 15px; }
  .primary-button { padding: 12px 22px; font-size: 15px; }

  /* Content */
  .content-wrap { width: calc(100% - 32px); }

  /* Featured grid */
  .featured-grid { grid-template-columns: 1fr; margin-top: 20px; gap: 12px; }

  /* Filter row */
  .filter-row { flex-direction: column; gap: 10px; align-items: flex-start; }
  .sort-wrap { align-self: flex-end; }

  /* Brand grid */
  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .brand-card { padding: 10px; }
  .brand-card h3 { font-size: 15px; line-height: 1.2; }
  .brand-card p { font-size: 0.75rem; margin-bottom: 0.25rem; }
  .shop-button { font-size: 0.75rem; }

  /* Section divider */
  .section-sep-line { display: none; }
  .section-sep-label { margin-right: auto; }

  /* Newsletter */
  .newsletter {
    margin: 0;
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 12px;
    border-radius: 10px;
  }
  .mail-icon { display: none; }
  .newsletter h2 { font-size: 16px; }
  .signup-form { grid-template-columns: 1fr; gap: 10px; }
  .signup-form button { height: 42px; }

  /* Trust footer */
  .trust-footer { grid-template-columns: 1fr 1fr; padding: 0 16px 24px; gap: 16px; }
  .trust-footer div { border-right: none; }

  /* Site footer */
  .site-footer { padding: 24px 20px; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .footer-nav { justify-content: center; gap: 16px; }

  /* Inner wrap (All Brands page) */
  .inner-wrap { padding: 28px 0 20px; }
  .inner-wrap h1 { font-size: 28px; }
  .inner-wrap .page-intro { font-size: 15px; }
}

/* ── Small phones ≤ 480px ── */
@media (max-width: 480px) {
  .logo { font-size: 24px; }
  .trust-footer { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 80px 1fr 24px; }
  .feature-card img { width: 80px; height: 80px; }
  .badge-legend { flex-direction: column; align-items: flex-start; gap: 6px; }
}
