/* CSS da página pública: carrinho
 * Preserva a cascata visual original do projeto.
 */

/* Fonte visual original: home.css */
/* =========================================================
   HOME - BANNER PRINCIPAL
========================================================= */

.home-hero {
    background:
        radial-gradient(circle at top left, rgba(243, 181, 98, 0.35), transparent 32%),
        linear-gradient(135deg, #fffaf2 0%, #edf8f2 100%);
    padding: 64px 0;
}

.home-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 42px;
    align-items: center;
}

.home-hero-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(31, 95, 74, 0.10);
    color: var(--primary);
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
    font-size: 14px;
}

.home-hero-text h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    color: var(--primary-dark);
    letter-spacing: -1.5px;
}

.home-hero-text p {
    margin: 20px 0 0;
    max-width: 680px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.home-hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
    max-width: 680px;
}

.home-hero-benefits div {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.home-hero-benefits strong {
    display: block;
    color: var(--primary-dark);
    font-size: 16px;
    margin-bottom: 4px;
}

.home-hero-benefits span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.home-hero-highlight {
    position: relative;
}

.highlight-card-main {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 34px;
    box-shadow: var(--shadow);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight-card-main span {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.8px;
}

.highlight-card-main h2 {
    margin: 14px 0 12px;
    color: var(--primary-dark);
    font-size: 34px;
    line-height: 1.1;
}

.highlight-card-main p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.highlight-card-main a {
    display: inline-flex;
    margin-top: 26px;
    width: fit-content;
    background: var(--primary);
    color: var(--white);
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 800;
}

.highlight-card-main a:hover {
    background: var(--primary-dark);
}

.highlight-card-small {
    position: absolute;
    right: -14px;
    bottom: -18px;
    background: var(--secondary);
    color: #3b2508;
    border-radius: 22px;
    padding: 20px 24px;
    box-shadow: var(--shadow);
}

.highlight-card-small strong {
    display: block;
    font-size: 24px;
}

.highlight-card-small span {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

/* =========================================================
   HOME - SEÇÕES / CATEGORIAS / BENEFÍCIOS
========================================================= */

.home-section {
    padding: 58px 0;
}

.home-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.home-section-title span {
    display: block;
    color: var(--primary);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.home-section-title h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 34px;
    letter-spacing: -0.6px;
}

.home-section-title p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    max-width: 420px;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.home-category-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 104px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    transition: 0.2s ease;
}

.home-category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(31, 95, 74, 0.20);
}

.home-category-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 16px;
    background: rgba(31, 95, 74, 0.10);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 22px;
}

.home-category-card strong {
    display: block;
    color: var(--primary-dark);
    font-size: 16px;
    margin-bottom: 5px;
}

.home-category-card span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.home-benefits-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 28px 0;
}

.home-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.home-benefit-item {
    border-left: 3px solid var(--secondary);
    padding-left: 18px;
}

.home-benefit-item strong {
    display: block;
    font-size: 17px;
    margin-bottom: 6px;
}

.home-benefit-item span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   HOME - PRODUTOS
========================================================= */

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    transition: 0.2s ease;
}

.home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.home-product-image {
    position: relative;
    height: 250px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    background: #f3f4f6;
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--secondary);
    color: #3b2508;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-product-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-product-category {
    display: block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.home-product-info h3 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.35;
    color: var(--primary-dark);
}

.home-product-info p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
    min-height: 42px;
}

.home-product-price-area {
    margin-top: auto;
    padding-top: 16px;
}

.home-old-price {
    display: block;
    color: var(--muted);
    text-decoration: line-through;
    font-size: 14px;
    margin-bottom: 4px;
}

.home-current-price {
    display: block;
    color: var(--primary-dark);
    font-size: 25px;
    line-height: 1.1;
}

.home-pix-price {
    display: block;
    color: var(--success);
    font-weight: 900;
    margin-top: 6px;
    font-size: 15px;
}

.home-installments {
    display: block;
    color: var(--muted);
    font-size: 14px;
    margin-top: 4px;
}

