/**
 * @file
 * Postres Page Manager landing (/postres) — background images + overlays.
 */

.sweetrail-postres-landing {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero: tarta de la abuela — full-bleed background, no side image. */
.sweetrail-postres-hero {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #fff;
  background-color: #2a1a14;
  background-image:
    linear-gradient(135deg, rgba(20, 12, 8, 0.82) 0%, rgba(40, 22, 16, 0.55) 45%, rgba(10, 6, 4, 0.75) 100%),
    url("/themes/custom/tailwind_commerce/images/postres-fondo-tarta-abuela.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .sweetrail-postres-hero {
    min-height: 420px;
    padding: 3.5rem 2.5rem;
  }
}

.sweetrail-postres-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.sweetrail-postres-hero h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}

.sweetrail-postres-hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin: 0;
  line-height: 1.55;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}

.sweetrail-postres-hero strong {
  font-weight: 700;
  color: #fff5e6;
}

/* Restaurantes: fondo tipo vasitos / postres en cristal — overlay oscuro, texto claro. */
.sweetrail-postres-b2b {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  padding: 2rem 1.5rem 2.25rem;
  text-align: center;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #3d4540;
  background-image:
    linear-gradient(to bottom, rgba(18, 22, 20, 0.88) 0%, rgba(30, 38, 35, 0.72) 40%, rgba(12, 16, 14, 0.85) 100%),
    url("/themes/custom/tailwind_commerce/images/postres-fondo-restaurantes.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .sweetrail-postres-b2b {
    min-height: 440px;
    padding: 2.5rem 2rem 2.75rem;
  }
}

.sweetrail-postres-b2b-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.sweetrail-postres-b2b h2 {
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.sweetrail-postres-b2b p {
  margin: 0 0 1rem;
  color: #f4f4f4;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

/* First body paragraph: product list (after heading). */
.sweetrail-postres-b2b-inner > p:first-of-type {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: #e8eee9;
}

.sweetrail-postres-b2b p:last-of-type {
  margin-bottom: 0;
}

.sweetrail-postres-b2b strong {
  font-weight: 700;
  color: #fff;
}

.sweetrail-postres-b2b .cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(90deg, #4ecdc4, #2fb7a5);
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sweetrail-postres-b2b .cta:hover,
.sweetrail-postres-b2b .cta:focus {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}
