.home-page{
  padding:24px 0 56px;
}

.home-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:18px;
}

.home-hero__content{
  max-width:760px;
}

.home-hero__eyebrow{
  margin:0 0 8px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--mp-burgundy, #5a0008);
}

.home-hero__title{
  margin:0 0 10px;
  font-size:28px;
  line-height:1.12;
  color:var(--mp-ink, #1f2937);
}

.home-hero__text{
  margin:0;
  max-width:620px;
  font-size:15px;
  line-height:1.65;
  color:var(--mp-muted, #6b7280);
}

.home-hero__context{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
  max-width:320px;
}

.home-hero__context-item{
  padding:10px 14px;
  border:1px solid var(--mp-line, rgba(17,24,39,.10));
  border-radius:999px;
  background:#fff;
  font-size:13px;
  font-weight:600;
  color:var(--mp-ink, #1f2937);
}

.home-search{
  margin-bottom:24px;
  padding:14px;
  border:1px solid var(--mp-line, rgba(17,24,39,.10));
  border-radius:22px;
  background:#fff;
  box-shadow:var(--mp-shadow-soft, 0 10px 25px rgba(17,24,39,.08));
}

.home-search__grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr auto;
  gap:12px;
  align-items:stretch;
}

.home-search-field{
  display:flex;
  align-items:center;
  min-height:64px;
  padding:12px 16px;
  border-radius:16px;
  background:var(--mp-soft, rgba(17,24,39,.04));
}

.home-search-field--primary{
  background:rgba(90,0,8,.05);
  border:1px solid rgba(90,0,8,.08);
}

.home-search-field__value{
  font-size:15px;
  font-weight:700;
  color:var(--mp-ink, #1f2937);
}

.home-search__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:132px;
  border:0;
  border-radius:16px;
  background:var(--mp-burgundy, #5a0008);
  color:#fff;
  font-weight:700;
  font-size:15px;
  text-decoration:none;
  box-shadow:0 10px 18px rgba(90,0,8,.18);
}

.home-section{
  margin-bottom:32px;
}

.home-section__header{
  margin-bottom:16px;
}

.home-section__title{
  margin:0 0 8px;
  font-size:24px;
  color:var(--mp-ink, #1f2937);
}

.home-section__text{
  margin:0;
  color:var(--mp-muted, #6b7280);
  line-height:1.6;
}

.home-occasion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-occasion-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 20px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-occasion-card__title {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.home-occasion-card__text {
    margin: 0 0 16px;
    color: #666;
    line-height: 1.4;
}

.home-occasion-card__link {
    font-weight: 600;
    text-decoration: none;
}

.home-bakery-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.home-bakery-card{
  padding:18px;
  border:1px solid var(--mp-line, rgba(17,24,39,.10));
  border-radius:20px;
  background:#fff;
  box-shadow:var(--mp-shadow-soft, 0 10px 25px rgba(17,24,39,.08));
}

.home-bakery-card__logo{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:96px;
  margin-bottom:14px;
  border-radius:16px;
  background:#f6f4f3;
  color:var(--mp-ink, #1f2937);
  font-size:18px;
  font-weight:800;
  text-align:center;
}

.home-bakery-card__title{
  margin:0 0 6px;
  font-size:18px;
  color:var(--mp-ink, #1f2937);
}

.home-bakery-card__meta{
  margin:0 0 14px;
  color:var(--mp-muted, #6b7280);
  line-height:1.6;
  font-size:14px;
}

.home-bakery-card__link{
  color:var(--mp-burgundy, #5a0008);
  text-decoration:none;
  font-size:14px;
  font-weight:700;
}

.home-product-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}

.home-product-card{
  overflow:hidden;
  border:1px solid var(--mp-line, rgba(17,24,39,.10));
  border-radius:22px;
  background:#fff;
  box-shadow:var(--mp-shadow-soft, 0 10px 25px rgba(17,24,39,.08));
}

.home-product-card__image{
  aspect-ratio:4 / 3;
  background:linear-gradient(135deg, #f7f1f2, #f1e6e8);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.home-product-card__image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}


.home-product-card__body{
  padding:16px;
}

.home-product-card__title{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.3;
  color:var(--mp-ink, #1f2937);
}

.home-product-card__meta{
  margin:0 0 14px;
  color:var(--mp-muted, #6b7280);
  font-size:14px;
  line-height:1.6;
}

.home-product-card__link{
  color:var(--mp-burgundy, #5a0008);
  text-decoration:none;
  font-size:14px;
  font-weight:700;
}

@media (max-width: 1180px){
  .home-search__grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .home-occasion-grid,
  .home-product-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .home-bakery-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 960px){
  .home-hero{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 640px){
  .home-page{
    padding:20px 0 44px;
  }

  .home-search__grid,
  .home-occasion-grid,
  .home-product-grid{
    grid-template-columns:1fr;
  }

  .home-hero__title{
    font-size:26px;
  }
}

.home-occasion-card__icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #7a0c16;
    background: #faf6f7;
    border: 1px solid #ead9dc;
    border-radius: 14px;
}

.home-occasion-card__icon-svg {
    width: 80px;
    height: 80px;
    display: block;
}


/* =========================
   Rail Categories Carousel
   ========================= */

.home-rail--categories-carousel {
    margin-top: 28px;
}

.home-rail--categories-carousel .home-rail__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.home-rail--categories-carousel .home-rail__copy {
    max-width: 720px;
}

.home-rail--categories-carousel .home-rail__title {
    margin: 0 0 6px;
}

.home-rail--categories-carousel .home-rail__text {
    margin: 0;
}

.home-rail--categories-carousel .home-carousel {
    position: relative;
}

.home-rail--categories-carousel .home-carousel__viewport {
    overflow: hidden;
    min-width: 0;
    cursor: grab;
}

.home-rail--categories-carousel .home-carousel__viewport.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.home-rail--categories-carousel .home-carousel__viewport img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.home-rail--categories-carousel .home-carousel__track {
    --rail-card-width: 260px;
    --rail-image-height: 170px;
    display: flex;
    gap: 18px;
    align-items: stretch;
    will-change: transform;
}

.home-rail--categories-carousel .home-carousel__track > * {
    flex: 0 0 var(--rail-card-width);
    width: var(--rail-card-width);
    min-width: var(--rail-card-width);
}

/* Flechas */
.home-rail--categories-carousel .home-carousel__nav {
    position: absolute;
    top: calc((var(--rail-image-height, 170px) / 2) + 8px);
    z-index: 3;

    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid #e4d8db;
    border-radius: 999px;
    background: #fff;
    color: #7a0c16;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.18s ease;
}

.home-rail--categories-carousel .home-carousel__nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-2px);
}

.home-rail--categories-carousel .home-carousel__nav--prev {
    left: 14px;
    transform: translateY(-50%);
}

.home-rail--categories-carousel .home-carousel__nav--next {
    right: 14px;
    transform: translateY(-50%);
}

.home-rail--categories-carousel .home-carousel__nav--prev:hover,
.home-rail--categories-carousel .home-carousel__nav--next:hover {
    transform: translateY(-50%) scale(1.03);
    border-color: #d3bcc1;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.10);
}

.home-rail--categories-carousel .home-carousel__nav--prev:disabled,
.home-rail--categories-carousel .home-carousel__nav--next:disabled {
    opacity: 0.35;
    cursor: default;
    transform: translateY(-50%);
    box-shadow: none;
}


/* Footer */
.home-rail--categories-carousel .home-rail__footer {
    margin-top: 14px;
    text-align: center;
}

.home-rail--categories-carousel .home-rail__footer-link {
    text-decoration: none;
    color: #7a0c16;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
}

.home-rail--categories-carousel .home-rail__footer-link:hover {
    opacity: 1;
}

/* Card de categoría */
.home-rail--categories-carousel .category-card--featured {
    display: flex;
    flex-direction: column;
    height: auto;
    background: #fff;
    border: 1px solid #ece7e8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    color: inherit;
}

.home-rail--categories-carousel .category-card--featured .category-card__media {
    display: block;
    background: #f6f2f3;
    flex: 0 0 auto;
}

.home-rail--categories-carousel .category-card--featured .category-card__media img {
    display: block;
    width: 100%;
    height: var(--rail-image-height, 170px);
    object-fit: cover;
}

.home-rail--categories-carousel .category-card--featured .category-card__body {
    display: block;
    padding: 14px 16px 16px;
    background: #fff;
    min-height: 56px;
}

.home-rail--categories-carousel .category-card--featured .category-card__title {
    display: block;
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
    color: #1f2b3a;
}

.home-rail--categories-carousel .category-card--featured .category-card__overlay {
    display: none;
}

.home-rail--categories-carousel .category-card--featured .category-card__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: var(--rail-image-height, 170px);
    background: linear-gradient(135deg, #f7f1f2, #f1e6e8);
    color: #7a0c16;
    text-align: center;
    padding: 16px;
}

.home-rail--categories-carousel .category-card--featured .category-card__fallback-text {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

/* Responsive */
@media (max-width: 900px) {
    .home-rail--categories-carousel .home-carousel__track {
        --rail-card-width: 220px;
        --rail-image-height: 150px;
    }

    .home-rail--categories-carousel .home-carousel__nav {
        width: 44px;
        height: 44px;
        font-size: 24px;
        top: 75px;
        line-height: 1;
    }
}

@media (max-width: 640px) {
    .home-rail--categories-carousel .home-carousel__track {
        --rail-card-width: 190px;
        --rail-image-height: 130px;
    }

    .home-rail--categories-carousel .home-carousel__nav {
        width: 40px;
        height: 40px;
        font-size: 22px;
        top: 66px;
        line-height: 1;
    }
}

/* =========================
   Rail Bakery Logos
   ========================= */

.home-rail--bakery-logos {
    margin-top: 28px;
}

.home-rail--bakery-logos .home-rail__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.home-rail--bakery-logos .home-rail__copy {
    max-width: 720px;
}

.home-rail--bakery-logos .home-rail__title {
    margin: 0 0 6px;
}

.home-rail--bakery-logos .home-rail__text {
    margin: 0;
}

.home-rail--bakery-logos .home-carousel {
    position: relative;
}

.home-rail--bakery-logos .home-carousel__viewport {
    overflow: hidden;
    min-width: 0;
    cursor: grab;
}

.home-rail--bakery-logos .home-carousel__viewport.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.home-rail--bakery-logos .home-carousel__viewport img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.home-rail--bakery-logos .home-carousel__track {
    --rail-card-width: 120px;
    --rail-image-height: 104px;
    display: flex;
    gap: 10px;
    align-items: stretch;
    will-change: transform;
}

.home-rail--bakery-logos .home-carousel__track > * {
    flex: 0 0 var(--rail-card-width);
    width: var(--rail-card-width);
    min-width: var(--rail-card-width);
}

.home-rail--bakery-logos .home-carousel__nav {
    position: absolute;
    top: calc((var(--rail-image-height, 110px) / 2) + 14px);
    z-index: 3;

    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid #e4d8db;
    border-radius: 999px;
    background: #fff;
    color: #7a0c16;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.18s ease;
}

.home-rail--bakery-logos .home-carousel__nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-2px);
}

.home-rail--bakery-logos .home-carousel__nav--prev {
    left: 14px;
    transform: translateY(-50%);
}

.home-rail--bakery-logos .home-carousel__nav--next {
    right: 14px;
    transform: translateY(-50%);
}

.home-rail--bakery-logos .home-carousel__nav--prev:hover,
.home-rail--bakery-logos .home-carousel__nav--next:hover {
    transform: translateY(-50%) scale(1.03);
    border-color: #d3bcc1;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.10);
}

.home-rail--bakery-logos .home-carousel__nav--prev:disabled,
.home-rail--bakery-logos .home-carousel__nav--next:disabled {
    opacity: 0.35;
    cursor: default;
    transform: translateY(-50%);
    box-shadow: none;
}

.home-rail--bakery-logos .home-rail__footer {
    margin-top: 14px;
    text-align: center;
}

.home-rail--bakery-logos .home-rail__footer-link {
    text-decoration: none;
    color: #7a0c16;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
}

.home-rail--bakery-logos .home-rail__footer-link:hover {
    opacity: 1;
}

.bakery-logo-card {
    height: 100%;
}

.bakery-logo-card__inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 8px 4px 10px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #ece7e8;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.bakery-logo-card__media {
    height: var(--rail-image-height, 104px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    padding: 0 1px;
}

.bakery-logo-card__media img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.bakery-logo-card__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 12px;
    text-align: center;
    color: #7a0c16;
    background: #faf6f7;
    border: 1px solid #ead9dc;
    border-radius: 12px;
    font-weight: 600;
    line-height: 1.25;
}

.bakery-logo-card__title {
    margin: 0;
    font-size: 0.90rem;
    line-height: 1.2;
    text-align: center;
    color: #1f2b3a;
}

@media (max-width: 900px) {
    .home-rail--bakery-logos .home-carousel__track {
        --rail-card-width: 176px;
        --rail-image-height: 92px;
    }

    .home-rail--bakery-logos .home-carousel__nav {
        width: 44px;
        height: 44px;
        font-size: 24px;
        top: 68px;
        line-height: 1;
    }
}

@media (max-width: 640px) {
    .home-rail--bakery-logos .home-carousel__track {
        --rail-card-width: 160px;
        --rail-image-height: 84px;
    }

    .home-rail--bakery-logos .home-carousel__nav {
        width: 40px;
        height: 40px;
        font-size: 22px;
        top: 62px;
        line-height: 1;
    }
}
/* === MN2.1 HOTFIX: generic home rails from Domain payload === */
/*
   Este bloque corrige el render visual de rails creados desde domains/Marketplace/Home.
   No cambia HTML, PHP, SQL, JS ni reglas de negocio.
   Cubre los rail_variant usados por MN1R: featured y bakery-ficha.
*/

.home-rail--featured,
.home-rail--bakery-ficha{
    margin-top:28px;
    margin-bottom:34px;
}

.home-rail--featured .home-rail__header,
.home-rail--bakery-ficha .home-rail__header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:16px;
}

.home-rail--featured .home-rail__copy,
.home-rail--bakery-ficha .home-rail__copy{
    max-width:760px;
}

.home-rail--featured .home-rail__title,
.home-rail--bakery-ficha .home-rail__title{
    margin:0 0 6px;
    color:var(--mp-ink, #1f2937);
}

.home-rail--featured .home-rail__text,
.home-rail--bakery-ficha .home-rail__text{
    margin:0;
    color:var(--mp-muted, #6b7280);
    line-height:1.55;
}

.home-rail--featured .home-rail__link,
.home-rail--bakery-ficha .home-rail__link,
.home-rail--featured .home-rail__footer-link,
.home-rail--bakery-ficha .home-rail__footer-link{
    color:#7a0c16;
    text-decoration:none;
    font-weight:700;
}

.home-rail--featured .home-carousel,
.home-rail--bakery-ficha .home-carousel{
    position:relative;
}

.home-rail--featured .home-carousel__viewport,
.home-rail--bakery-ficha .home-carousel__viewport{
    overflow:hidden;
    min-width:0;
    cursor:grab;
}

.home-rail--featured .home-carousel__viewport.is-dragging,
.home-rail--bakery-ficha .home-carousel__viewport.is-dragging{
    cursor:grabbing;
    user-select:none;
}

.home-rail--featured .home-carousel__track,
.home-rail--bakery-ficha .home-carousel__track{
    display:flex;
    align-items:stretch;
    gap:18px;
    will-change:transform;
}

.home-rail--featured .home-carousel__track{
    --rail-card-width:260px;
    --rail-image-height:190px;
}

.home-rail--bakery-ficha .home-carousel__track{
    --rail-card-width:300px;
    --rail-image-height:126px;
}

.home-rail--featured .home-carousel__track > *,
.home-rail--bakery-ficha .home-carousel__track > *{
    flex:0 0 var(--rail-card-width);
    width:var(--rail-card-width);
    min-width:var(--rail-card-width);
}

.home-rail--featured .home-carousel__nav,
.home-rail--bakery-ficha .home-carousel__nav{
    position:absolute;
    top:calc((var(--rail-image-height, 170px) / 2) + 8px);
    z-index:3;
    width:52px;
    height:52px;
    padding:0;
    border:1px solid #e4d8db;
    border-radius:999px;
    background:#fff;
    color:#7a0c16;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(0, 0, 0, .12);
    transition:all .18s ease;
}

.home-rail--featured .home-carousel__nav-icon,
.home-rail--bakery-ficha .home-carousel__nav-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:1em;
    height:1em;
    font-size:46px;
    font-weight:700;
    line-height:1;
    transform:translateY(-2px);
}

.home-rail--featured .home-carousel__nav--prev,
.home-rail--bakery-ficha .home-carousel__nav--prev{
    left:14px;
    transform:translateY(-50%);
}

.home-rail--featured .home-carousel__nav--next,
.home-rail--bakery-ficha .home-carousel__nav--next{
    right:14px;
    transform:translateY(-50%);
}

.home-rail--featured .home-carousel__nav:hover,
.home-rail--bakery-ficha .home-carousel__nav:hover{
    border-color:#d3bcc1;
    box-shadow:0 12px 24px rgba(0, 0, 0, .10);
}

.home-rail--featured .home-carousel__nav:disabled,
.home-rail--bakery-ficha .home-carousel__nav:disabled{
    opacity:.35;
    cursor:default;
    box-shadow:none;
}

.product-rail-card{
    height:100%;
}

.product-rail-card__link-wrap{
    display:flex;
    flex-direction:column;
    height:100%;
    overflow:hidden;
    border:1px solid #ece7e8;
    border-radius:18px;
    background:#fff;
    color:inherit;
    text-decoration:none;
    box-shadow:0 8px 20px rgba(0, 0, 0, .035);
}

.product-rail-card__media{
    height:var(--rail-image-height, 190px);
    background:#f6f2f3;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}

.product-rail-card__media img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.product-rail-card__body{
    display:flex;
    flex-direction:column;
    gap:7px;
    flex:1 1 auto;
    padding:14px 16px 16px;
}

.product-rail-card__title{
    margin:0;
    font-size:1rem;
    line-height:1.25;
    color:#1f2b3a;
}

.product-rail-card__bakery,
.product-rail-card__meta{
    margin:0;
    color:#667085;
    font-size:.90rem;
    line-height:1.35;
}

.product-rail-card__footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:auto;
}

.product-rail-card__price{
    color:#1f2b3a;
    font-weight:800;
    font-size:.94rem;
}

.product-rail-card__button{
    color:#7a0c16;
    font-size:.90rem;
    font-weight:800;
    white-space:nowrap;
}

.bakery-ficha-card{
    height:100%;
}

.bakery-ficha-card__inner{
    display:flex;
    flex-direction:column;
    height:100%;
    border:1px solid #ece7e8;
    border-radius:18px;
    background:#fff;
    color:inherit;
    text-decoration:none;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0, 0, 0, .035);
}

.bakery-ficha-card__logo{
    height:var(--rail-image-height, 126px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
    background:#faf6f7;
    color:#7a0c16;
    font-weight:800;
    text-align:center;
}

.bakery-ficha-card__logo img{
    display:block;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}

.bakery-ficha-card__body{
    display:flex;
    flex-direction:column;
    gap:8px;
    flex:1 1 auto;
    padding:14px 16px 16px;
}

.bakery-ficha-card__title{
    margin:0;
    font-size:1.05rem;
    line-height:1.25;
    color:#1f2b3a;
}

.bakery-ficha-card__meta,
.bakery-ficha-card__description{
    margin:0;
    color:#667085;
    font-size:.90rem;
    line-height:1.38;
}

.bakery-ficha-card__stats,
.bakery-ficha-card__footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:auto;
}

.bakery-ficha-card__badge{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:0 10px;
    border-radius:999px;
    background:#faf0f2;
    color:#7a0c16;
    font-size:.82rem;
    font-weight:700;
}

.bakery-ficha-card__cta{
    color:#7a0c16;
    font-size:.90rem;
    font-weight:800;
    white-space:nowrap;
}

@media (max-width: 900px){
    .home-rail--featured .home-carousel__track{
        --rail-card-width:220px;
        --rail-image-height:160px;
    }

    .home-rail--bakery-ficha .home-carousel__track{
        --rail-card-width:260px;
        --rail-image-height:110px;
    }

    .home-rail--featured .home-carousel__nav,
    .home-rail--bakery-ficha .home-carousel__nav{
        width:44px;
        height:44px;
    }
}

@media (max-width: 640px){
    .home-rail--featured .home-carousel__track{
        --rail-card-width:190px;
        --rail-image-height:136px;
    }

    .home-rail--bakery-ficha .home-carousel__track{
        --rail-card-width:230px;
        --rail-image-height:96px;
    }

    .home-rail--featured .home-carousel__nav,
    .home-rail--bakery-ficha .home-carousel__nav{
        display:none;
    }
}
/* === END MN2.1 HOTFIX === */

/* MN6B_VISUAL_POLISH_MPV — Home MPV visual polish. Surface CSS only. */
.home-page {
  --mp-card-image-bg: #f8f1ef;
}

.home-hero {
  margin-top: 0;
}

.home-occasion-grid {
  align-items: stretch;
}

.home-occasion-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fffafa 100%);
  box-shadow: 0 12px 28px rgba(17, 24, 39, .06);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-occasion-card:hover {
  transform: translateY(-2px);
  border-color: rgba(163, 13, 24, .16);
  box-shadow: 0 18px 36px rgba(17, 24, 39, .10);
}

.home-occasion-card__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  background: #fff7f3;
}

.home-occasion-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-occasion-card__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.home-occasion-card__copy strong {
  font-size: 1rem;
  line-height: 1.2;
  color: var(--mp-ink, #1f2937);
}

.home-occasion-card__copy span {
  font-size: .9rem;
  line-height: 1.35;
  color: var(--mp-muted, #6b7280);
}

.home-rail .product-card__image-wrap,
.home-rail .product-card__image,
.home-rail [class*="image-wrap"] {
  background-color: var(--mp-card-image-bg);
}

.home-rail .product-card,
.home-rail [class*="card"] {
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-rail .product-card:hover,
.home-rail [class*="card"]:hover {
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .home-occasion-card {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 84px;
    padding: 14px;
    border-radius: 18px;
  }

  .home-occasion-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }
}
/* END MN6B_VISUAL_POLISH_MPV */

/* MN6D - Home bakery logos full width */
.home-rail--bakery-ficha .bakery-ficha-card__logo {
  width: 100%;
  height: 300px;
  min-height: 132px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbf5f4;
  overflow: hidden;
}

.home-rail--bakery-ficha .bakery-ficha-card__logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  padding: 0;
  box-sizing: border-box;
  display: block;
}

.home-rail--bakery-ficha .bakery-ficha-card__inner {
  overflow: hidden;
}
/* END MN6C_HOME_BAKERY_LOGOS */
