/* DS4x4 - Catálogo */

.header-tc {
    min-width: 0;
}

/* Hero superior del catálogo */
.hero-landing {
    position: relative;
    background-image: url('../images/landingfoto_05.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-landing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
}
.hero-landing__content {
    position: relative;
    z-index: 1;
}

.product-card {
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Fondo del espacio de la foto: degradado de marca cuando no hay imagen */
.product-thumb {
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}
.product-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.product-thumb:has(span) {
    background: linear-gradient(135deg, #F36B21 0%, #b94e12 45%, #111111 100%);
}
.thumb {
    background: linear-gradient(135deg, #F36B21 0%, #b94e12 45%, #111111 100%);
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Efecto agregar al carrito */
.cart-fly {
    position: fixed;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    object-fit: cover;
    background: #fff;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.75s ease;
}

@keyframes cartBump {
    0% { transform: scale(1); }
    35% { transform: scale(1.18); }
    65% { transform: scale(0.94); }
    100% { transform: scale(1); }
}
.cart-bump {
    animation: cartBump 0.45s ease;
}

.btn-add-cart.added {
    background-color: #16a34a !important;
    border-color: #16a34a !important;
    color: #fff !important;
}

/* Estado abierto / cerrado en footer */
.footer-status__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    flex-shrink: 0;
}
.footer-status--open {
    color: #4ade80;
}
.footer-status--open .footer-status__dot {
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
}
.footer-status--closed {
    color: #f87171;
}
.footer-status--closed .footer-status__dot {
    background: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2);
}

