body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

/* 2. Header e Status */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    height: clamp(50px, 8vh, 60px);
}

.header .logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header .logo-container img {
    height: clamp(32px, 8vw, 36px);
    width: auto;
    border-radius: 4px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.header .logo-container img:hover {
    transform: scale(1.03);
}

.header .store-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header h1 {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.015rem;
    color: white;
}

.header h1 i {
    margin-right: 0.4rem;
    font-size: 1.1em;
}

.header .status {
    font-size: clamp(0.65rem, 1.8vw, 0.75rem);
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.status {
    background-color: #03721b;
    color: rgb(250, 250, 250);
}

.status-fechado {
    background-color: var(--error-color);
    color: white;
}

.store-closed-message {
    text-align: center;
    background-color: var(--error-color);
    color: white;
    padding: 0.75rem;
    margin: 1rem auto;
    border-radius: 6px;
    max-width: 95%;
    box-shadow: var(--shadow-light);
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    font-weight: 500;
}

/* 3. Botão Flutuante do Carrinho */
.floating-cart-button {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    padding: clamp(0.75rem, 2vw, 1rem);
    font-size: clamp(1.5rem, 4vw, 1.75rem);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    z-index: 1002;
    transition: all 0.2s ease;
}

.floating-cart-button:hover {
    background-color: var(--primary-dark-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.floating-cart-button:active {
    transform: scale(1);
    box-shadow: var(--shadow-light);
}

.floating-cart-button:focus {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.floating-cart-button .cart-count {
    background-color: var(--error-color);
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    font-weight: 600;
    border: 2px solid white;
    min-width: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease;
}

.floating-cart-button:hover .cart-count {
    transform: scale(1.05);
}

/* 4. Container Principal */
.container {
    max-width: clamp(320px, 90%, 1200px);
    margin: clamp(4rem, 10vh, 5rem) auto 2rem;
    padding: 0 clamp(0.5rem, 1.5vw, 1rem);
}

/* 5. Seções de Grupos */
.group-section {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.group-section:hover {
    transform: translateY(-2px);
}

.group-section h2 {
    background-color: var(--secondary-color);
    color: white;
    padding: clamp(0.5rem, 1.5vw, 0.75rem) 1rem;
    margin: 0;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 600;
}

/* 6. Lista de Produtos */
.product-list {
    padding: clamp(0.5rem, 1vw, 0.75rem);
}

.product-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: clamp(0.5rem, 1vw, 0.75rem);
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
    gap: clamp(0.5rem, 1vw, 0.75rem);
    position: relative;
}

.product-item:hover {
    background-color: rgba(var(--primary-color-rgb), 0.03);
    box-shadow: var(--shadow-light);
}

.product-item.promo {
    background-color: var(--promo-bg-color);
}

.promo-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    background-color: var(--promo-border-color);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.promo-badge i {
    font-size: 0.8em;
    animation: pulseStar 1.5s ease-in-out infinite;
}

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

.product-image {
    width: clamp(80px, 20vw, 100px);
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: var(--shadow-light);
}

.product-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.product-info h3 {
    margin: 0;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 600;
    color: var(--heading-color);
}

.product-info p {
    margin: 0;
    font-size: clamp(0.7rem, 1.8vw, 0.75rem);
    color: var(--text-color-light);
    line-height: 1.3;
}

.product-price {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 700;
    color: var(--primary-color);
}

.product-item.promo .product-price {
    color: var(--promo-text-color);
}

.add-to-cart-btn {
    background-color: var(--primary-color);
    color: white;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-size: clamp(0.75rem, 1.8vw, 0.8rem);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-width: 80px;
    transition: all 0.2s ease;
    white-space: nowrap;
    align-self: flex-end; /* Alinha o botão à direita */
}

.add-to-cart-btn:hover {
    background-color: var(--primary-dark-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.add-to-cart-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.add-to-cart-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--btn-neutral-bg);
    color: var(--text-color-light);
}

/* 7. Modal para Adicionais */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--card-bg);
    margin: 1rem auto;
    padding: clamp(0.75rem, 2vw, 1rem);
    border-radius: 8px;
    width: clamp(280px, 95%, 600px);
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-medium);
}

.modal-close-button {
    color: var(--primary-color);
    float: right;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close-button:hover {
    color: var(--primary-dark-color);
}

.modal-body h3 {
    margin: 0 0 0.75rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.adicionais-list {
    list-style: none;
    padding: 0;
    max-height: clamp(180px, 50vh, 220px);
    overflow-y: auto;
    margin-bottom: 0.75rem;
}

.adicionais-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.adicionais-total {
    text-align: right;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    font-weight: 600;
    color: var(--primary-color);
}

.modal-quantidade {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.modal-quantidade button {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-quantidade button:hover {
    background-color: var(--secondary-dark-color);
    transform: translateY(-1px);
}

.modal-quantidade button:active {
    transform: translateY(0);
}

.modal-quantidade span {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 600;
}

.modal-add-button {
    background-color: var(--primary-color);
    color: white;
    border-radius: 6px;
    padding: 0.6rem;
    width: 100%;
    cursor: pointer;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    font-weight: 600;
    transition: all 0.2s ease;
}

.modal-add-button:hover {
    background-color: var(--primary-dark-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.modal-add-button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* 8. Estilos do Carrinho */
.cart-container {
    max-width: clamp(320px, 90%, 900px);
    margin: clamp(4rem, 10vh, 5rem) auto 2rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    padding: clamp(0.75rem, 2vw, 1rem);
}

.cart-header {
    text-align: center;
    margin-bottom: 1rem;
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    font-weight: 600;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding: clamp(0.5rem, 1vw, 0.75rem) 0;
    gap: 0.75rem;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {
    background-color: rgba(var(--primary-color-rgb), 0.03);
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.item-info h3 {
    margin: 0;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    font-weight: 600;
}

.item-price,
.item-adicionais {
    font-size: clamp(0.7rem, 1.8vw, 0.75rem);
    color: var(--text-color-light);
}

.item-adicionais {
    font-style: italic;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.item-controls button {
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.item-controls button:hover {
    background-color: var(--primary-dark-color);
    transform: translateY(-1px);
}

.item-controls button:active {
    transform: translateY(0);
}

.item-quantity {
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    font-weight: 600;
    min-width: 28px;
    text-align: center;
}

.item-subtotal {
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--error-color);
    font-size: clamp(0.9rem, 2vw, 1rem);
    cursor: pointer;
    transition: color 0.2s ease;
}

.remove-item-btn:hover {
    filter: brightness(85%);
}

.cart-summary {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

.cart-summary .total {
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.cart-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: flex-end;
}

.cart-actions a,
.cart-actions button {
    padding: clamp(0.5rem, 1.5vw, 0.75rem) 1rem;
    border-radius: 6px;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    color: white;
    transition: all 0.2s ease;
    min-width: clamp(100px, 25vw, 120px);
}

.btn-continue {
    background-color: var(--btn-neutral-bg);
}

.btn-continue:hover {
    background-color: var(--btn-neutral-bg-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.btn-continue:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-checkout {
    background-color: var(--success-color);
}

.btn-checkout:hover {
    filter: brightness(90%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.btn-checkout:active {
    filter: brightness(85%);
    transform: translateY(0);
    box-shadow: none;
}

.empty-cart-message {
    text-align: center;
    padding: 1.5rem 0;
    color: var(--text-color-light);
    font-size: clamp(0.85rem, 2vw, 0.9rem);
}

/* 9. Estilos do Checkout */
.checkout-container {
    max-width: clamp(320px, 90%, 900px);
    margin: clamp(4rem, 10vh, 5rem) auto 2rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    padding: clamp(0.75rem, 2vw, 1rem);
}

.checkout-header {
    text-align: center;
    margin-bottom: 1rem;
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    font-weight: 600;
}

.form-section {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--card-bg);
}

.form-section h3 {
    margin: 0 0 0.75rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 600;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 0.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: clamp(0.8rem, 1.8vw, 0.85rem);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--input-border-color);
    border-radius: 6px;
    font-size: clamp(0.8rem, 1.8vw, 0.85rem);
    color: var(--text-color);
    background-color: #f9fafb;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--focus-ring);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
}

.payment-method-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    cursor: pointer;
    background-color: var(--card-bg);
    transition: all 0.2s ease;
}

.payment-method-item:hover {
    background-color: rgba(var(--primary-color-rgb), 0.03);
}

.payment-method-item.selected {
    border-color: var(--secondary-color);
}

.payment-method-item i {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.payment-method-item label {
    font-weight: 600;
    font-size: clamp(0.75rem, 1.8vw, 0.8rem);
}

.troco-input {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border: 1px solid var(--input-border-color);
    border-radius: 6px;
    width: 100%;
    font-size: clamp(0.8rem, 1.8vw, 0.85rem);
}

.order-summary {
    margin-top: 1rem;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #f9fafb;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    font-size: clamp(0.8rem, 1.8vw, 0.85rem);
}

.summary-line strong {
    font-weight: 600;
}

.summary-line span {
    font-weight: 700;
    color: var(--primary-color);
}

.actions-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: flex-end;
}

.actions-buttons a,
.actions-buttons button {
    padding: clamp(0.5rem, 1.5vw, 0.75rem) 1rem;
    border-radius: 6px;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    color: white;
    transition: all 0.2s ease;
    min-width: clamp(100px, 25vw, 120px);
}

.btn-back-cart {
    background-color: var(--btn-neutral-bg);
}

.btn-back-cart:hover {
    background-color: var(--btn-neutral-bg-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.btn-back-cart:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-place-order {
    background-color: var(--success-color);
}

.btn-place-order:hover {
    filter: brightness(90%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.btn-place-order:active {
    filter: brightness(85%);
    transform: translateY(0);
    box-shadow: none;
}

/* 10. Estilos da Confirmação */
.confirmation-container {
    max-width: clamp(320px, 90%, 900px);
    margin: clamp(4rem, 10vh, 5rem) auto 2rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    padding: clamp(0.75rem, 2vw, 1rem);
    text-align: center;
}

.confirmation-header {
    color: var(--success-color);
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.order-number {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: var(--primary-color);
    font-weight: 600;
}

.order-summary-box {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 1rem;
    background-color: #f9fafb;
    text-align: left;
}

.order-summary-box h3 {
    margin: 0 0 0.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 600;
}

.order-summary-box p {
    margin: 0.3rem 0;
    font-size: clamp(0.8rem, 1.8vw, 0.85rem);
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: center;
}

.action-buttons a,
.action-buttons button {
    padding: clamp(0.5rem, 1.5vw, 0.75rem) 1rem;
    border-radius: 6px;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    color: white;
    transition: all 0.2s ease;
    min-width: clamp(100px, 25vw, 120px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
}

.btn-whatsapp:hover {
    filter: brightness(90%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.btn-whatsapp:active {
    filter: brightness(85%);
    transform: translateY(0);
    box-shadow: none;
}

.btn-print {
    background-color: var(--print-color);
}

.btn-print:hover {
    filter: brightness(90%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.btn-print:active {
    filter: brightness(85%);
    transform: translateY(0);
    box-shadow: none;
}

.btn-home {
    background-color: var(--btn-neutral-bg);
}

.btn-home:hover {
    background-color: var(--btn-neutral-bg-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.btn-home:active {
    transform: translateY(0);
    box-shadow: none;
}

/* 11. Notificações */
.notification {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--success-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    z-index: 1002;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.notification.show {
    opacity: 1;
}

.notification.error {
    background-color: var(--error-color);
}

/* 12. Media Queries para Responsividade */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        padding: clamp(0.4rem, 1.2vw, 0.6rem) clamp(0.6rem, 1.5vw, 0.8rem);
        height: clamp(45px, 7vh, 50px);
    }

    .header .logo-container img {
        height: clamp(28px, 7vw, 32px);
    }

    .header h1 {
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    }

    .header .status {
        font-size: clamp(0.6rem, 1.5vw, 0.7rem);
        padding: 0.15rem 0.4rem;
    }

    .floating-cart-button {
        font-size: clamp(1rem, 2.5vw, 1.25rem);
        padding: clamp(0.5rem, 1.2vw, 0.6rem);
        bottom: 0.75rem;
        right: 0.75rem;
    }

    .floating-cart-button .cart-count {
        font-size: clamp(0.5rem, 1.2vw, 0.6rem);
        padding: 0.15rem 0.3rem;
        min-width: 1.2rem;
        top: -0.4rem;
        right: -0.4rem;
    }

    .cart-item {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .item-controls {
        grid-row: 2 / 3;
        justify-content: flex-start;
    }

    .item-subtotal {
        grid-row: 3 / 4;
        text-align: left;
    }

    .remove-item-btn {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
        align-self: flex-end;
    }

    .cart-actions,
    .actions-buttons,
    .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cart-actions a,
    .cart-actions button,
    .actions-buttons a,
    .actions-buttons button,
    .action-buttons a,
    .action-buttons button {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .container,
    .cart-container,
    .checkout-container,
    .confirmation-container {
        max-width: 95%;
        margin: clamp(3.5rem, 8vh, 4rem) auto 1.5rem;
    }

    .product-list {
        padding: clamp(0.4rem, 0.8vw, 0.6rem);
    }

    .product-item {
        grid-template-columns: auto 1fr auto;
        padding: clamp(0.4rem, 0.8vw, 0.6rem);
        gap: clamp(0.4rem, 0.8vw, 0.6rem);
    }

    .product-image {
        width: clamp(70px, 18vw, 90px);
        max-width: 90px;
    }

    .product-details {
        max-width: 100%;
    }

    .product-info h3 {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }

    .product-info p {
        font-size: clamp(0.65rem, 1.5vw, 0.7rem);
    }

    .product-price {
        font-size: clamp(0.75rem, 1.8vw, 0.85rem);
    }

    .add-to-cart-btn {
        padding: 0.3rem 0.6rem;
        font-size: clamp(0.7rem, 1.5vw, 0.75rem);
        min-width: 70px;
    }

    .modal-content {
        padding: clamp(0.5rem, 1.5vw, 0.75rem);
        width: clamp(260px, 95%, 500px);
        max-height: 80vh;
    }

    .adicionais-list {
        max-height: clamp(160px, 45vh, 200px);
    }

    .cart-header,
    .checkout-header,
    .confirmation-header {
        font-size: clamp(1.1rem, 3vw, 1.25rem);
    }

    .item-controls button {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
}

@media (max-width: 380px) {
    .product-item {
        padding: clamp(0.3rem, 0.6vw, 0.5rem);
        gap: clamp(0.3rem, 0.6vw, 0.5rem);
    }

    .product-image {
        width: clamp(60px, 15vw, 80px);
        max-width: 80px;
    }

    .product-info h3 {
        font-size: clamp(0.75rem, 1.8vw, 0.85rem);
    }

    .product-info p {
        font-size: clamp(0.6rem, 1.4vw, 0.65rem);
    }

    .product-price {
        font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    }

    .add-to-cart-btn {
        padding: 0.3rem 0.5rem;
        font-size: clamp(0.65rem, 1.4vw, 0.7rem);
        min-width: 60px;
    }

    .modal-content {
        padding: clamp(0.4rem, 1.2vw, 0.6rem);
        width: clamp(240px, 95%, 400px);
    }

    .adicionais-list {
        max-height: clamp(140px, 40vh, 180px);
    }
}