/* CHICORY-inspired editorial refinement for the SHOPLINE Fashion theme. */
:root {
  --chicory-ink: #18323d;
  --chicory-muted: #5e7480;
  --chicory-line: #d2e5ec;
  --chicory-sand: #ddeff5;
  --chicory-sale: #b85d54;
}

body {
  color: var(--chicory-ink);
  letter-spacing: 0;
}

.button,
button.button,
.shopline-element-button {
  min-height: 42px;
  border-radius: 0;
  letter-spacing: 0.03em;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.announcement-bar__group-item {
  min-height: 38px;
  color: var(--chicory-ink);
  background: #e8f4f8;
  word-break: normal;
}

.announcement-bar__group-item-inner {
  min-height: 38px;
}

.announcement-bar__group-item-inner .rte {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.015em;
}

.header-section.divider,
.header__container-bottom.divider {
  border-color: var(--chicory-line);
}

@media (min-width: 960px) {
  .header__container[layout="left_logo_left_menu"] .header__container-top-wrap {
    grid-template-areas: "logo nav action-bar-right";
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    min-height: 84px;
  }

  .header__container[layout="left_logo_left_menu"] .header__logo {
    justify-content: flex-start;
  }

  .header__container[layout="left_logo_left_menu"] .header-nav {
    margin: 0;
  }

  .header__container[layout="left_logo_left_menu"] .header-action-bar.right {
    justify-self: end;
  }
}

.header-nav__menu {
  align-items: center;
  justify-content: center;
}

.header-nav__menu-item {
  --nav-menu-item-padding-block: 30px;
  margin-inline: 17px;
}

.header-nav__menu-item > a {
  font-size: 14px;
  letter-spacing: 0.015em;
}

.header-nav__underline {
  --underline-size: 1px;
}

.header-nav-dropdown-panel__menu {
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  padding: 38px clamp(36px, 5vw, 92px) 46px;
  border-block-start: 1px solid var(--chicory-line);
  box-shadow: 0 18px 35px -26px rgb(0 0 0 / 28%);
}

.header-nav-dropdown-panel__menu > ul {
  flex: 1 1 48%;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 34px;
  min-width: 0;
  padding: 0 44px 0 0;
}

.header-nav-dropdown-panel__menu > ul > li {
  min-width: 0;
  padding: 0;
}

.header-nav-dropdown-panel__hero {
  margin-block-end: 18px;
  font-family: var(--sort-title-font);
  font-size: 18px;
  font-weight: 600;
}

.header-nav-dropdown-panel__link {
  padding: 6px 12px 6px 0;
  color: var(--chicory-muted) !important;
  font-size: 14px;
}

.chicory-nav-products {
  flex: 0 1 52%;
  min-width: 440px;
  padding-inline-start: 28px;
  border-inline-start: 1px solid var(--chicory-line);
}

.chicory-nav-products__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 26px;
}

.chicory-nav-products__header h3 {
  margin: 0;
  font-family: var(--sort-title-font);
  font-size: clamp(22px, 1.65vw, 30px);
  font-weight: 600;
}

