
.tit-home{
    width: 100%;
	padding-bottom: 30px;
}
.tit-home h2{
    font-weight: 700;
	font-size: 38px;
}
.tit-home h2,.tit-home p {
    margin-bottom: 5px;
}
/**********/
main.home {
    width: 100% !important;
}

.home-novedades .novedad-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    padding: 10px;
}

.home-novedades h3 {
    font-size: 16px;
    margin: 10px 0 5px;
}

.home-novedades p {
    font-size: 14px;
    color: #666;
}


/**********/

/* SLIDER NOVEDADES FULL WIDTH */
.home-novedades {
     width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
}

.home-novedades .swiper {
    width: 100%;
}

.novedad-slide {
    position: relative;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.novedad-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.novedad-content {
    position: relative;
    z-index: 2;
	text-align: center;
	}

.novedad-content h3 {
    font-size: 52px;
    margin: 0 auto 15px auto;
	color:#FFF;
	font-weight: 700;
	max-width:800px;
	line-height: 110%;
}

.novedad-content p {
    font-size: 20px;
    margin-bottom: 20px;
	color:#FFF;
}

.novedad-content a.wp-block-button__link.wp-element-button {
    margin-top: 30px;
    display: inline-block;
}
.btn-novedad {
    display: inline-block;
    padding: 12px 28px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
}
/***************************************/

/* ---------- SLIDE BASE ---------- */

.novedad-slide {
    position: relative;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

/* Overlay */
.novedad-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

/* Contenido */
.novedad-content {
    position: relative;
    z-index: 2;
	    margin: auto;
}

/* ---------- ANIMACIONES ---------- */

.novedades-swiper .swiper-slide .anim-title,
.novedades-swiper .swiper-slide .anim-text,
.novedades-swiper .swiper-slide .anim-btn {
    opacity: 0;
    transform: translateY(30px);
}

/* Slide activo */
.novedades-swiper .swiper-slide-active .anim-title {
    animation: fadeUp 0.6s ease forwards;
}

.novedades-swiper .swiper-slide-active .anim-text {
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.novedades-swiper .swiper-slide-active .anim-btn {
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- BOTÓN ---------- */

.btn-novedad {
    display: inline-block;
    padding: 12px 28px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
}

/* ---------- BULLETS (PUNTITOS) ---------- */

.novedades-swiper .swiper-pagination {
    bottom: 20px;
}

.novedades-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.4;
}

.novedades-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}


/* Categorias destacadas *****************************************/

.home-categorias {
    padding: 50px 0 0 0;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.categoria-card {
    position: relative;
    height: 220px;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
}

.categoria-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform .6s ease;
}

/* overlay */
.categoria-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.2));
    z-index: 1;
}

.categoria-card span {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    color: #fff;
    font-size: 16px;
	line-height:120%;
    font-weight: 600;
    padding: 16px;
}

/* hover zoom */
.categoria-card:hover .categoria-bg {
    transform: scale(1.12);
}
.categoria-card {
    background: #000;
}

/*********************Info*********************/
.info-bar {
    display: flex;
    justify-content: space-between;
    background: #f2f2f2;
    padding: 15px 20px;
	margin-bottom: 50px;
}

.info-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding: 10px 20px;
}

/* líneas separadoras */
.info-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #ccc;
}

.info-item .material-icons {
    font-size: 45px;
	color: var(--ast-global-color-0);
}

.info-text strong {
    display: block;
    font-size: 14px;
	line-height: 80%;
	color: var(--ast-global-color-0);
	
}

.info-text span {
    font-size: 13px;
	line-height: 80%;
    color: #555;
}

/* Mobile */
@media (max-width: 768px) {

    .info-bar {
        flex-direction: column;
    }

    .info-item:not(:last-child)::after {
        display: none;
    }
}



/*****PRODUCTOS DESTACADOS ******************/

.home-productos-destacados ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}


@media (max-width: 991px) {
    .home-productos-destacados ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .home-productos-destacados ul.products {
        grid-template-columns: 1fr;
    }
}



