/* Soholife Christmas page decorations for home, collection and product pages. */
:root {
  --soho-page-wine: #5a1422;
  --soho-page-wine-deep: #351018;
  --soho-page-green: #173d32;
  --soho-page-cream: #fbf6ed;
  --soho-page-ivory: #fffaf1;
  --soho-page-gold: #d9b76e;
  --soho-page-gold-light: #f2db9d;
  --soho-xmas-bauble: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0OCI+PGRlZnM+PHJhZGlhbEdyYWRpZW50IGlkPSJiIiBjeD0iMzUlIiBjeT0iMjglIiByPSI3MiUiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI2I1NGE1OCIvPjxzdG9wIG9mZnNldD0iLjU1IiBzdG9wLWNvbG9yPSIjNzgyMzMyIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjNDUwZDE3Ii8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PHBhdGggZD0iTTIwIDF2MTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2Q5Yjc2ZSIgc3Ryb2tlLXdpZHRoPSIxLjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjxyZWN0IHg9IjE1LjUiIHk9IjEwIiB3aWR0aD0iOSIgaGVpZ2h0PSI1LjUiIHJ4PSIyIiBmaWxsPSIjZDliNzZlIi8+PGNpcmNsZSBjeD0iMjAiIGN5PSIzMCIgcj0iMTQiIGZpbGw9InVybCgjYikiLz48cGF0aCBkPSJNMTIgMjRjMi41LTQgNi02IDEwLTYiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZmFmMSIgc3Ryb2tlLW9wYWNpdHk9Ii40NSIgc3Ryb2tlLXdpZHRoPSIyLjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==");
  --soho-xmas-divider: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNDAgNTIiPjxkZWZzPjxyYWRpYWxHcmFkaWVudCBpZD0iYiIgY3g9IjM1JSIgY3k9IjI4JSIgcj0iNzIlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNhNjM4NDYiLz48c3RvcCBvZmZzZXQ9Ii41NSIgc3RvcC1jb2xvcj0iIzY3MjAyYiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzQyMGMxNiIvPjwvcmFkaWFsR3JhZGllbnQ+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2M3YTM1ZCIgc3Ryb2tlLXdpZHRoPSIxIiBzdHJva2UtbGluZWNhcD0icm91bmQiPjxwYXRoIGQ9Ik00IDI2aDgzIi8+PHBhdGggZD0iTTE1MyAyNmg4MyIvPjxwYXRoIGQ9Ik0xMjAgNHYxMiIvPjwvZz48Y2lyY2xlIGN4PSIyNCIgY3k9IjI2IiByPSIyIiBmaWxsPSIjZDliNzZlIi8+PGNpcmNsZSBjeD0iMjE2IiBjeT0iMjYiIHI9IjIiIGZpbGw9IiNkOWI3NmUiLz48cmVjdCB4PSIxMTUiIHk9IjE2IiB3aWR0aD0iMTAiIGhlaWdodD0iNSIgcng9IjEuOCIgZmlsbD0iI2Q5Yjc2ZSIvPjxjaXJjbGUgY3g9IjEyMCIgY3k9IjMzIiByPSIxMS41IiBmaWxsPSJ1cmwoI2IpIi8+PHBhdGggZD0iTTExMyAyOGMyLTMgNS00IDgtNCIgc3Ryb2tlPSIjZmZmYWYxIiBzdHJva2Utb3BhY2l0eT0iLjQ1IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==");
}

.template-home,
.template-collection,
.template-product {
  --soho-page-accent: var(--soho-page-wine);
}

#f-theme.template-product {
  overflow-x: clip !important;
}

/* A restrained festive frame around the existing homepage hero. */
.template-home .soho-xmas-hero {
  position: relative;
}

.template-home .soho-xmas-hero::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 16px;
  pointer-events: none;
  border: 1px solid rgb(242 219 157 / 28%);
  box-shadow: inset 0 0 0 1px rgb(53 16 24 / 14%);
}

.template-home .soho-xmas-gifts,
.template-home .soho-xmas-categories,
.template-home .soho-xmas-collections,
.template-home .soho-xmas-rooms {
  position: relative;
  box-shadow:
    inset 0 1px 0 rgb(217 183 110 / 15%),
    inset 0 -1px 0 rgb(90 20 34 / 8%);
}

