/* ESTILOS BASE - CARDÁPIO DIGITAL LIGHT THEME */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-app);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 80px; /* Espaço para o carrinho flutuante */
}

/* Barra de rolagem fina e discreta, combinando com o tema claro do cardápio em vez
   da barra larga e cinza padrão do navegador. */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
}
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
*::-webkit-scrollbar-track {
    background: transparent;
}
*::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.18);
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.35);
    background-clip: padding-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

.text-danger { color: var(--color-danger); }
.text-success { color: var(--color-success); }
.text-muted { color: var(--text-muted); }
.text-right { text-align: right; }

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ================== 1. HEADER (Banner e Busca) ================== */
.store-header {
    background-color: var(--bg-surface);
    position: relative;
    padding-bottom: 24px;
}

.header-banner {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
}

.header-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
}

.header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
}

.store-logo {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    border: 2px solid #FFF;
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

.store-title {
    color: #FFF;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.store-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 24px;
}

.search-bar {
    background-color: #FFF;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    padding: 12px 20px;
    box-shadow: var(--shadow-md);
    position: absolute;
    bottom: -60px;
    left: 20px;
    right: 20px;
}

@media(min-width: 768px) {
    .search-bar {
        position: relative;
        bottom: 0; left: 0; right: 0;
    }
    .header-banner { height: 260px; }
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--text-primary);
}

.search-bar i {
    color: var(--text-secondary);
    font-size: 20px;
}

/* ================== 2. STATUS BOX ================== */
.store-info-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 16px 20px;
    margin: 0 auto;
    max-width: 1000px;
    border-bottom: 1px solid #E5E7EB;
    background-color: var(--bg-app);
}

@media(max-width: 768px) {
    .store-info-bar {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s;
}

.info-item:hover {
    background-color: #F3F4F6;
}

.info-text {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.info-popover {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 16px;
    width: 250px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    cursor: default;
    border: 1px solid #E5E7EB;
}

/* O triângulozinho (setinha) do balão */
.info-popover::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: white;
    border-left: 1px solid #E5E7EB;
    border-top: 1px solid #E5E7EB;
}

.info-item:hover .info-popover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #F3F4F6;
    color: #444;
}
.schedule-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.btn-text {
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
}

/* ================== 3. CATEGORIAS (CARROSSEL) ================== */
.menu-section {
    padding: 24px;
    max-width: 1000px;
    margin: 24px auto;
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.section-title {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.categories-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.categories-carousel::-webkit-scrollbar { 
    display: none; 
}

/* ================== 3. CATEGORIAS DESTAQUE (CARROSSEL GIGANTE) ================== */
.categories-carousel-big {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 16px 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.categories-carousel-big::-webkit-scrollbar {
    display: none;
}

.category-item-big {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    min-width: 140px;
    scroll-snap-align: center;
    transition: var(--transition);
}

.category-img-big {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-sm);
    border: 3px solid transparent;
    transition: var(--transition);
}

.category-item-big.active .category-img-big {
    border-color: var(--brand-primary);
    box-shadow: 0 8px 16px rgba(230, 57, 70, 0.3);
    transform: scale(1.05);
}

.category-item-big span {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
}

.category-item-big.active span {
    color: var(--brand-primary);
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 140px; /* Bem maior */
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s;
}
.category-item-big:active { transform: scale(0.95); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
    justify-content: center;
    width: 100%;
}
.products-grid .product-card {
    min-width: 100%;
    max-width: 100%;
}
.category-item:active { transform: scale(0.95); }

.category-img {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-lg); /* Mais arredondado, mas estilo banner quadrado */
    background-color: #E5E7EB;
    background-size: cover;
    background-position: center;
    border: 3px solid transparent;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}

.category-item.active .category-img {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.3);
}

.category-item span {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
}
.category-item.active span {
    color: var(--brand-primary);
    font-weight: 600;
}

/* ================== 4. PRODUTOS (CARROSSEL HORIZONTAL) ================== */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 16px; /* Para alinhar com o scroll */
}

.category-header .section-title {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
}

