body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: hsl(210, 17%, 98%);
    margin: 0;
    padding: 0;
}
h2 {
    text-align: center;
    margin-top: 30px;
    color: #222;
}
.productos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px auto;
    max-width: 1200px;
}
.producto {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    width: 270px;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.producto:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}
.producto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #eee;
}
.info {
    padding: 18px 16px 24px 16px;
    width: 100%;
    box-sizing: border-box;
}
.nombre {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}
.descripcion {
    color: #666;
    font-size: 0.98em;
    margin-bottom: 12px;
    min-height: 40px;
}
.precio {
    color: #010c00;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 8px;
}
.categoria {
    background: #e3e3e3;
    color: #555;
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 0.9em;
    display: inline-block;
}
.footer {
    text-align: center;
    margin: 40px 0 20px 0;
    color: #888;
}
a.gestion {
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    background: #010c00;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}
a.gestion:hover {
    background: #010c00;
}
.comprar-btn {
    display: block;
    margin: 18px auto 0 auto;
    background: #010c00;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(37,211,102,0.08);
}
.comprar-btn:hover {
    background: #D2AB66;
}
.tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}
.tab-btn {
    padding: 10px 20px;
    background: #eee;
    border: none;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
}
.tab-btn.active {
    background: #010c00;
    color: #fff;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}
th, td {
    border: 1px solid #ccc;
    padding: 8px;
}
th {
    background: #f4f4f4;
}
.btn-editar {
    background: #010c00;
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none;
    margin-right: 5px;
    font-size: 0.95em;
    transition: background 0.2s;
}
.btn-editar:hover {
    background: #3b6d13;
}
.btn-eliminar {
    background: #c00;
    color: #fff;
    padding: 5px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.95em;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-eliminar:hover {
    background: #900;
}
.marca {
    text-align: center;
    font-size: 2.2em;
    font-weight: bold;
    margin: 30px 0 10px 0;
    letter-spacing: 2px;
    color: #010c00;
}
.marca img {
    width: 90%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
    height: auto;
}
.slider-ofertas {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.slider-ofertas img, .slider-ofertas .oferta-texto {
    width: 100%;
    display: none;
    height: 180px;
    object-fit: cover;
}
.slider-ofertas img.active, .slider-ofertas .oferta-texto.active {
    display: block;
}
.slider-dots {
    text-align: center;
    margin-top: 8px;
}
.slider-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 4px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}
.slider-dot.active {
    background: #010c00;
}

@media (max-width: 800px) {
    .slider-ofertas, .slider-ofertas img, .slider-ofertas .oferta-texto { height: 120px; }
}
@media (max-width: 500px) {
    .slider-ofertas, .slider-ofertas img, .slider-ofertas .oferta-texto { height: 80px; }
    .marca { font-size: 1.3em; }
}
.footer {
    background: #f4f4f4;
    color: #333;
    text-align: center;
    padding: 30px 10px 10px 10px;
    margin-top: 40px;
    font-size: 1em;
}
.footer a {
    color: #D2AB66;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
}
.footer a:hover {
    text-decoration: underline;
}

/* Mejorar responsividad en móviles */
@media (max-width: 600px) {
    .productos {
        flex-direction: column;
        gap: 16px;
        margin: 16px 4px;
        max-width: 100%;
    }
    .producto {
        width: 100%;
        min-width: 0;
        border-radius: 10px;
        margin: 0 auto;
    }
    .producto img {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
    }
    .info {
        padding: 12px 8px 16px 8px;
    }
    .marca img {
        max-width: 90vw;
    }
    table {
        font-size: 0.95em;
        overflow-x: auto;
        display: block;
    }
}