/*
 * Soo1 -> Fashion2 parity layer.
 * Every homepage override is scoped to the migrated section key so new OS 3.0
 * sections keep Fashion2's native behaviour and remain editable.
 */

html {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  max-width: 100%;
}

:root {
  --page-padding: 40px;
}

body {
  font-size: 14px;
  background: #eee;
}

@media (max-width: 820px) {
  :root {
    --page-padding: 20px;
  }

  body {
    padding-block-end: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}

.bigwhite-mobile-tabbar {
  display: none;
}

@media (max-width: 820px) {
  .bigwhite-mobile-tabbar {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: calc(84px + env(safe-area-inset-bottom, 0px));
    padding-block-end: env(safe-area-inset-bottom, 0px);
    overflow: hidden;
    box-sizing: border-box;
    color: #111;
    background: #fff;
    border-block-start: 1px solid rgb(0 0 0 / 10%);
    contain: layout paint;
  }

  .bigwhite-mobile-tabbar__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    color: inherit;
    font-family: var(--sort-body-font);
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
  }

  .bigwhite-mobile-tabbar > .bigwhite-mobile-cart,
  .bigwhite-mobile-tabbar > .bigwhite-mobile-cart .cart-bubble__trigger {
    width: 100%;
    height: 100%;
  }

  .bigwhite-mobile-tabbar > .bigwhite-mobile-cart .cart-bubble__trigger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    color: inherit;
    font: inherit;
  }

  .bigwhite-mobile-tabbar > .bigwhite-mobile-cart .cart-bubble__count {
    inset-block: 10px auto;
    inset-inline: calc(50% + 7px) auto;
    min-width: 20px;
    max-width: 34px;
    height: 18px;
    padding-inline: 4px;
    overflow: hidden;
    font-family: var(--sort-body-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    color: #fff;
    background: #ed1c24;
    border: 1px solid #111;
    border-radius: 0;
    box-shadow: 2px 2px 0 #111;
  }

  .bigwhite-mobile-tabbar > .bigwhite-mobile-cart .cart-bubble__trigger:focus-visible {
    outline: 2px solid #ed1c24;
    outline-offset: -4px;
  }

  .bigwhite-mobile-tabbar__item svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentcolor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .header-nav-drawer.hidden-desktop .header-nav-drawer__menu {
    width: calc(100% - 40px);
    margin: 16px 20px 0;
    background: #e2e2e2;
  }

  .header-nav-drawer.hidden-desktop .header-nav-drawer__menu > ul > li > a {
    position: relative;
    min-height: 46px;
    padding-inline: 15px 38px;
  }

  .header-nav-drawer.hidden-desktop .header-nav-drawer__menu > ul > li > a::after {
    position: absolute;
    inset-inline-end: 15px;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    content: "›";
  }
}

/* The injected footer locale menu keeps thousands of hidden list pixels in
   the page scroll area. Remove it while closed and reveal it on interaction. */
body {
  overflow-x: hidden;
}

.footer__translate_isv .dropdown__list {
  display: none !important;
}

.footer__translate_isv .dropdown__disclosure:focus-within .dropdown__list {
  display: block !important;
}

/* Keep inactive slides inside the hero viewport without exposing the
   carousel's native horizontal scrollbar. Programmatic slide changes remain
   available with overflow:hidden. */
.slideshow .carousel__track {
  overflow-x: hidden !important;
  scrollbar-width: none;
}

/* Keep the internally scrollable carousel track from enlarging the page's
   horizontal scroll area. The outer clip does not interfere with scrollLeft. */
.slideshow theme-carousel {
  overflow-x: clip;
}

.slideshow {
  contain: paint;
}

.slideshow .carousel__track::-webkit-scrollbar {
  display: none;
}

/* Announcement and the two-row Soo1 header. */
#shopline-section-sections--header-group__announcement-bar
  .announcement-bar__group-item {
  min-height: 54px;
  background: #0f0f0f;
}

#shopline-section-sections--header-group__announcement-bar
  .announcement-bar__group-item-inner {
  min-height: 44px;
  gap: 24px;
  justify-content: space-between;
  margin-inline: 0;
}

#shopline-section-sections--header-group__announcement-bar
  .announcement-bar__group-social-medias {
  display: none;
}

#shopline-section-sections--header-group__announcement-bar .rte {
  max-width: 800px;
  font-weight: 400;
  line-height: 21px;
  text-align: left;
  word-break: normal;
  overflow-wrap: anywhere;
}

.bigwhite-announcement-locales {
  flex: 0 0 auto;
  margin-inline-start: auto;
  color: #fff;
}

.bigwhite-announcement-locales .theme-locale-picker__inner {
  flex-direction: row-reverse;
  gap: 28px;
}

.bigwhite-announcement-locales .dropdown-menu__label {
  font-size: 14px;
  color: #fff;
}

.header-section,
.header-section .header__container {
  background: #fafafa;
}

.header-section .header__logo-image {
  display: block;
}

@media (min-width: 960px) {
  .header-section .header__container[layout="center_logo_wrap_menu"]
    .header__container-top-wrap {
    display: grid;
    grid-template-areas: "action-bar-left logo action-bar-right";
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: 24px;
    min-height: 100px;
  }

  .header-section .header-action-bar.left {
    grid-area: action-bar-left;
    justify-self: start;
  }

  .header-section .header__logo {
    grid-area: logo;
    order: initial;
  }

  .header-section .header-action-bar.right {
    grid-area: action-bar-right;
    justify-self: end;
  }
}

