/* =========================================
   TOURSYNC CART LAYOUT
========================================= */

.toursync-cart-wrapper {
    max-width: 900px;
    margin: 40px auto;
}


/* Lista */

.toursync-cart-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.toursync-cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 15px;

    padding: 15px 10px;
    border-bottom: 1px solid #eee;
}


/* Número */

.toursync-cart-number {
    font-weight: bold;
    text-align: right;
    line-height: 1;
    white-space: nowrap;
}

/* Hífen na mesma linha */

.toursync-cart-number::after {
    content: " - ";
}


/* Título */

.toursync-cart-title {
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    width: 100%;
}


/* Ações */

.toursync-cart-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
}


/* =========================================
   BOTÕES
========================================= */

/* Base */

.toursync-btn-primary,
.toursync-btn-secondary,
.toursync-btn-remove,
.toursync-btn-view,
.toursync-btn-continue,
.toursync-btn-submit {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 22px;      /* controla largura */
    height: 42px;        /* <<< ALTURA PADRÃO */

    border-radius: 15px;

    font-size: 14px;
    font-weight: 600;

    border: none;
    cursor: pointer;

    text-decoration: none !important;

    transition: all 0.3s ease;
}


/* REMOVER */

.toursync-btn-remove,
.toursync-btn-primary {
    background: #600600;
    color: #fff !important;
}

.toursync-btn-remove:hover,
.toursync-btn-primary:hover {
    background: #202c3b;
	color: #fff !important;
}


/* VER / CONTINUAR */

.toursync-btn-view,
.toursync-btn-secondary,
.toursync-btn-continue {
    background: #202c3b;
    color: #fff !important;
}

.toursync-btn-view:hover,
.toursync-btn-secondary:hover,
.toursync-btn-continue:hover {
    background: #600600;
	color: #fff !important;
}


/* SOLICITAR */

.toursync-btn-submit {
    background: #600600;
    color: #fff;
}

.toursync-btn-submit:hover {
    background: #202c3b;
}


/* Remove sublinhado de links */

.toursync-cart-wrapper a {
    text-decoration: none !important;
}


/* =========================================
   FOOTER
========================================= */

.toursync-cart-footer {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 35px;
}




/* =========================================
   TOURSYNC CHECKOUT
========================================= */

/* Wrapper geral */

.toursync-checkout-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
}


/* =========================================
   RESUMO
========================================= */

.toursync-checkout-summary {
    padding: 25px 20px;
    border: 1px solid #eee;
    border-radius: 15px;
    background: #fff;
}

.toursync-checkout-summary h3 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.toursync-checkout-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toursync-checkout-summary li {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 15px;
}

.toursync-checkout-summary a {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: #202c3b;
}

.toursync-checkout-summary a:hover {
    color: #600600;
}


/* =========================================
   FORMULÁRIO
========================================= */

#toursync-checkout {
    padding: 25px 20px;
    border: 1px solid #eee;
    border-radius: 15px;
    background: #fff;
}


/* Títulos */

#toursync-checkout h3 {
    font-size: 17px;
    margin: 25px 0 10px;
    color: #202c3b;
}


/* Campos */

#toursync-checkout input,
#toursync-checkout select,
#toursync-checkout textarea {

    width: 100%;
    height: 42px;

    padding: 0 14px;

    border-radius: 12px;
    border: 1px solid #ccc;

    font-size: 14px;

    margin-bottom: 12px;

    transition: all 0.2s ease;
}


/* Textarea */

#toursync-checkout textarea {
    min-height: 90px;
    padding: 10px 14px;
    resize: vertical;
}


/* Foco */

#toursync-checkout input:focus,
#toursync-checkout select:focus,
#toursync-checkout textarea:focus {

    outline: none;
    border-color: #600600;
    box-shadow: 0 0 0 2px rgba(96, 6, 0, 0.15);
}


/* =========================================
   PERFIL DO GRUPO
========================================= */

#toursync-checkout input[type="number"] {
    max-width: 120px;
    display: inline-block;
    margin-right: 10px;
}


/* =========================================
   BOTÃO SUBMIT
========================================= */

#toursync-checkout button {

    width: 100%;

    height: 42px;

    border-radius: 15px;

    background: #600600;
    color: #fff;

    border: none;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

    margin-top: 15px;
}

