/*
 * Bebelplatz — FASE 7.2
 * Editorial presentation layer for catalogue, collections, books and authors.
 * No catalogue data, taxonomy, checkout or payment logic is modified here.
 */

:root {
  --bp72-ink: #191816;
  --bp72-text: #36332f;
  --bp72-muted: #746f67;
  --bp72-paper: #fbfaf7;
  --bp72-paper-deep: #f3efe7;
  --bp72-line: rgba(25, 24, 22, .13);
  --bp72-accent: #f07c29;
  --bp72-accent-dark: #bb5b1d;
  --bp72-shadow: 0 22px 46px -30px rgba(24, 20, 15, .62);
  --bp72-shadow-hover: 0 28px 54px -30px rgba(24, 20, 15, .78);
  --bp72-serif: Georgia, "Times New Roman", serif;
  --bp72-ui: "Montserrat", Arial, sans-serif;
}

/* ---------- shared ---------- */
body.bp72-editorial {
  color: var(--bp72-text);
}

body.bp72-editorial a {
  text-underline-offset: .16em;
}

body.bp72-editorial a:focus-visible,
body.bp72-editorial button:focus-visible,
body.bp72-editorial input:focus-visible,
body.bp72-editorial select:focus-visible {
  outline: 2px solid var(--bp72-accent) !important;
  outline-offset: 3px;
}

/* ---------- catalogue / collection controls ---------- */
body.bp72-editorial.archive #grid-list {
  margin-bottom: 0 !important;
}

body.bp72-editorial.archive .breadthums-navigation.grid {
  background: var(--bp72-ink) !important;
  border: 0;
}

body.bp72-editorial.archive .breadthums-navigation.grid > .container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body.bp72-editorial.archive .breadthums-navigation .navigation-listcat,
body.bp72-editorial.archive .breadthums-navigation .woocommerce-ordering,
body.bp72-editorial.archive .breadthums-navigation .fillter-navigation {
  float: none !important;
}