.header-section .header__container-bottom {
  border-block-start: 1px solid rgb(0 0 0 / 15%);
}

.header-section .header-nav__menu-item {
  min-height: 26px;
  margin-inline: 0;
}

.header-section .header-nav__menu-item > a {
  font-family: var(--sort-body-font);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.header-section .header-nav__menu-item > a > span {
  padding: 16px 20px;
}

.header-section .header-action-bar {
  gap: 16px;
  padding-block: 0;
  margin-inline-start: 0;
}

.header-section .header-action-bar.left {
  justify-content: flex-start;
}

.header-section .header-action-bar .button--icon:has(.bigwhite-action-label),
.header-section .header-action-bar .bigwhite-cart-entry {
  width: auto;
  min-width: 0;
  gap: 8px;
}

.bigwhite-action-label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.header-section .header-action-bar__search-bar {
  position: relative;
  width: 245px;
  height: 40px;
  color: #000;
  border: 1px solid #1c1c1c;
  border-radius: 4px;
}

.header-section .header-action-bar__search-bar-icon {
  position: absolute;
  inset-inline: auto 12px;
  z-index: 2;
}

.header-section .header-action-bar__search-bar-input {
  padding-inline: 12px 42px;
}

@media (max-width: 959px) {
  #shopline-section-sections--header-group__announcement-bar
    .announcement-bar__group-item {
    min-height: 44px;
  }

  #shopline-section-sections--header-group__announcement-bar
    .announcement-bar__group-item-inner {
    min-height: 44px;
    justify-content: center;
  }

  #shopline-section-sections--header-group__announcement-bar .rte {
    max-width: none;
    line-height: 18px;
    text-align: center;
  }

  .bigwhite-action-label {
    display: none;
  }

  .header-section .header-nav__menu-item > a > span {
    padding-block: 12px;
  }

  .header-section
    .header__container[mobile-layout="left_logo"]
    .header__container-top-wrap {
    display: grid !important;
    grid-template: "logo action-bar-right" !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    min-height: 70px;
  }

  .header-section .header-action-bar.left {
    display: none !important;
  }

  .header-section .header__logo {
    grid-area: logo !important;
    justify-content: flex-start !important;
  }

  .header-section .header-action-bar.right {
    grid-area: action-bar-right !important;
    justify-content: flex-end;
    justify-self: end;
    margin-inline-start: 0;
  }

  .header-section .header-action-bar__menu {
    display: inline-flex !important;
    order: 99;
  }

  .header-section .header__logo-image {
    width: var(--mobile-size) !important;
  }

  .header-section .header-search-bar {
    position: relative !important;
    inset: auto !important;
    z-index: 1 !important;
    display: block;
    max-width: none;
    pointer-events: auto !important;
    opacity: 1 !important;
    transition: none !important;
    transform: none !important;
  }

  .header-section .header-search-bar__backdrop,
  .header-section .header-search-bar__form button[name="close"],
  .header-section .header-search-bar__results {
    display: none !important;
  }

  .header-section .header-search-bar__form {
    box-sizing: border-box;
    width: calc(100% - var(--page-padding) * 2);
    min-height: 46px;
    padding: 0 12px !important;
    margin: 0 var(--page-padding) 10px;
    background: #fafafa;
    border: 1px solid #1c1c1c;
    border-radius: 4px;
  }

  .header-section .header-search-bar__form .field__input {
    min-height: 44px;
  }

  .header-nav-drawer__content {
    width: 100vw;
    max-width: none;
  }
}

.footer theme-select,
.footer .theme-select__float {
  min-height: 44px;
}

/* Soo1's fixed header activates after a 250px threshold. The full header
   remains as a placeholder while the compact state slides in from above. */
.bigwhite-sticky-nav-toggle {
  display: none !important;
}

.bigwhite-sticky-nav-toggle > span {
  display: inline-flex;
}

.bigwhite-sticky-nav-toggle__close {
  display: none !important;
}

.bigwhite-legacy-sticky theme-sticky-header {
  position: relative;
  z-index: calc(var(--z-index-fixed) - 1);
}

.bigwhite-legacy-sticky theme-sticky-header > .header-section {
  position: fixed;
  inset-block-start: var(--theme-sticky-header-top, 0);
  inset-inline: 0;
  z-index: calc(var(--z-index-fixed) - 1);
  width: 100%;
  transform: translate3d(0, -100%, 0);
  transition: none;
}

