/* =========================
   FONTES — IDENTIDADE CERRADENSE
   ========================= */
@import url("https://fonts.googleapis.com/css2?family=Jolly+Lodger&family=Space+Grotesk:wght@400;500;600;700&display=swap");

@font-face {
    font-family: "Xilosa";
    src: url("../fontes/xilosa_.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* =========================
   ESTRUTURA DA PÁGINA
   Mantém o rodapé no fim da viewport
   quando o conteúdo é curto, sem criar scroll.
========================= */

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================
   PÁGINA
========================= */

.cart-page {
    flex: 1;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 75px 0 100px;
}

.cart-title {
    margin: 0 0 50px;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -.02em;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 70px;
    align-items: start;
}


/* =========================
   ITENS
========================= */

.cart-items {
    display: flex;
    flex-direction: column;
}

.cart-item {
    display: grid;
    grid-template-columns: 125px 1fr auto;
    gap: 25px;
    padding: 0 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(83, 28, 19, .18);
}

.cart-item-image {
    width: 125px;
    height: 150px;
    object-fit: cover;
    background: var(--creme-claro);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 2px;
}

.cart-item-name {
    margin: 0 0 9px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
}

.cart-item-detail {
    margin: 3px 0;
    font-size: 12px;
    opacity: .75;
}

.cart-item-price {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 700;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 150px;
}

.cart-item-total {
    font-size: 14px;
    font-weight: 700;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid rgba(83, 28, 19, .35);
    height: 38px;
}

.quantity-button {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--marrom);
    cursor: pointer;
    font-size: 16px;
}

.quantity-number {
    min-width: 32px;
    text-align: center;
    font-size: 12px;
}

.remove-button {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--marrom);
    font-size: 10px;
    letter-spacing: .06em;
    cursor: pointer;
    text-transform: uppercase;
}

.remove-button:hover {
    opacity: .55;
}


/* =========================
   RESUMO
========================= */

.cart-summary {
    background: var(--creme-claro);
    padding: 30px;
}

.summary-title {
    margin: 0 0 25px;
    font-size: 17px;
    font-weight: 700;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
    font-size: 13px;
}

.summary-row.total {
    border-top: 1px solid rgba(83, 28, 19, .18);
    padding-top: 18px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 700;
}


/* =========================
   FRETE
========================= */

.shipping-box {
    border-top: 1px solid rgba(83, 28, 19, .18);
    padding-top: 22px;
    margin-top: 5px;
}

.shipping-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
}

.shipping-description {
    margin: 0 0 15px;
    font-size: 11px;
    line-height: 1.5;
    opacity: .7;
}

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

.cep-input {
    flex: 1;
    min-width: 0;
    height: 43px;
    padding: 0 12px;
    border: 1px solid rgba(83, 28, 19, .35);
    background: transparent;
    color: var(--marrom);
    font-size: 13px;
    outline: none;
}

.cep-input:focus {
    border-color: var(--marrom);
}

.cep-button {
    height: 43px;
    padding: 0 17px;
    border: 1px solid var(--marrom);
    background: transparent;
    color: var(--marrom);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    cursor: pointer;
}

.cep-button:hover {
    background: var(--marrom);
    color: var(--branco);
}

.shipping-options {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.shipping-option {
    border: 1px solid rgba(83, 28, 19, .2);
    padding: 13px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.shipping-option:hover {
    border-color: rgba(83, 28, 19, .5);
}

.shipping-option.selected {
    border-color: var(--marrom);
    background: rgba(83, 28, 19, .04);
}

.shipping-option-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 12px;
    font-weight: 700;
}

.shipping-option-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 7px;
    font-size: 10px;
    opacity: .7;
}

.shipping-loading {
    margin-top: 15px;
    font-size: 11px;
    opacity: .7;
}

.shipping-error {
    margin-top: 15px;
    font-size: 11px;
    line-height: 1.5;
}


/* =========================
   BOTÃO CHECKOUT
========================= */

