:root {
  --ink: #252821;
  --muted: #73766d;
  --paper: #f7f7f2;
  --white: #fff;
  --line: #dedfd7;
  --orange: #ee5332;
  --lime: #e7edb9;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a,
button {
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.045em;
}
p {
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
}
button {
  border: 0;
}
button svg {
  vertical-align: middle;
}
.container {
  width: min(1280px, calc(100% - 96px));
  margin: 0 auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 15px;
  background: var(--ink);
  color: white;
  z-index: 99;
}
.skip-link:focus {
  top: 10px;
}
.preview-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 20px;
  background: var(--lime);
}
.preview-banner span {
  font-weight: 400;
  letter-spacing: 0;
}
.preview-banner a {
  border-bottom: 1px solid;
}
.utility {
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #666a60;
}
.utility .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}
.utility span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.utility svg {
  width: 13px;
  height: 13px;
}
.header {
  background: var(--paper);
}
.masthead {
  height: 100px;
  display: flex;
  align-items: center;
  gap: 44px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  letter-spacing: -1.5px;
  font-size: 31px;
  font-weight: 800;
}
.logo > svg {
  color: var(--orange);
  width: 32px;
  height: 32px;
}
.logo-dot {
  color: var(--orange);
}
.search {
  display: flex;
  align-items: center;
  border: 1px solid #d8d9d1;
  border-radius: 8px;
  background: #fff;
  max-width: 480px;
  flex: 1;
  gap: 12px;
  padding: 0 13px;
  height: 46px;
}
.search > svg {
  color: #777d71;
  width: 18px;
}
.search input {
  border: 0;
  outline: 0 !important;
  min-width: 0;
  flex: 1;
  color: var(--ink);
  font-size: 12px;
  background: transparent;
}
.search:focus-within {
  outline: 2px solid var(--orange);
}
.search input::placeholder {
  color: #8a8d83;
}
.search button {
  display: grid;
  place-items: center;
  padding: 5px;
  background: transparent;
  color: var(--ink);
}
.header-link {
  margin-left: auto;
  font-size: 11px;
  display: flex;
  gap: 9px;
  align-items: center;
  color: #62675b;
}
.header-link svg {
  width: 14px;
}
.category-nav {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.category-nav .container {
  display: flex;
  align-items: stretch;
  gap: 30px;
  min-height: 55px;
}
.category-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  position: relative;
  top: 1px;
}
.category-nav a svg {
  width: 17px;
  height: 17px;
}
.category-nav a:hover,
.category-nav a.selected {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.category-nav .archive-link {
  margin-left: auto;
  color: #74786c;
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.5fr;
  align-items: center;
  gap: 40px;
  padding: 54px 0 50px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}
.live-dot {
  height: 6px;
  width: 6px;
  background: var(--orange);
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 750;
  line-height: 1.06;
  margin-top: 17px;
  position: relative;
  width: max-content;
  letter-spacing: -0.06em;
}
.hero h1 > span {
  color: var(--orange);
}
.hero h1 > svg {
  position: absolute;
  width: 38px;
  height: 38px;
  color: var(--orange);
  top: 0;
  right: -56px;
  transform: rotate(10deg);
}
.hero-aside {
  padding-top: 32px;
}
.hero-aside > p {
  font-size: 20px;
  letter-spacing: -0.025em;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 13px;
}
.hero-aside > span {
  display: block;
  line-height: 1.65;
  font-size: 12px;
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
}
.hero-aside .text-link {
  margin-top: 22px;
  padding-bottom: 5px;
  border-bottom: 1px solid #b0b3a4;
}
.text-link:hover {
  color: var(--orange);
}
.text-link svg {
  width: 17px;
}
.hero-note {
  border: 1px solid #c6cda5;
  background: var(--lime);
  width: 156px;
  height: 156px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(9deg);
  justify-self: end;
  text-align: center;
}
.mini-star {
  font-size: 25px;
  line-height: 1;
}
.hero-note strong {
  font-size: 16px;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 8px 0;
}
.hero-note > span:last-child {
  font-size: 9px;
}
.popular-section {
  padding: 32px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading h2 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-heading h2 svg {
  color: var(--orange);
  width: 23px;
  height: 23px;
}
.section-heading .eyebrow {
  margin-bottom: 7px;
}
.orange {
  color: #c74124;
}
.section-note {
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 3px;
}
.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.deal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  min-width: 0;
}
.deal-card:hover {
  box-shadow: 0 8px 25px #2528210c;
  transform: translateY(-3px);
}
.card-image {
  aspect-ratio: 1.65;
  display: block;
  position: relative;
  overflow: hidden;
  background: #e8e9e2;
}
.card-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.deal-card:hover .card-image > img {
  transform: scale(1.035);
}
.category-fashion {
  background: #ece7e0;
}
.category-tech {
  background: #e6ebea;
}
.category-home {
  background: #e4e7dc;
}
.category-apps {
  background: #dcd8ec;
}
.category-mobile {
  background: #e0e8db;
}
.rank {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  background: #252821e8;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 700;
  padding: 7px 9px;
}
.rank > span {
  font-size: 8px;
  letter-spacing: 0.09em;
  font-weight: 500;
}
.deal-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  border-radius: 4px;
  padding: 7px 10px;
  background: var(--lime);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 1px 4px #00000008;
}
.image-arrow {
  display: grid;
  place-items: center;
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.image-arrow svg {
  width: 16px;
}
.card-body {
  padding: 19px 20px 17px;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  margin-bottom: 10px;
  color: var(--muted);
}
.card-meta > span:first-child {
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-meta a:hover {
  color: var(--orange);
}
.meta-dot {
  color: #a4a699;
}
.card-body h3 {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 650;
  min-height: 49px;
}
.card-body h3 a:hover {
  color: var(--orange);
}
.card-summary {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 9px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid #ecece7;
}
.prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.prices strong {
  font-size: 20px;
  letter-spacing: -0.045em;
}
.prices s {
  font-size: 11px;
  color: #8c9083;
}
.text-price {
  font-size: 12px;
  font-weight: 600;
}
.end-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #717668;
  white-space: nowrap;
}
.end-date svg {
  width: 13px;
  height: 13px;
}
.promise-strip {
  display: flex;
  justify-content: center;
  gap: 75px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  margin: 5px 0 40px;
}
.promise-strip span {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #626854;
}
.promise-strip svg {
  width: 17px;
  height: 17px;
}
.browse {
  padding-bottom: 55px;
}
.count {
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 500;
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  border: 1px solid #cfd3c3;
  border-radius: 50%;
  margin-left: 3px;
}
.sort-form {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  white-space: nowrap;
}
.sort-form label {
  color: var(--muted);
}
.sort-form select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  cursor: pointer;
  padding: 5px;
}
.sort-submit {
  background: transparent;
  border-bottom: 1px solid #bbb;
  font-size: 10px;
  padding: 3px;
}
.filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 6px;
  border: 1px solid #d9dcd0;
  color: #5e6455;
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}
.chip svg {
  height: 14px;
  width: 14px;
}
.chip:hover {
  background: #e9ebdf;
}
.chip.active {
  color: white;
  border-color: var(--ink);
  background: var(--ink);
}
.editorial-banner {
  display: flex;
  align-items: center;
  gap: 26px;
  border: 1px solid #dce1bf;
  background: #edf0dc;
  border-radius: 12px;
  padding: 34px 38px;
  margin-bottom: 58px;
}
.banner-icon svg {
  width: 58px;
  height: 58px;
  color: #78824b;
}
.editorial-banner h2 {
  font-size: 28px;
  margin: 8px 0;
}
.editorial-banner p {
  color: #67704e;
  font-size: 12px;
}
.editorial-banner .button {
  margin-left: auto;
  white-space: nowrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 6px;
  padding: 13px 19px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.button svg {
  width: 17px;
  height: 17px;
}
.button.primary {
  background: var(--orange);
  color: white;
}
.button.primary:hover {
  background: #d74021;
}
.button.dark {
  background: var(--ink);
  color: white;
}
.button.dark:hover {
  background: #454b38;
}
.button.outline {
  background: transparent;
  border: 1px solid #b5bca1;
}
.button.outline:hover {
  background: #dee4c7;
}
.wide {
  width: 100%;
}
footer {
  border-top: 1px solid var(--line);
  background: #efefe8;
}
.footer-top {
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-size: 24px;
}
.footer-logo > svg {
  width: 25px;
  height: 25px;
}
.footer-top p {
  color: #7b8070;
  font-size: 11px;
  margin-top: 10px;
}
.footer-links {
  display: flex;
  gap: 25px;
  font-size: 11px;
}
.footer-links a:hover {
  color: var(--orange);
}
.footer-bottom {
  border-top: 1px solid #dbded2;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #7d8174;
}
.page-intro {
  padding: 40px 0 32px;
}
.back-link {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  margin-bottom: 30px;
}
.back-link svg {
  width: 14px;
  transform: rotate(180deg);
}
.page-intro h1 {
  font-size: 45px;
  margin: 12px 0 14px;
}
.page-intro > p {
  font-size: 14px;
  color: var(--muted);
  max-width: 700px;
}
.page-intro + .browse {
  padding-top: 20px;
}
.empty-state {
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed #cbd0be;
  border-radius: 12px;
}
.empty-state > svg {
  width: 34px;
  height: 34px;
  color: var(--orange);
  margin: 0 auto 20px;
}
.empty-state h3 {
  font-size: 26px;
}
.empty-state p {
  margin: 14px 0 22px;
  color: var(--muted);
}
.empty-state h1 {
  font-size: 48px;
}
.empty-state .eyebrow {
  justify-content: center;
  margin-bottom: 14px;
}
.not-found {
  margin: 50px auto;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  font-size: 12px;
  color: var(--muted);
}
.is-expired .card-image img {
  filter: saturate(0.35);
}
.expired-image-label {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ink);
  color: white;
  padding: 7px 10px;
  font-size: 10px;
  letter-spacing: 0.06em;
  border-radius: 4px;
}
.ended {
  color: #a45b37;
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  margin: 30px 0;
}
.breadcrumbs a:hover {
  color: var(--orange);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 52px;
  align-items: start;
}
.detail-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1.06;
}
.detail-image > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.detail-image .deal-badge {
  font-size: 14px;
  padding: 12px 16px;
  bottom: 22px;
  left: 22px;
}
.detail-info {
  padding: 12px 0;
}
.detail-info h1 {
  font-size: 42px;
  line-height: 1.12;
  margin: 16px 0 22px;
}
.detail-summary {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.detail-prices {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin: 25px 0;
}
.detail-prices strong {
  font-size: 36px;
  letter-spacing: -0.06em;
}
.detail-prices s {
  font-size: 19px;
  color: #969b8b;
}
.detail-prices > span {
  font-size: 12px;
  background: var(--lime);
  padding: 7px;
  border-radius: 4px;
}
.detail-dates {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 12px;
}
.detail-dates strong {
  display: block;
  color: var(--ink);
  margin-bottom: 5px;
}
.detail-dates small {
  display: block;
  margin-top: 4px;
}
.retailer-note {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  margin: 10px 0;
}
.share-button {
  display: flex;
  gap: 10px;
  align-items: center;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  margin: 20px auto 0;
}
.share-button svg {
  width: 13px;
}
.article-copy {
  max-width: 740px;
  padding: 50px 0;
}
.article-copy > h2 {
  font-size: 32px;
  margin: 10px 0 25px;
}
.article-copy > p {
  font-size: 15px;
  color: #62695a;
  margin-bottom: 20px;
}
.article-note {
  padding: 24px;
  background: #eeefe5;
  border-left: 3px solid #b4bf87;
  margin-top: 30px;
  border-radius: 0 8px 8px 0;
}
.article-note strong {
  font-size: 13px;
}
.article-note p {
  font-size: 12px;
  margin-top: 8px;
  color: var(--muted);
}
.article-copy p.updated {
  font-size: 10px;
  margin-top: 20px;
}
.related {
  padding: 20px 0 60px;
}
.expired-notice {
  padding: 20px 24px;
  display: flex;
  gap: 15px;
  background: #f7e8dc;
  border: 1px solid #e7c9af;
  border-radius: 8px;
  margin-bottom: 30px;
  color: #805030;
}
.expired-notice strong,
.expired-notice span {
  display: block;
}
.expired-notice span {
  font-size: 12px;
  margin-top: 6px;
}
.expired-notice a {
  margin-left: auto;
  align-self: center;
  font-size: 12px;
  font-weight: 600;
}
.info-page {
  padding: 70px 0;
}
.info-page h1 {
  font-size: 60px;
  line-height: 1.12;
  margin: 20px 0;
}
.info-page .lead {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 50px;
}
.prose {
  max-width: 750px;
}
.prose h2 {
  font-size: 26px;
  margin: 32px 0 14px;
}
.prose p {
  margin-bottom: 16px;
  color: #636a59;
  font-size: 15px;
}
.prose .button {
  margin-top: 20px;
}
.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  height: 100%;
  min-height: 160px;
}
.image-placeholder svg {
  width: 60px;
  height: 60px;
  stroke-width: 1;
  color: #606b53;
}
.image-placeholder span {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  z-index: 20;
  font-size: 13px;
  box-shadow: 0 4px 30px #0003;
  max-width: 90vw;
}
.admin-main {
  padding: 45px 0 65px;
}
.admin-heading h1 {
  font-size: 38px;
  margin: 10px 0;
}
.admin-heading p {
  font-size: 13px;
  color: var(--muted);
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}
.stat {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.stat span {
  color: var(--muted);
  font-size: 11px;
}
.stat strong {
  display: block;
  font-size: 32px;
  letter-spacing: -0.04em;
  margin-top: 8px;
}
.admin-workspace {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
}
.admin-workspace h2 {
  font-size: 25px;
}
.admin-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.admin-workspace input,
.admin-workspace textarea,
.admin-workspace select {
  border: 1px solid #d4d8ca;
  border-radius: 6px;
  padding: 11px 12px;
  min-width: 0;
  background: #fff;
  color: var(--ink);
}
#admin-search {
  max-width: 280px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 10px;
  border-bottom: 1px solid #eceee6;
  font-size: 12px;
}
td:first-child {
  min-width: 250px;
  width: 45%;
}
td small {
  display: block;
  color: var(--muted);
  margin-top: 7px;
}
td strong {
  font-size: 13px;
  font-weight: 600;
}
.status-pill {
  font-size: 10px;
  background: #edf1db;
  color: #526327;
  border-radius: 20px;
  padding: 5px 9px;
  white-space: nowrap;
}
.status-expired {
  background: #f5e9dd;
  color: #935a32;
}
.status-draft {
  background: #eee;
  color: #777;
}
.status-upcoming {
  background: #e8e8fa;
  color: #6564a5;
}
.edit-button {
  font-size: 12px;
  color: var(--orange);
  background: transparent;
  padding: 10px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
}
.form-grid .full {
  grid-column: 1/-1;
}
.form-grid textarea {
  resize: vertical;
  line-height: 1.6;
}
.field-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: -8px;
}
.form-grid .checkbox-label {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}
.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}
.checkbox-label span {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.upload-box {
  border: 1px dashed #bbc4a5;
  background: #f7f8f2;
  border-radius: 8px;
  padding: 20px;
}
.upload-box > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}
.upload-box input {
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 400;
}
.upload-box img {
  margin-top: 15px;
  max-height: 180px;
  border-radius: 6px;
}
.upload-box p {
  font-size: 12px;
}
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
#form-error,
#admin-message {
  background: #fcece6;
  border: 1px solid #efc0b0;
  border-radius: 6px;
  padding: 14px;
  margin: 20px 0;
  color: #9c3b24;
  font-size: 13px;
}
#admin-message.success {
  color: #3d5726;
  background: #edf4df;
  border-color: #c6dba7;
}
#editor {
  max-width: 850px;
  margin: auto;
}
#permalink-note {
  overflow-wrap: anywhere;
}
.admin-pagination {
  margin-top: 20px;
}
@media (min-width: 1600px) {
  .hero {
    padding: 65px 0;
  }
  .card-image {
    aspect-ratio: 1.6;
  }
}
@media (max-width: 1150px) {
  .container {
    width: calc(100% - 64px);
  }
  .masthead {
    gap: 30px;
  }
  .header-link {
    display: none;
  }
  .search {
    max-width: 600px;
  }
  .category-nav .container {
    gap: 22px;
    overflow-x: auto;
  }
  .category-nav a {
    font-size: 11px;
  }
  .hero {
    grid-template-columns: 1.3fr 1fr;
    gap: 55px;
  }
  .hero-note {
    display: none;
  }
  .hero-aside {
    justify-self: end;
  }
  .hero h1 {
    font-size: 60px;
  }
  .promise-strip {
    gap: 30px;
  }
  .card-body {
    padding: 17px 15px;
  }
  .card-meta {
    font-size: 9px;
    gap: 5px;
  }
  .card-body h3 {
    font-size: 17px;
  }
  .prices strong {
    font-size: 19px;
  }
  .end-date {
    font-size: 9px;
  }
  .editorial-banner {
    padding: 28px;
  }
  .editorial-banner h2 {
    font-size: 25px;
  }
  .footer-links {
    gap: 17px;
  }
  .detail-grid {
    gap: 35px;
  }
  .detail-info h1 {
    font-size: 34px;
  }
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 40px);
  }
  .masthead {
    height: auto;
    min-height: 90px;
    gap: 22px;
    flex-wrap: wrap;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .logo {
    font-size: 28px;
  }
  .search {
    flex-basis: 100%;
    order: 2;
    max-width: none;
    height: 44px;
  }
  .category-nav .container {
    gap: 25px;
    min-height: 50px;
  }
  .hero {
    padding: 35px 0;
    gap: 35px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero h1 > svg {
    width: 27px;
    height: 27px;
    right: -35px;
  }
  .hero-aside > p {
    font-size: 17px;
  }
  .hero-aside > span {
    font-size: 11px;
  }
  .hero-aside .text-link {
    font-size: 11px;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .section-note {
    font-size: 10px;
  }
  .deals-grid {
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .popular-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .popular-grid .card-image {
    aspect-ratio: 1.1;
  }
  .popular-grid .card-body {
    padding: 15px 12px;
  }
  .popular-grid .card-body h3 {
    font-size: 15px;
    min-height: 60px;
  }
  .popular-grid .card-meta {
    flex-wrap: wrap;
    gap: 4px;
  }
  .popular-grid .card-meta a {
    display: none;
  }
  .popular-grid .card-meta .meta-dot {
    display: none;
  }
  .popular-grid .card-bottom {
    flex-direction: column;
    align-items: start;
    gap: 8px;
  }
  .rank {
    top: 10px;
    left: 10px;
    font-size: 13px;
    padding: 6px;
  }
  .rank > span {
    font-size: 6px;
  }
  .deal-badge {
    font-size: 9px;
    left: 10px;
    bottom: 10px;
    padding: 6px;
  }
  .popular-grid .image-arrow {
    display: none;
  }
  .promise-strip {
    justify-content: space-between;
    gap: 15px;
  }
  .promise-strip span {
    font-size: 9px;
    gap: 5px;
  }
  .promise-strip svg {
    width: 14px;
  }
  .editorial-banner {
    gap: 20px;
    flex-wrap: wrap;
  }
  .editorial-banner .button {
    margin-left: 70px;
  }
  .banner-icon svg {
    width: 50px;
    height: 50px;
  }
  .footer-top {
    align-items: start;
    gap: 30px;
  }
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .footer-bottom {
    font-size: 9px;
  }
  .detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .detail-info h1 {
    font-size: 28px;
  }
  .detail-summary {
    font-size: 13px;
  }
  .detail-prices {
    margin: 18px 0;
  }
  .detail-prices strong {
    font-size: 28px;
  }
  .detail-prices s {
    font-size: 15px;
  }
  .detail-image {
    aspect-ratio: 0.8;
  }
  .detail-info .button {
    font-size: 11px;
    padding: 12px;
  }
  .expired-notice {
    flex-wrap: wrap;
  }
  .expired-notice a {
    margin-left: 35px;
  }
  .admin-heading {
    align-items: start;
  }
  .admin-heading h1 {
    font-size: 28px;
  }
  .admin-stats {
    gap: 12px;
  }
  .stat {
    padding: 18px;
  }
  .admin-workspace {
    padding: 20px;
  }
}
@media (max-width: 540px) {
  .container {
    width: calc(100% - 32px);
  }
  .preview-banner {
    font-size: 8px;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 12px;
  }
  .preview-banner span {
    display: none;
  }
  .utility {
    font-size: 9px;
  }
  .utility .container {
    height: 29px;
  }
  .utility svg {
    width: 11px;
  }
  .masthead {
    padding: 19px 0;
    gap: 17px;
  }
  .logo {
    font-size: 29px;
  }
  .logo > svg {
    width: 30px;
    height: 30px;
  }
  .search input {
    font-size: 11px;
  }
  .category-nav .container {
    width: 100%;
    padding: 0 16px;
    gap: 24px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero h1 > svg {
    width: 32px;
    height: 32px;
    right: -43px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero-aside {
    justify-self: start;
    padding: 0;
  }
  .hero-aside > p {
    font-size: 16px;
  }
  .hero-aside > p br {
    display: none;
  }
  .hero-aside > span {
    font-size: 12px;
  }
  .hero-aside > span br {
    display: none;
  }
  .hero-aside .text-link {
    margin-top: 14px;
    font-size: 12px;
  }
  .popular-section {
    padding: 27px 0;
  }
  .section-heading {
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .section-note {
    display: none;
  }
  .popular-grid {
    grid-template-columns: 1fr;
  }
  .popular-grid .card-image {
    aspect-ratio: 1.75;
  }
  .popular-grid .card-body {
    padding: 18px;
  }
  .popular-grid .card-body h3 {
    font-size: 20px;
    min-height: 0;
  }
  .popular-grid .card-meta a,
  .popular-grid .card-meta .meta-dot {
    display: block;
  }
  .popular-grid .card-meta {
    font-size: 10px;
  }
  .popular-grid .card-bottom {
    flex-direction: row;
    align-items: center;
  }
  .rank {
    left: 13px;
    top: 13px;
    padding: 7px 9px;
    font-size: 16px;
  }
  .rank > span {
    font-size: 8px;
  }
  .popular-grid .image-arrow {
    display: grid;
  }
  .deal-badge {
    font-size: 11px;
    left: 13px;
    bottom: 13px;
  }
  .promise-strip {
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }
  .promise-strip span {
    font-size: 11px;
  }
  .promise-strip svg {
    width: 16px;
  }
  .deals-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card-body {
    padding: 18px;
  }
  .card-body h3 {
    font-size: 20px;
    min-height: 0;
  }
  .card-meta {
    font-size: 10px;
  }
  .card-summary {
    font-size: 12px;
  }
  .end-date {
    font-size: 10px;
  }
  .prices strong {
    font-size: 21px;
  }
  .browse > .section-heading {
    align-items: center;
  }
  .sort-form {
    font-size: 10px;
    margin-left: auto;
  }
  .sort-form select {
    font-size: 10px;
  }
  .sort-form label {
    display: none;
  }
  .sort-submit {
    font-size: 9px;
  }
  .filter-chips {
    gap: 7px;
  }
  .chip {
    font-size: 10px;
    padding: 8px 10px;
  }
  .filter-chips .chip svg {
    display: none;
  }
  .editorial-banner {
    padding: 24px;
    gap: 17px;
    margin-bottom: 35px;
  }
  .banner-icon svg {
    height: 38px;
    width: 38px;
  }
  .editorial-banner .eyebrow {
    font-size: 8px;
  }
  .editorial-banner h2 {
    font-size: 25px;
  }
  .editorial-banner .button {
    margin-left: 0;
  }
  .editorial-banner p {
    font-size: 11px;
  }
  .footer-top {
    flex-direction: column;
    gap: 25px;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    font-size: 10px;
    gap: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    line-height: 1.5;
  }
  .page-intro h1 {
    font-size: 36px;
  }
  .page-intro > p {
    font-size: 13px;
  }
  .page-intro {
    padding-top: 25px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-image {
    aspect-ratio: 1.2;
  }
  .detail-info h1 {
    font-size: 36px;
  }
  .detail-info {
    padding: 5px 0;
  }
  .detail-summary {
    font-size: 14px;
  }
  .detail-info .button {
    font-size: 13px;
  }
  .article-copy {
    padding: 35px 0;
  }
  .article-copy > h2 {
    font-size: 28px;
  }
  .article-copy > p {
    font-size: 14px;
  }
  .expired-notice {
    padding: 16px;
    font-size: 12px;
    gap: 10px;
  }
  .expired-notice svg {
    width: 17px;
  }
  .expired-notice span {
    font-size: 11px;
  }
  .expired-notice a {
    margin-left: 0;
  }
  .info-page {
    padding: 40px 0;
  }
  .info-page h1 {
    font-size: 43px;
  }
  .info-page .lead {
    font-size: 17px;
    margin-bottom: 30px;
  }
  .prose h2 {
    font-size: 23px;
  }
  .prose p {
    font-size: 14px;
  }
  .admin-main {
    padding-top: 28px;
  }
  .admin-heading h1 {
    font-size: 30px;
  }
  .admin-heading .button {
    margin-top: 8px;
  }
  .admin-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 22px 0;
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 27px;
  }
  .admin-workspace {
    padding: 18px 14px;
  }
  .admin-workspace .section-heading {
    align-items: start;
  }
  .admin-workspace .section-heading h2 {
    font-size: 22px;
  }
  #admin-search {
    max-width: 100%;
    width: 100%;
    font-size: 12px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .checkbox-label span {
    flex-basis: 100%;
    padding-left: 27px;
  }
  .empty-state h1 {
    font-size: 36px;
  }
  .empty-state h3 {
    font-size: 23px;
  }
  .toast {
    font-size: 12px;
    bottom: 15px;
    text-align: center;
    min-width: 260px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    font-size: clamp(40px, 13vw, 55px);
  }
  .hero h1 > svg {
    width: 26px;
    height: 26px;
    right: -27px;
  }
}
@media (max-width: 1150px) {
  .category-nav .container {
    overflow-y: hidden;
    scrollbar-width: none;
  }
  .category-nav .container::-webkit-scrollbar {
    display: none;
  }
  .category-nav a {
    top: 0;
    min-height: 50px;
  }
}