body.bp72-editorial.archive .breadthums-navigation .subcategories-list {
  font-family: var(--bp72-ui) !important;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.bp72-editorial.archive .breadthums-navigation .subcategories-list i {
  color: var(--bp72-accent);
  margin-right: 8px;
}

body.bp72-editorial.archive .woocommerce-ordering {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
}

body.bp72-editorial.archive .woocommerce-ordering:before {
  color: rgba(255,255,255,.7);
  font-family: var(--bp72-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
}

body.bp72-editorial.archive .woocommerce-ordering select {
  min-height: 44px;
  min-width: 180px;
  padding: 0 38px 0 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: #fff;
  color: var(--bp72-text);
  font-family: var(--bp72-ui);
  font-size: 12px;
}

body.bp72-editorial.archive .breadthums-navigation .sbHolder {
  min-width: 180px;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: #fff;
}

/* ---------- shop intro ---------- */
body.post-type-archive-product.bp72-editorial .container.term-description {
  height: auto !important;
  min-height: 0 !important;
  float: none !important;
  clear: both;
}

.bp72-catalog-intro {
  max-width: 1068px;
  margin: 0 auto;
  padding: 56px 0 8px;
  text-align: left;
}

.bp72-catalog-intro .bp72-eyebrow {
  margin: 0 0 8px;
  color: var(--bp72-accent-dark);
  font-family: var(--bp72-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.bp72-catalog-intro h1 {
  margin: 0;
  color: var(--bp72-ink);
  font-family: var(--bp72-serif);
  font-size: 46px;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.04;
}

.bp72-catalog-intro .bp72-lead {
  margin: 10px 0 0;
  color: var(--bp72-muted);
  font-family: var(--bp72-ui);
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- catalogue grid ---------- */
body.bp72-editorial.archive .shop-left-bar {
  padding: 50px 0 94px;
  background: #fff;
}

body.bp72-editorial.archive .shop-left-bar .container,
body.bp72-editorial.archive .shop-left-bar .book-grid-full,
body.bp72-editorial.archive .shop-left-bar .shop-list-book,
body.bp72-editorial.archive .shop-left-bar .shop-list {
  float: none !important;
  height: auto !important;
}

body.bp72-editorial.archive .shop-left-bar .book-grid-full {
  width: 100% !important;
}

body.bp72-editorial.archive .shop-left-bar .shop-list ul.products.grid.book-grid-full {
  position: relative;
  left: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 58px 28px;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

body.bp72-editorial.archive .shop-left-bar .shop-list ul.products.grid.book-grid-full > li.product {
  float: none !important;
  width: auto !important;
  min-width: 0;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.bp72-editorial.archive li.product .book-item-shop {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  margin: 0 !important;
}

body.bp72-editorial.archive li.product .book-item {
  float: none !important;
  width: 100% !important;
  max-width: 184px !important;
  height: auto !important;
  margin: 0 auto !important;
  background: transparent;
  box-shadow: none !important;
  transition: transform .22s ease;
}

body.bp72-editorial.archive li.product .book-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 325 / 455;
  overflow: hidden;
  background: #eeeae2;
  box-shadow: var(--bp72-shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}

body.bp72-editorial.archive li.product .book-image img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover;
}

@media (hover:hover) and (pointer:fine) {
  body.bp72-editorial.archive li.product:hover .book-image {
    transform: translateY(-4px);
    box-shadow: var(--bp72-shadow-hover);
  }
}

body.bp72-editorial.archive li.product .book-info {
  float: none !important;
  width: 100% !important;
  min-width: 0;
  height: auto !important;
  padding: 17px 0 0 !important;
  text-align: left !important;
}

body.bp72-editorial.archive li.product .book-info .book-name {
  display: -webkit-box !important;
  width: 100% !important;
  min-height: 45px;
  margin: 0 0 7px !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--bp72-ink) !important;
  font-family: var(--bp72-serif) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.26 !important;
  text-align: left;
}

body.bp72-editorial.archive li.product .book-info .book-name a {
  color: var(--bp72-ink) !important;
  font-family: inherit !important;
  font-weight: inherit !important;
}

body.bp72-editorial.archive li.product .book-info .book-author {
  display: -webkit-box !important;
  width: 100% !important;
  min-height: 36px;
  margin: 0 0 7px !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--bp72-muted) !important;
  font-family: var(--bp72-ui) !important;
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1.45 !important;
  text-align: left;
}

body.bp72-editorial.archive li.product .book-info .book-author a {
  color: inherit !important;
}

body.bp72-editorial.archive li.product .book-info .book-price,
body.bp72-editorial.archive li.product .book-info .book-price .price,
body.bp72-editorial.archive li.product .book-info .book-price .amount {
  color: var(--bp72-accent-dark) !important;
  font-family: var(--bp72-ui) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-align: left;
}

body.bp72-editorial.archive li.product .book-info .book-price {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

body.bp72-editorial.archive li.product .book-info .price {
  margin: 0 !important;
}

body.bp72-editorial.archive li.product .book-item-shop > .onsale,
body.bp72-editorial.archive li.product .book-item-shop span.onsale {
  top: 8px !important;
  right: 8px !important;
  left: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 5px 8px !important;
  border-radius: 999px !important;
  background: var(--bp72-accent) !important;
  font-family: var(--bp72-ui);
  font-size: 10px !important;
  line-height: 1.2 !important;
}

/* ---------- collection hero + editorial introduction ---------- */
body.tax-product_cat.bp72-editorial .header-page.header-shop {
  position: relative;
  display: flex;
  min-height: 236px;
  align-items: flex-end;
  margin: 0 !important;
  overflow: hidden;
  background-position: center center !important;
}

body.tax-product_cat.bp72-editorial .header-page.header-shop:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,13,12,.73), rgba(14,13,12,.18) 72%);
  pointer-events: none;
}

body.tax-product_cat.bp72-editorial .header-page.header-shop .container {
  position: relative;
  z-index: 1;
}

body.tax-product_cat.bp72-editorial .header-page.header-shop .title-page {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0 0 40px;
  color: #fff !important;
  font-family: var(--bp72-serif) !important;
  font-size: 44px !important;
  font-weight: 400 !important;
  letter-spacing: -.025em;
  line-height: 1.05 !important;
  text-transform: none;
}

body.tax-product_cat.bp72-editorial #grid-list + .container.term-description {
  float: none !important;
  clear: both;
  width: auto !important;
  max-width: 900px;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 58px 24px 50px !important;
  border-bottom: 1px solid var(--bp72-line);
  text-align: left !important;
}

body.tax-product_cat.bp72-editorial #grid-list + .container.term-description > h2 {
  margin: 0 0 20px !important;
  color: var(--bp72-ink);
  font-family: var(--bp72-serif) !important;
  font-size: 38px !important;
  font-weight: 400 !important;
  letter-spacing: -.02em;
  line-height: 1.15 !important;
}

