@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;700;800;900&display=swap');

:root {
    --primary: #ff6b00; /* Laranja Fogo */
    --background: #f8fafc;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    /* Sombra de Elite (Multi-layer) */
    --shadow-elite: 0 1px 3px rgba(0,0,0,0.05), 0 10px 25px -10px rgba(0,0,0,0.1), 0 5px 10px -5px rgba(0,0,0,0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.4;
}

h1, h2, .font-outfit { font-family: 'Outfit', sans-serif; }

.container { width: 100%; max-width: 500px; margin: 0 auto; padding: 0 1rem; }

/* Header Elite - Clean & Deep */
header {
    background: white;
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo-img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 4px 8px rgba(255, 107, 0, 0.2); }

.search-pill {
    flex: 1;
    background: #f1f5f9;
    border-radius: 99px;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
}

.search-pill input {
    background: transparent;
    border: none;
    width: 100%;
    outline: none;
    font-size: 0.8rem;
    color: var(--text);
}

/* Grid Elite - Mobile focus */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1.5rem 0 6rem 0;
}

/* Card Elite Professional */
.offer-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 0.85rem;
    text-decoration: none;
    box-shadow: var(--shadow-elite);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.8);
}

.offer-card:active { transform: scale(0.96); }

.card-img-box {
    width: 100%;
    aspect-ratio: 1/1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    position: relative;
    border-radius: 12px;
}

.card-img { max-width: 90%; max-height: 90%; object-fit: contain; }

.card-store-badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 25px;
    height: 25px;
    background: white;
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
    height: 1.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 0.5rem;
}

.card-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary);
}

/* Página de Produto Elite Compact */
.p-elite-card {
    background: white;
    border-radius: 24px;
    margin-top: 1rem;
    box-shadow: var(--shadow-elite);
    overflow: hidden;
}

.p-hero {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.p-img-mini {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: white;
    border-radius: 12px;
    padding: 10px;
}

.p-info { display: flex; flex-direction: column; }

.p-tag-elite {
    font-size: 0.5rem;
    font-weight: 800;
    color: white;
    background: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 0.4rem;
}

.p-title-elite {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    line-height: 1.1;
    font-weight: 800;
    color: #1e293b;
}

.p-body-elite { padding: 1.25rem; }

.p-price-area {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.p-price-large { font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 900; color: var(--primary); }
.p-price-old { font-size: 0.8rem; color: var(--text-muted); text-decoration: line-through; }

.p-coupon-elite {
    background: #fff7ed;
    border: 1.5px dashed var(--primary);
    border-radius: 14px;
    padding: 0.6rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.coupon-txt { font-weight: 900; font-size: 1rem; color: #1e293b; letter-spacing: 1px; }

.p-btn-elite {
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: white;
    width: 100%;
    padding: 1rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.05rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 20px -5px rgba(255, 107, 0, 0.4);
}

/* Nav Bottom Elite */
.nav-bottom {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 0.8rem 0;
    border-top: 1px solid #f1f5f9;
    z-index: 2000;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.03);
}

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-item.active { color: var(--primary); }
 .nav-item span:first-child { font-size: 1.1rem; margin-bottom: 2px; }
