/* Shared page styles */
body.home-page:not(.catalog-mode) .discovery-main {
  max-width: 1140px !important;
}
body.home-page:not(.catalog-mode) .landing-hero {
  padding: 52px 0 56px !important;
  gap: 54px !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) !important;
}
body.home-page:not(.catalog-mode) .landing-copy h1 {
  font-size: clamp(38px, 4.2vw, 58px) !important;
  letter-spacing: -2.2px !important;
  line-height: 1.08 !important;
}
body.home-page:not(.catalog-mode) .landing-description {
  margin: 20px 0 27px !important;
  font-size: 13px !important;
}
.home-section-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.home-audience {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid #2d2d32;
  border-radius: 7px;
  background: #19191c;
}
.home-audience button {
  font: inherit;
  font-size: 10px;
  padding: 5px 9px;
  border: 0;
  border-radius: 4px;
  color: #85858e;
  background: transparent;
  cursor: pointer;
}
.home-audience button[aria-pressed="true"] {
  background: #34343a;
  color: #eee;
}
.home-audience button:disabled {
  opacity: 0.6;
}
.home-skeleton {
  border: 1px solid #2b2b30;
  border-radius: 9px;
  background: #19191c;
  padding: 11px;
  min-height: 260px;
  overflow: hidden;
}
.home-skeleton > div {
  aspect-ratio: 1;
  background: linear-gradient(105deg, #202024 30%, #27272c 50%, #202024 70%);
  background-size: 200% 100%;
  border-radius: 6px;
  animation: homeShimmer 1.6s ease-in-out infinite;
}
.home-skeleton > span,
.home-skeleton > small {
  display: block;
  height: 8px;
  border-radius: 3px;
  margin: 16px 0 0;
  background: #29292f;
  width: 80%;
}
.home-skeleton > small {
  width: 40%;
  height: 6px;
  margin-top: 10px;
}
.home-load-status {
  padding: 14px 17px;
  color: #b8b8c2;
  border: 1px solid #34343a;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.6;
}
.home-page .rail-prev {
  position: absolute;
  z-index: 4;
  left: -14px;
  top: 40%;
  display: grid;
  place-items: center;
  border: 1px solid #66666c;
  background: #19191bee;
  color: #eee;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
}
.home-page .rail-prev[hidden] {
  display: none;
}
.home-page:not(.catalog-mode) .product-rail {
  min-height: 275px;
  grid-auto-columns: calc((100% - 60px) / 6);
}
.home-page:not(.catalog-mode) .product-card {
  animation: none !important;
}
.home-page:not(.catalog-mode) .campaign-art {
  min-height: 220px !important;
}
.home-page .tools-grid a {
  transition:
    border-color 0.15s,
    background 0.15s;
}
.home-page .tools-grid a:hover {
  border-color: #55555f;
  background: #202024;
}
.home-page .quick-categories a {
  font-size: 10px !important;
  padding: 8px 10px !important;
}
.home-page .product-rail:empty {
  min-height: 0;
}
body.home-page .product-card img {
  transition: opacity 0.16s !important;
}
.home-page .photo-pending img {
  opacity: 0;
}
.home-page .photo-pending {
  background: linear-gradient(100deg, #202024, #27272b, #202024);
  background-size: 200% 100%;
  animation: homeShimmer 1.6s ease-in-out infinite;
}
.home-page .photo-pending::after {
  content: none !important;
}
@keyframes homeShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
@media (max-width: 980px) {
  .home-page:not(.catalog-mode) .product-rail {
    grid-auto-columns: calc((100% - 36px) / 4);
  }
  body.home-page:not(.catalog-mode) .landing-hero {
    gap: 30px !important;
  }
}
@media (max-width: 700px) {
  body.home-page:not(.catalog-mode) .landing-hero {
    padding: 36px 0 37px !important;
  }
  body.home-page:not(.catalog-mode) .landing-copy h1 {
    font-size: 40px !important;
    letter-spacing: -1.7px !important;
  }
  .home-page:not(.catalog-mode) .product-rail {
    grid-auto-columns: calc((100% - 20px) / 2.2);
    min-height: 260px;
  }
  .home-page .rail-prev {
    display: none;
  }
  .home-section-title {
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }
  .home-section-title h2 {
    margin: 0;
  }
  .home-page .section-heading {
    align-items: flex-start;
  }
  .home-page .section-heading > a {
    padding-top: 2px;
  }
  .home-skeleton {
    min-height: 240px;
  }
  .home-page:not(.catalog-mode) .landing-description {
    margin: 18px 0 23px !important;
  }
  .home-page .quick-categories {
    gap: 6px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-skeleton > div,
  .home-page .photo-pending {
    animation: none;
  }
  .home-page .product-card img {
    transition: none !important;
  }
}
.comparison-agent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.comparison-agent img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  border-radius: 5px;
}
.comparison-date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: #81818c;
  font-size: 11px;
  margin: 12px 0 20px;
}
.comparison-date a {
  color: #b5b5bf;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.comparison-table th {
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.comparison-table td {
  font-size: 12px;
  vertical-align: middle;
  padding-top: 17px;
  padding-bottom: 17px;
}
.comparison-table td:nth-child(2) {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: #e5e5ea;
}
.comparison-table .tool-button {
  font-size: 11px;
  padding: 7px 11px;
}
.comparison-table small {
  display: block;
  color: #73737e;
  font-size: 10px;
  margin-top: 4px;
}
.agent-card .feature-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.comparison-note {
  font-size: 11px;
  color: #858590;
  line-height: 1.7;
  margin: 16px 0;
}
.tool-table-wrap:has(.comparison-table) {
  border: 1px solid #2d2d32;
  border-radius: 10px;
  padding: 0 10px;
  overflow-x: auto;
}
@media (max-width: 700px) {
  body.redesign .main-nav .dropdown-panel {
    min-width: 0 !important;
  }
  .comparison-table {
    min-width: 610px;
  }
}
body.redesign .detail-info {
  display: block !important;
}
body.redesign .detail-price {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}
body.redesign .detail-stats > div {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}
body.redesign .detail-stats {
  align-items: start !important;
}
body.modal-open {
  overflow: hidden;
}
body.redesign .sellers-hero {
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.redesign .seller-card {
  gap: 0 !important;
  min-height: 225px !important;
}
body.redesign .seller-card > p {
  min-height: 42px !important;
}
html:has(body.redesign),
body.redesign {
  scrollbar-color: #48484f #111 !important;
  scrollbar-width: auto;
}
html:has(body.redesign)::-webkit-scrollbar-thumb {
  background: #48484f !important;
}
body.redesign {
  --ui-panel: #19191b;
  --ui-border: #303034;
  --ui-muted: #91919c;
  --ui-radius: 12px;
}
body.redesign .site-header::before,
body.redesign .site-header::after,
body.redesign .nav-shell::before,
body.redesign .nav-shell::after {
  content: none !important;
}
body.redesign .subpage-preferences {
  display: none !important;
}
body.redesign .nav-actions {
  width: auto !important;
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: row !important;
}
body.redesign .nav-dropdown summary {
  user-select: none;
}
body.redesign .main-nav a[aria-current="page"] {
  color: #f2f2f3 !important;
}
body.redesign .nav-dropdown:has(a[aria-current="page"]) summary {
  color: #f2f2f3 !important;
}
.dropdown-panel {
  z-index: 55;
  min-width: 230px;
}
.dropdown-panel a {
  line-height: 1.5 !important;
}
.dropdown-panel a[aria-current="page"] {
  background: #29292e;
}
.site-footer {
  gap: 32px !important;
  padding-top: 34px !important;
}
.site-footer nav {
  flex-wrap: wrap !important;
  max-width: 590px !important;
  line-height: 1.6;
  gap: 14px 22px !important;
}
.site-footer > div:first-child {
  flex: 1;
  min-width: 180px;
}
.footer-bottom {
  font-size: 11px !important;
  line-height: 1.7;
}
/* Preferences dialog */
body.redesign .preferences-modal {
  padding: 25px !important;
  max-width: 470px !important;
  width: calc(100% - 32px) !important;
  border-radius: 14px !important;
  background: #19191c !important;
  border: 1px solid #38383e !important;
  max-height: calc(100dvh - 40px) !important;
  overflow: auto !important;
  color: #e9e9ee !important;
}
body.redesign .preferences-backdrop {
  position: fixed !important;
  inset: 0 !important;
  display: grid;
  place-items: center;
  padding: 20px 0;
  background: #000b !important;
  backdrop-filter: blur(6px) !important;
}
body.redesign .preferences-head {
  gap: 12px !important;
  margin-bottom: 22px !important;
  align-items: flex-start !important;
}
body.redesign .preferences-title-wrap {
  gap: 12px !important;
  align-items: center !important;
}
body.redesign #preferencesTitle {
  font-size: 21px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.4px !important;
}
body.redesign .preferences-title-wrap p {
  font-size: 12px !important;
  line-height: 1.6 !important;
  color: #8e8e9b !important;
  margin: 6px 0 0 !important;
}
body.redesign .preferences-icon {
  width: 37px !important;
  height: 37px !important;
  min-width: 37px !important;
  border-radius: 9px !important;
  font-size: 18px !important;
  background: #25252b !important;
}
body.redesign .preferences-close {
  width: 28px !important;
  height: 28px !important;
  min-height: 0 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: #aaa !important;
  font-size: 20px !important;
}
body.redesign .preferences-memory {
  padding: 13px !important;
  border: 1px solid #303036 !important;
  border-radius: 9px !important;
  background: #202024 !important;
  margin: 0 0 21px !important;
  gap: 12px !important;
}
body.redesign .preferences-memory-copy strong {
  font-size: 12px !important;
  font-weight: 500 !important;
}
body.redesign .preferences-memory-copy small {
  font-size: 10px !important;
  line-height: 1.6 !important;
}
body.redesign .preferences-memory input[type="checkbox"] {
  width: 35px !important;
  height: 21px !important;
  min-width: 35px !important;
  min-height: 0 !important;
  background: #44444c !important;
  border: 0 !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
}
body.redesign .preferences-memory input[type="checkbox"]::after {
  width: 15px !important;
  height: 15px !important;
  top: 3px !important;
  left: 3px !important;
  box-shadow: none !important;
}
body.redesign .preferences-memory input[type="checkbox"]:checked {
  background: var(--accent) !important;
}
body.redesign .preferences-memory input[type="checkbox"]:checked::after {
  transform: translateX(14px) !important;
}
body.redesign .preferences-section {
  margin: 19px 0 !important;
}
body.redesign .preferences-section-label {
  font-size: 10px !important;
  color: #90909d !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  margin-bottom: 10px !important;
}
body.redesign .preferences-agent-list {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 9px !important;
}
body.redesign .pref-agent-card {
  display: flex !important;
  align-items: center !important;
  min-height: 60px !important;
  gap: 10px !important;
  padding: 12px !important;
  background: #222226 !important;
  border: 1px solid #333339 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  transform: none !important;
  color: #ddd !important;
}
body.redesign .pref-agent-card::before,
body.redesign .pref-agent-card::after {
  content: none !important;
}
body.redesign .pref-agent-card:hover {
  background: #29292e !important;
  border-color: #666 !important;
}
body.redesign .pref-agent-card.active {
  background: #252d2b !important;
  border-color: var(--accent) !important;
  box-shadow: none !important;
}
body.redesign .pref-agent-logo {
  width: 29px !important;
  height: 29px !important;
  min-width: 29px !important;
  border-radius: 6px !important;
  background: #303036 !important;
  padding: 3px !important;
}
body.redesign .pref-agent-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}
body.redesign .pref-agent-copy {
  flex: 1 !important;
  min-width: 0;
}
body.redesign .pref-agent-copy strong {
  font-size: 12px !important;
  font-weight: 550 !important;
  line-height: 1.4 !important;
}
body.redesign .pref-agent-copy small {
  display: none !important;
}
body.redesign .pref-agent-dot {
  width: 12px !important;
  height: 12px !important;
  flex-shrink: 0 !important;
  border: 1px solid #595963 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.redesign .pref-agent-card.active .pref-agent-dot {
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  box-shadow: none !important;
}
body.redesign .preferences-segmented {
  border-radius: 8px !important;
  padding: 4px !important;
  gap: 4px !important;
  background: #222226 !important;
  border: 1px solid #333339 !important;
}
body.redesign .preferences-segment {
  min-height: 34px !important;
  border-radius: 5px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 7px !important;
  background: transparent !important;
  color: #9c9ca8 !important;
  box-shadow: none !important;
}
body.redesign .preferences-segment.active {
  background: #393940 !important;
  color: #f3f3f5 !important;
  border: 0 !important;
}
body.redesign .preferences-save {
  width: 100% !important;
  min-height: 42px !important;
  background: #eeeef1 !important;
  background-image: none !important;
  color: #161619 !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  margin-top: 7px !important;
}
body.redesign .preferences-save:hover {
  background: #dcdce2 !important;
}
/* Product details */
body.redesign .product-page-main {
  width: calc(100% - 48px) !important;
  max-width: 1140px !important;
  padding: 0 !important;
  margin: 48px auto 90px !important;
  min-height: 430px;
}
body.redesign .detail-sheet {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
body.redesign .detail-sheet::before,
body.redesign .detail-sheet::after {
  content: none !important;
}
body.redesign .back-link {
  display: inline-block !important;
  color: #9c9ca7 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  margin-bottom: 24px !important;
}
body.redesign .detail-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 42px !important;
  align-items: start !important;
}
body.redesign .detail-media {
  background: #1b1b1e !important;
  border: 1px solid #303036 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  aspect-ratio: 1 !important;
  min-height: 0 !important;
}
body.redesign #detailMainImage {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  max-height: none !important;
}
body.redesign .detail-info {
  padding: 8px 0 0 !important;
  min-width: 0 !important;
}
body.redesign .detail-agent {
  font-size: 10px !important;
  font-weight: 400 !important;
  letter-spacing: 1px !important;
  color: #777783 !important;
  margin: 0 0 14px !important;
}
body.redesign .detail-agent strong {
  font-weight: 500 !important;
  color: #a4a4af !important;
}
body.redesign .detail-pill {
  background: #222226 !important;
  border: 1px solid #333339 !important;
  border-radius: 5px !important;
  padding: 4px 8px !important;
  font-size: 10px !important;
  color: #b1b1bd !important;
  font-weight: 400 !important;
  letter-spacing: 0.3px !important;
}
body.redesign .detail-info h2 {
  font-size: 32px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  letter-spacing: -0.9px !important;
  margin: 18px 0 !important;
}
body.redesign .detail-tags {
  display: flex !important;
  gap: 7px !important;
  flex-wrap: wrap !important;
  margin: 0 0 22px !important;
}
body.redesign .detail-tags span {
  background: #212125 !important;
  border: 1px solid #333339 !important;
  border-radius: 5px !important;
  font-size: 9px !important;
  font-weight: 400 !important;
  padding: 5px 7px !important;
  color: #9999a7 !important;
  letter-spacing: 0.3px !important;
}
body.redesign .detail-price {
  margin: 20px 0 !important;
  line-height: 1.4 !important;
}
body.redesign .detail-price > span {
  color: #81818f !important;
  font-size: 10px !important;
  letter-spacing: 1px !important;
}
body.redesign .detail-price strong {
  font-size: 29px !important;
  font-weight: 600 !important;
  letter-spacing: -0.5px !important;
  color: #f0f0f4 !important;
}
body.redesign .detail-stats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 9px !important;
  margin: 23px 0 !important;
}
body.redesign .detail-stats > div {
  background: #19191c !important;
  border: 1px solid #2e2e34 !important;
  border-radius: 8px !important;
  padding: 12px !important;
  min-width: 0 !important;
}
body.redesign .detail-stats span {
  font-size: 9px !important;
  letter-spacing: 0.7px !important;
  color: #858592 !important;
}
body.redesign .detail-stats strong {
  font-size: 12px !important;
  font-weight: 500 !important;
  overflow-wrap: anywhere;
  color: #c8c8d3 !important;
}
body.redesign .detail-actions {
  display: flex !important;
  gap: 9px !important;
  align-items: stretch !important;
  margin-top: 22px !important;
  flex-wrap: wrap !important;
}
body.redesign .detail-actions .track-link {
  flex: 1 !important;
  background: #ededf1 !important;
  color: #161619 !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 12px 17px !important;
  font-size: 12px !important;
  font-weight: 550 !important;
  box-shadow: none !important;
  text-align: center !important;
  min-width: 150px !important;
}
body.redesign .detail-actions .check-btn {
  background: #222226 !important;
  color: #c9c9d4 !important;
  border: 1px solid #37373e !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  box-shadow: none !important;
  padding: 11px 16px !important;
}
body.redesign .detail-actions .favorite-btn {
  position: static !important;
  display: grid !important;
  place-items: center !important;
  background: #222226 !important;
  color: #ccc !important;
  border: 1px solid #37373e !important;
  border-radius: 8px !important;
  width: 43px !important;
  height: auto !important;
  opacity: 1 !important;
  transform: none !important;
  padding: 0 !important;
}
body.redesign .detail-actions .favorite-btn.active {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
}
body.redesign .detail-qc {
  margin-top: 30px !important;
  border: 1px solid #303036 !important;
  border-radius: 12px !important;
  background: #19191c !important;
  padding: 22px !important;
  box-shadow: none !important;
}
body.redesign .detail-section-head h3 {
  font-size: 17px !important;
  font-weight: 550 !important;
  letter-spacing: -0.3px !important;
  margin: 0 !important;
}
body.redesign .detail-section-head > span {
  font-size: 10px !important;
  color: #858591 !important;
  background: #242429 !important;
  border: 1px solid #333 !important;
  padding: 5px 8px !important;
  border-radius: 5px !important;
}
body.redesign .detail-qc p {
  font-size: 12px !important;
  line-height: 1.7 !important;
  color: #9898a5 !important;
}
body.redesign .qc-grid {
  gap: 12px !important;
}
body.redesign .qc-grid img {
  border-radius: 8px !important;
}
.detail-loading,
.detail-error {
  background: #19191c !important;
  border: 1px solid #303036 !important;
  border-radius: 12px !important;
  color: #9999a6 !important;
  padding: 45px !important;
  font-size: 14px !important;
  text-align: center !important;
}
/* Sellers and link converter */
body.redesign .sellers-main {
  max-width: 1140px !important;
  width: calc(100% - 48px) !important;
  margin: 65px auto 90px !important;
  padding: 0 !important;
}
body.redesign .sellers-hero {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-align: left !important;
  margin: 0 0 32px !important;
  padding: 0 !important;
  max-width: 650px !important;
}
body.redesign .sellers-hero h1 {
  font-size: 32px !important;
  font-weight: 600 !important;
  letter-spacing: -1px !important;
  line-height: 1.2 !important;
  margin: 7px 0 12px !important;
}
.sellers-hero .seller-hero-icon {
  display: none !important;
}
body.redesign .sellers-hero .overline {
  font-size: 10px !important;
  font-weight: 400 !important;
  color: #7f7f8a !important;
  letter-spacing: 1px !important;
}
body.redesign .sellers-hero > p:last-child {
  font-size: 13px !important;
  color: #9393a1 !important;
  line-height: 1.7 !important;
}
body.redesign .seller-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
body.redesign .seller-card {
  background: #19191c !important;
  border: 1px solid #303036 !important;
  border-radius: 12px !important;
  padding: 22px !important;
  box-shadow: none !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
}
body.redesign .seller-card::before,
body.redesign .seller-card::after {
  content: none !important;
}
body.redesign .seller-logo {
  background: #25252b !important;
  color: #d2d2db !important;
  border: 1px solid #3a3a42 !important;
  border-radius: 9px !important;
  min-width: 45px !important;
  width: 45px !important;
  height: 45px !important;
  font-size: 13px !important;
  box-shadow: none !important;
}
body.redesign .seller-card h2 {
  font-size: 18px !important;
  font-weight: 550 !important;
  letter-spacing: -0.3px !important;
  margin: 0 0 5px !important;
}
body.redesign .seller-badge {
  background: none !important;
  padding: 0 !important;
  font-size: 10px !important;
  color: #838390 !important;
  font-weight: 400 !important;
}
body.redesign .seller-card > p {
  font-size: 12px !important;
  line-height: 1.7 !important;
  color: #90909e !important;
  flex: 1 !important;
  margin: 20px 0 !important;
}
body.redesign a.seller-button {
  background: #27272d !important;
  color: #e2e2e9 !important;
  border: 1px solid #3b3b43 !important;
  border-radius: 7px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  padding: 10px 12px !important;
  box-shadow: none !important;
  text-align: left !important;
  display: flex !important;
  justify-content: space-between !important;
}
body.redesign a.seller-button:hover {
  background: #33333b !important;
  border-color: #62626d !important;
}
.converter-result-card {
  overflow: hidden;
  min-width: 0;
}
.converter-result-link {
  overflow-wrap: anywhere !important;
  color: #92929f !important;
  font-size: 12px !important;
  background: #222226 !important;
  border: 1px solid #333339 !important;
  border-radius: 7px !important;
  padding: 14px !important;
}
.converter-result-logo {
  background: #28282e !important;
  border: 1px solid #3b3b43 !important;
  border-radius: 9px !important;
  width: 40px !important;
  height: 40px !important;
  padding: 5px !important;
}
.converter-result-card .check-btn {
  background: #eeeef1 !important;
  color: #17171a !important;
  border: 0 !important;
  border-radius: 7px !important;
  font-size: 12px !important;
  box-shadow: none !important;
}
.converter-result-card .copy-link {
  background: #27272d !important;
  color: #d6d6df !important;
  border: 1px solid #3b3b43 !important;
  border-radius: 7px !important;
  font-size: 12px !important;
  box-shadow: none !important;
}
.converter-result-card small {
  font-size: 10px !important;
  color: #777784 !important;
}
/* Catalog states and controls */
body.redesign .empty-state {
  background: #19191c !important;
  border: 1px solid #303036 !important;
  border-radius: 10px !important;
  color: #9898a5 !important;
  box-shadow: none !important;
  grid-column: 1/-1 !important;
  line-height: 1.7 !important;
  min-height: 140px !important;
}
body.redesign .load-more {
  background: #202024 !important;
  border: 1px solid #36363d !important;
  border-radius: 8px !important;
  color: #c8c8d4 !important;
  padding: 11px 20px !important;
  font-size: 12px !important;
  box-shadow: none !important;
}
.ui-toast {
  background: #24242a !important;
  border: 1px solid #45454f !important;
  box-shadow: 0 8px 25px #0004 !important;
  font-size: 12px !important;
  color: #dedee7 !important;
}
.product-card:focus-within {
  border-color: #8a8a98 !important;
}
.product-title h3 {
  overflow-wrap: anywhere;
}
.catalog-toolbar select,
.price-fields input {
  background: #202024 !important;
  border: 1px solid #36363d !important;
  border-radius: 6px !important;
  color: #c4c4d0 !important;
}
.panel-toggle {
  letter-spacing: 0 !important;
}
.product-footer .price {
  font-weight: 500 !important;
}
.sr-only {
  clip: rect(0, 0, 0, 0) !important;
  position: absolute !important;
  pointer-events: none !important;
}
@media (max-width: 900px) {
  body.redesign .seller-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.redesign .detail-hero {
    gap: 25px !important;
  }
  body.redesign .detail-info h2 {
    font-size: 28px !important;
  }
}
@media (max-width: 700px) {
  body.redesign .product-page-main,
  body.redesign .sellers-main {
    width: calc(100% - 32px) !important;
    margin: 32px auto 60px !important;
  }
  body.redesign .detail-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 23px !important;
  }
  body.redesign .detail-info {
    padding: 0 !important;
  }
  body.redesign .detail-info h2 {
    font-size: 28px !important;
    margin: 14px 0 !important;
  }
  body.redesign .detail-qc {
    padding: 18px !important;
    margin-top: 24px !important;
  }
  body.redesign .seller-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  body.redesign .seller-card {
    padding: 20px !important;
  }
  body.redesign .sellers-hero h1 {
    font-size: 28px !important;
  }
  .site-footer {
    width: calc(100% - 32px) !important;
    gap: 20px !important;
  }
  .site-footer nav {
    max-width: none !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px 16px !important;
  }
  .footer-bottom {
    font-size: 10px !important;
  }
  .product-grid .product-title h3 {
    font-size: 13px;
  }
  .product-grid .price {
    font-size: 11px !important;
  }
  body.redesign .preferences-modal {
    padding: 21px !important;
    max-height: calc(100dvh - 24px) !important;
  }
  body.redesign .pref-agent-card {
    padding: 10px !important;
    gap: 7px !important;
  }
  .converter-result-actions {
    display: flex !important;
    gap: 9px !important;
    flex-wrap: wrap !important;
  }
  .converter-result-actions > * {
    flex: 1 !important;
  }
}