.category-header .btn-text {
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.products-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 10px 50px 24px 50px; /* Mais espaço nas laterais para não cortar e acomodar botões */
    scroll-snap-type: x mandatory;
    scrollbar-width: none; 
    -ms-overflow-style: none;
    align-items: stretch; /* Cards assumem todos a mesma altura do card mais alto da fileira */
}
.products-carousel::-webkit-scrollbar {
    display: none;
}

.products-carousel .product-card {
    min-width: 190px;
    max-width: 190px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border-color);
    padding: 12px;
}
.product-card:active { transform: scale(0.98); }
.product-card:hover { box-shadow: var(--shadow-md); }

.product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    background-color: #E5E7EB;
    background-size: cover;
    background-position: center;
}

.product-details {
    padding: 12px 0 0 0;
    display: flex;
    flex-direction: column;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.product-price small {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.product-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================== 5. MODAL DE PRODUTO ================== */
.product-modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: flex-end; /* Abre de baixo no mobile */
}

@media(min-width: 768px) {
    .product-modal-backdrop { align-items: center; justify-content: center; }
}

.product-modal {
    background-color: var(--bg-app);
    width: 100%;
    height: 95vh;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out forwards;
}

@media(min-width: 768px) {
    .product-modal {
        width: 800px;
        height: 85vh;
        border-radius: var(--radius-lg);
        animation: scaleUp 0.3s ease-out forwards;
    }
}

.modal-split-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-right {
    padding: 0 20px;
}
@media(min-width: 768px) {
    .modal-split-layout {
        flex-direction: row;
        gap: 32px;
    }
    .modal-split-layout .modal-left {
        width: 45%;
        flex-shrink: 0;
    }
    .modal-split-layout .modal-right {
        width: 55%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
}

.modal-actions-inline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 20px;
}
@media(max-width: 767px) {
    .modal-actions-inline {
        flex-direction: column;
        align-items: stretch;
    }
}

.quantity-selector-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
    flex-shrink: 0;
}
.quantity-selector-inline .qtd-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 6px 8px;
}

.btn-add-cart-inline {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes scaleUp { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

.modal-header {
    background-color: #FFF;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #EEE;
    flex-shrink: 0;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    background: rgba(255,255,255,0.9);
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

.btn-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 20px;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 100px;
}

#checkout-form {
    padding: 0 20px;
}

.modal-img-container {
    width: 100%;
    height: auto;
    padding: 20px;
    background-color: #FFFFFF;
    text-align: center;
}
.modal-img-container img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.modal-info {
    background-color: #FFF;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-info h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.modal-info p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.modal-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-section-title {
    padding: 20px 20px 8px 20px;
}
.modal-section-title h4 {
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-addons-group {
    background-color: #FFF;
    margin-bottom: 16px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.addon-group-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.addon-group-header div {
    display: flex;
    flex-direction: column;
}
.addon-group-header strong { font-size: 15px; }
.addon-group-header span { font-size: 12px; }

.addon-list {
    display: flex;
    flex-direction: column;
}

.addon-item {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #F3F4F6;
}
.addon-item:last-child { border-bottom: none; }

.addon-item.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.addon-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.addon-name { font-size: 15px; font-weight: 500; }
.addon-price { font-size: 14px; color: var(--brand-primary); font-weight: 600; }

.btn-add-addon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--brand-primary);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.addon-item.selected .btn-add-addon {
    background-color: var(--brand-primary);
    color: #FFF;
}

.modal-observations {
    background-color: #FFF;
    padding: 20px;
    margin-bottom: 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.modal-observations label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}
.modal-observations textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-family: inherit;
    font-size: 14px;
    resize: none;
    height: 80px;
    margin-bottom: 8px;
    outline: none;
}
.modal-observations textarea:focus {
    border-color: var(--brand-primary);
}

.modal-footer {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background-color: #FFF;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 16px;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #F3F4F6;
    padding: 8px 16px;
    border-radius: var(--radius-full);
}
.quantity-selector span { font-weight: 600; font-size: 16px; width: 20px; text-align: center; }
.btn-qtd { color: var(--brand-primary); font-size: 18px; }

.btn-add-cart {
    flex: 1;
    background-color: var(--brand-primary);
    color: #FFF;
    border-radius: var(--radius-full);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.2s;
}
.btn-add-cart:active { background-color: var(--brand-primary-hover); }

/* ================== 6. CARRINHO FLUTUANTE ================== */
.floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-float);
    color: #FFF;
    font-size: 28px;
    z-index: 100;
    cursor: pointer;
    transition: transform 0.2s;
}
.floating-cart:active { transform: scale(0.9); }