.checkout-button {
    width: 100%;
    height: 50px;
    margin-top: 25px;
    border: 0;
    background: #510F02 !important;
    color: #F2E4C9 !important;
    font-family: "Jolly Lodger", cursive !important;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .01em;
    cursor: pointer;
}

.checkout-button:hover {
    background: var(--marrom-escuro);
}


/* =========================
   SACOLA VAZIA
========================= */

.empty-cart {
    padding: 50px 0;
    text-align: center;
}

.empty-cart h2 {
    margin: 0 0 15px;
    font-size: 25px;
    font-weight: 500;
}

.empty-cart p {
    margin: 0 0 25px;
    font-size: 13px;
    opacity: .7;
}

.empty-cart a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    background: var(--marrom);
    color: var(--branco);
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 900px) {

    .cart-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .cart-summary {
        max-width: 100%;
    }

}


@media (max-width: 650px) {

    .cart-page {
        width: 92%;
        padding: 50px 0 70px;
    }

    .cart-title {
        font-size: 29px;
        margin-bottom: 35px;
    }

    .cart-item {
        grid-template-columns: 90px 1fr;
        gap: 17px;
    }

    .cart-item-image {
        width: 90px;
        height: 115px;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        min-height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 5px;
    }

    .cart-item-total {
        display: none;
    }

}

/* FOOTER — CERRADENSE / HOME */
/* =========================
   FOOTER — PAGAMENTO E BENEFÍCIOS
========================= */
.footer {
  padding: 52px var(--margem-site) 28px;
}

.footer-trust {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 52px;
  align-items: center;
  padding-bottom: 38px;
}

.footer-payment {
  min-width: 0;
}

.footer-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-lock-icon {
  width: 24px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-section-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .18em;
}

.footer-payment-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  line-height: 1.4;
  margin: 0 0 25px 36px;
}

.payment-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: 36px;
}

.payment-logo {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(83, 28, 19, .18);
  background: rgba(255,255,255,.32);
  color: var(--marrom);
  border-radius: 4px;
  font-weight: 700;
  line-height: .9;
}

