body{
    font-family: "Poppins", sans-serif;
}

.cabecera-ayuda{
    background-color: #e2bea2;
    height: 220px;
}

header{
    position: absolute;
    top: 0;
    z-index: 1000;
    padding-top: 7px;
    padding-bottom: 12px;

    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

header.scrolled {
    background-color: #ffffff;  /* blanco */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* sombra opcional */
}

.scrolled .logotipo img{
    width: 100%;
}

.logotipo img{
    width: 80%;

    transition: all 0.4s;
}

nav a{
    color: black;
    text-decoration: none;
}
nav ul{
    list-style: none;
    padding: 0;
}
nav ul li{
    position: relative;
    width: 18%;
    float: left;
    margin: 0 1%;
}
.menu{
    border: 1px solid #71553A;
    background: white;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border-radius: 30px;

    box-shadow: 0 0 5px #71553A;
}
.menu img{
    height: 18px;
    margin: 0 2px 0 0;
}
.menu:hover{
    background: #71553A;
    color: white;
}
.menu:hover span{
    color: white;
}

.menu span{
    position: relative;
    top: 3px;
    color: #71553A;
}





.menuSec{
    position: absolute;
    top: 30px;
    left: -25%;
    background: rgb(198, 7, 48, 0.9);
    background: #71553A;
    width: 150%;
    display: none;

    border-radius: 10px;
}
.menuSec ul li{
    width: 100%;
}

.menuSecundario{
    font-size: 20px;
    color: white;
    text-align: center;
    padding: 12px 0;
}

.menu:hover, .menuSecundario:hover{
    font-weight: bold;
}


nav ul li:hover .menuSec{
    display: block;
}


.carrito{
    text-align: right;
    font-size: 27px;
}


.efecto{
    position: relative;
    padding: 0;
}

.efectoTexto{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    padding-top: 300px;
}

.s{
    width: 100%;
    display: inline-block;
}

.s1{
    font-size: 58px;
    font-weight: bold;
}

.s2{
    font-size: 50px;
    line-height: 55px;
    font-family: "Playfair Display", serif;
}

.s3{
    font-size: 26px;
    font-weight: 300;
    margin-top: 20px;
    margin-bottom: 20px;
}


.btn-ver-productos {
    display: inline-block;
    width: 200px;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #000000, #3a3a3a);
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.btn-ver-productos:hover {
    background: linear-gradient(135deg, #3a3a3a, #000000);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}


.contenido{
    padding-top: 50px;
    padding-bottom: 50px;
}


.titulo{
    text-align: center;
    color: #c60730;
    color: #71553A;
    font-size: 33px;
    font-weight: bold;
    margin-bottom: 30px;
}






.animales{
    margin-bottom: 30px;
}

.otrosDos{
    padding: 0;
    margin: 0;
}

.otro{
    height: 230px;
}
.otro img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.nosotros{
    background: url(../images/fondoNosotros.jpg) no-repeat center center;
    background-size: cover;
    padding-top: 240px;
    padding-bottom: 0px;
}


.rojo{
    background: rgba(198, 7, 48, 0.3);
    color: white;
    font-size: 18px;
    padding: 15px;

    border-radius: 20px;
}




.banners{
    display:flex;
}

.banners img{
    width:50%;
    height:auto;
    display:block;
}






.wrap{ max-width:var(--maxw); margin:32px auto 56px; padding:0 16px; }

.grid{
    display:grid;
    grid-template-columns:1fr;
    gap:28px;
}
@media (min-width:640px){ .grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px){ .grid{ grid-template-columns:repeat(4,1fr); } }

/* Tarjeta sin bordes ni sombra */
.card{
    background:var(--card);
    border:none;
    overflow:hidden;
}

.card__media{ aspect-ratio:4/3; overflow:hidden; }
.card__media img{ width:100%; height:100%; object-fit:contain; display:block; }

.card__body{ padding:16px 18px 18px; }
.title{ 
    min-height: 50px;
    font-size:1.25rem; font-weight:700; margin:10px 0; }
.price{ font-weight:800; color:var(--price); font-size:1.05rem; margin:0 0 8px; }
.meta{ color:var(--muted); font-size:.97rem; margin:0 0 14px; }

.controls{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap; /* asegura que el botón no se salga */
}

.qty{
    display:flex;
    align-items:center;
    gap:6px;
}
.qty button{
    width:36px; height:44px;
    border:1px solid #ccc;
    background:#fff;
    color:#000;
    font-size:22px;
    border-radius:9px;
    cursor:pointer;
}
.qty input{
    width:48px; height:44px;
    text-align:center;
    border:1px solid #ccc;
    border-radius:9px;
    font-size:1rem;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

.btn{
    margin-left:auto;
    border:none;
    height:44px;
    padding:0 18px;
    border-radius:10px;
    font-weight:700;
    background:#c60730;
    color:white;
    cursor:pointer;
    flex:1 1 220px;
    max-width:100%;
}
.btn:hover{ background:black; color: white;}

.note{
    max-width:var(--maxw);
    margin:28px auto 0;
    padding:0 16px;
    font-size:1.1rem;
    color:var(--note);
    line-height:1.5;
}





.chat{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: #24d366;
    font-weight: bold;
    font-size: 20px;
    color: white;
    padding: 6px 17px;
    border-radius: 20px;

    animation-name: pulse;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 0s;
    animation-iteration-count: 100;
}
@keyframes pulse {
    from,to {
        transform: scale3d(1,1,1)
    }

    50% {
        transform: scale3d(1.05,1.05,1.05)
    }
}

.pulse {
    animation-name: pulse
}





.footer-nd{
    background: #3c4948;
    color: #ffffff;
    padding-top: 50px;
    padding-bottom: 30px;
    font-size: 15px;
}

.footer-logo{
    font-size: 50px;
    font-weight: bold;
}
.footer-logo img{
    max-width: 70%;
    height: auto;
    margin-bottom: 15px;
}

.footer-text{
    color: #dddddd;
    line-height: 1.6;
    margin: 0;
}

.footer-title{
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links,
.footer-contact{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li{
    margin-bottom: 7px;
}

.footer-links a{
    text-decoration: none;
    color: #cccccc;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover{
    color: #c60730;
    padding-left: 4px;
}

.footer-contact li b{
    margin-right: 6px;
    font-size: 18px;
    vertical-align: middle;
}

.footer-contact li{
    color: #cccccc;
}

.footer-social a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    margin-right: 8px;
    background: #222;
    color: #ffffff;
    transition: background 0.3s ease, transform 0.3s ease;
    font-size: 18px;
}

.footer-social a:hover{
    background: #c60730;
    transform: translateY(-3px);
}

.footer-social img{
    width: 35px;
}

.footer-bottom{
    border-top: 1px solid #333333;
    margin-top: 30px;
    padding-top: 15px;
}

.footer-copy{
    color: #888888;
    font-size: 14px;
    margin: 0;
}

/* Responsivo */
@media screen and (max-width:768px){
    .footer-nd{
        text-align: center;
    }

    .footer-logo img{
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social a{
        margin-bottom: 6px;
    }
}


.buscar{
    margin-bottom: 22px;
}

.search-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.search-bar {
    background: rgba(255, 255, 255, 0); /* transparente */
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid white;
    backdrop-filter: blur(6px);
}

.search-icon {
    background: transparent;
    border: none;
    color: #fff;
    padding-left: 1.2rem;
}

.search-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 16px 0;
    color: #fff;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Cuando hace focus no cambia el fondo ni agrega borde */
.search-input:focus {
    background: transparent !important;
    color: #fff;
    border: none;
    outline: none;
    box-shadow: none !important;
}

/* Botón más pequeño y fondo negro */
.search-btn {
    background: #000 !important;
    width: 120px !important;
    color: #fff;
    padding: 0.3rem 0.9rem; /* más pequeño */
    font-size: 0.85rem;
    border-radius: 999px;
    margin: 0.25rem;
    border: none;
}

/* Enfocar grupo completo */
.search-bar:focus-within {
    border-color: rgba(255, 255, 255, 0.9);
}





@media screen and (max-width:1400px){

}

@media screen and (max-width:1200px){
    header{
        position: relative;
    }
    .search-bar {
        border: 1px solid black;
    }
    .efectoTexto{
        padding-top: 20px;
    }
}

@media screen and (max-width:992px){
    .efectoTexto{
        padding-top: 20px;
    }
}

@media screen and (max-width:768px){
    nav ul li{
        width: 25%;
    }
    .s1{
        font-size: 23px;
    }
    .s2{
        font-size: 20px;
        line-height: 30px;
    }
    .s3{
        font-size: 19px;
    }
    
}

@media screen and (max-width:576px){
    
}



.mini-cart-panel {
  background: #ffffff;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  opacity: 0;
  padding: 1rem;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  visibility: hidden;
  width: min(380px, calc(100vw - 2rem));
  z-index: 1050;
}

.mini-cart-panel::before {
  content: "";
  height: 0.75rem;
  left: 0;
  position: absolute;
  right: 0;
  top: -0.75rem;
}

.mini-cart-nav.open .mini-cart-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.mini-cart-nav.open .mini-cart-trigger {
  background: var(--theme-ink);
  border-color: var(--theme-ink);
  color: #ffffff;
}

.mini-cart-nav.open .mini-cart-count {
  background: #ffffff;
  color: var(--theme-ink);
}

.mini-cart-header,
.mini-cart-footer {
  border-bottom: 1px solid var(--theme-line);
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.75rem;
}

.mini-cart-header span {
  color: var(--theme-muted);
  font-size: 0.88rem;
}

.mini-cart-items {
  display: grid;
  gap: 0.8rem;
  max-height: 360px;
  overflow: auto;
  padding: 0.9rem 0;
}

.mini-cart-item {
  color: inherit;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 64px minmax(0, 1fr) auto;
}

.mini-cart-item-body a {
  color: var(--theme-ink);
  font-weight: 800;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-cart-item-body a:hover {
  color: var(--store-secondary);
}

.mini-cart-item-image {
  background: #f3f4f6;
  border-radius: 8px;
  display: block;
  overflow: hidden;
}

.mini-cart-item-image img {
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.checkout-items {
  display: grid;
  gap: 1rem;
}

.checkout-item {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.checkout-item-info {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 58px minmax(0, 1fr);
  min-width: 0;
}

.checkout-item-image {
  align-items: center;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.checkout-item-image img {
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.checkout-item-body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.checkout-item-body strong {
  line-height: 1.25;
}

.checkout-item-total {
  white-space: nowrap;
}

.mini-cart-item-body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.mini-cart-item-body small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-cart-item-body small,
.mini-cart-more,
.mini-cart-empty {
  color: var(--theme-muted);
}

.mini-cart-item-total {
  color: var(--theme-ink);
  font-weight: 800;
  white-space: nowrap;
}

.mini-cart-line-updating {
  opacity: 0.68;
}

.mini-cart-stepper {
  align-items: stretch;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  display: inline-grid;
  grid-template-columns: 30px 44px 30px;
  height: 32px;
  margin-top: 0.25rem;
  overflow: hidden;
}

.mini-cart-step-button {
  align-items: center;
  background: #f9fafb;
  border: 0;
  color: var(--theme-ink);
  display: flex;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
}

.mini-cart-step-button:hover {
  background: #eef2ff;
}

.mini-cart-step-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.mini-cart-qty {
  border: 0;
  border-left: 1px solid var(--theme-line);
  border-right: 1px solid var(--theme-line);
  font-size: 0.88rem;
  font-weight: 700;
  min-width: 0;
  text-align: center;
  width: 44px;
}

.mini-cart-qty:focus {
  outline: 0;
}

.mini-cart-footer {
  border-bottom: 0;
  border-top: 1px solid var(--theme-line);
  display: block;
  padding-bottom: 0;
  padding-top: 0.9rem;
}

.mini-cart-more {
  font-size: 0.88rem;
  margin: 0 0 0.75rem;
}

.mini-cart-empty {
  padding-top: 0.9rem;
}