.template-home .soho-xmas-gifts .f-section__subheading,
.template-home .soho-xmas-categories .f-section__subheading,
.template-home .soho-xmas-collections .f-section__subheading,
.template-home .soho-xmas-rooms .f-section__subheading {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border: 1px solid rgb(90 20 34 / 16%);
  border-radius: 999px;
  background: rgb(255 250 241 / 46%);
  box-shadow: inset 0 0 0 1px rgb(217 183 110 / 8%);
}

.template-home .soho-xmas-gifts .f-section__header::after,
.template-home .soho-xmas-categories .f-section__header::after,
.template-home .soho-xmas-collections .f-section__header::after,
.template-home .soho-xmas-rooms .f-section__header::after {
  content: "";
  display: block;
  width: min(240px, 68%);
  height: 48px;
  margin: 5px auto -2px;
  background: var(--soho-xmas-divider) center / contain no-repeat;
}

.soho-xmas-decorated-title {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  text-align: center;
}

.soho-xmas-title-text {
  display: inline-block;
  min-width: 0;
}

.soho-xmas-title-emoji {
  display: inline-block;
  flex: 0 0 auto;
  margin-inline: .36em;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: .58em;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  vertical-align: .12em;
  filter: drop-shadow(0 1px 2px rgb(53 16 24 / 14%));
}

.soho-xmas-title-emoji--before {
  transform: rotate(-5deg);
}

.soho-xmas-title-emoji--after {
  transform: rotate(5deg);
}

/* Collection header: seasonal ornaments without changing the native header markup. */
.template-collection .f-collection-page-header {
  position: relative;
}

.template-collection .f-collection-page-header__wrapper {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--soho-page-cream);
  background-image:
    radial-gradient(circle at 12% 18%, rgb(217 183 110 / 13%), transparent 22%),
    radial-gradient(circle at 88% 82%, rgb(90 20 34 / 7%), transparent 24%);
}

.template-collection .f-collection-page-header__wrapper::before,
.template-collection .f-collection-page-header__wrapper::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.template-collection .f-collection-page-header__wrapper::before {
  inset: 0 0 auto;
  width: 100%;
  height: 5px;
  background:
    linear-gradient(
      90deg,
      rgb(90 20 34 / 82%),
      rgb(217 183 110 / 78%) 28%,
      rgb(90 20 34 / 82%) 51%,
      rgb(217 183 110 / 78%) 74%,
      rgb(90 20 34 / 82%)
    );
}

.template-collection .f-collection-page-header__wrapper::after {
  width: 132px;
  height: 132px;
  right: 6%;
  bottom: -90px;
  border: 1px solid rgb(90 20 34 / 12%);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgb(217 183 110 / 3%);
}

.template-collection .f-collection-page-header__inner {
  position: relative;
}

.template-collection .f-collection-page-header__inner::after {
  content: "";
  display: block;
  width: min(228px, 62%);
  height: 44px;
  margin: 2px auto -9px;
  background: var(--soho-xmas-divider) center / contain no-repeat;
}

.template-collection .f-collection-page-header__title {
  position: relative;
  display: inline-block;
  padding-inline: clamp(34px, 4vw, 58px);
}

.template-collection .f-collection-page-header__title::before,
.template-collection .f-collection-page-header__title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(18px, 3vw, 42px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--soho-page-gold));
  opacity: .68;
  transform: translateY(-50%);
}

.template-collection .f-collection-page-header__title::before {
  left: 0;
}

.template-collection .f-collection-page-header__title::after {
  right: 0;
  background: linear-gradient(90deg, var(--soho-page-gold), transparent);
}

/* Seasonal card detail appears on interaction and leaves the product imagery intact. */
.template-collection .f-product-card__media,
.template-product .f-product-recommendations .f-product-card__media {
  position: relative;
  overflow: hidden;
}

.template-collection .f-product-card__media::after,
.template-product .f-product-recommendations .f-product-card__media::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  right: 7px;
  display: block;
  width: 32px;
  height: 38px;
  background: var(--soho-xmas-bauble) center / contain no-repeat;
  filter: drop-shadow(0 4px 7px rgb(53 16 24 / 20%));
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .25s ease;
}

.template-collection .f-product-card:hover .f-product-card__media::after,
.template-collection .f-product-card:focus-within .f-product-card__media::after,
.template-product .f-product-recommendations .f-product-card:hover .f-product-card__media::after,
.template-product .f-product-recommendations .f-product-card:focus-within .f-product-card__media::after {
  opacity: 1;
  transform: translateY(0);
}

