/* Revision 10: ShopRite offline reference composition, using existing public-library facts. */
.home-page {
  --sans: 'Interstate',Arial,sans-serif;
  --serif: 'Publico',Georgia,serif;
  font-family: var(--sans);
  font-weight: 500;
  color: #191919;
  background: #fff;
}
.home-page .shell {
  width: min(1440px,calc(100% - 8.8vw));
}
.home-page .skip-link:not(:focus) {
  clip-path: inset(50%);
}
.home-page .retail-header {
  position: relative;
  z-index: 20;
}
.home-page .retail-header-main {
  min-height: 88px;
  padding: 3px 0 10px;
  gap: 20px;
  flex-wrap: nowrap;
}
.home-page .retail-brand {
  width: 82px;
  margin: 0;
  flex-shrink: 0;
}
.home-page .retail-brand img {
  width: 82px;
  height: 72px;
  object-fit: contain;
}
.home-page .retail-search {
  height: 49px;
  border-color: #c6c6c6;
  border-radius: 2px;
  order: initial;
}
.home-page .retail-search input {
  font-size: 15px;
  padding-left: 17px;
}
.home-page .retail-search input::placeholder {
  opacity: 1;
  color: #646464;
}
.home-page .retail-search button {
  width: 48px;
  height: 46px;
}
.home-page .header-store {
  display: flex;
  background: #fcf7e9;
  font-size: 14px;
  font-weight: 700;
  min-height: 49px;
  gap: 10px;
  padding-inline: 14px;
}
.home-page .retail-nav {
  min-height: 50px;
  gap: 28px;
  padding-inline: 0;
  overflow: visible;
  scrollbar-width: none;
}
.home-page .retail-nav>a {
  min-height: 50px;
  font-size: 14px;
  gap: 6px;
  flex-shrink: 0;
}
.home-page .retail-nav>a>.icon {
  width: 16px;
  height: 16px;
}
.home-page .retail-nav>a:nth-child(2)>.icon {
  width: 12px;
  transform: rotate(90deg);
}
.department-menu>summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 50px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.department-menu>summary::-webkit-details-marker {
  display: none;
}
.department-menu>summary>.icon {
  width: 17px;
  height: 17px;
}
.department-menu>summary>.icon:last-child {
  width: 12px;
  transform: rotate(90deg);
}
.department-menu[open]>summary {
  color: #c32830;
}
.department-menu[open]>summary>.icon:last-child {
  transform: rotate(-90deg);
}
.department-panel {
  position: absolute;
  left: 4.4vw;
  right: 4.4vw;
  top: 100%;
  display: grid;
  grid-template-columns: minmax(0,1fr) 27%;
  gap: 28px;
  background: #fff;
  border: 1px solid #d8d8d8;
  box-shadow: 0 12px 18px #00000013;
  padding: 24px;
  z-index: 30;
  white-space: normal;
}
.department-links {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 6px 20px;
}
.department-links>a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 5px 3px;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.department-links .category-pictogram {
  width: 48px;
  height: 48px;
}
.department-links>a>.icon {
  width: 12px;
  margin-left: auto;
}
.department-links>a:hover {
  color: #cf2731;
  background: #fffaf0;
}
.department-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffe4a0;
  padding: 26px 18px;
  text-align: center;
}
.department-feature>h2 {
  font: 700 35px/1.07 var(--serif);
  margin-bottom: 23px;
}
.home-page .retail-button {
  min-height: 44px;
  padding: 10px 20px;
  font: 700 14px/1.25 var(--sans);
  border: 1px solid #191919;
  transition: background-color .2s,color .2s;
  border-radius: 30px;
}
.home-page .retail-button:hover {
  transform: none;
  background: #191919;
  color: white;
}
.home-page .footer-grid>div>a:not(.retail-button) {
  min-height: 44px;
  display: flex;
  align-items: center;
}
/* Decoration is clipped to the banner artwork, below its copy and controls. */
.home-page .falling-leaves {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
  --leaf-distance: 100cqh;
}
.home-page .falling-leaf {
  position: absolute;
  top: -60px;
  left: var(--x);
  width: var(--size);
  height: auto;
  aspect-ratio: 84/60;
  opacity: .88;
  animation: maple-drift var(--duration) linear var(--delay) infinite;
  will-change: transform;
}
.home-page .falling-leaf svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: maple-turn 6s ease-in-out var(--delay) infinite alternate;
  transform-origin: 50% 25%;
  filter: drop-shadow(0 2px 1px #673c171a);
}
.home-page .falling-leaf:nth-child(3n) svg {
  filter: hue-rotate(-12deg) saturate(.85) drop-shadow(0 2px 1px #673c171a);
}
@keyframes maple-drift {
  0% {
    transform: translate3d(0,-20px,0);
    opacity: 0;
  }
  8% {
    opacity: .88;
  }
  25% {
    transform: translate3d(var(--drift),calc(var(--leaf-distance) * .25 + 20px),0);
  }
  50% {
    transform: translate3d(calc(var(--drift) * -.5),calc(var(--leaf-distance) * .5 + 40px),0);
  }
  75% {
    transform: translate3d(var(--drift),calc(var(--leaf-distance) * .75 + 60px),0);
  }
  92% {
    opacity: .88;
  }
  100% {
    transform: translate3d(0,calc(var(--leaf-distance) + 120px),0);
    opacity: 0;
  }
}
@keyframes maple-turn {
  from {
    transform: rotate(calc(var(--turn) - 25deg)) rotateY(-30deg);
  }
  to {
    transform: rotate(calc(var(--turn) + 45deg)) rotateY(45deg);
  }
}
.home-page .falling-leaves.is-paused .falling-leaf,
.home-page .falling-leaves.is-paused .falling-leaf svg {
  animation-play-state: paused;
}
.home-page .retail-nav>a,
.department-menu>summary {
  font-size: 15px;
}
.home-page .retail-search input {
  font-weight: 700;
}
.coupon-home {
  padding-top: 0;
  position: relative;
  z-index: 2;
}
.home-page .retail-footer {
  position: relative;
  z-index: 2;
}
.coupon-home p {
  margin: 0;
}
.coupon-home :is(h1,h2),
.coupon-home h2,
.coupon-home h3 {
  margin: 0;
  letter-spacing: -.4px;
}
.coupon-home .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 168px;
  max-width: 100%;
  padding: 10px 22px;
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 30px;
  background: transparent;
  color: #171717;
  --pill-bg: #fff;
  --pill-border: #202020;
  font: 700 14px/1.2 var(--sans);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .15px;
  white-space: nowrap;
  transition: background .18s,color .18s;
}
.home-button:before {
  content: "";
  position: absolute;
  inset: 6px 0;
  border: 1px solid var(--pill-border);
  border-radius: 30px;
  background: var(--pill-bg);
  z-index: -1;
  transition: background .18s,border-color .18s;
}
.home-button:hover {
  --pill-bg: #1b1b1b;
  color: #fff;
}
.home-button.is-solid {
  --pill-bg: #181818;
  color: #fff;
}
.home-button.is-solid:hover {
  --pill-bg: #be2c33;
  --pill-border: #be2c33;
}
.home-hero {
  height: 395px;
  position: relative;
  background: #ffb500;
  margin-bottom: 20px;
  isolation: isolate;
}
.home-hero-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
  background: radial-gradient(ellipse at 61% 48%,#ffd763 0%,#ffbd1d 41%,#ffb000 75%);
}
.home-hero-copy {
  position: absolute;
  left: 4.3%;
  top: 13%;
  bottom: 13%;
  width: 39.2%;
  padding: 25px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #fff;
  z-index: 3;
}
.home-hero-copy :is(h1,h2) {
  font: 700 clamp(28px,2.23vw,32px)/1.16 var(--serif);
  letter-spacing: -.65px;
  text-wrap: balance;
  margin-bottom: 17px;
}
.home-hero-copy p {
  font: 500 16px/1.35 var(--sans);
  color: #333;
  margin-bottom: 20px;
}
.home-hero-copy .home-button {
  min-width: 210px;
}
.home-campaign-type {
  position: absolute;
  left: 48%;
  top: 26.5%;
  width: 37%;
  font-family: var(--serif);
  color: #1e1e1e;
  z-index: 1;
  pointer-events: none;
}
.home-campaign-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  font: 700 clamp(64px,5.45vw,84px)/.8 var(--serif);
  letter-spacing: -1.9px;
}
.home-campaign-lockup>.home-campaign-heading>span {
  display: block;
  white-space: nowrap;
}
.home-campaign-lockup>.home-campaign-heading>span:last-child {
  text-align: right;
  padding-right: 22px;
}
.home-basket-medallion {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
  background: #202020;
  border-radius: 50%;
  color: white;
}
.home-basket-medallion svg {
  width: 64px;
  height: 64px;
}
.home-campaign-type>p {
  font: 700 clamp(40px,3.6vw,54px)/1.1 var(--serif);
  margin: 34px 0 0;
  padding-left: 10px;
  letter-spacing: -.65px;
  white-space: nowrap;
  color: #202020;
}
.home-campaign-type em {
  color: #fff;
  font-style: normal;
  position: relative;
}
.home-campaign-type em:after {
  content: '';
  position: absolute;
  left: 3%;
  right: -3%;
  bottom: -8px;
  height: 8px;
  border-radius: 50%;
  border-top: 5px solid #24221d;
  transform: rotate(-5deg);
}
.home-basket {
  position: absolute;
  z-index: 2;
  right: -10%;
  top: 10%;
  width: 32%;
  height: 95%;
  object-fit: contain;
  object-position: center;
}
.home-category-shortcuts {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: 10px;
  padding: 20px 0 25px;
  margin-bottom: 35px;
  border-bottom: 0;
}
.home-category-shortcuts>a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font: 500 14px/1.3 var(--sans);
  min-width: 0;
}
.home-category-shortcuts .category-pictogram {
  width: 60px;
  height: 60px;
  transition: transform .2s;
}
.home-category-shortcuts>a:hover .category-pictogram {
  transform: translateY(-3px);
}
.home-section {
  margin: 0 0 50px;
  scroll-margin-top: 196px;
}
.home-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}
.home-heading h2 {
  font: 700 24px/1.2 var(--serif);
  letter-spacing: -.5px;
}
.home-heading>a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font: 700 14px/1.25 var(--sans);
  min-height: 44px;
  flex-shrink: 0;
}
.home-heading>a:hover {
  text-decoration: underline;
}
.home-heading>a .icon {
  width: 15px;
  height: 15px;
}
.home-heading.is-centered {
  display: grid;
  grid-template-columns: 140px minmax(0,1fr) 140px;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.home-heading.is-centered h2 {
  grid-column: 2;
}
.home-heading.is-centered>a {
  grid-column: 3;
}
.home-offer {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.home-offer-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 150px;
  margin-bottom: 12px;
}
.home-logo-link {
  display: block;
}
.home-merchant-logo {
  display: block;
  width: 120px;
  height: 80px;
  background: #fff;
  border: 1px solid #eee;
  padding: 0;
}
.home-merchant-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  border-radius: inherit;
}
.home-offer-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}
.home-offer-kind {
  display: inline-block;
  font: 700 14px/1.3 var(--sans);
  padding: 3px 7px;
  background: #dceaf5;
  color: #213d59;
  margin-bottom: 8px!important;
}
.home-offer-store {
  display: flex;
  align-items: center;
  min-height: 44px;
  font: 700 16px/1.25 var(--sans);
  color: #242424;
}
.home-offer-store:hover {
  text-decoration: underline;
}
.home-offer h3 {
  font: 500 16px/1.4 var(--sans);
  letter-spacing: 0;
  margin: 0 0 14px;
}
.home-offer h3 a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.home-offer h3 a:hover {
  text-decoration: underline;
}
.home-offer-bottom {
  margin-top: auto;
  width: 100%;
}
.home-offer .home-button {
  width: 100%;
  min-width: 0;
  padding-inline: 10px;
}
.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 24px;
}
.home-featured .home-offer-visual {
  height: 145px;
}
.home-featured .home-merchant-logo {
  width: 112px;
  height: 84px;
}
.home-featured .home-offer-kind {
  font-size: 14px;
  padding-inline: 5px;
}
.home-ending {
  background: #d5e1ed;
  padding: 26px 16px 16px;
}
.home-ending-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}
.is-dated {
  background: #fff;
  padding: 20px;
}
.is-dated .home-offer-visual {
  height: 95px;
  margin-bottom: 10px;
  justify-content: flex-start;
}
.is-dated .home-offer-copy {
  align-items: flex-start;
}
.is-dated .home-offer-kind {
  background: none;
  padding: 0;
  color: #494949;
}
.is-dated h3 {
  font: 700 20px/1.25 var(--serif);
}
.is-dated .home-merchant-logo {
  width: 110px;
  height: 75px;
}
.is-dated .home-offer-store {
  min-height: 44px;
}
.home-brands {
  padding-top: 5px;
}
.home-brands-grid {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 22px 18px;
}
.home-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 150px;
  padding: 10px 4px;
  text-align: center;
  border-bottom: 1px solid #ececec;
}
.home-brand:hover {
  background: #fffaf0;
}
.home-brand strong {
  font: 700 16px/1.3 var(--sans);
}
.home-brand>span:last-child {
  font: 500 14px/1.3 var(--sans);
  color: #5b5b5b;
}
.home-more-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 34px 34px;
}
.home-more .home-offer {
  padding-bottom: 28px;
  border-bottom: 1px solid #ddd;
}
.home-more .home-offer-visual {
  height: 115px;
  justify-content: flex-start;
}
.home-more .home-merchant-logo {
  width: 120px;
  height: 80px;
}
.home-more .home-offer-store {
  font-size: 18px;
}
.home-more .home-offer h3 {
  font-size: 18px;
}
.home-more .home-offer-kind {
  background: #edf0e6;
  color: #384928;
}
.home-daily {
  background: #e4ddcf;
  padding: 26px 16px 16px;
}
.home-articles {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}
.home-article {
  display: flex;
  flex-direction: column;
  background: #fff;
  text-align: center;
}
.home-article>img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.76;
  object-fit: cover;
}
.home-article>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 20px 18px 22px;
}
.home-article h3 {
  font: 700 20px/1.25 var(--serif);
  margin-bottom: 12px;
  text-wrap: balance;
}
.home-article p {
  font: 500 14px/1.5 var(--sans);
  color: #3e3e3e;
  margin-bottom: 18px;
  max-width: 320px;
}
.home-article .home-button {
  margin-top: auto;
  width: 200px;
}
.home-article:hover .home-button {
  --pill-bg: #191919;
  color: #fff;
}
@media(min-width:1001px) {
  .home-page .retail-header {
    position: sticky;
    top: 0;
    z-index: 30;
  }
}
@media(min-width:1600px) {
  .home-hero {
    height: 430px;
  }
  .home-hero-copy :is(h1,h2) {
    font-size: 35px;
  }
  .home-hero-copy p {
    font-size: 18px;
  }
}
@media(min-width:1001px) and (max-width:1240px) {
  .home-page .retail-nav {
    gap: 20px;
  }
  .home-page .retail-nav>a,
  .department-menu>summary {
    font-size: 14px;
  }
  .home-page .header-store {
    display: none;
  }
  .home-hero {
    height: 360px;
  }
  .home-hero-copy {
    left: 3%;
    width: 41%;
    padding-inline: 15px;
  }
  .home-hero-copy :is(h1,h2) {
    font-size: 27px;
  }
  .home-hero-copy p {
    font-size: 14px;
  }
  .home-hero-copy p br {
    display: none;
  }
  .home-campaign-type {
    left: 47%;
    top: 27%;
  }
  .home-campaign-lockup {
    font-size: 54px;
    gap: 12px;
  }
  .home-basket-medallion {
    width: 65px;
    height: 65px;
    flex-basis: 65px;
  }
  .home-basket-medallion svg {
    width: 44px;
    height: 44px;
  }
  .home-campaign-type>p {
    font-size: 36px;
    margin-top: 29px;
  }
  .home-category-shortcuts {
    grid-template-columns: repeat(12,89px);
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .home-featured-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 32px 28px;
  }
  .home-featured .home-offer-visual {
    height: 125px;
  }
  .home-featured .home-merchant-logo {
    width: 120px;
    height: 85px;
  }
  .home-heading.is-centered {
    grid-template-columns: 90px minmax(0,1fr) 90px;
  }
}
@media(max-width:1000px) {
  .home-page .retail-header-main {
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 14px;
  }
  .home-page .retail-brand {
    margin-right: auto;
  }
  .home-page .retail-search {
    flex-basis: 100%;
    order: 4;
  }
  .home-page .header-store {
    display: flex;
  }
  .home-page .retail-nav {
    overflow-x: auto;
    gap: 24px;
  }
  .home-page .retail-nav>a,
  .department-menu>summary {
    font-size: 14px;
  }
  .department-panel {
    position: fixed;
    top: var(--department-top,240px);
    left: 4.4vw;
    right: 4.4vw;
    max-height: calc(100dvh - var(--department-top,240px) - 12px);
    overflow-y: auto;
    grid-template-columns: 1fr;
  }
  .department-feature {
    display: none;
  }
  .home-hero {
    height: auto;
    background: #fff;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }
  .home-hero-stage {
    position: relative;
    inset: auto;
    width: 100%;
    height: 260px;
    flex-shrink: 0;
  }
  .home-campaign-type {
    left: 6%;
    top: 23%;
    width: 65%;
  }
  .home-campaign-lockup {
    font-size: clamp(45px,7.9vw,72px);
    gap: 14px;
  }
  .home-basket-medallion {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }
  .home-basket-medallion svg {
    width: 52px;
    height: 52px;
  }
  .home-campaign-type>p {
    font-size: clamp(32px,4.9vw,44px);
    margin-top: 24px;
    padding-left: 8px;
  }
  .home-basket {
    right: -10%;
    top: 8%;
    width: 43%;
    height: 95%;
  }
  .home-hero-copy {
    position: relative;
    inset: auto;
    margin: -16px auto 0;
    width: calc(100% - 28px);
    padding: 24px 20px 20px;
    max-width: 700px;
  }
  .home-hero-copy :is(h1,h2) {
    font-size: 29px;
    max-width: 580px;
    margin-bottom: 14px;
  }
  .home-hero-copy :is(h1,h2) br,
  .home-hero-copy p br {
    display: none;
  }
  .home-hero-copy p {
    font-size: 16px;
    max-width: 550px;
  }
  .home-category-shortcuts {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 12px 0 22px;
    scrollbar-width: thin;
    margin-bottom: 30px;
    border-bottom: 3px solid #eee;
  }
  .home-category-shortcuts>a {
    flex: 0 0 89px;
    font-size: 14px;
  }
  .home-category-shortcuts .category-pictogram {
    width: 58px;
    height: 58px;
  }
  .home-section {
    scroll-margin-top: 24px;
    margin-bottom: 38px;
  }
  .home-heading h2 {
    font-size: 26px;
  }
  .home-heading.is-centered {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 4px;
  }
  .home-heading.is-centered h2,
  .home-heading.is-centered>a {
    grid-column: auto;
  }
  .home-heading.is-centered>a {
    min-height: 44px;
  }
  .home-ending,
.home-daily {
    padding: 24px 14px 14px;
  }
  .home-featured-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 30px 24px;
  }
  .home-featured .home-offer-visual {
    height: 115px;
  }
  .home-ending-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .home-brands-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
  }
  .home-more-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 28px;
  }
  .home-article>div {
    padding: 18px 13px;
  }
  .home-article .home-button {
    min-width: 0;
    width: 100%;
    padding-inline: 10px;
  }
}
@media(max-width:700px) {
  .home-page .shell {
    width: calc(100% - 24px);
  }
  .home-page .retail-brand,
  .home-page .retail-brand img {
    width: 78px;
  }
  .home-page .retail-brand img {
    height: 66px;
  }
  .home-page .header-store {
    display: none;
  }
  .home-page .retail-search {
    height: 46px;
  }
  .home-page .retail-search input {
    font-size: 16px;
    padding-left: 12px;
  }
  .home-page .retail-search button {
    height: 44px;
  }
  .home-page .retail-nav>a,
  .department-menu>summary {
    min-height: 46px;
    font-size: 14px;
  }
  .home-page .retail-nav {
    min-height: 46px;
    gap: 22px;
  }
  .department-panel {
    left: 12px;
    right: 12px;
    padding: 14px;
  }
  .department-links {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 4px 14px;
  }
  .department-links>a {
    font-size: 14px;
    gap: 7px;
    min-height: 65px;
  }
  .department-links .category-pictogram {
    width: 38px;
    height: 38px;
  }
  .department-links>a>.icon {
    display: none;
  }
  .home-hero-stage {
    height: 220px;
  }
  .home-campaign-lockup {
    font-size: 46px;
    gap: 10px;
  }
  .home-basket-medallion {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }
  .home-basket-medallion svg {
    width: 43px;
    height: 43px;
  }
  .home-campaign-type>p {
    font-size: 32px;
    margin-top: 24px;
  }
  .home-basket {
    width: 45%;
    right: -11%;
  }
  .home-hero-copy :is(h1,h2) {
    font-size: 27px;
  }
  .home-hero-copy p {
    font-size: 15px;
  }
  .home-category-shortcuts {
    gap: 10px;
    padding-top: 12px;
    margin-bottom: 30px;
  }
  .home-category-shortcuts>a {
    flex-basis: 87px;
  }
  .home-heading h2 {
    font-size: 25px;
  }
  .home-heading {
    gap: 12px;
    margin-bottom: 22px;
  }
  .home-heading>a {
    font-size: 14px;
  }
  .home-featured-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 28px 18px;
  }
  .home-featured .home-offer-visual {
    height: 100px;
    justify-content: flex-start;
  }
  .home-featured .home-merchant-logo {
    width: 100px;
    height: 72px;
  }
  .home-featured .home-offer-store {
    font-size: 16px;
  }
  .home-featured h3 {
    font-size: 16px;
  }
  .home-offer .home-button {
    font-size: 14px;
    padding-inline: 6px;
  }
  .home-ending-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .is-dated {
    padding: 22px;
  }
  .is-dated .home-offer-visual {
    height: 82px;
    margin-bottom: 10px;
  }
  .is-dated .home-offer-store {
    font-size: 16px;
  }
  .is-dated h3 {
    font-size: 20px;
  }
  .home-brands-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px 10px;
  }
  .home-brands .home-merchant-logo {
    width: 90px;
    height: 65px;
  }
  .home-brand {
    min-height: 150px;
    padding: 8px 2px;
  }
  .home-brand strong {
    font-size: 16px;
  }
  .home-more-grid {
    gap: 24px 18px;
  }
  .home-more .home-offer-visual {
    height: 95px;
  }
  .home-more .home-merchant-logo {
    width: 100px;
    height: 70px;
  }
  .home-more .home-offer-store,
  .home-more .home-offer h3 {
    font-size: 16px;
  }
  .home-articles {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .home-article>div {
    padding: 22px 20px;
  }
  .home-article .home-button {
    max-width: 235px;
  }
  .home-page .footer-grid>div>a:not(.retail-button) {
    min-height: 44px;
  }
  .home-page .falling-leaf {
    width: calc(var(--size) * .8);
  }
  .home-page .falling-leaf:nth-child(2),
  .home-page .falling-leaf:nth-child(4),
  .home-page .falling-leaf:nth-child(6) {
    display: none;
  }
}
@media(max-width:560px) {
  .home-hero-stage {
    height: 205px;
  }
  .home-campaign-type {
    left: 5%;
    top: 23%;
    width: 75%;
  }
  .home-campaign-lockup {
    font-size: 37px;
    gap: 9px;
    letter-spacing: -.7px;
  }
  .home-basket-medallion {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }
  .home-basket-medallion svg {
    width: 35px;
    height: 35px;
  }
  .home-campaign-type>p {
    font-size: 28px;
    margin-top: 23px;
    padding-left: 3px;
  }
  .home-basket {
    width: 47%;
    right: -13%;
    top: 9%;
    height: 94%;
  }
  .home-hero-copy {
    width: calc(100% - 20px);
    padding: 22px 12px 18px;
  }
  .home-hero-copy :is(h1,h2) {
    font-size: 25px;
    line-height: 1.15;
  }
  .home-hero-copy p {
    font-size: 15px;
  }
  .home-hero-copy .home-button {
    min-width: 220px;
  }
  .home-heading:not(.is-centered) {
    align-items: flex-start;
  }
  .home-heading:not(.is-centered) h2 {
    font-size: 25px;
  }
  .home-heading>a {
    max-width: none;
    white-space: nowrap;
  }
  .home-category-shortcuts .category-pictogram {
    width: 55px;
    height: 55px;
  }
}
@media(max-width:360px) {
  .home-campaign-lockup {
    font-size: 32px;
  }
  .home-basket-medallion {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
  }
  .home-campaign-type>p {
    font-size: 24px;
  }
  .home-hero-copy :is(h1,h2) {
    font-size: 23px;
  }
  .home-hero-copy p {
    font-size: 14px;
  }
  .home-brands-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .home-featured-grid,
  .home-more-grid {
    gap: 25px 14px;
  }
  .home-featured .home-merchant-logo,
  .home-more .home-merchant-logo {
    width: 86px;
    height: 65px;
  }
  .home-offer .home-button {
    letter-spacing: 0;
    font-size: 14px;
  }
  .home-featured .home-offer-kind,
  .home-more .home-offer-kind {
    padding-inline: 4px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .home-page .falling-leaves {
    display: none;
  }
  .home-page .falling-leaf,
  .home-page .falling-leaf svg {
    animation: none;
  }
  .coupon-home * {
    transition: none;
  }
}
/* Recommendations use source identities and full titles, without oversized discount artwork. */
.is-recommended {
  background: #fff;
  padding: 18px 22px 14px;
}
.is-recommended .home-offer-visual {
  height: 94px;
  justify-content: flex-start;
  margin-bottom: 4px;
}
.is-recommended .home-merchant-logo {
  width: 116px;
  height: 78px;
}
.is-recommended .home-offer-kind {
  background: none;
  padding: 0;
  color: #4d4d4d;
}
.is-recommended .home-offer-store {
  font-size: 18px;
}
.is-recommended h3 {
  font: 700 20px/1.28 var(--serif);
}
.is-recommended .home-button {
  width: auto;
  min-width: 168px;
}
.home-ending .home-heading,
.home-daily .home-heading {
  margin-bottom: 14px;
}
.home-section {
  margin-bottom: 40px;
}
.home-category-shortcuts {
  margin-bottom: 28px;
}
.home-offer .home-merchant-logo {
  border: 0;
}
@media(max-width:1000px) {
  .home-heading h2 {
    font-size: 24px;
  }
  .is-recommended {
    padding: 16px 14px;
  }
  .is-recommended .home-button {
    min-width: 0;
    width: 100%;
  }
  .home-section {
    margin-bottom: 34px;
  }
}
@media(max-width:700px) {
  .is-recommended {
    padding: 18px 22px;
  }
  .is-recommended .home-button {
    width: auto;
    min-width: 168px;
  }
  .home-ending,
.home-daily {
    padding: 18px 12px 12px;
  }
  .home-heading h2,
  .home-heading:not(.is-centered) h2 {
    font-size: 24px;
  }
  .home-page .falling-leaf:nth-child(2),
  .home-page .falling-leaf:nth-child(4) {
    display: none;
  }
  .home-page .falling-leaf:nth-child(6) {
    display: block;
  }
  .home-page .falling-leaf {
    width: calc(var(--size) * .68);
  }
  .home-merchant-logo.is-text-mark>span {
    font-size: 16px;
    padding: 2px;
    overflow-wrap: normal;
    word-break: normal;
  }
}
/* Preserve the original enlarged Couponrite identity; seasonal campaigns now form the second screen. */
.home-page .retail-brand {
  width: 136px;
}
.home-page .retail-brand img {
  width: 136px;
  height: 100px;
}
.home-page .retail-header-main {
  min-height: 114px;
}
.home-events {
  padding: 28px 16px 16px;
  background: #ffda85;
}
.home-events .home-heading {
  margin-bottom: 25px;
}
.home-events .home-heading h2 {
  font-size: 28px;
}
.home-events .event-card-copy {
  padding-top: 23px;
}
@media(max-width:1000px) {
  .home-page .retail-brand {
    width: 120px;
  }
  .home-page .retail-brand img {
    width: 120px;
    height: 90px;
  }
  .home-page .retail-header-main {
    min-height: 108px;
  }
  .home-events .home-heading h2 {
    font-size: 26px;
  }
  .home-events {
    padding: 24px 14px 14px;
  }
}
@media(max-width:700px) {
  .home-page .retail-brand {
    width: 112px;
  }
  .home-page .retail-brand img {
    width: 112px;
    height: 84px;
  }
  .home-page .retail-header-main {
    min-height: 100px;
  }
  .home-events {
    padding: 23px 12px 12px;
  }
  .home-events .home-heading {
    margin-bottom: 18px;
  }
  .home-events .home-heading h2 {
    font-size: 25px;
  }
}
/* Larger source merchant marks remain after removing saved offers. */
.coupon-home .home-offer-visual {
  height: 144px;
  padding-top: 0;
  align-items: center;
}
.coupon-home .home-logo-link {
  width: min(100%,180px);
  max-width: 100%;
  min-width: 0;
}
.coupon-home .home-offer .home-merchant-logo {
  width: 100%;
  height: 120px;
}
.coupon-home .home-brand {
  min-height: 194px;
  padding: 14px 6px;
  gap: 10px;
}
.coupon-home .home-brand .home-merchant-logo {
  width: min(100%,180px);
  height: 120px;
}
@media(max-width:700px) {
  .coupon-home .home-offer-visual {
    height: 128px;
    padding-top: 0;
  }
  .coupon-home .home-offer .home-merchant-logo {
    height: 108px;
  }
  .coupon-home .home-brands-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px 14px;
  }
  .coupon-home .home-brand {
    min-height: 182px;
    padding: 12px 6px;
  }
  .coupon-home .home-brand .home-merchant-logo {
    height: 110px;
  }
}
/* Leave the fixed motion control clear of the footer text. */
.home-page .retail-footer--simple {
  padding-bottom: 72px;
}

