:root {
    --primary: #1e293b;
    --accent: #2563eb;
    --success: #22c55e;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Times New Roman", Times, serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-light);
    color: var(--primary);
    line-height: 1.6;
    padding-bottom: 100px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* Header */
.header-title {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: #1a365d;
}

/* Form Styles */
.form-section {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

input[type="text"] {
    width: 100%;
    padding: 14px;
    margin-bottom: 10px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    outline: none;
}

input[type="text"]:focus {
    border-color: var(--accent);
}

.search-group { position: relative; }
.search-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.search-group input { padding-right: 45px; margin-bottom: 0; }

/* Call Buttons */
.call-center-section { text-align: center; margin-bottom: 25px; }
.call-buttons { display: flex; gap: 10px; margin-top: 10px; }
.call-btn {
    flex: 1;
    background: #fff;
    border: 2px solid var(--border);
    padding: 12px;
    border-radius: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}
.call-btn i { color: var(--success); font-size: 1.2rem; }

/* Product Grid - Fixed 2 Columns for Mobile */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    position: relative;
}

.product-date {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 8px;
    text-align: right;
}

.product-image-container {
    width: 100%;
    height: 130px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image { max-width: 100%; max-height: 100%; object-fit: contain; }

.product-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
    height: 48px;
    overflow: hidden;
    color: var(--primary);
}

.product-price {
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 900;
    margin-bottom: 12px;
}

/* BIG AND CLEAR CONTROLS */
.counter-module {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
}

.counter-btn {
    background: #ffffff;
    border: 1px solid #cbd5e0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.counter-btn:active { transform: scale(1.1); background: #edf2f7; }

.counter-value {
    width: 40px;
    text-align: center;
    font-weight: 900;
    font-size: 1.2rem;
    border: none;
    background: transparent;
}

/* Sticky Footer Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 15px;
    right: 15px;
    max-width: 570px;
    margin: 0 auto;
    background-color: var(--success);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
    z-index: 9999;
}

.top-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #fbbf24;
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 900;
    z-index: 10;
}
