:root {
    --negro: #050505;
    --gris-oscuro: #171717;
    --gris: #f4f4f4;
    --amarillo: #ffd000;
    --amarillo-hover: #e6bb00;
    --blanco: #ffffff;
    --rojo: #dc2626;
}

* {
    box-sizing: border-box;
}

body {
    background: #f7f7f7;
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
}

.header-amir {
    background: var(--negro);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.logo-amir {
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 1.45rem;
}

.logo-amir span {
    color: var(--amarillo);
}

.navbar .nav-link {
    color: #f1f1f1;
    font-weight: 600;
}

.navbar .nav-link:hover {
    color: var(--amarillo);
}

.btn-amarillo {
    background: var(--amarillo);
    color: #000;
    font-weight: 800;
    border: 1px solid var(--amarillo);
}

.btn-amarillo:hover {
    background: var(--amarillo-hover);
    border-color: var(--amarillo-hover);
    color: #000;
}

.hero-slide {
    min-height: 520px;
    background: linear-gradient(135deg, #050505, #1f1f1f);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.45), rgba(0,0,0,.15));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 650px;
    padding: 80px 0;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.2rem;
    color: #eee;
}

.section-title {
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-subtitle {
    color: #555;
    margin-bottom: 30px;
}

.categoria-box {
    background: #fff;
    border-radius: 18px;
    padding: 35px;
    min-height: 210px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    border: 1px solid #eee;
    transition: .25s;
}

.categoria-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
}

.categoria-box h3 {
    font-weight: 900;
}

.producto-card {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .25s ease;
}

.producto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

.producto-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 320px;
    background: #111;
    position: relative;
    overflow: hidden;
}

.producto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.producto-card:hover .producto-img {
    transform: scale(1.05);
}

.placeholder-producto {
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--amarillo);
    font-weight: 900;
    letter-spacing: 2px;
    background:
        radial-gradient(circle at top left, rgba(255,208,0,.3), transparent 30%),
        linear-gradient(135deg, #111, #000);
}

.badge-descuento {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--rojo);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 900;
    font-size: .85rem;
}

.badge-etiqueta {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--amarillo);
    color: #000;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 900;
    font-size: .8rem;
}

.categoria-mini {
    color: #777;
    font-size: .8rem;
    text-transform: uppercase;
    font-weight: 800;
}

.producto-title {
    font-weight: 900;
    font-size: 1.05rem;
}

.producto-desc {
    color: #666;
    font-size: .9rem;
    min-height: 42px;
}

.precio-box {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.precio-normal {
    text-decoration: line-through;
    color: #777;
    font-size: .9rem;
}

.precio-oferta {
    font-weight: 900;
    font-size: 1.25rem;
    color: #111;
}

.beneficio-card {
    background: #fff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,.07);
    height: 100%;
}

.beneficio-card h5 {
    font-weight: 900;
}

.filtro-box {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,.07);
}

.carrito-item {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,.07);
}

.carrito-img {
    width: 95px;
    height: 95px;
    object-fit: cover;
    border-radius: 14px;
    background: #111;
}

.admin-top {
    background: #fff;
    padding: 14px 0;
    border-bottom: 1px solid #ddd;
}

.admin-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.table-admin {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
}

.login-box {
    max-width: 430px;
    margin: 70px auto;
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,.12);
}

.footer-amir {
    background: #050505;
    color: #fff;
    padding: 50px 0 25px;
}

.footer-amir h4,
.footer-amir h5 {
    color: var(--amarillo);
    font-weight: 900;
}

.footer-list {
    padding-left: 18px;
}

.footer-amir hr {
    border-color: rgba(255,255,255,.15);
}

.form-control,
.form-select {
    border-radius: 12px;
}

.alert {
    border-radius: 14px;
}

.img-admin-mini {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 10px;
    background: #111;
}

@media (max-width: 768px) {
    .hero-slide {
        min-height: 430px;
    }

    .hero-content {
        padding: 55px 0;
    }

    .producto-img-wrap {
        height: 230px;
    }
}

.producto-carousel,
.producto-carousel .carousel-inner,
.producto-carousel .carousel-item {
    height: 100%;
}

.producto-control {
    width: 34px;
    height: 34px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.55);
    border-radius: 50%;
    opacity: 1;
}

.producto-control.carousel-control-prev {
    left: 10px;
}

.producto-control.carousel-control-next {
    right: 10px;
}

.producto-control .carousel-control-prev-icon,
.producto-control .carousel-control-next-icon {
    width: 16px;
    height: 16px;
}

.producto-indicators {
    margin-bottom: 8px;
}

.producto-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50%;
}

.foto-admin-box {
    width: 120px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 10px;
    text-align: center;
}

.foto-admin-box .img-admin-mini {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.foto-admin-box input[type="number"] {
    text-align: center;
    font-weight: 700;
}

.producto-destino {
    scroll-margin-top: 160px;
}

@media (max-width: 768px) {
    .producto-destino {
        scroll-margin-top: 110px;
    }
}

.catalogo-producto-unico .producto-card {
    max-width: 420px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .catalogo-producto-unico .col-lg-4,
    .catalogo-producto-unico .col-xl-3 {
        flex: 0 0 auto;
        width: 420px;
    }
}

@media (max-width: 991px) {
    .filtro-box {
        margin-top: 10px;
    }

    #filtrosCatalogo {
        margin-bottom: 25px;
    }
}

