:root {
  --primary-color:#d6993c;
  --secondary-color: #14213d;
  --text-color: #000000f3;
}

/* Barra de navegación en color amarillo */
.navbar {
  background-color: #d6993c !important;
}

.navbar-nav .nav-link {
  transition: color 0.3s, transform 0.2s;
}
.navbar-nav .nav-link:hover {
  color: #d2691e !important; /* marrón cálido */
  transform: scale(1.05);
}
.navbar-brand:hover {
  color: #d2691e !important;
}
.dropdown-menu {
  border-radius: 10px;
  overflow: hidden;
}

.navbar .nav-link:hover {
  color: #333 !important;       /* un gris oscuro al pasar el mouse */
}

/* Ajuste uniforme para imágenes de productos */
.card-img-top {
  height: 220px;     
  width: 100%;         
  object-fit: cover;   
  border-radius: 8px; 
}



body {
  background-color: #fff8f0;
    font-family: 'Poppins', sans-serif;
}

header {
  background-color: var(--primary-color);

}



/* ===== Títulos ===== */
h2, h3 {
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

h2 {
    color: #d2691e;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
}

h3 {
    color: #a0522d;
    letter-spacing: 0.5px;
    font-family: 'Verdana', sans-serif;
}

/* ===== Botones de categorías ===== */
.btn-categoria {
    background: linear-gradient(145deg, #fef5e7, #f9e1c6);
    color: #8b4513;
    border: 2px solid #d2691e;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

.btn-categoria:hover {
    background: linear-gradient(145deg, #f9e1c6, #fef5e7);
    transform: translateY(-3px);
    color: #fff;
    border-color: #d2691e;
}

.btn-todos {
    background: #d2691e;
    color: #fff;
    border-color: #a0522d;
}

.btn-todos:hover {
    background: #a0522d;
    border-color: #8b4513;
}

/* ===== Cards de productos ===== */
.card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card img {
    object-fit: cover;
    height: 200px;
}

/* Botones dentro de card */
.card .btn-warning {
    background-color: #f4a261;
    border-color: #e76f51;
    color: #fff;
    margin-bottom: 0.5rem;
}

.card .btn-warning:hover {
    background-color: #e76f51;
    border-color: #d6543a;
}

.card .btn-info {
    background-color: #2a9d8f;
    border-color: #21867a;
    color: #fff;
}

.card .btn-info:hover {
    background-color: #21867a;
    border-color: #1a5e53;
}

/* ===== Contenedor de productos ===== */
#productos .row {
    justify-content: center;
}



.logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-right: 10px;

}

.product-card {
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  box-shadow: 0 10px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: scale(1.03);
}

footer {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 0;
  font-weight: bold;
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
}

.btn-primary:hover {
  background-color: #d280ed;;
}

#contacto a:hover {
  color: #55046f;;
}

/* Estilo del modal */
.modal-registro {
  border-radius: 15px;
  background-color: #fffdf5;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


/* Ajuste uniforme para imágenes de productos */
.card-img-top {
  height: 200px;      /* todas tendrán la misma altura */
  object-fit: cover;  /* recorta sin deformar la imagen */
}


.modal-registro .modal-header {
  background-color: var(--primary-color);
  color: white;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.modal-registro .modal-footer {
  background-color: #d6993c;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

html {
  scroll-behavior: smooth;
}


.fade-enter {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s ease;
}
.fade-enter-active {
  opacity: 1;
  transform: translateY(0);
}




/* 🛒 Modal flotante de carrito */
.modal-carrito {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background: #fff;
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  display: none;
  flex-direction: column;
  animation: slideIn 0.4s ease forwards;
}

.modal-carrito.show {
  display: flex;
}

.modal-carrito-header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px;
  font-weight: bold;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-carrito-body {
  max-height: 200px;
  overflow-y: auto;
  padding: 10px;
}

.modal-carrito-footer {
  padding: 10px;
  border-top: 1px solid #eee;
  font-weight: bold;
}

.btn-cerrar {
  background: transparent;
  border: none;
  font-size: 20px;
  color: white;
  cursor: pointer;
  line-height: 1;
}



.modal-pago{
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}
.modal-pago-contenido{
  background: white;
  padding: 20px;
  border-radius: 8px;
}
.mostrar {
  display: flex !important;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}










