:root {
    --primary-blue: #0B0B47;
    --primary-orange: #F17128;
    --secondary-gray: #f5f5f5;
    --text-color: #333;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--secondary-gray);
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header */
header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1001;
    /* Higher than Nav */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 80px;
    object-fit: contain;
}

.search-bar {
    flex: 1;
    display: flex;
    max-width: 600px;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-right: none;
    border-radius: 25px 0 0 25px;
    outline: none;
    font-size: 1rem;
}

.search-bar button {
    padding: 10px 20px;
    background-color: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.search-bar button:hover {
    background-color: #d95e1c;
}

.cart-info {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--primary-blue);
}

.cart-text {
    display: flex;
    flex-direction: column;
    text-align: right;
    margin-right: 10px;
    font-size: 0.9rem;
}

.cart-icon {
    position: relative;
    font-size: 1.8rem;
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-orange);
    color: var(--white);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Navigation */
.main-nav {
    background-color: var(--primary-blue);
    color: var(--white);
    position: sticky;
    top: 90px;
    /* Below the header which is ~90px height */
    z-index: 999;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    display: block;
    padding: 15px 20px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-list a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Menu de Departamentos */
.dept-nav {
    background-color: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 139px; /* 90px header + ~49px main-nav */
    z-index: 998;
}

.dept-list {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
    /* Hide scrollbar for clean look */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.dept-list::-webkit-scrollbar {
    display: none;
}

.dept-list li {
    flex-shrink: 0;
}

.dept-list a {
    display: block;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.dept-list a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Dropdown de subcategorias */
.dept-list li.has-dropdown {
    position: relative;
}

.dept-list li.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dept-list li.has-dropdown > a i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.dept-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background-color: var(--white);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 6px 0;
    white-space: nowrap;
}

.dept-list li.has-dropdown:hover .dept-dropdown {
    display: block;
}

.dept-list li.has-dropdown:hover > a i {
    transform: rotate(180deg);
}

.dept-dropdown li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-color);
    font-size: 0.9rem;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dept-dropdown li:last-child a {
    border-bottom: none;
}

.dept-dropdown li a:hover {
    background-color: var(--primary-orange);
    color: var(--white);
}

/* Abas de subcategoria na página do departamento */
.subdept-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 24px 0;
}

.subdept-tab {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    transition: var(--transition);
    cursor: pointer;
}

.subdept-tab:hover,
.subdept-tab.active {
    background-color: var(--primary-orange);
    color: var(--white);
}

/* Título do departamento com subcategoria */
.subdept-crumb {
    color: var(--primary-orange);
    font-weight: 500;
}


/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1286px;
    /* Matches the banner image width */
    margin: 0 auto;
    /* Centers the slider */
    overflow: hidden;
    background-color: transparent;
    /* Removed gray bg to avoid seeing it if loading */
}

.slider-container {
    display: grid;
    /* Stack slides using grid */
    width: 100%;
}

.slide {
    grid-area: 1 / 1;
    /* All slides occupy the same cell */
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: relative;
    /* Restores flow so container takes height */
}

.slide img {
    width: 100%;
    height: auto;
    /* Maintains natural aspect ratio */
    object-fit: fill;
    /* Forces the image to fill the aspect-ratio container */
    display: block;
    /* Removes bottom spacing */
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--primary-orange);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    /* Visible gray for inactive */
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid #999;
    /* Slight border */
}

.dot.active,
.dot:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: scale(1.2);
}

/* Sections General */
section {
    padding: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.section-header h2 {
    color: var(--primary-blue);
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-orange);
}

.btn-outline {
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #d95e1c;
}

/* Flash Deals */
.flash-deals {
    background-color: #fff9f0;
    border-top: 5px solid var(--primary-orange);
}

.flash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.flash-header h2 {
    color: #d95e1c;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.countdown {
    display: flex;
    align-items: center;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
}

