/* =========================================
   Header — Topo com logo + sistêmica, menu centralizado
   ========================================= */

/* Faixa superior: logo à esquerda, sistêmica à direita */
.menu-top {
    padding: 14px 0 !important;
    border-bottom: 3px solid #e0e0e0;
}

.menu-top .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.menu-top .main-header__logo-container {
    margin: 0 !important;
    padding: 0 !important;
}

.header-sistemica {
    height: 70px;
    width: auto;
    display: block;
}

/* Faixa do menu: centralizado com espaçamento adequado */
.desktop-menu .header-content {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding: 14px 0 !important;
}

.desktop-menu .header-content .menu-container {
    justify-content: center !important;
    width: 100% !important;
    gap: 40px !important;
}

.desktop-menu .header-content .menu-container__listing {
    justify-content: center !important;
    gap: 32px !important;
}

/* Botão "Faça sua adesão" inline com os links do menu */
.desktop-menu .header-content .menu-container {
    flex-wrap: nowrap !important;
    align-items: center !important;
}

.desktop-menu .header-content .primary-button {
    margin-left: 16px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* =========================================
   Cart — Layout 2 colunas (imagem + painel resumo)
   ========================================= */

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 48px;
    align-items: center;
    padding: 48px 0 64px;
}

/* ---- Coluna esquerda: imagem ---- */
.cart-layout__image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f7fa;
    border-radius: 16px;
    padding: 40px;
    min-height: 480px;
}

.cart-layout__image img {
    display: block;
    max-width: 100%;
    max-height: 420px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ---- Coluna direita: painel resumo ---- */
.cart-layout__content {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 45, 114, 0.07);
}

/* Cabeçalho do painel */
.cart-layout__content .woocommerce-cart-form {
    padding: 28px 28px 0;
}

/* Tabela do produto */
.cart-layout__table {
    width: 100%;
    border: none;
    border-collapse: collapse;
    margin-bottom: 0;
}

.cart-layout__table td {
    padding: 0;
    border: none;
    vertical-align: middle;
}

.cart-layout__table .product-name,
.cart-layout__table .product-name a {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #004587;
    text-decoration: none;
    display: block;
    padding-right: 12px;
}

.cart-layout__table .product-price {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #004587;
    white-space: nowrap;
}

.cart-layout__table .product-remove {
    text-align: right;
    padding-left: 12px;
}

.cart-layout__table .product-remove a.remove {
    font-size: 18px;
    color: #b0b8c4;
    text-decoration: none;
    line-height: 1;
    transition: color 0.2s;
}

.cart-layout__table .product-remove a.remove:hover {
    color: #c0392b;
}

/* ---- Cupom ---- */
.cart-layout__coupon {
    padding: 20px 28px;
    border-top: 1px solid #e2e8f0;
}

.cart-layout__coupon label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 8px;
}

.cart-layout__coupon-row {
    display: flex;
    gap: 8px;
}

.cart-layout__coupon-row .input-text {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}

.cart-layout__coupon-row .input-text:focus {
    border-color: #004587;
}

.cart-layout__coupon-btn {
    padding: 10px 18px;
    background-color: #fff !important;
    color: #004587 !important;
    border: 1px solid #004587 !important;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

.cart-layout__coupon-btn:hover {
    background-color: #004587 !important;
    color: #fff !important;
}

/* Divider entre produto e totais */
.cart-layout__content .cart-collaterals {
    padding: 0 28px 28px;
}

.cart-layout__content .cart_totals {
    border: none !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
}

.cart-layout__content .cart_totals h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 24px 0 12px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.cart-layout__content .cart_totals table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.cart-layout__content .cart_totals table th,
.cart-layout__content .cart_totals table td {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    background: #fff;
}

.cart-layout__content .cart_totals table tr:last-child th,
.cart-layout__content .cart_totals table tr:last-child td {
    border-bottom: none;
    font-weight: 700;
    font-size: 15px;
    background: #f8faff;
}

.cart-layout__content .cart_totals table th {
    color: #6b7280;
    font-weight: 400;
    width: 40%;
}

/* Botão finalizar */
.cart-layout__content .wc-proceed-to-checkout {
    padding: 0;
    margin: 0;
}

.cart-layout__content .wc-proceed-to-checkout .checkout-button,
.cart-layout__content .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background-color: #004587;
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
    box-sizing: border-box;
}

