Solo items y usuarios

This commit is contained in:
2026-06-05 22:06:52 -05:00
commit aa5e85ae94
23 changed files with 6152 additions and 0 deletions
+867
View File
@@ -0,0 +1,867 @@
/* ════════════════════════════════
INFINITY — SOFT AURORA DESIGN
Mesh gradient + glassmorphism + friendly modern
════════════════════════════════ */
:root {
--bg: #fafaff;
--bg-soft: #f5f3ff;
--white: #ffffff;
--ink: #1a1a2e;
--ink-soft: #4a4a68;
--ink-mute: #8b8ba7;
--line: rgba(139, 92, 246, 0.4);
--line-strong: rgba(139, 92, 246, 0.6);
--violet: #a78bfa;
--violet-deep: #8b5cf6;
--pink: #f0abfc;
--pink-deep: #e879f9;
--cyan: #67e8f9;
--cyan-deep: #22d3ee;
--grad-primary: linear-gradient(135deg, #a78bfa 0%, #f0abfc 50%, #67e8f9 100%);
--grad-soft: linear-gradient(135deg, rgba(167,139,250,0.12) 0%, rgba(240,171,252,0.12) 50%, rgba(103,232,249,0.12) 100%);
--grad-text: linear-gradient(135deg, #8b5cf6 0%, #e879f9 50%, #22d3ee 100%);
--shadow-sm: 0 4px 14px rgba(167, 139, 250, 0.16);
--shadow-md: 0 10px 40px rgba(167, 139, 250, 0.22);
--shadow-lg: 0 20px 60px rgba(167, 139, 250, 0.28);
--radius-sm: 12px;
--radius-md: 20px;
--radius-lg: 28px;
--radius-pill: 999px;
--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
background: var(--bg);
color: var(--ink);
min-height: 100vh;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
line-height: 1.6;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; }
a { color: inherit; }
/* ════════════════════════════════
MESH GRADIENT BACKGROUND
════════════════════════════════ */
.mesh-bg {
position: fixed;
inset: 0;
z-index: -1;
overflow: hidden;
background: var(--bg);
pointer-events: none;
}
.mesh-blob {
position: absolute;
border-radius: 50%;
filter: blur(90px);
opacity: 0.55;
will-change: transform;
animation: float 22s ease-in-out infinite;
}
.mesh-blob-1 {
width: 520px; height: 520px;
background: var(--violet);
top: -120px; left: -120px;
}
.mesh-blob-2 {
width: 420px; height: 420px;
background: var(--pink);
top: 30%; right: -120px;
animation-delay: -7s;
}
.mesh-blob-3 {
width: 480px; height: 480px;
background: var(--cyan);
bottom: -140px; left: 25%;
animation-delay: -14s;
}
@keyframes float {
0%, 100% { transform: translate(0, 0) scale(1); }
33% { transform: translate(60px, -50px) scale(1.1); }
66% { transform: translate(-40px, 40px) scale(0.92); }
}
/* ════════════════════════════════
NAVBAR
════════════════════════════════ */
.navbar {
position: sticky;
top: 18px;
z-index: 100;
padding: 0 20px;
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
background: rgba(255, 255, 255, 0.92);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border: 1.5px solid var(--line-strong);
border-radius: var(--radius-pill);
padding: 10px 12px 10px 24px;
display: flex;
align-items: center;
justify-content: space-between;
box-shadow: 0 6px 24px rgba(167, 139, 250, 0.18);
}
.logo {
display: flex;
align-items: center;
gap: 8px;
text-decoration: none;
color: var(--ink);
font-weight: 800;
font-size: 1.1rem;
letter-spacing: -0.01em;
}
.logo-symbol {
font-size: 1.7rem;
line-height: 1;
background: var(--grad-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-weight: 800;
}
.logo-text {
letter-spacing: -0.02em;
}
.nav-links {
display: flex;
gap: 30px;
}
.nav-links a {
text-decoration: none;
color: var(--ink-soft);
font-weight: 500;
font-size: 0.92rem;
transition: color var(--transition);
position: relative;
}
.nav-links a::after {
content: '';
position: absolute;
left: 0; right: 0; bottom: -6px;
height: 2px;
background: var(--grad-primary);
border-radius: 2px;
transform: scaleX(0);
transform-origin: left;
transition: transform var(--transition);
}
.nav-links a:hover {
color: var(--violet-deep);
}
.nav-links a:hover::after {
transform: scaleX(1);
}
.nav-toggle {
display: none;
flex-direction: column;
gap: 4px;
background: none;
border: none;
cursor: pointer;
padding: 10px;
border-radius: 50%;
transition: background var(--transition);
}
.nav-toggle:hover {
background: var(--bg-soft);
}
.nav-toggle span {
width: 22px;
height: 2px;
background: var(--ink);
border-radius: 2px;
transition: transform var(--transition), opacity var(--transition);
}
/* ════════════════════════════════
HERO
════════════════════════════════ */
.hero {
min-height: 78vh;
display: flex;
align-items: center;
justify-content: center;
padding: 80px 20px 60px;
text-align: center;
position: relative;
}
.hero-content {
max-width: 820px;
animation: fadeInUp 0.8s ease-out both;
}
.hero-badge {
display: inline-block;
padding: 8px 18px;
background: var(--white);
border: 1px solid rgba(167, 139, 250, 0.3);
border-radius: var(--radius-pill);
font-size: 0.85rem;
font-weight: 600;
color: var(--violet-deep);
margin-bottom: 24px;
box-shadow: var(--shadow-sm);
}
.hero-title {
font-size: clamp(2.5rem, 7vw, 5rem);
font-weight: 800;
line-height: 1.05;
letter-spacing: -0.035em;
margin-bottom: 24px;
color: var(--ink);
}
.hero-title em {
font-family: 'DM Serif Display', serif;
font-style: italic;
font-weight: 400;
color: var(--violet-deep);
}
.hero-gradient-text {
background: var(--grad-text);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-subtitle {
font-size: clamp(1rem, 1.8vw, 1.2rem);
color: var(--ink-soft);
max-width: 580px;
margin: 0 auto 36px;
line-height: 1.55;
}
.hero-cta {
display: flex;
gap: 14px;
justify-content: center;
flex-wrap: wrap;
}
/* ════════════════════════════════
BUTTONS
════════════════════════════════ */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 14px 30px;
border-radius: var(--radius-pill);
font-family: inherit;
font-weight: 600;
font-size: 0.95rem;
text-decoration: none;
cursor: pointer;
border: none;
transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
white-space: nowrap;
line-height: 1;
}
.btn-primary {
background: var(--grad-primary);
color: var(--white);
box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-ghost {
background: var(--white);
color: var(--ink);
border: 1.5px solid var(--line-strong);
box-shadow: 0 2px 8px rgba(167, 139, 250, 0.08);
}
.btn-ghost:hover {
background: var(--bg-soft);
border-color: var(--violet);
color: var(--violet-deep);
transform: translateY(-1px);
box-shadow: 0 6px 16px rgba(167, 139, 250, 0.18);
}
/* ════════════════════════════════
SECTIONS / TYPOGRAPHY
════════════════════════════════ */
section {
padding: 60px 20px;
max-width: 1200px;
margin: 0 auto;
}
.section-header {
margin-bottom: 40px;
text-align: center;
}
.section-title {
font-size: clamp(1.8rem, 4vw, 2.8rem);
font-weight: 800;
letter-spacing: -0.025em;
margin-bottom: 12px;
color: var(--ink);
}
.section-title em {
font-family: 'DM Serif Display', serif;
font-style: italic;
font-weight: 400;
background: var(--grad-text);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.section-subtitle {
color: var(--ink-soft);
font-size: 1.02rem;
}
/* ════════════════════════════════
CATEGORÍAS
════════════════════════════════ */
.categorias-section {
padding-top: 40px;
}
.categorias-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 16px;
}
.cat-card {
background: var(--white);
border: 1.5px solid var(--line-strong);
border-radius: var(--radius-md);
padding: 30px 20px;
text-align: center;
cursor: pointer;
transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
box-shadow: var(--shadow-sm);
animation: fadeInUp 0.6s ease-out backwards;
}
.cat-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-md);
border-color: var(--violet);
}
.cat-icon {
font-size: 2.4rem;
margin-bottom: 10px;
display: block;
line-height: 1;
}
.cat-name {
font-weight: 600;
font-size: 0.95rem;
color: var(--ink);
}
/* ════════════════════════════════
SEARCH
════════════════════════════════ */
.search-wrap {
position: relative;
max-width: 600px;
margin: 0 auto 24px;
background: var(--white);
border-radius: var(--radius-pill);
padding: 6px 6px 6px 22px;
display: flex;
align-items: center;
gap: 12px;
box-shadow: var(--shadow-md);
border: 1.5px solid var(--line-strong);
transition: box-shadow var(--transition), border-color var(--transition);
}
.search-wrap:focus-within {
box-shadow: var(--shadow-lg);
border-color: var(--violet);
}
.search-icon {
color: var(--ink-mute);
flex-shrink: 0;
}
.search-input {
flex: 1;
border: none;
background: transparent;
font-family: inherit;
font-size: 0.95rem;
color: var(--ink);
outline: none;
padding: 12px 0;
min-width: 0;
}
.search-input::placeholder {
color: var(--ink-mute);
}
.search-clear {
background: var(--bg-soft);
border: none;
width: 34px;
height: 34px;
border-radius: 50%;
cursor: pointer;
color: var(--ink-soft);
display: none;
align-items: center;
justify-content: center;
font-size: 0.85rem;
transition: background var(--transition), color var(--transition);
flex-shrink: 0;
}
.search-clear:hover {
background: var(--violet);
color: var(--white);
}
/* ════════════════════════════════
FILTROS TAGS
════════════════════════════════ */
.filtros-tags {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
margin-bottom: 32px;
}
.tag {
padding: 8px 18px;
background: var(--white);
border: 1.5px solid var(--line-strong);
border-radius: var(--radius-pill);
font-size: 0.88rem;
font-weight: 500;
color: var(--ink-soft);
cursor: pointer;
transition: all var(--transition);
box-shadow: 0 2px 6px rgba(167, 139, 250, 0.06);
display: inline-flex;
align-items: center;
gap: 6px;
}
.tag-icon {
font-size: 1rem;
line-height: 1;
}
.tag:hover {
border-color: var(--violet);
color: var(--violet-deep);
transform: translateY(-1px);
}
.tag.active {
background: var(--grad-primary);
color: var(--white);
border-color: transparent;
box-shadow: var(--shadow-sm);
}
/* ════════════════════════════════
CONTADOR + PRODUCTOS
════════════════════════════════ */
.contador {
text-align: center;
color: var(--ink-mute);
font-size: 0.9rem;
margin-bottom: 22px;
font-weight: 500;
}
.productos-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
.producto-card {
background: var(--white);
border-radius: var(--radius-md);
overflow: hidden;
box-shadow: var(--shadow-sm);
transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
cursor: pointer;
animation: fadeInUp 0.6s ease-out backwards;
border: 1.5px solid var(--line-strong);
display: flex;
flex-direction: column;
}
.producto-card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-lg);
border-color: var(--violet);
}
.producto-img {
position: relative;
width: 100%;
aspect-ratio: 1 / 1;
background: var(--grad-soft);
overflow: hidden;
}
.producto-img img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform var(--transition-slow);
}
.producto-card:hover .producto-img img {
transform: scale(1.06);
}
.producto-cat {
position: absolute;
top: 12px;
left: 12px;
background: rgba(255, 255, 255, 0.92);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
padding: 5px 12px;
border-radius: var(--radius-pill);
font-size: 0.7rem;
font-weight: 700;
color: var(--violet-deep);
letter-spacing: 0.04em;
text-transform: uppercase;
}
.producto-info {
padding: 18px 20px 20px;
flex: 1;
display: flex;
flex-direction: column;
gap: 6px;
}
.producto-nombre {
font-size: 1.02rem;
font-weight: 600;
color: var(--ink);
letter-spacing: -0.01em;
line-height: 1.3;
}
.producto-desc {
font-size: 0.85rem;
color: var(--ink-mute);
line-height: 1.5;
flex: 1;
}
.producto-precio {
margin-top: 6px;
font-size: 1.3rem;
font-weight: 800;
background: var(--grad-text);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
letter-spacing: -0.02em;
}
/* ════════════════════════════════
EMPTY STATE
════════════════════════════════ */
.empty-state {
text-align: center;
padding: 60px 20px;
color: var(--ink-soft);
}
.empty-state p {
font-size: 1.1rem;
margin-bottom: 18px;
}
.error-state {
grid-column: 1 / -1;
text-align: center;
padding: 60px 20px;
color: var(--ink-soft);
}
.error-state p {
font-size: 1.1rem;
margin-bottom: 8px;
}
.error-detalle {
color: var(--ink-mute);
font-size: 0.85rem;
margin-bottom: 20px;
font-family: monospace;
}
/* ════════════════════════════════
FALLBACK DE IMAGEN
Se muestra cuando la imagen
del producto aún no existe
════════════════════════════════ */
.producto-fallback {
display: none;
font-size: 4rem;
line-height: 1;
filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
animation: floatFallback 4s ease-in-out infinite;
}
.producto-img.img-fallback {
display: flex;
align-items: center;
justify-content: center;
background: var(--grad-soft);
position: relative;
}
.producto-img.img-fallback::before {
content: '';
position: absolute;
inset: 0;
background:
radial-gradient(circle at 30% 30%, rgba(255,255,255,0.6), transparent 50%),
radial-gradient(circle at 70% 70%, rgba(255,255,255,0.4), transparent 50%);
}
.producto-img.img-fallback .producto-fallback {
display: block;
position: relative;
z-index: 1;
}
@keyframes floatFallback {
0%, 100% { transform: translateY(0) scale(1); }
50% { transform: translateY(-8px) scale(1.05); }
}
/* ════════════════════════════════
FOOTER
════════════════════════════════ */
.footer {
background: rgba(255, 255, 255, 0.55);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border-top: 1px solid var(--line);
padding: 50px 20px 30px;
margin-top: 80px;
max-width: none;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 2fr 1fr 1fr;
gap: 40px;
align-items: start;
}
.footer-brand {
display: flex;
flex-direction: column;
gap: 10px;
}
.footer-brand .logo {
font-size: 1.2rem;
}
.footer-brand p {
color: var(--ink-soft);
font-size: 0.92rem;
max-width: 320px;
}
.footer-links {
display: flex;
flex-direction: column;
gap: 10px;
}
.footer-links a {
color: var(--ink-soft);
text-decoration: none;
font-size: 0.92rem;
transition: color var(--transition);
width: fit-content;
}
.footer-links a:hover {
color: var(--violet-deep);
}
.footer-copy p {
color: var(--ink-mute);
font-size: 0.85rem;
line-height: 1.6;
}
/* ════════════════════════════════
ANIMATIONS
════════════════════════════════ */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
.mesh-blob { animation: none; }
}
/* ════════════════════════════════
RESPONSIVE
════════════════════════════════ */
@media (max-width: 768px) {
.nav-links {
display: none;
position: absolute;
top: 70px;
left: 0;
right: 0;
flex-direction: column;
background: var(--white);
padding: 22px;
border-radius: var(--radius-md);
box-shadow: var(--shadow-md);
gap: 18px;
border: 1px solid var(--line);
}
.nav-links.open {
display: flex;
}
.nav-toggle {
display: flex;
}
.footer-content {
grid-template-columns: 1fr;
gap: 30px;
text-align: center;
}
.footer-brand,
.footer-links {
align-items: center;
}
.footer-brand p {
margin: 0 auto;
}
}
@media (max-width: 900px) {
.productos-grid {
grid-template-columns: repeat(2, 1fr);
gap: 18px;
}
}
@media (max-width: 480px) {
.nav-container {
padding: 10px 10px 10px 20px;
}
.productos-grid {
grid-template-columns: 1fr 1fr;
gap: 14px;
}
.producto-info {
padding: 14px;
}
.producto-nombre {
font-size: 0.9rem;
}
.producto-desc {
font-size: 0.78rem;
}
.producto-precio {
font-size: 1.05rem;
}
.cat-card {
padding: 22px 14px;
}
.cat-icon {
font-size: 2rem;
}
}