.chicory-nav-products__header a {
  color: var(--chicory-muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.chicory-nav-products__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.chicory-nav-product {
  display: flex;
  min-width: 0;
  color: var(--chicory-ink);
  flex-direction: column;
  gap: 8px;
}

.chicory-nav-product:hover {
  color: var(--chicory-ink);
}

.chicory-nav-product__image {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #eaf4f8;
}

.chicory-nav-product__image img,
.chicory-nav-product__image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.chicory-nav-product:hover .chicory-nav-product__image img {
  transform: scale(1.025);
}

.chicory-nav-product__title {
  overflow: hidden;
  font-family: var(--sort-title-font);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chicory-nav-product .product-price__sale {
  color: var(--chicory-sale);
}

.slideshow__image::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgb(0 0 0 / 26%), rgb(0 0 0 / 7%) 55%, rgb(0 0 0 / 20%));
}

.slideshow__group {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 18px rgb(0 0 0 / 24%);
}

.slideshow__group .block-heading {
  margin-block: 6px 12px;
  font-family: var(--sort-title-font);
  font-size: clamp(42px, 4.3vw, 72px);
  font-weight: 600;
  line-height: 1.04;
}

.slideshow__group .block-text {
  max-width: 610px;
  color: #fff;
  font-size: 15px;
}

.slideshow__group .button {
  min-width: 132px;
  text-shadow: none;
}

.section-featured-collection .block-heading,
.collection-list-wrapper .block-heading,
.sign-up-and-save .block-heading,
.main-collection-cover .block-heading {
  font-family: var(--sort-title-font);
  font-weight: 600;
}

.section-featured-collection .block-heading,
.collection-list-wrapper .block-heading {
  font-size: clamp(30px, 3vw, 46px);
}

.featured-collection__tab {
  padding: 8px 0;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  color: var(--chicory-muted);
}

.featured-collection__tab.active {
  color: var(--chicory-ink);
  box-shadow: inset 0 -1px var(--chicory-ink);
}

.block-product-card__image-wrapper,
.block-collection-card__image-wrapper,
.product-card-border-shadow,
.collection-card-border-shadow {
  border-radius: 0 !important;
}

.block-product-card__image-wrapper {
  aspect-ratio: 2 / 3 !important;
  background: #eaf4f8;
}

.block-product-title,
.block-collection-card__title {
  font-family: var(--sort-title-font);
}

.block-product-price .product-price-sale,
.block-product-price [class*="sale"] {
  color: var(--chicory-sale);
}

.collection-list-wrapper .block-collection-card__image-wrapper {
  aspect-ratio: 4 / 5 !important;
}

.collection-list-wrapper .block-collection-card__image-title-wrapper {
  align-items: flex-end !important;
  padding: 24px;
  background: linear-gradient(transparent 55%, rgb(0 0 0 / 45%));
}

.collection-list-wrapper .block-collection-card__image-title-wrapper .block-collection-card__title {
  color: #fff;
  font-size: clamp(22px, 2vw, 34px);
}

.sign-up-and-save-section {
  background: var(--chicory-sand);
}

.footer {
  border-block-start: 1px solid var(--chicory-line);
}

.main-collection-cover {
  background: #e8f4f8;
}

.block-main-collection__banner {
  max-height: 62vh;
}

.block-main-collection__heading,
.product-detail__title,
.main-search__title,
.main-blog h1,
.main-blog h2 {
  font-family: var(--sort-title-font);
  font-weight: 600;
}

.main-collection {
  padding-block: 58px 82px;
}

.main-collection__list {
  row-gap: 38px;
}

.facets-filtering,
.facets-sorting-wrapper {
  padding-block-end: 24px;
}

.product-detail {
  padding-block: 74px 88px;
}

.product-detail__main {
  column-gap: clamp(44px, 5vw, 90px) !important;
}

.product-detail__title {
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 1.18;
}

.product-detail__media-gallery .media-gallery__media,
.product-detail__media-gallery .media-gallery__placeholder {
  background: #eaf4f8;
}

.product-detail__sell-info {
  padding-block: 18px;
  border-block: 1px solid var(--chicory-line);
}

.main-blog__container,
.main-search__content {
  padding-block: 72px 92px;
}

.main-blog__list {
  row-gap: 46px;
}

@media (max-width: 959px) {
  .header__container-top-wrap {
    min-height: 62px;
  }

  .slideshow__group {
    max-width: calc(100vw - 40px);
    padding-inline: 20px !important;
  }

  .slideshow__group .block-heading {
    font-size: clamp(34px, 10vw, 50px);
  }

  .slideshow__group .block-text {
    font-size: 13px;
  }

  .section-featured-collection .block-heading,
  .collection-list-wrapper .block-heading {
    font-size: 30px;
  }

  .main-collection {
    padding-block: 24px 48px;
  }

  .product-detail {
    padding-block: 12px 50px;
  }

  .main-blog__container,
  .main-search__content {
    padding-block: 42px 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