body.tax-product_cat.bp72-editorial #grid-list + .container.term-description > h2 span {
  color: var(--bp72-accent-dark) !important;
}

body.tax-product_cat.bp72-editorial #grid-list + .container.term-description .term-description {
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.tax-product_cat.bp72-editorial #grid-list + .container.term-description .term-description p {
  max-width: 820px;
  margin: 0;
  color: #47433e;
  font-family: var(--bp72-serif);
  font-size: 17px;
  line-height: 1.72;
  text-align: left !important;
}

/* ---------- single book ---------- */
body.single-product.bp72-editorial .detail-book {
  float: none !important;
  width: 100% !important;
  padding: 72px 0 88px;
  background: var(--bp72-paper-deep) !important;
}

body.single-product.bp72-editorial .detail-book > .container {
  width: 100%;
  max-width: 1180px;
  padding-left: 24px;
  padding-right: 24px;
}

body.single-product.bp72-editorial .book-detail {
  position: relative;
  left: auto !important;
  float: none !important;
  display: grid !important;
  grid-template-columns: minmax(280px, .86fr) minmax(0, 1.14fr);
  gap: 74px;
  width: 100% !important;
  max-width: 1080px;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  transform: none !important;
}

body.single-product.bp72-editorial .book-detail > .col-md-5,
body.single-product.bp72-editorial .book-detail > .book-item-detail {
  position: relative;
  left: auto !important;
  float: none !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product.bp72-editorial #libroimagen,
body.single-product.bp72-editorial #imagelibro {
  width: min(100%, 325px) !important;
  max-width: 325px !important;
  height: auto !important;
  aspect-ratio: 325 / 455;
  background-position: center !important;
  background-size: cover !important;
  box-sizing: border-box !important;
}

body.single-product.bp72-editorial #libroimagen {
  margin: 0 auto !important;
  box-shadow: var(--bp72-shadow-hover);
}

body.single-product.bp72-editorial .book-detail > .col-md-5 > .row {
  width: min(100%, 325px);
  margin: 18px auto 0 !important;
}

body.single-product.bp72-editorial .book-detail > .col-md-5 > .row > div {
  float: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  padding: 0 !important;
}

body.single-product.bp72-editorial .social-share {
  float: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product.bp72-editorial .social-share li {
  float: none !important;
  margin: 0 !important;
}

body.single-product.bp72-editorial .social-share a {
  color: #89847d !important;
  font-size: 22px !important;
  transition: color .18s ease;
}

body.single-product.bp72-editorial .social-share a:hover {
  color: var(--bp72-accent-dark) !important;
}

body.single-product.bp72-editorial #googleplus-cresta {
  display: none !important;
}

body.single-product.bp72-editorial .book-detail > .col-md-5 > .col-lg-12 {
  float: none !important;
  width: min(100%, 325px) !important;
  margin: 18px auto 0 !important;
  padding: 0 !important;
  color: var(--bp72-muted) !important;
  font-family: var(--bp72-ui);
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1.7;
}

body.single-product.bp72-editorial .book-detail > .col-md-5 > .col-lg-12 a,
body.single-product.bp72-editorial .book-detail > .col-md-5 > .col-lg-12 span span {
  color: var(--bp72-accent-dark) !important;
}

body.single-product.bp72-editorial .book-item-detail h1 {
  margin: 0 0 15px !important;
  color: var(--bp72-ink);
  font-family: var(--bp72-serif) !important;
  font-size: clamp(40px, 4vw, 52px) !important;
  font-weight: 400 !important;
  letter-spacing: -.035em;
  line-height: 1.04 !important;
}