.template-collection .f-product-card__image,
.template-product .f-product-recommendations .f-product-card__image {
  box-shadow: inset 0 0 0 1px rgb(217 183 110 / 14%);
  transition: box-shadow .25s ease;
}

.template-collection .f-product-card:hover .f-product-card__image,
.template-collection .f-product-card:focus-within .f-product-card__image,
.template-product .f-product-recommendations .f-product-card:hover .f-product-card__image,
.template-product .f-product-recommendations .f-product-card:focus-within .f-product-card__image {
  box-shadow: inset 0 0 0 1px rgb(217 183 110 / 56%);
}

/* Product page: fine festive frame and an expandable styling note. */
.template-product .f-main-product {
  position: relative;
}

.template-product .f-main-product--media {
  position: relative;
}

.template-product media-gallery.f-media-gallery {
  max-width: 100%;
  overflow-x: clip;
}

.template-product .f-main-product--media::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 12px;
  border: 1px solid rgb(217 183 110 / 34%);
  box-shadow: inset 0 0 0 1px rgb(90 20 34 / 6%);
  pointer-events: none;
}

.template-product .f-main-product--media::before {
  content: "";
  position: absolute;
  z-index: 6;
  top: 1px;
  left: 2px;
  display: block;
  width: 42px;
  height: 50px;
  background: var(--soho-xmas-bauble) center / contain no-repeat;
  filter: drop-shadow(0 5px 9px rgb(53 16 24 / 18%));
  pointer-events: none;
}

.soho-xmas-product-note {
  margin: 13px 0 16px;
  border: 1px solid rgb(90 20 34 / 18%);
  background:
    radial-gradient(circle at 92% 0, rgb(217 183 110 / 13%), transparent 36%),
    var(--soho-page-cream);
  color: var(--soho-page-wine-deep);
}

.soho-xmas-product-note__toggle {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.soho-xmas-product-note__toggle:hover {
  background: rgb(255 250 241 / 68%);
}

.soho-xmas-product-note__toggle:focus-visible {
  outline: 2px solid var(--soho-page-wine);
  outline-offset: 2px;
}

.soho-xmas-product-note__toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.soho-xmas-product-note__toggle-label::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 18px;
  background: var(--soho-xmas-bauble) center / contain no-repeat;
}

.soho-xmas-product-note__chevron {
  flex: none;
  font-size: 16px;
  line-height: 1;
  transition: transform .2s ease;
}

.soho-xmas-product-note__toggle[aria-expanded="true"] .soho-xmas-product-note__chevron {
  transform: rotate(45deg);
}

.soho-xmas-product-note__panel {
  padding: 0 14px 14px;
  border-top: 1px solid rgb(90 20 34 / 10%);
}

.soho-xmas-product-note__panel[hidden] {
  display: none;
}

.soho-xmas-product-note__copy {
  margin: 12px 0 13px;
  color: #655950;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.65;
}

.soho-xmas-product-note__link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 12px;
  padding: 8px 13px;
  border: 1px solid var(--soho-page-wine);
  background: var(--soho-page-ivory);
  color: var(--soho-page-wine);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.soho-xmas-product-note__link:hover,
.soho-xmas-product-note__link:focus-visible {
  background: var(--soho-page-wine);
  color: var(--soho-page-ivory);
  text-decoration: none;
}

/* Product coupon: a native discount ticket with a festive Soholife finish. */
#f-theme.template-product #coupon-label {
  position: relative !important;
  z-index: 8 !important;
  display: flex !important;
  width: 100% !important;
  min-height: 76px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin: 18px 0 22px !important;
  padding: 14px 16px 14px 18px !important;
  overflow: hidden !important;
  color: var(--soho-page-ivory) !important;
  background:
    radial-gradient(circle at 12% 16%, rgb(242 219 157 / 18%), transparent 24%),
    radial-gradient(circle at 90% 82%, rgb(23 61 50 / 46%), transparent 34%),
    radial-gradient(circle, rgb(255 250 241 / 12%) 0 1px, transparent 1.5px),
    linear-gradient(118deg, #390b13 0%, #5a1422 52%, #421019 100%) !important;
  background-size: auto, auto, 26px 26px, auto !important;
  border: 1px solid rgb(217 183 110 / 56%) !important;
  border-left: 4px solid var(--soho-page-gold) !important;
  border-radius: 6px !important;
  box-shadow:
    0 10px 24px rgb(53 16 24 / 14%),
    inset 0 1px 0 rgb(255 250 241 / 12%) !important;
  cursor: pointer !important;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease !important;
}

