.productimage {
  display: block;
  overflow: hidden;
}
.productimage img {
  max-height: 100%;
  min-height: 0;
}
@media (max-width: 600px) {
  .stores { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stores .wordmark { font-size: 14px; letter-spacing: -0.5px; }
  .featuredstores, .directorystores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featuredstores .wordmark, .directorystores .wordmark { font-size: 20px; }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
  padding: 22px 0 10px;
}
.breadcrumb a {
  color: var(--green);
}
.pageheading {
  margin: 12px 0 28px;
}
.pageheading p {
  color: var(--muted);
  margin-top: 7px;
  max-width: 850px;
}
.textbutton {
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 13px;
  padding: 8px;
  min-height: 40px;
}
.textbutton:hover {
  text-decoration: underline;
}
.textlink,
.detail-link {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.full {
  width: 100%;
}
.listtoolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
  font-size: 14px;
}
.listtoolbar label {
  display: flex;
  align-items: center;
  gap: 9px;
}
.listing {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}
.filters {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  align-self: start;
}
.filterhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.filterhead h2 {
  font-size: 18px;
}
.filterfield {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin: 16px 0;
}
.filterfield select {
  width: 100%;
  margin-top: 6px;
}
select,
input:not([type="checkbox"]),
textarea {
  max-width: 100%;
  min-width: 0;
}
select {
  border: 1px solid #cbd6d0;
  border-radius: 6px;
  padding: 9px 10px;
  background: white;
  color: var(--ink);
  font-size: 14px;
  min-height: 44px;
}
.listgrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.listproducts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.listsearch {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 12px;
  margin-bottom: 16px;
}
.listsearch input {
  border: 0;
  background: transparent;
  padding: 10px 0;
  flex: 1;
  width: 100%;
  outline: none;
}
.listsearch:focus-within,
.searchbox form:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.checklabel {
  display: flex !important;
  align-items: center;
  gap: 9px;
  font-size: 14px !important;
  margin: 16px 0 !important;
}
.checklabel input {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
fieldset {
  border: 0;
  padding: 12px 0;
  margin: 0;
}
legend {
  font-size: 14px;
}
.pricerange {
  display: flex;
  gap: 8px;
}
.pricerange label {
  width: 50%;
  font-size: 12px;
}
.pricerange input {
  border: 1px solid #cbd6d0;
  border-radius: 6px;
  width: 100%;
  padding: 8px;
  font-size: 14px;
}
.loadmore {
  text-align: center;
  margin: 24px 0;
}
.loadmore .btn {
  margin-top: 12px;
}
.filtertoggle {
  display: none;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}
.chips button {
  border: 1px solid #c4decf;
  color: var(--dark);
  background: #e9f4ee;
  border-radius: 30px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  min-height: 36px;
}
.chips .icon {
  width: 14px;
  height: 14px;
}
.empty {
  padding: 48px 20px;
  text-align: center;
  background: #fff;
  border: 1px dashed #cbd6d0;
  border-radius: 12px;
}
.empty .categoryicon {
  margin: 0 auto 16px;
}
.empty p {
  margin: 10px 0 20px;
  color: var(--muted);
}
.featuredstores {
  grid-template-columns: repeat(4, 1fr);
}
.directorystores {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
}
.directorycontrols {
  display: flex;
  align-items: center;
  gap: 20px;
}
.directorycontrols .listsearch {
  flex: 1;
  margin: 0;
}
.directorycontrols label {
  font-size: 14px;
}
.alphabet {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 22px 0;
}
.alphabet button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 5px;
  min-width: 34px;
  min-height: 40px;
  font-size: 13px;
}
.alphabet button.active {
  background: var(--green);
  color: white;
}
.merchanthero {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 14px 0 24px;
}
.merchantmark {
  background: #f6f8f7;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 25px;
  min-width: 180px;
}
.merchantmark .wordmark {
  font-size: 30px;
}
.merchanthero p {
  margin-top: 8px;
}
.infogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 25px 0;
}
.prose p {
  margin: 16px 0;
  color: #455a51;
}
.prose li {
  margin: 10px 0;
}
.expired {
  margin-bottom: 25px;
}
.expired summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 40px;
}
.expired .grid {
  margin-top: 15px;
}
.state {
  display: inline-block;
  font-size: 13px;
  padding: 5px 9px;
  border-radius: 5px;
  background: #e6f4eb;
  color: var(--green);
}
.state.expired,
.state.withdrawn {
  color: #a43e36;
  background: #faeded;
}
.state.upcoming {
  color: #755309;
  background: #fff3d0;
}
.inactive {
  border-color: #ddd;
}
.inactive .benefit {
  color: var(--muted);
}
.categorydirectory .panel {
  padding: 22px;
}
.categorydirectory h2 {
  font-size: 18px;
  margin: 14px 0 4px;
}
.categorydirectory p {
  font-size: 13px;
  margin: 6px 0;
}
.categorydirectory .textlink {
  font-size: 13px;
}
.detailgrid,
.articlelayout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr);
  gap: 24px;
  margin: 14px 0 30px;
}
.offerdetail h1 {
  font-size: 28px;
  margin: 12px 0;
}
.offerdetail h2 {
  font-size: 21px;
  margin: 24px 0 12px;
}
.detailimage {
  height: 300px;
  background: #f5f7f6;
  display: grid;
  place-items: center;
  margin: -4px -4px 22px;
  border-radius: 8px;
  padding: 22px;
}
.detailimage img {
  height: 100%;
  max-height: 256px;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.detailprice {
  font-size: 32px;
  font-weight: 700;
  margin: 14px 0;
}
.detailprice del {
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
}
.detailprice .tag {
  margin-left: 12px;
}
.callout {
  background: #f0f6f2;
  border-left: 3px solid var(--green);
  padding: 14px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  color: #3b5e4d;
  margin: 18px 0;
}
.facts {
  margin: 16px 0;
}
.facts > div {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin: 0;
}
.dealaction {
  position: sticky;
  top: 42px;
}
.dealaction h2 {
  font-size: 22px;
}
.dealaction p {
  font-size: 14px;
  margin: 12px 0;
}
.dealaction .btn {
  margin: 7px 0;
}
.detailactions {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin: 12px 0;
}
.dealaction .textlink {
  display: block;
  text-align: center;
  font-size: 13px;
}
.productactions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.productactions .btn {
  flex: 1;
}
.productactions .iconbutton {
  margin-top: 13px;
}
.article-search {
  max-width: 600px;
}
.articleprose {
  padding: 32px;
  min-width: 0;
}
.articleprose h1 {
  margin: 10px 0;
}
.lead {
  color: var(--muted);
  margin: 8px 0 14px;
}
.articlehero {
  width: 100%;
  height: 290px;
  object-fit: contain;
  background: #f7f9f8;
  border-radius: 10px;
  margin: 25px 0;
}
.articleprose section {
  margin-top: 28px;
  scroll-margin-top: 40px;
}
.articleprose section h2 {
  font-size: 23px;
  margin-bottom: 12px;
}
.articleprose p {
  line-height: 1.95;
}
.toc {
  position: sticky;
  top: 42px;
}
.toc h2 {
  font-size: 20px;
  margin-bottom: 15px;
}
.toc a {
  display: block;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 14px;
}
.tablewrap {
  overflow-x: auto;
  margin: 20px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
caption {
  text-align: left;
  font-weight: 600;
  padding: 8px;
}
th,
td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}
th {
  background: #eaf4ee;
}
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.proscons > div {
  background: #f5f8f6;
  border-radius: 8px;
  padding: 18px;
}
.proscons h3 {
  font-size: 16px;
}
.proscons ul {
  padding-left: 20px;
  font-size: 14px;
}
.searchresults {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.searchresults h3 {
  margin-top: 8px;
}
.supportlayout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 28px;
  margin-bottom: 30px;
}
.supportlayout > aside {
  align-self: start;
  margin-top: 20px;
}
.demoform > label,
.demoform .formrow label {
  display: block;
  margin: 16px 0;
  font-size: 14px;
  font-weight: 500;
}
.demoform input:not([type="checkbox"]),
.demoform select,
.demoform textarea {
  display: block;
  width: 100%;
  border: 1px solid #cbd6d0;
  background: white;
  border-radius: 6px;
  padding: 10px 12px;
  margin-top: 7px;
  font-size: 16px;
}
.demoform [aria-invalid="true"] {
  border-color: #b43e35 !important;
}
.demoform .callout {
  margin-top: 0;
}
.formrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.error {
  display: block;
  color: #a63730;
  font-size: 13px;
  margin-top: 5px;
}
.form-result {
  margin-top: 18px;
  color: var(--dark);
  font-size: 14px;
}
.policy {
  max-width: 850px;
  margin: 20px auto 40px;
}
.transparency {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #edf4ef;
}
.transparency a {
  color: var(--green);
  text-decoration: underline;
}
.product .productbody h3 {
  min-height: 54px;
}
.coupon .cardtop .save {
  margin-right: -10px;
}
.coupon .cardtop {
  gap: 5px;
}
.terms {
  font-size: 14px;
  color: var(--muted);
  padding-left: 22px;
}
.terms li {
  margin: 8px 0;
}
dialog {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 24px 100px #001f2355;
  width: min(540px, calc(100% - 28px));
  max-height: 90vh;
  padding: 26px;
  color: var(--ink);
  overflow: auto;
}
dialog::backdrop {
  background: #102e246e;
}
dialog .wordmark {
  margin: 8px 0;
}
dialog h2 {
  text-align: center;
  margin: 10px 0;
}
dialog > p {
  text-align: center;
  font-size: 14px;
}
.dialoghead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.dialoghead h2 {
  font-size: 20px;
}
.codebox {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px dashed var(--green);
  background: #f1f8f4;
  border-radius: 8px;
  margin: 18px 0;
}
.codebox input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font:
    700 21px Inter,
    sans-serif;
  color: var(--dark);
}
.codebox .btn {
  white-space: nowrap;
}
.copy-feedback {
  color: var(--green);
  min-height: 24px;
}
.detail-link {
  display: block;
  text-align: center;
  font-size: 14px;
  margin: 14px 0 0;
}
#filter-dialog {
  max-width: 380px;
  margin: 0 0 0 auto;
  height: 100%;
  max-height: 100%;
  border-radius: 0;
  padding: 20px;
}
#filter-dialog .filterhead h2 {
  font-size: 18px;
}
#suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 12px 25px #17392b20;
  z-index: 30;
  max-height: 440px;
  overflow-y: auto;
  padding: 8px;
}
#suggestions a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  border-radius: 5px;
}
#suggestions a[aria-selected="true"],
#suggestions a:hover {
  background: #eaf5ef;
  color: var(--green);
}
.suggestiontype {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 12px;
  border-top: 1px solid #eef2ef;
}
.searchsubmit {
  min-width: 32px;
}
.notice {
  position: sticky;
  top: 0;
  z-index: 35;
}
.intro .eyebrow {
  margin-bottom: 3px;
  color: var(--green);
}
.articlecard img {
  object-fit: contain;
  background: #edf1ee;
  padding: 14px;
}
.tag {
  font-size: 12px;
}
.meta {
  font-size: 13px;
}
.storecard small {
  font-size: 12px;
}
@media (max-width: 1100px) {
  .listproducts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .navigation .right {
    font-size: 12px;
  }
  .listing {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 18px;
  }
  .couponbody {
    padding: 16px;
  }
  .cardfoot {
    padding: 12px 16px;
  }
  .btn.code {
    min-width: 124px;
  }
}
@media (max-width: 800px) {
  .listing {
    grid-template-columns: 1fr;
  }
  .filters {
    display: none;
  }
  .filtertoggle {
    display: inline-flex;
  }
  .detailgrid,
  .articlelayout,
  .supportlayout {
    grid-template-columns: 1fr;
  }
  .articlelayout > aside {
    grid-row: 1;
  }
  .toc {
    position: static;
  }
  .toc a {
    display: inline-block;
    margin-right: 16px;
    padding: 6px 0;
  }
  .toc h2 {
    margin: 0;
  }
  .dealaction {
    position: static;
  }
  .merchanthero {
    gap: 18px;
  }
  .merchantmark {
    min-width: 140px;
    padding: 20px;
  }
  .navigation {
    gap: 16px;
    flex-wrap: wrap;
  }
  .listproducts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .articleprose {
    padding: 24px;
  }
  .categorydirectory {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .pageheading h1 {
    font-size: 26px;
  }
  .pageheading p {
    font-size: 14px;
  }
  .pageheading {
    margin-bottom: 22px;
  }
  .listtoolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .listtoolbar label {
    margin-left: auto;
    font-size: 12px;
  }
  .listtoolbar select {
    max-width: 140px;
    padding: 8px;
    font-size: 12px;
  }
  .listtoolbar p {
    font-size: 13px;
  }
  .listgrid {
    grid-template-columns: 1fr;
  }
  .listproducts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .directorycontrols {
    flex-direction: column;
    align-items: stretch;
  }
  .directorystores {
    grid-template-columns: repeat(2, 1fr);
  }
  .featuredstores {
    grid-template-columns: repeat(2, 1fr);
  }
  .panel {
    padding: 18px;
  }
  .merchanthero {
    flex-direction: column;
    align-items: flex-start;
  }
  .merchantmark {
    width: 100%;
    padding: 12px;
  }
  .merchanthero h1 {
    font-size: 24px;
  }
  .merchanthero p {
    font-size: 14px;
  }
  .infogrid {
    grid-template-columns: 1fr;
  }
  .categorydirectory .panel {
    padding: 16px;
  }
  .categorydirectory h2 {
    font-size: 17px;
  }
  .detailprice {
    font-size: 27px;
  }
  .offerdetail h1 {
    font-size: 23px;
  }
  .detailimage {
    height: 240px;
  }
  .detailimage img {
    max-height: 196px;
  }
  .facts > div {
    grid-template-columns: 1fr 1.3fr;
    font-size: 13px;
  }
  .formrow {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .articleprose h1 {
    font-size: 26px;
  }
  .articleprose {
    padding: 18px;
  }
  .articlehero {
    height: 210px;
  }
  .articleprose section h2 {
    font-size: 21px;
  }
  .proscons {
    grid-template-columns: 1fr;
  }
  .searchresults {
    grid-template-columns: 1fr;
  }
  .categorydirectory .textlink {
    font-size: 12px;
  }
  .product .productbody h3 {
    min-height: 68px;
  }
  .productactions {
    gap: 0;
  }
  .productactions .iconbutton {
    min-width: 34px;
  }
  .productactions .btn {
    padding: 7px;
  }
  .productimage {
    height: 170px;
    padding-top: 32px;
  }
  .product .save {
    min-width: 36px;
    min-height: 36px;
  }
  .discount {
    font-size: 11px;
    top: 10px;
    left: 7px;
  }
  .detailgrid {
    gap: 16px;
  }
  .notice {
    font-size: 10px;
  }
  .brand b {
    width: 31px;
    height: 31px;
  }
  .brand {
    gap: 6px;
  }
  .intro .eyebrow {
    font-size: 11px;
  }
  .cardfoot .meta {
    font-size: 12px;
  }
  .coupon .cardtop .tag {
    font-size: 11px;
  }
  .codebox {
    padding: 12px;
    gap: 7px;
  }
  .codebox input {
    font-size: 18px;
  }
  dialog {
    padding: 20px;
  }
  .transparency {
    padding: 16px;
  }
  .footerbottom {
    font-size: 12px;
  }
}
