.wfa-blocks {
  width: 100%;
}

.wfa-blocks--container {
  margin-left: auto !important;
  margin-right: auto !important;
}

.wfa-blocks--force-full {
  box-sizing: border-box;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
  position: relative;
  width: 100%;
}

.wfa-blocks__spacing {
  box-sizing: border-box;
  padding-bottom: var(--wfa-padding-bottom-mobile, var(--wfa-padding-bottom-desktop, 0));
  padding-left: var(--wfa-padding-left-mobile, var(--wfa-padding-left-desktop, 0));
  padding-right: var(--wfa-padding-right-mobile, var(--wfa-padding-right-desktop, 0));
  padding-top: var(--wfa-padding-top-mobile, var(--wfa-padding-top-desktop, 0));
}

.wfa-blocks--force-full > .wfa-blocks__spacing {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--prettyblocks-zone-max-width, none);
  width: 100%;
}

.wfa-blocks--desktop,
.wfa-blocks--mobile {
  display: none;
}

.wfa-image-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--wfa-grid-gap-desktop, 16px);
  width: 100%;
}

.wfa-image-grid__item {
  grid-column: span var(--wfa-grid-span-desktop, 12);
}

.wfa-image-grid__link,
.wfa-image-carousel__link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.wfa-image-grid__picture,
.wfa-image-carousel__picture {
  display: block;
  width: 100%;
}