#f-theme.template-product #coupon-label::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 70px;
  width: 46px;
  height: 46px;
  border: 1px solid rgb(242 219 157 / 15%);
  border-radius: 50%;
  box-shadow: 0 0 0 9px rgb(242 219 157 / 3%);
  pointer-events: none;
  transform: translateY(-50%);
}

#f-theme.template-product #coupon-label:hover {
  border-color: rgb(242 219 157 / 84%) !important;
  box-shadow:
    0 13px 30px rgb(53 16 24 / 20%),
    inset 0 1px 0 rgb(255 250 241 / 16%) !important;
  transform: translateY(-1px);
}

#f-theme.template-product #coupon-label:focus-visible {
  outline: 2px solid var(--soho-page-gold-light) !important;
  outline-offset: 3px !important;
}

#f-theme.template-product #coupon-label > .flex-align-center {
  position: relative;
  z-index: 1;
}

#f-theme.template-product #coupon-label > .flex-align-center:first-child {
  flex: 0 0 auto !important;
  gap: 9px !important;
}

#f-theme.template-product #coupon-label > .flex-align-center:first-child > svg.icon {
  flex-basis: 22px !important;
  width: 22px !important;
  height: 22px !important;
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 18%));
}

#f-theme.template-product #coupon-label > .flex-align-center:first-child > svg.icon path:nth-child(2) {
  fill: var(--soho-page-gold-light) !important;
}

#f-theme.template-product #coupon-label > .flex-align-center:first-child > svg.icon path:nth-child(3) {
  fill: var(--soho-page-gold) !important;
}

#f-theme.template-product #coupon-label > .flex-align-center:first-child > svg.icon path:nth-child(4) {
  fill: var(--soho-page-wine) !important;
}

#f-theme.template-product #coupon-label > .flex-align-center:first-child span {
  color: var(--soho-page-ivory) !important;
  -webkit-text-fill-color: var(--soho-page-ivory) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: -.01em !important;
  white-space: nowrap !important;
}

#f-theme.template-product #coupon-label > .flex-align-center:last-of-type {
  min-width: 0 !important;
  gap: 8px !important;
}

#f-theme.template-product #coupon-label ul {
  gap: 6px !important;
}

#f-theme.template-product #coupon-label .coupon-tag,
#f-theme.template-product #coupon-label .coupon-tag:nth-child(2),
#f-theme.template-product #coupon-label .coupon-tag:nth-child(3) {
  height: 28px !important;
  padding: 0 9px !important;
  border: 1px solid rgb(242 219 157 / 44%) !important;
  border-radius: 999px !important;
  background: rgb(255 250 241 / 7%) !important;
  color: var(--soho-page-ivory) !important;
  -webkit-text-fill-color: var(--soho-page-ivory) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .015em !important;
}

#f-theme.template-product #coupon-label .coupon-tag:first-child {
  border-color: var(--soho-page-gold) !important;
  background: var(--soho-page-gold) !important;
  color: var(--soho-page-wine-deep) !important;
  -webkit-text-fill-color: var(--soho-page-wine-deep) !important;
}

#f-theme.template-product #coupon-label .el-icon-arrow-right,
#f-theme.template-product #coupon-label .icon-arrow {
  flex: 0 0 30px !important;
  width: 30px !important;
  height: 30px !important;
  border-color: rgb(242 219 157 / 56%) !important;
  background: rgb(255 250 241 / 8%) !important;
  color: var(--soho-page-gold-light) !important;
  fill: var(--soho-page-gold-light) !important;
}

#f-theme.template-product #coupon-label:hover .el-icon-arrow-right,
#f-theme.template-product #coupon-label:hover .icon-arrow {
  border-color: var(--soho-page-gold-light) !important;
  background: var(--soho-page-gold-light) !important;
  color: var(--soho-page-wine-deep) !important;
  fill: var(--soho-page-wine-deep) !important;
}