.cart-badge {
    position: absolute;
    top: 0; right: 0;
    background-color: var(--color-danger);
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================== 7. CARRINHO LATERAL (DRAWER) ================== */
.cart-drawer-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    justify-content: flex-end; /* Fica na direita */
}

.cart-drawer {
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: var(--bg-app);
    display: flex;
    flex-direction: column;
    animation: slideLeft 0.3s ease-out forwards;
}

@keyframes slideLeft {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.drawer-header {
    padding: 20px;
    background-color: #FFF;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h2 { font-size: 20px; }

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #F3F4F6;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    background-color: #FFF;
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-item-title { font-weight: 600; font-size: 15px; }
.cart-item-price { font-weight: 700; color: var(--brand-primary); }

.cart-item-addons { font-size: 13px; color: var(--text-secondary); }

.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.btn-remove-item {
    color: var(--color-danger);
    font-size: 14px;
    font-weight: 600;
    background: none;
    padding: 4px 8px;
}

.drawer-footer {
    background-color: #FFF;
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    margin-bottom: 16px;
}

.cart-total-row strong {
    font-size: 22px;
    color: var(--brand-primary);
}

.btn-checkout {
    width: 100%;
    background-color: var(--color-success);
    color: #FFF;
    border-radius: var(--radius-full);
    padding: 16px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    transition: opacity 0.2s;
}
.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ================== 8. CHECKOUT (FORM) ================== */
.form-input {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--brand-primary); }

/* ================== 9. CARROSSEL CUSTOMIZADO ================== */
.carousel-wrapper:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #F97316; /* Laranja vibrante solicitado */
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
    cursor: pointer;
    z-index: 10;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background-color: #EA580C;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 4px;
}

.carousel-next {
    right: 4px;
}

@media (max-width: 480px) {
    .carousel-arrow {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    /* Categorias: grade 4 colunas em vez do carrossel horizontal — mostra
       todas as categorias de uma vez, sem precisar arrastar. */
    .carousel-wrapper .carousel-arrow {
        display: none;
    }
    .categories-carousel-big {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px 8px;
        overflow: visible;
        padding: 16px;
        scroll-snap-type: none;
    }
    .category-item-big {
        min-width: 0;
        gap: 6px;
    }
    .category-img-big {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        border-radius: 12px;
        border-width: 2px;
    }
    .category-item-big span {
        font-size: 11px;
        line-height: 1.2;
    }

    /* Carrossel de produtos: mesma ideia, card principal maior. */
    .products-carousel .product-card {
        min-width: 62vw;
        max-width: 260px;
    }
}

/* Melhoria visual para "Dar vida" ao card */
.product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    border-color: #F97316; /* Borda laranja sutil ao passar o mouse */
}


/* ================================== */
/* COMPONENTES DE PAGAMENTO (CHECKOUT) */
/* ================================== */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    background-color: var(--surface-color);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.payment-card i {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-card:hover {
    border-color: var(--brand-primary);
    background-color: #FFF5EC;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.payment-card.selected {
    border-color: var(--brand-primary);
    background-color: #FFF5EC;
    box-shadow: 0 0 0 1px var(--brand-primary);
}

.payment-card.selected i {
    background: white;
}

.payment-card span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

/* ================================== */
/* BOTAO SAIR DO CARRINHO             */
/* ================================== */
.btn-cart-close {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cart-close:hover {
    background: #FFF5EC; /* Fundo laranja com transparência (efeito visual) */
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}
