/home/marynathaconsult/.trash/assets.2/styles.css
:root {
--primary: #d50000;
--primary-dark: #b00000;
--secondary: #ffc400;
--bg: #f5f5f5;
--text: #1f2933;
--muted: #6b7280;
}
*{box-sizing:border-box;margin:0;padding:0;}
body{
font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
background:var(--bg);
color:var(--text);
}
.app{
max-width:480px;
margin:0 auto;
min-height:100vh;
background:#fff;
display:flex;
flex-direction:column;
}
@media(min-width:768px){
.app{
max-width:720px;
border-radius:16px;
overflow:hidden;
box-shadow:0 16px 40px rgba(0,0,0,.18);
margin:1.5rem auto;
}
}
/* HEADER */
.header{
background:linear-gradient(135deg,var(--primary),var(--primary-dark));
color:#fff;
padding:.6rem .9rem .7rem;
position:sticky;
top:0;
z-index:10;
}
.header-top{
display:flex;
align-items:center;
justify-content:space-between;
gap:.5rem;
}
.header-left,
.header-right{
display:flex;
align-items:center;
gap:.6rem;
}
.menu-icon{
width:30px;
height:30px;
border-radius:999px;
border:1px solid rgba(255,255,255,.7);
display:flex;
align-items:center;
justify-content:center;
font-size:1rem;
background:rgba(255,255,255,.08);
backdrop-filter:blur(4px);
}
.logo-mini{
width:44px;
height:34px;
border-radius:8px;
background:#fff;
display:flex;
align-items:center;
justify-content:center;
font-size:.7rem;
font-weight:800;
color:var(--primary);
}
.logo-block{display:flex;flex-direction:column;}
.logo-name{font-weight:800;font-size:.9rem;letter-spacing:.08em;text-transform:uppercase;}
.logo-sub{font-size:.66rem;opacity:.9;}
.search-bar{
margin-top:.55rem;
background:#fff;
border-radius:999px;
padding:.35rem .8rem;
display:flex;
align-items:center;
gap:.5rem;
box-shadow:0 4px 12px rgba(0,0,0,.15);
}
.search-bar input{
border:none;
outline:none;
flex:1;
font-size:.85rem;
}
/* SLIDER PRINCIPAL */
.slider{
position:relative;
overflow:hidden;
border-radius:14px;
margin-top:.85rem;
margin-bottom:1rem;
box-shadow:0 10px 25px rgba(0,0,0,.18);
}
.slider-track{
display:flex;
transition:transform .35s ease;
}
.slide{
min-width:100%;
padding:.9rem .95rem 1rem;
display:flex;
align-items:center;
justify-content:space-between;
gap:.9rem;
color:#1f2933;
}
.slide-1{background:var(--secondary);}
.slide-2{background:#ffe5e5;}
.slide-3{background:#e3f2fd;}
.slide-text{font-size:.86rem;max-width:70%;}
.slide-text strong{display:block;font-size:1rem;margin-bottom:.15rem;}
.slide-emoji{font-size:2.4rem;}
.slider-controls{
position:absolute;
inset:0;
display:flex;
align-items:center;
justify-content:space-between;
pointer-events:none;
padding:0 .25rem;
}
.slider-btn{
width:26px;
height:26px;
border-radius:999px;
background:rgba(0,0,0,.45);
color:#fff;
border:none;
display:flex;
align-items:center;
justify-content:center;
font-size:.8rem;
pointer-events:auto;
}
/* SECCIONES Y CHIPS */
main{flex:1;padding:.75rem .9rem 1.2rem;}
.section-title{font-size:.85rem;font-weight:600;margin-bottom:.35rem;}
.section-header{
display:flex;
align-items:baseline;
justify-content:space-between;
margin-bottom:.45rem;
}
.section-header h1,
.section-header h2{font-size:.98rem;}
.section-header a{font-size:.78rem;color:var(--primary);text-decoration:none;font-weight:500;}
.categories-scroll{
display:flex;
gap:.4rem;
overflow-x:auto;
padding-bottom:.45rem;
margin-bottom:.8rem;
}
.chip{
flex:0 0 auto;
padding:.3rem .75rem;
border-radius:999px;
border:1px solid #e5e7eb;
background:#fff;
font-size:.75rem;
white-space:nowrap;
}
.chip--primary{
background:#fee2e2;
border-color:#fecaca;
color:#b91c1c;
}
/* PRODUCTOS */
.product-list{display:flex;flex-direction:column;gap:.7rem;}
.product-card{
border-radius:12px;
border:1px solid #e5e7eb;
background:#fff;
padding:.6rem;
display:grid;
grid-template-columns:88px 1fr;
gap:.7rem;
box-shadow:0 8px 18px rgba(15,23,42,.07);
}
.product-image{
width:100%;
height:88px;
border-radius:10px;
background:linear-gradient(135deg,#ffe082,#ffab91);
display:flex;
align-items:center;
justify-content:center;
font-size:2.2rem;
}
.product-info{display:flex;flex-direction:column;justify-content:space-between;}
.product-name{font-size:.92rem;font-weight:650;}
.product-desc{font-size:.76rem;color:var(--muted);margin-top:.18rem;}
.product-meta{
display:flex;
align-items:center;
justify-content:space-between;
margin-top:.25rem;
}
.price{font-weight:800;color:var(--primary-dark);font-size:.92rem;}
.age{font-size:.72rem;color:var(--muted);}
.btn-small{
margin-top:.25rem;
border-radius:999px;
border:1px solid #d1d5db;
background:#f9fafb;
font-size:.76rem;
padding:.27rem .8rem;
display:inline-flex;
align-items:center;
gap:.25rem;
}
/* GRID en TIENDA */
.product-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:.7rem;
}
.product-card--grid{grid-template-columns:1fr;}
/* RESUMEN / TEXTO */
.summary-card{
border-radius:12px;
border:1px solid #e5e7eb;
background:#fff;
padding:.8rem;
margin-top:.55rem;
box-shadow:0 8px 18px rgba(15,23,42,.06);
}
.summary-row{
display:flex;
justify-content:space-between;
font-size:.82rem;
margin-bottom:.28rem;
}
.summary-row.total{
font-weight:750;
border-top:1px solid #e5e7eb;
padding-top:.38rem;
margin-top:.3rem;
}
.btn-primary{
display:inline-flex;
align-items:center;
justify-content:center;
gap:.3rem;
background:var(--primary);
color:#fff;
border-radius:999px;
padding:.5rem 1.3rem;
font-size:.86rem;
border:none;
cursor:pointer;
}
.btn-primary--outline{
background:#fff;
color:var(--primary);
border:1px solid var(--primary);
}
.form{display:flex;flex-direction:column;gap:.6rem;margin-top:.3rem;}
.form-group{display:flex;flex-direction:column;gap:.2rem;}
.form-group label{font-size:.76rem;}
.form-group input,
.form-group textarea{
border-radius:9px;
border:1px solid #d1d5db;
padding:.42rem .6rem;
font-size:.8rem;
}
.form-group textarea{min-height:90px;resize:vertical;}
.footer{
background:var(--primary-dark);
color:#fff;
padding:.45rem .4rem .6rem;
margin-top:auto;
}
.footer-nav{
display:flex;
justify-content:space-around;
align-items:center;
font-size:.72rem;
margin-bottom:.25rem;
}
.footer-nav a{color:#fff;text-decoration:none;}
.footer-copy{text-align:center;font-size:.66rem;opacity:.9;}
.mt-sm{margin-top:.45rem;}
.mt-md{margin-top:.75rem;}
.text-block{font-size:.8rem;color:var(--muted);margin-bottom:.7rem;}
.page-title{font-size:1.02rem;font-weight:750;margin-bottom:.5rem;}