body.single-product.bp72-editorial .book-item-detail .by-book {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  color: var(--bp72-muted) !important;
  font-family: var(--bp72-ui);
  font-size: 13.5px;
  font-weight: 500 !important;
  line-height: 1.5;
}

body.single-product.bp72-editorial .book-item-detail .by-book a {
  color: var(--bp72-accent-dark) !important;
  font-weight: 600;
}

body.single-product.bp72-editorial .book-item-detail .book-desc {
  display: block;
  max-width: 680px;
  margin: 0 0 27px;
  color: #3d3934;
  font-family: var(--bp72-serif);
  font-size: 18px;
  line-height: 1.68;
  text-align: left !important;
}

body.single-product.bp72-editorial .book-item-detail .book-desc p {
  margin: 0;
  text-align: left !important;
}

body.single-product.bp72-editorial .book-item-detail > .price,
body.single-product.bp72-editorial .book-item-detail p.price {
  margin: 0 0 20px !important;
  color: var(--bp72-ink) !important;
  font-family: var(--bp72-serif) !important;
  font-size: 36px !important;
  font-weight: 600;
  line-height: 1.1 !important;
}

body.single-product.bp72-editorial .book-item-detail .cart {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 !important;
}

body.single-product.bp72-editorial .book-item-detail .quantity {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 !important;
}

body.single-product.bp72-editorial .book-item-detail .book-quanlity {
  font-family: var(--bp72-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

body.single-product.bp72-editorial .book-item-detail input.qty {
  width: 64px !important;
  min-height: 44px;
  border: 1px solid var(--bp72-line);
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  color: var(--bp72-ink);
  font-family: var(--bp72-ui);
}

body.single-product.bp72-editorial .book-item-detail .single_add_to_cart_button {
  min-height: 50px;
  padding: 0 27px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--bp72-accent) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: var(--bp72-ui);
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .025em;
  text-transform: uppercase;
  transition: background .18s ease, transform .18s ease;
}

body.single-product.bp72-editorial .book-item-detail .single_add_to_cart_button:hover {
  background: var(--bp72-accent-dark) !important;
  transform: translateY(-1px);
}

/* Book author module below product */
body.single-product.bp72-editorial .detail-author-book {
  padding-top: 68px !important;
  padding-bottom: 72px !important;
  background: #1f1f1b !important;
}

body.single-product.bp72-editorial .detail-author-book .title-author,
body.single-product.bp72-editorial .detail-author-book .title-box,
body.single-product.bp72-editorial .detail-author-book h2,
body.single-product.bp72-editorial .detail-author-book h3 {
  font-family: var(--bp72-serif) !important;
  font-weight: 400 !important;
  letter-spacing: -.02em;
}

body.single-product.bp72-editorial .detail-author-book .desc-author {
  font-family: var(--bp72-serif);
  font-size: 16px;
  line-height: 1.65;
}

body.single-product.bp72-editorial .related,
body.single-product.bp72-editorial .related-book {
  padding-top: 62px;
  padding-bottom: 72px;
}

/* ---------- authors index ---------- */
body.page-template-template-author.bp72-editorial .header-page.header-author {
  position: relative;
  display: flex;
  min-height: 220px;
  align-items: flex-end;
  overflow: hidden;
  background-position: center !important;
}

body.page-template-template-author.bp72-editorial .header-page.header-author:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,13,12,.78), rgba(13,13,12,.2));
}

body.page-template-template-author.bp72-editorial .header-page.header-author .container {
  position: relative;
  z-index: 1;
}

body.page-template-template-author.bp72-editorial .header-page.header-author .title-page {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0 0 38px;
  color: #fff !important;
  font-family: var(--bp72-serif) !important;
  font-size: 44px !important;
  font-weight: 400 !important;
  letter-spacing: -.025em;
  line-height: 1.05 !important;
  text-transform: none;
}

body.page-template-template-author.bp72-editorial section.list-author-name {
  float: none !important;
  width: 100%;
  padding: 52px 0 96px;
  background: var(--bp72-paper);
}

