/* Estilos inspirados en Temu para Pinkmento */

/* Variables de colores Temu */
:root {
    --temu-orange: #ff6600;
    --temu-red: #ff3333;
    --temu-yellow: #ffcc00;
    --temu-blue: #0066cc;
    --temu-green: #00cc66;
    --temu-purple: #9933cc;
    --temu-pink: #ff6699;
    --temu-dark: #333333;
    --temu-light: #f5f5f5;
    --temu-white: #ffffff;
    --temu-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --temu-border-radius: 8px;
}

/* Banner principal estilo Temu */
.temu-banner {
    background: linear-gradient(135deg, var(--temu-orange) 0%, var(--temu-red) 100%);
    color: white;
    padding: 15px 0;
    text-align: center;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    animation: temu-pulse 2s infinite;
}

.temu-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.1) 20px
    );
    animation: temu-stripe 3s linear infinite;
}

@keyframes temu-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes temu-stripe {
    0% { transform: translateX(-50px); }
    100% { transform: translateX(50px); }
}

/* Tarjetas de producto estilo Temu */
.temu-product-card {
    background: var(--temu-white);
    border-radius: var(--temu-border-radius);
    box-shadow: var(--temu-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.temu-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--temu-orange);
}

.temu-product-image {
    position: relative;
    overflow: hidden;
}

.temu-product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.temu-product-card:hover .temu-product-image img {
    transform: scale(1.1);
}

/* Badges y etiquetas estilo Temu */
.temu-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--temu-red);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
    animation: temu-bounce 1s infinite;
}

.temu-badge.hot {
    background: var(--temu-orange);
}

.temu-badge.new {
    background: var(--temu-green);
}

.temu-badge.sale {
    background: var(--temu-red);
}

@keyframes temu-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Precios estilo Temu */
.temu-price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.temu-current-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--temu-red);
}

.temu-original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.temu-discount {
    background: var(--temu-yellow);
    color: var(--temu-dark);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
}

/* Botones estilo Temu */
.temu-btn {
    background: linear-gradient(135deg, var(--temu-orange) 0%, var(--temu-red) 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.temu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,102,0,0.4);
}

.temu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.temu-btn:hover::before {
    left: 100%;
}

/* Contador regresivo estilo Temu */
.temu-countdown {
    background: var(--temu-dark);
    color: white;
    padding: 15px;
    border-radius: var(--temu-border-radius);
    text-align: center;
    margin: 20px 0;
}

.temu-countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.temu-countdown-item {
    background: var(--temu-red);
    padding: 10px;
    border-radius: 5px;
    min-width: 50px;
}

.temu-countdown-number {
    font-size: 20px;
    font-weight: bold;
    display: block;
}

.temu-countdown-label {
    font-size: 12px;
    opacity: 0.8;
}

/* Indicadores de stock estilo Temu */
.temu-stock-indicator {
    background: rgba(255,51,51,0.1);
    border: 1px solid var(--temu-red);
    border-radius: var(--temu-border-radius);
    padding: 10px;
    margin: 10px 0;
    text-align: center;
}

.temu-stock-bar {
    background: #eee;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin: 5px 0;
}

.temu-stock-fill {
    background: linear-gradient(90deg, var(--temu-red) 0%, var(--temu-orange) 100%);
    height: 100%;
    width: 30%;
    border-radius: 4px;
    animation: temu-stock-pulse 2s infinite;
}

@keyframes temu-stock-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Notificaciones de compra estilo Temu */
.temu-purchase-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    border-radius: var(--temu-border-radius);
    box-shadow: var(--temu-shadow);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: temu-slide-in 0.5s ease;
}

@keyframes temu-slide-in {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.temu-notification-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--temu-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* Grid de productos estilo Temu */
.temu-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* Sección de ofertas flash estilo Temu */
.temu-flash-sale {
    background: linear-gradient(135deg, var(--temu-red) 0%, var(--temu-purple) 100%);
    color: white;
    padding: 30px;
    border-radius: var(--temu-border-radius);
    text-align: center;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.temu-flash-sale::before {
    content: '⚡';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    animation: temu-flash 1s infinite;
}

@keyframes temu-flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive design */
@media (max-width: 768px) {
    .temu-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .temu-countdown-timer {
        gap: 10px;
    }
    
    .temu-countdown-item {
        min-width: 40px;
        padding: 8px;
    }
    
    .temu-purchase-notification {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}

/* Animaciones adicionales */
.temu-shake {
    animation: temu-shake 0.5s ease-in-out;
}

@keyframes temu-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.temu-glow {
    animation: temu-glow 2s ease-in-out infinite;
}

@keyframes temu-glow {
    0%, 100% { box-shadow: 0 0 5px var(--temu-orange); }
    50% { box-shadow: 0 0 20px var(--temu-orange), 0 0 30px var(--temu-orange); }
}

