.modernista-brand-story-not-found {
  text-align: center;
  padding-top: 100px;
}

.modernista-brand-story-not-found-title {
  margin: 0;
  font-weight: 800;
  font-family: "Jost", sans-serif !important;
  font-size: 2rem;
  line-height: 1.1;
  color: #000;
  text-transform: uppercase;
}

.modernista-brand-story-not-found-text {
  margin: 14px auto 0;
  max-width: 1200px;
  color: #000;
  line-height: 1.6;
  font-weight: 300;
  font-style: normal;
  font-family: var(--wp--preset--font-family--system-sans-serif);
}

.modernista-brand-story-page {
  padding: 48px 24px 60px;
  box-sizing: border-box;
}

.modernista-brand-story-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.modernista-brand-story-page .modernista-admin-sticky-actions {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2147483646;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modernista-brand-story-page .modernista-admin-sticky-actions a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.modernista-brand-story-page .modernista-admin-sticky-actions a:hover {
  border-color: #000;
}

.modernista-brand-story-header {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.modernista-brand-story-title {
  margin: 0;
  font-weight: 800;
  font-family: "Jost", sans-serif !important;
  font-size: 2rem;
  line-height: 1.1;
  color: #000;
  text-transform: uppercase;
}

.modernista-brand-story-rule,
.modernista-brand-story-products-rule {
  width: 100%;
  max-width: 100px;
  margin: 14px auto 18px;
  border: 0;
  border-top: 1px solid #000;
  padding: 0;
}

.modernista-brand-story-products-rule {
  padding-bottom: 50px;
}

.modernista-brand-story-subtitle {
  margin: 0 0 18px;
  font-family: var(--wp--preset--font-family--system-sans-serif);
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 300;
  color: #000;
  text-align: center;
}

.modernista-brand-story-intro {
  margin: 0 auto 24px;
  max-width: 1200px;
  color: #000;
  font-size: 1.45rem;
  line-height: 1.75;
  font-weight: 300;
  font-family: var(--wp--preset--font-family--system-sans-serif);
}

.modernista-brand-story-intro a {
  color: green;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modernista-brand-story-intro .modernista-auto-link--designer {
  font-weight: 500;
}

.modernista-brand-story-alert-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto 8px;
  text-align: center;
}

.modernista-brand-story-alert-row .modernista-brand-alert-toggle--story {
  margin-left: 0 !important;
  flex: 0 0 auto;
  color: green !important;
}

.modernista-brand-story-alert-row .modernista-brand-alert-toggle--story svg,
.modernista-brand-story-alert-row .modernista-brand-alert-toggle--story svg path {
  fill: currentColor;
}

.modernista-brand-story-alert-row .modernista-brand-alert-toggle--story[data-active="1"] svg,
.modernista-brand-story-alert-row .modernista-brand-alert-toggle--story[data-active="1"] svg path {
  fill: rgb(212, 47, 116);
}

.modernista-brand-story-alert-text {
  display: block;
  padding-top: 0;
  color: #000;
  font-size: 1.3rem;
  line-height: 1.45;
  font-weight: 700;
}

.modernista-brand-story-products {
  margin-top: 60px;
}

.modernista-brand-story-products-title {
  margin: 0;
  padding-top: 40px;
  font-weight: 800;
  font-family: "Jost", sans-serif !important;
  font-size: 2rem;
  line-height: 1.1;
  color: #000;
  text-transform: uppercase;
  text-align: center;
}

.modernista-brand-story-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.modernista-brand-story-products-grid .product-card {
  --modernista-card-title-padding-inline: 24px;
  --modernista-card-price-padding-inline: 24px;
  --modernista-card-actions-top: 15px;
  --modernista-card-actions-right: 12px;
  --modernista-card-action-size: 44px;
  --modernista-card-action-icon-size: 24px;
  font-family: sans-serif;
}

.modernista-brand-story-products-grid .modernista-card__actions {
  position: absolute;
  top: 15px;
  right: 12px;
  gap: 8px;
  z-index: 10;
}

.modernista-brand-story-products-grid .modernista-card__thumb img {
  border-radius: 0;
}

.modernista-brand-story-products-grid .modernista-card__title {
  font-size: 1.4rem;
  line-height: 1.35;
  font-weight: 300;
}

.modernista-brand-story-products-grid .modernista-card__title {
  margin: 0 0 18px;
}

.modernista-brand-story-products-grid .modernista-card__title--private {
  margin: 0 0 14px;
}

.modernista-brand-story-products-grid .modernista-card__title--private a {
  text-decoration: none;
  color: inherit;
}

.modernista-brand-story-products-grid .modernista-card__old-price {
  font-size: 1.4rem;
  font-weight: 500;
  color: #000;
}

.modernista-brand-story-products-grid .modernista-card__new-price,
.modernista-brand-story-products-grid .modernista-card__price-text {
  font-size: 1.4rem;
  font-weight: 500;
  color: #000;
}

.modernista-brand-story-products-grid .modernista-card__discount-badge {
  width: 54px;
  height: 54px;
  background: #000;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.modernista-brand-story-products-grid .source-badge {
  background: #000;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.modernista-brand-story-products-grid .product-card.private-anonymous {
  text-align: center;
}

.modernista-brand-story-products-grid .modernista-card__thumb--private-anonymous {
  position: relative;
  background: #ddd;
}

.modernista-brand-story-products-grid .modernista-card__thumb--private-anonymous a {
  position: absolute;
  inset: 0;
  display: block;
}

.modernista-brand-story-products-grid .product-private-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #000;
  border: 1px solid #aaa;
  border-radius: 25px;
  padding: 4px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}

.modernista-brand-story-products-grid .product-private-badge svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: #1f1f1f;
}