.cart-layout__content .wc-proceed-to-checkout .checkout-button:hover,
.cart-layout__content .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #002d5a;
    transform: translateY(-1px);
}

/* ---- Responsivo ---- */
@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
        padding: 32px 0;
    }

    .cart-layout__image {
        min-height: 280px;
        padding: 24px;
    }

    .cart-layout__image img {
        max-height: 280px;
    }
}

/* =========================================
   Novo Rodapé — Fecomércio Cartão do Empresário
   Proporções baseadas no site fecomercio-ce.com.br
   ========================================= */

.new-footer {
    background-color: #004587;
    padding-top: 64px;
    padding-bottom: 0;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.new-footer .container {
    max-width: 1276px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* ---- Linha principal ---- */
.new-footer__main {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 64px;
}

@media only screen and (min-width: 1200px) {
    .new-footer__main {
        display: grid;
        grid-template-columns: 1fr 2fr 332px;
        align-items: flex-start;
        grid-column-gap: 110px;
        flex-direction: unset;
    }
}

/* ---- Coluna 1: Logo + Redes ---- */
.new-footer__brand {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

@media only screen and (min-width: 600px) {
    .new-footer__brand {
        align-items: center;
    }
}

@media only screen and (min-width: 1200px) {
    .new-footer__brand {
        align-items: flex-start;
    }
}

.new-footer__brand img {
    display: block;
    width: 128px;
    object-fit: cover;
    margin-bottom: 24px;
}

.new-footer__social {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.new-footer__social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #b28600;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.new-footer__social li a:hover {
    transform: rotate(-15deg);
}

/* ---- Coluna 2: Menus (3 sub-colunas) ---- */
.new-footer__nav {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

@media only screen and (min-width: 600px) {
    .new-footer__nav {
        gap: 0;
    }
}

.new-footer__nav-col {
    margin: 0;
    list-style: none;
    padding-left: 0;
    width: max-content;
    max-width: 160px;
}

.new-footer__nav-col li {
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #fff;
    line-height: 22px;
}

.new-footer__nav-col li:last-child {
    margin-bottom: 0;
}

.new-footer__nav-col li a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.new-footer__nav-col li a:hover {
    text-decoration: underline;
}

/* ---- Coluna 3: Contato ---- */
.new-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.new-footer__contact-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
    align-items: center;
}

.new-footer__contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2d85d9;
    height: 32px;
    width: 32px;
    border-radius: 100px;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}

.new-footer__contact-item p,
.new-footer__contact-item span {
    color: #f2f3f3;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    margin: 0;
}

/* ---- Linha inferior (copyright) ---- */
.new-footer__bottom-row {
    width: 100%;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

@media only screen and (min-width: 600px) {
    .new-footer__bottom-row {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
}

@media only screen and (min-width: 1200px) {
    .new-footer__bottom-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
    }
}

.new-footer__bottom-row p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #fff;
    margin-bottom: 15px;
}

@media only screen and (min-width: 1200px) {
    .new-footer__bottom-row p {
        margin-bottom: 0;
    }
}

.new-footer__bottom-index {
    display: block;
    text-decoration: none;
}

.new-footer__bottom-index img {
    display: block;
    width: 100%;
    max-width: 60px;
    filter: brightness(0) invert(1);
}

/* ---- Responsivo mobile ---- */
@media (max-width: 599px) {
    .new-footer__nav {
        flex-direction: column;
        gap: 24px;
    }

    .new-footer__nav-col {
        max-width: 100%;
    }
}
