:root {
    --primary: #10b981; /* Emerald */
    --primary-hover: #059669;
    --bg: #020617; /* Slate 950 */
    --card-bg: #0f172a; /* Slate 900 */
    --text: #f8fafc;
    --text-muted: #64748b;
    --border: #1e293b;
    --accent: #334155;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    height: 70px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 2px solid var(--primary);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text);
}

.cart-btn {
    cursor: pointer;
    background: var(--accent);
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.cart-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.main-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        margin-bottom: 20px;
    }
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    padding: 12px 15px;
    font-size: 0.85rem;
    color: #e2e8f0; /* Un blanco azulado más brillante */
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.category-list li:hover, .category-list li.active {
    color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
    border-radius: 4px;
    padding-left: 20px;
}

.hero-commercial {
    position: relative;
    height: 450px;
    background: url('hero.png') center/cover no-repeat;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 4rem;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(2,6,23,1) 30%, rgba(2,6,23,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    border: 1px solid var(--primary);
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-content p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.feature-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px; /* Industrial look */
    padding: 1rem;
    transition: border-color 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    border-color: var(--primary);
}

.product-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: #1e293b;
    margin-bottom: 1rem;
    object-fit: cover;
    border: 1px solid var(--border);
}

.product-info h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.2rem;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.4rem;
}

.price-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-add {
    background: var(--accent);
    color: white;
    border: 1px solid var(--border);
    padding: 0.6rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.btn-add:hover {
    background: var(--primary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: var(--bg);
    margin-left: auto;
    height: 100%;
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    border-left: 2px solid var(--primary);
    display: flex;
    flex-direction: column;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.cart-item img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.item-info {
    flex: 1;
}

.item-info h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    color: var(--text);
}

.item-info p {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    padding: 0.2rem;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.qty-controls button {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.2s;
}

.qty-controls button:hover {
    color: var(--primary);
}

.qty-controls span {
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0 0.5rem;
    transition: transform 0.2s;
}

.remove-item:hover {
    transform: scale(1.2);
}

.btn-primary {
    width: 100%;
    background: var(--primary);
    color: var(--bg);
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
