<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=SN+Pro&family=Sansita:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700;1,800;1,900&display=swap" rel="stylesheet"> 


:root{
    --padding-container: 100px 0;
    --color-tittle: #001a49;

}


body {
    background: linear-gradient(135deg, #1e1e2f, #2c2c54);
    font-family: 'Segoe UI', sans-serif;
}










.container{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--padding-container);
}


.hero{
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #41094d
    background-position: center;
    background-size: cover;
}

.hero::before{
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-image: linear-gradient(180deg, #8080808c 0%, #7e7e7e8c 100%), 
                     url('../images/menu.png');
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 96%, 0 80%);
   z-index: -1;
}

/* Fondo de carrito (por defecto: escritorio similar a index con clip) */
.hero.hero--cart::before{
  background-image: linear-gradient(180deg, #8080808c 0%, #7e7e7e8c 100%), 
                    url('../images/menu.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 96%, 0 80%);
}

/* En móvil: usar carrito.png a pantalla completa, sin clip */
@media (max-width: 900px){
  .hero.hero--cart{
    min-height: 100vh;
    max-height: none;
  }
  .hero.hero--cart::before{
    background-image: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.55) 100%), 
                      url('../images/carrito.png');
    background-size: contain;
    background-position: center center;
    background-attachment: fixed;
    clip-path: none;
  }
}

/* Header compacto para páginas que no necesitan altura completa */
.hero.hero--slim{
  min-height: 320px;
  max-height: 420px;
}

.hero_container{
    max-width: 800px;
    text-align: center;
    margin: auto;
    padding-top: 80px;
}

.hero_title{
    font-size: 3rem;
    margin-bottom: 20px;
    color: rgb(79, 18, 104);
}

.hero_paragraph{
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #5c155c;
}


.producto_page{
    background-image: linear-gradient(180deg, #8080808c 0%, #7e7e7e8c 100%), 
                      url('../images/Portal.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* opcional pero queda muy pro */
    padding-top: 60px;
}

.product_detail{
    background-color: white;
    border-radius: 25px;
    padding: 60px;
    margin: 40px auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

#catalogo {
    background: none;
    padding-top: 20px;
}

#catalogo .product {
    /* estilos solo del catálogo */
    
}



.cta{
    display: inline-block;
    background-color: #a66fb1;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.cta:hover{
    background-color: #8b4f99;
    transform: scale(1.05);
}

.nav{
    --padding-container:0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
}


.nav_title{
    font-weight: 300;
}

.nav_link{
    margin-left: auto;
}

.nav_menu{
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav_img{
    display: block;
    width: 30px;

}

.nav_close{
    display: var(--show, none);
}

.nav_links{
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: 500;
}

.nav_items{
    list-style: none;
    margin-left: 20px;
}

.nav_link{
    display: flex;
}


.nav_brand {
    display: flex;
    align-items: center;
    gap: 12px;
     margin-left: -30px;
}

.logo_img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 6px rgba(108, 92, 231, 0.6));
}


.brand_title {
    font-size: 26px;
    font-weight: bold;
    color: white;
    border-bottom: 3px solid #6c5ce7;
    padding-bottom: 4px;
}


.brand_title {
    font-size: 36px;
    font-weight: bold;
    background: linear-gradient(90deg, #6c5ce7, #00cec9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 3px solid #6c5ce7;
    padding-bottom: 6px;
}

.brand_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.brand_title span {
    display: block;
}

.brand_title span:nth-child(2) {
    font-size: 0.8em;
    opacity: 1; /* importante */
}

.products{
    padding: 80px 0;
    text-align: center;
}

.section_title{
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: white;
}


.products_grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product_card{
    background-color: rgb(180, 180, 180);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
    display: block;
    text-decoration: none;
    color: inherit;
}


.product_card:hover{
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}


.product_img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    margin-bottom: 15px;
}


.product_title{
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product_price{
    font-weight: bold;
    margin-bottom: 15px;
}

.product_button{
    display: inline-block;
    padding: 10px 25px;
    background-color: #a66fb1;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.product_button:hover{
    background-color: #8b4f99;
}






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

.product_detail_img{
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product_category{
    background-color: #f2e8f5;
    color: #a66fb1;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product_title_detail{
    font-size: 2.2rem;
    margin: 15px 0;
}

.product_detail_price{
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 25px;
}

.product_meta{
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.product_meta p{
    margin: 8px 0;
}

.product_description_box{
    margin-bottom: 30px;
}

.product_description_box h3{
    margin-bottom: 10px;
}

.product_guarantee{
    margin-top: 20px;
    font-size: 0.9rem;
    color: #555;
}

.product_detail{
    padding: 100px 0;
    background-color: #f8f6fa;
}


.filtros button {
    background-color: #6c5ce7;
    color: white;
    border: none;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.filtros button:hover {
    background-color: #4834d4;
}

.product_price {
    font-size: 18px;
    font-weight: bold;
    color: #27ae60;
    margin-top: 8px;
}

/* ========================= */
/* 📱 VERSION MOVIL REAL */
/* ========================= */

@media (max-width: 768px){

    body{
        overflow-x: hidden;
    }

    /* NAV */
    .nav{
        padding-top: 15px;
    }

    .nav_brand{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .brand_title{
        font-size: 20px;
        margin-top: 10px;
    }

    /* HERO */
    .hero{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 80px 20px;
        background-position: center;
        background-size: cover;
    }

    .hero_container{
        width: 100%;
        max-width: 500px;
    }

    .hero_title{
        font-size: 26px;
        line-height: 1.2;
    }

    .hero_paragraph{
        font-size: 16px;
        margin-top: 15px;
        padding: 0;
    }

    .cta{
        margin-top: 25px;
        width: 80%;
        max-width: 250px;
    }

    /* PRODUCTOS */
    .products_grid{
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

}

.cart {
  background: #111;
  padding: 20px;
  color: white;
  border-radius: 10px;
  margin-top: 40px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-controls button {
  background: #7a00ff;
  color: white;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
}

.cart-thumb{
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-section {
  width: 90%;
  max-width: 1100px;
  margin: 30px auto;
}

.card {
  background: #0f0f14;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  border-radius: 16px;
  padding: 20px;
  color: #fff;
}

.card--soft{
  background: rgba(26, 26, 36, 0.88);
  border-color: rgba(255,255,255,0.08);
}

.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-summary h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #7a00ff, #c700ff);
  color: #fff;
}

.btn-secondary {
  background: #20202a;
  color: #fff;
}

.checkout-card {
  display: none;
  width: 90%;
  max-width: 700px;
  margin: 20px auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group input {
  width: 100%;
  background: #1a1a21;
  border: 1px solid #2b2b36;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.contact-item a {
  color: #9d86ff;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}