/* Product photographs reserve their geometry and expose finite loading/error states. */
.product-card {
  position: relative;
}
.product-media.photo-pending::after,
.product-media.photo-error::after,
.product-media.photo-unavailable::after {
  content: attr(data-photo-message);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-size: 11px;
  color: #b8b8c2;
  background: #202024;
  z-index: 1;
  pointer-events: none;
}
.product-media.photo-pending::after {
  background: linear-gradient(105deg, #202024 30%, #27272c 50%, #202024 70%);
  background-size: 200% 100%;
  animation: homeShimmer 1.6s ease-in-out infinite;
}
.product-media.photo-error img,
.product-media.photo-unavailable img {
  opacity: 0;
}
.product-card .photo-retry {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  border: 1px solid #55555e;
  border-radius: 6px;
  padding: 7px 10px;
  background: #2c2c33;
  color: #fff;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.product-card .photo-retry[hidden] {
  display: none;
}
.photo-retry:focus-visible {
  outline: 2px solid #00bd8b;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .product-media.photo-pending::after {
    animation: none;
  }
}

.detail-media.photo-unavailable {
  position: relative;
}
.detail-media.photo-unavailable img {
  opacity: 0;
}
.detail-media.photo-unavailable::after {
  content: attr(data-photo-message);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #aaaab5;
  background: #202024;
  font-size: 13px;
}

.catalog-loading [data-audience-count] {
  visibility: hidden;
}
.audience-segmented [data-audience-count] {
  display: inline-block;
  min-width: 4ch;
  font-variant-numeric: tabular-nums;
}
.catalog-loading-state {
  min-height: 320px !important;
}
.catalog-sort-context {
  font-size: 12px;
  line-height: 1.6;
  color: #aaa;
  margin: 0 0 18px;
}
.catalog-title #sheetStatus {
  min-height: 1.5em;
  line-height: 1.5;
  display: block;
}
.catalog-loading .category-panel:not(.is-open) .panel-collapse {
  display: none;
}
html[data-initial-panels~="categories-closed"] .category-panel > .panel-collapse,
html[data-initial-panels~="models-closed"] .model-panel > .panel-collapse,
html[data-initial-panels~="price-closed"] .price-panel > .panel-collapse {
  display: none;
}
html[data-initial-panels~="categories-open"] .category-panel > .panel-collapse,
html[data-initial-panels~="models-open"] .model-panel > .panel-collapse,
html[data-initial-panels~="price-open"] .price-panel > .panel-collapse {
  display: block;
}
