:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color-1: #e74c3c;
    --accent-color-2: #27ae60;
    --text-color-dark: #333;
    --text-color-light: #ecf0f1;
    --background-light: #ffffff;
    --background-gray: #f8f8f8;
    --border-color: #e0e0e0;
    --font-family-sans: 'Arial', sans-serif;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-sans);
    color: var(--text-color-dark);
    line-height: 1.6;
    background-color: var(--background-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* BOTÕES */
.btn, .btn-buy {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-color-light);
}

.btn-primary:hover {
    background: #1a2c3a;
}

.btn-buy {
    background: var(--accent-color-2);
    color: var(--text-color-light);
    margin-top: 10px;
}

.btn-buy:hover {
    background: #219653;
}

/* GRID */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
}

/* CARD */
.product-card.offer-card {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
    overflow: hidden;
}

.product-card.offer-card:hover {
    transform: translateY(-5px);
}

/* IMAGEM */
.product-thumb {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* BADGE DESCONTO */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color-1);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transform: rotate(-5deg);
    z-index: 2;
}

/* OFERTA PRIME DAY */
.offer-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    margin: 8px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* PREÇOS */
.price-info {
    margin: 10px 0;
}

.old-price {
    color: var(--accent-color-1);
    text-decoration: line-through;
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.current-price {
    color: var(--accent-color-2);
    font-size: 1.2em;
    font-weight: bold;
}

/* TÍTULO PRODUTO */
.product-title {
    font-size: 1em;
    color: var(--primary-color);
    margin: 5px 0;
    text-decoration: none;
}

/* IMAGENS RESPONSIVAS GERAIS */
.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* TÍTULO DE SEÇÃO */
h2.section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}
