/**
 * La Pradera — anula restos Peonia (#e45d86 / rosa) en la tienda pública.
 * Cargar después de tienda-header.css y del tema inyectado.
 */
.promotional-banner {
  background-color: var(--ps-primary, #AF2B2B) !important;
  color: #fff !important;
}

.ps-tienda-cart-badge {
  background: linear-gradient(135deg, var(--ps-primary, #AF2B2B), var(--ps-primary-dark, #7D1F1F)) !important;
}

.newsletter-section {
  background: linear-gradient(135deg, #faf6f0, #f0e6dc) !important;
}

.newsletter-card {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 50px rgba(125, 31, 31, 0.12),
    0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

.ps-auth-main .btn,
.ps-ayuda-form button,
.ps-pagar-btn,
.ps-modal-btn,
.ps-cuenta-section .btn,
.ps-cuenta-resumen-btn,
.ps-wishlist-btn-view,
.ps-wishlist-empty a,
.ps-track-search .btn,
.ps-wishlist-btn-view,
button.btn-diagnosis,
.ps-fab-tienda-chatbot,
#tienda-chatbot-fab,
.tienda-chatbot-panel .chatbot-send,
.tienda-whatsapp-widget-right a {
  background: linear-gradient(135deg, var(--ps-primary, #AF2B2B), var(--ps-primary-dark, #7D1F1F)) !important;
  border-color: var(--ps-primary, #AF2B2B) !important;
}

.ps-producto-seo-badge {
  background: var(--ps-primary-soft, #faf0eb) !important;
  color: var(--ps-primary, #AF2B2B) !important;
}

.ps-tienda-card-overlay .btn-buy,
.ps-tienda-badge.oferta,
.ps-tienda-card-actions .btn-primary,
.ps-tienda-tabs a.active,
.ps-tienda-cat-btn.active,
.ps-tienda-pagination .current,
.newsletter-submit {
  background: linear-gradient(135deg, var(--ps-primary, #AF2B2B), var(--ps-primary-dark, #7D1F1F)) !important;
}

/* Chatbot / WhatsApp widget (inline Peonia en PHP) */
#tienda-chatbot-panel .chatbot-header,
.tienda-chatbot-panel .chatbot-header {
  background: linear-gradient(135deg, var(--ps-primary, #AF2B2B), var(--ps-primary-dark, #7D1F1F)) !important;
}

.smart-modal-btn-primary,
.smart-modal-newsletter button[type="submit"],
.ps-nl-submit-step1,
.ps-nl-form-step2 button[type="submit"],
.ps-modal-button,
button.ps-nl-submit-step1 {
  background: linear-gradient(135deg, var(--ps-primary, #AF2B2B), var(--ps-primary-dark, #7D1F1F)) !important;
  border-color: var(--ps-primary, #AF2B2B) !important;
  color: #fff !important;
}

/* Logo oficial (texto rojo), no foto de producto */
.ps-tienda-top-logo img,
.ps-tienda-unified-topbar-logo img {
  max-width: min(92vw, 280px) !important;
  max-height: 90px !important;
  object-fit: contain !important;
}

/* —— Responsive tienda (móvil / tablet) —— */
html, body {
  overflow-x: clip;
}

.ps-tienda-sticky-top,
.ps-tienda-main,
.ps-tienda-content-wrap,
.ps-tienda-header-inner {
  max-width: 100%;
  min-width: 0;
}

.ps-home-price-now,
.ps-tienda-card-body .ps-tienda-price {
  color: var(--ps-primary, #AF2B2B) !important;
}

@media (max-width: 1279px) {
  .ps-tienda-sticky-top > .ps-tienda-top-logo {
    padding: 0.45rem 0.85rem 0.35rem !important;
  }
  .ps-tienda-top-logo {
    display: flex;
    justify-content: center;
  }
  .ps-tienda-top-logo-link {
    display: inline-flex;
    max-width: 100%;
  }
  .ps-tienda-primary-nav-inner {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }
  .ps-tienda-primary-nav-actions-slot {
    width: 100%;
  }
  .ps-tienda-primary-nav-actions-slot .ps-tienda-nav-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .ps-tienda-top-logo img,
  .ps-tienda-unified-topbar-logo img {
    max-width: min(72vw, 200px) !important;
    max-height: 56px !important;
  }

  .ps-tienda-main,
  .ps-tienda-content-wrap {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  .ps-tienda-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
  }

  .ps-tienda-card-body {
    padding: 0.7rem 0.75rem 0.85rem !important;
  }
  .ps-tienda-card-body h3 {
    font-size: 0.88rem !important;
    line-height: 1.3 !important;
  }
  .ps-tienda-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem !important;
  }
  .ps-tienda-card-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.72rem !important;
    padding: 0.4rem 0.5rem !important;
  }

  .ps-home-fixed-cards,
  .ps-home-fixed-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  .ps-tienda-highlight-product--banner {
    min-height: 160px !important;
  }
  .ps-tienda-highlight-product--banner img {
    height: 160px !important;
  }

  .ps-modal.ps-modal--newsletter,
  .ps-modal-overlay--newsletter .ps-modal {
    width: min(94vw, 520px) !important;
    max-height: min(88vh, 640px) !important;
  }
  .ps-modal-overlay--newsletter .ps-modal-content {
    padding: 1.25rem 1rem !important;
  }
  .ps-modal-overlay--newsletter h3 {
    font-size: 1.1rem !important;
  }

  .newsletter-section,
  .newsletter-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 480px) {
  .ps-tienda-top-logo img,
  .ps-tienda-unified-topbar-logo img {
    max-width: min(68vw, 168px) !important;
    max-height: 46px !important;
  }

  .ps-tienda-main,
  .ps-tienda-content-wrap {
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
  }

  .ps-tienda-grid {
    gap: 0.65rem !important;
  }

  .ps-tienda-card-actions .btn-secondary {
    display: none;
  }

  .ps-home-fixed-cards {
    grid-template-columns: 1fr 1fr !important;
  }

  .promotional-banner {
    font-size: 0.82rem !important;
    padding: 0.45rem 0.75rem !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 360px) {
  .ps-tienda-grid,
  .ps-home-fixed-products {
    grid-template-columns: 1fr !important;
  }
}

/* —— Menú La Pradera: barra terracota de líneas —— */
.ps-tienda-primary-nav--lapradera {
  background: #fff !important;
  border-bottom: none !important;
}

.ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-inner {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(175, 43, 43, 0.08);
}

.ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-panel {
  display: block;
  width: 100%;
}

.ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-list:first-of-type {
  gap: 0.25rem 1.25rem;
}

.ps-tienda-primary-nav--lapradera .ps-tienda-primary-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: #4a342c;
  letter-spacing: 0.02em;
}

.ps-tienda-primary-nav--lapradera .ps-tienda-primary-link:hover {
  color: var(--ps-primary, #AF2B2B);
  background: rgba(175, 43, 43, 0.06);
}

.ps-tienda-primary-nav--lapradera .ps-tienda-primary-link.is-active {
  color: var(--ps-primary, #AF2B2B);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--ps-primary, #AF2B2B);
  border-radius: 0;
}

.ps-tienda-lapradera-nav-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.ps-tienda-lapradera-nav-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.ps-tienda-lapradera-nav-ico svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.ps-tienda-primary-nav--lapradera .ps-tienda-primary-link.ps-tienda-lapradera-nav-icon-link {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 10px;
}

.ps-tienda-primary-nav--lapradera .ps-tienda-primary-link.ps-tienda-lapradera-nav-icon-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, #AF2B2B, #7D1F1F);
  box-shadow: 0 1px 4px rgba(125, 31, 31, 0.2);
  border-radius: 10px;
}

.ps-tienda-primary-nav--lapradera .ps-tienda-primary-link.ps-tienda-lapradera-nav-icon-link:hover {
  color: var(--ps-primary, #AF2B2B);
  background: rgba(175, 43, 43, 0.08);
  border-radius: 10px;
}

.ps-tienda-primary-nav--lapradera .ps-tienda-primary-link.ps-tienda-lapradera-nav-icon-link.is-active:hover {
  color: #fff;
  background: linear-gradient(135deg, #AF2B2B, #7D1F1F);
}

.ps-tienda-lapradera-lines {
  width: 100%;
  background: #faf6f0;
  box-shadow: none;
  border-bottom: 1px solid rgba(175, 43, 43, 0.12);
}

.ps-tienda-lapradera-lines-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.3rem 0 0.35rem;
  box-sizing: border-box;
  overflow: hidden;
}

.ps-tienda-lapradera-lines-label {
  display: none;
}

.ps-tienda-lapradera-lines-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.2rem;
  margin: 0;
  padding: 0 0.35rem 0.1rem;
  list-style: none;
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.ps-tienda-lapradera-lines-list::-webkit-scrollbar {
  display: none;
}

.ps-tienda-lapradera-line-item {
  flex: 1 1 0;
  min-width: 0;
  border-right: none;
}

.ps-tienda-lapradera-line-item:last-child {
  border-right: none;
}

.ps-tienda-lapradera-line-item--all {
  flex: 1 1 0;
  background: transparent;
}

.ps-tienda-lapradera-line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.ps-tienda-lapradera-line-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.ps-tienda-lapradera-line-text--desktop {
  display: none;
}

.ps-tienda-lapradera-line-text--mobile {
  display: block;
  max-width: none;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
  hyphens: auto;
}

.ps-tienda-lapradera-line-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  padding: 0.28rem 0.08rem 0.24rem;
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
  white-space: normal;
  hyphens: auto;
  text-align: center;
  color: #5c2319;
  background: #fff;
  border: 1px solid rgba(175, 43, 43, 0.2);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(125, 31, 31, 0.05);
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.ps-tienda-lapradera-line-link:hover {
  background: #f5ebe3;
  color: #7D1F1F;
}

.ps-tienda-lapradera-line-link.is-active {
  background: linear-gradient(135deg, #AF2B2B, #7D1F1F);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 6px rgba(125, 31, 31, 0.2);
}

.ps-tienda-lapradera-line-link--all {
  width: 100%;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  background: #fff;
  border-style: solid;
}

.ps-tienda-lapradera-line-link--all .ps-tienda-lapradera-line-text--mobile {
  font-weight: 700;
}

@media (min-width: 1280px) {
  .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-panel .ps-tienda-primary-nav-list {
    justify-content: flex-start;
  }

  .ps-tienda-lapradera-lines {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem 0.35rem;
    box-sizing: border-box;
  }

  .ps-tienda-lapradera-lines-inner {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0.3rem 0 0.35rem;
  }

  .ps-tienda-lapradera-mobile-quick {
    display: none;
  }
}

@media (max-width: 1279px) {
  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    padding: 0.35rem 0.75rem 0.4rem !important;
    border-bottom: none;
  }

  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-mobile-bar {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 auto !important;
    min-width: 0;
    width: auto !important;
    padding-bottom: 0;
    order: 1 !important;
  }

  .ps-tienda-lapradera-mobile-quick {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    width: auto;
    max-width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .ps-tienda-lapradera-mobile-quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    min-width: 40px;
    width: 40px;
    padding: 0;
    color: #5c2319;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(175, 43, 43, 0.2);
    border-radius: 11px;
    box-shadow: 0 1px 3px rgba(125, 31, 31, 0.06);
  }

  .ps-tienda-lapradera-mobile-quick-link.is-active {
    color: #fff;
    background: linear-gradient(135deg, #AF2B2B, #7D1F1F);
    border-color: transparent;
    box-shadow: 0 1px 4px rgba(125, 31, 31, 0.2);
  }

  .ps-tienda-lapradera-mobile-quick-link .ps-tienda-lapradera-nav-ico svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-actions-slot {
    padding-top: 0;
    order: 2 !important;
    flex: 0 0 auto !important;
    margin-left: auto;
    width: auto !important;
  }

  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-center-wrap {
    order: 3;
    display: none !important;
  }

  .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-panel,
  .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-backdrop {
    display: none !important;
  }

  .ps-tienda-lapradera-lines {
    position: sticky;
    top: 0;
    z-index: 10020;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .ps-tienda-lapradera-line-link {
    width: 100%;
    padding: 0.32rem 0.1rem 0.28rem;
  }

  .ps-tienda-lapradera-line-text--mobile {
    font-size: 0.62rem;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .ps-tienda-lapradera-lines-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .ps-tienda-lapradera-lines-list {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    gap: 0.15rem;
  }

  .ps-tienda-lapradera-line-link {
    width: 100%;
    padding: 0.22rem 0.04rem 0.2rem;
    gap: 0.08rem;
    border-radius: 7px;
  }

  .ps-tienda-lapradera-line-icon svg {
    width: 0.9rem;
    height: 0.9rem;
  }

  .ps-tienda-lapradera-line-text--mobile {
    font-size: 0.52rem;
    line-height: 1.1;
  }

  .ps-tienda-lapradera-mobile-quick-link {
    min-height: 38px;
    min-width: 38px;
    width: 38px;
    padding: 0;
    font-size: 0.82rem;
  }

  .ps-tienda-lapradera-mobile-quick-link .ps-tienda-lapradera-nav-ico svg {
    width: 1.05rem;
    height: 1.05rem;
  }
}

/* —— Barra única: logo entre casita (izq) e iconos (der), misma altura —— */
body.ps-tienda-catalog-actions-primary .ps-tienda-sticky-top:has(.ps-tienda-primary-nav--lapradera) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
}

body.ps-tienda-catalog-actions-primary .ps-tienda-sticky-top:has(.ps-tienda-primary-nav--lapradera) > .promotional-banner {
  grid-row: 1;
  grid-column: 1;
}

body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera {
  display: contents;
}

body.ps-tienda-catalog-actions-primary .ps-tienda-sticky-top:has(.ps-tienda-primary-nav--lapradera) > .ps-tienda-top-logo {
  grid-row: 2;
  grid-column: 1;
  justify-self: stretch;
  align-self: center;
  margin: 0;
  padding: 0.3rem 0 !important;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

body.ps-tienda-catalog-actions-primary .ps-tienda-sticky-top:has(.ps-tienda-primary-nav--lapradera) > .ps-tienda-top-logo .ps-tienda-top-logo-link {
  pointer-events: auto;
  align-items: center;
}

body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-inner {
  grid-row: 2;
  grid-column: 1;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: minmax(44px, auto);
  align-items: center !important;
  align-self: stretch;
  width: 100%;
  max-width: 1120px;
  justify-self: center;
  margin: 0 auto;
  padding: 0.3rem 0.85rem !important;
  border-bottom: none !important;
  box-sizing: border-box;
  z-index: 2;
  background: transparent !important;
  gap: 0.35rem 0.5rem !important;
  flex-wrap: nowrap !important;
}

body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-lapradera-lines {
  grid-row: 3;
  grid-column: 1;
}

body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-mobile-bar {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  order: unset !important;
  flex: none !important;
  width: auto !important;
  padding: 0 !important;
}

body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-actions-slot {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  order: unset !important;
  flex: none !important;
  margin-left: 0 !important;
  width: auto !important;
  padding-top: 0 !important;
}

body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-actions-slot .ps-tienda-nav,
body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-actions-slot .ps-tienda-nav-actions,
body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-actions-slot .ps-tienda-nav-main {
  align-items: center !important;
}

body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-lapradera-mobile-quick-link {
  min-height: 40px;
  min-width: 40px;
  width: 40px;
}

@media (min-width: 1280px) {
  body.ps-tienda-catalog-actions-primary .ps-tienda-sticky-top:has(.ps-tienda-primary-nav--lapradera) > .ps-tienda-top-logo {
    justify-self: stretch;
    width: auto;
    max-width: none;
    margin: 0 calc(1.5rem + 11.5rem) 0 calc(1.5rem + 40px + 0.5rem);
    padding: 0.38rem 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  body.ps-tienda-catalog-actions-primary .ps-tienda-sticky-top:has(.ps-tienda-primary-nav--lapradera) > .ps-tienda-top-logo .ps-tienda-top-logo-link {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
  }

  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-inner {
    padding: 0.38rem 1.5rem !important;
    grid-template-rows: minmax(48px, auto);
  }

  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-mobile-bar {
    display: none !important;
  }

  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-center-wrap {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    display: block !important;
    order: unset !important;
    flex: none !important;
    width: auto !important;
    min-width: 0;
  }

  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-backdrop,
  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-panel-head,
  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-list--tail {
    display: none !important;
  }

  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-panel {
    display: block;
    width: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
  }

  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-panel .ps-tienda-primary-nav-list:first-of-type {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 0;
  }
}

@media (max-width: 1279px) {
  body.ps-tienda-catalog-actions-primary .ps-tienda-sticky-top:has(.ps-tienda-primary-nav--lapradera) > .ps-tienda-top-logo {
    justify-self: stretch;
    align-self: center;
    width: auto;
    max-width: none;
    margin: 0 calc(0.85rem + 169px) 0 calc(0.85rem + 36px);
    padding: 0.28rem 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  body.ps-tienda-catalog-actions-primary .ps-tienda-sticky-top:has(.ps-tienda-primary-nav--lapradera) > .ps-tienda-top-logo .ps-tienda-top-logo-link {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
  }

  body.ps-tienda-catalog-actions-primary .ps-tienda-sticky-top:has(.ps-tienda-primary-nav--lapradera) > .ps-tienda-top-logo img {
    max-width: min(40vw, 148px) !important;
    max-height: 40px !important;
  }

  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-lapradera-mobile-quick-link {
    min-height: 36px;
    min-width: 36px;
    width: 36px;
  }

  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-actions-slot .ps-tienda-nav-main {
    gap: 0.1rem !important;
    padding: 0.2rem 0.3rem !important;
  }

  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-actions-slot .ps-tienda-nav-link--icon,
  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-actions-slot .ps-tienda-account-menu-btn,
  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-actions-slot .ps-tienda-cart-link,
  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-actions-slot .ps-tienda-catalog-search-trigger {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }
}

@media (max-width: 1279px) {
  body.ps-tienda-catalog-actions-primary .ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-center-wrap {
    display: none !important;
  }
}

/* Tipografía de marca: Benguiat en títulos, Source Sans 3 en el resto */
body,
button,
input,
select,
textarea {
  font-family: var(--lp-font-sans, "Source Sans 3", system-ui, sans-serif);
}

h1,
h2,
h3,
.ps-tienda-title,
.ps-section-title,
.ps-tienda-card-body h3,
.ps-home-fixed-card-title,
.ps-producto-title,
.ps-producto-name {
  font-family: var(--lp-font-display, "Benguiat", Georgia, serif);
  font-weight: 700 !important;
}

.ps-tienda-subtitle,
.ps-tienda-lead,
.ps-producto-lead,
.ps-home-section-lead {
  font-family: var(--lp-font-subtitle, "Benguiat", Georgia, serif);
  font-weight: 400;
}

/* Línea elegida: las tarjetas se van y queda el regreso al menú. */
.ps-tienda-lapradera-lines--back {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.15rem 0.85rem 0.35rem;
  box-sizing: border-box;
  background: transparent;
}

.ps-tienda-lapradera-lines--back .ps-tienda-lapradera-lines-inner {
  max-width: none;
  margin: 0;
  padding: 0.55rem 0 0.2rem;
}

.ps-tienda-lapradera-lines-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #7d1f1f;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.ps-tienda-lapradera-lines-back-link:hover,
.ps-tienda-lapradera-lines-back-link:focus-visible {
  color: #af2b2b;
  text-decoration: underline;
}

.ps-tienda-lapradera-lines-back-title {
  margin: 0.28rem 0 0;
  font-family: var(--lp-font-display, "Benguiat", Georgia, serif);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  color: #5c2319;
}

/* —— Menú 2×3 (3 cols desktop / 2 cols móvil). Nombre debajo; sin texto sobre la foto. —— */
.ps-tienda-lapradera-lines--photos {
  background: #faf6f0;
  border-bottom: 1px solid rgba(175, 43, 43, 0.12);
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-lines-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.65rem 0.7rem 0.7rem;
  overflow: visible;
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-lines-label {
  display: none;
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-lines-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
  scroll-snap-type: none;
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-lines-list::-webkit-scrollbar {
  display: none;
}

@keyframes ps-lp-line-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-item {
  min-width: 0;
  max-width: none;
  flex: none;
  border-right: none;
  animation: ps-lp-line-in 0.35s ease both;
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-item:nth-child(1) { animation-delay: 0ms; }
.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-item:nth-child(2) { animation-delay: 50ms; }
.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-item:nth-child(3) { animation-delay: 100ms; }
.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-item:nth-child(4) { animation-delay: 150ms; }
.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-item:nth-child(5) { animation-delay: 200ms; }
.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-item:nth-child(6) { animation-delay: 250ms; }

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: 100%;
  padding: 0.45rem 0.4rem 0.5rem;
  background: #fff;
  border: 1px solid rgba(175, 43, 43, 0.16);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(125, 31, 31, 0.05);
  text-decoration: none;
  color: #5c2319;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link:hover,
.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link:focus-visible {
  background: #fff;
  color: #7d1f1f;
  border-color: rgba(175, 43, 43, 0.42);
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(125, 31, 31, 0.12);
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link.is-active {
  background: #fff;
  color: #af2b2b;
  border-color: #af2b2b;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.45), 0 6px 16px rgba(175, 43, 43, 0.16);
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link.is-active:hover,
.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link.is-active:focus-visible {
  color: #af2b2b;
  border-color: #af2b2b;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.45), 0 10px 20px rgba(175, 43, 43, 0.16);
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f4efe6;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8%;
  box-sizing: border-box;
  background: #f4efe6;
  transform: scale(1);
  transition: transform 0.2s ease;
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link:hover .ps-tienda-lapradera-line-photo img,
.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link:focus-visible .ps-tienda-lapradera-line-photo img {
  transform: scale(1.04);
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-photo--all img {
  padding: 16%;
  object-fit: contain;
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-text,
.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-text--desktop,
.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-text--mobile {
  display: block;
  max-width: 100%;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  text-align: center;
  font-family: var(--lp-font-display, "Benguiat", Georgia, serif);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: inherit;
  hyphens: auto;
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link.is-active .ps-tienda-lapradera-line-text {
  color: #af2b2b;
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link.is-active .ps-tienda-lapradera-line-text::after {
  content: "";
  display: block;
  width: 2.25em;
  height: 2px;
  margin: 0.28rem auto 0;
  background: linear-gradient(90deg, #af2b2b, #c9a84c);
  border-radius: 2px;
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-lines-all,
.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-lines-all-link {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-item {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link,
  .ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-photo img {
    transition: none;
  }

  .ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link:hover,
  .ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link:focus-visible,
  .ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link:hover .ps-tienda-lapradera-line-photo img,
  .ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link:focus-visible .ps-tienda-lapradera-line-photo img {
    transform: none;
  }
}

@media (min-width: 768px) {
  .ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-lines-inner {
    padding: 0.75rem 1.25rem 0.85rem;
  }

  .ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-lines-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-text {
    font-size: 1.05rem;
  }

  .ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link {
    padding: 0.55rem 0.5rem 0.6rem;
    gap: 0.5rem;
  }
}

@media (min-width: 1280px) {
  .ps-tienda-lapradera-lines--photos {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem 0.5rem;
    box-sizing: border-box;
    background: transparent;
    border-bottom: none;
  }

  .ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-lines-inner {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0.55rem 0 0.35rem;
  }
}

/* —— Paleta landing en toda la tienda (cream / ink / brand / gold) —— */
html,
body,
.ps-tienda-main,
.ps-tienda-content-wrap,
.ps-carrito-main,
.ps-auth-main,
.ps-cuenta-main,
.ps-ayuda-main {
  background: var(--lp-cream, #faf6f0) !important;
  color: var(--lp-ink, #2c1810);
}

.ps-tienda-main a,
.ps-carrito-main a,
.ps-checkout-main a,
.ps-auth-main a,
.ps-ayuda-main a {
  color: var(--lp-brand, #AF2B2B);
}

.ps-tienda-card-body h3 a,
.ps-home-fixed-card-title,
.ps-home-product-card,
.ps-carrito-item-title,
.ps-carrito-item-title a {
  color: var(--lp-ink, #2c1810) !important;
}

.ps-tienda-sticky-top,
.ps-tienda-sticky-top > .ps-tienda-top-logo,
.ps-tienda-header,
.ps-tienda-primary-nav,
.ps-tienda-primary-nav--lapradera {
  background: var(--lp-header-bg, rgba(255, 253, 249, 0.92)) !important;
  border-color: var(--lp-line, rgba(44, 24, 16, 0.09));
}

.ps-tienda-primary-nav--lapradera .ps-tienda-primary-nav-inner {
  border-bottom-color: var(--lp-line, rgba(44, 24, 16, 0.09));
}

.ps-tienda-primary-nav--lapradera .ps-tienda-primary-link {
  color: var(--lp-muted, #6b5348);
}

.ps-confidence-strip,
.ps-tienda-confidence {
  background: var(--lp-paper, #fffdf9) !important;
  border-color: var(--lp-line, rgba(44, 24, 16, 0.09)) !important;
}

.ps-tienda-card,
.ps-home-fixed-block,
.ps-home-fixed-card,
.ps-home-product-card,
.ps-tienda-highlight-banner,
.ps-tienda-highlight-product,
.ps-tienda-dialog-card,
.ps-producto-buy-card,
.ps-carrito-summary,
.ps-checkout-card,
.ps-cuenta-section,
.ps-auth-card {
  background: var(--lp-paper, #fffdf9) !important;
  border-color: var(--lp-line-strong, rgba(44, 24, 16, 0.14));
  box-shadow: var(--lp-shadow, 0 10px 28px rgba(44, 24, 16, 0.07));
}

.ps-tienda-card-img-wrap,
.ps-producto-img,
.ps-producto-gallery-thumbs button,
.ps-producto-secondary-item,
.ps-carrito-item-placeholder {
  background: var(--lp-cream-deep, #f4efe6) !important;
}

.ps-tienda-card-body h3,
.ps-home-fixed-card-title,
.ps-producto-title,
.ps-tienda-title,
.ps-section-title,
.ps-carrito-item-title,
.ps-carrito-summary-title {
  color: var(--lp-ink, #2c1810);
}

.ps-home-price-now,
.ps-tienda-card-body .ps-tienda-price,
.ps-carrito-item-price,
.ps-carrito-item-total,
.ps-carrito-summary-row.total,
.ps-producto-price,
.ps-sticky-buy-price span:last-child {
  color: var(--lp-brand, #AF2B2B) !important;
}

.ps-tienda-badge.oferta,
.ps-tienda-badge.nuevo,
.ps-tienda-badge.popular {
  background: var(--lp-gold, #C9A84C) !important;
  color: var(--lp-ink, #2c1810) !important;
}

.ps-producto-seo-badge {
  background: var(--lp-gold-soft, #f3e6b3) !important;
  color: var(--lp-ink, #2c1810) !important;
}

.ps-filter-chip {
  background: var(--lp-cream-deep, #f4efe6) !important;
  border-color: rgba(175, 43, 43, 0.28) !important;
  color: var(--lp-brand, #AF2B2B) !important;
}

.btn-primary,
.ps-btn-primary,
.ps-btn.ps-btn-primary,
.ps-carrito-cta-checkout,
.ps-pagar-btn,
.ps-tienda-card-actions .btn-primary,
.ps-tienda-card-overlay .btn-buy {
  background: var(--lp-brand, #AF2B2B) !important;
  border-color: var(--lp-brand, #AF2B2B) !important;
  box-shadow: 0 2px 12px rgba(175, 43, 43, 0.2) !important;
  color: #fff !important;
}

.btn-primary:hover,
.ps-btn-primary:hover,
.ps-btn.ps-btn-primary:hover,
.ps-carrito-cta-checkout:hover {
  background: var(--lp-brand-dark, #7D1F1F) !important;
  border-color: var(--lp-brand-dark, #7D1F1F) !important;
}

.btn-secondary,
.ps-btn-secondary,
.ps-tienda-card-actions .btn-secondary {
  background: transparent !important;
  color: var(--lp-brand, #AF2B2B) !important;
  border: 1.5px solid rgba(175, 43, 43, 0.55) !important;
}

.ps-carrito-item:hover,
.ps-carrito-empty,
.ps-carrito-summary {
  background: var(--lp-paper, #fffdf9) !important;
}

.ps-carrito-qty-controls button,
.ps-carrito-qty-controls input,
.ps-carrito-summary .ps-btn-secondary {
  border-color: rgba(175, 43, 43, 0.35) !important;
}

.ps-carrito-summary-row.total,
.ps-producto-buy-card,
.ps-producto-trust-mini,
.ps-sticky-buy,
.ps-producto-secondary,
.ps-producto-gallery-thumbs button:hover {
  border-color: var(--lp-line-strong, rgba(44, 24, 16, 0.14)) !important;
}

.ps-sticky-buy {
  background: rgba(255, 253, 249, 0.96) !important;
}

.ps-tienda-footer {
  background: var(--lp-ink, #2c1810) !important;
  color: rgba(255, 255, 255, 0.55) !important;
  border-top: 1px solid rgba(201, 168, 76, 0.28) !important;
}

.ps-tienda-footer-title {
  font-family: var(--lp-font-display, "Benguiat", Georgia, serif);
  color: rgba(255, 253, 249, 0.94) !important;
}

.ps-tienda-footer-links,
.ps-tienda-footer-links a,
.ps-tienda-footer-copy,
.ps-tienda-footer .ps-tienda-footer-links,
.ps-tienda-badge-item {
  color: var(--lp-footer-link, rgba(240, 217, 184, 0.88)) !important;
}

.ps-tienda-footer-links a:hover {
  color: #fff !important;
}

.ps-tienda-footer-badges,
.ps-tienda-footer-bottom {
  border-top-color: rgba(201, 168, 76, 0.28) !important;
}

.ps-tienda-footer .footer__credit-line,
.ps-tienda-footer .footer__credit-link {
  color: rgba(240, 217, 184, 0.55) !important;
}

.ps-tienda-lapradera-lines,
.ps-tienda-lapradera-lines--photos {
  background: var(--lp-cream, #faf6f0);
  border-bottom-color: var(--lp-line-strong, rgba(44, 24, 16, 0.14));
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-link,
.ps-tienda-lapradera-line-link,
.ps-tienda-lapradera-mobile-quick-link {
  background: var(--lp-paper, #fffdf9);
  color: var(--lp-ink-soft, #3d2a22);
  border-color: rgba(175, 43, 43, 0.16);
}

.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-photo,
.ps-tienda-lapradera-lines--photos .ps-tienda-lapradera-line-photo img {
  background: var(--lp-cream-deep, #f4efe6);
}

.ps-tienda-search-wrap input,
.ps-tienda-dialog-header {
  background: var(--lp-paper, #fffdf9) !important;
}

:focus-visible {
  box-shadow: var(--lp-focus-ring, 0 0 0 3px rgba(175, 43, 43, 0.28));
}
