/* Public catalog: bold masthead, useful search, artwork-led listings. */

.catalog-page,
.coupon-page {
  --page: #111620;
  --panel: #191f2a;
  --line: #333946;
  --yellow: #f4cf43;
  background: var(--page);
  font-family: "Inter", sans-serif;
}
.catalog-page h1,
.catalog-page h2,
.catalog-page h3,
.coupon-page h1,
.coupon-page h2,
.coupon-page h3,
.site-header .brand-name,
.site-footer .brand-name {
  font-family: "Inter", sans-serif;
}
.catalog-page .shell,
.coupon-page .shell {
  width: min(1280px, calc(100% - 80px));
}
.site-header {
  background: #111620;
  backdrop-filter: none;
  border-bottom: 1px solid #323844;
}
.header-inner {
  height: 80px;
}
.brand-icon {
  background: none;
  border-radius: 0;
  width: 31px;
  height: 38px;
  font-size: 29px;
}
.brand-name {
  font-size: 23px;
  letter-spacing: -1.1px;
}
.desktop-nav {
  gap: 30px;
  font-size: 12px;
}
.desktop-nav .nav-cta {
  border: 0;
  border-left: 1px solid #444955;
  padding: 5px 0 5px 26px;
  border-radius: 0;
  color: var(--yellow) !important;
}
.mobile-toggle {
  border: 0;
  background: none;
  border-radius: 0;
}
.mobile-nav {
  background: #111620;
}