body.page-template-template-author.bp72-editorial .fillter-alphabeta {
  float: none !important;
  width: 100%;
  margin: 0 0 45px !important;
  padding: 0 0 20px !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--bp72-line);
}

body.page-template-template-author.bp72-editorial #alphabeta-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-template-template-author.bp72-editorial #alphabeta-list > li {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-template-template-author.bp72-editorial #alphabeta-list > li > a {
  display: inline-flex;
  min-width: 36px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 10px !important;
  border: 1px solid var(--bp72-line);
  border-radius: 999px;
  color: var(--bp72-muted) !important;
  font-family: var(--bp72-ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

body.page-template-template-author.bp72-editorial #alphabeta-list > li:first-child > a {
  min-width: 66px;
}

body.page-template-template-author.bp72-editorial #alphabeta-list > li.active > a,
body.page-template-template-author.bp72-editorial #alphabeta-list > li > a:hover {
  border-color: var(--bp72-ink);
  background: var(--bp72-ink);
  color: #fff !important;
}

body.page-template-template-author.bp72-editorial #page-loading.active {
  display: none !important;
}

body.page-template-template-author.bp72-editorial #result-author {
  position: relative;
  min-height: 260px;
}

body.page-template-template-author.bp72-editorial #result-author.loading {
  opacity: .72;
}

body.page-template-template-author.bp72-editorial #result-author.loading:before {
  top: 62px !important;
  color: var(--bp72-accent) !important;
  font-size: 42px !important;
}

body.page-template-template-author.bp72-editorial #result-author .list-name-author {
  float: none !important;
  width: 100%;
  height: auto !important;
  margin: 0 0 52px;
}

body.page-template-template-author.bp72-editorial #result-author .title-alpha {
  margin: 0 0 25px !important;
  color: var(--bp72-accent-dark) !important;
  font-family: var(--bp72-serif) !important;
  font-size: 42px !important;
  font-weight: 400 !important;
  letter-spacing: -.02em;
  line-height: 1 !important;
  text-transform: none;
}

body.page-template-template-author.bp72-editorial #result-author .list-author-name.author-list-avatar {
  float: none !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px 24px;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 0 50px !important;
  border-bottom: 1px solid var(--bp72-line) !important;
}

body.page-template-template-author.bp72-editorial #result-author .author-item {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  min-width: 0;
}

body.page-template-template-author.bp72-editorial #result-author .avatar-author-item {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ebe7de;
  box-shadow: var(--bp72-shadow);
}

body.page-template-template-author.bp72-editorial #result-author .avatar-author-item img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(.97);
  transition: filter .22s ease, transform .22s ease;
}

@media (hover:hover) and (pointer:fine) {
  body.page-template-template-author.bp72-editorial #result-author .author-item:hover .avatar-author-item img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.018);
  }
}

body.page-template-template-author.bp72-editorial #result-author .author-item p {
  float: none !important;
  min-height: 0 !important;
  margin: 11px 0 0 !important;
  padding: 0 2px;
  color: var(--bp72-ink) !important;
  font-family: var(--bp72-serif) !important;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.35 !important;
  transition: color .18s ease;
}

body.page-template-template-author.bp72-editorial #result-author .author-item:hover p {
  color: var(--bp72-accent-dark) !important;
}

/* ---------- single author ---------- */
body.single-authorbook.bp72-editorial .author-detail {
  float: none !important;
  width: 100%;
  padding: 70px 0 76px;
  background: var(--bp72-paper-deep) !important;
}

body.single-authorbook.bp72-editorial .author-detail > .container {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: 56px;
  max-width: 1080px;
  align-items: start;
}

body.single-authorbook.bp72-editorial .author-detail .avatar-author,
body.single-authorbook.bp72-editorial .author-detail .detail-author-description {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-authorbook.bp72-editorial .author-detail .auth-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e8e3d9;
  box-shadow: var(--bp72-shadow-hover);
}

body.single-authorbook.bp72-editorial .author-detail .auth-avatar img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%);
}

body.single-authorbook.bp72-editorial .author-detail .social {
  margin-top: 16px;
}