.home-buy-button {
    width: 100%;
    border: 0;
    background: var(--primary);
    color: var(--white);
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.home-buy-button:hover {
    background: var(--primary-dark);
}

/* =========================================================
   HOME - WHATSAPP
========================================================= */

.home-whatsapp-section {
    padding: 58px 0;
}

.home-whatsapp-box {
    background:
        radial-gradient(circle at top right, rgba(243, 181, 98, 0.45), transparent 26%),
        var(--primary);
    color: var(--white);
    border-radius: 30px;
    padding: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: var(--shadow);
}

.home-whatsapp-box span {
    display: block;
    color: var(--secondary);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.home-whatsapp-box h2 {
    margin: 0 0 10px;
    font-size: 32px;
}

.home-whatsapp-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.home-whatsapp-button {
    flex: 0 0 auto;
    background: var(--secondary);
    color: #3b2508;
    padding: 15px 22px;
    border-radius: 999px;
    font-weight: 900;
}

.home-whatsapp-button:hover {
    background: #f6c77e;
}


/* =========================================================
   CARDS PÚBLICOS ENXUTOS
========================================================= */

.product-rating-compact {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 22px;
    color: #667168;
    font-size: 12px;
}

.product-rating-compact .review-stars {
    color: #e5a400;
    font-size: 16px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.product-rating-compact .review-stars-empty {
    color: #aeb7b0;
}

.product-rating-compact strong {
    font-size: 12px;
    font-weight: 700;
}

.product-pix-discount {
    display: block;
    margin-top: 4px;
    color: #15803d;
    font-size: 12px;
    font-weight: 800;
}

.home-product-price-simple,
.product-price-area-simple {
    margin-top: auto;
}

.home-product-price-simple .home-payment-main-label,
.product-price-area-simple .home-payment-main-label {
    display: block;
    margin-bottom: 2px;
}

.home-payment-summary,
.home-payment-option,
.product-description,
.home-product-info > p,
.home-old-price,
.old-price,
.product-badge {
    display: none !important;
}

.home-product-info,
.product-info {
    display: flex;
    flex-direction: column;
}

.home-product-info h3,
.product-info h3 {
    margin-bottom: 9px;
}

.home-product-info form,
.product-info form {
    margin-top: 14px;
}


/* =========================================================
   CARDS MAIS COMPACTOS E CATEGORIAS SEM DUPLICIDADE
========================================================= */

.home-product-info h3 {
    margin-bottom: 4px;
}

.home-product-price-area {
    padding-top: 10px;
}

.home-category-section {
    display: none !important;
}

/* Fonte visual original: produtos.css */
/* =========================================================
   LISTAGEM DE CATEGORIA / BUSCA
========================================================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    background: var(--white);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
}

.product-image {
    height: 230px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 17px;
    line-height: 1.3;
    margin: 0 0 10px;
}

.product-description {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.4;
    min-height: 40px;
}

.old-price {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 14px;
    margin-top: auto;
}

.product-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-dark);
    margin-top: 4px;
}

.product-price-large {
    font-size: 38px;
}

.pix-price {
    color: var(--success);
    font-weight: 800;
    margin-top: 4px;
}

.installments {
    color: var(--muted);
    font-size: 14px;
    margin-top: 4px;
}

.btn-buy {
    width: 100%;
    border: 0;
    background: var(--primary);
    color: var(--white);
    padding: 13px 16px;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 16px;
    transition: 0.2s ease;
}

.btn-buy:hover {
    background: var(--primary-dark);
}

/* =========================================================
   DETALHE DO PRODUTO
========================================================= */

.product-detail {
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 44px;
    align-items: start;
}

.product-detail-image {
    background: var(--white);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--border);
}

.product-detail-image img {
    width: 100%;
    border-radius: 18px;
}

.product-detail-info {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid var(--border);
}

.product-detail-info h1 {
    margin: 6px 0 12px;
    font-size: 34px;
    color: var(--primary-dark);
}

.product-detail-description {
    color: var(--muted);
    line-height: 1.6;
}

.stock-info {
    margin-top: 18px;
    color: var(--muted);
}

.buy-form {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    align-items: end;
}

.buy-form label {
    grid-column: 1 / -1;
    font-weight: 800;
}

.buy-form input {
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 12px;
    font-size: 16px;
}

.product-full-description {
    margin-top: 30px;
    border-top: 1px solid var(--border);
    padding-top: 22px;
}


/* =========================================================
   CARDS PÚBLICOS ENXUTOS
========================================================= */

.product-rating-compact {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 22px;
    color: #667168;
    font-size: 12px;
}

.product-rating-compact .review-stars {
    color: #e5a400;
    font-size: 16px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.product-rating-compact .review-stars-empty {
    color: #aeb7b0;
}

.product-rating-compact strong {
    font-size: 12px;
    font-weight: 700;
}

.product-pix-discount {
    display: block;
    margin-top: 4px;
    color: #15803d;
    font-size: 12px;
    font-weight: 800;
}

.home-product-price-simple,
.product-price-area-simple {
    margin-top: auto;
}

.home-product-price-simple .home-payment-main-label,
.product-price-area-simple .home-payment-main-label {
    display: block;
    margin-bottom: 2px;
}

.home-payment-summary,
.home-payment-option,
.product-description,
.home-product-info > p,
.home-old-price,
.old-price,
.product-badge {
    display: none !important;
}

.home-product-info,
.product-info {
    display: flex;
    flex-direction: column;
}

.home-product-info h3,
.product-info h3 {
    margin-bottom: 9px;
}

.home-product-info form,
.product-info form {
    margin-top: 14px;
}


/* =========================================================
   CARDS DE CATEGORIA SEM BLOCO DE AVALIAÇÕES
========================================================= */

.product-card-compact .product-info h3 {
    margin-bottom: 5px;
}

.product-card-compact .product-price-area {
    padding-top: 10px;
}

/* Fonte visual original: carrinho.css */
/* =========================================================
   CARRINHO
========================================================= */

.cart-page {
    width: 100%;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.cart-items {
    display: grid;
    gap: 16px;
}

.cart-product {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

.cart-product.updating {
    opacity: 0.68;
    pointer-events: none;
}

.cart-product.removing {
    opacity: 0;
    transform: translateX(-12px);
}

.cart-product-image {
    width: 132px;
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    background: #f3f4f6;
    color: var(--muted);
    font-size: 12px;
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
}

.cart-product-content {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.cart-product-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.cart-product-category {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.cart-product h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 18px;
}

.cart-remove {
    align-self: flex-start;
    border: 0;
    background: transparent;
    color: var(--danger);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
}

.cart-remove:hover {
    text-decoration: underline;
}

.cart-product-pricing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cart-product-pricing > div {
    display: grid;
    gap: 4px;
}

.cart-product-pricing span,
.cart-product-actions > span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.cart-product-pricing strong {
    font-size: 17px;
}

.cart-product-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cart-product-actions small {
    color: var(--muted);
    font-size: 12px;
}

.cart-quantity {
    display: inline-grid;
    grid-template-columns: 42px 58px 42px;
    height: 42px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
}

.cart-quantity button {
    border: 0;
    background: #f5f6f7;
    color: var(--primary-dark);
    cursor: pointer;
    font-size: 22px;
    font-weight: 800;
}

.cart-quantity button:hover {
    background: #e8efec;
}

.cart-quantity input {
    width: 100%;
    border: 0;
    border-right: 1px solid var(--border);
    border-left: 1px solid var(--border);
    outline: 0;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    appearance: textfield;
}

.cart-quantity input::-webkit-inner-spin-button,
.cart-quantity input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.cart-summary {
    position: sticky;
    top: 150px;
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.cart-summary-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.cart-summary-total {
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    font-size: 22px;
}

.cart-continue-shopping {
    text-align: center;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

.cart-empty-state {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 46px 24px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    text-align: center;
    box-shadow: var(--shadow);
}

.cart-empty-state strong {
    color: var(--primary-dark);
    font-size: 22px;
}

.cart-empty-state span {
    color: var(--muted);
}

@media (max-width: 920px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 620px) {
    .cart-product {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 14px;
        padding: 15px;
        border-radius: 18px;
    }

    .cart-product-image {
        width: 88px;
        height: 88px;
        border-radius: 13px;
    }

    .cart-product-heading {
        gap: 8px;
    }

    .cart-product h3 {
        font-size: 15px;
    }

    .cart-product-pricing {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .cart-product-pricing strong {
        font-size: 15px;
    }

    .cart-product-actions {
        grid-column: 1 / -1;
    }

    .cart-quantity {
        grid-template-columns: 40px 52px 40px;
        height: 40px;
    }

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

/* Fonte visual original: carrinho-adicionar.css */
.cart-feedback {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    max-width: min(360px, calc(100% - 32px));
    padding: 14px 18px;
    border-radius: 14px;
    background: #173f33;
    color: #ffffff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.22);
    font-size: 14px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-feedback.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 620px) {
    .cart-feedback {
        right: 16px;
        bottom: 16px;
        left: 16px;
        max-width: none;
        text-align: center;
    }
}

/* Fonte visual original: checkout.css */
/* =========================================================
   CHECKOUT
========================================================= */

.checkout-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #fecaca;
    border-radius: 14px;
    background: #fee2e2;
    color: #991b1b;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.checkout-form-card,
.checkout-summary,
.order-success-card {
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.checkout-form-card {
    padding: 26px;
}

.checkout-block + .checkout-block {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.checkout-block h3,
.checkout-summary h3 {
    margin: 0 0 18px;
    color: var(--primary-dark);
}

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.checkout-field {
    display: grid;
    gap: 7px;
}

.checkout-field-full {
    grid-column: 1 / -1;
}

.checkout-field label {
    font-size: 14px;
    font-weight: 800;
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 13px;
    background: #fff;
    outline: none;
}

.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 95, 74, 0.1);
}

.checkout-summary {
    position: sticky;
    top: 24px;
    padding: 22px;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.checkout-summary-item div {
    display: grid;
    gap: 5px;
}

.checkout-summary-item span,
.checkout-summary > small {
    color: var(--muted);
    font-size: 13px;
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 18px;
    font-size: 22px;
}

.checkout-summary > small {
    display: block;
    margin-top: 12px;
    text-align: center;
    line-height: 1.5;
}

.order-success-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 42px;
    text-align: center;
}

.order-success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 34px;
    font-weight: 900;
}

.order-success-card > span:not(.order-success-icon) {
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.order-success-card h1 {
    margin: 10px 0;
    color: var(--primary-dark);
}

.order-success-card p {
    color: var(--muted);
    line-height: 1.6;
}

.order-success-total {
    margin: 24px 0;
    padding: 18px;
    border-radius: 14px;
    background: #f8faf9;
}

.order-success-total span,
.order-success-total strong {
    display: block;
}

.order-success-total strong {
    margin-top: 7px;
    font-size: 28px;
    color: var(--primary-dark);
}

.order-success-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Fonte visual original: meus-pedidos.css */
/* =========================================================
   ACOMPANHAMENTO DE PEDIDOS
========================================================= */

.customer-order-alert {
    max-width: 620px;
    margin: 0 auto 18px;
    padding: 14px 16px;
    border-radius: 14px;
}

.customer-order-alert.error {
    border: 1px solid #fecaca;
    background: #fee2e2;
    color: #991b1b;
}

.customer-order-alert.success {
    border: 1px solid #bbf7d0;
    background: #dcfce7;
    color: #166534;
}

.customer-order-auth {
    max-width: 520px;
    margin: 0 auto;
}

.customer-order-card,
.customer-order-detail,
.customer-order-item,
.customer-orders-header {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.customer-order-card {
    padding: 28px;
}

.customer-order-card h3 {
    margin: 0 0 8px;
    color: var(--primary-dark);
}

.customer-order-card p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.6;
}

.customer-order-field {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
}

.customer-order-field label {
    font-weight: 800;
}

.customer-order-field input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    font-size: 16px;
}

.customer-order-field input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 95, 74, 0.1);
}

.customer-order-new-code {
    display: block;
    margin-top: 16px;
    text-align: center;
    color: var(--primary);
    font-weight: 800;
}

.customer-orders-header {
    margin-bottom: 18px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.customer-orders-header div {
    display: grid;
    gap: 4px;
}

.customer-orders-header span {
    color: var(--muted);
    font-size: 13px;
}

.customer-orders-list {
    display: grid;
    gap: 12px;
}

.customer-order-item {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: inherit;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease;
}

.customer-order-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.customer-order-item > div {
    display: grid;
    gap: 5px;
}

.customer-order-item span,
.customer-order-item small {
    color: var(--muted);
}

.customer-order-detail {
    padding: 26px;
}

.customer-order-back {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--primary);
    font-weight: 800;
}

.customer-order-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.customer-order-detail-header span:first-child {
    color: var(--muted);
    font-size: 13px;
}

.customer-order-detail-header h3 {
    margin: 5px 0 0;
    color: var(--primary-dark);
}

.customer-order-status {
    padding: 8px 11px;
    border-radius: 999px;
    background: #e8f3ef;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 900;
}

.customer-order-timeline {
    margin: 24px 0;
    display: grid;
    gap: 0;
}

.customer-order-timeline article {
    min-height: 58px;
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    position: relative;
}

.customer-order-timeline article > span {
    width: 12px;
    height: 12px;
    margin-top: 4px;
    border-radius: 999px;
    background: var(--primary);
}

.customer-order-timeline article:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 17px;
    bottom: 0;
    left: 5px;
    width: 2px;
    background: #dbe8e3;
}

.customer-order-timeline article div {
    display: grid;
    align-content: start;
    gap: 4px;
}

.customer-order-timeline small {
    color: var(--muted);
}

.customer-order-items {
    border-top: 1px solid var(--border);
}

.customer-order-items > div,
.customer-order-total {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.customer-order-items > div > div {
    display: grid;
    gap: 5px;
}

.customer-order-items span {
    color: var(--muted);
    font-size: 13px;
}

.customer-order-total {
    border-bottom: 0;
    font-size: 22px;
}

@media (max-width: 620px) {
    .customer-order-card,
    .customer-order-detail {
        padding: 20px;
    }

    .customer-orders-header,
    .customer-order-detail-header,
    .customer-order-item {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-order-status {
        align-self: flex-start;
    }
}

/* Fonte visual original: mercado-pago.css */
.payment-result-card{max-width:620px;margin:0 auto;padding:34px;border:1px solid var(--border);border-radius:22px;background:#fff;box-shadow:var(--shadow);text-align:center}.payment-result-card h1{margin-top:0}.payment-result-card .btn{margin:8px 4px}.payment-approved{border-color:#86efac}.payment-error{border-color:#fecaca}.payment-pending{border-color:#fde68a}

/* Fonte visual original: formas-pagamento-publico.css */
.home-payment-summary {
    display: grid;
    gap: 5px;
    margin-top: 6px;
}

.home-payment-main-label {
    color: #6a756d;
    font-size: 12px;
    font-weight: 700;
}

.home-payment-option {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    color: #455249;
    font-size: 12px;
}

.home-payment-option strong {
    color: #166534;
    font-size: 13px;
    white-space: nowrap;
}

.home-payment-discount {
    color: #166534;
    font-weight: 800;
}

@media (max-width: 760px) {
    .home-payment-option {
        align-items: flex-start;
        flex-direction: column;
        gap: 1px;
    }
}

/* Fonte visual original: avaliacoes.css */
/* =========================================================
   AVALIAÇÕES PÚBLICAS DE PRODUTOS
========================================================= */

.product-reviews-section {
    padding: 42px 0;
    background: #f7faf8;
}

.product-reviews-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.product-reviews-heading > div:first-child > span {
    color: #52745c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-reviews-heading h2 {
    margin: 5px 0 0;
}

.product-reviews-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-reviews-summary > strong {
    color: #183d27;
    font-size: 36px;
}

.product-reviews-summary small {
    display: block;
    color: #667269;
}

.review-stars {
    color: #e6a700;
    letter-spacing: 2px;
    white-space: nowrap;
}

.product-reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
    gap: 24px;
    align-items: start;
}

.product-reviews-list {
    display: grid;
    gap: 14px;
}

.review-card,
.review-empty,
.product-review-form-card {
    padding: 20px;
    border: 1px solid #dce6df;
    border-radius: 14px;
    background: #fff;
}

.review-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.review-card h3 {
    margin: 14px 0 6px;
    font-size: 17px;
}

.review-card p {
    margin: 0 0 12px;
    color: #4f5f54;
    line-height: 1.6;
}

.review-card small {
    color: #77827b;
}

.review-verified {
    display: inline-flex;
    margin-left: 8px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #eaf7ed;
    color: #166534;
    font-size: 11px;
    font-weight: 800;
}

.product-review-form-card {
    position: sticky;
    top: 20px;
}

.product-review-form-card h3 {
    margin-top: 0;
}

.product-review-form-card form {
    display: grid;
    gap: 15px;
}

.product-review-form-card label,
.review-rating-fieldset legend {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.product-review-form-card input,
.product-review-form-card textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #ccd8cf;
    border-radius: 9px;
    background: #fff;
    font: inherit;
}

.review-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.review-rating-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.review-rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.review-rating-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.review-rating-input label {
    margin: 0;
    color: #cfd5d1;
    cursor: pointer;
    font-size: 34px;
    transition: color .15s ease;
}

.review-rating-input label:hover,
.review-rating-input label:hover ~ label,
.review-rating-input input:checked ~ label {
    color: #e6a700;
}

.review-submit-button {
    min-height: 46px;
    border: 0;
    border-radius: 9px;
    background: #166534;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}

.review-submit-button:disabled {
    cursor: wait;
    opacity: .65;
}

.review-form-message {
    min-height: 22px;
    font-size: 14px;
}

.review-form-message.success {
    color: #166534;
}

.review-form-message.error {
    color: #b42318;
}

/* Estrelas compactas usadas nos cards de produto. */
.product-rating-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 8px;
    font-size: 12px;
}

.product-rating-compact strong {
    color: #38463c;
}

.product-rating-empty {
    color: #7b867f;
    font-size: 12px;
}

@media (max-width: 760px) {
    .product-reviews-section {
        padding: 28px 0;
    }

    .product-reviews-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-reviews-layout {
        grid-template-columns: 1fr;
    }

    .product-review-form-card {
        position: static;
    }

    .review-form-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   CARREGAMENTO INCREMENTAL DAS AVALIAÇÕES
========================================================= */

.review-cards-container {
    display: grid;
    gap: 14px;
}

.reviews-load-more-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 4px;
    padding-top: 10px;
}

.reviews-count-info {
    margin: 0;
    color: #6f7b73;
    font-size: 13px;
}

.reviews-load-more-button {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #166534;
    border-radius: 9px;
    background: #fff;
    color: #166534;
    cursor: pointer;
    font-weight: 800;
}

.reviews-load-more-button:hover {
    background: #f0f8f2;
}

.reviews-load-more-button:disabled {
    cursor: wait;
    opacity: .65;
}

@media (max-width: 560px) {
    .reviews-load-more-area {
        align-items: stretch;
        flex-direction: column;
    }

    .reviews-load-more-button {
        width: 100%;
    }
}


/* =========================================================
   CARROSSEL DE AVALIAÇÕES NA HOME
========================================================= */

.home-reviews-section {
    padding-top: 34px;
    padding-bottom: 46px;
    background: #f7faf8;
}

.home-reviews-carousel-shell {
    position: relative;
}

.home-reviews-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(290px, 360px);
    gap: 16px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.home-review-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 22px;
    border: 1px solid #dce6df;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
    scroll-snap-align: start;
}

.home-review-stars {
    color: #e6a700;
    font-size: 19px;
    letter-spacing: 2px;
}

.home-review-card h3 {
    margin: 14px 0 8px;
    font-size: 18px;
}

.home-review-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 18px;
    color: #4f5e54;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.home-review-footer {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #edf1ee;
}

.home-review-footer strong {
    display: block;
}

.home-review-footer span {
    color: #166534;
    font-size: 11px;
    font-weight: 800;
}

.home-review-footer a {
    color: #4c6253;
    font-size: 13px;
    text-decoration: none;
}

.home-review-footer a:hover {
    color: #166534;
}

@media (max-width: 760px) {
    .home-reviews-section {
        padding-top: 24px;
        padding-bottom: 32px;
    }

    .home-reviews-carousel {
        grid-auto-columns: 82vw;
        margin-right: -16px;
        padding-right: 16px;
        scrollbar-width: none;
    }

    .home-reviews-carousel::-webkit-scrollbar {
        display: none;
    }

    .home-reviews-carousel-shell
    .home-product-arrow {
        display: none;
    }

    .home-review-card {
        min-height: 230px;
        padding: 18px;
    }
}


/* =========================================================
   AJUSTE DO CARD DE AVALIAÇÃO NA HOME
   Ordem visual:
   1. nome do cliente;
   2. estrelas;
   3. comentário.
========================================================= */

.home-review-customer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.home-review-customer strong {
    color: #243a2b;
    font-size: 16px;
}

.home-review-customer span {
    padding: 3px 7px;
    border-radius: 999px;
    background: #eaf7ed;
    color: #166534;
    font-size: 11px;
    font-weight: 800;
}

/*
 * O rodapé antigo com nome do produto deixou de ser usado.
 */
.home-review-footer {
    display: none !important;
}


/* DATA E LOCALIZAÇÃO NAS AVALIAÇÕES */
.home-review-meta, .review-card-meta { display:flex; flex-wrap:wrap; gap:6px 10px; margin:4px 0 10px; color:#748078; font-size:12px; }
.home-review-meta span + span::before, .review-card-meta span + span::before { content:"•"; margin-right:10px; color:#a3ada6; }
.product-review-form-card select { width:100%; padding:12px 13px; border:1px solid #ccd8cf; border-radius:9px; background:#fff; font:inherit; }

/* Fonte visual original: home-vitrine-mobile.css */
/* =========================================================
   HOME - VITRINES POR CATEGORIA E AJUSTES MOBILE
========================================================= */

.home-mobile-tools {
    padding: 18px 0 4px;
    background: #fff;
}

.home-mobile-tools .container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-search-form {
    display: flex;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dbe3dc;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .05);
}

.home-search-form input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
}

.home-search-form button {
    width: 52px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
}

.home-cart-shortcut {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid #dbe3dc;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .05);
    text-decoration: none;
    font-size: 20px;
}

.home-cart-shortcut strong {
    position: absolute;
    top: -5px;
    right: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #166534;
    color: #fff;
    font-size: 11px;
}

.home-category-section {
    padding-top: 22px;
    padding-bottom: 22px;
}

.home-category-title {
    margin-bottom: 14px;
}

.home-showcase-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.home-showcase-header span {
    display: block;
    margin-bottom: 5px;
    color: #52745c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-showcase-header h2 {
    margin: 0;
}

.home-view-all {
    color: #166534;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.home-carousel-shell {
    position: relative;
}

.home-product-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 280px);
    gap: 16px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.home-carousel-card {
    scroll-snap-align: start;
}

.home-product-arrow {
    position: absolute;
    top: 40%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #d8e1da;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.home-product-arrow.prev {
    left: -18px;
}

.home-product-arrow.next {
    right: -18px;
}

.home-product-showcase {
    padding-top: 28px;
    padding-bottom: 34px;
}

.home-product-image img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    background: #fff;
}

/* A faixa verde de benefícios foi removida da nova home. */
.home-benefits-bar {
    display: none !important;
}

@media (max-width: 760px) {
    .home-banner-overlay {
        display: none;
    }

    .home-banner-carousel,
    .home-banner-track,
    .home-banner-slide,
    .home-banner-slide picture,
    .home-banner-slide img {
        max-height: 190px;
    }

    .home-banner-slide img {
        width: 100%;
        object-fit: cover;
    }

    .home-mobile-tools {
        position: sticky;
        top: 0;
        z-index: 20;
        padding: 10px 0;
        border-bottom: 1px solid #eef2ef;
    }

    .home-search-form input {
        height: 44px;
        padding: 0 14px;
        font-size: 14px;
    }

    .home-search-form button {
        width: 44px;
    }

    .home-cart-shortcut {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .home-category-title p,
    .home-category-title > p {
        display: none;
    }

    .home-category-scroll {
        display: flex !important;
        gap: 10px;
        overflow-x: auto;
        margin-right: -16px;
        padding: 2px 16px 10px 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .home-category-scroll::-webkit-scrollbar {
        display: none;
    }

    .home-category-card {
        flex: 0 0 auto;
        min-width: 132px;
        padding: 12px;
        scroll-snap-align: start;
    }

    .home-category-card span {
        display: none;
    }

    .home-category-icon {
        width: 38px;
        height: 38px;
    }

    .home-product-showcase {
        padding-top: 18px;
        padding-bottom: 24px;
    }

    .home-showcase-header {
        align-items: center;
        margin-bottom: 12px;
    }

    .home-showcase-header h2 {
        font-size: 21px;
        line-height: 1.15;
    }

    .home-view-all {
        font-size: 13px;
    }

    .home-product-carousel {
        grid-auto-columns: minmax(72vw, 280px);
        gap: 12px;
        margin-right: -16px;
        padding-right: 16px;
        scrollbar-width: none;
    }

    .home-product-carousel::-webkit-scrollbar {
        display: none;
    }

    .home-product-arrow {
        display: none;
    }

    .home-product-image img {
        height: 220px;
    }

    .home-product-info p {
        display: none;
    }

    .home-product-info h3 {
        min-height: auto;
        font-size: 15px;
    }

    .home-buy-button {
        min-height: 44px;
    }
}

@media (max-width: 420px) {
    .home-banner-carousel,
    .home-banner-track,
    .home-banner-slide,
    .home-banner-slide picture,
    .home-banner-slide img {
        max-height: 150px;
    }

    .home-product-carousel {
        grid-auto-columns: 78vw;
    }

    .home-product-image img {
        height: 205px;
    }
}

/* Fonte visual original: paginacao-produtos.css */
.public-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.public-pagination-button,
.public-pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid #d7dde5;
    border-radius: 10px;
    background: #ffffff;
    color: #243244;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}

.public-pagination-button:hover,
.public-pagination-number:hover {
    border-color: #667085;
    transform: translateY(-1px);
}

.public-pagination-number.active {
    border-color: #243244;
    background: #243244;
    color: #ffffff;
}

.public-pagination-ellipsis {
    padding: 0 3px;
    color: #667085;
}

.public-pagination-summary {
    margin: 14px 0 0;
    color: #667085;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 620px) {
    .public-pagination {
        gap: 6px;
        margin-top: 24px;
    }

    .public-pagination-button,
    .public-pagination-number {
        min-width: 38px;
        min-height: 38px;
        padding: 7px 10px;
        font-size: 13px;
    }

    .public-pagination-summary {
        line-height: 1.5;
    }
}

/* Fonte visual original: responsive.css */
/* =========================================================
   RESPONSIVO - TABLET
========================================================= */

@media (max-width: 1100px) {
    .home-products-grid,
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-content {
        grid-template-columns: 1fr;
        padding: 18px 0;
    }

    .home-hero-content {
        grid-template-columns: 1fr;
    }

    .home-hero-highlight {
        max-width: 520px;
    }

    .home-section-title {
        align-items: start;
        flex-direction: column;
    }

    .home-benefits-grid {
        grid-template-columns: 1fr;
    }

    .home-products-grid,
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .home-whatsapp-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   RESPONSIVO - MOBILE
========================================================= */

@media (max-width: 620px) {
    body {
        background: #f8f6f1;
    }

    .container {
        width: calc(100% - 24px);
    }

    /* =====================================================
       TOPO MOBILE
    ===================================================== */

    .top-bar {
        font-size: 12px;
    }

    .top-bar-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3px;
        padding: 7px 0;
    }

    .main-header {
        position: sticky;
        top: 0;
        z-index: 20;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    }

    .header-content {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 14px 0;
        align-items: center;
    }

    .logo {
        min-width: 0;
    }

    .logo-main {
        font-size: 25px;
    }

    .logo-sub {
        font-size: 13px;
    }

    .cart-link {
        padding: 10px 12px;
        font-size: 0;
        min-width: 54px;
    }

    .cart-link::before {
        content: "🛒";
        font-size: 18px;
        vertical-align: middle;
    }

    .cart-link span {
        min-width: 22px;
        height: 22px;
        margin-left: 4px;
        font-size: 12px;
        vertical-align: middle;
    }

    .search-form {
        grid-column: 1 / -1;
        width: 100%;
        border-radius: 14px;
    }

    .search-form input {
        padding: 13px 14px;
        font-size: 14px;
    }

    .search-form button {
        padding: 0 15px;
        font-size: 13px;
    }

    .category-nav {
        position: sticky;
        top: 86px;
        z-index: 19;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    }

    .category-nav-content {
        gap: 10px;
        padding: 10px 0;
        scroll-snap-type: x mandatory;
    }

    .category-nav-content a {
        scroll-snap-align: start;
        background: #f7f5f0;
        border: 1px solid var(--border);
        border-radius: 999px;
        padding: 9px 13px;
        font-size: 13px;
    }

    /* =====================================================
       HOME HERO MOBILE
    ===================================================== */

    .home-hero {
        padding: 28px 0 34px;
    }

    .home-hero-content {
        gap: 22px;
    }

    .home-hero-tag {
        font-size: 12px;
        padding: 7px 12px;
        margin-bottom: 12px;
    }

    .home-hero-text h1 {
        font-size: 32px;
        line-height: 1.06;
        letter-spacing: -0.8px;
    }

    .home-hero-text p {
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.55;
    }

    .home-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 22px;
    }

    .home-hero-actions .btn {
        width: 100%;
        padding: 14px 18px;
    }

    .home-hero-benefits {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    .home-hero-benefits div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 13px 14px;
        border-radius: 15px;
    }

    .home-hero-benefits strong {
        margin-bottom: 0;
        font-size: 14px;
    }

    .home-hero-benefits span {
        font-size: 12px;
        text-align: right;
    }

    .highlight-card-main {
        min-height: auto;
        padding: 22px;
        border-radius: 22px;
    }

    .highlight-card-main h2 {
        font-size: 25px;
    }

    .highlight-card-main p {
        font-size: 14px;
    }

    .highlight-card-main a {
        width: 100%;
        justify-content: center;
        margin-top: 18px;
    }

    .highlight-card-small {
        position: static;
        margin-top: 12px;
        padding: 16px 18px;
        border-radius: 18px;
    }

    .highlight-card-small strong {
        font-size: 21px;
    }

    /* =====================================================
       HOME SEÇÕES MOBILE
    ===================================================== */

    .home-section {
        padding: 36px 0;
    }

    .home-section-title {
        gap: 8px;
        margin-bottom: 18px;
    }

    .home-section-title span {
        font-size: 12px;
    }

    .home-section-title h2 {
        font-size: 25px;
    }

    .home-section-title p {
        font-size: 14px;
    }

    /* =====================================================
       CATEGORIAS COMO CARROSSEL HORIZONTAL
    ===================================================== */

    .home-category-grid {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding: 2px 2px 10px;
        margin: 0 -2px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .home-category-grid::-webkit-scrollbar {
        display: none;
    }

    .home-category-card {
        min-width: 220px;
        min-height: 88px;
        padding: 16px;
        border-radius: 18px;
        scroll-snap-align: start;
    }

    .home-category-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 14px;
        font-size: 19px;
    }

    .home-category-card strong {
        font-size: 15px;
    }

    /* =====================================================
       BENEFÍCIOS MOBILE
    ===================================================== */

    .home-benefits-bar {
        padding: 24px 0;
    }

    .home-benefits-grid {
        gap: 18px;
    }

    .home-benefit-item strong {
        font-size: 15px;
    }

    .home-benefit-item span {
        font-size: 13px;
    }

    /* =====================================================
       PRODUTOS DA HOME COMO CARROSSEL HORIZONTAL
       Somente a home vira carrossel.
       A tela de categoria/busca continua em lista vertical.
    ===================================================== */

    .home-products-grid {
        display: flex;
        overflow-x: auto;
        gap: 14px;
        padding: 2px 2px 14px;
        margin: 0 -2px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .home-products-grid::-webkit-scrollbar {
        display: none;
    }

    .home-product-card {
        min-width: 78%;
        max-width: 78%;
        border-radius: 20px;
        scroll-snap-align: start;
    }

    .home-product-image {
        height: 230px;
    }

    .home-product-image img {
        object-fit: contain;
        padding: 22px;
        background: #f3f4f6;
    }

    .home-product-info {
        padding: 16px;
    }

    .home-product-info h3 {
        font-size: 16px;
    }

    .home-product-info p {
        min-height: 0;
        font-size: 13px;
    }

    .home-current-price {
        font-size: 24px;
    }

    .home-pix-price {
        font-size: 14px;
    }

    .home-buy-button {
        padding: 15px 16px;
        border-radius: 14px;
        font-size: 15px;
    }

    /* =====================================================
       LISTAGEM DE CATEGORIA/BUSCA MOBILE
       Aqui continua vertical, porque é melhor para catálogo.
    ===================================================== */

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card {
        border-radius: 20px;
    }

    .product-image {
        height: 240px;
    }

    .product-info {
        padding: 16px;
    }

    .product-info h3 {
        font-size: 16px;
    }

    .product-description {
        min-height: 0;
        font-size: 13px;
    }

    .product-price {
        font-size: 24px;
    }

    .pix-price {
        font-size: 14px;
    }

    .btn-buy {
        padding: 15px 16px;
        border-radius: 14px;
        font-size: 15px;
    }

    /* =====================================================
       WHATSAPP MOBILE
    ===================================================== */

    .home-whatsapp-section {
        padding: 36px 0;
    }

    .home-whatsapp-box {
        padding: 24px;
        border-radius: 22px;
        gap: 18px;
    }

    .home-whatsapp-box h2 {
        font-size: 24px;
    }

    .home-whatsapp-box p {
        font-size: 14px;
    }

    .home-whatsapp-button {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 14px 18px;
    }

    /* =====================================================
       PÁGINAS INTERNAS MOBILE
    ===================================================== */

    .section {
        padding: 36px 0;
    }

    .section-title h2 {
        font-size: 25px;
    }

    .section-title p {
        font-size: 14px;
    }

    .product-detail {
        gap: 18px;
    }

    .product-detail-image {
        padding: 14px;
        border-radius: 20px;
    }

    .product-detail-info {
        padding: 22px;
        border-radius: 20px;
    }

    .product-detail-info h1 {
        font-size: 25px;
    }

    .product-price-large {
        font-size: 32px;
    }

    .buy-form {
        grid-template-columns: 1fr;
    }

    .buy-form input {
        width: 100%;
    }

    .cart-box {
        padding: 18px;
        border-radius: 20px;
    }

    .cart-item {
        flex-direction: column;
        gap: 10px;
    }

    .cart-item-right {
        text-align: left;
    }

    .cart-total {
        font-size: 21px;
    }

    .site-footer {
        padding: 34px 0;
        margin-top: 28px;
    }

    .footer-grid {
        gap: 18px;
    }
}

/* =========================================================
   RESPONSIVO - CELULARES PEQUENOS
========================================================= */

@media (max-width: 390px) {
    .container {
        width: calc(100% - 20px);
    }

    .logo-main {
        font-size: 23px;
    }

    .home-hero-text h1 {
        font-size: 29px;
    }

    .home-product-card {
        min-width: 84%;
        max-width: 84%;
    }

    .home-product-image {
        height: 210px;
    }

    .home-product-image img {
        object-fit: contain;
        padding: 20px;
        background: #f3f4f6;
    }

    .product-image {
        height: 220px;
    }

    .home-category-card {
        min-width: 205px;
    }

    .search-form button {
        padding: 0 12px;
    }
}

/* =========================================================
   CHECKOUT - TABLET
========================================================= */

@media (max-width: 920px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }
}

/* =========================================================
   CHECKOUT - MOBILE
========================================================= */

@media (max-width: 620px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-field-full {
        grid-column: auto;
    }

    .checkout-form-card,
    .checkout-summary,
    .order-success-card {
        padding: 20px;
    }

    .order-success-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .order-success-actions .btn {
        width: 100%;
    }
}