.modernista-brand-story-products-grid .private-meta {
  margin-bottom: 10px;
  padding: 0 24px;
  font-size: .95rem;
  color: #000;
}

.modernista-brand-story-products-grid .private-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.modernista-brand-story-products-grid .private-date svg {
  flex: 0 0 auto;
}

.modernista-brand-story-products-grid .private-excerpt {
  padding: 0 24px;
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.6;
  color: #111;
}

.modernista-brand-story-products-grid .private-stats {
  margin-top: 10px;
  padding: 0 24px;
  font-size: .85rem;
  color: #000;
}

.modernista-brand-story-products-grid .private-stats-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.modernista-brand-story-products-grid .private-stat {
  display: flex;
  align-items: center;
  gap: 5px;
}

.modernista-brand-story-empty {
  text-align: center;
  font-size: 1.1rem;
  color: #444;
}

@media screen and (max-width: 1023px) {
  .modernista-brand-story-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media screen and (max-width: 768px) {
  .modernista-brand-story-not-found {
    padding-top: 50px;
  }

  .modernista-brand-story-page {
    padding: 30px 15px 40px;
  }

  .modernista-brand-story-title,
  .modernista-brand-story-products-title {
    text-align: center;
    font-size: 1.7rem;
  }

  .modernista-brand-story-intro {
    font-size: 1.45rem;
    line-height: 1.65;
    text-align: center;
  }

  .modernista-brand-story-alert-row {
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .modernista-brand-story-alert-text {
    font-size: 1.1rem;
    padding-top: 0;
  }

  .modernista-brand-story-products {
    margin-top: 44px;
  }
}

@media screen and (min-width: 769px) {
  .modernista-brand-story-not-found-text {
    font-size: 1.7rem;
  }
}

@media screen and (max-width: 575px) {
  .modernista-brand-story-products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 12px;
  }

  .modernista-brand-story-alert-row {
    gap: 10px;
  }

  .modernista-brand-story-alert-text {
    font-size: 1rem;
  }
}