/* Compact homepage masthead: keep identity, search and store access on one row. */
.home-page .retail-header-main {
  display: flex;
  flex-wrap: nowrap;
  min-height: 76px;
  height: 76px;
  padding: 8px 0;
  gap: 20px;
}
.home-page .retail-brand {
  width: 80px;
  margin: 0;
}
.home-page .retail-brand img {
  display: block;
  width: 80px;
  height: 58px;
}
.home-page .retail-search {
  flex: 1 1 0;
  order: initial;
  min-width: 0;
  height: 44px;
}
.home-page .retail-search button {
  height: 42px;
  flex-shrink: 0;
}
.home-page .header-store {
  display: flex;
  flex-shrink: 0;
  min-height: 44px;
}
.home-page .coupon-home {
  padding-top: 20px;
}
@media(max-width:700px) {
  .home-page .retail-header-main {
    height: 60px;
    min-height: 60px;
    gap: 10px;
  }
  .home-page .retail-brand,
  .home-page .retail-brand img {
    width: 60px;
  }
  .home-page .retail-brand img {
    height: 44px;
  }
  .home-page .retail-search input {
    min-width: 0;
    padding-left: 10px;
    font-size: 14px;
  }
  .home-page .retail-search button {
    width: 38px;
  }
  .home-page .header-store {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .home-page .header-store span {
    display: none;
  }
  .home-page .coupon-home {
    padding-top: 12px;
  }
}

/* Recommended offers are individual coupon tickets. */
.coupon-home .is-recommended { position: relative; display: flex; flex-direction: column; padding: 12px; border: 1px solid #dbcdb4; border-top: 3px solid #e73342; border-radius: 8px; background: #fff; }
.coupon-home .is-recommended .home-offer-visual { height: 112px; margin: 0 0 10px; justify-content: center; }
.coupon-home .is-recommended .home-logo-link { width: 100%; }
.coupon-home .is-recommended .home-merchant-logo { height: 108px; }
.coupon-home .is-recommended .home-offer-copy { display: flex; flex: 1; flex-direction: column; }
.coupon-home .is-recommended .home-offer-kind { align-self: flex-start; padding: 3px 5px; background: #fff1d3; color: #594016; font-size: 10px; letter-spacing: .06em; }
.coupon-home .is-recommended .home-offer-store { display: block; min-height: 0; margin: 0 0 8px; font: 700 14px/1.4 var(--sans); }
.coupon-home .is-recommended h3 { margin: 0 0 12px; font: 700 17px/1.3 var(--serif); overflow-wrap: anywhere; }
.coupon-home .is-recommended .home-offer-bottom { position: relative; margin-top: auto; padding-top: 10px; border-top: 2px dashed #d9cbb3; }
.coupon-home .is-recommended .home-offer-bottom::before,
.coupon-home .is-recommended .home-offer-bottom::after { content: ''; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--ticket-bg); border: 1px solid #dbcdb4; }
.coupon-home .is-recommended .home-offer-bottom::before { left: -22px; }
.coupon-home .is-recommended .home-offer-bottom::after { right: -22px; }
.coupon-home .is-recommended .home-button { width: 100%; min-width: 0; margin-top: 4px; min-height: 40px; border-radius: 4px; color: #fff; background: #222; }
.coupon-home .is-recommended .home-button:hover { background: #b92331; }
.coupon-home .is-recommended .home-button::before { display: none; }
.coupon-home .is-recommended .home-button { font-size: 12px; padding-inline: 5px; }

/* One real offer, presented as a perforated coupon in the campaign banner. */
.home-hero-copy.home-hero-ticket {
  top: 9%; bottom: 9%; --hero-ticket-pad: 22px; padding: var(--hero-ticket-pad) 26px; border-radius: 10px;
  justify-content: space-between;
  mask-image: radial-gradient(circle at 0 calc(100% - var(--hero-ticket-pad) - 78px), transparent 13px, #000 14px), radial-gradient(circle at 100% calc(100% - var(--hero-ticket-pad) - 78px), transparent 13px, #000 14px);
  mask-composite: intersect;
}
.hero-ticket-merchant { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; font-size: 15px; font-weight: 700; }
.hero-ticket-merchant img { width: 44px; height: 44px; object-fit: contain; }
.hero-ticket-kind { font-size: 10px; letter-spacing: .04em; color: #9c2430; background: #fff0f1; padding: 5px 7px; }
.home-hero-ticket :is(h1,h2) { font-size: clamp(25px,2.3vw,34px); margin: 14px 0; }
.hero-ticket-stub { height: 78px; flex-shrink: 0; box-sizing: border-box; width: 100%; border-top: 2px dashed #d8c9ac; padding-top: 12px; }
.home-hero-ticket .home-button { min-width: 190px; }
@media(max-width:1100px) and (min-width:701px) { .home-hero-copy.home-hero-ticket { --hero-ticket-pad: 16px; padding: var(--hero-ticket-pad) 20px; } .hero-ticket-merchant { gap: 6px; } .hero-ticket-kind { font-size: 9px; } }
@media(max-width:700px) { .home-hero-copy.home-hero-ticket { top: auto; bottom: auto; min-height: 285px; padding: 22px; } .home-hero-ticket :is(h1,h2) { font-size: 28px; } }
@media(max-width:1000px) {
  .home-hero-copy.home-hero-ticket { top: auto; bottom: auto; }
  .home-hero:has(.home-hero-ticket) { background: #ffb500; padding-bottom: 14px; }
}

/* Store logos keep their source aspect ratio; only the image receives a frame. */
.coupon-home .home-brand .home-merchant-logo {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 120px; border: 0; background: transparent;
}
.coupon-home .home-brand .home-merchant-logo img {
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  object-fit: contain; border: 1px solid #eee;
}
@media(max-width:700px) {
  .coupon-home .home-brand .home-merchant-logo { height: 110px; }
}
/* Compact hero ticket: group the content instead of spreading it vertically. */
.home-hero-copy.home-hero-ticket {
  top: 50%; bottom: auto; transform: translateY(-50%);
  height: auto; min-height: 0; padding: 24px 28px;
  display: flex; gap: 18px; align-items: stretch; justify-content: flex-start;
  text-align: left;
  mask-image: radial-gradient(circle at 0 calc(100% - 82px), transparent 13px, #000 14px), radial-gradient(circle at 100% calc(100% - 82px), transparent 13px, #000 14px);
}
.home-hero-ticket .hero-ticket-merchant { justify-content: flex-start; gap: 12px; }
.home-hero-ticket .hero-ticket-merchant img { width: 58px; height: 58px; }
.home-hero-ticket .hero-ticket-kind { margin-left: auto; }
.home-hero-ticket :is(h1,h2) { font-size: clamp(28px,2.5vw,40px); line-height: 1.12; max-width: 18ch; margin: 0; text-wrap: balance; }
.home-hero-ticket .hero-ticket-stub { height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; }
.home-hero-ticket .home-button { min-width: 130px; padding-inline: 16px; flex-shrink: 0; }
@media(max-width:1000px) {
  .home-hero-copy.home-hero-ticket { top: auto; bottom: auto; transform: none; padding: 22px 24px; mask-image: radial-gradient(circle at 0 calc(100% - 80px), transparent 13px, #000 14px), radial-gradient(circle at 100% calc(100% - 80px), transparent 13px, #000 14px); }
  .home-hero-ticket :is(h1,h2) { max-width: 24ch; }
}
@media(max-width:400px) {
  .home-hero-copy.home-hero-ticket { padding-inline: 20px; gap: 16px; }
  .home-hero-ticket .hero-ticket-merchant { gap: 8px; }
  .home-hero-ticket .hero-ticket-merchant img { width: 48px; height: 48px; }
  .home-hero-ticket .home-button { min-width: 116px; font-size: 12px; }
}

/* Limited-time promotions sit directly below the category shortcuts. */
.coupon-home .home-ending { background: #fff7f3; padding: 22px; border: 1px solid #f2d8ce; border-top: 3px solid #d72e3e; border-radius: 8px; }
.home-ending .home-heading { margin-bottom: 18px; }
.home-ending .home-heading h2 { display: flex; align-items: center; gap: 10px; color: #a92532; font-size: 28px; }
.home-ending .home-heading h2 .icon { width: 26px; height: 26px; }
.coupon-home .home-ending-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.coupon-home .is-dated { padding: 16px; border: 1px solid #ebded8; border-radius: 6px; }
.coupon-home .is-dated .home-offer-visual { height: 90px; margin-bottom: 12px; justify-content: flex-start; }
.coupon-home .is-dated .home-logo-link { width: 110px; }
.coupon-home .is-dated .home-merchant-logo { height: 86px; }
.coupon-home .is-dated .home-offer-kind { font-size: 10px; letter-spacing: .06em; color: #70605a; }
.coupon-home .is-dated .home-offer-merchant-name {font-size: 12px;letter-spacing: normal;text-transform: none;}
.coupon-home .is-dated h3 { font-size: 19px; line-height: 1.3; margin-bottom: 16px; }
.coupon-home .is-dated .home-button { background: #c92839; color: white; border-radius: 4px; min-height: 40px; margin-top: 6px; }
.coupon-home .is-dated .home-button::before { display: none; }
.coupon-home .is-dated .home-button:hover { background: #a51e2c; }
@media(max-width:1000px) { .coupon-home .home-ending-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .coupon-home .home-ending { padding: 16px 12px; } .home-ending .home-heading h2 { font-size: 24px; } .coupon-home .home-ending-grid { gap: 12px; } .coupon-home .is-dated { padding: 12px; } .coupon-home .is-dated h3 { font-size: 17px; } }
@media(max-width:360px) { .coupon-home .home-ending-grid { grid-template-columns: 1fr; } }

/* Approved minimal recommendation tickets. */
.coupon-home .is-recommended { overflow: hidden; padding: 16px 12px 12px; border: 1px solid #d6d8dc; border-radius: 6px; }
.coupon-home .is-recommended .home-offer-visual { height: 100px; margin-bottom: 18px; }
.coupon-home .is-recommended .home-logo-link { width: 108px; max-width: 100%; }
.coupon-home .is-recommended .home-merchant-logo { height: 100px; }
.coupon-home .is-recommended .home-offer-copy { align-items: stretch; text-align: center; }
.coupon-home .is-recommended h3 { font: 600 18px/1.3 var(--sans); margin: 0 0 12px; min-height: 0; }
.coupon-home .is-recommended h3 a { justify-content: center; min-height: 0; }
.coupon-home .is-recommended .home-offer-bottom { border-top: 1px dashed #d6d8dc; padding-top: 10px; }
.coupon-home .is-recommended .home-offer-bottom::before,
.coupon-home .is-recommended .home-offer-bottom::after { top: -10px; border-color: #d6d8dc; background: #fff; }
.coupon-home .is-recommended .home-button { font: 700 13px/1.2 var(--sans); min-height: 42px; background: #df263b; color: #fff; border-radius: 5px; }
.coupon-home .is-recommended .home-button:hover { background: #ba1d30; }
@media(max-width:700px) { .coupon-home .is-recommended h3 { font-size: 17px; } }

/* Shared title treatment for every homepage content section. */
.coupon-home .home-section .home-heading {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 20px; text-align: left; margin: 0 0 20px;
}
.coupon-home .home-section .home-heading h2 {
  margin: 0; font: 700 28px/1.25 var(--serif); letter-spacing: -.4px;
  text-align: left; min-width: 0; flex: 1 1 260px;
}
.coupon-home .home-section .home-heading > a { margin-left: auto; font: 600 14px/1.25 var(--sans); }
@media(max-width:700px) {
  .coupon-home .home-section .home-heading { margin-bottom: 16px; gap: 4px 12px; }
  .coupon-home .home-section .home-heading h2 { font-size: 24px; flex-basis: 200px; }
  .coupon-home .home-section .home-heading > a { font-size: 13px; }
}

/* Serif section titles; card content keeps the existing sans-serif family. */
.coupon-home .home-hero-ticket :is(h1,h2),
.coupon-home .home-offer h3,
.coupon-home .event-card-title h3,
.coupon-home .home-article h3 {
  font-family: var(--sans);
}

/* Compact merchant tickets for More Coupons for You. */
.coupon-home .home-more-grid { gap: 20px; }
.coupon-home .home-more .is-compact {
  padding: 18px 16px 16px; border: 1px solid #d6d8dc;
  border-radius: 8px; background: #fff; overflow: hidden;
}
.coupon-home .is-compact .home-offer-visual {
  display: flex; align-items: center; justify-content: flex-start;
  height: auto; min-height: 64px; gap: 12px; margin-bottom: 16px;
}
.coupon-home .is-compact .home-logo-link { width: 72px; flex: 0 0 72px; }
.coupon-home .is-compact .home-merchant-logo { width: 72px; height: 64px; }
.coupon-home .is-compact .home-offer-store {
  min-height: 0; font: 400 13px/1.3 var(--sans); color: #727272; overflow-wrap: anywhere;
}
.coupon-home .is-compact .home-offer-copy { align-items: stretch; }
.coupon-home .is-compact h3 { font: 700 18px/1.4 var(--sans); color: #222; margin: 0 0 18px; }
.coupon-home .is-compact h3 a { min-height: 0; }
.coupon-home .is-compact .home-offer-bottom { position: relative; border-top: 1px dashed #d6d8dc; padding-top: 12px; }
.coupon-home .is-compact .home-offer-bottom::before,
.coupon-home .is-compact .home-offer-bottom::after {
  content: ''; position: absolute; top: -10px; width: 18px; height: 18px;
  border: 1px solid #d6d8dc; border-radius: 50%; background: #fff;
}
.coupon-home .is-compact .home-offer-bottom::before { left: -26px; }
.coupon-home .is-compact .home-offer-bottom::after { right: -26px; }
.coupon-home .is-compact .home-button { min-height: 42px; border: 0; border-radius: 5px; background: #df263b; color: #fff; font: 700 13px/1.2 var(--sans); }
.coupon-home .is-compact .home-button::before { display: none; }
.coupon-home .is-compact .home-button:hover { background: #ba1d30; }
@media(max-width:1000px) { .coupon-home .home-more-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .coupon-home .home-more-grid { grid-template-columns: 1fr; gap: 16px; } }

/* Refined open layout for the featured merchant offers. */
.coupon-home .home-featured-grid { gap: 24px; }
.coupon-home .home-featured .home-offer-visual {
  height: 116px; margin-bottom: 18px;
  border-bottom: 1px solid #eeeeef; padding-bottom: 16px;
}
.coupon-home .home-featured .home-merchant-logo {
  width: 104px; height: 96px; border: 0; background: transparent;
}
.coupon-home .home-featured .home-offer-kind {
  font: 600 10px/1.4 var(--sans); letter-spacing: .05em;
  padding: 4px 7px; border-radius: 3px; background: #f0f3f6;
  color: #4b5f70; margin-bottom: 10px!important;
}
.coupon-home .home-featured .home-offer-store {
  min-height: 0; font: 400 13px/1.35 var(--sans); color: #727272; margin-bottom: 8px;
}
.coupon-home .home-featured h3 {
  font: 700 17px/1.5 var(--sans); color: #222; margin: 0 0 16px;
}
.coupon-home .home-featured h3 a { min-height: 0; align-items: flex-start; }
.coupon-home .home-featured .home-button {
  min-height: 38px; font: 700 12px/1.2 var(--sans);
  border-radius: 5px; background: #202124; color: #fff;
  transition: background .16s ease;
}
.coupon-home .home-featured .home-button::before { display: none; }
.coupon-home .home-featured .home-button:hover { background: #c92839; }
@media(max-width:700px) {
  .coupon-home .home-featured-grid { gap: 24px 16px; }
  .coupon-home .home-featured .home-offer-visual { height: 104px; margin-bottom: 14px; }
  .coupon-home .home-featured .home-merchant-logo { width: 96px; height: 84px; }
}

/* Even spacing and matching controls below the holiday artwork. */
.coupon-home .home-events .event-card-copy {
  padding: 24px 22px; gap: 18px; align-items: center;
  justify-content: center;
}
.coupon-home .home-events .event-card-title { gap: 8px; }
.coupon-home .home-events .event-card-title h3 { line-height: 1.3; }
.coupon-home .home-events .event-card-title > span { color: #707070; }
.coupon-home .home-events .event-card-link {
  margin-top: 0; width: 220px; min-height: 44px;
}
@media(max-width:700px) {
  .coupon-home .home-events .event-card-copy { padding: 20px 16px; gap: 16px; }
}

/* More editorial offers, followed by a compact merchant directory. */
.coupon-home .home-featured-grid { row-gap: 32px; }
.coupon-home .home-brands-grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.coupon-home .home-brand {
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start;
  gap: 10px; padding: 12px; min-height: 80px; text-align: left;
  border: 1px solid #e8e8e8; border-radius: 6px; background: #fff;
}
.coupon-home .home-brand .home-merchant-logo {
  width: 48px; height: 48px; flex: 0 0 48px;
}
.coupon-home .home-brand .home-merchant-logo img { border: 0; }
.coupon-home .home-brand .home-brand-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.coupon-home .home-brand-info strong { font: 600 13px/1.3 var(--sans); color: #252525; overflow-wrap: anywhere; }
.coupon-home .home-brand-info > span { font: 400 12px/1.3 var(--sans); color: #727272; }
.coupon-home .home-brand:hover { border-color: #c6c6c6; background: #fafafa; }
@media(max-width:1100px) { .coupon-home .home-brands-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:700px) { .coupon-home .home-brands-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; } .coupon-home .home-brand { padding: 10px; gap: 8px; } }
@media(max-width:360px) { .coupon-home .home-brands-grid { grid-template-columns: 1fr; } }

/* Keep the editorial offer rows aligned with bounded copy. */
.coupon-home .home-featured .home-offer-store {
  display: block; width: 100%; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; height: 1.35em;
}
.coupon-home .home-featured h3 { width: 100%; height: 3em; }
.coupon-home .home-featured h3 a {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; max-height: 3em; overflow-wrap: anywhere;
}

/* A light merchant directory instead of individual outlined tiles. */
.coupon-home .home-brands-grid {
  grid-template-columns: repeat(6,minmax(0,1fr)); gap: 0 24px;
}
.coupon-home .home-brand {
  min-height: 90px; padding: 16px 0; gap: 12px;
  border: 0; border-bottom: 1px solid #e9e9e9; border-radius: 0;
  background: transparent;
}
.coupon-home .home-brand .home-merchant-logo { width: 52px; height: 52px; flex-basis: 52px; }
.coupon-home .home-brand .home-brand-info { gap: 5px; }
.coupon-home .home-brand-info strong {
  font-size: 14px; line-height: 1.35; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.coupon-home .home-brand-info > span { font-size: 12px; }
.coupon-home .home-brand:hover { background: transparent; border-color: #c92839; }
.coupon-home .home-brand:hover strong { color: #b72234; }
@media(max-width:1100px) { .coupon-home .home-brands-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:700px) { .coupon-home .home-brands-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; } .coupon-home .home-brand { gap: 10px; } .coupon-home .home-brand .home-merchant-logo { width: 44px; height: 44px; flex-basis: 44px; } }
@media(max-width:360px) { .coupon-home .home-brands-grid { grid-template-columns: 1fr; } }

/* Give the merchant directory its own distinct, calm color panel. */
.coupon-home .home-brands {
  background: #edf3f7; padding: 28px 24px; border-radius: 8px;
}
.coupon-home .home-brands-grid { gap: 0 20px; }
.coupon-home .home-brands .home-brand {
  min-height: 112px; gap: 12px; padding: 18px 0;
  border-bottom-color: #dbe4eb;
}
.coupon-home .home-brands .home-brand .home-merchant-logo {
  width: 72px; height: 72px; flex-basis: 72px; background: #fff;
}
.coupon-home .home-brands .home-brand-info strong { font-size: 14px; }
.coupon-home .home-brands .home-brand:hover { border-bottom-color: #b72234; }
@media(max-width:700px) {
  .coupon-home .home-brands { padding: 22px 16px; }
  .coupon-home .home-brands-grid { gap: 0 14px; }
  .coupon-home .home-brands .home-brand { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; padding: 16px 0; }
  .coupon-home .home-brands .home-brand .home-merchant-logo { width: 72px; height: 72px; flex-basis: 72px; }
}

/* Mobile layouts: readable offers and a denser merchant directory. */
@media(max-width:700px) {
  .coupon-home .home-ending-grid { grid-template-columns: 1fr; }
  .coupon-home .is-dated { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 12px; padding: 14px; }
  .coupon-home .is-dated .home-offer-visual { height: 64px; margin: 0; }
  .coupon-home .is-dated .home-logo-link,
  .coupon-home .is-dated .home-merchant-logo { width: 64px; height: 64px; }
  .coupon-home .is-dated .home-offer-copy { width: 100%; }
  .coupon-home .is-dated h3 { font-size: 16px; margin-bottom: 10px; }
  .coupon-home .is-dated h3 a { min-height: 0; }
  .coupon-home .is-dated .home-offer-bottom { width: 100%; }
  .coupon-home .is-dated .home-button { min-height: 44px; }
  .coupon-home .home-events .event-card-copy { align-items: center; text-align: center; padding: 18px 16px; gap: 14px; }
  .coupon-home .home-events .event-card-title { flex-direction: column; justify-content: center; width: 100%; gap: 6px; }
  .coupon-home .home-events .event-card-link { align-self: center; margin-inline: auto; }
  .coupon-home .home-featured-grid { gap: 20px 14px; }
  .coupon-home .home-featured .home-offer-visual { height: 72px; padding-bottom: 8px; margin-bottom: 8px; }
  .coupon-home .home-featured .home-merchant-logo { width: 68px; height: 64px; }
  .coupon-home .home-featured .home-offer-kind { font-size: 9px; padding: 3px 5px; margin-bottom: 6px!important; }
  .coupon-home .home-featured .home-offer-store { font-size: 12px; margin-bottom: 5px; }
  .coupon-home .home-featured h3 { font-size: 15px; line-height: 1.4; height: 2.8em; margin-bottom: 10px; }
  .coupon-home .home-featured h3 a { max-height: 2.8em; }
  .coupon-home .home-brands { padding: 20px 12px; }
  .coupon-home .home-brands .home-heading h2 { flex-basis: auto; }
  .coupon-home .home-brands-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 10px; }
  .coupon-home .home-brands .home-brand { align-items: center; text-align: center; padding: 12px 0; gap: 8px; }
  .coupon-home .home-brands .home-brand .home-merchant-logo { width: 64px; height: 64px; flex-basis: 64px; }
  .coupon-home .home-brands .home-brand-info { width: 100%; gap: 4px; }
  .coupon-home .home-brands .home-brand-info strong { font-size: 12px; height: 2.7em; }
  .coupon-home .home-brands .home-brand-info > span { font-size: 11px; }
  .home-page .retail-footer.retail-footer--simple { padding-bottom: 20px; }
}

/* Clear separation between the homepage's lower content sections. */
.coupon-home .home-section + .home-section { margin-top: 64px; }
@media(max-width:700px) {
  .coupon-home .home-section + .home-section { margin-top: 48px; }
}

/* Mobile refinement: a simpler masthead and balanced information density. */
@media(max-width:700px) {
  .home-page .retail-header-main { height: 58px; min-height: 58px; gap: 12px; }
  .home-page .retail-header-main .header-store { display: none; }
  .home-page .retail-search { flex: 1; width: auto; height: 38px; }
  .home-page .retail-search input { font-size: 13px; }
  .home-page .retail-nav { min-height: 40px; height: auto; gap: 20px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .home-page .retail-nav::-webkit-scrollbar { display: none; }
  .home-page .retail-nav > * { flex-shrink: 0; }
  .home-page .retail-nav > a,
  .home-page .retail-nav .department-menu > summary { font-size: 14px; min-height: 40px; padding-block: 8px; white-space: nowrap; }
  .home-page .retail-nav > a[href="/#featured"],
  .home-page .retail-nav > a[href="/#daily"] { display: flex; }
  .coupon-home .home-category-shortcuts > a { min-width: 0; }
  .coupon-home .home-category-shortcuts > a > span:last-child {
    display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .coupon-home .is-dated { grid-template-columns: 88px minmax(0,1fr); gap: 6px 12px; }
  .coupon-home .is-dated .home-offer-copy { display: contents; }
  .coupon-home .is-dated .home-offer-visual { grid-column: 1; grid-row: 1 / 4; height: 88px; align-self: center; }
  .coupon-home .is-dated .home-logo-link,
  .coupon-home .is-dated .home-merchant-logo { width: 88px; height: 88px; }
  .coupon-home .is-dated .home-offer-kind { grid-column: 2; align-self: end; margin: 0!important; }
  .coupon-home .is-dated h3 { grid-column: 2; margin: 0; align-self: start; }
  .coupon-home .is-dated .home-offer-bottom { display: contents; }
  .coupon-home .is-dated .home-offer-bottom .offer-expiry { grid-column: 2;grid-row: 3;justify-content: flex-start;margin: 0;font-size: 12px;gap: 4px; }
  .coupon-home .is-dated .home-button { grid-column: 1 / -1;grid-row: 4;width: 100%; margin-top: 8px; }
  .coupon-home .home-brands .home-heading { margin-bottom: 8px; }
  .coupon-home .home-brands .home-brand { padding: 10px 0; gap: 6px; }
  .coupon-home .home-brands .home-brand-info { gap: 3px; }
  .coupon-home .home-brands .home-brand-info strong { font-size: 14px; line-height: 1.25; height: auto; }
  .coupon-home .home-brands .home-brand-info > span { font-size: 12px; }
}

/* Offer titles use the available line width instead of balancing short lines. */
.coupon-home .home-offer h3 { text-wrap: wrap; }

@media (max-width: 700px) {
  .coupon-home .home-brands .home-brand .home-merchant-logo {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
    max-width: 100%;
  }
  .coupon-home .home-brands .home-brand-info strong {
    display: block;
    width: 100%;
    height: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.coupon-home .is-compact .home-offer-store-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 6px;
}
.coupon-home .is-compact .home-offer-store-meta .offer-expiry {
  margin: 0 !important;
  flex-wrap: wrap;
}

.home-category-carousel {position:relative;}
.home-category-carousel .home-category-shortcuts {scrollbar-width:none;border-bottom:0;padding-bottom:12px;}
.home-category-carousel .home-category-shortcuts::-webkit-scrollbar {display:none;}
.home-category-carousel>button {
  position:absolute;top:42px;z-index:2;width:28px;height:28px;padding:5px;
  display:grid;place-items:center;border:1px solid #e7e8ea;border-radius:50%;
  background:rgb(255 255 255 / 94%);color:#858b92;cursor:pointer;
  box-shadow:0 1px 4px rgb(0 0 0 / 6%);
}
.home-category-carousel>button[hidden] {display:none;}
.home-category-carousel>button:disabled {opacity:0;pointer-events:none;}
.home-category-carousel>button:hover {color:#343a40;background:#f5f6f7;}
.home-category-carousel>button .icon {width:16px;height:16px;}
.category-scroll-prev {left:-8px;}
.category-scroll-next {right:-8px;}
.category-scroll-prev .icon {transform:rotate(180deg);}

.coupon-home .home-article h3 {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  text-overflow:ellipsis;
  min-height:0;
}

/* Keep tablet content and masthead aligned with a compact outer gutter. */
@media (min-width: 701px) and (max-width: 1100px) {
  .home-page .shell {
    width: calc(100% - 32px);
  }
}

/* Promotional tickets: warm accents without enlarged discount callouts. */
.coupon-home .home-ending {
  background: radial-gradient(ellipse at top right,#fff0ce 0,transparent 42%),#fff8f1;
  border-color: #f1d8bf;
  border-top-color: #d72e3e;
}
.coupon-home .home-ending .is-dated {
  position: relative;
  overflow: hidden;
  border: 1px solid #f0dfcb;
  border-radius: 12px;
  --ticket-seam: 74px;
  background: repeating-linear-gradient(to right,#e6cdb0 0 5px,transparent 5px 9px) left calc(100% - var(--ticket-seam)) / 100% 1px no-repeat,#fff;
  box-shadow: 0 3px 0 #f4e3ce,0 6px 16px rgb(117 71 24 / 7%);
}
.coupon-home .home-ending .is-dated::before,
.coupon-home .home-ending .is-dated::after {
  content: '';
  position: absolute;
  bottom: calc(var(--ticket-seam) - 9px);
  width: 18px;
  height: 18px;
  border: 1px solid #f0dfcb;
  border-radius: 50%;
  background: #fff8f1;
  z-index: 1;
  pointer-events: none;
}
.coupon-home .home-ending .is-dated::before { left: -10px; }
.coupon-home .home-ending .is-dated::after { right: -10px; }
.coupon-home .home-ending .is-dated .home-button {
  position: relative;
  overflow: visible;
  margin-top: 26px;
  min-height: 42px;
  border: 1px solid #c91d34;
  border-radius: 8px;
  background-color: #c91e35;
  background-image: linear-gradient(rgb(255 78 105 / 35%),transparent);
  transition: background-color .18s ease, border-color .18s ease;
  box-shadow: 0 3px 0 #a9172c;
  gap: 10px;
}
.coupon-home .home-ending .is-dated .home-button::before {
  content: '';
  display: block;
  position: absolute;
  top: -17px;
  left: -17px;
  right: -17px;
  width: auto;
  height: 0;
  border-top: 1px dashed #e6cdb0;
  background: none;
  transform: none;
}
.coupon-home .home-ending .is-dated .home-button:hover {
  background-color: #ad182c;
  background-image: linear-gradient(rgb(255 78 105 / 35%),transparent);
}
@media(prefers-reduced-motion:reduce) {
  .coupon-home .home-ending .is-dated .home-button { transition: none; }
}
.coupon-home .home-ending .is-dated .home-button .icon { width: 18px; height: 18px; }
@media(max-width:700px) {
  .coupon-home .home-ending .is-dated .home-button { margin-top: 22px; }
  .coupon-home .home-ending .is-dated::before,
  .coupon-home .home-ending .is-dated::after { bottom: calc(var(--ticket-seam) - 9px); }
  .coupon-home .home-ending .is-dated { --ticket-seam: 72px; }
}
.coupon-home .home-ending .is-dated .home-button::before {
  bottom: auto;
  border: 0;
  border-top: 1px dashed #e6cdb0;
  border-radius: 0;
}

.coupon-home .home-ending .is-dated .home-button::before { display: none; }

/* Coupon Spotlight: compact white tickets with an integrated action area. */
.coupon-home .home-featured-grid { gap: 20px 16px; }
.coupon-home .home-featured .home-offer {
  position: relative;
  padding: 16px;
  border: 1px solid #e2e3e6;
  border-radius: 10px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.coupon-home .home-featured .home-offer-visual {
  height: 100px;
  padding: 0;
  margin: 0 0 16px;
  border: 0;
  justify-content: flex-start;
}
.coupon-home .home-featured .home-merchant-logo { width: 96px; height: 96px; }
.coupon-home .home-featured .home-offer-kind {
  background: #f1f3f5;
  border: 0;
  border-radius: 4px;
  padding: 4px 7px;
  color: #626b75;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .4px;
  margin-bottom: 10px!important;
}
.coupon-home .home-featured h3 {
  width: 100%;
  height: 2.8em;
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 16px;
}
.coupon-home .home-featured h3 a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 0;
  max-height: 2.8em;
}
.coupon-home .home-featured .home-offer-bottom {
  position: relative;
  width: 100%;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #eceef0;
}
.coupon-home .home-featured .home-offer-bottom::before,
.coupon-home .home-featured .home-offer-bottom::after {
  content: '';
  position: absolute;
  top: -6px;
  width: 10px;
  height: 10px;
  border: 1px solid #e2e3e6;
  border-radius: 50%;
  background: #fff;
  transition: border-color .18s ease;
}
.coupon-home .home-featured .home-offer-bottom::before { left: -22px; clip-path: inset(0 0 0 5px); }
.coupon-home .home-featured .home-offer-bottom::after { right: -22px; clip-path: inset(0 5px 0 0); }
.coupon-home .home-featured .home-button { min-height: 40px; background: #202124; }
@media (hover: hover) and (pointer: fine) {
  .coupon-home .home-featured .home-offer:hover { border-color: #ed1b3a; box-shadow: 0 4px 14px rgb(40 30 35 / 7%); }
  .coupon-home .home-featured .home-offer:hover .home-offer-bottom::before,
  .coupon-home .home-featured .home-offer:hover .home-offer-bottom::after { border-color: #ed1b3a; }
}
@media (max-width: 700px) {
  .coupon-home .home-featured-grid { gap: 16px 12px; }
  .coupon-home .home-featured .home-offer { padding: 12px; }
  .coupon-home .home-featured .home-offer-visual { height: 80px; margin-bottom: 14px; }
  .coupon-home .home-featured .home-merchant-logo { width: 80px; height: 80px; }
  .coupon-home .home-featured h3 { font-size: 15px; }
  .coupon-home .home-featured .home-offer-bottom::before { left: -18px; }
  .coupon-home .home-featured .home-offer-bottom::after { right: -18px; }
}
@media (prefers-reduced-motion: reduce) {
  .coupon-home .home-featured .home-offer,
  .coupon-home .home-featured .home-offer-bottom::before,
  .coupon-home .home-featured .home-offer-bottom::after { transition: none; }
}
@media (min-width: 701px) and (max-width: 1400px) {
  .coupon-home .home-featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* System sans-serif navigation, including controls with their own font rules. */
.home-page .retail-nav.shell,
.home-page .retail-nav.shell a,
.home-page .retail-nav.shell button,
.home-page .retail-nav.shell summary {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

/* More Coupons: the entire ticket owns the hover feedback. */
.coupon-home .home-more .is-compact {
  transition: border-color .18s ease, box-shadow .18s ease;
}
.coupon-home .home-more .is-compact .home-offer-bottom::before,
.coupon-home .home-more .is-compact .home-offer-bottom::after {
  transition: border-color .18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .coupon-home .home-more .is-compact:hover {
    border-color: #ed1b3a;
    box-shadow: 0 4px 14px rgb(40 30 35 / 7%);
  }
  .coupon-home .home-more .is-compact:hover .home-offer-bottom::before,
  .coupon-home .home-more .is-compact:hover .home-offer-bottom::after {
    border-color: #ed1b3a;
  }
  .coupon-home .home-more .is-compact:hover .home-button {
    background: #ba1d30;
  }
}
.coupon-home .home-more .is-compact:focus-within { border-color: #ed1b3a; }
@media (prefers-reduced-motion: reduce) {
  .coupon-home .home-more .is-compact,
  .coupon-home .home-more .is-compact .home-offer-bottom::before,
  .coupon-home .home-more .is-compact .home-offer-bottom::after { transition: none; }
}

/* Featured brand showcases: quiet image stages and compact dark actions. */
.coupon-home .home-featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.coupon-home .home-featured .home-offer { padding: 0; overflow: hidden; }
.coupon-home .home-featured .home-offer-visual {
  height: 180px;
  margin: 0;
  padding: 20px;
  background: #fafafb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coupon-home .home-featured .home-logo-link { width: 100%; display: flex; justify-content: center; }
.coupon-home .home-featured .home-merchant-logo { width: 160px; max-width: 100%; height: 132px; border: 0; background: transparent; }
.coupon-home .home-featured .home-merchant-logo img { width: 100%; height: 100%; object-fit: contain; }
.coupon-home .home-featured .home-offer-copy { padding: 18px; flex: 1; }
.coupon-home .home-featured h3 { height: 2.8em; min-height: 2.8em; margin-bottom: 20px; font-size: 18px; line-height: 1.4; }
.coupon-home .home-featured h3 a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-height: 2.8em; overflow: hidden; }
.coupon-home .home-featured .home-offer-bottom { border: 0; padding: 0; }
.coupon-home .home-featured .home-offer-bottom::before,
.coupon-home .home-featured .home-offer-bottom::after { display: none; }
.coupon-home .home-featured .home-button {
  width: auto;
  align-self: flex-start;
  display: inline-flex;
  min-height: 42px;
  padding: 0 18px;
  gap: 12px;
  border: 0;
  border-radius: 6px;
  background: #252629;
  color: #fff;
  box-shadow: none;
  font-size: 13px;
}
.coupon-home .home-featured .home-button::before { display: none; }
.coupon-home .home-featured .home-button::after { content: '\2192'; font-size: 19px; }
.coupon-home .home-featured .home-button:hover { background: #424449; }
@media (max-width: 1000px) { .coupon-home .home-featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .coupon-home .home-featured-grid { grid-template-columns: minmax(0, 1fr); }
  .coupon-home .home-featured h3 { font-size: 16px; }
  .coupon-home .home-featured .home-offer-visual { height: 132px; padding: 14px; }
  .coupon-home .home-featured .home-merchant-logo { height: 104px; }
  .coupon-home .home-featured .home-offer-copy { padding: 12px; }
  .coupon-home .home-featured .home-button { padding: 0 12px; min-height: 44px; gap: 8px; }
}

/* Denser featured showcases with less unused space. */
.coupon-home .home-featured .home-offer-visual { height: 144px; padding: 12px; }
.coupon-home .home-featured .home-merchant-logo { height: 120px; }
.coupon-home .home-featured .home-offer-copy { padding: 14px; }
.coupon-home .home-featured h3 { margin-bottom: 12px; }
@media (min-width: 1401px) {
  .coupon-home .home-featured-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .coupon-home .home-featured .home-offer-visual { height: 116px; padding: 10px; }
  .coupon-home .home-featured .home-merchant-logo { height: 96px; }
  .coupon-home .home-featured .home-offer-copy { padding: 12px; }
}

/* Featured offer ticket action. */
.coupon-home .home-featured .home-button {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: 0 14px 0 18px;
  min-height: 44px;
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #a31b32;
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0;
}
.coupon-home .home-featured .home-button::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  width: auto;
  height: auto;
  opacity: 1;
  border: 0;
  border-radius: 0;
  transform: none;
  animation: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='44' viewBox='0 0 180 44' preserveAspectRatio='none'%3E%3Cpath d='M6 .75H174Q179.25 .75 179.25 6V15A7 7 0 0 0 179.25 29V38Q179.25 43.25 174 43.25H6Q.75 43.25 .75 38V29A7 7 0 0 0 .75 15V6Q.75 .75 6 .75Z' fill='%23fff0f2' stroke='%23d51e3c' stroke-width='1.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.coupon-home .home-featured .home-button::after {
  content: '\2192';
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding-left: 12px;
  border-left: 1px dashed #d51e3c;
  color: #a31b32;
  font-size: 20px;
}
.coupon-home .home-featured .home-button:hover { background: transparent; color: #801326; }
.coupon-home .home-featured .home-button:hover::before { filter: brightness(.97); }
.coupon-home .home-featured .home-button:focus-visible { outline: 2px solid #d51e3c; outline-offset: 3px; }

/* Mobile featured offers with a compact trailing action. */
@media (max-width: 700px) {
  .coupon-home .home-featured-grid { gap: 12px; }
  .coupon-home .home-featured .home-offer {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 8px 12px;
    padding: 14px;
  }
  .coupon-home .home-featured .home-offer-visual {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 72px;
    height: 72px;
    padding: 0;
    margin: 0;
    background: transparent;
  }
  .coupon-home .home-featured .home-merchant-logo { width: 72px; height: 72px; }
  .coupon-home .home-featured .home-offer-copy { display: contents; }
  .coupon-home .home-featured h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    height: auto;
    min-height: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
  }
  .coupon-home .home-featured .home-offer-kind {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    margin: 0;
    font-size: 10px;
    letter-spacing: .3px;
    white-space: nowrap;
  }
  .coupon-home .home-featured .home-offer-bottom {
    grid-column: 3;
    grid-row: 1 / 3;
    width: 36px;
    margin: 0;
  }
  .coupon-home .home-featured .home-button {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    background: #fff0f2;
    font-size: 0;
  }
  .coupon-home .home-featured .home-button::before { display: none; }
  .coupon-home .home-featured .home-button::after {
    content: '';
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    padding: 0;
    border: 0;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .coupon-home .home-featured .home-button:hover { background: #ffe3e8; }
}

/* Smaller ticket actions for desktop featured cards. */
@media (min-width: 701px) {
  .coupon-home .home-featured .home-button {
    min-width: 0;
    min-height: 34px;
    padding: 0 10px 0 13px;
    gap: 8px;
    font-size: 12px;
  }
  .coupon-home .home-featured .home-button::after {
    height: 22px;
    padding-left: 8px;
    font-size: 17px;
  }
}

@media (max-width: 700px) {
  .coupon-home .home-featured h3,
  .coupon-home .home-featured .home-offer-kind {
    position: relative;
    top: 4px;
  }
}

/* 首页主标题保持原有主视觉排版，单条优惠使用二级标题。 */
.home-campaign-heading { margin: 0; font: inherit; color: inherit; }