#f-theme.template-product #coupon-label .coupon-list,
#f-theme.template-product .product-coupon .coupon-list {
  border: 1px solid rgb(159 125 69 / 46%) !important;
  border-top: 4px solid var(--soho-page-wine) !important;
  border-radius: 7px !important;
  background:
    radial-gradient(circle at 94% 3%, rgb(217 183 110 / 13%), transparent 26%),
    linear-gradient(180deg, #fbf6ed 0%, #f4ebdf 100%) !important;
  box-shadow: 0 20px 48px rgb(53 16 24 / 18%) !important;
}

#f-theme.template-product #coupon-label .coupon-list::before,
#f-theme.template-product .product-coupon .coupon-list::before {
  background: #fbf6ed !important;
  border-color: rgb(159 125 69 / 46%) !important;
}

#f-theme.template-product #coupon-label .coupon-list > .title,
#f-theme.template-product .product-coupon .coupon-list > .title {
  color: var(--soho-page-gold-light) !important;
  -webkit-text-fill-color: var(--soho-page-gold-light) !important;
  background:
    linear-gradient(90deg, rgb(217 183 110 / 10%), transparent 46%),
    var(--soho-page-wine) !important;
  border-bottom-color: rgb(242 219 157 / 22%) !important;
  font-family: Georgia, "Times New Roman", serif !important;
}

#f-theme.template-product #coupon-label .coupon-list > .title::before,
#f-theme.template-product .product-coupon .coupon-list > .title::before {
  width: 18px !important;
  height: 22px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--soho-xmas-bauble) center / contain no-repeat !important;
}

#f-theme.template-product #coupon-label .coupon-list .coupon-box {
  background:
    radial-gradient(circle at 8% 4%, rgb(255 250 241 / 94%), transparent 20%),
    #f5ecdf !important;
}

#f-theme.template-product #coupon-label .coupon-list .item-coupon,
#f-theme.template-product .product-coupon .coupon-list .item-coupon {
  border-color: rgb(138 103 62 / 30%) !important;
  border-radius: 5px !important;
  background: var(--soho-page-ivory) !important;
  box-shadow: 0 3px 10px rgb(53 16 24 / 5%) !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}

#f-theme.template-product #coupon-label .coupon-list .item-coupon:hover,
#f-theme.template-product .product-coupon .coupon-list .item-coupon:hover {
  border-color: rgb(217 183 110 / 72%) !important;
  box-shadow: 0 7px 18px rgb(53 16 24 / 9%) !important;
  transform: translateY(-1px);
}

#f-theme.template-product #coupon-label .coupon-list .left-info,
#f-theme.template-product .product-coupon .coupon-list .left-info {
  background: var(--soho-page-ivory) !important;
}

#f-theme.template-product #coupon-label .coupon-list .left-info .off,
#f-theme.template-product #coupon-label .coupon-list .left-info .off *,
#f-theme.template-product .product-coupon .coupon-list .left-info .off,
#f-theme.template-product .product-coupon .coupon-list .left-info .off * {
  color: var(--soho-page-wine) !important;
  -webkit-text-fill-color: var(--soho-page-wine) !important;
}

#f-theme.template-product #coupon-label .coupon-list .condition,
#f-theme.template-product #coupon-label .coupon-list .condition *,
#f-theme.template-product .product-coupon .coupon-list .condition,
#f-theme.template-product .product-coupon .coupon-list .condition * {
  color: #776a60 !important;
  -webkit-text-fill-color: #776a60 !important;
}

#f-theme.template-product #coupon-label .coupon-list .right-info,
#f-theme.template-product .product-coupon .coupon-list .right-info {
  flex-basis: 92px !important;
  width: 92px !important;
  min-width: 92px !important;
  max-width: 92px !important;
  padding: 8px 9px !important;
  background: #f4eadf !important;
  border-left: 1px dashed rgb(90 20 34 / 22%) !important;
}

#f-theme.template-product #coupon-label .coupon-list .code-btn,
#f-theme.template-product .product-coupon .coupon-list .code-btn {
  display: inline-flex !important;
  width: auto !important;
  min-width: 68px !important;
  height: 34px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 0 5px !important;
  border: 0 !important;
  border-bottom: 1px solid rgb(90 20 34 / 38%) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--soho-page-wine) !important;
  -webkit-text-fill-color: var(--soho-page-wine) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  transition: color .2s ease, background .2s ease, border-color .2s ease !important;
}

#f-theme.template-product #coupon-label .coupon-list .code-btn::before,
#f-theme.template-product .product-coupon .coupon-list .code-btn::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 13px;
  background: var(--soho-xmas-bauble) center / contain no-repeat;
}

