.christmas-collection {
  --christmas-ink: #173d32;
  --christmas-paper: #f7ede4;
  --christmas-red: #912f32;
  color: var(--christmas-ink);
}

.christmas-collection__hero {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  background: var(--christmas-paper);
  border: 1px solid #ead8c8;
  border-radius: 16px;
  overflow: hidden;
}

.christmas-collection__intro {
  align-self: center;
  padding: clamp(1.5rem, 4vw, 3.75rem);
}

.christmas-collection__edition {
  margin-bottom: .85rem;
  color: var(--christmas-red);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.christmas-collection__hero h1 {
  margin: 0 0 1rem;
  color: inherit;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.19;
}

.christmas-collection__intro > p:not(.christmas-collection__edition),
.christmas-collection__story p,
.christmas-collection__promo p,
.christmas-collection__grid-intro {
  margin-bottom: .75rem;
  font-size: 1rem;
  line-height: 1.75;
}

.christmas-collection .christmas-collection__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: .5rem;
  padding: .5rem 1.2rem;
  border-radius: 6px;
  background: var(--christmas-red);
  color: #fff;
  font-weight: 700;
}

.christmas-collection .christmas-collection__cta:hover {
  background: #702328;
  color: #fff;
}

.christmas-collection a:focus-visible {
  outline: 3px solid #173d32;
  outline-offset: 4px;
}

.christmas-collection__art {
  position: relative;
  display: grid;
  min-height: 315px;
  isolation: isolate;
  place-items: end center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 72%, #fff7eb 10%, #e9ccba 90%);
}

.christmas-collection__town {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 62%;
  object-fit: cover;
  mask-image: linear-gradient(#000 60%, transparent);
}

.christmas-collection__mascot {
  position: relative;
  width: min(58%, 275px);
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 10px #58382e33);
}

.christmas-collection__story {
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(.15rem, 2.5vw, 1.75rem);
}

.christmas-collection__opening {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: .5rem clamp(1.25rem, 5vw, 4rem);
  align-items: start;
}

.christmas-collection h2,
.christmas-collection__grid-title {
  margin: 0 0 .65rem;
  color: inherit;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  font-weight: 750;
  line-height: 1.3;
}

.christmas-collection__story p:last-child,
.christmas-collection__promo p:last-child {
  margin-bottom: 0;
}

.christmas-collection__promo {
  margin-bottom: 1.85rem;
  padding: 1.1rem clamp(1rem, 4vw, 2.25rem);
  border-radius: 10px;
  background: #214639;
  color: #fff9ef;
}

.christmas-collection__promo h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  margin-bottom: .25rem;
}

.christmas-collection__grid-intro {
  margin-bottom: 1rem;
}

.christmas-collection__closing {
  margin: 1.5rem 0 2rem;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--christmas-paper);
  border-radius: 12px;
}

.christmas-collection__scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.65rem, 1.5vw, 1rem);
  margin: 1rem 0 1.25rem;
}

.christmas-collection__scene {
  position: relative;
  padding: 1.4rem clamp(.9rem, 2vw, 1.35rem) 1rem;
  border: 1px solid #e3cdbb;
  border-radius: 8px;
  overflow: hidden;
  background: #fffaf0;
}

.christmas-collection__scene::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: var(--christmas-scene-pattern);
  content: "";
}

.christmas-collection__scene--gift {
  --christmas-scene-pattern: repeating-linear-gradient(90deg, #a74e55 0 7px, #e9bbae 7px 14px);
}

.christmas-collection__scene--party {
  --christmas-scene-pattern: repeating-linear-gradient(135deg, #efd8a8 0 6px, #a74e55 6px 12px);
}

.christmas-collection__scene--snow {
  --christmas-scene-pattern: radial-gradient(circle, #f4e5c6 1px, transparent 1.6px) center / 9px 7px #285443;
}

.christmas-collection__scene h3 {
  margin: 0 0 .5rem;
  color: inherit;
  font-size: clamp(1.125rem, 1.7vw, 1.3rem);
  font-weight: 750;
  line-height: 1.3;
}

.christmas-collection__scene-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #173d32;
  font-weight: 700;
  text-decoration: underline;
}

.christmas-collection__summary p {
  max-width: 54em;
}

.christmas-collection__return {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .5rem;
  color: var(--christmas-ink);
  font-weight: 700;
  text-decoration: underline;
}

.christmas-collection #christmas-products {
  scroll-margin-top: 8rem;
}

@media (max-width: 767px) {
  .christmas-collection__hero,
  .christmas-collection__opening,
  .christmas-collection__scenes {
    grid-template-columns: 1fr;
  }

  .christmas-collection__art {
    min-height: 190px;
  }

  .christmas-collection__mascot {
    width: min(45%, 168px);
    margin-bottom: .5rem;
  }

  .christmas-collection #christmas-products {
    scroll-margin-top: 6rem;
  }
}

.christmas-collection__hero--patchwork {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  border-color: #d9bdaa;
  background: #fcf5e8;
}

.christmas-collection__hero--patchwork .christmas-collection__intro {
  padding-block: clamp(1.45rem, 3.2vw, 3rem);
}