.wfa-image-grid__image,
.wfa-image-carousel__image {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.wfa-blocks__text {
  width: 100%;
}

.wfa-blocks__text > :first-child {
  margin-top: 0;
}

.wfa-blocks__text > :last-child {
  margin-bottom: 0;
}

.wfa-blocks__text .ql-align-center {
  text-align: center;
}

.wfa-blocks__text .ql-align-right {
  text-align: right;
}

.wfa-blocks__text .ql-align-justify {
  text-align: justify;
}

.wfa-image-carousel-shell {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.wfa-image-carousel {
  display: flex;
  gap: var(--wfa-carousel-gap-desktop, 16px);
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.wfa-image-carousel__item {
  flex: 0 0 var(--wfa-carousel-item-width-desktop, 25%);
  scroll-snap-align: start;
}

.wfa-image-carousel-shell--hero .wfa-image-carousel {
  padding-bottom: 0;
  scrollbar-width: none;
}

.wfa-image-carousel-shell--hero .wfa-image-carousel::-webkit-scrollbar {
  display: none;
}

.wfa-image-carousel__item--hero {
  background: #f7f0ea;
  overflow: hidden;
}

.wfa-image-carousel__hero {
  box-sizing: border-box;
  display: flex;
  isolation: isolate;
  min-height: clamp(360px, 39vw, 560px);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.wfa-image-carousel__hero::after {
  background: linear-gradient(
    90deg,
    rgba(250, 247, 243, 0.98) 0%,
    rgba(250, 247, 243, 0.94) 27%,
    rgba(250, 247, 243, 0.66) 42%,
    rgba(250, 247, 243, 0.16) 58%,
    rgba(250, 247, 243, 0) 72%
  );
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.wfa-image-carousel__item--text-right .wfa-image-carousel__hero::after {
  background: linear-gradient(
    270deg,
    rgba(250, 247, 243, 0.98) 0%,
    rgba(250, 247, 243, 0.94) 27%,
    rgba(250, 247, 243, 0.66) 42%,
    rgba(250, 247, 243, 0.16) 58%,
    rgba(250, 247, 243, 0) 72%
  );
}

.wfa-image-carousel__hero-content {
  align-items: flex-start;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  padding: clamp(32px, 5vw, 76px);
  position: relative;
  width: min(50%, 48rem);
  z-index: 2;
}

.wfa-image-carousel__item--text-right .wfa-image-carousel__hero-content {
  margin-left: auto;
}

.wfa-image-carousel__eyebrow {
  align-items: center;
  color: #b85e36;
  display: flex;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.wfa-image-carousel__eyebrow::after {
  background: currentColor;
  content: '';
  height: 1px;
  margin-left: 16px;
  width: 42px;
}

.wfa-image-carousel__title {
  color: #151515;
  font-size: clamp(2rem, 4vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 22px;
}

.wfa-image-carousel__title > span { display: block; }
.wfa-image-carousel__title-accent { color: #bd653e; }

.wfa-image-carousel__hero-text {
  color: #292929;
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  line-height: 1.45;
  max-width: 36rem;
}

.wfa-image-carousel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.wfa-image-carousel__button {
  align-items: center;
  border: 1px solid #bd653e;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 12px;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  text-decoration: none !important;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.wfa-image-carousel__button:hover { transform: translateY(-2px); }

.wfa-image-carousel__button--primary {
  background: #bd653e;
  color: #fff !important;
}

.wfa-image-carousel__button--primary:hover {
  background: #9f4e2d;
  border-color: #9f4e2d;
}

.wfa-image-carousel__button--secondary {
  background: transparent;
  color: #242424 !important;
}

.wfa-image-carousel__button--secondary:hover {
  background: #bd653e;
  color: #fff !important;
}

.wfa-image-carousel__hero-picture {
  box-sizing: border-box;
  height: 100%;
  inset: 0;
  min-height: 100%;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.wfa-image-carousel__hero-image {
  height: 100%;
  max-width: none;
  min-width: 100%;
  object-fit: cover;
  width: 100%;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .wfa-image-carousel__hero {
    min-height: 410px;
  }

  .wfa-image-carousel__hero-content {
    padding: 36px;
    width: 58%;
  }

  .wfa-image-carousel__title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
  }
}

.wfa-image-carousel__arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  color: #111;
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 160ms ease, border-color 160ms ease;
  width: 40px;
  z-index: 2;
}

.wfa-image-carousel__arrow:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.24);
}

.wfa-image-carousel__arrow span {
  display: block;
  font-size: 30px;
  margin-top: -2px;
}

.wfa-image-carousel__arrow--prev {
  left: 12px;
}

.wfa-image-carousel__arrow--next {
  right: 12px;
}

.wfa-image-carousel__bullets {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.wfa-image-carousel__bullet {
  background: rgba(0, 0, 0, 0.22);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 8px;
  padding: 0;
  transition: background 160ms ease, transform 160ms ease, width 160ms ease;
  width: 8px;
}

.wfa-image-carousel__bullet.is-active,
.wfa-image-carousel__bullet:hover {
  background: rgba(0, 0, 0, 0.78);
  transform: scale(1.08);
  width: 22px;
}

.wfa-product-slider {
  position: relative;
  width: 100%;
}

.wfa-product-slider [hidden] {
  display: none !important;
}

.wfa-product-slider__viewport {
  position: relative;
}

.wfa-product-slider__track {
  gap: var(--wfa-carousel-gap-desktop, 32px);
  padding-bottom: 8px;
  scrollbar-width: none;
}

.wfa-product-slider__track::-webkit-scrollbar {
  display: none;
}

.wfa-product-slider.wfa-carousel--controls-hidden .ps-viewedproduct__carousel {
  padding-left: 0;
  padding-right: 0;
}

.wfa-product-slider__item {
  min-width: 0;
}

.wfa-product-slider__item > .slide-product-miniature,
.wfa-product-slider__item > .product-miniature {
  height: 100%;
}

.wfa-product-slider-block .product-miniature__actions:not(.withAddToCart),
.wfa-product-slider-block .slide-product-miniature__actions:not(.withAddToCart) {
  flex: 0 0 48px;
  min-width: 48px;
  width: 48px;
}

.wfa-product-slider-block .product-miniature__actions:not(.withAddToCart) .product-miniature__form,
.wfa-product-slider-block .slide-product-miniature__actions:not(.withAddToCart) .slide-product-miniature__form {
  width: auto;
}

@media (min-width: 768px) {
  .wfa-blocks__spacing {
    padding-bottom: var(--wfa-padding-bottom-tablet, var(--wfa-padding-bottom-mobile, var(--wfa-padding-bottom-desktop, 0)));
    padding-left: var(--wfa-padding-left-tablet, var(--wfa-padding-left-mobile, var(--wfa-padding-left-desktop, 0)));
    padding-right: var(--wfa-padding-right-tablet, var(--wfa-padding-right-mobile, var(--wfa-padding-right-desktop, 0)));
    padding-top: var(--wfa-padding-top-tablet, var(--wfa-padding-top-mobile, var(--wfa-padding-top-desktop, 0)));
  }
}

@media (min-width: 1200px) {
  .wfa-blocks__spacing {
    padding-bottom: var(--wfa-padding-bottom-desktop, var(--wfa-padding-bottom-tablet, var(--wfa-padding-bottom-mobile, 0)));
    padding-left: var(--wfa-padding-left-desktop, var(--wfa-padding-left-tablet, var(--wfa-padding-left-mobile, 0)));
    padding-right: var(--wfa-padding-right-desktop, var(--wfa-padding-right-tablet, var(--wfa-padding-right-mobile, 0)));
    padding-top: var(--wfa-padding-top-desktop, var(--wfa-padding-top-tablet, var(--wfa-padding-top-mobile, 0)));
  }
}

.wfa-product-slider-block .product-miniature__actions:not(.withAddToCart) a,
.wfa-product-slider-block .product-miniature__actions:not(.withAddToCart) button,
.wfa-product-slider-block .slide-product-miniature__actions:not(.withAddToCart) a,
.wfa-product-slider-block .slide-product-miniature__actions:not(.withAddToCart) button {
  height: 48px;
  min-width: 48px;
  width: 48px;
}

.wfa-product-slider__bullets {
  margin-top: 18px;
}

@media (min-width: 768px) {
  .wfa-blocks--desktop,
  .wfa-blocks--both {
    display: block;
  }
}

@media (max-width: 767px) {
  .wfa-blocks__spacing {
    box-sizing: border-box;
  }

  .wfa-blocks {
    margin-bottom: var(--wfa-block-margin-bottom-mobile, 0) !important;
    margin-top: var(--wfa-block-margin-top-mobile, 0) !important;
  }

  .wfa-blocks--mobile,
  .wfa-blocks--both {
    display: block;
  }

  .wfa-image-grid {
    gap: var(--wfa-grid-gap-mobile, 12px);
  }

  .wfa-image-grid__item {
    grid-column: span var(--wfa-grid-span-mobile, 12);
  }

  .wfa-image-carousel {
    gap: var(--wfa-carousel-gap-mobile, 12px);
    scroll-snap-type: x mandatory;
  }

  .wfa-image-carousel__item {
    flex-basis: var(--wfa-carousel-item-width-mobile, 100%) !important;
  }

  .wfa-image-carousel__hero {
    min-height: clamp(440px, 125vw, 620px);
  }

  .wfa-image-carousel__hero::after,
  .wfa-image-carousel__item--text-right .wfa-image-carousel__hero::after {
    background: linear-gradient(
      0deg,
      rgba(250, 247, 243, 0.99) 0%,
      rgba(250, 247, 243, 0.96) 38%,
      rgba(250, 247, 243, 0.74) 60%,
      rgba(250, 247, 243, 0.08) 86%,
      rgba(250, 247, 243, 0) 100%
    );
  }

  .wfa-image-carousel__hero-content,
  .wfa-image-carousel__item--text-right .wfa-image-carousel__hero-content {
    justify-content: flex-end;
    margin-left: 0;
    padding: 30px 24px 32px;
    width: 100%;
  }

  .wfa-image-carousel__hero-picture,
  .wfa-image-carousel__item--text-right .wfa-image-carousel__hero-picture {
    min-height: 100%;
  }

  .wfa-image-carousel__title {
    font-size: clamp(2rem, 10vw, 3rem);
    margin-bottom: 18px;
  }

  .wfa-image-carousel__actions { margin-top: 22px; }

  .wfa-image-carousel__button {
    min-height: 44px;
    padding: 9px 20px;
  }

  .wfa-image-carousel__arrow {
    height: 34px;
    width: 34px;
  }

  .wfa-image-carousel__arrow span {
    font-size: 26px;
  }

  .wfa-image-carousel__arrow--prev {
    left: 8px;
  }

  .wfa-image-carousel__arrow--next {
    right: 8px;
  }

  .wfa-product-slider__track {
    gap: var(--wfa-carousel-gap-mobile, 16px);
    padding-bottom: 8px;
  }
}
/* Personalisation banner: image, left content and no right-hand text column. */
.wfa-personal-banner {
  background-color: #eee5de;
  background-image: var(--wfa-personal-banner-image, none);
  background-position: center right;
  background-repeat: no-repeat;
  background-size: contain;
  color: #17191c;
  isolation: isolate;
  min-height: clamp(288px, 25vw, 432px);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.wfa-personal-banner::after {
  background: linear-gradient(
    90deg,
    #fbfaf8 0%,
    #fbfaf8 52%,
    rgba(251, 250, 248, 0.96) 55%,
    rgba(251, 250, 248, 0.78) 59%,
    rgba(251, 250, 248, 0.52) 64%,
    rgba(251, 250, 248, 0.26) 69%,
    rgba(251, 250, 248, 0.08) 73%,
    rgba(251, 250, 248, 0) 77%
  );
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.wfa-personal-banner__inner {
  align-items: center;
  display: flex;
  margin-inline: auto;
  box-sizing: border-box;
  min-height: inherit;
  padding: clamp(28px, 4vw, 64px) 0;
  position: relative;
  width: min(100%, 92rem);
  z-index: 3;
}

.wfa-personal-banner__content {
  width: min(45%, 34rem);
}

.wfa-personal-banner__title {
  color: #17191c;
  font-size: clamp(2rem, 3.25vw, 3.75rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 1rem;
}

.wfa-personal-banner__title > span {
  display: block;
}

.wfa-personal-banner__title-accent {
  color: #bd653e;
}

.wfa-personal-banner__text {
  color: #34302d;
  font-size: clamp(0.9rem, 1.15vw, 1.05rem);
  line-height: 1.45;
  max-width: 31rem;
}

.wfa-personal-banner__button {
  align-items: center;
  background: #bd653e;
  border: 1px solid #bd653e;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
  min-height: 44px;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.wfa-personal-banner__button:hover,
.wfa-personal-banner__button:focus-visible {
  background: #914827;
  border-color: #914827;
  color: #fff;
  text-decoration: none;
  transform: none;
}

.wfa-personal-banner__button span {
  line-height: 1;
  transform: none;
}

.wfa-personal-banner__button--disabled {
  cursor: default;
}

@media (min-width: 768px) and (max-width: 991px) {
  .wfa-personal-banner__inner {
    padding-inline: 1.5rem;
  }
}

@media (max-width: 767px) {
  .wfa-personal-banner {
    background-image: var(--wfa-personal-banner-image-mobile, var(--wfa-personal-banner-image, none));
    min-height: clamp(480px, 135vw, 620px);
  }

  .wfa-personal-banner::after {
    background: linear-gradient(
      0deg,
      rgba(251, 250, 248, 0.99) 0%,
      rgba(251, 250, 248, 0.96) 38%,
      rgba(251, 250, 248, 0.7) 60%,
      rgba(251, 250, 248, 0.08) 84%,
      rgba(251, 250, 248, 0) 100%
    );
  }

  .wfa-personal-banner__inner {
    align-items: flex-end;
    padding: 28px 20px 32px;
  }

  .wfa-personal-banner__content {
    width: 100%;
  }

  .wfa-personal-banner__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}


/* Homepage blog articles, fed by PrestaBlog and managed as a PrettyBlocks block. */
.wfa-blog-posts-block {
  background: #fbfaf8;
  color: #17191c;
  padding: clamp(22px, 2.5vw, 36px) 0;
}

.wfa-blog-posts.container {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: none;
  padding-inline: 0;
  width: min(100%, 92rem);
}

.wfa-blog-posts__header {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.wfa-blog-posts__title {
  color: #17191c;
  font-size: clamp(1.75rem, 2.6vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
}

.wfa-blog-posts__title span,
.wfa-blog-posts__all-link,
.wfa-blog-card__category,
.wfa-blog-card__link {
  color: #bd653e;
}

.wfa-blog-posts__all-link,
.wfa-blog-card__link {
  font-size: 0.875rem;
  text-decoration: none;
}

.wfa-blog-posts__all-link:hover,
.wfa-blog-card__link:hover,
.wfa-blog-card__title a:hover {
  color: #914827;
  text-decoration: none;
}

.wfa-blog-posts__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wfa-blog-card {
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(80, 57, 44, 0.1);
  border-radius: 9px;
  display: grid;
  grid-template-columns: minmax(112px, 42%) minmax(0, 1fr);
  min-height: 150px;
  overflow: hidden;
}

.wfa-blog-card__image-link {
  background-color: #eee5de;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  min-height: 150px;
  overflow: hidden;
  position: relative;
}

.wfa-blog-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 15px 14px 13px;
}

.wfa-blog-card__category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.wfa-blog-card__title {
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.28;
  margin: 0 0 12px;
}

.wfa-blog-card__title a {
  color: #17191c;
  text-decoration: none;
}

.wfa-blog-card__link {
  margin-top: auto;
}

@media (max-width: 1199px) {
  .wfa-blog-posts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wfa-blog-posts-block {
    padding: 22px 0;
  }

  .wfa-blog-posts.container {
    padding-inline: 20px;
  }

  .wfa-blog-posts__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .wfa-blog-posts__grid {
    grid-template-columns: 1fr;
  }

  .wfa-blog-card {
    grid-template-columns: 40% minmax(0, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .wfa-blog-posts.container {
    padding-inline: 1.5rem;
  }
}


/* Category purchase and separate-product color picker */
.page-category .product-miniature__bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px 12px 14px;
}

.page-category .product-miniature__infos {
  width: 100%;
  min-width: 0;
}

.page-category .product-miniature__title {
  display: block;
  overflow: hidden;
  margin: 0;
  color: #171717;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.page-category .product-miniature__title:hover,
.page-category .product-miniature__title:focus-visible {
  color: #c45f34;
}

.page-category .product-miniature__prices,
.page-category .product-miniature__price {
  margin: 0;
  line-height: 1.2;
}

.page-category .product-miniature__price {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.page-category .product-miniature--custom-3d .product-miniature__price--on-request {
  color: #756962;
  font-size: 13px;
  font-weight: 600;
}

.page-category .product-miniature__actions {
  flex: 0 0 auto;
  width: auto;
  margin: 0 0 0 auto;
}

.page-category .product-miniature__form {
  width: auto;
  flex-direction: row;
}

.page-category .product-miniature__form .quantity-button {
  display: none;
}

.page-category .product-miniature__add {
  display: inline-grid !important;
  width: 36px !important;
  height: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border-color: #c9673b;
  border-radius: 999px;
  background: #c9673b;
  color: #fff;
}

.page-category .product-miniature__add:hover,
.page-category .product-miniature__add:focus-visible {
  border-color: #ad512e;
  background: #ad512e;
  color: #fff;
  transform: none;
}

.page-category .product-miniature__add .product-miniature__add-text {
  display: none !important;
}

.page-category .wfa-category-product__purchase-line {
  display: flex;
  width: 100%;
  min-height: 36px;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.page-category .wfa-category-product__colors {
  display: flex;
  min-height: 18px;
  flex: 0 0 auto;
  gap: 6px;
  align-items: center;
}

/* Also cover already-rendered/cached swatches without hiding configurator choices. */
.product-miniature--custom-3d .wfa-category-product__colors,
.product-miniature--custom-3d .product-miniature__variants {
  display: none;
}

.page-category .wfa-category-product__color {
  display: block;
  width: 17px;
  height: 17px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #d9d2cb;
  transition: box-shadow .2s ease, transform .2s ease;
}

.page-category .wfa-category-product__color:hover,
.page-category .wfa-category-product__color:focus-visible,
.page-category .wfa-category-product__color.is-current {
  box-shadow: 0 0 0 2px #c9673b;
  transform: scale(1.08);
}

@container product-miniature (width < 235px) {
  .page-category .wfa-category-product__colors {
    display: none;
  }
}

.wfa-color-picker[hidden] {
  display: none;
}

.wfa-color-picker {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  padding: 24px;
  place-items: center;
}

.wfa-color-picker__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 17, 15, 0.55);
  backdrop-filter: blur(3px);
}

.wfa-color-picker__dialog {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  padding: 34px;
  overflow-y: auto;
  border-radius: 18px;
  background: #fffdfb;
  box-shadow: 0 24px 70px rgba(36, 24, 18, 0.24);
}

.wfa-color-picker__close {
  position: absolute;
  top: 14px;
  right: 16px;
  display: inline-flex;
  width: 38px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #f7eee8;
  color: #2a211d;
  font-size: 28px;
  line-height: 1;
}

.wfa-color-picker__eyebrow {
  margin: 0 0 6px;
  color: #c9673b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wfa-color-picker h2 {
  margin: 0;
  color: #171514;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
}

.wfa-color-picker__intro {
  margin: 8px 42px 24px 0;
  color: #6f6762;
}

.wfa-color-picker__status {
  color: #6f6762;
}

.wfa-color-picker__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wfa-color-picker__option {
  display: grid;
  min-width: 0;
  padding: 8px;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 2px solid #eee5df;
  border-radius: 12px;
  background: #fff;
  color: #171514;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wfa-color-picker__option:hover,
.wfa-color-picker__option.is-selected {
  border-color: #c9673b;
  box-shadow: 0 5px 18px rgba(201, 103, 59, 0.13);
}

.wfa-color-picker__option:disabled {
  opacity: 0.5;
}

.wfa-color-picker__option > img,
.wfa-color-picker__image-placeholder {
  width: 84px;
  height: 84px;
  border-radius: 9px;
  background: #f3ebe5;
  object-fit: cover;
}

.wfa-color-picker__option-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.wfa-color-picker__color-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.wfa-color-picker__swatch {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;
}

.wfa-color-picker__product-name {
  overflow: hidden;
  color: #716862;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wfa-color-picker__price {
  font-weight: 700;
}

.wfa-color-picker__form {
  margin-top: 24px;
}

.wfa-color-picker__submit {
  display: flex;
  width: 100%;
  min-height: 48px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border-color: #c9673b;
  border-radius: 999px;
  background: #c9673b;
  color: #fff;
}

.wfa-color-picker__submit:hover,
.wfa-color-picker__submit:focus-visible,
.wfa-color-picker__submit:active {
  border-color: #ad512e !important;
  background: #ad512e !important;
  color: #fff !important;
}

body.wfa-color-picker-open {
  overflow: hidden;
}

@media (max-width: 575px) {
  .wfa-color-picker {
    padding: 12px;
    align-items: end;
  }

  .wfa-color-picker__dialog {
    max-height: calc(100vh - 24px);
    padding: 28px 18px 20px;
    border-radius: 18px 18px 8px 8px;
  }

  .wfa-color-picker__options {
    grid-template-columns: 1fr;
  }

  .wfa-color-picker__option {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .wfa-color-picker__option > img,
  .wfa-color-picker__image-placeholder {
    width: 70px;
    height: 70px;
  }
}
