:root {
    --primary-green: #16a34a;
    --dark-green: #15803d;
    --light-green: #dcfce7;
    --gold: #d4af37;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #475569;
    --text-dark: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-gray);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-green);
}

.header-actions {
    display: flex;
    align-items: center;
}

.cart-icon, .user-icon {
    position: relative;
    margin-left: 20px;
    font-size: 20px;
    color: var(--dark-gray);
    cursor: pointer;
    transition: color 0.3s;
}

.cart-icon:hover, .user-icon:hover {
    color: var(--primary-green);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-green);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    width: 200px;
    z-index: 10;
}

.user-menu.active {
    display: block;
}

.user-menu a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--dark-gray);
    transition: background 0.3s;
}

.user-menu a:hover {
    background-color: var(--light-green);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 800px;
    width: 90%;
    padding: 40px;
    background: rgba(0,0,0,0.6);
    border-radius: 15px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.hero-indicator.active {
    background: white;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--primary-green);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-green);
    color: white;
}

/* About Section */
.about-section {
    background: var(--white);
    padding: 80px 0;
}

.about-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--dark-gray);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 40px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.feature h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature p {
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* Products Section */
.section-title {
    text-align: center;
    margin: 60px 0 40px;
    font-size: 36px;
    color: var(--text-dark);
}

.filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.3;
}

.product-description {
    color: var(--dark-gray);
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.price-hidden {
    display: flex;
    align-items: center;
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-size: 14px;
}

.price-hidden i {
    margin-right: 8px;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 14px;
}

.add-to-cart:hover {
    background: var(--dark-green);
}

.view-price-btn {
    width: 100%;
    padding: 12px;
    background: var(--white);
    color: var(--primary-green);
    border: 1px solid var(--primary-green);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.view-price-btn:hover {
    background: var(--primary-green);
    color: white;
}

/* Contact Section */
.contact-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3,
.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 20px;
    color: var(--primary-green);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--dark-gray);
    margin: 0;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    font-size: 16px;
    transition: border 0.3s;
}

.contact-form .form-control:focus {
    border-color: var(--primary-green);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Product Modal */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.product-modal.active {
    display: flex;
}

.product-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--medium-gray);
}

.product-modal-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
}

.close-product-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-gray);
}

.product-modal-body {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.product-modal-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 20px;
    object-fit: cover;
}

.product-modal-details {
    flex: 1;
}

.product-modal-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--dark-gray);
}

.product-modal-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.product-modal-actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

/* Auth Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-gray);
}

.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--medium-gray);
}

.auth-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
}

.auth-tab.active {
    color: var(--primary-green);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-green);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-control:focus {
    border-color: var(--primary-green);
    outline: none;
}

.error-message {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    flex-direction: column;
}

.cart-modal.active {
    display: flex;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--medium-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    font-size: 20px;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--medium-gray);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.cart-item-price {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background: var(--light-gray);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-input {
    width: 40px;
    height: 30px;
    text-align: center;
    border: 1px solid var(--medium-gray);
    margin: 0 5px;
    border-radius: 4px;
}

.remove-item {
    margin-left: 10px;
    color: #e53e3e;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--medium-gray);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background: var(--dark-green);
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: var(--dark-gray);
}

.empty-cart i {
    font-size: 50px;
    margin-bottom: 15px;
    color: var(--medium-gray);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 14px;
}

/* ===== RESPONSIVE STYLES ===== */

/* Desktop */
@media (min-width: 768px) {
    .product-modal-body {
        flex-direction: row;
    }
    
    .product-modal-image {
        margin: 0 20px 0 0;
        max-width: 300px;
    }
    
    .product-modal-actions {
        flex-direction: row;
    }
}

