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

:root{
  --black:#050505;
  --dark:#0d0d0d;
  --card:#171717;
  --gold:#f2c230;
  --gold2:#ffdf6b;
  --white:#fff;
  --muted:rgba(255,255,255,.74);
  --line:rgba(255,255,255,.10);
}

html{scroll-behavior:smooth}

body{
  font-family: Arial, Helvetica, sans-serif;
  background:var(--black);
  color:var(--white);
  line-height:1.6;
}

.navbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  padding:14px 7%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(5,5,5,.80);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
  z-index:50;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--white);
  font-weight:900;
  letter-spacing:1px;
}

.brand img{
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:cover;
}

nav a{
  color:var(--white);
  text-decoration:none;
  margin-left:22px;
  font-size:.92rem;
  opacity:.84;
}

nav a:hover{color:var(--gold)}

.hero{
  min-height:100vh;
  position:relative;
  display:flex;
  align-items:center;
  padding:0 7%;
  overflow:hidden;
  background:
    linear-gradient(135deg, rgba(0,0,0,.98), rgba(0,0,0,.45)),
    url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1900&q=85') center/cover;
}

.hero-glow{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 70% 25%, rgba(242,194,48,.30), transparent 30%),
    linear-gradient(0deg, var(--black), transparent 42%);
}

.hero-content{
  position:relative;
  max-width:940px;
  padding-top:80px;
}

.eyebrow{
  color:var(--gold);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:2.6px;
  margin-bottom:16px;
  text-transform:uppercase;
}

.center{text-align:center}

h1{
  font-size:clamp(2.5rem,5vw,4.5rem);
  line-height:.92;
  text-transform:uppercase;
  max-width:800px;
  margin-bottom:26px;
}

h2{
  font-size:clamp(2.1rem,4.2vw,4rem);
  line-height:1.05;
  margin-bottom:22px;
}

h3{
  font-size:1.42rem;
}

p{color:var(--muted)}

.hero-text{
  max-width:720px;
  font-size:1.22rem;
  margin-bottom:34px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.btn{
  display:inline-block;
  padding:14px 24px;
  border-radius:999px;
  font-weight:900;
  text-decoration:none;
  transition:.2s ease;
}

.btn:hover{transform:translateY(-2px)}

.primary{
  background:var(--gold);
  color:#000;
}

.secondary{
  color:var(--white);
  border:1px solid rgba(255,255,255,.42);
}

.section{
  padding:96px 7%;
}

.dark{background:var(--dark)}

.intro{
  text-align:center;
  max-width:980px;
  margin:auto;
}

.intro p{
  max-width:760px;
  margin:auto;
  font-size:1.05rem;
}

.product-grid{
  margin-top:38px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.product-card{
  background:linear-gradient(180deg,#1a1a1a,#0b0b0b);
  border:1px solid var(--line);
  border-radius:28px;
  padding:22px;
  overflow:hidden;
}

.product-card.wide{
  grid-column:span 2;
}

.product-image{

    height:240px;
    border-radius:22px;
    margin-bottom:20px;

    background-size:contain;
    background-repeat:no-repeat;
    background-position:center center;

    background-color:#ffffff;

    filter: brightness(1.20) contrast(1.03);

    border:1px solid rgba(242,194,48,.22);

}

.proteinas{
    background-image:
        linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.55)),
        url("assets/Proteinas/dymatizeDunkin.webp");
}
.creatinas{
    background-image:
        linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.55)),
        url("assets/Creatinas/ANIMAL CREATINA.webp");
}
.shakers{
    background-image:
        linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.55)),
        url("assets/SHAKER ANIMAL.jpg");
}
.snacks{
    background-image:
        linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.55)),
        url("assets/power.webp");
}
.poleras{background-image:linear-gradient(rgba(0,0,0,.05),rgba(0,0,0,.60)),url('https://images.unsplash.com/photo-1523398002811-999ca8dec234?auto=format&fit=crop&w=1200&q=80')}

.product-card h3{
  color:var(--gold);
  margin-bottom:10px;
}