.countdown span {
    margin-right: 10px;
    font-weight: normal;
    font-size: 1rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-title {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 10px;
    height: 2.4rem;
    /* Limit to 2 lines */
    overflow: hidden;
}

.product-price {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.limit-badge {
    font-size: 0.75rem;
    color: #e74c3c;
    border: 1px solid #e74c3c;
    padding: 2px 6px;
    border-radius: 12px;
    font-weight: 600;
    background-color: rgba(231, 76, 60, 0.05);
}

.btn-add-cart {
    width: 100%;
    padding: 10px;
    background-color: #25d366;
    /* Whatsapp Greenish */
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background-color: #128c7e;
}

.cart-action-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-top: auto;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.btn-qty {
    background: none;
    border: none;
    padding: 10px 12px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
    cursor: pointer;
}

.qty-input {
    width: 35px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    padding: 0;
}

.cart-action-group .btn-add-cart {
    flex: 1;
}

/* Banner Promo */
.promo-banner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 80px;
    background: url('imagens/fundo-churrasco.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    border-radius: 12px;
    margin: 40px auto;
    min-height: 300px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.banner-box {
    text-align: center;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-box h3 {
    font-size: 3.5rem;
    color: var(--white);
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-top: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
    padding: 10px 0;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 100%;
}

.banner-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    width: 100%;
}

.btn-red {
    background-color: #c62828;
    color: var(--white);
    padding: 15px 45px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-red:hover {
    background-color: #a52121;
    transform: scale(1.05);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form h2,
.location-map h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer-col h3 {
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.contact-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons a {
    font-size: 1.5rem;
    margin-right: 15px;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.credits {
    margin-top: 8px;
    font-size: 0.85rem;
}

.credits a {
    color: var(--primary-orange);
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition);
}

.credits a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: flex-end;
    overflow: hidden;
}

.cart-content {
    background-color: var(--white);
    width: 400px;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.close-cart {
    align-self: flex-end;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.btn-clear-cart {
    background: none;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-clear-cart:hover {
    background-color: #e74c3c;
    color: white;
}

.cart-scroll-area {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    margin: 20px 0;
    padding-right: 5px; /* Evita que a barra de rolagem cubra os botões de lixeira */
}

.cart-items-list {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: bold;
    display: block;
}

.cart-item-price {
    font-size: 0.9rem;
    color: #666;
}

.cart-controls button {
    background: #eee;
    border: none;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-weight: bold;
}

/* Checkout Form Styles */
.checkout-form {
    display: flex; /* The JS will control if it's shown or not */
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.checkout-form .form-group {
    margin-bottom: 0;
}

.checkout-form .form-group input,
.checkout-form .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.95rem;
}

.checkout-form .form-group select {
    background-color: white;
}

.checkout-error {
    color: #e74c3c;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 5px;
    display: none;
    font-weight: 500;
}

.cart-footer {
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.btn-whatsapp {
    width: 100%;
    background-color: #25d366;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }

    .search-bar {
        order: 3;
        width: 100%;
    }

    .nav-list {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .nav-list::-webkit-scrollbar {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        height: 250px;
    }
}
/* ============================================
   CHURRASCÃ”METRO STYLES - COMPLETE REDESIGN
   ============================================ */

.churrasco-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Guest Counter Panel - Horizontal Layout */
.guests-header-panel {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    border-top: 4px solid #e74c3c;
}

.guest-counter-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.guest-counter-group label {
    font-size: 1rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.counter-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-round {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.btn-round.minus {
    background-color: #e74c3c;
}

.btn-round.plus {
    background-color: #c0392b;
}

.btn-round:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

.counter-control input {
    width: 70px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 8px;
    color: #333;
    background-color: #f9f9f9;
}

/* Section Titles */
.section-title {
    font-size: 1.1rem;
    color: #333;
    margin: 40px 0 25px 0;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    border-left: 5px solid var(--primary-orange);
    padding-left: 15px;
}

/* Cards Grid Layout */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.selection-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.selection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card-header {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 18px 20px;
    font-weight: 800;
    color: #444;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-bottom: 2px solid #eee;
    font-size: 0.95rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.card-header i {
    color: #666;
    font-size: 1.3rem;
}

.card-body {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #555;
    cursor: pointer;
    user-select: none;
    padding: 5px 0;
    transition: color 0.2s;
}

.check-item:hover {
    color: var(--primary-orange);
}

.check-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-orange);
    cursor: pointer;
}

/* Actions Footer */
.final-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.btn-link-red {
    color: #c0392b;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: capitalize;
    transition: color 0.2s;
}

.btn-link-red:hover {
    color: #e74c3c;
    text-decoration: underline;
}

.btn-hero-red {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 16px 45px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.35);
    transition: all 0.3s ease;
}

.btn-hero-red:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(231, 76, 60, 0.45);
}

/* Results Area */
.result-area {
    margin-top: 60px;
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    border-top: 6px solid var(--primary-orange);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    animation: fadeInUp 0.5s ease;
}

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

.result-area h2 {
    text-align: center;
    color: var(--primary-orange);
    font-size: 2rem;
    margin-bottom: 35px;
    font-weight: 800;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.result-card {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.result-card h4 {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.result-value {
    color: #333;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.result-value .unit {
    color: #999;
    font-size: 1rem;
    font-weight: 500;
    margin-left: 5px;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.btn-outline {
    border: 2px solid var(--primary-orange);
    background: white;
    color: var(--primary-orange);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .guests-header-panel {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    
    .guest-counter-group {
        width: 100%;
    }
    
    .counter-control {
        justify-content: center;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .final-actions {
        flex-direction: column-reverse;
        gap: 15px;
    }
    
    .btn-hero-red {
        width: 100%;
    }
    
    .result-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Mode Selector Styles */
.mode-calc-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.mode-dropdown {
    padding: 14px 25px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #e74c3c;
    border-radius: 8px;
    background-color: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.mode-dropdown:hover {
    border-color: #c0392b;
    background-color: #fff5f5;
}

.mode-dropdown:focus {
    outline: none;
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

@media (max-width: 768px) {
    .mode-calc-group {
        flex-direction: column;
        width: 100%;
    }
    
    .mode-dropdown {
        width: 100%;
    }
}

/* Info Banner Styles */
.info-banner {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 35px;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.2);
}

.info-banner i {
    font-size: 1.3rem;
    opacity: 0.9;
}

.info-banner span {
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .info-banner {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
}
/* Estilos para o Upload de Currículo */
.file-label {
    display: inline-block;
    padding: 12px 20px;
    background-color: var(--secondary-gray);
    color: var(--primary-blue);
    border: 2px dashed #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
    width: 100%;
}

.file-label:hover {
    border-color: var(--primary-orange);
    background-color: #fff9f5;
}

.file-label i {
    margin-right: 8px;
    color: var(--primary-orange);
}

.file-hint {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
    font-weight: normal;
}

.file-input {
    display: none; /* Ocultar o input real e mostrar apenas a label estilizada */
}

.file-name-display {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--primary-orange);
    font-weight: 500;
    word-break: break-all;
}

/* Componente Toast (Balão de Sucesso) */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    color: var(--text-color);
    padding: 16px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 5px solid #2ecc71; /* Cor de sucesso */
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast i {
    font-size: 1.5rem;
    color: #2ecc71;
}

.toast-content {
    display: flex;
    flex-direction: column;
}

.toast-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-blue);
}

.toast-message {
    font-size: 0.9rem;
    color: #666;
}

/* Receitas Grid */
.recipes-section {
    background-color: #fcfcfc;
    padding-bottom: 80px;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.recipe-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 1px solid #eee;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.recipe-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.recipe-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-red);
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.recipe-info {
    padding: 25px;
}

.recipe-cat {
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.recipe-info h3 {
    margin: 10px 0;
    font-size: 1.4rem;
    color: #333;
}

.recipe-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.recipe-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.recipe-time {
    font-size: 0.85rem;
    color: #888;
}

/* Recipe Modal */
.recipe-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.recipe-modal-content {
    background: white;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 25px;
    position: relative;
    overflow-y: auto;
    padding: 0;
}

.close-recipe {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0,0,0,0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.close-recipe:hover {
    background: rgba(0,0,0,0.5);
}

.recipe-detail-header {
    height: 350px;
    position: relative;
}

.recipe-detail-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-detail-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 40px;
    color: white;
}

.recipe-detail-body {
    padding: 40px;
}

.recipe-segments {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.recipe-ingredients-list, .recipe-steps-list {
    margin-top: 15px;
    list-style: none;
}

.recipe-ingredients-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    color: #444;
}

.recipe-steps-list li {
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
}

.recipe-steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.recipe-steps-list {
    counter-reset: step-counter;
}

@media (max-width: 768px) {
    .recipe-segments {
        grid-template-columns: 1fr;
    }
    .recipe-detail-header {
        height: 250px;
    }
    .recipe-detail-title-overlay {
        padding: 20px;
    }
    .recipe-detail-body {
        padding: 20px;
    }
}

/* Adjustments for weight-based sales */
.qty-input {
    width: 50px; /* Wider to fit 0.000 */
    text-align: center;
}

.price-subtext {
    font-size: 0.8rem;
    color: #888;
    margin-top: -5px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        padding: 12px 20px;
    }

    .promo-banner {
        padding: 30px 20px;
        justify-content: center;
        text-align: center;
        min-height: 250px;
    }
    .promo-banner h3 {
        font-size: 1.8rem;
    }
    .promo-banner p {
        font-size: 0.95rem;
    }

    /* Fix para o Sticky Duplo na tela pequena e remoção de sticky no Header gigante */
    header {
        position: relative;
    }
    .main-nav {
        top: 0;
    }
    .dept-nav {
        top: 48px; /* Teto ajustado para compensar a nav principal */
    }

    /* No mobile: alinha à esquerda para que o scroll horizontal com o dedo funcione */
    .dept-list {
        justify-content: flex-start;
        padding-left: 8px;  /* Pequeno respiro na borda esquerda */
    }

    .nav-list a, .dept-list a {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    /* Produtos: 2 por linha no celular (max 768px) */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .product-image {
        height: 150px; /* Reduz altura da imagem no mobile para caber 2 cards */
    }

    .product-title {
        font-size: 0.9rem; /* Reduz tamanho da fonte do titulo no mobile */
        height: 2.5rem;   /* Ajusta o limite das 2 linhas de texto */
    }

    .product-price {
        font-size: 1.2rem;
    }
    
    .btn-qty {
        padding: 5px 8px; /* Botões de qty menores */
    }
    
    .qty-input {
        width: 25px; /* Input menor */
    }

    .cart-action-group .btn-add-cart {
        padding: 8px; /* Botão de adicionar menor */
        font-size: 0.9rem;
    }
}