.christmas-collection__hero--patchwork .christmas-collection__art {
  box-sizing: border-box;
  min-height: 335px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr)) minmax(0, 1.24fr);
  gap: 5px;
  padding: 6px;
  place-items: stretch;
  background: #e9d6ba;
}

.christmas-collection__hero--patchwork .christmas-collection__town {
  position: static;
  grid-area: 1 / 1 / 3 / 5;
  display: block;
  width: 100%;
  height: 100%;
  object-position: 58% 65%;
  mask-image: none;
}

.christmas-collection__patch {
  position: relative;
}

.christmas-collection__patch::after {
  position: absolute;
  inset: 6px;
  border: 1px dashed #fff6dfad;
  content: "";
}

.christmas-collection__patch--gingham {
  grid-area: 3 / 1;
  background-color: #f8d9c7;
  background-image:
    repeating-linear-gradient(90deg, #ab4f57b8 0 15px, transparent 15px 30px),
    repeating-linear-gradient(0deg, #ab4f57b8 0 15px, transparent 15px 30px);
}

.christmas-collection__patch--spruce {
  grid-area: 3 / 2;
  background-color: #214b3c;
  background-image:
    radial-gradient(circle, #fff1d995 1px, transparent 1.7px),
    radial-gradient(circle, #fff1d959 1px, transparent 1.7px);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
}

.christmas-collection__patch--star {
  grid-area: 3 / 3;
  background: #f4e2bf;
}

.christmas-collection__patch--star::before {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(67%, 94px);
  aspect-ratio: 1;
  background: conic-gradient(
    from 22.5deg,
    #9b3941 0 45deg, #c66c66 45deg 90deg,
    #1e503f 90deg 135deg, #4c745d 135deg 180deg,
    #9b3941 180deg 225deg, #c66c66 225deg 270deg,
    #1e503f 270deg 315deg, #4c745d 315deg
  );
  clip-path: polygon(50% 0, 60% 26%, 85% 15%, 74% 40%, 100% 50%, 74% 60%, 85% 85%, 60% 74%, 50% 100%, 40% 74%, 15% 85%, 26% 60%, 0 50%, 26% 40%, 15% 15%, 40% 26%);
  transform: translate(-50%, -50%);
  content: "";
}

.christmas-collection__patch--pine {
  grid-area: 1 / 5;
  background: #dbc884;
}

.christmas-collection__patch--snowflake {
  grid-area: 2 / 5;
  background: #913d47;
}

.christmas-collection__patch--pine::before,
.christmas-collection__patch--snowflake::before {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(56%, 53px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  content: "";
}

.christmas-collection__patch--pine::before {
  background: #254c39;
  clip-path: polygon(50% 0, 76% 36%, 67% 36%, 89% 61%, 76% 61%, 100% 88%, 58% 88%, 58% 100%, 42% 100%, 42% 88%, 0 88%, 24% 61%, 11% 61%, 33% 36%, 24% 36%);
}

.christmas-collection__patch--snowflake::before {
  background:
    linear-gradient(0deg, transparent 44%, #fff2dc 44% 56%, transparent 56%),
    linear-gradient(60deg, transparent 44%, #fff2dc 44% 56%, transparent 56%),
    linear-gradient(-60deg, transparent 44%, #fff2dc 44% 56%, transparent 56%);
  clip-path: polygon(50% 0, 65% 14%, 87% 14%, 87% 36%, 100% 50%, 87% 64%, 87% 86%, 65% 86%, 50% 100%, 35% 86%, 13% 86%, 13% 64%, 0 50%, 13% 36%, 13% 14%, 35% 14%);
}

.christmas-collection__patch--candy {
  grid-area: 3 / 4;
  background: repeating-linear-gradient(135deg, #fff1db 0 10px, #bc6568 10px 19px, #fff1db 19px 28px, #c7a267 28px 31px);
}

.christmas-collection__patch--diamond {
  grid-area: 3 / 5;
  background-color: #dce4ce;
  background-image:
    conic-gradient(from 45deg at 50% 50%, #dce4ce 25%, #456d54 0 50%, #dce4ce 0 75%, #456d54 0);
  background-size: 22px 22px;
}

.christmas-collection__hero--patchwork .christmas-collection__mascot {
  grid-area: 3 / 2;
  z-index: 1;
  align-self: center;
  justify-self: center;
  width: min(81%, 106px);
  margin: 0;
  filter: drop-shadow(0 4px 6px #162a28a0);
}

@media (max-width: 767px) {
  .christmas-collection__hero--patchwork {
    grid-template-columns: minmax(0, 1fr);
  }

  .christmas-collection__hero--patchwork .christmas-collection__art {
    min-height: clamp(246px, 72vw, 345px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  }

  .christmas-collection__hero--patchwork .christmas-collection__town {
    grid-area: 1 / 1 / 2 / -1;
  }

  .christmas-collection__patch--gingham { grid-area: 2 / 1; }
  .christmas-collection__patch--spruce { grid-area: 2 / 2; }
  .christmas-collection__patch--star { grid-area: 2 / 3; }
  .christmas-collection__patch--snowflake { grid-area: 2 / 4; }
  .christmas-collection__patch--pine { grid-area: 3 / 1 / 4 / 3; }
  .christmas-collection__patch--candy { grid-area: 3 / 3; }
  .christmas-collection__patch--diamond { grid-area: 3 / 4; }

  .christmas-collection__hero--patchwork .christmas-collection__mascot {
    grid-area: 2 / 2;
    width: min(79%, 78px);
  }
}

.christmas-collection-page .christmas-product-story {
  margin: .35rem 0 .7rem;
  padding: .7rem .75rem;
  border: 1px solid var(--christmas-story-edge);
  border-top: 3px solid var(--christmas-story-accent);
  border-radius: 0 0 8px 8px;
  background: var(--christmas-story-paper);
  color: #173d32;
  text-align: left;
}

.christmas-product-story--gift {
  --christmas-story-accent: #963d49;
  --christmas-story-edge: #dfbcb7;
  --christmas-story-paper: #fbede5;
}

.christmas-product-story--party {
  --christmas-story-accent: #946e32;
  --christmas-story-edge: #e4cc9c;
  --christmas-story-paper: #fcf1d9;
}

.christmas-product-story--snow {
  --christmas-story-accent: #32634f;
  --christmas-story-edge: #c1d4c6;
  --christmas-story-paper: #ecf2e9;
}

.christmas-collection-page .christmas-product-story p {
  margin: 0;
  color: inherit;
  font-size: .875rem;
  line-height: 1.55;
}

.christmas-collection-page .christmas-product-story .christmas-product-story__title {
  margin-bottom: .22rem;
  font-weight: 750;
}

@media (min-width: 992px) {
  .christmas-collection-page .christmas-product-story {
    padding-inline: 1rem;
  }
}

.christmas-collection-page .christmas-story-card {
  --christmas-tile-paper: #f6e5cc;
  --christmas-tile-ink: #874740;
  --christmas-tile-pattern: repeating-linear-gradient(90deg, #a34c50 0 8px, #db9d90 8px 16px);
}

.christmas-story-card[data-id-product="41"] {
  --christmas-tile-paper: #faebcb;
  --christmas-tile-ink: #77512a;
  --christmas-tile-pattern: repeating-linear-gradient(135deg, #b56662 0 8px, #f2deb1 8px 16px);
}

.christmas-story-card[data-id-product="326"] {
  --christmas-tile-paper: #e5eee3;
  --christmas-tile-ink: #315c4a;
  --christmas-tile-pattern: radial-gradient(circle, #f1e6c6 1.2px, transparent 1.8px) center / 12px 10px #315c4a;
}

.christmas-collection-page .christmas-story-card .product-container {
  border: 1px solid #d9c5ac;
  border-radius: 12px;
  background: #fffaf2;
}

.christmas-collection-page .christmas-story-card .thumbnail-container {
  margin: 0;
  padding: .7rem .65rem .5rem;
  border: 5px solid transparent;
  border-radius: 11px 11px 0 0;
  background:
    linear-gradient(var(--christmas-tile-paper), var(--christmas-tile-paper)) padding-box,
    var(--christmas-tile-pattern) border-box;
}

.christmas-collection-page .christmas-story-card .thumbnail-inner {
  border: 1px dashed #76543a79;
  border-radius: 7px;
  background: #fffdf6;
}

.christmas-collection-page .christmas-story-card .product-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.2;
  object-fit: contain;
}

.christmas-collection-page .christmas-story-card .christmas-product-story {
  margin: 0;
  padding: .65rem .2rem .3rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.christmas-collection-page .christmas-story-card .christmas-product-story__title {
  color: var(--christmas-tile-ink);
  font-size: clamp(.875rem, 1.5vw, 1.1rem);
}

.christmas-collection-page .christmas-story-card .product-description {
  padding: .8rem .65rem;
  border-top: 1px solid #d9c5ac;
  text-align: start;
}

.christmas-collection-page .christmas-story-card .product-title {
  margin-bottom: .35rem;
}

.christmas-collection-page .christmas-story-card .price {
  color: #173d32;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 800;
}

#js-product-list .christmas-story-card .christmas-story-card__action .product-add-to-cart {
  position: static;
  margin: .55rem 0 .35rem;
  opacity: 1;
  transform: none;
  transition: none;
}

#js-product-list .christmas-story-card .christmas-story-card__action .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: .35rem .5rem;
  border: 0;
  border-radius: 6px;
  background: #214639;
  color: #fffaf2;
  white-space: normal;
  font-weight: 700;
}

#js-product-list .christmas-story-card .christmas-story-card__action .btn:hover {
  background: #17382f;
}

.christmas-collection-page .christmas-story-card :focus-visible {
  outline: 2px solid #173d32;
  outline-offset: 2px;
}

@media (max-width: 575px) {
  .christmas-collection-page .christmas-story-card .thumbnail-container {
    padding: .45rem .38rem .3rem;
    border-width: 4px;
  }

  .christmas-collection-page .christmas-story-card .product-description {
    padding: .65rem .45rem;
  }
}