/* Tablet e Mobile */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    /* Header Mobile */
    .header-content {
        flex-wrap: wrap;
        padding: 10px 0;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0 0 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo-img {
        height: 40px;
    }
    
    /* Hero Mobile */
    .hero {
        height: 300px;
        max-width: 100vw;
        overflow: hidden;
    }
    
    .hero-content {
        width: 95%;
        padding: 20px 15px;
        max-width: none;
    }
    
    .hero-content h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Products Grid Mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 40px;
    }
    
    .product-card {
        margin-bottom: 0;
        min-width: 0;
    }
    
    .product-image {
        height: 140px;
        width: 100%;
        object-fit: cover;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-name {
        font-size: 14px;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .product-description {
        font-size: 12px;
        margin-bottom: 10px;
        -webkit-line-clamp: 2;
        line-height: 1.3;
    }
    
    .product-price {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .price-hidden {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .add-to-cart,
    .view-price-btn {
        padding: 8px 6px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    /* Section Titles Mobile */
    .section-title {
        font-size: 28px;
    }
    
    /* Filters Mobile */
    .filters {
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    /* Modal Mobile */
    .product-modal-content {
        width: 95%;
        margin: 20px auto;
        max-height: 85vh;
    }
    
    .product-modal-body {
        padding: 15px;
        flex-direction: column;
    }
    
    .product-modal-image {
        max-width: 100%;
        margin: 0 auto 15px;
    }
    
    .product-modal-title {
        font-size: 20px;
    }
    
    .product-modal-description {
        font-size: 14px;
    }
    
    .product-modal-price {
        font-size: 20px;
    }
    
    .product-modal-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    /* Cart Modal Mobile */
    .cart-modal {
        max-width: 100%;
    }
    
    /* Contact Section Mobile - CORREÇÃO IMPORTANTE */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        order: 2;
        background: var(--white);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .contact-form {
        order: 1;
        background: var(--white);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .contact-item {
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .contact-item i {
        font-size: 18px;
        margin-right: 12px;
    }
    
    .contact-form .form-group {
        margin-bottom: 15px;
    }
    
    .contact-form .form-control {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .contact-form textarea.form-control {
        min-height: 100px;
    }
    
    .contact-form .btn {
        width: 100%;
        display: block;
    }
    
    /* About Section Mobile */
    .about-section {
        padding: 50px 0;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature {
        padding: 20px 15px;
    }
    
    .feature i {
        font-size: 32px;
    }
    
    .feature h4 {
        font-size: 18px;
    }
}

/* Mobile Pequeno */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-info {
        padding: 10px 8px;
    }
    
    .product-name {
        font-size: 13px;
    }
    
    .product-description {
        font-size: 11px;
    }
    
    .hero {
        height: 250px;
    }
    
    .hero-content h1 {
        font-size: 20px;
    }
    
    .hero-content p {
        font-size: 13px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .contact-content {
        gap: 25px;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 18px;
    }
    
    .contact-item {
        margin-bottom: 15px;
        padding: 0 5px;
    }
    
    .contact-item i {
        font-size: 16px;
        margin-right: 10px;
    }
    
    .contact-form .form-control {
        padding: 8px 10px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile Muito Pequeno */
@media (max-width: 360px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-image {
        height: 160px;
    }
}

/* ===== GARANTIR QUE NADA ESTOURE A LARGURA ===== */
* {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

.product-card {
    max-width: 100%;
    overflow: hidden;
}

/* ===== CORREÇÃO ESPECÍFICA PARA MODAL NO MOBILE ===== */
@media (max-width: 768px) {
    .product-modal {
        padding: 10px;
    }
    
    .product-modal-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
    }
    
    .product-modal-header {
        padding: 15px;
        position: sticky;
        top: 0;
        background: white;
        z-index: 1;
    }
    
    .product-modal-body {
        padding: 15px;
        overflow-y: auto;
    }
}

/* ===== CORREÇÃO PARA HERO NO MOBILE ===== */
@media (max-width: 768px) {
    .hero-slides {
        width: 100%;
    }
    
    .hero-slide {
        width: 100%;
    }
    
    .hero-indicators {
        bottom: 15px;
    }
}

/* CORREÇÃO DO CARRINHO MOBILE - ALTURA LIVRE */
@media (max-width: 768px) {
    .cart-sidebar {
        height: 100vh;
        display: flex;
        flex-direction: column;
    }
    
    .cart-sidebar-content {
        flex: 1;
        overflow-y: auto;
        max-height: none !important;
        height: auto;
    }
    
    .cart-sidebar-footer {
        flex-shrink: 0;
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 2px solid #e9ecef;
    }
    
    .cart-items {
        max-height: none !important;
        overflow-y: visible;
    }
}

/* CORREÇÃO DO MODAL DE CHECKOUT - LARGURA 100% */
@media (max-width: 768px) {
    #checkout-modal .modal-content {
        width: 95% !important;
        margin: 10px auto !important;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .delivery-form-grid {
        grid-template-columns: 1fr !important;
    }
    
    .payment-options {
        flex-direction: column;
    }
    
    .payment-content {
        flex-direction: row !important;
        text-align: left !important;
    }
}

/* REMOVER OPÇÃO DINHEIRO DO CHECKOUT */
.payment-option[data-method="dinheiro"] {
    display: none !important;
}