#f-theme.template-product #coupon-label .coupon-list .code-btn > *,
#f-theme.template-product .product-coupon .coupon-list .code-btn > * {
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--soho-page-wine) !important;
  -webkit-text-fill-color: var(--soho-page-wine) !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

#f-theme.template-product #coupon-label .coupon-list .code-btn:hover,
#f-theme.template-product .product-coupon .coupon-list .code-btn:hover {
  border-bottom-color: transparent !important;
  background: var(--soho-page-wine) !important;
  color: var(--soho-page-ivory) !important;
  -webkit-text-fill-color: var(--soho-page-ivory) !important;
}

#f-theme.template-product #coupon-label .coupon-list .code-btn:hover > *,
#f-theme.template-product .product-coupon .coupon-list .code-btn:hover > * {
  color: var(--soho-page-ivory) !important;
  -webkit-text-fill-color: var(--soho-page-ivory) !important;
}

#f-theme.template-product #coupon-label .coupon-list .code-btn:focus-visible,
#f-theme.template-product .product-coupon .coupon-list .code-btn:focus-visible {
  outline: 2px solid var(--soho-page-gold) !important;
  outline-offset: 2px !important;
}

#f-theme.template-product #coupon-label .code-btn.soho-coupon-pulse {
  animation: soho-coupon-pulse .65s ease-out;
}

#f-theme.template-product #coupon-label .coupon-box {
  scrollbar-color: rgb(90 20 34 / 55%) transparent !important;
}

@keyframes soho-coupon-pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(242 219 157 / 65%);
  }
  100% {
    box-shadow: 0 0 0 11px rgb(242 219 157 / 0%);
  }
}

/* Persistent, unobtrusive snow control. */
.soho-xmas-mode-toggle {
  position: fixed;
  z-index: 86;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(242 219 157 / 72%);
  border-radius: 50%;
  background: var(--soho-page-wine-deep);
  box-shadow: 0 8px 24px rgb(53 16 24 / 20%);
  color: var(--soho-page-gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.soho-xmas-mode-toggle:hover,
.soho-xmas-mode-toggle:focus-visible {
  background: var(--soho-page-gold);
  color: var(--soho-page-wine-deep);
  transform: translateY(-2px);
}

.soho-xmas-mode-toggle:focus-visible {
  outline: 2px solid var(--soho-page-ivory);
  outline-offset: 3px;
}

.soho-xmas-mode-toggle[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgb(242 219 157 / 48%);
  border-radius: inherit;
  animation: soho-xmas-ring 2.6s ease-out infinite;
}

.soho-xmas-mode-toggle[aria-pressed="true"] {
  background: var(--soho-page-gold);
  color: var(--soho-page-wine-deep);
}

.soho-xmas-mode-toggle .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.soho-xmas-mode-status {
  position: fixed;
  z-index: 86;
  left: max(16px, env(safe-area-inset-left));
  bottom: calc(max(20px, env(safe-area-inset-bottom)) + 56px);
  max-width: min(270px, calc(100vw - 32px));
  padding: 8px 11px;
  border: 1px solid rgb(217 183 110 / 42%);
  background: rgb(53 16 24 / 94%);
  color: var(--soho-page-ivory);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity .18s ease, transform .18s ease;
}

.soho-xmas-mode-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.soho-xmas-snow-layer {
  position: fixed;
  z-index: 54;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s;
}

body.soho-xmas-snow-on .soho-xmas-snow-layer {
  visibility: visible;
  opacity: 1;
}

.soho-xmas-snowflake {
  position: absolute;
  top: -8vh;
  left: var(--soho-snow-x);
  width: var(--soho-snow-size);
  height: var(--soho-snow-size);
  border-radius: 50%;
  background: var(--soho-snow-color);
  box-shadow: 0 0 3px rgb(255 250 241 / 50%);
  opacity: var(--soho-snow-opacity);
  animation: soho-xmas-snowfall var(--soho-snow-duration) linear var(--soho-snow-delay) infinite;
  will-change: transform;
}

.template-home.soho-xmas-animation-paused .soho-xmas-snowflake,
.template-collection.soho-xmas-animation-paused .soho-xmas-snowflake,
.template-product.soho-xmas-animation-paused .soho-xmas-snowflake {
  animation-play-state: paused;
}

@keyframes soho-xmas-snowfall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
  }
  55% {
    transform: translate3d(var(--soho-snow-drift), 60vh, 0) rotate(180deg);
  }
  100% {
    transform: translate3d(calc(var(--soho-snow-drift) * -.45), 116vh, 0) rotate(360deg);
  }
}