body.single-authorbook.bp72-editorial .author-detail .auth-social {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.single-authorbook.bp72-editorial .author-detail .title-author {
  margin: 0 0 20px !important;
  color: var(--bp72-ink);
  font-family: var(--bp72-serif) !important;
  font-size: clamp(40px, 4.2vw, 52px) !important;
  font-weight: 400 !important;
  letter-spacing: -.035em;
  line-height: 1.04 !important;
  text-transform: none !important;
}

body.single-authorbook.bp72-editorial .author-detail .year-author {
  margin: -7px 0 18px;
  color: var(--bp72-accent-dark);
  font-family: var(--bp72-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}

body.single-authorbook.bp72-editorial .author-detail .desc-auth {
  max-width: 720px;
  color: #403c37;
  font-family: var(--bp72-serif);
  font-size: 17.5px;
  line-height: 1.72;
  text-align: left !important;
}

body.single-authorbook.bp72-editorial .author-detail .desc-auth p {
  margin-top: 0;
  text-align: left !important;
}

body.single-authorbook.bp72-editorial .book-by {
  float: none !important;
  width: 100%;
  padding: 62px 0 76px;
  background: #fff;
}

body.single-authorbook.bp72-editorial .book-by .container {
  max-width: 1080px;
}

body.single-authorbook.bp72-editorial .book-by .title-box,
body.single-authorbook.bp72-editorial .other-author .title-box {
  width: 100% !important;
  margin: 0 0 32px !important;
  padding: 0 0 13px;
  border-bottom: 1px solid var(--bp72-line) !important;
}

body.single-authorbook.bp72-editorial .book-by .title-box > span,
body.single-authorbook.bp72-editorial .other-author .title-box > span {
  color: var(--bp72-ink);
  font-family: var(--bp72-serif) !important;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.2;
}

body.single-authorbook.bp72-editorial .book-by ul.book-grid {
  float: none !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px 24px;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

body.single-authorbook.bp72-editorial .book-by li.book-item-author {
  float: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  margin: 0 !important;
}

body.single-authorbook.bp72-editorial .book-by li.book-item-author .book-item {
  float: none !important;
  width: 100% !important;
  max-width: 150px;
  height: auto !important;
  margin: 0;
  box-shadow: none;
}

body.single-authorbook.bp72-editorial .book-by li.book-item-author .book-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 325 / 455;
  overflow: hidden;
  background: #eeeae2;
  box-shadow: var(--bp72-shadow);
}

body.single-authorbook.bp72-editorial .book-by li.book-item-author .book-image img {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover;
}

body.single-authorbook.bp72-editorial .book-by .author-info {
  display: block !important;
  width: 100% !important;
  margin: 12px 0 0 !important;
}

body.single-authorbook.bp72-editorial .book-by .author-info .book-name {
  color: var(--bp72-ink) !important;
  font-family: var(--bp72-serif) !important;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
}

body.single-authorbook.bp72-editorial .book-by .book-year {
  margin-top: 5px;
  color: var(--bp72-muted);
  font-family: var(--bp72-ui);
  font-size: 11px;
}

body.single-authorbook.bp72-editorial.bp72-no-author-carousel .other-author {
  display: none !important;
}

/* ---------- breakpoints ---------- */
@media (max-width: 1199px) {
  body.bp72-editorial.archive .shop-left-bar .shop-list ul.products.grid.book-grid-full {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.page-template-template-author.bp72-editorial #result-author .list-author-name.author-list-avatar {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  body.bp72-editorial.archive .shop-left-bar .shop-list ul.products.grid.book-grid-full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 24px;
  }

  body.page-template-template-author.bp72-editorial #result-author .list-author-name.author-list-avatar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.single-product.bp72-editorial .book-detail {
    grid-template-columns: minmax(250px, .9fr) minmax(0, 1.1fr);
    gap: 44px;
  }

  body.single-authorbook.bp72-editorial .author-detail > .container {
    gap: 38px;
  }
}

@media (max-width: 767px) {
  body.bp72-editorial.archive .breadthums-navigation.grid > .container {
    min-height: 114px;
    flex-wrap: wrap;
    align-content: center;
    gap: 10px 18px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  body.bp72-editorial.archive .breadthums-navigation .navigation-listcat {
    width: 100%;
  }

  body.bp72-editorial.archive .woocommerce-ordering {
    width: 100%;
    justify-content: space-between;
  }

  body.bp72-editorial.archive .woocommerce-ordering select,
  body.bp72-editorial.archive .breadthums-navigation .sbHolder {
    min-width: 0;
    width: min(250px, 68vw) !important;
  }

  .bp72-catalog-intro {
    padding: 38px 0 4px;
  }

  .bp72-catalog-intro h1 {
    font-size: 36px;
  }

  body.bp72-editorial.archive .shop-left-bar {
    padding: 36px 0 70px;
  }

  body.bp72-editorial.archive .shop-left-bar .shop-list ul.products.grid.book-grid-full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 16px;
    margin-left: 0 !important;
  }

  body.bp72-editorial.archive li.product .book-item {
    max-width: none !important;
  }

  body.bp72-editorial.archive li.product .book-info {
    padding-top: 13px !important;
  }

  body.bp72-editorial.archive li.product .book-info .book-name {
    min-height: 41px;
    font-size: 16px !important;
    line-height: 1.28 !important;
  }

  body.bp72-editorial.archive li.product .book-info .book-author {
    min-height: 34px;
    font-size: 11.5px !important;
  }

  body.tax-product_cat.bp72-editorial .header-page.header-shop {
    min-height: 160px;
  }

  body.tax-product_cat.bp72-editorial .header-page.header-shop .title-page {
    padding-bottom: 27px;
    font-size: 32px !important;
  }

  body.tax-product_cat.bp72-editorial #grid-list + .container.term-description {
    padding: 39px 18px 36px !important;
  }

  body.tax-product_cat.bp72-editorial #grid-list + .container.term-description > h2 {
    font-size: 31px !important;
  }

  body.tax-product_cat.bp72-editorial #grid-list + .container.term-description .term-description p {
    font-size: 16.5px;
    line-height: 1.68;
  }

  body.single-product.bp72-editorial .detail-book {
    padding: 22px 0 56px;
  }

  body.single-product.bp72-editorial .detail-book > .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  body.single-product.bp72-editorial .book-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    max-width: 560px;
  }

  body.single-product.bp72-editorial #libroimagen {
    max-width: min(325px, 92vw) !important;
  }

  body.single-product.bp72-editorial .book-item-detail h1 {
    font-size: 36px !important;
    line-height: 1.08 !important;
  }

  body.single-product.bp72-editorial .book-item-detail .book-desc {
    font-size: 17px;
    line-height: 1.66;
  }

  body.single-product.bp72-editorial .book-item-detail > .price,
  body.single-product.bp72-editorial .book-item-detail p.price {
    font-size: 32px !important;
  }

  body.single-product.bp72-editorial .book-item-detail .cart {
    align-items: stretch;
  }

  body.single-product.bp72-editorial .book-item-detail .single_add_to_cart_button {
    width: 100%;
  }

  body.single-product.bp72-editorial .detail-author-book {
    padding-top: 48px !important;
    padding-bottom: 50px !important;
  }

  body.page-template-template-author.bp72-editorial .header-page.header-author {
    min-height: 160px;
  }

  body.page-template-template-author.bp72-editorial .header-page.header-author .title-page {
    padding-bottom: 27px;
    font-size: 32px !important;
  }

  body.page-template-template-author.bp72-editorial section.list-author-name {
    padding: 38px 0 70px;
  }

  body.page-template-template-author.bp72-editorial .fillter-alphabeta {
    margin-bottom: 36px !important;
  }

  body.page-template-template-author.bp72-editorial #alphabeta-list {
    gap: 6px;
  }

  body.page-template-template-author.bp72-editorial #alphabeta-list > li > a {
    min-width: 34px;
    min-height: 36px;
    padding: 0 8px !important;
    font-size: 11px;
  }

  body.page-template-template-author.bp72-editorial #result-author .title-alpha {
    margin-left: 0 !important;
    font-size: 36px !important;
  }

  body.page-template-template-author.bp72-editorial #result-author .list-author-name.author-list-avatar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 16px;
    margin-left: 0 !important;
  }

  body.page-template-template-author.bp72-editorial #result-author .author-item p {
    font-size: 13.5px !important;
  }

  body.single-authorbook.bp72-editorial .author-detail {
    padding: 26px 0 54px;
  }

  body.single-authorbook.bp72-editorial .author-detail > .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  body.single-authorbook.bp72-editorial .author-detail .avatar-author {
    max-width: 230px;
    justify-self: center;
  }

  body.single-authorbook.bp72-editorial .author-detail .detail-author-description {
    max-width: 620px;
    justify-self: center;
  }

  body.single-authorbook.bp72-editorial .author-detail .title-author {
    font-size: 36px !important;
    line-height: 1.08 !important;
  }

  body.single-authorbook.bp72-editorial .author-detail .desc-auth {
    font-size: 16.5px;
    line-height: 1.68;
  }

  body.single-authorbook.bp72-editorial .book-by {
    padding: 46px 0 60px;
  }

  body.single-authorbook.bp72-editorial .book-by .title-box > span,
  body.single-authorbook.bp72-editorial .other-author .title-box > span {
    font-size: 24px;
  }

  body.single-authorbook.bp72-editorial .book-by ul.book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }

  body.single-authorbook.bp72-editorial .book-by li.book-item-author .book-item {
    max-width: none;
  }
}

