:root {
    --primary-color: #CD7F32;
    --primary-dark: #B8722E;
    --primary-light: #E8A656;
    --secondary-color: #8B4513;
    --bg-light: #FFF8F0;
    --bg-dark: #2C1810;
    --text-primary: #2C1810;
    --text-secondary: #6B5344;
    --text-muted: #9B8B7E;
    --border-color: #E8DDD4;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
}

.checkout-main {
    min-height: calc(100vh - 120px);
    padding: 2rem 0;
    background: var(--bg-light);
}

.checkout-header {
    margin-bottom: 2rem;
}

.checkout-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.checkout-header p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.checkout-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}

.checkout-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.checkout-item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-light);
}

.checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.checkout-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.checkout-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.btn-remove-item {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.btn-remove-item:hover {
    color: var(--danger-color);
}

.checkout-item-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.option-tag {
    font-size: 0.75rem;
    background: var(--bg-light);
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.checkout-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 0.25rem;
}

.quantity-control button {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-control button:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
}

.quantity-control button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.qty-value {
    min-width: 28px;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.checkout-item-prices {
    text-align: right;
}

.unit-price {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.subtotal-price {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.checkout-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.checkout-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.checkout-card-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-card-header h2 i {
    color: var(--primary-color);
}

.items-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.checkout-card-body {
    padding: 0.5rem 0;
}

.checkout-card-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

.checkout-summary {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.summary-row.summary-total {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px dashed var(--border-color);
    color: var(--text-primary);
    font-size: 1.25rem;
}

.summary-row.summary-total strong {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.btn-confirmar {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.btn-confirmar:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.4);
}

.btn-confirmar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-voltar {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-voltar:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkout-alert {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    min-width: 300px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 10px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.loading-content {
    text-align: center;
}

.loading-content .spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
}

.loading-content p {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.loading-state,
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: var(--primary-color);
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(205, 127, 50, 0.15);
}

@media (max-width: 991px) {
    .checkout-summary {
        position: static;
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .checkout-item {
        flex-direction: column;
    }
    
    .checkout-item-image {
        width: 100%;
        height: 150px;
    }
    
    .checkout-item-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .checkout-item-prices {
        text-align: center;
    }
    
    .quantity-control {
        justify-content: center;
    }
}.checkout-card-header i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.checkout-card-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0;
}

.cart-items-list {
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-image .placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 1.5rem;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.cart-item-options {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.cart-item-options span {
    display: block;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 0.25rem;
}

.quantity-control button {
    width: 28px;
    height: 28px;
    border: none;
    background: white;
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-control button:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-control button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-control span {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
}

.remove-item {
    background: none;
    border: none;
    color: var(--danger-color);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.remove-item:hover {
    background: rgba(220, 53, 69, 0.1);
}

.cart-item-subtotal {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-cart i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-cart h5 {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-group label span {
    color: var(--danger-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(205, 127, 50, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.order-summary {
    position: sticky;
    top: 140px;
}

.summary-items {
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.summary-divider {
    border-top: 1px dashed var(--border-color);
    margin: 0.75rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.summary-total .value {
    color: var(--primary-color);
}

.btn-submit-order {
    width: 100%;
    padding: 1rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-submit-order:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.3);
}

.btn-submit-order:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit-order i {
    font-size: 1rem;
}

.back-to-cardapio {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease;
}

.back-to-cardapio:hover {
    color: var(--primary-color);
}

.confirmation-main {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    padding: 2rem 0;
    background: var(--bg-light);
}

.confirmation-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
}

.confirmation-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.confirmation-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.confirmation-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.order-info-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.order-number {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--border-color);
}

.order-number .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.order-number .value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.order-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.detail-item i {
    color: var(--primary-color);
}

.order-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.status-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-muted);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.status-step.active .status-icon {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.status-step span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.status-step.active span {
    color: var(--success-color);
    font-weight: 500;
}

.status-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    min-width: 30px;
    max-width: 60px;
}

.confirmation-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.confirmation-actions .btn {
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.confirmation-actions .btn-primary {
    background: var(--primary-gradient);
    border: none;
}

.confirmation-actions .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.confirmation-actions .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

.pedidos-main {
    min-height: calc(100vh - 120px);
    padding: 2rem 0;
    background: var(--bg-light);
}

.pedidos-header {
    margin-bottom: 2rem;
}

.pedidos-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pedidos-header p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.pedido-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pedido-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.pedido-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.pedido-numero {
    font-weight: 600;
    color: var(--text-primary);
}

.pedido-status {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.pedido-status.pendente {
    background: rgba(255, 193, 7, 0.15);
    color: #c79100;
}

.pedido-status.em-preparo {
    background: rgba(0, 123, 255, 0.15);
    color: #0056b3;
}

.pedido-status.pronto {
    background: rgba(40, 167, 69, 0.15);
    color: #1e7e34;
}

.pedido-status.entregue {
    background: rgba(108, 117, 125, 0.15);
    color: #545b62;
}

.pedido-status.cancelado {
    background: rgba(220, 53, 69, 0.15);
    color: #bd2130;
}

.pedido-card-body {
    padding: 1rem 1.25rem;
}

.pedido-items-preview {
    margin-bottom: 0.75rem;
}

.pedido-items-preview span {
    display: inline-block;
    background: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.pedido-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pedido-info {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pedido-info i {
    color: var(--primary-color);
    margin-right: 0.25rem;
}

.pedido-total {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.no-orders {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.no-orders i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.no-orders h4 {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.no-orders p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
}

.loading-spinner i {
    font-size: 3rem;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

.loading-spinner p {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 991px) {
    .order-summary {
        position: static;
        margin-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    .checkout-main,
    .confirmation-main,
    .pedidos-main {
        padding: 1rem 0;
    }
    
    .checkout-card {
        padding: 1rem;
    }
    
    .cart-item {
        flex-wrap: wrap;
    }
    
    .cart-item-actions {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px dashed var(--border-color);
    }
    
    .confirmation-icon {
        font-size: 4rem;
    }
    
    .confirmation-title {
        font-size: 1.5rem;
    }
    
    .order-number .value {
        font-size: 1.5rem;
    }
    
    .order-status {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .status-line {
        display: none;
    }
    
    .pedido-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .back-to-cardapio {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .checkout-main,
    .confirmation-main,
    .pedidos-main {
        padding: 0.75rem 0;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .checkout-card {
        padding: 0.875rem;
        border-radius: 12px;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    
    .cart-item-details h4 {
        font-size: 0.9rem;
    }
    
    .cart-item-price {
        font-size: 0.85rem;
    }
    
    .form-control,
    .form-select {
        font-size: 0.9rem;
        padding: 0.6rem 0.75rem;
    }
    
    .form-label {
        font-size: 0.85rem;
    }
    
    .btn-primary,
    .btn-outline-secondary {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .summary-total {
        font-size: 1.1rem;
    }
    
    .pedidos-header h2 {
        font-size: 1.3rem;
    }
    
    .pedido-card {
        padding: 0.875rem;
    }
    
    .pedido-numero {
        font-size: 0.9rem;
    }
    
    .pedido-total {
        font-size: 1rem;
    }
    
    .no-orders i {
        font-size: 3rem;
    }
    
    .no-orders h4 {
        font-size: 1.1rem;
    }
    
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 12px;
    }
    
    .modal-header {
        padding: 0.875rem 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 0.875rem 1rem;
    }
}

@media (max-width: 400px) {
    .checkout-card {
        padding: 0.75rem;
    }
    
    .cart-item-image {
        width: 50px;
        height: 50px;
    }
    
    .cart-item-details {
        gap: 0.25rem;
    }
    
    .cart-item-details h4 {
        font-size: 0.85rem;
    }
    
    .quantity-control button {
        width: 28px;
        height: 28px;
    }
    
    .quantity-control span {
        min-width: 28px;
        font-size: 0.85rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn,
    .quantity-control button,
    .cart-item-remove {
        min-height: 44px;
        min-width: 44px;
    }
}