.payment-logo-mercado { font-size: 10px; text-align: left; }
.mercado-mark { font-size: 25px; line-height: 1; }
.payment-logo-pix { font-size: 22px; text-transform: lowercase; }
.pix-mark { font-size: 23px; transform: rotate(45deg); }
.payment-logo-visa { font-size: 23px; font-style: italic; letter-spacing: -.08em; }
.payment-logo-master { font-size: 9px; text-transform: lowercase; flex-direction: column; gap: 3px; }
.master-mark { display: flex; align-items: center; justify-content: center; }
.master-mark i { display: block; width: 20px; height: 20px; border-radius: 50%; background: #c94c35; }
.master-mark i + i { margin-left: -7px; background: #d49a31; mix-blend-mode: multiply; }

.footer-benefits {
  border-left: 1px solid rgba(83, 28, 19, .25);
  padding-left: 42px;
  display: grid;
  gap: 22px;
}

.footer-benefit {
  display: flex;
  align-items: center;
  gap: 17px;
}

.footer-benefit svg {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-benefit strong,
.footer-benefit span { display: block; }
.footer-benefit strong { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.footer-benefit span { font-family: "Playfair Display", Georgia, serif; font-size: 15px; line-height: 1.25; }

.footer-bottom {
  margin-top: 0;
  padding-top: 24px;
  align-items: center;
}

.footer-bottom > span { font-size: 11px; }
.footer-bottom .footer-brand { display: flex; align-items: center; gap: 25px; }
.footer-bottom .footer-instagram { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.footer-bottom .footer-logo { width: 105px; height: 65px; object-fit: contain; }

@media (max-width: 900px) {
  .footer { padding: 42px 24px 24px; }
  .footer-trust { grid-template-columns: 1fr; gap: 34px; }
  .footer-benefits { border-left: 0; border-top: 1px solid rgba(83, 28, 19, .25); padding: 28px 0 0; }
}

@media (max-width: 600px) {
  .footer { padding: 38px 20px 22px; }
  .footer-payment-text, .payment-logos { margin-left: 0; }
  .footer-payment-text { font-size: 16px; }
  .payment-logos { gap: 8px; }
  .payment-logo { padding: 6px 9px; min-height: 40px; }
  .footer-benefits { gap: 20px; }
  .footer-benefit { align-items: flex-start; }
  .footer-benefit strong { font-size: 15px; }
  .footer-benefit span { font-size: 14px; }
  .footer-bottom { flex-direction: column; gap: 18px; text-align: center; }
  .footer-bottom .footer-brand { justify-content: center; }
}


/* =========================
   AJUSTE FINAL — LOGOS E ALINHAMENTO DO PAGAMENTO
========================= */
.footer-payment {
  padding-left: 30px;
}

.footer-payment .footer-section-heading,
.footer-payment .footer-payment-text,
.footer-payment .payment-logos {
  margin-left: 0;
}

.footer-payment .footer-section-heading {
  align-items: center;
}

.footer-payment-text {
  margin-top: 0;
}

.payment-logos {
  align-items: stretch;
}

.payment-logo {
  min-width: 78px;
  min-height: 43px;
  box-sizing: border-box;
}

.payment-logo-mercado {
  min-width: 86px;
  width: 86px;
  padding: 6px 8px;
  flex-direction: column;
  gap: 1px;
}

.mercado-logo-svg {
  display: block;
  width: 68px;
  height: 68px;
  overflow: visible;
}

.payment-logo-pix {
  min-width: 78px;
  flex-direction: row;
  gap: 5px;
}

.pix-logo-svg {
  display: block;
  width: 24px;
  height: 24px;
}

.pix-word {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.04em;
}

@media (max-width: 900px) {
  .footer-payment {
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .footer-payment {
    padding-left: 0;
  }

  .payment-logo-mercado {
    min-width: 124px;
  }

  .mercado-logo-svg {
    width: 104px;
  }
}



/* Ajuste final — Instagram mais próximo da logo */
.footer-bottom .footer-instagram {
  position: relative;
  left: 28px;
}

/* =========================
   AJUSTES FINAIS — MOBILE
   ========================= */

* {
    box-sizing: border-box;
}

.cart-page,
.cart-layout,
.cart-item,
.cart-summary,
.cart-content {
    min-width: 0;
}

.cart-item-info,
.cart-item-actions,
.summary-row,
.shipping-option-top,
.shipping-option-bottom {
    min-width: 0;
}

@media (max-width: 650px) {
    .cart-page {
        width: min(92%, 520px);
        padding: 38px 0 55px;
    }

    .cart-title {
        font-size: 30px;
        line-height: 1.15;
        margin-bottom: 32px;
    }

    .cart-layout {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .cart-items,
    .cart-summary {
        width: 100%;
    }

    .cart-item {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 14px;
        padding-bottom: 22px;
        margin-bottom: 22px;
    }

    .cart-item-image {
        width: 84px;
        height: 108px;
    }

    .cart-item-name {
        font-size: 14px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .cart-item-detail,
    .cart-item-price {
        overflow-wrap: anywhere;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-top: 4px;
    }

    .quantity-control {
        flex-shrink: 0;
    }

    .remove-button {
        text-align: right;
    }

    .cart-summary {
        padding: 22px 18px;
    }

    .summary-row {
        align-items: flex-start;
        font-size: 13px;
    }

    .summary-row span:last-child {
        text-align: right;
        overflow-wrap: anywhere;
    }

    .cep-row {
        flex-wrap: wrap;
    }

    .cep-input,
    .cep-button {
        min-width: 0;
    }

    .cep-input {
        flex: 1 1 145px;
    }

    .cep-button {
        flex: 0 1 auto;
    }

    .shipping-option {
        padding: 12px;
    }

    .shipping-option-top,
    .shipping-option-bottom {
        flex-wrap: wrap;
        gap: 7px 12px;
    }

    .checkout-button {
        min-height: 52px;
    }

    .empty-cart {
        padding: 30px 0 45px;
    }

    .empty-cart h2 {
        font-size: 24px;
        line-height: 1.25;
    }

    .empty-cart p {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
    }

    .empty-cart a {
        max-width: 100%;
        text-align: center;
        line-height: 1.4;
    }
}

@media (max-width: 380px) {
    .cart-page {
        width: 90%;
    }

    .cart-item {
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 12px;
    }

    .cart-item-image {
        width: 74px;
        height: 98px;
    }

    .cart-summary {
        padding: 20px 15px;
    }

    .cep-row {
        flex-direction: column;
    }

    .cep-input,
    .cep-button {
        width: 100%;
        flex: 1 1 auto;
    }
}


/* =========================
   MENU HAMBÚRGUER — SACOLA
   ========================= */
.cart-menu-toggle {
    display: none;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--marrom);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.cart-menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 650px) {
    .header {
        position: relative;
        z-index: 20;
    }

    .header .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 22px 24px;
        background: var(--creme-claro);
        border-top: 1px solid rgba(83, 28, 19, .15);
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .header .nav.is-open {
        display: flex;
    }

    .header .nav a {
        display: block;
        padding: 4px 0;
    }

    .cart-menu-toggle {
        display: flex;
        flex-shrink: 0;
        margin-left: 12px;
    }

    .cart-menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    .cart-menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .cart-menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }
}

/* =========================
   AJUSTE FINAL — CONTROLES DO HEADER NO MOBILE
   Mantém a sacola e o hambúrguer mais à direita.
   ========================= */
@media (max-width: 650px) {
    .header {
        display: flex;
        align-items: center;
        gap: 0;
    }

    .header-brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .header-bag {
        margin-left: auto;
        flex-shrink: 0;
    }

    .cart-menu-toggle {
        margin-left: 10px;
        flex-shrink: 0;
    }
}


/* =========================================================
   IDENTIDADE TIPOGRÁFICA — SACOLA
   Ajuste final solicitado
   ========================================================= */

/* Título da página */
.cart-title {
    font-family: "Space Grotesk", sans-serif !important;
    color: #510F02;
    font-weight: 500;
}

/* Item do produto */
.cart-item-name {
    font-family: "Xilosa", sans-serif !important;
    color: #510F02;
    font-weight: 400;
    font-synthesis: none;
}

.cart-item-detail,
.cart-item-price,
.cart-item-total,
.quantity-button,
.quantity-number,
.remove-button {
    font-family: "Space Grotesk", sans-serif !important;
    color: #510F02;
}

.quantity-control {
    border-color: rgba(81, 15, 2, .35);
}

.quantity-button {
    color: #510F02;
}

.quantity-button:hover {
    background: rgba(81, 15, 2, .07);
}

.quantity-number,
.remove-button {
    color: #510F02;
}

/* Resumo do pedido + subtotal + total + cálculo de frete */
.cart-summary,
.cart-summary * {
    font-family: "Space Grotesk", sans-serif !important;
    color: #510F02;
}

/* Mantém o botão de checkout com a identidade da sacola */
.checkout-button {
    font-family: "Space Grotesk", sans-serif !important;
    color: #F2E4C9;
}

/* Menu do header */
.nav a,
.mobile-menu a {
    font-family: "Jolly Lodger", cursive !important;
    color: #510F02;
    font-weight: 400;
    letter-spacing: .01em;
}

.nav a {
    font-size: 20px;
}

.mobile-menu a {
    font-size: 20px;
}


/* Ajuste final do botão de checkout */
.checkout-button {
    font-family: "Jolly Lodger", cursive !important;
    color: #F2E4C9 !important;
    background: #510F02 !important;
    font-weight: 400 !important;
}


/* =========================================================
   FOOTER — IDENTIDADE CERRADENSE (IGUAL À HOME)
   Vinho-terra: #510F02
   Preto-asfalto: #1E1B18
========================================================= */
.footer {
  color: #510F02;
}

.footer .footer-section-label,
.footer .footer-benefit strong {
  font-family: "Xilosa", sans-serif !important;
  color: #510F02 !important;
  font-weight: 400 !important;
}

.footer .footer-payment-text,
.footer .footer-benefit span {
  font-family: "Space Grotesk", sans-serif !important;
  color: #1E1B18 !important;
}

.footer .footer-lock-icon,
.footer .footer-benefit svg {
  color: #510F02 !important;
  stroke: #510F02 !important;
}

.footer .payment-logo {
  color: #510F02 !important;
  border-color: rgba(81, 15, 2, .18) !important;
}

.footer .footer-benefits {
  border-left-color: rgba(81, 15, 2, .25) !important;
}

.footer .footer-bottom {
  border-top-color: rgba(81, 15, 2, .25) !important;
}

.footer .footer-bottom > span,
.footer .footer-bottom a {
  color: #510F02 !important;
}


/* =====================================================
   CERRADENSE — HEADER + MENU MOBILE / PADRÃO HOME
   Correção final
===================================================== */
.header {
    position: relative;
    z-index: 1000;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 var(--margem-site);
    background: var(--creme);
    color: #510F02;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex-shrink: 0;
}

.header-brand a {
    display: inline-flex;
    align-items: center;
}

.header-logo {
    display: block;
    width: 190px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}

.header-name {
    font-family: "Xilosa", sans-serif !important;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1;
    white-space: nowrap;
    color: #510F02;
}

.header .nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 2.2vw, 34px);
    margin-left: auto;
}

.header .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: #510F02 !important;
    font-family: "Jolly Lodger", cursive !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    letter-spacing: .01em;
    white-space: nowrap;
    text-decoration: none;
}

.header .nav a:hover {
    opacity: .72;
}

.header-bag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-shrink: 0;
    color: #510F02 !important;
}

.header-bag .bag {
    width: 23px;
    height: 27px;
}

.bag-count {
    color: #510F02 !important;
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 12px;
    line-height: 1;
}

.cart-menu-toggle {
    display: none;
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #510F02;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
}

.cart-menu-toggle span {
    display: block;
    width: 28px;
    height: 1.5px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.cart-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.cart-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.cart-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* =====================================================
   FOOTER — PADRÃO HOME
===================================================== */
.footer {
    padding: 52px var(--margem-site) 28px;
    color: #510F02;
}

.footer-trust {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 52px;
    align-items: center;
    padding-bottom: 38px;
}

.footer-payment {
    min-width: 0;
    padding-left: 30px;
}

.footer-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-lock-icon {
    width: 24px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-section-label {
    font-family: "Xilosa", sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    letter-spacing: .06em !important;
    color: #510F02 !important;
}

.footer-payment-text {
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.4;
    margin: 0 0 25px 0;
    color: #510F02 !important;
}

.payment-logos {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: 0;
}

.payment-logo {
    min-width: 78px;
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid rgba(83, 28, 19, .18);
    background: rgba(255,255,255,.32);
    color: #510F02;
    border-radius: 4px;
    font-family: "Space Grotesk", sans-serif !important;
    font-weight: 700;
    line-height: .9;
}

.footer-benefits {
    border-left: 1px solid rgba(83, 28, 19, .25);
    padding-left: 42px;
    display: grid;
    gap: 22px;
}

.footer-benefit {
    display: flex;
    align-items: center;
    gap: 17px;
}

.footer-benefit svg {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-benefit strong,
.footer-benefit span {
    display: block;
}

.footer-benefit strong {
    font-family: "Xilosa", sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    margin-bottom: 4px;
    color: #510F02 !important;
}

.footer-benefit span {
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.25;
    color: #1E1B18 !important;
}

.footer-bottom {
    margin-top: 0;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom > span {
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 11px !important;
    color: #1E1B18 !important;
}

.footer-bottom .footer-brand {
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer-bottom .footer-instagram {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 13px;
    color: #510F02 !important;
}

.footer-bottom .footer-logo {
    width: 105px;
    height: 65px;
    object-fit: contain;
}

.footer-bottom .footer-instagram {
    position: relative;
    left: 28px;
}

/* Botão principal */
.checkout-button {
    font-family: "Jolly Lodger", cursive !important;
    color: #F2E4C9 !important;
    background: #510F02 !important;
    font-weight: 400 !important;
}

/* =====================================================
   MOBILE — MESMO COMPORTAMENTO DO CHECKOUT/HOME
===================================================== */
@media (max-width: 650px) {
    .header {
        min-height: 68px;
        height: 68px;
        padding: 0 18px;
        gap: 12px;
        position: relative;
        z-index: 1000;
    }

    .header-logo {
        width: 52px;
        height: 52px;
        max-height: 52px;
    }

    .header-name {
        display: none;
    }

    .header .nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1100;
        padding: 22px 24px;
        margin: 0;
        background: var(--creme) !important;
        border-top: 1px solid rgba(83, 28, 19, .15);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        box-shadow: 0 10px 25px rgba(25,18,13,.08);
    }

    .header .nav.is-open {
        display: flex !important;
    }

    .header .nav a {
        display: block;
        min-height: 0;
        padding: 17px 0;
        border-bottom: 1px solid rgba(83, 28, 19, .14);
        color: #510F02 !important;
        font-family: "Jolly Lodger", cursive !important;
        font-size: 20px !important;
    }

    .header-bag {
        margin-left: auto;
        flex-shrink: 0;
    }

    .cart-menu-toggle {
        display: flex;
        margin-left: 10px;
    }

    .footer {
        padding: 42px 24px 24px;
    }

    .footer-trust {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-payment {
        padding-left: 0;
    }

    .footer-benefits {
        border-left: 0;
        border-top: 1px solid rgba(83, 28, 19, .25);
        padding: 28px 0 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }

    .footer-bottom .footer-brand {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 38px 20px 22px;
    }

    .footer-payment-text,
    .payment-logos {
        margin-left: 0;
    }

    .payment-logos {
        gap: 8px;
    }

    .payment-logo {
        padding: 6px 9px;
        min-height: 40px;
    }

    .footer-benefits {
        gap: 20px;
    }

    .footer-benefit {
        align-items: flex-start;
    }

    .footer-benefit strong {
        font-size: 17px !important;
    }

    .footer-benefit span {
        font-size: 14px !important;
    }

    .footer-bottom .footer-instagram {
        left: 0;
    }
}


/* =========================================================
   CORREÇÃO FINAL — FOOTER MOBILE IGUAL À HOME E AO PRODUTO
   ========================================================= */
@media (max-width: 600px) {
  .footer {
    padding: 30px 20px 22px !important;
  }

  .footer-bottom {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 17px !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(90, 24, 15, 0.25) !important;
    text-align: left !important;
  }

  .footer-bottom > span {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
    text-align: left !important;
  }

  .footer-bottom .footer-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex: 0 0 auto !important;
  }

  .footer-bottom .footer-instagram {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 10px !important;
    white-space: nowrap !important;
    position: relative !important;
    left: 0 !important;
  }

  .footer-bottom .footer-logo {
    display: block !important;
    width: 58px !important;
    height: 48px !important;
    object-fit: contain !important;
  }
}


/* =========================================================
   SACOLA VAZIA — PADRÃO CERRADENSE
   ========================================================= */
.empty-cart h2 {
    font-family: "Space Grotesk", sans-serif !important;
    color: #510F02 !important;
    font-weight: 500 !important;
}

.empty-cart p {
    font-family: "Space Grotesk", sans-serif !important;
    color: #BE8220 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}

.empty-cart .empty-cart-brand {
    font-family: "Xilosa", sans-serif !important;
    color: #BE8220 !important;
    font-weight: 400 !important;
    text-transform: uppercase;
}

.empty-cart a {
    font-family: "Jolly Lodger", cursive !important;
    background: #510F02 !important;
    color: #F2E4C9 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
    text-transform: uppercase;
}


/* =========================================================
   BOTÃO X INTERNO — MENU MOBILE
   ========================================================= */
.cart-mobile-menu-close {
    display: none;
}

@media (max-width: 650px) {
  .header .nav.is-open {
    padding-top: 62px !important;
    position: absolute;
  }

  .cart-mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 14px;
    right: 20px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #510F02;
    font-family: "Space Grotesk", sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
  }

  .cart-mobile-menu-close:hover {
    opacity: .65;
  }
}
