/* ===== Integrale Nutri - Design Premium ===== */
/* Paleta: verde escuro, verde oliva, dourado/caramelo, bege claro */


:root {
    --primary: #4a6741;
    --primary-dark: #344a2e;
    --primary-light: #6b8f5e;
    --primary-glow: rgba(74,103,65,0.15);
    --secondary: #c4956a;
    --secondary-light: #d4a87a;
    --secondary-dark: #a87a52;
    --accent: #8fae7e;
    --accent-light: #b5d4a5;
    --bg-light: #f8f5f1;
    --bg-cream: #f0ebe4;
    --bg-warm: #faf7f3;
    --text-dark: #2d3a28;
    --text-medium: #5a6b52;
    --text-light: #8a9680;
    --text-body: #4a5a42;
    --white: #ffffff;
    --danger: #e74c3c;
    --success: #27ae60;
    --warning: #f39c12;
    --info: #3498db;
    --border: #e0d8cf;
    --border-light: #ede8e1;
    --shadow-sm: 0 2px 8px rgba(45,58,40,0.06);
    --shadow-md: 0 4px 20px rgba(45,58,40,0.08);
    --shadow-lg: 0 8px 40px rgba(45,58,40,0.12);
    --shadow-xl: 0 16px 60px rgba(45,58,40,0.16);
    --shadow-glow: 0 4px 30px rgba(74,103,65,0.2);
    --gradient-primary: linear-gradient(135deg, #4a6741 0%, #6b8f5e 50%, #8fae7e 100%);
    --gradient-hero: linear-gradient(135deg, #344a2e 0%, #4a6741 40%, #6b8f5e 80%, #8fae7e 100%);
    --gradient-warm: linear-gradient(135deg, #c4956a 0%, #d4a87a 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 50px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-body);
    min-height: 100vh;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
}

/* ===== Scrollbar Custom ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-cream); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== Navbar Premium ===== */
.navbar {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: none !important;
    box-shadow: 0 1px 30px rgba(45,58,40,0.08);
    padding: 12px 0;
    transition: var(--transition);
    z-index: 1050;
}

.navbar.scrolled {
    padding: 6px 0;
    box-shadow: 0 4px 30px rgba(45,58,40,0.12);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(74,103,65,0.2));
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.brand-slogan {
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.88rem;
    transition: var(--transition);
    padding: 0.5rem 1.1rem !important;
    border-radius: var(--radius-full);
    position: relative;
}

.nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-glow);
}

.nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-glow);
    font-weight: 600;
}

.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    border-radius: var(--radius-full);
    padding: 8px 22px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(74,103,65,0.25);
    letter-spacing: 0.3px;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(74,103,65,0.35);
    color: var(--white);
    filter: brightness(1.05);
}

.btn-secondary-custom {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-dark);
    border-radius: var(--radius-full);
    padding: 8px 22px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-secondary-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-glow);
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-full);
    padding: 8px 22px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-cart {
    background: var(--gradient-primary);
    color: var(--white) !important;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(74,103,65,0.3);
    border: none;
}

.btn-cart:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 25px rgba(74,103,65,0.4);
    color: var(--white) !important;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 0.6rem;
    padding: 3px 7px;
    border-radius: 50%;
    background: var(--danger) !important;
    border: 2px solid var(--white);
    font-weight: 700;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ===== Hero Section Premium ===== */
.hero-section {
    background: var(--gradient-hero);
    padding: 80px 0 90px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(196,149,106,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroFloat 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(143,174,126,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroFloat 10s ease-in-out infinite reverse;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 100px 100px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-title span {
    color: var(--secondary-light);
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
    font-weight: 300;
    max-width: 500px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.hero-btn:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.hero-btn i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.hero-btn:hover i {
    transform: translateX(4px);
}

.hero-logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-light);
}

.hero-stat-label {
    font-size: 0.75rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Section Styles ===== */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-warm);
    border-radius: 3px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 35px;
    margin-top: 12px;
}

.section-header {
    margin-bottom: 40px;
}

/* ===== Dica da Semana Card ===== */
.dica-card {
    background: linear-gradient(135deg, rgba(74,103,65,0.06) 0%, rgba(196,149,106,0.08) 100%);
    border: 1px solid rgba(74,103,65,0.12);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.dica-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-warm);
    border-radius: 4px;
}

.dica-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(74,103,65,0.2);
}

.dica-card .dica-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-warm);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(196,149,106,0.3);
}

/* ===== Product Cards Premium ===== */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card .card-img-container {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.product-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.product-card:hover .card-img-top,
.product-card:hover .placeholder-img {
    transform: scale(1.08);
}

.product-card .card-img-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
    pointer-events: none;
}

.product-card .card-body {
    padding: 22px;
}