.product-card a{
  color:var(--gold2);
  text-decoration:none;
  font-weight:900;
  display:inline-block;
  margin-top:16px;
}

.story{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:44px;
  align-items:center;
}

.story-text p{
  margin-bottom:16px;
  font-size:1.05rem;
}

.story-logo{
  text-align:center;
  background:linear-gradient(180deg,#191919,#0a0a0a);
  border:1px solid var(--line);
  border-radius:32px;
  padding:44px;
}

.story-logo img{
  width:220px;
  height:220px;
  object-fit:cover;
  border-radius:50%;
  box-shadow:0 0 70px rgba(242,194,48,.25);
  margin-bottom:22px;
}

.split{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:42px;
  align-items:center;
}

.split p{
  margin-bottom:18px;
  font-size:1.05rem;
}

.benefits{
  background:linear-gradient(180deg,#1a1a1a,#0b0b0b);
  border:1px solid var(--line);
  border-radius:30px;
  padding:34px;
}

.benefits h3{
  color:var(--gold);
  margin-bottom:14px;
}

.benefits p{
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.cities{
  margin-top:34px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.cities div{
  background:linear-gradient(180deg,#181818,#0b0b0b);
  border:1px solid rgba(242,194,48,.22);
  border-radius:24px;
  padding:30px;
  text-align:center;
  font-size:1.25rem;
  font-weight:900;
  color:var(--gold);
}

.shipping{
  text-align:center;
  margin-top:30px;
  font-size:1.2rem;
  font-weight:900;
  color:var(--white);
}

.contact{
  text-align:center;
}

.contact p{
  max-width:680px;
  margin:0 auto;
}

.contact-actions{
  justify-content:center;
  margin-top:28px;
}

footer{
  padding:30px 7%;
  text-align:center;
  background:#030303;
  border-top:1px solid var(--line);
}
.proteinas{
    background-image:
        linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.55)),
        url("assets/Proteinas/dymatizeDunkin.webp");
}

.creatinas{
    background-image:
        linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.55)),
        url("assets/Creatinas/ANIMAL CREATINA.webp");
}

.shakers{
    background-image:
        linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.55)),
        url("assets/Shackers/shaker-azul-foodtech.webp");
}

.snacks{
    background-image:
        linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.55)),
        url("assets/Snacks/power.webp");
}
.catalog-img{
    width:100%;
    height:300px;
    object-fit:contain;
    object-position:center;
    background:#fff;
    border-radius:20px;
    padding:20px;
    margin-bottom:18px;
    display:block;
}
@media(max-width:1050px){
  nav{display:none}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .story,.split{grid-template-columns:1fr}
}

@media(max-width:650px){
  .navbar{padding:12px 6%}
  .brand span{font-size:.78rem}
  .hero,.section{padding-left:6%;padding-right:6%}
  h1{font-size:3rem}
  .product-grid,.cities{grid-template-columns:1fr}
  .product-card.wide{grid-column:span 1}
  .story-logo img{width:160px;height:160px}

}
.product-brand{
    color:#f7c948;
    font-size:.8rem;
    font-weight:800;
    letter-spacing:2px;
    margin-bottom:10px;
}

.product-description{
    color:#d2d2d2;
    line-height:1.7;
    font-size:1rem;
    margin:18px 0;
}

.product-price{
    color:#fff;
    font-size:1.6rem;
    font-weight:900;
    margin:18px 0;
}

.product-features{
    color:#fff;
    line-height:1.8;
    margin-bottom:24px;
}

.product-detail{
    padding-top:170px;
}

.detail-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.detail-img{
    width:80%;
    max-width:500px;
    display:block;
    margin:auto;
    object-fit:contain;
    background:#fff;
    border-radius:28px;
    padding:30px;
}
.btn-primary{
    display:inline-block;
    background:#f7c948;
    color:#000;
    padding:14px 24px;
    border-radius:999px;
    font-weight:900;
    text-decoration:none;
}
.cart-button{

    background:#f7c948;
    color:#000;
    border:none;
    padding:10px 18px;
    border-radius:999px;
    cursor:pointer;
    font-weight:700;
    font-size:15px;
    margin-left:20px;
    transition:.3s;

}