@keyframes soho-xmas-ring {
  0% {
    opacity: .7;
    transform: scale(.95);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@media (max-width: 767px) {
  .template-home .soho-xmas-hero::after {
    inset: 8px;
  }

  .template-collection .f-collection-page-header__title {
    padding-inline: 30px;
  }

  .template-collection .f-collection-page-header__title::before {
    left: 4px;
  }

  .template-collection .f-collection-page-header__title::after {
    right: 4px;
  }

  .template-collection .f-product-card__media::after {
    top: 0;
    right: 5px;
    width: 27px;
    height: 32px;
    opacity: .88;
    transform: none;
  }

  .template-product .f-main-product--media::after {
    inset: 6px;
  }

  .template-product .f-main-product--media::before {
    top: 1px;
    left: 1px;
    width: 34px;
    height: 41px;
  }

  .soho-xmas-product-note {
    margin-top: 10px;
    margin-bottom: 14px;
  }

  #f-theme.template-product #coupon-label {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 30px !important;
    grid-template-rows: auto auto !important;
    min-height: 84px !important;
    gap: 9px 10px !important;
    margin: 14px 0 16px !important;
    padding: 11px 11px 11px 13px !important;
    border-left-width: 3px !important;
  }

  #f-theme.template-product #coupon-label::before {
    right: 38px;
    width: 38px;
    height: 38px;
  }

  #f-theme.template-product #coupon-label > .flex-align-center:first-child {
    grid-column: 1;
    grid-row: 1;
    gap: 7px !important;
  }

  #f-theme.template-product #coupon-label > .flex-align-center:first-child > svg.icon {
    flex-basis: 19px !important;
    width: 19px !important;
    height: 19px !important;
  }

  #f-theme.template-product #coupon-label > .flex-align-center:first-child span {
    font-size: 16px !important;
  }

  #f-theme.template-product #coupon-label > .flex-align-center:last-of-type {
    display: contents !important;
  }

  #f-theme.template-product #coupon-label ul {
    display: grid !important;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 4px !important;
  }

  #f-theme.template-product #coupon-label .coupon-tag,
  #f-theme.template-product #coupon-label .coupon-tag:nth-child(2),
  #f-theme.template-product #coupon-label .coupon-tag:nth-child(3) {
    width: 100% !important;
    height: 27px !important;
    padding: 0 3px !important;
    overflow: hidden !important;
    font-size: 9px !important;
  }

  #f-theme.template-product #coupon-label .el-icon-arrow-right,
  #f-theme.template-product #coupon-label .icon-arrow {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    flex-basis: 28px !important;
    width: 28px !important;
    height: 28px !important;
  }

  #f-theme.template-product #coupon-label .coupon-list,
  #f-theme.template-product .product-coupon .coupon-list {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 12px 0 0 !important;
  }

  #f-theme.template-product #coupon-label .coupon-list .right-info,
  #f-theme.template-product .product-coupon .coupon-list .right-info {
    flex-basis: 82px !important;
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    padding: 7px 6px !important;
  }

  #f-theme.template-product #coupon-label .coupon-list .code-btn,
  #f-theme.template-product .product-coupon .coupon-list .code-btn {
    min-width: 60px !important;
    font-size: 9px !important;
  }

  .soho-xmas-mode-toggle {
    width: 42px;
    height: 42px;
    bottom: max(15px, env(safe-area-inset-bottom));
    font-size: 18px;
  }

  .soho-xmas-mode-status {
    bottom: calc(max(15px, env(safe-area-inset-bottom)) + 52px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .soho-xmas-snow-layer,
  .soho-xmas-mode-toggle {
    display: none !important;
  }

  .template-collection .f-product-card__media::after,
  .soho-xmas-product-note__chevron,
  .soho-xmas-mode-toggle,
  #f-theme.template-product #coupon-label,
  #f-theme.template-product #coupon-label .coupon-list .item-coupon {
    transition: none;
  }

  .soho-xmas-mode-toggle[aria-pressed="true"]::after {
    animation: none;
  }

  #f-theme.template-product #coupon-label .code-btn.soho-coupon-pulse {
    animation: none;
  }

}