.product-card .product-name {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card .product-desc {
    color: var(--text-light);
    font-size: 0.82rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

.product-card .product-price-old {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.nutri-info {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.nutri-badge {
    background: var(--bg-cream);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    color: var(--text-medium);
    font-weight: 500;
    border: 1px solid var(--border-light);
}

/* ===== Badges Premium ===== */
.badge-destaque {
    background: var(--gradient-warm);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 0 0 var(--radius-md) 0;
    font-size: 0.72rem;
    font-weight: 600;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(196,149,106,0.3);
}

.badge-dica {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 0 0 var(--radius-md) 0;
    font-size: 0.72rem;
    font-weight: 600;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(74,103,65,0.3);
}

.badge-promo {
    background: linear-gradient(135deg, var(--danger), #c0392b);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 0 0 var(--radius-md) 0;
    font-size: 0.72rem;
    font-weight: 600;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    letter-spacing: 0.5px;
}

/* ===== Add to Cart Button ===== */
.btn-add-cart {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(74,103,65,0.25);
    cursor: pointer;
    text-decoration: none;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(74,103,65,0.4);
    color: var(--white);
    filter: brightness(1.08);
}

/* ===== Category Pills ===== */
.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-full);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.88rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.category-pill:hover, .category-pill.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.category-pill .cat-emoji {
    font-size: 1.2rem;
}

/* ===== Cart Summary ===== */
.cart-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    position: sticky;
    top: 100px;
}

/* ===== Quantity Buttons ===== */
.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* ===== Order Cards ===== */
.order-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.order-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.status-badge {
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.status-pendente { background: #fef3cd; color: #856404; }
.status-confirmado { background: #cce5ff; color: #004085; }
.status-preparando { background: #d4edda; color: #155724; }
.status-pronto { background: #d1ecf1; color: #0c5460; }
.status-saiu_entrega { background: #e2d5f1; color: #5a2d82; }
.status-entregue { background: #d4edda; color: #155724; }
.status-cancelado { background: #f8d7da; color: #721c24; }

/* ===== Footer Premium ===== */
.footer-custom {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #263520 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
}

.footer-custom::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(143,174,126,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-brand img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-brand-slogan {
    font-size: 0.72rem;
    opacity: 0.6;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-link {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.footer-link:hover {
    color: var(--secondary-light);
    transform: translateX(4px);
}

.footer-link i {
    font-size: 0.75rem;
    opacity: 0.5;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--secondary-light);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 20px;
}

/* ===== Extras Section ===== */
.extra-item {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    cursor: pointer;
}

.extra-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.extra-item.selected {
    background: linear-gradient(135deg, rgba(74,103,65,0.04) 0%, rgba(143,174,126,0.08) 100%);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* ===== Auth Pages ===== */
.auth-container {
    max-width: 460px;
    margin: 50px auto;
    padding: 44px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.auth-container .logo-auth {
    width: 90px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(74,103,65,0.15));
}

.auth-container .form-control {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--bg-warm);
}

.auth-container .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    background: var(--white);
}

/* ===== Tipo Pedido Cards ===== */
.tipo-pedido-card {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tipo-pedido-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.tipo-pedido-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tipo-pedido-card:hover::before,
.tipo-pedido-card.selected::before {
    opacity: 1;
}

.tipo-pedido-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(74,103,65,0.03) 0%, rgba(143,174,126,0.06) 100%);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.tipo-pedido-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
    transition: var(--transition);
}

.tipo-pedido-card:hover i {
    transform: scale(1.15);
    color: var(--primary-dark);
}

/* ===== Info Feature Cards ===== */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 3px;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::after {
    width: 60px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-icon-delivery {
    background: linear-gradient(135deg, rgba(74,103,65,0.1), rgba(143,174,126,0.15));
    color: var(--primary);
}

.feature-icon-balcao {
    background: linear-gradient(135deg, rgba(196,149,106,0.1), rgba(212,168,122,0.15));
    color: var(--secondary);
}

.feature-icon-saudavel {
    background: linear-gradient(135deg, rgba(231,76,60,0.08), rgba(231,76,60,0.12));
    color: var(--danger);
}

/* ===== Form Controls ===== */
.form-control, .form-select {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

/* ===== Cards gerais ===== */
.card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg) !important;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

/* ===== Placeholder Images ===== */
.placeholder-img {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--accent-light) 50%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.placeholder-img::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(-30%, -30%); }
    50% { transform: translate(30%, 30%); }
}

/* ===== Toast ===== */
.toast-custom {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    display: none;
    font-weight: 500;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.toast-custom.show {
    display: block;
    animation: toastSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== Admin Styles ===== */
.admin-sidebar {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #263520 100%);
    min-height: 100vh;
    width: 270px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    padding-top: 0;
    transition: var(--transition);
    box-shadow: 4px 0 30px rgba(0,0,0,0.15);
}

.admin-sidebar .sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    background: rgba(0,0,0,0.1);
}

.admin-sidebar .sidebar-header img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.admin-sidebar .sidebar-header .sidebar-brand {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

.admin-sidebar .sidebar-header .sidebar-slogan {
    color: var(--secondary-light);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7) !important;
    padding: 13px 22px !important;
    font-size: 0.86rem;
    border-left: 3px solid transparent;
    transition: var(--transition);
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-sidebar .nav-link:hover {
    color: var(--white) !important;
    background: rgba(255,255,255,0.08);
    border-left-color: var(--secondary);
    padding-left: 26px !important;
}

.admin-sidebar .nav-link.active {
    color: var(--white) !important;
    background: rgba(255,255,255,0.12);
    border-left-color: var(--secondary);
    font-weight: 600;
}

.admin-sidebar .nav-link i {
    width: 22px;
    text-align: center;
    font-size: 1rem;
    opacity: 0.8;
}

.admin-content {
    margin-left: 270px;
    padding: 24px;
    min-height: 100vh;
    background: var(--bg-light);
}

.admin-topbar {
    background: var(--white);
    padding: 16px 28px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-light);
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card .stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.stat-card .stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-card .stat-label {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.admin-table th {
    background: var(--bg-cream);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 14px 18px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 14px 18px;
    font-size: 0.88rem;
    vertical-align: middle;
    border-color: var(--border-light);
}

.admin-table tbody tr {
    transition: var(--transition);
}

.admin-table tbody tr:hover {
    background: rgba(74,103,65,0.03);
}

.notification-dot {
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.fade-in {
    animation: fadeInUp 0.7s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }
.fade-in-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ===== Responsivo ===== */
@media (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(-100%);
        width: 270px;
    }
    .admin-sidebar.show {
        transform: translateX(0);
    }
    .admin-content {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-section { padding: 50px 0 60px; min-height: auto; }
    .hero-stats { gap: 20px; }
    .hero-stat-value { font-size: 1.4rem; }
    .product-card .card-img-top,
    .product-card .card-img-container { height: 180px; }
    .section-title { font-size: 1.6rem; }
    .auth-container { margin: 20px; padding: 30px; }
    .feature-card { padding: 28px 20px; }
    
    /* Navbar mobile */
    .navbar { padding: 8px 0; }
    .navbar-brand img { height: 36px; }
    .navbar-brand span { font-size: 1rem; }
    .navbar-brand small { font-size: 0.55rem; }
    
    /* Cards e grid */
    .product-card { margin-bottom: 10px; }
    .product-name { font-size: 1rem; }
    .product-desc { font-size: 0.82rem; }
    .product-price { font-size: 1.1rem; }
    
    /* Checkout mobile */
    .tipo-pedido-card { padding: 15px 10px; }
    .tipo-pedido-card i { font-size: 1.5rem; }
    .tipo-pedido-card h6 { font-size: 0.85rem; }
    
    /* Dica da semana */
    .dica-card { padding: 20px; }
    .dica-icon { width: 40px; height: 40px; font-size: 1rem; }
    
    /* Footer */
    .footer-section { text-align: center; }
    .footer-section h5 { margin-top: 20px; }
    
    /* Promo banner */
    .promo-banner { padding: 30px 20px; }
    .promo-banner h3 { font-size: 1.4rem; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.8rem; }
    .hero-stats { flex-direction: column; gap: 12px; }
    .category-pill { padding: 10px 18px; font-size: 0.82rem; }
    
    /* Containers */
    .container { padding-left: 15px; padding-right: 15px; }
    
    /* Cards menores */
    .product-card .card-img-top,
    .product-card .card-img-container { height: 160px; }
    .nutri-badge { font-size: 0.7rem; padding: 3px 8px; }
    .btn-add-cart { padding: 8px 16px; font-size: 0.8rem; }
    
    /* Auth */
    .auth-container { margin: 10px; padding: 24px 18px; }
    .auth-container h2 { font-size: 1.4rem; }
    
    /* Perfil */
    .perfil-header { padding: 20px 15px; }
    .perfil-stat { padding: 8px; }
    .perfil-stat .h4 { font-size: 1.1rem; }
    
    /* Carrinho */
    .cart-item { flex-direction: column; gap: 10px; }
    
    /* Section titles */
    .section-title { font-size: 1.4rem; }
    .section-subtitle { font-size: 0.85rem; }
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: var(--primary);
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* ===== Alert custom ===== */
.alert {
    border-radius: var(--radius-md);
    border: none;
    font-size: 0.88rem;
}

/* ===== Section Divider ===== */
.section-divider {
    display: none;
}

/* ===== Promo Banner ===== */
.promo-banner {
    background: var(--gradient-warm);
    border-radius: var(--radius-xl);
    padding: 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
