/* =========================
   BASE
========================= */
body {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    margin: 0;
    padding-bottom: 120px;
}

.header-inner,
.content {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}


/* =========================
   FOOTER
========================= */
.footer {
    background-color: #000;
    padding: 15px 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
}

/* =========================
   TOTAL DO PEDIDO
========================= */
h4 {
    font-weight: 700;
}

/* =========================
   FORMULÁRIO
========================= */
.card-solid {
    border-radius: 3px;
    background-color: #1f1f1f !important;
}

.form-control {
    background-color: #fff;
    border-radius: 3px;
    border: 1px solid #ccc;
}

/* =========================
   FRETE (AMARELO)
========================= */
.text-danger[style*="#ffde04"] {
    background-color: #ffde04 !important;
    color: #b30000 !important;
    font-weight: 700;
}

.text-danger h5,
.text-danger h6 {
    color: #b30000 !important;
}

/* =========================
   BOTÕES
========================= */
.btn-success {
    background-color: #0d6efd;
    border: none;
}

.btn-outline-danger {
    border-width: 2px;
}

.whatsapp-btn {
    background-color: #25D366 !important;
    color: #fff !important;
    border: none;
}

.whatsapp-btn i {
    color: #fff !important;
}

.row {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.instagram-btn {
    background-color: #e83e8c;
    color: #fff;
    border: none;
}

.instagram-btn i {
    color: #fff;
}

.product {
    border-radius: 3px;
    background-color: #383838;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px;
    padding-bottom: 20px;
}

.fixed-height-description {
    margin-bottom: 20px; /* espaço entre texto e footer */
}

.product-footer {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



/* =========================
   CARD DO ITEM
========================= */
.card {
    border: none;
    border-radius: 3px;
    background-color: #fff;
    color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    margin-bottom: 25px; 
    padding: 0;
}

/* imagem */
.cart-col {
    max-height: 280px; /* ajuste conforme seu layout */
    overflow: hidden;
    display: flex;
}

.cart-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
    border-radius: 3px 0 0 3px;
}

/* =========================
   CONTEÚDO DO CARD
========================= */
.card-body {
    padding: 18px;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* preço + quantidade */
.card-body p {
    font-size: 0.95rem;
    margin: 0;
}

/* =========================
   LINHA SEPARADORA
========================= */
hr {
    border: none;
    height: 2px;
    background-color: #ddd;
    margin: 40px 0;
}

/* =========================
   TOTAL DO PEDIDO
========================= */
h4 {
    font-weight: 800;
    margin-bottom: 25px;
}

.container-card {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
/* =========================
   FORMULÁRIO
========================= */
.card-solid {
    border-radius: 12px;
    background-color: #222 !important;
}

/* espaçamento entre campos */
.card-solid .col-lg-4,
.card-solid .col-md-6,
.card-solid .col-sm-12 {
    margin-bottom: 18px;
}

.form-control {
    border-radius: 6px;
    padding: 10px 12px;
}

/* aviso do frete */
.text-danger[style*="#ffde04"] {
    margin-top: 25px;
    border-radius: 8px;
    padding: 15px;
}

/* =========================
   BOTÕES (CENTRALIZADOS E SEPARADOS)
========================= */
.text-center.mt-4 {
    display: flex;
    justify-content: center;
    gap: 20px; /* separação entre botões */
    flex-wrap: wrap;
}

.text-center.mt-4 .btn {
    min-width: 100px;
}

.select {
    margin-bottom: 40px; /* ajuste fino conforme o layout */
}



/* =========================
   RESPONSIVO
========================= */
@media (max-width: 768px) {

    body {
        padding-bottom: 150px;
    }
        
    .header-inner,
    .content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .product {
        padding-bottom: 100px;
    }
      
    .cart-img {
        border-radius: 12px 12px 0 0;
    }

    .card {
        margin-bottom: 20px;
    }

    .cart-col {
        height: 220px;
    }

    .text-center.mt-4 {
        flex-direction: column;
        gap: 12px;
    }

    .text-center.mt-4 .btn {
        width: 100%;
    }

}

@media (max-width: 576px) {

    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .btn {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

/* =========================
   TOAST
========================= */
#cartToast {
    pointer-events: none;
}
