/* ===============================
   CHECKOUT PAGE - SHALOM
================================ */

body {
    background-color: #f5f5f5;
}

/* Container principal */
.section-p1 {
    max-width: 1100px;
    margin: auto;
    background: transparent;
}

/* Títulos */
.section-p1 h3 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
}

/* ===============================
   DELIVERY INFO (FORM)
================================ */

.section-p1 > div:first-child {
    background: #fff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Inputs */
.section-p1 input {
    width: 100%;
    padding: 14px 15px;
    margin-bottom: 15px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: 0.3s ease;
}

.section-p1 input::placeholder {
    color: #999;
}

.section-p1 input:focus {
    outline: none;
    border-color: #088178;
}

/* Inputs lado a lado */
.section-p1 div[style*="display:flex"] {
    margin-bottom: 15px;
}

.section-p1 div[style*="display:flex"] input {
    margin-bottom: 0;
}

/* ===============================
   CART TOTALS
================================ */

.section-p1 > div:last-child {
    background: #fff;
    padding: 30px;
    border-radius: 6px;
    height: fit-content;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Tabela */
.section-p1 table {
    width: 100%;
    border-collapse: collapse;
}

.section-p1 table td {
    padding: 12px 0;
    font-size: 14px;
    color: #555;
}

/* Linha do total */
.section-p1 table tr:last-child td {
    border-top: 1px solid #e1e1e1;
    padding-top: 15px;
    font-size: 16px;
    color: #000;
}

/* ===============================
   BUTTON
================================ */

.section-p1 button.normal {
    width: 100%;
    background-color: #088178;
    color: #fff;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    padding: 15px;
    transition: 0.3s ease;
}

.section-p1 button.normal:hover {
    background-color: #066d63;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
    .section-p1 {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .section-p1 {
        flex-direction: column;
        gap: 30px;
    }

    .section-p1 > div {
        width: 100%;
    }
}


@media (max-width: 768px) {
  .checkout-form { order: 1; }
  .checkout-total { order: 2; }
}
