*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

.offcanvas-body img {
  height: 60px;
  object-fit: cover;
}


/* =========================
ESTILOS GENERALES
========================= */

body{
  margin:0;
  padding:0;
  background:#1f1e1e;
}

section{
  margin:0 !important;
  padding:0 !important;
}

.container{
  margin-left:auto !important;
  margin-right:auto !important;
}

/* =========================
NAVBAR
========================= */

.navbar{
transition:all 0.3s ease;
}

.navbar-brand{
font-size:1.4rem;
letter-spacing:1px;
}

.navbar .nav-link{
font-weight:500;
margin-left:10px;
transition:0.3s;
}

.navbar .nav-link:hover{
color:#ffc107 !important;
}

.navbar .btn{
  display:flex;
  align-items:center;
}


/* =========================
HERO
========================= */

.hero{
  position: relative;
  height: 100vh;
  background: url('../imgs/hero-perfume.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* 🔥 OVERLAY REAL */
.hero::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.65);
  z-index:1;
}

/* 🔥 CONTENIDO ENCIMA */
.hero .container{
  position: relative;
  z-index:2;
}

/* 🔥 TEXTO FORZADO */
.hero h1,
.hero p{
  color:white !important;
}

/* 🔥 MEJORA VISUAL */
.hero h1{
  text-shadow: 0 3px 15px rgba(0,0,0,0.9);
}

.hero p{
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero::before{
  background:rgba(0,0,0,0.45);
}

/* =========================
PRODUCTOS (CARDS PRO)
========================= */

.card{
border:none;
border-radius:12px;
overflow:hidden;
background:#fff;

transition:
transform 0.3s ease,
box-shadow 0.3s ease;

box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.card img{
height:260px;
width:100%;
object-fit:cover;
display:block;

transition:transform 0.4s ease;
}

.card:hover{
transform:translateY(-8px);
box-shadow:0 15px 35px rgba(0,0,0,0.18);
}

.card:hover img{
transform:scale(1.08);
}

.card-body{
display:flex;
flex-direction:column;
}

.card-body h5{
font-weight:600;
}

.price{
font-size:1.2rem;
font-weight:700;
color:#111;
}

.card-body button{
border-radius:25px;
}

/* =========================
SECCIONES
========================= */

section h2{
font-size:2rem;
text-align:center;
margin-bottom:30px;
}

section p{
text-align:center;
color:#555;
}

.beneficios{
  color:white;
}

.beneficios p{
  color:#dcdcdc; /* gris suave para lectura */
}

.beneficios i{
  color:#ffc107;
  transition:0.3s;
}

.beneficios .col-md-4:hover i{
  transform:scale(1.2);
}

/* =========================
BENEFICIOS
========================= */

.promo-section{
  position: relative;
  height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.promo-section::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.02); /* 🔥 overlay REAL */
  z-index:1;
}

.promo-section .contenido{
  position: relative;
  z-index:2;
  text-align:center;
  color:white !important;
}

.promo-section h2,
.promo-section p{
  color:white !important;
}


section .bi{
color:#ffc107;
}

section .col-md-4{
padding:20px;
transition:0.3s;
}

section .col-md-4:hover{
transform:translateY(-5px);
}

/* =========================
BOTONES
========================= */

.btn-primary{
background-color:#1b1a20 !important;
border:none !important;
}

.btn-primary:hover{
opacity:0.85 !important;
}

.btn-cart{
background-color:#1b1a20;
color:white;
transition:all 0.3s ease;
}

.btn-cart:hover{
background-color:#333;
transform:scale(1.03);
}

/* =========================
CARRITO
========================= */

.bi-bag-heart{
font-size:22px;
}

.btn_shopping{
background-color:#b8e8f7 !important;
border:1px solid #b3b3b3 !important;
}

.btn_shopping:hover{
animation:swing 0.6s ease forwards;
}

.offcanvas{
width:400px;
transition:transform 0.6s ease, opacity 0.6s ease;
}

.offcanvas.show{
transform:translateX(0);
opacity:1;
}

.offcanvas:not(.show){
transform:translateX(100%);
opacity:0;
}

.offcanvas-header{
background:#cecece !important;
}

.offcanvas-body{
background:#f8f9fa;
}

#offcanvasRight{
margin-top:65px;
}

/* =========================
ANIMACIONES
========================= */

.balanceo{
animation:swing 0.6s ease forwards;
display:inline-block;
}

@keyframes swing{
0%{transform:rotate(0)}
25%{transform:rotate(15deg)}
50%{transform:rotate(-10deg)}
75%{transform:rotate(5deg)}
100%{transform:rotate(0)}
}

/* =========================
SECCIONES PROMO (SORTEOS / DECANTS)
========================= */

.promo-section{
  height: 450px;
  background-size:cover;
  background-position:center;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:40px 0;
  border-radius:15px;
  overflow:hidden;
}

.promo-section .overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.5);
}

.promo-section .contenido{
  position:relative;
  z-index:2;
}

.promo-section h2{
  font-size:2rem;
}

.promo-section p{
  margin-bottom:15px;
}

/* =========================
FOOTER
========================= */

.footer{
background:#111;
}

.footer a{
transition:0.3s;
}

.footer a:hover{
color:#ffc107 !important;
}

/* =========================
RESPONSIVE
========================= */

@media (max-width:768px){

.hero h1{
font-size:2rem;
}

.hero{
height:70vh;
}

.card img{
height:200px;
}

}