@media (min-width: 768px) and (max-width: 1025px) {
  body.bp72-editorial.archive .shop-left-bar .shop-list ul.products.grid.book-grid-full {
    left: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 339px) {
  body.bp72-editorial.archive .shop-left-bar .shop-list ul.products.grid.book-grid-full {
    column-gap: 12px;
  }

  body.bp72-editorial.archive li.product .book-info .book-name {
    font-size: 15px !important;
  }
}

/* ---------- FASE 7.2 refinement 1: neutralize legacy layout mechanics ---------- */
body.bp72-editorial.archive .shop-left-bar .shop-list ul.products.grid.book-grid-full:before,
body.bp72-editorial.archive .shop-left-bar .shop-list ul.products.grid.book-grid-full:after {
  content: none !important;
  display: none !important;
}

body.bp72-editorial.archive .breadthums-navigation.grid > .container {
  height: auto !important;
}

body.bp72-editorial.archive .breadthums-navigation .navigation-listcat {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
}

body.single-product.bp72-editorial .book-item-detail .quantity {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  justify-content: flex-start;
}

body.single-product.bp72-editorial .book-item-detail .quantity .book-quanlity,
body.single-product.bp72-editorial .book-item-detail .quantity label {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

body.single-product.bp72-editorial .book-item-detail .quantity input.qty {
  float: none !important;
  width: 64px !important;
  min-width: 64px !important;
  margin: 0 !important;
}

body.page-template-template-author.bp72-editorial .header-page.header-author,
body.tax-product_cat.bp72-editorial .header-page.header-shop {
  float: none !important;
  clear: both;
  width: 100% !important;
}

body.page-template-template-author.bp72-editorial .header-page.header-author {
  background-color: var(--bp72-ink) !important;
}

body.page-template-template-author.bp72-editorial section.list-author-name {
  position: relative;
  z-index: 1;
  clear: both;
}

body.page-template-template-author.bp72-editorial #alphabeta-list {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  float: none !important;
  width: 100% !important;
  height: auto !important;
  transform: none !important;
}

body.single-authorbook.bp72-editorial .author-detail .avatar-author {
  grid-column: 1;
  grid-row: 1;
  position: relative !important;
  left: auto !important;
  right: auto !important;
}

body.single-authorbook.bp72-editorial .author-detail .detail-author-description {
  grid-column: 2;
  grid-row: 1;
  position: relative !important;
  left: auto !important;
  right: auto !important;
}

@media (max-width: 767px) {
  body.single-authorbook.bp72-editorial .author-detail .avatar-author,
  body.single-authorbook.bp72-editorial .author-detail .detail-author-description {
    grid-column: 1;
  }

  body.single-authorbook.bp72-editorial .author-detail .avatar-author {
    grid-row: 1;
  }

  body.single-authorbook.bp72-editorial .author-detail .detail-author-description {
    grid-row: 2;
  }
}