.bigwhite-legacy-opening theme-sticky-header > .header-section {
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (min-width: 960px) {
  .bigwhite-legacy-sticky .header-section .header__container {
    position: relative;
    overflow: visible;
  }

  .bigwhite-legacy-sticky .header-section .header__container-top {
    position: relative;
    z-index: 2;
    background: #fafafa;
  }

  .bigwhite-legacy-sticky .bigwhite-sticky-nav-toggle {
    display: inline-flex !important;
  }

  .bigwhite-legacy-nav-open .bigwhite-sticky-nav-toggle__menu {
    display: none !important;
  }

  .bigwhite-legacy-nav-open .bigwhite-sticky-nav-toggle__close {
    display: inline-flex !important;
  }

  .bigwhite-legacy-sticky .header-section .header__container-bottom {
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 0;
    z-index: 1;
    width: 100%;
    pointer-events: none;
    opacity: 0;
    background: #fafafa;
    transform: translateY(-100%);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .bigwhite-legacy-nav-open .header-section .header__container-bottom {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 959px) {
  .header-section .header-action-bar.right > .header-action-bar__search {
    display: none !important;
  }

  .bigwhite-legacy-opening
    .header-section
    .header-action-bar.right
    > .header-action-bar__search {
    display: inline-flex !important;
    order: 1;
  }

  .bigwhite-legacy-opening .header-section .bigwhite-cart-entry {
    order: 2;
  }

  .bigwhite-legacy-opening .header-section .header-search-bar:not(.open) {
    display: none !important;
  }

  .bigwhite-legacy-opening .header-section .header-search-bar.open {
    position: absolute !important;
    inset-block-start: 0 !important;
    inset-inline: 0 !important;
    z-index: calc(var(--header-nav-dropdown-menu-z-index) + 1) !important;
    display: flex !important;
    height: auto !important;
    max-width: none;
    pointer-events: auto !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .bigwhite-legacy-opening
    .header-section
    .header-search-bar.open
    .header-search-bar__backdrop {
    display: block !important;
  }

  .bigwhite-legacy-opening
    .header-section
    .header-search-bar.open
    .header-search-bar__form
    button[name="close"] {
    display: inline-flex !important;
  }

  .bigwhite-legacy-opening
    .header-section
    .header-search-bar.open
    .header-search-bar__form {
    width: 100%;
    min-height: auto;
    padding: 10px 20px !important;
    margin: 0;
    background: #fafafa;
    border: 0;
    border-radius: 0;
  }

  .bigwhite-legacy-opening
    .header-section
    .header-search-bar.open
    .header-search-bar__results.shown {
    display: flex !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bigwhite-legacy-opening theme-sticky-header > .header-section,
  .bigwhite-legacy-sticky .header-section .header__container-bottom {
    transition-duration: 0.01ms;
  }
}

/* Slideshow: old theme used white copy and per-slide display sizes. */
[id$="__bigwhite-slideshow"] .slideshow__image-container {
  color: #fff;
  text-shadow: 0 2px 8px rgb(0 0 0 / 45%);
}

[id$="__bigwhite-slideshow"] .slideshow__item:nth-child(1) .block-heading,
[id$="__bigwhite-slideshow"] .slideshow__item:nth-child(2) .block-heading,
[id$="__bigwhite-slideshow"] .slideshow__item:nth-child(5) .block-heading {
  font-size: 70px;
}

[id$="__bigwhite-slideshow"] .slideshow__item:nth-child(3) .block-heading {
  font-size: 55px;
}

[id$="__bigwhite-slideshow"] .slideshow__item:nth-child(4) .block-heading {
  font-size: 57px;
}

[id$="__bigwhite-slideshow"] .slideshow__item:nth-child(4) .block-group,
[id$="__bigwhite-slideshow"] .slideshow__item:nth-child(5) .block-group {
  padding: 40px;
}

[id$="__bigwhite-slideshow"] .slideshow__image-link {
  z-index: 2;
}

[id$="__bigwhite-slideshow"] .slideshow__image-container {
  z-index: 3;
}

@media (max-width: 749px) {
  [id$="__bigwhite-slideshow"] .slideshow__item:nth-child(1) .block-heading,
  [id$="__bigwhite-slideshow"] .slideshow__item:nth-child(2) .block-heading,
  [id$="__bigwhite-slideshow"] .slideshow__item:nth-child(5) .block-heading {
    font-size: 35px;
  }

  [id$="__bigwhite-slideshow"] .slideshow__item:nth-child(3) .block-heading {
    font-size: 27.5px;
  }

  [id$="__bigwhite-slideshow"] .slideshow__item:nth-child(4) .block-heading {
    font-size: 28.5px;
  }

  [id$="__bigwhite-slideshow"] .slideshow__item:nth-child(4) .block-group,
  [id$="__bigwhite-slideshow"] .slideshow__item:nth-child(5) .block-group {
    padding: 20px;
  }
}

@media (min-width: 750px) and (max-width: 959px) {
  [id$="__bigwhite-slideshow"] .slideshow__image {
    aspect-ratio: var(--desktop-aspect-ratio);
  }

  [id$="__bigwhite-slideshow"] .slideshow__image--mobile {
    display: none;
  }

  [id$="__bigwhite-slideshow"] .slideshow__image-picture,
  [id$="__bigwhite-slideshow"] .slideshow__image--desktop {
    display: block;
    height: var(--desktop-height);
  }
}

/* Homepage product rows. */
[id$="__bigwhite-new-products"] .section-featured-collection,
[id$="__bigwhite-accessories"] .section-featured-collection {
  background: #eee;
}

[id$="__bigwhite-new-products"] .page-width > div,
[id$="__bigwhite-accessories"] .page-width > div {
  position: relative;
}

[id$="__bigwhite-new-products"] theme-featured-collection-tabs,
[id$="__bigwhite-accessories"] theme-featured-collection-tabs {
  position: relative;
  display: block;
}

[id$="__bigwhite-new-products"] .featured-collection__tabs-content,
[id$="__bigwhite-accessories"] .featured-collection__tabs-content,
[id$="__bigwhite-new-products"] .featured-collection__tabs-content-inner,
[id$="__bigwhite-accessories"] .featured-collection__tabs-content-inner,
[id$="__bigwhite-new-products"] .featured-collection__carousel,
[id$="__bigwhite-accessories"] .featured-collection__carousel {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

[id$="__bigwhite-new-products"] .featured-collection__view-more,
[id$="__bigwhite-accessories"] .featured-collection__view-more {
  position: absolute;
  inset-block-start: -76px;
  inset-inline-end: 0;
  min-height: 44px;
  padding: 0 2px;
}

[id$="__bigwhite-new-products"] .featured-collection__view-more::before,
[id$="__bigwhite-accessories"] .featured-collection__view-more::before {
  display: none;
}

[id$="__bigwhite-new-products"] .featured-collection__tabs-header,
[id$="__bigwhite-accessories"] .featured-collection__tabs-header {
  min-height: 0;
  margin: 0;
}

@media (min-width: 750px) and (max-width: 959px) {
  [id$="__bigwhite-new-products"] .featured-collection__track,
  [id$="__bigwhite-accessories"] .featured-collection__track {
    --column-gap: var(--grid-horizontal-spacing);
    --column-width: calc((100% - var(--column-gap) * 3) / 4);

    grid-template-columns: repeat(4, var(--column-width));
    grid-auto-flow: row;
    row-gap: 20px;
    overflow: visible;
  }

  [id$="__bigwhite-new-products"] .page-width > div,
  [id$="__bigwhite-accessories"] .page-width > div,
  [id$="__bigwhite-new-arrivals-magazine"] .page-width > div,
  [id$="__bigwhite-diy-guides"] .page-width > div,
  [id$="__bigwhite-product-guides"] .page-width > div {
    padding-block: 60px !important;
    row-gap: 40px !important;
    column-gap: 40px !important;
  }

  [id$="__bigwhite-sign-up"] .sign-up-and-save__content {
    padding-block: 75px !important;
  }

  [id$="__bigwhite-new-products"] .block-heading.title4,
  [id$="__bigwhite-accessories"] .block-heading.title4,
  [id$="__bigwhite-diy-guides"] .block-heading.title4,
  [id$="__bigwhite-product-guides"] .block-heading.title4,
  [id$="__bigwhite-sign-up"] .block-heading.title4 {
    font-size: 30px;
  }

  [id$="__bigwhite-new-arrivals-magazine"] .block-article-card .body3,
  [id$="__bigwhite-diy-guides"] .block-article-card .body3,
  [id$="__bigwhite-product-guides"] .block-article-card .body3 {
    font-size: 16px;
  }
}

@media (max-width: 749px) {
  [id$="__bigwhite-new-products"] .featured-collection__view-more,
  [id$="__bigwhite-accessories"] .featured-collection__view-more {
    inset-block-start: -64px;
  }

  [id$="__bigwhite-new-products"] .featured-collection__track {
    --column-gap: 20px;
    --row-gap: 20px;
    --column-width: 130px;

    grid-template-columns: none;
    grid-auto-columns: 130px;
    column-gap: 20px;
    row-gap: 20px;
    scroll-padding-inline: 20px;
  }

  [id$="__bigwhite-accessories"] .featured-collection__track {
    --column-gap: 20px;
    --row-gap: 20px;

    column-gap: 20px;
    row-gap: 20px;
  }
}

/* Shop the look: 790/50/345 desktop split, fixed hotspots and right copy. */
[id$="__bigwhite-shop-the-look"] .shopping-image {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

[id$="__bigwhite-shop-the-look"] .shopping-image__image {
  max-width: 1420px;
  min-height: 0;
  padding-block: 128px 60px;
  overflow: visible;
  background: #fff;
}

[id$="__bigwhite-shop-the-look"] .shopping-image__image-wrapper,
[id$="__bigwhite-shop-the-look"] .shopping-image__content-wrapper {
  width: 66.6667%;
}

[id$="__bigwhite-shop-the-look"] .shopping-image__content-wrapper {
  inset-block-start: 128px;
  height: calc(100% - 188px);
}

[id$="__bigwhite-shop-the-look"] .shopping-image__image-wrapper {
  align-self: flex-start;
  background: transparent;
}

[id$="__bigwhite-shop-the-look"] .shopping-image__image-wrapper img {
  aspect-ratio: 1;
  object-fit: cover;
}

[id$="__bigwhite-shop-the-look"] .shopping-image__group {
  position: absolute;
  inset-block: 0;
  inset-inline-start: calc(100% + 50px);
  justify-content: center !important;
  width: calc(50% - 50px) !important;
  height: 100% !important;
  padding: 0 !important;
}

[id$="__bigwhite-shop-the-look"]
  .shopping-image__group
  > .block-heading:first-child {
  position: absolute;
  inset-block-start: -68px;
  inset-inline-start: calc(-200% - 150px);
  width: calc(300% + 150px);
  font-family: var(--sort-title-font);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
}

[id$="__bigwhite-shop-the-look"]
  .shopping-image__group
  > .block-heading:nth-child(2) {
  margin-block-end: 10px;
  font-family: var(--sort-title-font);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: none;
}

[id$="__bigwhite-shop-the-look"] .shopping-image__description {
  font-family: var(--sort-body-font);
  font-size: 16px;
  line-height: 1.6;
}

[id$="__bigwhite-shop-the-look"] .shopping-image__group .button {
  min-height: 44px;
  margin-block-start: 26px;
  padding: 10px 22px;
  font-family: var(--sort-body-font);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #111;
  border-color: #111;
  border-radius: 0;
}

[id$="__bigwhite-shop-the-look"] .product-anchor--with-image {
  display: none;
}

[id$="__bigwhite-shop-the-look"] .product-anchor:not(.product-anchor--with-image) .product-anchor__title {
  font-family: var(--sort-title-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

[id$="__bigwhite-shop-the-look"] .product-anchor:not(.product-anchor--with-image) .product-anchor__description {
  font-family: var(--sort-body-font);
  font-size: 14px;
  line-height: 1.6;
}

[id$="__bigwhite-shop-the-look"] .shopping-image__content-wrapper > .product-anchor:nth-child(4) .product-anchor__title {
  font-size: 16px;
}

[id$="__bigwhite-shop-the-look"] .shopping-image__content-wrapper > .product-anchor:nth-child(4) .product-anchor__description {
  font-size: 14px;
}

@media (min-width: 750px) and (max-width: 959px) {
  [id$="__bigwhite-shop-the-look"] .hidden-mobile {
    display: block !important;
  }

  [id$="__bigwhite-shop-the-look"] .hidden-desktop {
    display: none !important;
  }

  [id$="__bigwhite-shop-the-look"] .shopping-image__image {
    display: block;
    padding: 70px var(--page-padding) 260px;
    overflow: hidden;
  }

  [id$="__bigwhite-shop-the-look"] .shopping-image__image::before {
    position: absolute;
    inset-block-start: 20px;
    inset-inline: 0;
    content: "Shop the look";
    font-family: var(--sort-title-font);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
  }

  [id$="__bigwhite-shop-the-look"] .shopping-image__image-wrapper {
    width: 100%;
  }

  [id$="__bigwhite-shop-the-look"] .shopping-image__content-wrapper {
    inset-block-start: 70px;
    inset-inline-start: var(--page-padding);
    width: calc(100% - var(--page-padding) * 2);
    height: calc(100% - 330px);
  }

  [id$="__bigwhite-shop-the-look"] .shopping-image__group {
    inset-block: calc(100% + 30px) auto;
    inset-inline-start: 0;
    width: 100% !important;
    height: auto !important;
    padding: 0 30px !important;
    text-align: center;
  }

  [id$="__bigwhite-shop-the-look"]
    .shopping-image__group
    > .block-heading:first-child {
    display: none;
  }

  [id$="__bigwhite-shop-the-look"]
    .shopping-image__group
    > .block-heading:nth-child(2) {
    font-size: 30px;
  }
}

@media (max-width: 749px) {
  [id$="__bigwhite-shop-the-look"] .shopping-image {
    overflow: visible;
  }

  [id$="__bigwhite-shop-the-look"] .shopping-image__image {
    position: relative;
    width: 100%;
    max-width: none;
    padding-block: 70px 0;
    padding-inline: 0;
    margin-inline: 0;
  }

  [id$="__bigwhite-shop-the-look"] .shopping-image__image::before {
    position: absolute;
    inset-block-start: 20px;
    inset-inline: 0;
    content: "Shop the look";
    font-family: var(--sort-title-font);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
    text-align: center;
  }

  [id$="__bigwhite-shop-the-look"] .shopping-image__image-wrapper,
  [id$="__bigwhite-shop-the-look"] .shopping-image__content-wrapper {
    width: 100%;
  }

  [id$="__bigwhite-shop-the-look"] .shopping-image__content-wrapper {
    inset-block-start: 70px;
    inset-inline-start: 0;
    height: calc(100% - 70px);
  }

  [id$="__bigwhite-shop-the-look"] .shopping-image__group {
    inset-block: auto 20px;
    inset-inline: 20px;
    width: auto !important;
    height: auto !important;
    padding: 20px !important;
    color: #fff;
    background: rgb(0 0 0 / 55%);
  }

  [id$="__bigwhite-shop-the-look"]
    .shopping-image__group
    > .block-heading:first-child {
    display: none;
  }

  [id$="__bigwhite-shop-the-look"]
    .shopping-image__group
    > .block-heading:nth-child(2) {
    font-size: 20px;
  }

  [id$="__bigwhite-shop-the-look"] .shopping-image__description {
    font-size: 14px;
  }

  [id$="__bigwhite-shop-the-look"] .product-anchor:not(.product-anchor--with-image) .product-anchor__content {
    width: min(240px, calc(100vw - 40px));
    min-width: 0;
    max-width: none;
  }

  [id$="__bigwhite-shop-the-look"] .product-anchor:not(.product-anchor--with-image) .product-anchor__title {
    font-size: 15px;
  }

  [id$="__bigwhite-shop-the-look"] .product-anchor:not(.product-anchor--with-image) .product-anchor__description {
    font-size: 14px;
  }

  [id$="__bigwhite-shop-the-look"] .shopping-image__content-wrapper > .product-anchor:nth-child(4) .product-anchor__content {
    transform: translateX(-42%);
  }

  [id$="__bigwhite-shop-the-look"] .shopping-image__content-wrapper > .product-anchor:nth-child(5) .product-anchor__content {
    transform: translateX(-55%);
  }
}

/* Shared blog title row and View all link. */
[id$="__bigwhite-new-arrivals-magazine"] .page-width > div,
[id$="__bigwhite-diy-guides"] .page-width > div,
[id$="__bigwhite-product-guides"] .page-width > div {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch !important;
  column-gap: 30px !important;
  row-gap: 40px !important;
}

[id$="__bigwhite-new-arrivals-magazine"] .page-width > div {
  row-gap: 30px !important;
}

[id$="__bigwhite-new-arrivals-magazine"] .page-width > div > .block-heading,
[id$="__bigwhite-diy-guides"] .page-width > div > .block-heading,
[id$="__bigwhite-product-guides"] .page-width > div > .block-heading {
  grid-column: 1;
  min-width: 0;
}

[id$="__bigwhite-new-arrivals-magazine"] .page-width > div > .button,
[id$="__bigwhite-diy-guides"] .page-width > div > .button,
[id$="__bigwhite-product-guides"] .page-width > div > .button {
  position: static;
  grid-column: 2;
  justify-self: end;
  align-self: end;
  min-height: 44px;
  padding: 0 2px;
}

[id$="__bigwhite-new-arrivals-magazine"] .block-articles__carousel,
[id$="__bigwhite-diy-guides"] .block-articles__carousel,
[id$="__bigwhite-product-guides"] .block-articles__carousel,
[id$="__bigwhite-new-arrivals-magazine"] .block-articles,
[id$="__bigwhite-diy-guides"] .block-articles,
[id$="__bigwhite-product-guides"] .block-articles {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  padding-inline: 0;
  margin-inline: 0;
  scroll-padding-inline: 0;
}

[id$="__bigwhite-new-arrivals-magazine"] .section-blog-container {
  background: #fff;
}

[id$="__bigwhite-new-arrivals-magazine"] .page-width {
  max-width: 1420px;
}

[id$="__bigwhite-new-arrivals-magazine"] .block-heading {
  font-family: var(--sort-title-font);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
}

[id$="__bigwhite-new-arrivals-magazine"] .block-articles {
  position: relative;
  display: grid;
  grid-template-rows: auto repeat(3, minmax(0, 1fr)) auto;
  grid-template-columns: minmax(0, 1fr) 480px;
  grid-auto-flow: row;
  gap: 20px 40px;
  overflow: visible;
  background: #fff;
}

[id$="__bigwhite-new-arrivals-magazine"] .block-articles__item:first-child {
  grid-row: 1 / 6;
}

[id$="__bigwhite-new-arrivals-magazine"]
  .block-articles__item:first-child
  .block-article-card__button {
  display: none;
}

[id$="__bigwhite-new-arrivals-magazine"]
  .block-articles__item:not(:first-child) {
  box-sizing: border-box;
  padding-inline-start: 40px;
}

.bigwhite-magazine-series-title,
.bigwhite-magazine-explore {
  display: none;
}

[id$="__bigwhite-new-arrivals-magazine"] .block-articles::after {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 480px;
  width: 1px;
  content: "";
  background: rgb(0 0 0 / 15%);
}

[id$="__bigwhite-new-arrivals-magazine"] .bigwhite-magazine-series-title,
[id$="__bigwhite-new-arrivals-magazine"] .bigwhite-magazine-explore {
  display: block;
  box-sizing: border-box;
  grid-column: 2;
  padding-inline-start: 40px;
}

[id$="__bigwhite-new-arrivals-magazine"] .bigwhite-magazine-series-title {
  align-self: end;
  padding-block: 10px 0;
  font-family: var(--sort-title-font);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

[id$="__bigwhite-new-arrivals-magazine"] .bigwhite-magazine-explore h3 {
  margin-block-end: 15px;
  font-family: var(--sort-title-font);
  font-size: 20px;
  font-weight: 600;
}

[id$="__bigwhite-new-arrivals-magazine"] .bigwhite-magazine-explore .button {
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 0;
}

[id$="__bigwhite-new-arrivals-magazine"]
  .block-articles__item:not(:first-child)
  .block-article-card {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 15px !important;
  align-items: center !important;
  text-align: left;
}

[id$="__bigwhite-new-arrivals-magazine"]
  .block-articles__item:not(:first-child)
  .block-article-card__cover {
  width: 220px;
  height: 165px;
}

[id$="__bigwhite-new-arrivals-magazine"]
  .block-articles__item:first-child
  .block-article-card {
  gap: 30px !important;
}

[id$="__bigwhite-new-arrivals-magazine"] .block-article-card__title {
  font-family: var(--sort-title-font);
  font-weight: 600;
  line-height: 1.2;
  text-align: left !important;
  text-transform: none;
}

[id$="__bigwhite-new-arrivals-magazine"]
  .block-articles__item:first-child
  .block-article-card__title {
  font-size: 32px;
}

[id$="__bigwhite-new-arrivals-magazine"]
  .block-articles__item:not(:first-child)
  .block-article-card__title {
  font-size: 20px;
}

[id$="__bigwhite-new-arrivals-magazine"] .block-article-card__excerpt,
[id$="__bigwhite-new-arrivals-magazine"] .block-article-card__extra-info,
[id$="__bigwhite-new-arrivals-magazine"] .block-article-card__button {
  font-family: var(--sort-body-font);
  font-size: 16px;
  line-height: 1.2;
  text-align: left !important;
}

[id$="__bigwhite-new-arrivals-magazine"]
  .block-articles__item:not(:first-child)
  .block-article-card__excerpt,
[id$="__bigwhite-new-arrivals-magazine"]
  .block-articles__item:not(:first-child)
  .block-article-card__button {
  display: none;
}

@media (min-width: 750px) and (max-width: 959px) {
  [id$="__bigwhite-new-arrivals-magazine"] .block-articles {
    grid-template-rows: none;
    grid-template-columns: 1fr;
    gap: 30px;
    width: min(100%, 600px);
    margin-inline: auto;
  }

  [id$="__bigwhite-new-arrivals-magazine"] .block-articles::after {
    display: none;
  }

  [id$="__bigwhite-new-arrivals-magazine"] .block-articles__item:first-child {
    grid-row: auto;
  }

  [id$="__bigwhite-new-arrivals-magazine"]
    .block-articles__item:not(:first-child) {
    padding-inline-start: 0;
    border-inline-start: 0;
  }

  [id$="__bigwhite-new-arrivals-magazine"] .bigwhite-magazine-series-title,
  [id$="__bigwhite-new-arrivals-magazine"] .bigwhite-magazine-explore {
    grid-column: 1;
    padding-inline-start: 0;
  }

  [id$="__bigwhite-new-arrivals-magazine"] .bigwhite-magazine-series-title {
    padding-block-start: 30px;
    border-block-start: 1px solid rgb(0 0 0 / 15%);
  }

  [id$="__bigwhite-new-arrivals-magazine"]
    .block-articles__item:not(:first-child)
    .block-article-card {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 15px !important;
  }

  [id$="__bigwhite-new-arrivals-magazine"]
    .block-articles__item:not(:first-child)
    .block-article-card__cover {
    width: 160px;
    height: 120px;
  }

  [id$="__bigwhite-new-arrivals-magazine"]
    .block-articles__item:first-child
    .block-article-card {
    gap: 15px !important;
  }
}

/* Native Soo1 blog layouts. */
[id$="__bigwhite-diy-guides"] .section-blog-container,
[id$="__bigwhite-product-guides"] .section-blog-container {
  background: #eee;
}

[id$="__bigwhite-diy-guides"] .block-article-card {
  align-items: flex-start !important;
  text-align: left;
}

[id$="__bigwhite-diy-guides"] .block-article-card__title,
[id$="__bigwhite-product-guides"] .block-article-card__title,
[id$="__bigwhite-diy-guides"] .block-article-card__excerpt,
[id$="__bigwhite-product-guides"] .block-article-card__excerpt,
[id$="__bigwhite-diy-guides"] .block-article-card__extra-info,
[id$="__bigwhite-product-guides"] .block-article-card__extra-info {
  text-align: left !important;
}

[id$="__bigwhite-product-guides"] .block-articles {
  gap: 50px;
  overflow: visible;
}

[id$="__bigwhite-product-guides"] .block-article-card {
  display: grid !important;
  grid-template-columns: minmax(0, min(40%, 458px)) minmax(0, 1fr);
  gap: 40px !important;
  align-items: center !important;
  min-height: 0;
  text-align: left;
}

[id$="__bigwhite-product-guides"] .block-article-card__cover,
[id$="__bigwhite-product-guides"] .block-article-card__image-wrapper {
  height: auto;
  aspect-ratio: 16 / 9;
}

[id$="__bigwhite-diy-guides"] .block-article-card__info,
[id$="__bigwhite-product-guides"] .block-article-card__info {
  row-gap: 0 !important;
}

[id$="__bigwhite-diy-guides"] .block-article-card__extra-info,
[id$="__bigwhite-product-guides"] .block-article-card__extra-info {
  margin-block-start: 10px;
}

[id$="__bigwhite-diy-guides"] .block-article-card__excerpt,
[id$="__bigwhite-product-guides"] .block-article-card__excerpt {
  margin-block-start: 20px;
}

[id$="__bigwhite-diy-guides"] .block-article-card__button,
[id$="__bigwhite-product-guides"] .block-article-card__button {
  display: inline-flex !important;
  margin-block-start: 20px;
}

@media (min-width: 750px) and (max-width: 959px) {
  [id$="__bigwhite-diy-guides"] .block-articles {
    --column-gap: var(--grid-horizontal-spacing);
    --column-width: calc((100% - var(--column-gap) * 2) / 3);

    grid-template-columns: repeat(3, var(--column-width));
    grid-auto-flow: row;
    overflow: visible;
  }
}

@media (max-width: 749px) {
  [id$="__bigwhite-new-arrivals-magazine"] .page-width > div,
  [id$="__bigwhite-diy-guides"] .page-width > div,
  [id$="__bigwhite-product-guides"] .page-width > div {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px !important;
    row-gap: 30px !important;
  }

  [id$="__bigwhite-new-arrivals-magazine"] .block-heading {
    font-size: 24px;
  }

  [id$="__bigwhite-new-arrivals-magazine"] .block-articles {
    display: grid;
    grid-template-rows: none;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
    padding-inline: 0;
    overflow: visible;
  }

  [id$="__bigwhite-new-arrivals-magazine"] .block-articles__item:first-child {
    grid-row: auto;
  }

  [id$="__bigwhite-new-arrivals-magazine"] .block-articles::after {
    display: none;
  }

  [id$="__bigwhite-new-arrivals-magazine"]
    .block-articles__item:not(:first-child) {
    padding-inline-start: 0;
  }

  [id$="__bigwhite-new-arrivals-magazine"] .bigwhite-magazine-series-title,
  [id$="__bigwhite-new-arrivals-magazine"] .bigwhite-magazine-explore {
    grid-column: 1;
    padding-inline-start: 0;
  }

  [id$="__bigwhite-new-arrivals-magazine"] .bigwhite-magazine-series-title {
    padding-block-start: 30px;
    border-block-start: 1px solid rgb(0 0 0 / 15%);
  }

  [id$="__bigwhite-new-arrivals-magazine"]
  .block-articles__item:not(:first-child)
  .block-article-card {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 15px !important;
  }

  [id$="__bigwhite-new-arrivals-magazine"]
    .block-articles__item:first-child
    .block-article-card {
    gap: 15px !important;
  }

  [id$="__bigwhite-new-arrivals-magazine"]
  .block-articles__item:not(:first-child)
  .block-article-card__cover {
    width: 160px;
    height: 120px;
  }

  [id$="__bigwhite-new-arrivals-magazine"]
    .block-articles__item:first-child
    .block-article-card__title {
    font-size: 24px;
  }

  [id$="__bigwhite-new-arrivals-magazine"]
    .block-articles__item:not(:first-child)
    .block-article-card__title {
    font-size: 16px;
  }

  [id$="__bigwhite-new-arrivals-magazine"] .block-article-card__excerpt,
  [id$="__bigwhite-new-arrivals-magazine"] .block-article-card__extra-info,
  [id$="__bigwhite-new-arrivals-magazine"] .block-article-card__button {
    font-size: 14px;
  }

  [id$="__bigwhite-product-guides"] .block-article-card {
    grid-template-columns: 1fr;
    gap: 15px !important;
  }

  [id$="__bigwhite-product-guides"] .block-article-card__cover,
  [id$="__bigwhite-product-guides"] .block-article-card__image-wrapper {
    height: auto;
  }

  [id$="__bigwhite-diy-guides"] .block-article-card__excerpt,
  [id$="__bigwhite-product-guides"] .block-article-card__excerpt,
  [id$="__bigwhite-diy-guides"] .block-article-card__button,
  [id$="__bigwhite-product-guides"] .block-article-card__button {
    margin-block-start: 15px;
  }
}

/* Newsletter: yellow field with underline and envelope-only submit. */
[id$="__bigwhite-sign-up"] .sign-up-and-save__container {
  max-width: none;
  word-break: normal;
  overflow-wrap: anywhere;
  background: #e5b72c;
}

[id$="__bigwhite-sign-up"] .sign-up-and-save__content {
  row-gap: 15px !important;
  column-gap: 15px !important;
}

[id$="__bigwhite-sign-up"] .block-subscription__inline-form {
  gap: 0;
}

[id$="__bigwhite-sign-up"] .block-subscription .field {
  min-height: 44px;
  background: transparent;
}

[id$="__bigwhite-sign-up"] .block-subscription .field::after {
  border: 0;
  border-block-end: 2px solid #000;
  border-radius: 0;
  box-shadow: none;
}

[id$="__bigwhite-sign-up"] .block-subscription .field__input {
  padding-inline: 0 44px;
  background: transparent;
}

[id$="__bigwhite-sign-up"] .block-subscription .field__label {
  inset-inline-start: 0;
}

[id$="__bigwhite-sign-up"] .bigwhite-subscription-icon {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  margin-inline-start: -44px;
  color: #000;
  background: transparent;
  border: 0;
  border-radius: 0;
}

/* Footer: payment, policy and social blocks followed by locale and copyright. */
.footer__additional-group {
  display: contents !important;
}

.footer__contact-group,
.footer__information-group,
theme-footer-menu.footer__menu {
  display: block;
  width: 100%;
}

.footer__payment-icons,
.footer__localization-form {
  width: 100% !important;
  text-align: left;
}

.footer__payment-icons-title {
  margin-block-end: 20px;
  font-weight: 700;
}

.footer__payment-icons-content > svg {
  width: auto;
  height: 22px;
}

.footer__copyright,
.footer__copyright-text {
  padding-block: 0 !important;
}

.footer__copyright-menu:empty {
  display: none;
}

@media (min-width: 960px) {
  .footer__inner {
    display: grid !important;
    grid-template-areas:
      "payment policy social"
      "localization localization localization"
      "copyright copyright copyright";
    grid-template-columns: repeat(3, minmax(0, 218px));
    gap: 40px 60px !important;
    align-items: start !important;
    justify-content: center;
  }

  .footer__inner > [data-footer-group-id="footer__information-group-1"] {
    grid-area: policy;
  }

  .footer__inner > [data-footer-group-id="footer__contact-group"] {
    grid-area: social;
  }

  .footer__payment-icons {
    grid-area: payment;
  }

  .footer__localization-form {
    grid-area: localization;
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .footer__inner > [data-footer-group-id="footer__information-group-2"] {
    grid-area: copyright;
    padding-block-start: 20px;
    border-block-start: 1px solid #303030;
  }

  .footer__social-media--small .footer__social-media-content svg,
  .footer__social-media--small .footer__social-media-content img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 959px) {
  .footer__inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  .footer__payment-icons {
    order: 1;
  }

  .footer__inner > [data-footer-group-id="footer__information-group-1"] {
    order: 2;
  }

  .footer__inner > [data-footer-group-id="footer__contact-group"] {
    order: 3;
  }

  .footer__localization-form {
    order: 4;
    padding-block: 20px;
  }

  .footer__inner > [data-footer-group-id="footer__information-group-2"] {
    order: 5;
    margin-block-start: 4px;
    padding-block-start: 20px;
    border-block-start: 1px solid #303030;
  }

  .footer__payment-icons-title,
  .footer__social-media-title {
    width: 100%;
    padding-block: 15px;
    margin: 0;
  }

  .footer__payment-icons-content,
  .footer__social-media .footer__menu-content {
    padding-block-end: 15px;
  }
}
