/*
 * Fashion4 copy1 — Gothic-Veil Nocturne visual layer
 *
 * Colors, typography, radii and shadows remain controlled by SHOPLINE's
 * native theme settings. This file only supplies presentation details that
 * the official editor does not expose directly.
 */

html {
  color-scheme: dark;
}

body {
  background-color: rgb(var(--color-background));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.announcement-bar__group-item-inner .rte {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.header__container {
  background: rgba(var(--color-background), 0.94);
  border-block-end: 1px solid rgba(var(--color-entry-line), 0.55);
}

.theme-sticky-header--sticky .header__container {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-nav__menu-item > a,
.mobile-slider-navbar__link,
.header-nav-drawer__menu-control > a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button:not(.button--icon),
.shopline-element-buy-now {
  min-height: 48px;
  padding-inline: 24px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button:not([disabled], .button--icon) {
  transition:
    color 220ms ease,
    background-color 220ms ease,
    opacity 220ms ease;
}

.slideshow__item {
  background: rgb(var(--color-background));
}

.slideshow__image-mask {
  background: linear-gradient(
    180deg,
    rgba(var(--color-background), 0.12) 0%,
    rgba(var(--color-background), 0.04) 38%,
    rgba(var(--color-background), 0.82) 82%,
    rgb(var(--color-background)) 100%
  );
}

.slideshow__group {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.slideshow__group h1,
.slideshow__group h2,
.slideshow__group h3 {
  text-wrap: balance;
}

.slideshow__group h1 em,
.slideshow__group h2 em {
  display: block;
  color: rgb(var(--color-button-text-link)) !important;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.slideshow__group .gv-hero-kicker {
  display: inline-block;
  color: rgb(var(--color-button-text-link)) !important;
  font-family: var(--font-body-family);
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.slideshow__group > .block-text:first-child {
  color: rgb(var(--color-button-text-link));
  font-size: 12px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.slideshow__group .rte p {
  max-width: 540px;
  margin-inline: auto;
  color: rgb(var(--color-light-text));
}

.slideshow__group .block-button-group {
  width: min(100%, 620px);
  margin-inline: auto;
}

[id*="__gv-brand-story"] .rich-text__content,
[id*="__gv-social-proof"] .rich-text__content {
  width: min(100%, 820px);
  margin-inline: auto;
}

[id*="__gv-brand-story"] .block-heading {
  max-width: 720px;
  font-style: italic;
  line-height: 1.05;
  text-wrap: balance;
}

[id*="__gv-brand-story"] .rte,
[id*="__gv-social-proof"] .rte {
  max-width: 620px;
  color: rgb(var(--color-light-text));
}

[id*="__gv-tiktok-videos"] .shopping-video-section {
  border-block: 1px solid rgba(var(--color-entry-line), 0.55);
}

[id*="__gv-tiktok-videos"] .shopping-video-section-wrapper > .block-text {
  color: rgb(var(--color-button-text-link));
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-align: center;
  text-transform: uppercase;
}

[id*="__gv-tiktok-videos"] .shopping-video-section-wrapper > .block-heading {
  width: 100%;
  text-align: center;
  text-wrap: balance;
}

[id*="__gv-tiktok-videos"] .shopping-video-section-wrapper__video-list-group-wrapper {
  margin-block-start: 18px;
}

[id*="__gv-tiktok-videos"] .shopping-video__product-video-group {
  border: 1px solid rgba(var(--color-entry-line), 0.55);
  background: rgb(var(--color-card-background));
}

[id*="__gv-tiktok-videos"] .shopping-video__video-wrapper,
[id*="__gv-tiktok-videos"] .theme-video-media__poster {
  background: linear-gradient(
    180deg,
    rgba(var(--color-card-background), 1) 0%,
    rgba(var(--color-background), 1) 100%
  );
}

[id*="__gv-tiktok-videos"] .theme-video-media__poster svg {
  color: rgb(var(--color-light-text));
  opacity: 0.12;
}

[data-section-id*="gv-category-gallery"] .text-columns-with-image__card-group-scroll,
[data-section-id*="gv-category-gallery"] .text-columns-with-image__card-group {
  inset-inline-start: auto;
  width: 100%;
  margin: 0;
  overflow: visible;
}

[data-section-id*="gv-category-gallery"] .text-columns-with-image__card-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 18px;
  max-width: 1160px;
  margin-inline: auto;
}

[data-section-id*="gv-category-gallery"] .text-columns-with-image__card {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(120px, 0.8fr);
  grid-template-rows: auto 1fr auto;
  gap: 10px 16px;
  min-height: 260px;
  padding: 22px 20px;
  overflow: hidden;
  border: 1px solid rgba(var(--color-entry-line), 0.65);
  background: rgb(var(--color-card-background));
}

[data-section-id*="gv-category-gallery"] .block-image {
  grid-row: 1 / 4;
  grid-column: 2;
  align-self: stretch;
  width: 100% !important;
  height: 100%;
  margin: 0 !important;
}

[data-section-id*="gv-category-gallery"] .block-image::after {
  display: none;
}

[data-section-id*="gv-category-gallery"] .block-image img {
  width: 100%;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: cover;
}

[data-section-id*="gv-category-gallery"] .text-columns-with-image__card-title {
  grid-row: 1;
  grid-column: 1;
  align-self: end;
  margin: 0;
  font-style: normal;
  text-align: left;
}

[data-section-id*="gv-category-gallery"] .text-columns-with-image__card-text {
  grid-row: 2;
  grid-column: 1;
  max-width: 52ch;
  color: rgb(var(--color-light-text));
  text-align: left;
}

[data-section-id*="gv-category-gallery"] .text-columns-with-image__card-link {
  grid-row: 3;
  grid-column: 1;
  align-self: start;
  width: auto;
}

[data-section-id*="gv-category-gallery"] .text-columns-with-image__card-link .button {
  min-height: 38px;
  padding: 8px 14px;
  letter-spacing: 0.08em;
}

[data-section-id*="gv-category-gallery"]
  .text-columns-with-image__card--image-left
  .block-image {
  grid-column: 1;
}

[data-section-id*="gv-category-gallery"]
  .text-columns-with-image__card--image-left
  .text-columns-with-image__card-title,
[data-section-id*="gv-category-gallery"]
  .text-columns-with-image__card--image-left
  .text-columns-with-image__card-text,
[data-section-id*="gv-category-gallery"]
  .text-columns-with-image__card--image-left
  .text-columns-with-image__card-link {
  grid-column: 2;
}

[data-section-id*="gv-category-gallery"]
  .text-columns-with-image__card--image-fit-contain
  .block-image
  img {
  object-fit: contain;
}

[data-section-id*="gv-category-gallery"]
  .text-columns-with-image__card--image-fit-cover
  .block-image
  img {
  object-fit: cover;
}

[data-section-id*="gv-category-gallery"]
  .text-columns-with-image__card--image-align-left
  .block-image
  img {
  object-position: left center;
}

[data-section-id*="gv-category-gallery"]
  .text-columns-with-image__card--image-align-center
  .block-image
  img {
  object-position: center;
}

[data-section-id*="gv-category-gallery"]
  .text-columns-with-image__card--image-align-right
  .block-image
  img {
  object-position: right center;
}

[data-section-id="text-columns-with-image"] {
  border-block: 1px solid rgba(var(--color-entry-line), 0.55);
}

[data-section-id="text-columns-with-image"] .text-columns-with-image__card {
  min-height: 180px;
  padding: 26px 20px;
  border: 1px solid rgba(var(--color-entry-line), 0.55);
  background: rgb(var(--color-card-background));
}

[data-section-id="text-columns-with-image"] .text-columns-with-image__card::before {
  content: "✦";
  color: rgb(var(--color-button-text-link));
  font-size: 20px;
  line-height: 1;
}

[data-section-id="text-columns-with-image"] .text-columns-with-image__card-title {
  margin-block-start: 0;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-section-id="text-columns-with-image"] .text-columns-with-image__card-text {
  color: rgb(var(--color-light-text));
}

[data-section-id="sign-up-and-save"] {
  border-block-end: 1px solid rgba(var(--color-entry-line), 0.55);
}

[data-section-id="sign-up-and-save"] .sign-up-and-save__content {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.product-card,
.collection-card,
.article-card {
  overflow: hidden;
}

.product-card__image,
.collection-card__image,
.article-card__image {
  background: rgb(var(--color-media-background));
}

.footer {
  border-block-start: 1px solid rgba(var(--color-entry-line), 0.55);
}

@media (max-width: 959px) {
  .announcement-bar__group-item-inner .rte {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .header__container-top-wrap {
    min-height: 58px;
  }

  .slideshow__group {
    max-width: 100%;
  }

  .slideshow__group h1,
  .slideshow__group h2 {
    font-size: clamp(42px, 13vw, 52px);
    line-height: 0.98;
  }

  .slideshow__group .block-button-group,
  .slideshow__group .button:not(.button--icon) {
    width: 100%;
  }

  .slideshow__group .block-button-group {
    flex-direction: column !important;
    gap: 12px !important;
  }

  [id*="__gv-brand-story"] .block-heading {
    font-size: clamp(38px, 11vw, 48px);
  }

  [data-section-id="text-columns-with-image"] .text-columns-with-image__card-group-scroll,
  [data-section-id="text-columns-with-image"] .text-columns-with-image__card-group {
    inset-inline-start: auto;
    width: 100%;
    margin: 0;
    overflow: visible;
  }

  [data-section-id="text-columns-with-image"] .text-columns-with-image__card-group {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
  }

  [data-section-id="text-columns-with-image"] .text-columns-with-image__card {
    min-width: 0;
    min-height: 190px;
    padding: 22px 14px;
  }

  [data-section-id*="gv-category-gallery"] .text-columns-with-image__card-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  [data-section-id*="gv-category-gallery"] .text-columns-with-image__card {
    grid-template-columns: minmax(0, 1.18fr) minmax(112px, 0.82fr);
    gap: 8px 12px;
    min-height: 150px;
    padding: 16px;
  }

  [data-section-id*="gv-category-gallery"] .text-columns-with-image__card-title {
    font-size: clamp(25px, 7.5vw, 32px);
    line-height: 1;
  }

  [data-section-id*="gv-category-gallery"] .text-columns-with-image__card-text {
    font-size: 12px;
    line-height: 1.35;
  }

  [data-section-id*="gv-category-gallery"] .text-columns-with-image__card-link .button {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 10px;
  }
}

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