:root {
  --ink: #221a17;
  --paper: #fffaf6;
  --mute: #685650;
  --line: #ead8cd;
  --orange: #ff4800;
  --grey: #fff0e7;
  --action: #b93600;
}

.top {
  gap: 18px;
  background: var(--paper);
  box-shadow: none;
  clip-path: none;
  position: relative;
  z-index: 3;
}
.brand { display: grid; place-items: center; background: #211916; padding: 5px 12px; border-radius: 8px; flex: none; }
.brand img { width: 112px; height: 37px; max-height: none; }
.nav { gap: clamp(10px, 1.6vw, 23px); }
.shop-controls { position: relative; display: flex; align-items: center; gap: 8px; flex: none; }
.shop-picker { position: relative; }
.shop-picker summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 51px;
  min-height: 38px;
  padding-inline: 8px;
  background: #fff;
  font-size: 13px;
  white-space: nowrap;
}
.shop-picker summary::-webkit-details-marker { display: none; }
.shop-picker summary::after, .shop-picker[open] summary::after { content: ""; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.shop-picker-panel {
  position: absolute;
  inset-block-start: calc(100% + 6px);
  inset-inline-end: 0;
  width: min(245px, 78vw);
  max-height: min(230px, 55vh);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(36px, auto);
  gap: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px #221a1734;
  background: #fff;
}
.shop-picker-panel button { appearance: none; border: 1px solid var(--line); background: #fff; border-radius: 4px; color: var(--ink); font-size: 13px; cursor: pointer; padding: 6px; }
.shop-picker-panel button:hover, .shop-picker-panel button[aria-pressed="true"] { background: var(--grey); border-color: var(--orange); color: var(--action); }
.join-usfans { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 5px 12px; background: var(--action); color: #fff; border-radius: 6px; font-size: 13px; font-weight: 700; }
.join-usfans:hover, .shop-search button:hover { background: #932c00; }
.eyebrow, .pill { color: var(--action); }
.canonical-home-index { background: linear-gradient(90deg, transparent, #fffaf6ed 28%, #fffaf6); }
[dir="rtl"] .canonical-home-index { right: auto; left: 0; background: linear-gradient(270deg, transparent, #fffaf6ed 28%, #fffaf6); }
.category-list.category-cards a, .service-step { background: #fff; border-color: var(--line); }
.category-list.category-cards a:hover, .service-step:hover { border-color: var(--orange); background: var(--grey); }
.editorial-note { background: var(--grey); }
.home-bottom-cta-inner { background: linear-gradient(105deg, #b93600 0%, #812200 55%, #39170a 100%); }
.home-cta-primary { background: #29140c; border-color: #29140c; }
.home-cta-primary:hover { background: #1b0e08; }
.home-cta-secondary { color: #39170a; }
.home-cta-secondary:hover { background: var(--grey); }
.shop-search { display: flex; gap: 12px; margin-block-start: 18px; max-width: 570px; border: 1px solid var(--line); padding: 4px; padding-inline-start: 12px; border-radius: 8px; background: #fff; align-items: center; }
.shop-search input { flex: 1; min-width: 0; border: 0; background: transparent; min-height: 39px; width: 100%; color: var(--ink); }
.shop-search input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.shop-search button { border: 0; cursor: pointer; font-weight: 700; background: var(--action); color: white; padding: 7px 15px; border-radius: 5px; align-self: stretch; }
.shop-view { padding-block: clamp(22px, 5vw, 60px); min-height: 55vh; }
.shop-catalog-head h1, .shop-detail-info h1 { font-size: clamp(30px, 4.3vw, 58px); line-height: 1.1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.shop-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.shop-filters a, .shop-pages a { border: 1px solid var(--line); background: #fff; border-radius: 5px; padding: 7px 12px; }
.shop-filters a[aria-current], .shop-filters a:hover, .shop-pages a:hover { border-color: var(--orange); color: var(--action); }
.shop-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.shop-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.shop-card a { display: block; height: 100%; padding: 8px 8px 12px; }
.shop-card a:hover h2 { color: var(--action); }
.shop-card h2 { margin: 9px 4px; font-size: 15px; line-height: 1.35; letter-spacing: 0; overflow-wrap: anywhere; }
.shop-card span { display: inline-block; margin-inline: 4px; color: var(--action); font-weight: 700; }
.shop-card-image, .shop-main-photo, .shop-gallery-empty { display: grid; place-items: center; background: #f7f3ef; border-radius: 8px; overflow: hidden; }
.shop-card-image { aspect-ratio: 1; }
.shop-card img, .shop-main-photo img, .shop-qc img { display: block; width: 100%; height: 100%; object-fit: contain; }
.shop-pages { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 24px 0; }
.shop-back { display: inline-block; color: var(--action); text-decoration: underline; margin-block-end: 18px; }
.shop-detail-layout { display: grid; grid-template-columns: 1.12fr 1fr; align-items: start; gap: clamp(24px, 5vw, 72px); }
.shop-gallery { min-width: 0; }
.shop-gallery-empty, .shop-main-photo { aspect-ratio: 1.1; }
.shop-main-photo { position: relative; }
.shop-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; width: 43px; height: 43px; font-size: 25px; cursor: pointer; }
.shop-previous { left: 12px; }
.shop-next { right: 12px; }
.shop-thumbs { display: flex; overflow-x: auto; gap: 8px; margin-top: 10px; padding-bottom: 6px; }
.shop-thumbs button { flex: 0 0 64px; height: 64px; border-radius: 5px; padding: 3px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.shop-thumbs button[aria-pressed="true"] { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.shop-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.shop-detail-price { margin: 20px 0 2px; font-size: clamp(24px, 4vw, 42px); font-weight: 800; color: var(--action); }
.shop-price-note { color: var(--mute); max-width: 52ch; }
.shop-purchase-actions { display: flex; align-items: center; gap: clamp(8px, 3.5vw, 66px); margin-block: 24px 12px; }
.shop-buy { flex: 0 0 auto; min-height: 48px; font-size: 16px; }
.shop-original { display: block; width: fit-content; text-decoration: underline; }
.shop-qc { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 22px; }
.shop-qc h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.1; }
.shop-qc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.shop-qc-grid a { aspect-ratio: 1; background: #f7f3ef; border-radius: 8px; overflow: hidden; }
.footer { border-top: 1px solid var(--line); padding-block: 20px 32px; }
@media (max-width: 980px) {
  .top { height: auto; flex-wrap: wrap; padding-block-start: 10px; gap: 8px 12px; }
  .nav { order: 3; display: flex; width: 100%; overflow-x: auto; white-space: nowrap; }
  .nav a { padding-block: 10px; }
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-picker { position: static; }
}
@media (max-width: 530px) {
  .top { gap: 6px; }
  .brand { padding: 4px 6px; }
  .brand img { width: 78px; height: 28px; }
  .shop-controls { gap: 4px; }
  .shop-picker summary { min-width: 39px; min-height: 36px; padding-inline: 5px; font-size: 12px; }
  .join-usfans { min-height: 36px; padding-inline: 7px; font-size: 12px; line-height: 1.15; max-width: 116px; text-align: center; }
  .shop-grid, .shop-qc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-detail-layout { grid-template-columns: 1fr; }
}

.home-search-intro { padding-block: clamp(34px, 6vw, 72px) 30px; border-bottom: 1px solid var(--line); }
.home-search-intro h1 { font-size: clamp(34px, 5vw, 68px); line-height: 1.02; letter-spacing: -.055em; }
.home-search-intro > p { max-width: 64ch; color: var(--mute); }
.home-image-link { display: inline-block; color: var(--action); text-decoration: underline; margin-top: 12px; font-weight: 700; }
.home-featured .section-head, .home-buying-guide .section-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.home-featured-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.home-featured-grid .shop-card img { aspect-ratio: 1; }
.buying-guide-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.buying-guide-grid li { border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; min-width: 0; }
.guide-illustration { min-height: 150px; aspect-ratio: 1.65; display: grid; place-items: center; padding: 10px; background: #fcf8f5; }
.guide-shot { display: block; position: relative; max-width: 100%; max-height: 210px; }
.guide-shot img { display: block; max-width: 100%; height: auto; width: auto; max-height: 210px; }
.guide-marker { position: absolute; pointer-events: none; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 20px; height: 20px; border: 2px solid #ff4800; border-radius: 50%; box-shadow: 0 0 0 1px #fff; }
.guide-marker::before { content: "↘"; position: absolute; right: 100%; bottom: 100%; background: #b93600; color: #fff; font-size: 19px; font-weight: 800; width: 27px; height: 27px; text-align: center; border-radius: 4px; line-height: 27px; }
.guide-text { padding: 15px; }
.guide-text h3 { margin: 0; line-height: 1.25; }
.guide-text p { color: var(--mute); margin-block: 8px 12px; }
.guide-text a { color: var(--action); font-weight: 700; text-decoration: underline; }
.photo-search-head p { color: var(--mute); }
.image-drop { width: min(100%, 760px); min-height: 240px; border: 2px dashed var(--action); border-radius: 14px; background: var(--grey); display: grid; align-content: center; justify-items: center; text-align: center; gap: 10px; padding: 25px; position: relative; cursor: pointer; }
.image-drop strong { font-size: clamp(17px, 3vw, 22px); }
.image-drop small, .image-privacy { color: var(--mute); }
.image-drop input { position: absolute; width: 100%; height: 100%; inset: 0; opacity: 0; cursor: pointer; }
.image-drop:focus-within, .image-drop.is-dragging { outline: 3px solid var(--orange); outline-offset: 3px; }
.upload-symbol { display: grid; place-items: center; width: 44px; height: 44px; background: #fff; color: var(--action); border-radius: 8px; font-size: 27px; }
.image-selection { display: flex; justify-content: start; align-items: center; gap: 12px; }
.image-selection[hidden] { display: none; }
.image-selection img { width: 100px; height: 100px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.image-selection button { cursor: pointer; background: #fff; color: var(--action); border: 1px solid var(--line); border-radius: 6px; padding: 7px 12px; }
[data-image-matches] > h2 { font-size: clamp(22px, 4vw, 36px); margin-block: 20px 14px; }
@media (max-width: 950px) { .home-featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .buying-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 530px) {
  .home-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buying-guide-grid { grid-template-columns: 1fr; }
  .image-drop { min-height: 200px; }
}

[data-usfans-options]:empty { display: none; }
[data-usfans-options] { margin-block: 12px 18px; }
.shop-variant { min-inline-size: 0; border: 0; margin: 0 0 12px; padding: 0; }
.shop-variant legend { font-weight: 700; margin-block-end: 5px; padding: 0; }
.shop-variant legend span { color: var(--action); margin-inline-start: 5px; font-size: 13px; font-weight: 500; }
.shop-variant > div { display: flex; flex-wrap: wrap; gap: 5px; }
.shop-variant button { border: 1px solid var(--line); border-radius: 5px; min-width: 37px; min-height: 31px; padding: 3px 7px; background: #fff; color: var(--ink); cursor: pointer; font-size: 13px; }
.shop-variant button[aria-pressed="true"], .shop-variant button:hover { border-color: var(--orange); color: var(--action); background: var(--grey); }
.shop-variant button:has(img) { padding: 2px; }
.shop-variant img { display: block; width: clamp(40px, 4vw, 58px); height: clamp(40px, 4vw, 58px); object-fit: contain; }
.variant-status { color: var(--mute); margin: 0; }
.shop-picker[data-picker="agents"] { position: relative; min-width: 0; }
.shop-picker[data-picker="agents"] summary { white-space: normal; text-align: center; }
.shop-picker[data-picker="agents"] summary::after { flex: none; }
.shop-picker[data-picker="agents"] .shop-picker-panel { z-index: 2; }
.shop-picker[data-picker="agents"] .shop-picker-panel a {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 4px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.shop-picker[data-picker="agents"] .shop-picker-panel a:only-child { grid-column: 1 / -1; }
.shop-picker[data-picker="agents"] .shop-picker-panel a:hover,
.shop-picker[data-picker="agents"] .shop-picker-panel a:focus-visible { border-color: var(--orange); color: var(--action); background: var(--grey); }
.shop-picker[data-picker="agents"] img { object-fit: contain; flex: none; }
.researched-faq a { color: var(--action); text-decoration: underline; }
@media (max-width: 530px) {
  .shop-purchase-actions { position: relative; }
  .shop-picker[data-picker="agents"] { position: static; }
}

/* Keep page edges aligned and let both detail columns shrink with their content. */
.shell.detail-page { padding-inline: 30px; }
.shop-detail-layout { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.shop-detail-info { min-width: 0; }
.nav a { line-height: 1.25; }
@media (max-width: 980px) {
  .top { justify-content: space-between; }
  .nav { flex-wrap: wrap; gap: 0 15px; overflow: visible; white-space: normal; }
  .nav a { min-height: 36px; }
}
@media (max-width: 760px) {
  .shell.detail-page { padding-inline: 16px; }
  .home-search-intro { padding-block: 26px 20px; }
  .home-search-intro h1 { max-width: 16ch; }
  .home-search-intro > p { margin-block: 10px; }
  .home-search-intro .shop-search { margin-block-start: 12px; }
  .section { padding-block: 28px; }
  .section-head { margin-block-end: 15px; }
  .section-head p { margin-block-start: 8px; }
  .shop-detail-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .shop-view { padding-block: 24px; }
  .shop-back { margin-block-end: 10px; }
  .shop-main-photo { aspect-ratio: 1.24; }
  .shop-detail-price { margin-block-start: 12px; }
  .shop-filters { gap: 6px; margin-block: 14px; }
  .shop-filters a { padding: 6px 9px; font-size: 13px; }
}
@media (max-width: 530px) {
  .nav { column-gap: 12px; font-size: 10px; }
  .home-featured-grid { gap: 7px; }
  .home-featured-grid .shop-card a { padding: 5px 5px 8px; }
  .home-featured-grid .shop-card h2 { font-size: 12px; margin: 6px 2px; }
  .home-featured-grid .shop-card span { font-size: 12px; margin-inline: 2px; }
  .buying-guide-grid { gap: 8px; }
  .guide-illustration { min-height: 0; padding: 5px; }
  .guide-shot, .guide-shot img { max-height: 115px; }
  .guide-text { padding: 9px; }
  .guide-text h3 { font-size: 15px; }
  .guide-text p { margin-block: 5px 8px; font-size: 13px; }
  .shop-purchase-actions { gap: 10px; margin-block: 16px 10px; }
  .shop-variant button { min-height: 36px; }
}
@media (min-width: 375px) and (max-width: 530px) {
  .home-featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .buying-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.shop-qc-retry {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--action);
  cursor: pointer;
  padding: 7px 12px;
}
.shop-qc-retry:hover, .shop-qc-retry:focus-visible { border-color: var(--orange); }
