/* Opiniones de Google: estrella en el mismo círculo que el carrito. */
.page-header .diotima-shop-actions .diotima-review-link {
  flex: 0 0 auto;
  width: 39px;
  min-width: 39px;
  max-width: 39px;
  height: 39px;
  min-height: 39px;
  max-height: 39px;
  padding: 0;
  gap: 0;
  border-radius: 999px;
  box-shadow: none;
  transform: none;
}

.page-header .diotima-review-link .diotima-review-text,
.page-header .diotima-review-link .diotima-review-icon {
  display: none;
}

.page-header .diotima-shop-actions .diotima-review-link::before {
  content: "";
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: url("/diotima-opinion-estrella.png") center / contain no-repeat;
  mix-blend-mode: multiply;
}

.page-header .diotima-shop-actions .diotima-review-link:focus-visible {
  outline: 2px solid #ba5120;
  outline-offset: 2px;
}

@media screen and (max-width: 760px) {
  .page-header .diotima-mobile-shop-actions .diotima-review-link {
    width: 41px;
    min-width: 41px;
    max-width: 41px;
    height: 41px;
    min-height: 41px;
    max-height: 41px;
    padding: 0;
    gap: 0;
  }
}

/* Opiniones en el pie: estrella sin leyenda, dentro de un círculo negro. */
.footer-social .diotima-footer-review {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  margin: 0;
  padding: 0;
  border: 1.3px solid #000;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}

.site-footer .footer-social .diotima-footer-review img {
  display: block;
  width: 20px;
  max-width: 20px;
  height: 20px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.footer-social .diotima-footer-review:focus-visible {
  outline: 2px solid #ba5120;
  outline-offset: 3px;
}

/* Pie completo de las páginas que tenían solo un cierre de texto. */
.site-footer.diotima-complete-footer {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 5vw, 70px);
  width: 100%;
  margin: 42px 0 0;
  padding: 34px 8px 18px;
  border-top: 1px solid rgba(214, 105, 45, .65);
  color: var(--ink, #2f2925);
  font: 16px/1.4 Georgia, "Times New Roman", serif;
  text-align: left;
}

.diotima-complete-footer h2,
.diotima-complete-footer p {
  max-width: none;
  margin: 0;
  color: inherit;
}

.diotima-complete-footer a {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.diotima-complete-footer .footer-cal,
.diotima-complete-footer .footer-contact {
  min-width: 0;
}

.diotima-complete-footer .footer-cal { justify-self: start; }
.diotima-complete-footer .footer-kicker {
  margin-bottom: 10px;
  font: .94rem/1.4 Georgia, "Times New Roman", serif;
}

.diotima-complete-footer .cal-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 700 .92rem/1.05 "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
}

.diotima-complete-footer .book-icon {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 36px;
}

.diotima-complete-footer .book-icon::before,
.diotima-complete-footer .book-icon::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 23px;
  height: 32px;
  border: 2px solid currentColor;
}

.diotima-complete-footer .book-icon::before {
  left: 1px;
  border-radius: 4px 0 0 2px;
  transform: skewY(5deg);
}

.diotima-complete-footer .book-icon::after {
  right: 1px;
  border-radius: 0 4px 2px 0;
  transform: skewY(-5deg);
}

.diotima-complete-footer .footer-cat {
  justify-self: center;
  width: clamp(170px, 21vw, 270px);
  max-width: 100%;
}

.diotima-complete-footer .footer-cat img {
  display: block;
  width: 100%;
  height: auto;
}

.diotima-complete-footer .footer-contact {
  justify-self: end;
  text-align: left;
}

.diotima-complete-footer .footer-contact h2 {
  margin-bottom: 7px;
  color: var(--accent-deep, #ba5120);
  font: 400 clamp(1.18rem, 2vw, 1.5rem)/1.3 Georgia, "Times New Roman", serif;
}

.diotima-complete-footer .footer-contact p {
  margin: 0 0 4px;
  font: .93rem/1.35 Georgia, "Times New Roman", serif;
}

.diotima-complete-footer .footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.diotima-complete-footer .footer-social img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.diotima-complete-footer .footer-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 16px;
  margin: 4px 0 0;
  padding: 15px 0 0;
  border-top: 1px solid rgba(120, 82, 54, .16);
  color: var(--muted, #756b63);
  font: .68rem/1.35 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.diotima-complete-footer .footer-nav a { white-space: nowrap; }

body.diotima-footer-page {
  display: block;
  min-height: 100vh;
  padding: 24px 0 0;
}

body.diotima-footer-page > main {
  max-width: calc(100% - 32px);
  margin: clamp(24px, 6vh, 60px) auto;
}

body.diotima-footer-page > .diotima-complete-footer {
  width: min(calc(100% - 28px), 1180px);
  margin: 42px auto 0;
}

@media screen and (max-width: 760px) {
  .site-footer.diotima-complete-footer {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 24px;
    padding-top: 30px;
    text-align: center;
  }

  .diotima-complete-footer .footer-cal,
  .diotima-complete-footer .footer-contact {
    justify-self: center;
    text-align: center;
  }

  .diotima-complete-footer .cal-lockup,
  .diotima-complete-footer .footer-social { justify-content: center; }
  .diotima-complete-footer .footer-cat { width: min(250px, 76vw); }
  .diotima-complete-footer .footer-nav { gap: 7px 13px; font-size: .64rem; }
}
