.modernista-designer-bio-page {
  padding: 30px 20px 56px;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
}

.modernista-designer-bio-inner {
  max-width: 1290px;
  margin: 0 auto;
}

.modernista-designer-bio-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modernista-designer-bio-copy {
  width: 100%;
  max-width: 960px;
  text-align: center;
}

.modernista-designer-bio-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-designer-bio-rule {
  width: 100%;
  max-width: 100px;
  margin: 14px auto 18px;
  border: 0;
  border-top: 1px solid #000;
  padding: 0;
}

.modernista-designer-bio-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-designer-bio-content {
  margin: 0 auto 24px;
  white-space: pre-wrap;
  color: #000;
  font-size: 1.45rem;
  line-height: 1.75;
  font-weight: 300;
  font-family: var(--wp--preset--font-family--system-sans-serif);
  text-align: center;
}

.modernista-designer-bio-content a {
  color: green;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.modernista-designer-bio-media {
  width: 200px;
  height: 200px;
  max-width: 200px;
  max-height: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto 18px;
}

.modernista-designer-bio-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.modernista-designer-bio-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 18px;
  text-align: center;
  color: #666;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  font-family: var(--wp--preset--font-family--system-sans-serif);
}

.modernista-designer-bio-alert-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 24px;
}

.modernista-designer-bio-alert-row .modernista-designer-alert-toggle--bio {
  flex: 0 0 auto;
  color: green;
}

.modernista-designer-bio-alert-row .modernista-designer-alert-toggle--bio svg,
.modernista-designer-bio-alert-row .modernista-designer-alert-toggle--bio svg path {
  fill: currentColor;
}

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

.modernista-designer-bio-alert-text {
  margin: 0;
  color: #000;
  font-size: 1.3rem;
  line-height: 1.45;
  font-weight: 700;
  font-family: var(--wp--preset--font-family--system-sans-serif);
  text-align: center;
}

.modernista-designer-bio-page.no-image .modernista-designer-bio-inner {
  max-width: 1290px;
}

.modernista-designer-bio-page.no-image .modernista-designer-bio-media {
  display: none;
}

.modernista-designer-bio-empty {
  text-align: center;
}

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

.modernista-designer-products-title {
  margin: 0;
  padding-top: 100px;
  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-designer-products-rule {
  width: 100%;
  max-width: 100px;
  margin: 14px auto 28px;
  border: 0;
  border-top: 1px solid #000;
  padding: 0;
  padding-bottom: 50px;
}

.modernista-designer-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-designer-products-grid .designer-bio-related-card {
  --modernista-card-padding-block: 28px;
  --modernista-card-padding-inline: 24px;
  --modernista-card-thumb-gap: 22px;
  --modernista-card-title-padding-inline: 0px;
  --modernista-card-price-padding-inline: 0px;
  --modernista-card-actions-top: 15px;
  --modernista-card-actions-right: 12px;
  --modernista-card-action-size: 44px;
  --modernista-card-action-icon-size: 24px;
  padding: var(--modernista-card-padding-block) var(--modernista-card-padding-inline);
  margin: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.modernista-designer-products-grid .designer-bio-related-card {
  position: relative;
}

.modernista-designer-products-grid .designer-bio-related-actions {
  position: absolute !important;
  top: 15px !important;
  right: 12px !important;
  gap: 8px !important;
  z-index: 10 !important;
}

.modernista-designer-products-grid .designer-bio-related-card .modernista-card__thumb {
  margin:
    calc(var(--modernista-card-padding-block) * -1)
    calc(var(--modernista-card-padding-inline) * -1)
    var(--modernista-card-thumb-gap);
  width: calc(100% + (var(--modernista-card-padding-inline) * 2));
}

.modernista-designer-products-grid .designer-bio-related-card .modernista-card__thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  display: block;
}

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

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

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

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

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

.modernista-designer-products-grid .source-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

.modernista-designer-products-grid .source-badge.private {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 0;
  background: #fff;
  color: #000;
  border: 1px solid #aaa;
  border-radius: 25px;
  padding: 4px 12px;
  line-height: 1;
  font-weight: 600;
}

.modernista-designer-products-grid .source-badge.private svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.modernista-designer-bio-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-designer-bio-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-designer-bio-page .modernista-admin-sticky-actions a:hover {
  border-color: #000;
}

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

@media screen and (max-width: 768px) {
  .modernista-designer-bio-page {
    padding: 30px 0 40px;
  }

  .modernista-designer-bio-layout {
    gap: 0;
  }

  .modernista-designer-bio-subtitle {
    font-size: 1.25rem;
  }

  .modernista-designer-bio-content {
    font-size: 1.45rem;
    line-height: 1.65;
    text-align: center;
    padding-left: 25px;
    padding-right: 25px;
    box-sizing: border-box;
  }

  .modernista-designer-bio-alert-row {
    margin-bottom: 20px;
    flex-direction: column;
    gap: 10px;
  }

  .modernista-designer-bio-alert-text {
    font-size: 1.3rem;
    text-align: center;
  }

  .modernista-designer-bio-media {
    width: 100%;
    max-width: 520px;
    height: auto;
    max-height: none;
    aspect-ratio: 1 / 1;
    margin: 0 0 18px;
  }

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

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

  .modernista-designer-products-grid {
    padding-left: 25px;
    padding-right: 25px;
    box-sizing: border-box;
  }
}

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

  .modernista-designer-products-grid .designer-bio-related-card {
    --modernista-card-padding-block: 15px;
    --modernista-card-padding-inline: 15px;
    --modernista-card-thumb-gap: 15px;
    padding: var(--modernista-card-padding-block) var(--modernista-card-padding-inline);
  }
}