.catalog-cover {
  background: var(--yellow);
  color: #151923;
  position: relative;
  z-index: 20;
}
.cover-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding-top: 39px;
  padding-bottom: 43px;
  align-items: center;
}
.cover-heading {
  min-width: 0;
}
.cover-label {
  font-size: 10px;
  letter-spacing: 0.11em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.catalog-page .cover-heading h1 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(62px, 7.1vw, 102px);
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 0.86;
  margin: 0;
}
.cover-heading h1 span {
  display: block;
}
.cover-heading h1 span:last-child {
  color: #151923;
}
.cover-search {
  min-width: 0;
  position: relative;
  padding: 8px 0 8px 48px;
  border-left: 1px dashed #66581c77;
}
.cover-search > p {
  max-width: 360px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.4px;
  line-height: 1.65;
  margin-bottom: 21px;
}
.search-widget {
  position: relative;
  z-index: 30;
}
.catalog-page .search-form {
  margin: 0;
  padding: 6px 6px 6px 17px;
  border-radius: 4px;
  border: 1px solid #1a1e26;
  background: #fffdf4;
  box-shadow: 4px 4px 0 #171c2630;
  gap: 12px;
  min-height: 64px;
}
.catalog-page .search-form:focus-within {
  box-shadow: 4px 4px 0 #171c26;
  border-color: #171c26;
}
.catalog-page .search-form > i {
  color: #565b65;
  font-size: 17px;
}
.catalog-page .search-form input {
  color: #151923;
  font-size: 15px;
  padding: 9px 0;
}
.catalog-page .search-form input::-webkit-search-cancel-button {
  display: none;
}
.catalog-page .search-form input::placeholder {
  color: #727680;
}
.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #171c26;
  color: #fffdf4;
  min-height: 50px;
  padding: 12px 17px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.search-submit:hover {
  background: #323844;
}
.search-clear {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 44px;
  color: #666b75;
  border-radius: 2px;
}
.quick-brands {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 13px;
  margin-top: 16px;
  font-size: 11px;
}
.quick-brands > span {
  color: #544a29;
}
.quick-brands button {
  min-height: 30px;
  border-bottom: 1px solid #73602577;
  font-weight: 600;
  color: #22252c;
}
.quick-brands button:hover {
  border-color: #22252c;
}
.search-popover {
  position: absolute;
  inset: calc(100% + 9px) 0 auto;
  background: #fffdf8;
  color: #20242d;
  border: 1px solid #20242d;
  border-radius: 5px;
  box-shadow: 0 18px 40px #090d1959;
  overflow: hidden;
}
.suggestion-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid #e7e3d8;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #666962;
}
.suggestion-heading span:last-child {
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
.suggestion-list {
  max-height: min(350px, 48dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.search-suggestion {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  min-height: 80px;
  color: #252934;
  cursor: pointer;
  border-bottom: 1px solid #eeebe3;
}
.search-suggestion:last-child {
  border-bottom: 0;
}
.search-suggestion:hover,
.search-suggestion[aria-selected="true"] {
  background: #f3eac8;
}
.search-suggestion img {
  width: 58px;
  height: 44px;
  object-fit: cover;
  border-radius: 3px;
  background: #e5e3dc;
}
.suggestion-copy {
  min-width: 0;
}
.suggestion-copy strong {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.suggestion-copy small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #5d625d;
}
.search-suggestion > i {
  font-size: 11px;
  color: #737771;
}
.suggestion-copy mark {
  color: inherit;
  background: none;
  text-decoration: underline;
  text-decoration-color: #caa51f;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}
.suggestion-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 15px;
  min-height: 46px;
  border-top: 1px solid #dcd8cc;
  background: #f1eee5;
  color: #343831;
  font-size: 11px;
  font-weight: 600;
}
.suggestion-footer:hover {
  background: #eae4d4;
}
.suggestion-message {
  padding: 25px 20px;
  font-size: 13px;
  line-height: 1.7;
  color: #5e645f;
}
.suggestion-message strong {
  display: block;
  color: #272c27;
  margin-bottom: 4px;
}
.suggestion-message button {
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid #9d9d8f;
  color: #30352e;
  border-radius: 3px;
}
.search-popover :focus-visible {
  outline-color: #343831;
  outline-offset: -3px;
}
.catalog-cover :is(input, button):focus-visible {
  outline-color: #151923;
}

.catalog-page .collection {
  border: 0;
  padding: 39px 0 62px;
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.catalog-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.catalog-title h2 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.catalog-title > span {
  color: #a5aab5;
  font-family: monospace;
  font-size: 12px;
}
.catalog-page .collection-tools {
  margin: 0;
  gap: 28px;
}
.catalog-page .filter-tabs {
  gap: 24px;
}
.catalog-page .filter-tab {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 9px 0;
  min-height: 44px;
  font-size: 12px;
  color: #a4aab6;
  position: relative;
}
.catalog-page .filter-tab[aria-pressed="true"] {
  color: #f9f6e8;
  background: none;
  border: 0;
}
.catalog-page .filter-tab[aria-pressed="true"]::after {
  content: "";
  height: 2px;
  background: var(--yellow);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.catalog-page .sort-select {
  color: #a8aeb9;
  font-size: 11px;
  border-left: 1px solid #3b404c;
  border-radius: 0;
  padding-left: 18px;
}
.catalog-page .deal-grid {
  gap: 31px 24px;
}
.catalog-page .deal-card {
  border: 0;
  border-radius: 0;
  background: none;
  overflow: visible;
}
.catalog-page .deal-card:hover {
  transform: none;
}
.catalog-page .deal-image {
  aspect-ratio: 1.58;
  border-radius: 4px;
  border: 1px solid #353b45;
  display: block;
}
.catalog-page .deal-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.catalog-page .deal-card:hover .deal-image img {
  transform: scale(1.025);
}
.catalog-page .deal-badge {
  top: 11px;
  left: 11px;
  background: var(--yellow);
  color: #262922;
  border: 0;
  border-radius: 2px;
  backdrop-filter: none;
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.catalog-page .deal-body {
  padding: 16px 0 0;
}
.deal-overline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}
.catalog-page .deal-brand {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #a5acb9;
  margin: 0;
}
.deal-rating {
  font-size: 10px;
  white-space: nowrap;
  color: #c5cbd3;
}
.deal-rating i {
  font-size: 9px;
  color: var(--yellow);
  margin-right: 4px;
}
.catalog-page .deal-title {
  font-size: 18px;
  letter-spacing: -0.45px;
  font-weight: 600;
  line-height: 1.4;
}
.catalog-page .deal-title a {
  color: #f3f3ee;
}
.catalog-page .deal-title a:hover {
  color: var(--yellow);
}
.catalog-page .deal-description {
  color: #a1a8b5;
  font-size: 12px;
  line-height: 1.7;
  margin: 9px 0 18px;
  min-height: 41px;
}
.deal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding: 12px 0;
  border-top: 1px solid #333a46;
  border-bottom: 1px solid #333a46;
}
.deal-bottom > span {
  font-size: 10px;
  color: #b1b8c4;
  font-family: monospace;
  letter-spacing: 1px;
}
.deal-bottom > span i {
  font-size: 10px;
  margin-right: 3px;
  letter-spacing: 0;
  color: #8a92a2;
}
.catalog-page .deal-link {
  background: none;
  padding: 0 1px 0 12px;
  min-height: 25px;
  color: var(--yellow);
  font-weight: 600;
  font-size: 11px;
  border-radius: 0;
  gap: 12px;
}
.catalog-page .deal-link:hover {
  color: #fff0a9;
}
.catalog-page .pagination {
  margin-top: 35px;
  gap: 6px;
}
.catalog-page .pagination a,
.catalog-page .pagination span {
  border-radius: 3px;
  border-color: #3b414d;
}
.catalog-page .pagination [aria-current] {
  border-color: var(--yellow);
  color: #161a24;
}
.catalog-page .search-status {
  padding: 5px 0 20px;
  font-size: 12px;
}
.catalog-page .empty-state {
  border-radius: 4px;
  padding: 45px 24px;
  background: #171d28;
}
.catalog-guide {
  border-top: 1px solid #3c414c;
  padding: 42px 0 48px;
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.guide-title > span {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.catalog-page .guide-title h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
  font-size: 49px;
  line-height: 0.96;
  letter-spacing: -0.5px;
  font-weight: 600;
  max-width: 280px;
  margin-top: 16px;
}
.guide-steps {
  counter-reset: step;
}
.guide-steps > div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #333a46;
}
.guide-steps > div:first-child {
  padding-top: 0;
}
.guide-steps > div:last-child {
  border: 0;
  padding-bottom: 0;
}
.guide-steps > div::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: monospace;
  font-size: 11px;
  color: var(--yellow);
  padding-top: 2px;
}
.guide-steps h3 {
  font-size: 13px;
  letter-spacing: -0.2px;
  font-weight: 600;
}
.guide-steps p {
  font-size: 12px;
  color: #a5aebb;
  line-height: 1.7;
  margin-top: 5px;
  max-width: 405px;
}
.site-footer {
  border-top: 1px solid #333a46;
  padding-top: 28px;
  padding-bottom: 24px;
}
.footer-top p {
  font-size: 11px;
  margin-top: 8px;
  color: #a0a9b7;
}
.footer-top .brand-name {
  font-size: 20px;
}
.footer-top .brand-icon {
  font-size: 24px;
  width: 26px;
}
.footer-links {
  font-size: 11px;
}
.footer-bottom {
  margin-top: 25px;
  padding-top: 18px;
}
.footer-trustpilot {
  display: block;
  width: 144px;
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
}

/* Carry the same restrained typography and corners into existing detail pages. */
.coupon-page .coupon-hero,
.coupon-page .card-gradient,
.coupon-page .benefits-section,
.coupon-page .stats-card {
  border-radius: 5px;
}
.coupon-page .card-gradient {
  background: #191f2a;
  border-color: #363c48;
}
.coupon-page .about-card {
  background: none;
  border: 0;
  padding-left: 0;
}
.coupon-page .about-card > .text-center {
  display: flex;
  align-items: center;
  gap: 12px;
}
.coupon-page .about-card .feature-icon {
  width: 24px;
  height: 24px;
  background: none;
  margin: 0;
}
.coupon-page .about-card > .text-center h2 {
  margin: 0;
  font-size: 22px;
}
.coupon-page .prose .rounded-lg {
  border-radius: 3px;
  background: none;
  padding-left: 0;
  padding-right: 0;
  border-width: 0 0 1px;
}
.coupon-page .prose p,
.coupon-page .prose span,
.coupon-page .prose strong {
  font-size: 14px;
}
.coupon-page .coupon-hero h1 {
  font-weight: 700;
  letter-spacing: -1px;
}
.coupon-page button[onclick^="unlockCoupon("] {
  border-radius: 3px;
  font-weight: 700;
}
.coupon-page .unlock-card .from-gray-600 {
  border-radius: 3px;
}
.coupon-page .stats-panel,
.coupon-page .rating-panel {
  background: none;
}
.coupon-page .rating-panel .feature-icon,
.coupon-page .stats-panel .feature-icon {
  display: none;
}
.coupon-page .rating-panel h3,
.coupon-page .stats-panel h2 {
  font-size: 19px;
}
.coupon-page .stats-card {
  background: transparent;
  border: 0;
}
.coupon-page #instructionsModal > div,
.coupon-page #loadingOverlay > div {
  border-radius: 6px;
}

@media (max-width: 1100px) {
  .cover-inner {
    gap: 38px;
  }
  .cover-search {
    padding-left: 30px;
  }
  .cover-search > p {
    font-size: 15px;
  }
  .catalog-page .deal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .catalog-page .shell,
  .coupon-page .shell {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 70px;
  }
  .cover-inner {
    gap: 28px;
    padding-top: 35px;
    padding-bottom: 36px;
    grid-template-columns: 0.85fr 1.15fr;
  }
  .catalog-page .cover-heading h1 {
    font-size: 70px;
  }
  .cover-label {
    font-size: 8px;
    letter-spacing: 0.06em;
  }
  .cover-search {
    padding-left: 22px;
  }
  .cover-search > p {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .catalog-page .search-form {
    padding-left: 12px;
    gap: 8px;
    min-height: 60px;
  }
  .catalog-page .search-form input {
    font-size: 14px;
  }
  .search-submit {
    width: 44px;
    padding-inline: 10px;
    min-height: 46px;
  }
  .search-submit span {
    display: none;
  }
  .quick-brands {
    gap: 2px 10px;
    font-size: 10px;
  }
  .quick-brands button {
    min-height: 34px;
  }
  .catalog-toolbar {
    gap: 15px;
    flex-wrap: wrap;
  }
  .catalog-title h2 {
    font-size: 23px;
  }
  .catalog-page .collection-tools {
    gap: 18px;
  }
  .catalog-page .filter-tabs {
    gap: 18px;
  }
  .catalog-page .deal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
  .catalog-page .deal-title {
    font-size: 17px;
  }
  .catalog-page .deal-link {
    min-height: 38px;
  }
  .guide-grid {
    gap: 45px;
  }
  .catalog-page .guide-title h2 {
    font-size: 43px;
  }
  .coupon-page .about-card {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 600px) {
  .catalog-page .shell,
  .coupon-page .shell {
    width: calc(100% - 36px);
  }
  .header-inner {
    height: 65px;
  }
  .brand-name {
    font-size: 21px;
  }
  .brand-icon {
    width: 28px;
    font-size: 26px;
  }
  .cover-inner {
    grid-template-columns: 1fr;
    padding-top: 28px;
    padding-bottom: 28px;
    gap: 23px;
  }
  .cover-label {
    font-size: 9px;
    letter-spacing: 0.1em;
    margin-bottom: 17px;
  }
  .catalog-page .cover-heading h1 {
    font-size: clamp(67px, 18vw, 92px);
    line-height: 0.85;
    letter-spacing: -0.025em;
  }
  .cover-search {
    border: 0;
    padding: 0;
  }
  .cover-search > p {
    font-size: 13px;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 15px;
  }
  .catalog-page .search-form {
    min-height: 59px;
    gap: 8px;
    border-radius: 3px;
  }
  .catalog-page .search-form input {
    font-size: 16px;
    min-height: 43px;
  }
  .search-submit {
    min-height: 43px;
    width: 44px;
  }
  .search-clear {
    min-width: 24px;
  }
  .quick-brands {
    margin-top: 11px;
    gap: 0 13px;
    font-size: 10px;
  }
  .quick-brands button {
    min-height: 34px;
  }
  .search-popover {
    inset-block-start: calc(100% + 7px);
  }
  .suggestion-list {
    max-height: 270px;
  }
  .search-suggestion {
    padding: 11px 12px;
    gap: 10px;
    grid-template-columns: 49px minmax(0, 1fr) 16px;
    min-height: 74px;
  }
  .search-suggestion img {
    width: 49px;
    height: 41px;
  }
  .suggestion-copy strong {
    font-size: 12px;
  }
  .suggestion-copy small {
    font-size: 10px;
  }
  .suggestion-heading {
    padding: 11px 12px;
    font-size: 9px;
  }
  .catalog-page .collection {
    padding-top: 27px;
    padding-bottom: 36px;
  }
  .catalog-toolbar {
    gap: 10px;
    margin-bottom: 20px;
  }
  .catalog-title {
    width: 100%;
    justify-content: space-between;
  }
  .catalog-title h2 {
    font-size: 24px;
  }
  .catalog-title > span {
    font-size: 11px;
  }
  .catalog-page .collection-tools {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }
  .catalog-page .filter-tab {
    font-size: 11px;
  }
  .catalog-page .sort-select {
    font-size: 10px;
    padding-left: 12px;
  }
  .catalog-page .deal-grid {
    gap: 25px 14px;
  }
  .catalog-page .deal-image {
    aspect-ratio: 1.38;
    border-radius: 3px;
  }
  .catalog-page .deal-body {
    padding-top: 12px;
  }
  .catalog-page .deal-title {
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: -0.3px;
  }
  .catalog-page .deal-brand {
    font-size: 9px;
    letter-spacing: 0.025em;
  }
  .deal-rating {
    font-size: 9px;
  }
  .deal-rating i {
    font-size: 8px;
    margin-right: 2px;
  }
  .deal-overline {
    gap: 8px;
    margin-bottom: 6px;
  }
  .catalog-page .deal-description {
    font-size: 11px;
    line-height: 1.65;
    margin: 8px 0 12px;
    min-height: 36px;
  }
  .deal-bottom {
    padding: 0;
    gap: 4px;
  }
  .deal-bottom > span {
    font-size: 9px;
    letter-spacing: 0.7px;
  }
  .deal-bottom > span i {
    display: none;
  }
  .catalog-page .deal-link {
    font-size: 10px;
    gap: 7px;
    padding-left: 4px;
    min-height: 44px;
  }
  .catalog-page .deal-badge {
    font-size: 8px;
    padding: 3px 6px;
    top: 8px;
    left: 8px;
  }
  .catalog-guide {
    padding: 31px 0;
  }
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .catalog-page .guide-title h2 {
    font-size: 39px;
    max-width: none;
    margin-top: 12px;
  }
  .guide-steps > div {
    padding: 14px 0;
  }
  .guide-steps h3 {
    font-size: 13px;
  }
  .guide-steps p {
    font-size: 12px;
  }
  .footer-top {
    gap: 20px;
  }
  .footer-top .brand-name {
    font-size: 21px;
  }
  .footer-bottom {
    gap: 9px;
    margin-top: 22px;
  }
  .coupon-page .about-card {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 350px) {
  .catalog-page .deal-grid {
    grid-template-columns: 1fr;
  }
  .catalog-page .deal-image {
    aspect-ratio: 1.8;
  }
  .catalog-page .deal-title {
    font-size: 18px;
  }
  .catalog-page .deal-description {
    font-size: 12px;
    min-height: auto;
  }
  .catalog-page .deal-link {
    font-size: 12px;
  }
  .catalog-page .cover-heading h1 {
    font-size: 65px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-page .deal-card:hover .deal-image img {
    transform: none;
  }
}