#toursync-checkout button:hover {
    background: #202c3b;
}


/* Desabilitado */

#toursync-checkout button:disabled {
    background: #aaa;
    cursor: not-allowed;
}


/* =========================================
   MENSAGENS
========================================= */

#toursync-checkout-message {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================
   CARRINHO VAZIO
========================================= */

.toursync-checkout-empty {

    max-width: 600px;
    margin: 70px auto;

    text-align: center;

    padding: 35px;

    border-radius: 15px;

    border: 1px solid #eee;
    background: #fff;
}

.toursync-checkout-empty a {
    font-weight: 600;
    color: #202c3b;
}

.toursync-checkout-empty a:hover {
    color: #600600;
}


/* =========================================
   RESPONSIVO
========================================= */

@media (max-width: 900px) {

    .toursync-checkout-wrapper {
        grid-template-columns: 1fr;
    }

    #toursync-checkout input[type="number"] {
        max-width: 100%;
        margin-right: 0;
    }

}

.toursync-checkout-title {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

/* =========================================
   AJUSTES VISUAIS CHECKOUT PRO
========================================= */

/* Grid principal mais equilibrado */

.toursync-checkout-wrapper {
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: flex-start;
}


/* Título */

.toursync-checkout-title {
    grid-column: 1 / -1;
    margin-bottom: 25px;
}

.toursync-checkout-title h2 {
    font-size: 26px;
    font-weight: 700;
    color: #202c3b;
}


/* =========================================
   RESUMO MAIS COMPACTO
========================================= */

.toursync-checkout-summary {
    position: sticky;
    top: 30px;
}

.toursync-checkout-summary li {
    font-size: 14px;
    line-height: 1.4;
    padding: 6px 0;
}


/* =========================================
   FORMULÁRIO EM BLOCOS
========================================= */

#toursync-checkout h3 {
    margin-top: 30px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}


/* Cada grupo vira um bloco */

#toursync-checkout h3 + .toursync-field,
#toursync-checkout h3 + .toursync-group-profile {
    margin-top: 15px;
}


/* Campos */

.toursync-field {
    margin-bottom: 14px;
}

.toursync-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}


/* =========================================
   PERFIL DO GRUPO HORIZONTAL
========================================= */

.toursync-group-profile {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 10px;
}

.toursync-group-item {
    display: flex;
    flex-direction: column;
}

.toursync-group-item label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.toursync-group-item input {
    text-align: center;
}


/* =========================================
   CAMPOS DATA / LOCAL / TRANSPORTE
========================================= */

#toursync-checkout input[type="date"] {
    padding-right: 10px;
}


/* =========================================
   BOTÃO
========================================= */

#toursync-checkout button {
    margin-top: 25px;
    font-size: 15px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .toursync-group-profile {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* =========================================
   FORÇAR LAYOUT EM 1 COLUNA
========================================= */

.toursync-checkout-wrapper {
    display: block !important;
    max-width: 900px !important;
    width: 100% !important;
    margin: 40px auto !important;
}


/* Cada bloco ocupa linha inteira */

.toursync-checkout-summary,
#toursync-checkout {
    width: 100% !important;
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* Remove qualquer coluna invisível */

.toursync-checkout-wrapper::before,
.toursync-checkout-wrapper::after {
    display: none !important;
    content: none !important;
}


/* Garante inputs largos */

#toursync-checkout input,
#toursync-checkout select,
#toursync-checkout textarea {
    width: 100% !important;
    max-width: 100% !important;
}


/* Remove espaçamento estranho lateral */

.toursync-checkout-wrapper * {
    box-sizing: border-box;
	alignn: center;
}

/* =========================================
   CENTRALIZAR FORMULÁRIO
========================================= */

#toursync-checkout,
.toursync-checkout-summary {

    max-width: 760px;   /* largura ideal */
    margin: 0 auto 30px auto;
}

/* =========================================
   DESTAQUE VISUAL DO FORMULÁRIO
========================================= */

#toursync-checkout,
.toursync-checkout-summary {

    background: #ebebeb; /* levemente acinzentado */

    box-shadow: 
        0 4px 12px rgba(0,0,0,0.06),
        0 0 0 1px rgba(0,0,0,0.03);

    border: none;
}
