        body {
            margin: 0;
            background: #fafafa;
            color: #333;
            font-family: "Poppins-Regular" !important;
        }
        h1 {
            text-align: center;
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: #d41f26;
        }
        .nav-menu-wrapper.fixed{
            max-width: none;
        }
        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, 290px);
            justify-content: center;
            gap: 5em;
		    max-width: 100%;
            padding-bottom: 3%;
            margin-top: 2%;
            text-align: center;
            padding-left: 10%;
            padding-right: 10%;
        }
        .grid h1{
            position: absolute;
            font-weight: bold;
            color: #818181;
            font-family: 'Poppins-Regular' !important;
            width: 100%;
        }
        .grid h1 span{
            font-weight: 100;
        }

        @media screen and (max-width: 900px) {
            .grid {
                padding-top: 10%;
            }
        }
        @media screen and (max-width: 770px) {
            .btn-view{
                padding: 1rem 1.5rem !important;
                font-size: 14px !important;
            }
            .grid{
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                gap: 2em;
                max-width: 90%;
                padding-top: 14%;
            }
            .card-dates {
                font-size: 12px !important;
            }
            .ofertas-wrapper .input-combo-filter {
                margin-top: 3% !important;
                width: 100% !important;
            }
            .input-combo-filter input, .input-combo-filter select, .input-combo.input-combo-filter select:focus{
                padding: 20px 15px 5px !important;
            }
            .input-combo-filter .selector:after {
                top: 8px !important;
            }
            .ofertas-wrapper .ofertas {
                margin-top: 3%;
                padding: 0 !important;
            }
            .filters-wrapper form {
                padding: 2%;
            }
        }
        .card {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            cursor: pointer;
            display: flex;              /* convierte la tarjeta en contenedor flex */
            flex-direction: column;     /* apila verticalmente */
            justify-content: space-between; /* empuja contenido y botón a extremos */
            height: 100%;               /* opcional, asegura que flex funcione con la grid */
        }
        .card:hover {
            /*transform: rotate(2deg);*/
            box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.3);
        }
        .card img {
            width: 100%;
            height: auto;
            aspect-ratio: 9 / 13;
            object-fit: cover;
        }
        .card-content {
            padding: 1.4rem 1.5rem;
            display: flex;
            flex-direction: column;  /* apila el contenido */
            flex-grow: 1;            /* ocupa el espacio restante */
        }
        .card-title {
            color: #333;
            font-size: 16px;
            font-weight: bold;
            white-space: nowrap;    /* Evita que el texto salte a la siguiente línea */
            overflow: hidden;       /* Corta el contenido que se sale del contenedor */
            text-overflow: ellipsis; /* Añade los "..." al final */
            display: block;         /* Asegura que el elemento se comporte como bloque */
            width: 100%;            /* O un ancho fijo, para definir dónde debe cortar */

        }
        .card-category {
            font-size: 14px;
            font-weight: bold;
            color: #d41f26;
            margin: 0.6rem 0;
        }
        .card-dates {
            font-size: 14px;
            color: #666;
            margin-bottom: 1rem;
            margin-top: .5rem;
        }
        .card-direction{
            font-size: 14px;
            margin-top: 1rem;
            margin-bottom: 2rem;
            color: #333;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            display: block;
            width: 100%;  
        }
        .card-direction::before {
            content: "";
            width: 25px;  /* ajusta tamaño aquí */
            height: 25px;
            margin-right: 5px;
            background-image: url(/wp-content/themes/eroski/img/general/ubicacion.png);
            background-size: contain;
            background-repeat: no-repeat;
            display: inline-block;
            top: 5px;
            position: relative;
        }
        .btn-view {
            align-self: center; /* centra horizontalmente */
            margin-top: auto;   /* empuja el botón al fondo */
            padding: 1rem 5rem;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            text-decoration: none;
            background: #d41f26;
            color: #fff;
            border-radius: 4px;
            font-size: 16px;
            transition: background 0.25s ease, box-shadow 0.25s ease;
        }
        .btn-view:hover {
            box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
            color: white;
        }
        .btn-view:focus {
            color: white;
        }
        .ofertas .input-submit-filter{
        	width: 100%;
            border-radius: 0;
        }
        .belt{
        	max-width: 100%;
        }
        .btn-view::before {
		  	content: "";
		    width: 25px;  /* ajusta tamaño aquí */
		    height: 25px;
		    background-image: url(/wp-content/themes/eroski/img/general/document.svg);
		    background-size: contain;
		    background-repeat: no-repeat;
		}
		.input-submit-filter{
			border-radius: 8px;
			font-weight: 600;
		}
		.ofertas-wrapper .input-submit-filter input[type=submit]:hover{
			text-decoration: none;
		}
		.input-submit-filter:hover{
			box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
		}
		.header-section h1{
			margin-top:0;
			padding: 2.2% 0;
		}
        #divFrame<?php echo $id_folleto; ?>.frameShow {
    visibility: visible;
    transition: all 1s ease-in-out;
    background: rgba(0,0,0, 0.5);
          opacity: 1;
        }

        #divFrame<?php echo $id_folleto; ?>{
          visibility: hidden;
          position: fixed;
          top: 0;
          bottom: 0;
          left: 0;
          right: 0;
          width: 100%;
          height: 100%;
          transition: all 1s ease-in-out;
          z-index: 2147483646 !important;
          overflow: hidden;
          opacity: 0;
        }
        #divFrame<?php echo $id_folleto; ?>.frameShow #tiendeoFrame<?php echo $id_folleto; ?> {
          display: block;
        }
        #tiendeoFrame<?php echo $id_folleto; ?> {
          position: fixed;
          top: 20px;
          bottom: 20px;
          left: 20px;
          right: 20px;
          width: calc(100% - 40px);
          height: calc(100% - 40px);
          border: 0;
          /*z-index: 2147483647 !important;*/
          overflow: hidden;
          box-shadow: 0 0 20px #ccc;
        }
  .dnone {
    display : none;
  }

  .dblock {
    display :block;
  }
  .close-button{
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    background-color: #cc2229;
    border-radius: 50%;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 1;
    box-shadow: 1px 1px 2px #000;
    justify-content: center;
    color: white;
    z-index: 3147483648;
    font-size: 22px;
    padding-right: 3px;
  }