/*********CARROUSEL OFERTAS ********************/
/* ================= OFERTAS ================= */

.home-ofertas {
    padding: 60px 0;
}

.ofertas-swiper {
    padding: 20px 0 0px;
}

/* cada slide ocupa su columna */
.ofertas-swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* el producto ocupa todo el ancho del slide */
.ofertas-swiper .product {
    width: 100%;
}

/* evitar que WooCommerce meta márgenes raros */
.ofertas-swiper ul.products {
    margin: 0;
    padding: 0;
}

/* flechas bien centradas */
.ofertas-swiper .swiper-button-prev,
.ofertas-swiper .swiper-button-next {
    color: #000;
}



/* ===== TARJETAS DE PRODUCTO - OFERTAS ===== */

.ofertas-swiper .swiper-slide {
    padding: 10px; /* separación entre productos */
    box-sizing: border-box;
}

.ofertas-swiper .product {
    border-color: var(--ast-global-color-7) !important; /* gris claro */
	border: 2px solid;
    padding: 20px;        /* padding interno */
    border-radius: 6px;  /* opcional, queda mejor */
    height: 100%;
    box-sizing: border-box;
}

/* evitar márgenes extra de WooCommerce */
.ofertas-swiper .product > * {
    margin-left: 0;
    margin-right: 0;
}

/* Forzar que la imagen cubra toda la caja del producto */
.astra-shop-thumbnail-wrap {
    width: 100%;
    height: auto; /* ajustá si querés más alto */
    overflow: hidden;
}

.astra-shop-thumbnail-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
	    padding-bottom: 10px;
}
.ofertas-swiper .product span.price {
    width: 100%;
    display: block;
    padding: 5px 0 20px 0;
}
/****************************************************************************************************/




/* WooCommerce FIX */
.ofertas-swiper ul.products {
    display: block !important;
}

.ofertas-swiper li.product {
    width: 100% !important;
    margin: 0 !important;
}

/* Flechas */
.ofertas-swiper .swiper-button-next,
.ofertas-swiper .swiper-button-prev {
    color: #000;
}
.ofertas-swiper .swiper-button-next,
.ofertas-swiper .swiper-button-prev {
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.ofertas-swiper .swiper-button-next::after,
.ofertas-swiper .swiper-button-prev::after {
    font-size: 16px;
}

.ofertas-swiper li.product {
    transition: transform .3s ease;
}

.ofertas-swiper li.product:hover {
    transform: translateY(-6px);
}




@media (max-width: 921px) {
.novedad-content {
     padding: 50px 10% 80px 10%;
}
.novedad-content h3 {
    font-size: 32px;
}
.categorias-grid {
    grid-template-columns: repeat(3, 2fr);
}
.categoria-card {
    height: 120px;
}
}

@media (max-width: 500px) {
    .categorias-grid {
        grid-template-columns: repeat(2, 3fr);
		gap: 15px;
    }
	.categoria-card {
    height: 80px;
}
}

.home-marcas .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /* CENTRA HORIZONTAL */
    gap: 25px;
    max-width: 1200px;
    margin: 0px auto 80px auto;
    text-align: center;
}

.home-marcas .marca-item {
    width: 120px; /* ancho fijo de cada marca */
}/* Cada marca */
.marca-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

/* Imagen circular */
.marca-item img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* Texto */
.marca-item h3 {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    transition: color 0.3s ease;
}

/* Hover SOLO en esa marca */
.marca-item:hover img {
    transform: scale(1.12);
}

.marca-item:hover h3 {
    color: var(--ast-global-color-0);
}




@media (max-width: 500px) {
.home-marcas .marca-item {
    width: 100px;
}
.marca-item img {
    width: 80px;
    height: 80px;
  
}
}


/******CTA *********************/

.cta-banner {
  background:
    linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
    url("../img/fondo.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 50px 20px;
  text-align: center;
  color: #fff;
  margin-bottom:80px;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
}

.cta-banner p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: .9;
}



.button:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}