/* FLASH SALE */
.flash-sale {
    background: linear-gradient(135deg, var(--color-light-pink) 0%, var(--color-white) 100%);
    border-top: 2px solid var(--color-secondary-pink);
    border-bottom: 2px solid var(--color-secondary-pink);
}

.countdown {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-weight: var(--font-weight-bold);
    color: var(--color-error);
    font-size: var(--font-size-large);
}

#timer {
    font-family: 'Courier New', monospace;
    background-color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    min-width: 120px;
    text-align: center;
}

/* PRODUCT CARD */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: #f5f5f5;
}

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

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

.product-image-hover {
    display: none;
}

.product-card:hover .product-image-hover {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.product-name {
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    min-height: 40px;
}

.product-price {
    padding: 0 15px;
    margin-bottom: 10px;
}

.price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
    margin-right: 8px;
}

.price-current {
    color: #ff1493;
    font-weight: bold;
    font-size: 16px;
}

.product-rating {
    padding: 0 15px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #666;
}

.stars {
    margin-right: 5px;
    font-size: 13px;
}

.reviews {
    color: #999;
}

/* Flex grow to push button to bottom */
.product-card > *:not(.btn-encomenda-small) {
    flex-shrink: 0;
}

.btn-encomenda-small {
    margin-top: auto;
    margin: 10px 15px 15px 15px;
}

.badge-encomenda {
    margin: 8px 15px 0 15px;
    display: block;
}

/* CATEGORIAS */
.categories {
    background-color: var(--bg-primary);
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    height: 200px;
    background: #f5f5f5;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    margin: 0;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
}

/* LOOKS */
.looks {
    background-color: var(--bg-secondary);
}

.looks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

@media (max-width: 768px) {
    .looks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .looks-grid {
        grid-template-columns: 1fr;
    }
}

.look-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.look-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.15);
}

.look-image {
    height: 250px;
    overflow: hidden;
}

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

.look-card:hover .look-image img {
    transform: scale(1.05);
}

.look-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.look-details h3 {
    color: #ff1493;
    margin-bottom: 10px;
    font-size: 20px;
}

.look-details p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.btn-encomenda-small {
    margin-top: auto;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 768px) {
    .look-card {
        grid-template-columns: 1fr;
    }
    
    .look-image {
        height: 200px;
    }
    
    .look-details {
        padding: 20px;
    }
}

/* TESTIMONIALS */
.testimonials {
    background: linear-gradient(135deg, var(--color-light-pink) 0%, var(--color-white) 100%);
}

.testimonial-card {
    background-color: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.testimonial-header {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    align-items: center;
}

.testimonial-header img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial-header h4 {
    margin: 0;
    font-size: var(--font-size-body);
}

.testimonial-header p {
    margin: 0;
    font-size: var(--font-size-small);
    color: var(--text-tertiary);
}

.testimonial-rating {
    font-size: var(--font-size-large);
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    margin: 0;
    font-size: var(--font-size-body);
    color: var(--text-secondary);
    font-style: italic;
}

/* NEWSLETTER */
.newsletter {
    background: linear-gradient(135deg, var(--color-primary-pink) 0%, var(--color-secondary-pink) 100%);
    color: var(--color-white);
}

.newsletter .container {
    max-width: 600px;
    text-align: center;
}

.newsletter-content h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-body);
    background-color: rgba(255, 255, 255, 0.95);
}

.newsletter-form input::placeholder {
    color: var(--text-tertiary);
}

.newsletter-form button {
    min-width: 150px;
}

.newsletter-divider {
    margin: var(--spacing-lg) 0;
    color: rgba(255, 255, 255, 0.7);
    font-weight: var(--font-weight-semibold);
}

.newsletter .btn-whatsapp {
    width: 100%;
}

/* COMO COMPRAR SECTION */
.como-comprar {
    background: linear-gradient(135deg, #fff5f9, #ffe0ec);
    padding: 60px 0;
    margin: 40px 0;
}

.como-comprar .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    color: #ff1493;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #25D366;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
}

.step-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.step-card h3 {
    color: #333;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
}

.step-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.como-comprar-cta {
    text-align: center;
    margin-top: 30px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .flash-sale,
    .looks,
    .testimonials,
    .newsletter {
        padding: var(--spacing-2xl) 0;
    }

    .section-title {
        margin-bottom: var(--spacing-lg);
        font-size: var(--font-size-xl);
    }

    .section-title::after {
        width: 40px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form button {
        width: 100%;
    }

    .como-comprar {
        padding: 40px 0;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-card {
        padding: 25px 20px;
    }
    
    .step-icon {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    section {
        padding: var(--spacing-xl) 0;
    }

    .mobile-2 {
        gap: var(--spacing-md);
    }

    .mobile-3 {
        gap: var(--spacing-md);
    }

    .product-name {
        font-size: var(--font-size-small);
    }

    .section-title {
        font-size: var(--font-size-xl);
    }
}