.cart-button:hover{

    transform:scale(1.05);

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

.cart-panel{

    position:fixed;
    top:0;
    right:-420px;

    width:380px;
    height:100vh;

    background:#111;
    border-left:1px solid #333;

    z-index:9999;

    transition:.35s;

    display:flex;
    flex-direction:column;

}

.cart-panel.open{

    right:0;

}

.cart-header{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:25px;

    border-bottom:1px solid #333;

}

.cart-header h3{

    color:white;

}

.cart-close{

    background:none;
    border:none;

    color:white;

    font-size:28px;

    cursor:pointer;

}

.cart-items{

    flex:1;

    padding:20px;

    overflow:auto;

}

.cart-footer{

    padding:25px;

    border-top:1px solid #333;

}

.cart-footer p{

    color:white;

    margin-bottom:18px;

}
.add-cart-btn{
    transition:.2s;
}

.add-cart-btn:active{
    transform:scale(.94);
}

.add-cart-btn.added{
    background:#22c55e;
    color:#000;
}
.cart-item{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:14px;
    padding:14px 0;
    border-bottom:1px solid #2a2a2a;
}

.cart-item p{
    color:white;
    margin-bottom:6px;
}

.remove-item{
    background:none;
    border:none;
    color:#f7c948;
    cursor:pointer;
    font-size:18px;
}

.remove-item:hover{
    transform:scale(1.15);
}
.quantity-controls{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:12px;
}

.quantity-controls button{
    width:28px;
    height:28px;
    border-radius:50%;
    border:none;
    background:#f7c948;
    color:#000;
    font-weight:900;
    cursor:pointer;
}

.quantity-controls span{
    color:#fff;
    font-weight:900;
    min-width:20px;
    text-align:center;
}
.cart-thumb{
    width:58px;
    height:58px;
    object-fit:contain;
    background:#fff;
    border-radius:12px;
    padding:6px;
    flex-shrink:0;
}
/* AJUSTE MOBILE PRODUCTOS */
@media (max-width: 650px){

    .detail-grid{
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 40px;
    }

    .detail-img{
        width: 100%;
        max-width: 330px;
        height: auto;
        max-height: 360px;
        margin: 0 auto;
        display: block;
        object-fit: contain;
    }

    .detail-title{
        font-size: clamp(2.4rem, 12vw, 4rem);
        line-height: .95;
    }

    .product-detail{
        padding-top: 120px;
    }

    .cart-panel{
        width: 100%;
        right: -100%;
    }

    .cart-panel.open{
        right: 0;
    }
}
@media (max-width: 650px){

    .navbar nav{
        display:flex;
        gap:10px;
        align-items:center;
    }

    .cart-button{
        position:fixed;
        right:18px;
        bottom:18px;
        z-index:10000;
        width:64px;
        height:64px;
        border-radius:50%;
        padding:0;
        margin:0;
        box-shadow:0 12px 30px rgba(0,0,0,.45);
    }

    .cart-panel{
        width:100%;
        right:-100%;
    }

    .cart-panel.open{
        right:0;
    }
}
/* FIX NAVBAR MOBILE */
@media (max-width: 650px){

    .navbar{
        padding: 18px 6%;
        gap: 12px;
    }

    .brand span{
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .brand img{
        width: 58px;
        height: 58px;
    }

    .navbar nav a{
        display: none;
    }

    .cart-button{
        position: fixed;
        right: 18px;
        bottom: 22px;
        z-index: 10000;

        width: 64px;
        height: 64px;
        border-radius: 50%;
        padding: 0;
        margin: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 18px;
        box-shadow: 0 12px 30px rgba(0,0,0,.45);
    }

    .cart-panel{
        width: 100%;
        right: -100%;
    }

    .cart-panel.open{
        right: 0;
    }
}