/* Static demo layer: keeps the Shopify theme look without a Shopify backend. */

.shopify-payment-button,
shopify-accelerated-checkout,
shopify-buy,
.shopify-payment-button__button,
.installment,
#PBarNextFrameWrapper,
#web-pixels-manager-sandbox-container {
  display: none !important;
}

body.selina-locked {
  overflow: hidden;
}

.selina-drawer,
.selina-overlay {
  z-index: 2000;
}

.selina-demo-toast {
  position: fixed;
  left: 50%;
  bottom: 2.4rem;
  z-index: 9999;
  width: min(92vw, 46rem);
  padding: 1.6rem 2rem;
  background: #1c1a17;
  color: #f6f1e9;
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  transform: translate(-50%, 2rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.selina-demo-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.selina-demo-toast a {
  color: #f6f1e9;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

/* Theme images carry width/height attributes that win over width:100%, which
   stretches the wholesale and about hero images to their intrinsic height. */
.selina-wholesale__image,
.selina-atelier__image {
  height: auto;
}

/* Dawn hides empty divs, which removes the hero overlay entirely. */
div.selina-hero__veil {
  display: block;
  background-color: rgba(14, 12, 10, 0.14);
  background-image: linear-gradient(
    180deg,
    rgba(14, 12, 10, 0.12),
    rgba(14, 12, 10, 0) 30%,
    rgba(14, 12, 10, 0.35) 52%,
    rgba(14, 12, 10, 0.86)
  );
}

/* The wholesale stat markup uses bare wrappers, so the theme's __stat rules
   never apply. Stack the value and label instead of running them together. */
.selina-wholesale__stats > div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.selina-wholesale__stats > div > span {
  font-family: var(--selina-serif);
  font-size: 3.4rem;
  line-height: 1;
}

.selina-wholesale__stats > div > small {
  color: var(--selina-muted);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Product page: the Shopify demo has no uploaded media, so each PDP gets a
   local fallback image in place of the empty Dawn gallery. */
.selina-pdp-fallback {
  width: 100%;
  overflow: hidden;
  background: #eadfd2;
}

.selina-pdp-fallback img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.product__media-wrapper .slider-buttons {
  display: none;
}

.product.grid {
  margin-inline: auto;
}

/* Product page: make the static add-to-cart area feel intentional without checkout. */
.product-form__buttons .shopify-payment-button {
  display: none !important;
}

.product-form__buttons .product-form__submit {
  width: 100%;
}

/* Search page: the crawled Shopify search result page has a live search form. */
.selina-search-page .facets {
  display: none;
}

/* Forms in the demo should not look disabled. */
form[data-demo-form] input,
form[data-demo-form] textarea,
form[data-demo-form] select {
  pointer-events: auto;
}

/* Header: the theme only collapses the nav below 1200px, where it already
   overlaps the centred wordmark. Tighten the default gap, collapse a little
   earlier, and tighten the remaining desktop range. */
.selina-nav {
  gap: 2rem;
}

@media screen and (max-width: 1279px) {
  .selina-nav {
    display: none;
  }

  .selina-header__burger {
    display: inline-flex;
  }

  .selina-header__action span,
  .selina-header__cart-label,
  .selina-header__cta {
    display: none;
  }
}

@media screen and (min-width: 1280px) and (max-width: 1439px) {
  .selina-nav {
    gap: 1.5rem;
  }

  .selina-nav__link {
    font-size: 0.94rem;
    letter-spacing: 0.11em;
  }

  .selina-header__inner {
    gap: 1.6rem;
  }
}

/* Print: line sheet only. */
@media print {
  .selina-header-wrap,
  .selina-announcement,
  .selina-footer,
  .selina-no-print,
  .selina-demo-toast {
    display: none !important;
  }
}