.dnone { display: none; }
.dblock { display: block; }

#divFrame {
    position: fixed; top:0; left:0; right:0; bottom:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    overflow:hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
#divFrame.dblock { visibility: visible; opacity: 1; }
#tiendeoFrame {
    position: fixed; top:20px; left:20px; right:20px; bottom:20px;
    width: calc(100% - 40px); height: calc(100% - 40px);
    border:0; overflow:hidden; box-shadow:0 0 20px #ccc;
}
.close-button{
    position: absolute; top: 8px; right: 8px;
    width: 34px; height: 34px;
    background-color: #cc2229; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer; color:white; font-size:22px; padding-right:3px;
    z-index: 10000;
}

.home-brochures__slider--main{
    text-align: center;
    margin-top: 0;
}

.ofertas-wrapper .input-combo-filter{
    border: 1px solid #bcbcbc;
    margin: 10px 10px;
    padding: 0 0 0 15px;
    height: 50px;
    cursor: pointer;
    position: relative;
    width: 90%;
    background-color: #fff;
}
.input-combo-filter .selector:after {
    top: 3px;
}
.input-combo-filter input, .input-combo-filter select, .input-combo.input-combo-filter select:focus {
    border-bottom: 1px solid #bcbcbc;
    padding: 10px 15px 5px;
    font-size: 14px;
}
.ofertas-wrapper.filters-wrapper {
    background-color: #fbfbfb;
    height: 12%;
}

.ofertas-wrapper p{
    text-align: center;
}
.input-combo input, .input-combo select, .input-combo label, .input-submit a, .input-submit input[type=submit], .input-submit input[type=file]{
    font-family: "Poppins-Regular" !important;
}