/*
 * =============================================
 * CABEÇALHO DO CATÁLOGO / CATEGORIA
 * =============================================
 */

.catalog-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: var(--space-5);

    margin-bottom:
        var(--space-5);
}

.catalog-header h1 {
    margin-bottom:
        var(--space-2);

    font-size: clamp(
        1.8rem,
        3vw,
        2.4rem
    );
}

.catalog-header p {
    max-width: 760px;

    margin-bottom: 0;

    color:
        var(--color-text-muted);

    line-height: 1.6;
}


/*
 * =============================================
 * ESTRUTURA DO CATÁLOGO
 * =============================================
 */

.catalog-layout {
    display: grid;

    grid-template-columns:
        190px
        minmax(0, 1fr);

    gap:
        var(--space-5);

    align-items: start;
}


/*
 * =============================================
 * SIDEBAR / CATEGORIAS
 * =============================================
 */

.catalog-sidebar {
    align-self: start;

    position: sticky;

    top: 16px;

    padding:
        var(--space-4);
}

.catalog-sidebar-title {
    margin-bottom:
        var(--space-3);

    font-size: 1rem;
}

.catalog-category-list,
.catalog-category-children {
    margin: 0;
    padding: 0;

    list-style: none;
}

.catalog-category-children {
    margin-top: 3px;
    margin-left: 10px;

    padding-left: 10px;

    border-left:
        1px solid
        var(--color-border);
}

.catalog-category-list li + li {
    margin-top: 2px;
}

.catalog-category-list a,
.catalog-category-children a {
    display: block;

    padding:
        7px
        9px;

    border-radius:
        var(--radius-sm);

    color:
        var(--color-text);

    font-size: 0.86rem;

    text-decoration: none;
}

.catalog-category-list a:hover,
.catalog-category-children a:hover,
.catalog-category-list a.is-active,
.catalog-category-children a.is-active {
    color:
        var(--color-primary);

    background:
        var(--color-primary-light);
}


/*
 * =============================================
 * RESULTADOS
 * =============================================
 */

.catalog-results-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: var(--space-4);

    margin-bottom:
        var(--space-4);
}

.catalog-results-header h2 {
    margin: 0;

    font-size: 1.15rem;
}

.catalog-results-count {
    margin: 0;

    color:
        var(--color-text-muted);

    font-size: 0.84rem;
}


/*
 * =============================================
 * GRID DE PRODUTOS
 * =============================================
 */

.catalog-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap:
        var(--space-4);

    align-items: stretch;
}


/*
 * =============================================
 * CARD DE PRODUTO
 * =============================================
 */

.product-card {
    position: relative;

    display: flex;

    flex-direction: column;

    min-width: 0;
    height: 100%;

    overflow: hidden;
}


/*
 * =============================================
 * FEEDBACK DO CARRINHO
 * =============================================
 */

.product-cart-feedback {
    position: absolute;

    z-index: 10;

    top: 12px;
    left: 12px;
    right: 12px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        10px
        12px;

    border:
        1px solid
        rgba(
            25,
            115,
            60,
            0.2
        );

    border-radius:
        var(--radius-md);

    background:
        rgba(
            234,
            247,
            239,
            0.97
        );

    color:
        var(--color-success);

    box-shadow:
        var(--shadow-md);

    font-size: 0.78rem;
    font-weight: 700;
}

.product-cart-feedback-icon {
    width: 21px;
    height: 21px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #fff;

    background:
        var(--color-success);

    font-size: 0.7rem;
}


/*
 * =============================================
 * GALERIA DO CARD
 * =============================================
 */

.product-card-gallery {
    padding:
        var(--space-3);

    border-bottom:
        1px solid
        var(--color-border);

    background: #fff;
}

.product-main-image-container {
    width: 100%;
    height: 210px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius:
        var(--radius-md);

    background: #fff;
}

.product-main-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.product-no-image {
    width: 100%;
    height: 210px;

    display: flex;

    align-items: center;
    justify-content: center;

    color:
        var(--color-text-muted);

    background:
        var(--color-surface);
}


/*
 * =============================================
 * MINIATURAS
 * =============================================
 */

.product-thumbnails {
    display: flex;

    gap: 6px;

    margin-top: 8px;

    overflow-x: auto;

    padding-bottom: 2px;
}

.product-thumbnail-button {
    width: 42px;
    height: 42px;

    flex:
        0
        0
        auto;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 2px;

    overflow: hidden;

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-sm);

    background: #fff;
}

.product-thumbnail-button:hover {
    border-color:
        var(--color-primary);
}

.product-thumbnail-button.is-selected {
    border:
        2px solid
        var(--color-primary);
}

.product-thumbnail {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/*
 * =============================================
 * CONTEÚDO DO PRODUTO
 * =============================================
 */

.product-card-content {
    display: flex;

    flex: 1;

    flex-direction: column;

    padding:
        var(--space-4);
}

.product-category {
    margin-bottom: 5px;

    color:
        var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.04em;
}

.product-card-title {
    margin-bottom: 7px;

    font-size: 1.05rem;
}

.product-short-description {
    margin-bottom:
        var(--space-3);

    color:
        var(--color-text-muted);

    font-size: 0.82rem;

    line-height: 1.45;
}

.product-badges {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-bottom:
        var(--space-3);
}


/*
 * =============================================
 * VER DETALHES
 * =============================================
 */

.product-details-link {
    display: inline-flex;

    align-items: center;

    align-self: flex-start;

    margin-bottom:
        var(--space-3);

    color:
        var(--color-primary);

    font-size: 0.8rem;
    font-weight: 700;

    text-decoration: none;
}

.product-details-link::after {
    content: "→";

    margin-left: 5px;

    transition:
        transform
        0.15s
        ease;
}

.product-details-link:hover {
    text-decoration: underline;
}

.product-details-link:hover::after {
    transform:
        translateX(
            3px
        );
}


/*
 * =============================================
 * SKUS
 * =============================================
 */

.product-options-title {
    margin-top: auto;
    margin-bottom: 8px;

    font-size: 0.9rem;
}

.product-skus {
    display: grid;

    gap: 10px;
}

.product-sku {
    padding: 11px;

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-md);

    background:
        var(--color-surface);
}

.product-sku-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 8px;

    margin-bottom: 8px;
}

.product-sku-name {
    margin: 0;

    font-size: 0.9rem;
    font-weight: 800;
}

.product-sku-code {
    margin-top: 2px;
    margin-bottom: 0;

    color:
        var(--color-text-muted);

    font-size: 0.67rem;
}

.product-price {
    margin: 0;

    color:
        var(--color-primary);

    font-size: 0.96rem;
    font-weight: 800;

    text-align: right;

    white-space: nowrap;
}


/*
 * =============================================
 * ESTOQUE
 * =============================================
 */

.product-stock {
    display: flex;

    flex-wrap: wrap;

    gap:
        5px
        9px;

    margin-bottom: 8px;

    color:
        var(--color-text-muted);

    font-size: 0.7rem;
}


/*
 * =============================================
 * FAIXAS DE PREÇO
 * =============================================
 */

.price-tiers {
    margin:
        8px
        0;

    overflow-x: auto;
}

.price-tiers table {
    width: 100%;
    min-width: 230px;

    border:
        1px solid
        var(--color-border);

    background: #fff;
}

.price-tiers th,
.price-tiers td {
    padding:
        6px
        7px;
}

.price-tiers th {
    color:
        var(--color-text-muted);

    background:
        var(--color-surface-alt);

    font-size: 0.66rem;
}

.price-tiers td {
    font-size: 0.7rem;
}

.price-tier-message {
    margin:
        8px
        0;

    padding:
        8px
        9px;

    border-radius:
        var(--radius-sm);

    color:
        var(--color-primary-dark);

    background:
        var(--color-primary-light);

    font-size: 0.7rem;

    line-height: 1.4;
}


/*
 * =============================================
 * ADICIONAR
 * =============================================
 */

.product-add-form {
    display: grid;

    grid-template-columns:
        70px
        minmax(0, 1fr);

    gap: 7px;

    margin-top: 8px;
}

.product-add-form input {
    min-height: 38px;

    padding:
        6px
        7px;
}

.product-add-form .button {
    width: 100%;

    min-height: 38px;

    padding:
        7px
        9px;

    font-size: 0.78rem;
}

.product-unavailable {
    margin:
        var(--space-2)
        0
        0;

    color:
        var(--color-danger);

    font-size: 0.76rem;
    font-weight: 700;
}


/*
 * =============================================
 * ACESSO COMERCIAL
 * =============================================
 */

.commercial-access-box {
    margin-top: auto;

    padding: 12px;

    border-radius:
        var(--radius-md);

    color:
        var(--color-primary-dark);

    background:
        var(--color-primary-light);

    font-size: 0.8rem;
}


/*
 * =============================================
 * CATÁLOGO VAZIO
 * =============================================
 */

.catalog-empty {
    padding:
        var(--space-7);

    text-align: center;
}


/*
 * =============================================
 * HOME DO CATÁLOGO
 * =============================================
 */

.catalog-home-hero {
    min-height: 250px;

    display: flex;

    align-items: center;

    margin-bottom:
        var(--space-4);

    padding:
        32px
        clamp(
            28px,
            5vw,
            56px
        );

    overflow: hidden;

    border-radius:
        var(--radius-lg);

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--color-primary-dark),
            var(--color-primary)
        );
}

.catalog-home-hero-content {
    max-width: 760px;
}

.catalog-home-kicker,
.catalog-home-section-kicker {
    display: inline-block;

    margin-bottom: 7px;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.catalog-home-kicker {
    color:
        rgba(
            255,
            255,
            255,
            0.78
        );
}

.catalog-home-hero h1 {
    max-width: 720px;

    margin-bottom:
        var(--space-3);

    color: #fff;

    font-size: clamp(
        2rem,
        4vw,
        3rem
    );

    line-height: 1.08;
}

.catalog-home-hero p {
    max-width: 680px;

    margin-bottom:
        var(--space-4);

    color:
        rgba(
            255,
            255,
            255,
            0.86
        );

    font-size: 0.96rem;

    line-height: 1.6;
}

.catalog-home-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.catalog-home-hero .button-primary {
    color:
        var(--color-primary-dark);

    background: #fff;
}

.catalog-home-hero .button-primary:hover {
    background:
        var(--color-primary-light);
}

.catalog-home-hero .button-secondary {
    color: #fff;

    border-color:
        rgba(
            255,
            255,
            255,
            0.65
        );

    background:
        transparent;
}


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

.catalog-home-benefits {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    margin-bottom:
        var(--space-7);

    overflow: hidden;

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-lg);

    background: #fff;
}

.catalog-home-benefit {
    padding:
        var(--space-4)
        var(--space-5);
}

.catalog-home-benefit + .catalog-home-benefit {
    border-left:
        1px solid
        var(--color-border);
}

.catalog-home-benefit strong {
    display: block;

    margin-bottom: 3px;

    color:
        var(--color-primary-dark);
}

.catalog-home-benefit span {
    color:
        var(--color-text-muted);

    font-size: 0.8rem;
}


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

.catalog-home-section {
    margin-bottom:
        var(--space-8);

    scroll-margin-top: 24px;
}

.catalog-home-section-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: var(--space-4);

    margin-bottom:
        var(--space-5);
}

.catalog-home-section-kicker {
    margin-bottom: 5px;

    color:
        var(--color-primary);
}

.catalog-home-section-header h2 {
    margin-bottom: 0;

    font-size: clamp(
        1.5rem,
        3vw,
        2rem
    );
}


/*
 * =============================================
 * CATEGORIAS VISUAIS
 * =============================================
 */

.catalog-home-categories {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap:
        var(--space-4);
}

.catalog-home-category-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    height: 100%;

    overflow: hidden;

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-lg);

    color:
        var(--color-text);

    background: #fff;

    box-shadow:
        var(--shadow-sm);

    text-decoration: none;

    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
}

.catalog-home-category-card:hover {
    transform:
        translateY(-4px);

    border-color:
        var(--color-primary);

    box-shadow:
        var(--shadow-md);

    text-decoration: none;
}


/*
 * IMAGEM
 */

.catalog-home-category-image {
    position: relative;

    width: 100%;
    aspect-ratio: 4 / 3;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        var(--color-surface);
}

.catalog-home-category-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform
        0.25s
        ease;
}

.catalog-home-category-card:hover
.catalog-home-category-image img {
    transform:
        scale(1.035);
}


/*
 * CATEGORIA SEM IMAGEM
 */

.catalog-home-category-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color:
        var(--color-primary);

    background:
        var(--color-primary-light);

    font-size: 3.4rem;
    font-weight: 900;
}


/*
 * CONTEÚDO
 */

.catalog-home-category-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding:
        var(--space-4);
}

.catalog-home-category-content h3 {
    margin-bottom: 7px;

    color:
        var(--color-primary-dark);

    font-size: 1rem;
    font-weight: 800;

    line-height: 1.3;
}

.catalog-home-category-content p {
    margin-bottom:
        var(--space-4);

    color:
        var(--color-text-muted);

    font-size: 0.8rem;

    line-height: 1.5;
}

.catalog-home-category-content span {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    margin-top: auto;

    color:
        var(--color-primary);

    font-size: 0.8rem;
    font-weight: 800;
}

/*
 * =============================================
 * DESTAQUES DA HOME
 * =============================================
 */

.catalog-home-section-link {
    flex-shrink: 0;

    color:
        var(--color-primary);

    font-size: 0.82rem;
    font-weight: 800;

    text-decoration: none;
}

.catalog-home-section-link:hover {
    text-decoration: underline;
}


/*
 * GRID
 */

.catalog-home-featured-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap:
        var(--space-4);

    align-items: stretch;
}


/*
 * CARD
 */

.catalog-home-featured-card {
    display: flex;

    flex-direction: column;

    min-width: 0;
    height: 100%;

    overflow: hidden;

    transition:
        transform
        var(--transition-fast),
        box-shadow
        var(--transition-fast),
        border-color
        var(--transition-fast);
}

.catalog-home-featured-card:hover {
    transform:
        translateY(-4px);

    border-color:
        var(--color-border-strong);

    box-shadow:
        var(--shadow-md);
}


/*
 * IMAGEM
 */

.catalog-home-featured-image {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 18px;

    overflow: hidden;

    border-bottom:
        1px solid
        var(--color-border);

    color:
        var(--color-text-muted);

    background: #fff;

    text-decoration: none;
}

.catalog-home-featured-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform
        0.25s
        ease;
}

.catalog-home-featured-card:hover
.catalog-home-featured-image img {
    transform:
        scale(1.035);
}

.catalog-home-featured-no-image {
    color:
        var(--color-text-muted);

    font-size: 0.82rem;
}


/*
 * CONTEÚDO
 */

.catalog-home-featured-content {
    display: flex;

    flex: 1;
    flex-direction: column;

    padding:
        var(--space-4);
}


/*
 * SELOS
 */

.catalog-home-featured-badges {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 10px;
}

.catalog-home-featured-badge {
    display: inline-flex;

    align-items: center;

    min-height: 24px;

    padding:
        4px
        8px;

    border-radius: 999px;

    color:
        var(--color-primary-dark);

    background:
        var(--color-primary-light);

    font-size: 0.65rem;
    font-weight: 800;

    line-height: 1;

    text-transform: uppercase;

    letter-spacing: 0.03em;
}

.catalog-home-featured-badge-new {
    color: #fff;

    background:
        var(--color-primary);
}


/*
 * CATEGORIA
 */

.catalog-home-featured-category {
    display: block;

    margin-bottom: 6px;

    color:
        var(--color-primary);

    font-size: 0.68rem;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.04em;
}


/*
 * TÍTULO
 */

.catalog-home-featured-content h3 {
    margin-bottom: 8px;

    font-size: 1rem;

    line-height: 1.35;
}

.catalog-home-featured-title {
    color:
        var(--color-text);

    text-decoration: none;
}

.catalog-home-featured-title:hover {
    color:
        var(--color-primary);

    text-decoration: none;
}


/*
 * DESCRIÇÃO
 */

.catalog-home-featured-content p {
    margin-bottom:
        var(--space-4);

    color:
        var(--color-text-muted);

    font-size: 0.8rem;

    line-height: 1.5;
}


/*
 * AÇÃO
 */

.catalog-home-featured-action {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    align-self: flex-start;

    margin-top: auto;

    color:
        var(--color-primary);

    font-size: 0.8rem;
    font-weight: 800;

    text-decoration: none;
}

.catalog-home-featured-action span {
    transition:
        transform
        var(--transition-fast);
}

.catalog-home-featured-action:hover {
    text-decoration: underline;
}

.catalog-home-featured-action:hover span {
    transform:
        translateX(4px);
}


/*
 * CATÁLOGO COMPLETO
 */

.catalog-home-all-products {
    display: flex;

    justify-content: center;

    margin-top:
        var(--space-5);
}

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

@media (max-width: 1180px) {

    /*
     * Catálogo em 3 colunas:
     * reduz levemente a área visual para os
     * cards não ficarem apertados.
     */
    .product-card-gallery {
        padding: 10px;
    }

    .product-main-image-container,
    .product-no-image {
        height: 170px;
    }

    .product-card-content {
        padding: 12px;
    }

    .product-thumbnail-button {
        width: 34px;
        height: 34px;
    }

    .product-add-form {
        grid-template-columns:
            106px
            minmax(0, 1fr);
    }

    .catalog-layout {
        grid-template-columns:
            175px
            minmax(0, 1fr);
    }

    /*
     * Mantém 3 produtos por linha também em
     * notebooks/telas médias. Os cards ficam
     * mais estreitos e as imagens acompanham
     * proporcionalmente.
     */
    .catalog-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

    .catalog-home-categories {
        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            );
    }

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


@media (max-width: 820px) {

    .catalog-header {
        display: block;
    }

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

    .catalog-sidebar {
        position: static;
    }

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

    .catalog-home-hero {
        min-height: auto;

        padding:
            28px
            24px;
    }

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

    .catalog-home-benefit + .catalog-home-benefit {
        border-left: 0;

        border-top:
            1px solid
            var(--color-border);
    }

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


@media (max-width: 580px) {

    .catalog-grid,
    .catalog-home-categories,
    .catalog-home-featured-grid {
        grid-template-columns: 1fr;
    }

    .catalog-results-header {
        display: block;
    }

    .catalog-results-count {
        margin-top:
            var(--space-2);
    }

    .product-main-image-container,
    .product-no-image {
        height: 240px;
    }

    .catalog-home-hero h1 {
        font-size: 2rem;
    }
}


@media (max-width: 420px) {

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

/*
 * =============================================
 * BANNER HOME - FULL WIDTH SEM OVERFLOW
 * =============================================
 */

.catalog-home-banner-carousel {
    position: relative;

    width: auto;

    margin-left:
        calc(
            (100% - 100vw)
            / 2
        );

    margin-right:
        calc(
            (100% - 100vw)
            / 2
        );

    margin-bottom:
        var(--space-5);

    overflow: hidden;

    border-radius: 0;
}

.catalog-home-banner-track {
    width: 100%;

    overflow: hidden;

    border-radius: 0;
}

.catalog-home-banner-slide {
    width: 100%;

    overflow: hidden;

    border-radius: 0;
}

.catalog-home-banner-image-link {
    display: block;

    width: 100%;
}

.catalog-home-banner-image,
.catalog-home-banner-slide img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 0;
}

/*
 * =============================================
 * SETAS
 * =============================================
 */

.catalog-home-banner-arrow {
    position: absolute;

    top: 50%;

    z-index: 10;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid
        rgba(0, 0, 0, 0.08);

    border-radius: 50%;

    color:
        var(--color-primary-dark);

    background:
        rgba(255, 255, 255, 0.94);

    box-shadow:
        var(--shadow-sm);

    font-size: 1.7rem;
    line-height: 1;

    cursor: pointer;

    transform:
        translateY(-50%);
}

.catalog-home-banner-arrow:hover {
    background: #fff;
}

.catalog-home-banner-arrow-prev {
    left: 14px;
}

.catalog-home-banner-arrow-next {
    right: 14px;
}


/*
 * =============================================
 * INDICADORES
 * =============================================
 */

.catalog-home-banner-dots {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 12px;
}

.catalog-home-banner-dot {
    width: 10px;
    height: 10px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background:
        var(--color-border-strong);

    cursor: pointer;
}

.catalog-home-banner-dot.is-active {
    background:
        var(--color-primary);
}


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

@media (max-width: 820px) {

    .catalog-home-banner-image {
        max-height: none;

        object-fit: contain;
    }

    .catalog-home-banner-arrow {
        width: 36px;
        height: 36px;

        font-size: 1.4rem;
    }

    .catalog-home-banner-arrow-prev {
        left: 8px;
    }

    .catalog-home-banner-arrow-next {
        right: 8px;
    }
}
html,
body {
    overflow-x: clip;
}
/*
 * =============================================
 * CARROSSEL HOME - SLIDES SOBREPOSTOS
 * =============================================
 */

.catalog-home-banner-track {
    display: grid;

    width: 100%;

    overflow: hidden;
}

.catalog-home-banner-slide {
    grid-area: 1 / 1;

    width: 100%;

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.catalog-home-banner-slide.is-active {
    visibility: visible;
    opacity: 1;

    pointer-events: auto;
}

.catalog-home-banner-image-link,
.catalog-home-banner-image {
    display: block;

    width: 100%;
}

.catalog-home-banner-image {
    height: auto;
}

/*
 * =============================================
 * REFINO DA LISTAGEM COMPLETA DE PRODUTOS
 * =============================================
 *
 * Mantém toda a estrutura funcional existente,
 * mas deixa os cards do catálogo mais compactos
 * e mais próximos de uma experiência de e-commerce.
 */

.catalog-grid {
    align-items: start;
}

.product-card {
    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-lg);

    background: #fff;

    box-shadow:
        var(--shadow-sm);

    transition:
        transform
        var(--transition-fast),
        box-shadow
        var(--transition-fast),
        border-color
        var(--transition-fast);
}

.product-card:hover {
    transform:
        translateY(-3px);

    border-color:
        var(--color-border-strong);

    box-shadow:
        var(--shadow-md);
}


/*
 * GALERIA MAIS COMPACTA
 */

.product-card-gallery {
    padding:
        12px;

    background:
        #fff;
}

.product-main-image-container {
    height:
        190px;

    border-radius:
        var(--radius-md);

    background:
        #fff;
}

.product-main-image {
    transition:
        transform
        0.2s
        ease;
}

.product-card:hover
.product-main-image {
    transform:
        scale(1.02);
}

.product-no-image {
    height:
        190px;

    border-bottom:
        1px solid
        var(--color-border);

    font-size:
        0.8rem;
}


/*
 * MINIATURAS
 */

.product-thumbnails {
    gap:
        5px;

    margin-top:
        7px;
}

.product-thumbnail-button {
    width:
        38px;

    height:
        38px;

    cursor:
        pointer;
}


/*
 * CONTEÚDO PRINCIPAL
 */

.product-card-content {
    padding:
        14px;
}

.product-category {
    margin-bottom:
        4px;

    font-size:
        0.67rem;

    font-weight:
        800;
}

.product-card-title {
    margin-bottom:
        6px;

    color:
        var(--color-text);

    font-size:
        1rem;

    line-height:
        1.35;
}

.product-short-description {
    margin-bottom:
        10px;

    font-size:
        0.78rem;

    line-height:
        1.45;
}


/*
 * DESTAQUE / LANÇAMENTO
 */

.product-badges {
    gap:
        5px;

    margin-bottom:
        10px;
}

.product-badges .badge {
    padding:
        4px
        7px;

    border-radius:
        999px;

    font-size:
        0.64rem;
}


/*
 * LINK PARA DETALHES
 */

.product-details-link {
    margin-bottom:
        12px;

    font-size:
        0.78rem;
}


/*
 * ÁREA DE OPÇÕES
 */

.product-options-title {
    margin-top:
        4px;

    margin-bottom:
        8px;

    padding-top:
        11px;

    border-top:
        1px solid
        var(--color-border);

    color:
        var(--color-primary-dark);

    font-size:
        0.85rem;
}

.product-skus {
    gap:
        8px;
}


/*
 * SKU / VARIAÇÃO
 */

.product-sku {
    padding:
        10px;

    border-color:
        var(--color-border);

    border-radius:
        var(--radius-md);

    background:
        #fbfbfd;
}

.product-sku-header {
    gap:
        8px;

    margin-bottom:
        7px;
}

.product-sku-name {
    font-size:
        0.84rem;

    line-height:
        1.3;
}

.product-sku-code {
    font-size:
        0.64rem;
}

.product-price {
    color:
        var(--color-primary-dark);

    font-size:
        0.92rem;
}


/*
 * ESTOQUE / REGRAS DE VENDA
 */

.product-stock {
    gap:
        4px
        8px;

    margin-bottom:
        7px;

    padding:
        6px
        0;

    border-top:
        1px solid
        var(--color-border);

    border-bottom:
        1px solid
        var(--color-border);

    font-size:
        0.66rem;
}


/*
 * FAIXAS DE PREÇO
 */

.price-tiers {
    margin:
        7px
        0;
}

.price-tiers table {
    min-width:
        210px;

    border-collapse:
        collapse;

    border-color:
        var(--color-border);
}

.price-tiers th,
.price-tiers td {
    padding:
        5px
        6px;
}

.price-tiers th {
    font-size:
        0.62rem;
}

.price-tiers td {
    font-size:
        0.66rem;
}

.price-tier-message {
    margin:
        7px
        0;

    padding:
        7px
        8px;

    font-size:
        0.66rem;

    line-height:
        1.35;
}


/*
 * QUANTIDADE + ADICIONAR
 */

.product-add-form {
    grid-template-columns:
        64px
        minmax(0, 1fr);

    gap:
        6px;

    margin-top:
        7px;
}

.product-add-form input {
    min-height:
        36px;

    padding:
        5px
        7px;
}

.product-add-form .button {
    min-height:
        36px;

    padding:
        6px
        8px;

    font-size:
        0.75rem;
}

.product-unavailable {
    font-size:
        0.72rem;
}


/*
 * ACESSO COMERCIAL
 */

.commercial-access-box {
    margin-top:
        auto;

    padding:
        11px;

    border:
        1px solid
        rgba(
            72,
            48,
            154,
            0.12
        );

    font-size:
        0.76rem;

    line-height:
        1.45;
}

.commercial-access-box p {
    margin:
        5px
        0
        10px;
}


/*
 * RESPONSIVO DA LISTAGEM
 */

@media (max-width: 1180px) {

    .product-main-image-container,
    .product-no-image {
        height:
            200px;
    }
}

@media (max-width: 580px) {

    .product-card-content {
        padding:
            13px;
    }

    .product-main-image-container,
    .product-no-image {
        height:
            230px;
    }
}

@media (max-width: 420px) {

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

/*
 * =============================================
 * IMAGEM PRINCIPAL CLICÁVEL
 * =============================================
 */

.product-main-image-link {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: inherit;

    text-decoration: none;

    cursor: pointer;
}

.product-main-image-link:focus-visible {
    outline:
        2px solid
        var(--color-primary);

    outline-offset:
        2px;

    border-radius:
        var(--radius-md);
}

/*
 * =============================================
 * SELETOR DE QUANTIDADE - CATÁLOGO
 * =============================================
 */

.product-add-form {
    grid-template-columns:
        122px
        minmax(0, 1fr);
}

.product-quantity-stepper {
    min-height: 36px;

    display: grid;

    grid-template-columns:
        34px
        minmax(0, 1fr)
        34px;

    align-items: stretch;

    overflow: hidden;

    border:
        1px solid
        var(--color-border);

    border-radius:
        999px;

    background: #fff;
}

.product-quantity-stepper-button {
    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    color:
        var(--color-primary);

    background: transparent;

    font: inherit;
    font-size: 1rem;
    font-weight: 800;

    cursor: pointer;

    transition:
        color
        var(--transition-fast),
        background
        var(--transition-fast);
}

.product-quantity-stepper-button:hover,
.product-quantity-stepper-button:focus-visible {
    color:
        var(--color-primary-dark);

    background:
        var(--color-primary-light);
}

.product-quantity-stepper input {
    width: 100%;
    min-width: 0;
    min-height: 36px;

    padding:
        0
        2px;

    border: 0;

    color:
        var(--color-text);

    background: transparent;

    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;

    text-align: center;

    appearance: textfield;
    -moz-appearance: textfield;
}

.product-quantity-stepper input:focus {
    outline: none;
}

.product-quantity-stepper input::-webkit-outer-spin-button,
.product-quantity-stepper input::-webkit-inner-spin-button {
    margin: 0;

    -webkit-appearance: none;
}

@media (max-width: 420px) {

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

    .product-quantity-stepper {
        width: 132px;
    }
}


/*
 * =============================================
 * PREÇOS EM DESTAQUE - CATÁLOGO
 * =============================================
 */

.catalog-home-price-highlight {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;

    margin:
        2px
        0
        var(--space-3);
}

.catalog-home-price-highlight > span {
    color:
        var(--color-text-muted);

    font-size: 0.66rem;
}

.catalog-home-price-highlight > strong {
    color:
        var(--color-text);

    font-size: 1.18rem;

    line-height: 1.1;
}

.catalog-home-price-highlight small {
    display: flex;
    align-items: center;
    gap: 4px;

    color:
        var(--color-primary-dark);

    font-size: 0.72rem;
}

.catalog-home-price-highlight small strong {
    font-size: 0.88rem;
}

.product-card-price-highlight {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;

    margin:
        4px
        0
        12px;

    padding:
        10px
        11px;

    border:
        1px solid
        rgba(56, 37, 127, 0.12);

    border-radius:
        var(--radius-md);

    background:
        linear-gradient(
            135deg,
            #fff 0%,
            var(--color-primary-light) 100%
        );
}

.product-card-price-highlight > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-card-price-highlight > div:first-child > span {
    color:
        var(--color-text-muted);

    font-size: 0.62rem;
}

.product-card-price-highlight > div:first-child > strong {
    color:
        var(--color-text);

    font-size: 1.08rem;

    line-height: 1.1;
}

.product-card-price-highlight small {
    margin-top: 2px;

    color:
        var(--color-text-muted);

    font-size: 0.6rem;
}

.product-card-pix-price {
    display: flex;
    align-items: center;
    gap: 4px;

    color:
        var(--color-primary-dark);

    font-size: 0.7rem;
}

.product-card-pix-price strong {
    font-size: 0.9rem;
}

.product-card-pix-price span {
    color:
        var(--color-text-muted);

    font-size: 0.62rem;
}

.product-add-form
.button:disabled {
    opacity: 0.72;

    cursor: wait;
}


/*
 * =============================================
 * CATÁLOGO - SKUS COMPACTOS / FAIXAS RECOLHÍVEIS
 * =============================================
 *
 * Mantém as regras comerciais e o formulário
 * existentes. Apenas reduz o peso visual dos
 * cards e deixa as faixas fechadas por padrão.
 */

.product-skus {
    gap: 6px;
}

.product-sku {
    padding: 9px 10px;

    border-radius:
        var(--radius-sm);

    background: #fff;
}

.product-sku-header {
    margin-bottom: 5px;
}

.product-stock {
    margin-bottom: 5px;

    padding:
        5px 0;

    font-size: 0.65rem;
}

.price-tiers-compact {
    margin:
        5px
        0
        2px;
}

.price-tiers-summary {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 4px;

    color:
        var(--color-text-muted);

    font-size: 0.68rem;

    line-height: 1.35;
}

.price-tiers-summary strong {
    color:
        var(--color-primary-dark);
}

.price-tiers-toggle {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    margin-top: 3px;

    padding: 0;

    border: 0;

    color:
        var(--color-primary);

    background: transparent;

    font: inherit;
    font-size: 0.68rem;
    font-weight: 800;

    cursor: pointer;
}

.price-tiers-toggle:hover {
    text-decoration: underline;
}

.price-tiers-toggle:focus-visible {
    outline:
        2px solid
        var(--color-primary);

    outline-offset: 3px;

    border-radius: 3px;
}

.price-tiers-toggle-icon {
    display: inline-block;

    transition:
        transform
        0.15s
        ease;
}

.price-tiers-toggle[aria-expanded="true"]
.price-tiers-toggle-icon {
    transform:
        rotate(180deg);
}

.price-tiers[hidden] {
    display: none !important;
}

.price-tiers-compact .price-tiers {
    margin:
        7px
        0
        2px;
}

.price-tiers-compact .price-tiers table {
    margin: 0;
}

.price-tier-message {
    margin:
        5px
        0;

    padding:
        6px
        7px;
}

.product-add-form {
    margin-top: 6px;
}

.product-unavailable {
    margin-top: 6px;
}


/*
 * =============================================
 * FAIXAS DE PREÇO - POPOVER SOBREPOSTO
 * =============================================
 *
 * O painel sai do fluxo visual:
 * abrir não altera a altura do card.
 */

.price-tiers-compact {
    position: relative;
}

.price-tiers-compact .price-tiers {
    position: fixed;

    z-index: 1000;

    max-height: 320px;

    margin: 0;

    overflow: auto;

    padding: 8px;

    border:
        1px solid
        var(--color-border-strong);

    border-radius:
        var(--radius-md);

    background: #fff;

    box-shadow:
        0
        14px
        34px
        rgba(
            30,
            25,
            60,
            0.18
        );
}

.price-tiers-compact .price-tiers table {
    min-width: 0;

    margin: 0;

    border-collapse: collapse;
}

.price-tiers-compact .price-tiers th,
.price-tiers-compact .price-tiers td {
    white-space: nowrap;
}

@media (max-width: 580px) {

    .price-tiers-compact .price-tiers {
        max-height: 280px;
    }
}


/*
 * =============================================
 * SKU ÚNICO - COMPRA DIRETA NO CARD
 * =============================================
 *
 * Se o produto possui apenas um SKU, não existe
 * uma "opção" a escolher. Removemos o segundo
 * card visual e deixamos estoque + quantidade +
 * adicionar diretamente no produto.
 */

.product-skus.is-single-sku {
    display: block;

    margin-top: 10px;

    padding-top: 10px;

    border-top:
        1px solid
        var(--color-border);
}

.product-sku.is-single-sku {
    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent;
}

.product-sku.is-single-sku
.product-stock {
    margin-top: 0;
}

.product-sku.is-single-sku
.product-add-form {
    margin-top: 7px;
}


/*
 * =============================================
 * FAIXAS DE PREÇO - POPOVER ANCORADO
 * =============================================
 *
 * O painel é movido para o BODY via JavaScript.
 * Isso evita que transform/overflow dos cards
 * desloquem o menu para os cantos da tela.
 */

.price-tiers-popover {
    position: fixed !important;

    z-index: 5000;

    max-height: 320px;

    margin: 0 !important;

    overflow: auto;

    padding: 8px;

    border:
        1px solid
        var(--color-border-strong);

    border-radius:
        var(--radius-md);

    background: #fff;

    box-shadow:
        0
        14px
        34px
        rgba(
            30,
            25,
            60,
            0.18
        );
}

.price-tiers-popover[hidden] {
    display: none !important;
}

.price-tiers-popover table {
    width: 100%;

    min-width: 0;

    margin: 0;

    border-collapse: collapse;

    background: #fff;
}

.price-tiers-popover th,
.price-tiers-popover td {
    white-space: nowrap;
}

@media (max-width: 580px) {

    .price-tiers-popover {
        max-height: 280px;
    }
}


/*
 * =============================================
 * BANNER DA PÁGINA DA CATEGORIA
 * =============================================
 *
 * Independente da imagem quadrada/vertical
 * usada nos cards de categoria da Home.
 */

.catalog-category-banner {
    width: 100%;

    margin:
        0
        0
        24px;

    overflow: hidden;

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-lg);

    background: #fff;
}

.catalog-category-banner-link {
    display: block;

    width: 100%;

    text-decoration: none;
}

.catalog-category-banner img {
    display: block;

    width: 100%;

    aspect-ratio: 4 / 1;

    object-fit: cover;

    object-position: center;
}

@media (max-width: 700px) {

    .catalog-category-banner {
        margin-bottom: 18px;

        border-radius:
            var(--radius-md);
    }

    .catalog-category-banner img {
        aspect-ratio: 3 / 1;
    }
}


/*
 * =============================================
 * DESTAQUE / LANÇAMENTO SOBRE A IMAGEM
 * =============================================
 *
 * Os selos saem do fluxo do conteúdo do card.
 * Assim não ocupam altura entre "Ver detalhes"
 * e o bloco de preço.
 */

.product-main-image-container,
.product-no-image-with-badges {
    position: relative;
}

.product-image-badges {
    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 8;

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    max-width:
        calc(100% - 24px);

    pointer-events: none;
}

.product-image-badge {
    display: inline-flex;

    align-items: center;

    min-height: 28px;

    padding:
        6px
        10px;

    border-radius: 999px;

    color: #fff;

    background:
        var(--color-primary);

    box-shadow:
        0
        4px
        12px
        rgba(
            31,
            22,
            70,
            0.16
        );

    font-size: 0.70rem;
    font-weight: 800;
    line-height: 1;

    white-space: nowrap;
}

.product-image-badge-new {
    background:
        var(--color-primary-dark);
}

/*
 * O bloco antigo pode existir em outros trechos
 * do projeto, mas no grid principal não deve
 * reservar espaço.
 */
.product-card-content
.product-badges {
    display: none;
}

@media (max-width: 580px) {

    .product-image-badges {
        top: 8px;
        left: 8px;

        gap: 4px;

        max-width:
            calc(100% - 16px);
    }

    .product-image-badge {
        min-height: 24px;

        padding:
            5px
            8px;

        font-size: 0.62rem;
    }
}


/*
 * ==========================================================
 * GUILDA NERDS — REFINO VISUAL WWW V2
 * Home / navegação / benefícios
 * Somente apresentação. Não altera regras comerciais.
 * ==========================================================
 */

.catalog-home-benefits {
    gap: 0;
    margin-top: 28px;
    margin-bottom: 56px;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(33, 20, 86, 0.06);
}

.catalog-home-benefit {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 28px;
    text-align: center;
}

.catalog-home-benefit strong {
    margin-bottom: 7px;
    font-size: 1.04rem;
    font-weight: 850;
    line-height: 1.25;
}

.catalog-home-benefit span {
    max-width: 290px;
    font-size: 0.84rem;
    line-height: 1.5;
}

.catalog-home-section-header {
    margin-bottom: 28px;
}

.catalog-home-section-kicker {
    margin-bottom: 8px;
    font-size: 0.76rem;
    letter-spacing: 0.10em;
}

.catalog-home-section-header h2 {
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    line-height: 1.15;
}

.catalog-home-categories {
    gap: 20px;
}

.catalog-home-category-card {
    border-radius: 18px;
    box-shadow: 0 6px 22px rgba(33, 20, 86, 0.06);
}

.catalog-home-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(33, 20, 86, 0.12);
}

.catalog-home-category-content {
    padding: 20px;
}

.catalog-home-category-content h3 {
    font-size: 1.08rem;
}

.catalog-home-category-content span {
    margin-top: 6px;
    font-size: 0.84rem;
}

.catalog-home-featured-card {
    border-radius: 18px;
}

@media (max-width: 820px) {
    .catalog-home-benefits {
        margin-top: 20px;
        margin-bottom: 42px;
    }

    .catalog-home-benefit {
        min-height: 96px;
        padding: 20px 18px;
    }

    .catalog-home-benefit + .catalog-home-benefit {
        border-left: 0;
        border-top: 1px solid var(--color-border);
    }

    .catalog-home-section-header {
        align-items: flex-start;
    }
}

@media (max-width: 580px) {
    .catalog-home-section {
        margin-bottom: 48px;
    }

    .catalog-home-section-header {
        margin-bottom: 20px;
    }

    .catalog-home-section-header h2 {
        font-size: 1.65rem;
    }

    .catalog-home-benefit strong {
        font-size: 1rem;
    }
}


/*
 * ==========================================================
 * GUILDA NERDS — CATÁLOGO WWW VISUAL V3
 * Mudanças mais perceptíveis na listagem completa.
 * ==========================================================
 */

.catalog-header {
    margin-top: 10px;
    margin-bottom: 28px;
}

.catalog-header h1 {
    font-size: clamp(2.15rem, 4vw, 3rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.catalog-header p {
    font-size: 0.98rem;
}

.catalog-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
}

.catalog-sidebar {
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(33, 20, 86, 0.06);
}

.catalog-sidebar-title {
    font-size: 1.05rem;
}

.catalog-category-list a,
.catalog-category-children a {
    padding: 9px 11px;
    font-size: 0.9rem;
}

.catalog-results-header {
    margin-bottom: 18px;
}

.catalog-results-header h2 {
    font-size: 1.35rem;
}

.catalog-results-count {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f5f2fb;
    font-size: 0.78rem;
}

.catalog-grid {
    gap: 20px;
}

.product-card {
    border-radius: 20px;
    border-color: #e4e0ed;
    box-shadow: 0 8px 24px rgba(33, 20, 86, 0.06);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #d6c7f2;
    box-shadow: 0 16px 34px rgba(33, 20, 86, 0.12);
}

.product-card-gallery {
    padding: 16px 16px 12px;
    border-bottom: 0;
}

.product-main-image-container,
.product-no-image {
    height: 230px;
    border-radius: 16px;
    background: #fbfafc;
}

.product-thumbnails {
    gap: 7px;
    margin-top: 10px;
}

.product-thumbnail-button {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    background: #fff;
}

.product-card-content {
    padding: 18px;
    border-top: 1px solid #eeeaf4;
}

.product-category {
    font-size: 0.71rem;
    letter-spacing: 0.07em;
}

.product-card-title {
    min-height: 2.7em;
    margin-bottom: 8px;
    font-size: 1.08rem;
    line-height: 1.28;
}

.product-details-link {
    margin-bottom: 14px;
    font-size: 0.82rem;
}

.product-card-price-highlight {
    padding: 13px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #faf8ff 0%, #f0e9ff 100%);
}

.product-card-price-highlight > div:first-child > strong {
    font-size: 1.18rem;
}

.commercial-access-box {
    padding: 15px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f3edff 0%, #ebe2ff 100%);
}

.commercial-access-box strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.86rem;
}

.commercial-access-box .button {
    min-height: 40px;
    border-radius: 10px;
}

.product-image-badge {
    min-height: 29px;
    padding: 6px 11px;
    box-shadow: 0 6px 14px rgba(33, 20, 86, 0.18);
}

.catalog-home-benefit {
    text-align: center;
}

@media (max-width: 1180px) {
    .catalog-layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 20px;
    }

    .product-main-image-container,
    .product-no-image {
        height: 210px;
    }
}

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

    .catalog-sidebar {
        display: none;
    }

    .catalog-header h1 {
        font-size: 2.15rem;
    }
}

@media (max-width: 580px) {
    .catalog-grid {
        gap: 16px;
    }

    .product-main-image-container,
    .product-no-image {
        height: 260px;
    }

    .product-card-content {
        padding: 16px;
    }
}


/*
 * ==========================================================
 * GUILDA NERDS — CATÁLOGO WWW VISUAL V4
 * Foco: cards de compra B2B
 * Somente apresentação. Não altera regras de negócio.
 * ==========================================================
 */

/* ----------------------------------------------------------
 * CARD: estrutura e hierarquia
 * ---------------------------------------------------------- */

.product-card {
    overflow: hidden;
    background: #fff;
}

.product-card-gallery {
    padding:
        16px
        16px
        10px;
}

.product-main-image-container,
.product-no-image {
    height: 236px;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfaff 100%
        );
}

.product-main-image {
    max-width: 94%;
    max-height: 94%;
    margin: auto;
}

.product-card-content {
    gap: 0;
    padding:
        17px
        18px
        18px;
}

/* ----------------------------------------------------------
 * CATEGORIA / TÍTULO / DETALHE
 * ---------------------------------------------------------- */

.product-category {
    margin-bottom: 6px;
    color: #4b278f;
    font-size: 0.70rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.product-card-title {
    min-height: 2.7em;
    margin-bottom: 6px;
    color: #171523;
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.28;
    letter-spacing: -0.01em;
}

.product-short-description {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 9px;
    color: #716c7d;
    font-size: 0.79rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
}

.product-details-link {
    margin-bottom: 13px;
    color: #4d238e;
    font-size: 0.79rem;
    font-weight: 800;
}

/* ----------------------------------------------------------
 * PREÇO
 * ---------------------------------------------------------- */

.product-card-price-highlight {
    align-items: center;
    margin:
        2px
        0
        12px;
    padding:
        12px
        13px;
    border:
        1px solid
        #dfd3f7;
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            #fbf9ff 0%,
            #f1eaff 100%
        );
}

.product-card-price-highlight > div:first-child > span {
    margin-bottom: 2px;
    font-size: 0.64rem;
    font-weight: 700;
}

.product-card-price-highlight > div:first-child > strong {
    color: #211456;
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.product-card-price-highlight small {
    margin-top: 3px;
    font-size: 0.62rem;
}

.product-card-pix-price {
    padding:
        6px
        8px;
    border-radius: 999px;
    background: #fff;
    font-size: 0.69rem;
}

.product-card-pix-price strong {
    color: #3e177f;
    font-size: 0.88rem;
}

/* ----------------------------------------------------------
 * SKU ÚNICO: transforma dados comerciais em área de compra
 * ---------------------------------------------------------- */

.product-skus.is-single-sku {
    margin-top: 8px;
    padding-top: 10px;
    border-top:
        1px solid
        #ece8f3;
}

.product-sku.is-single-sku .product-stock {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
    gap: 6px;
    margin:
        0
        0
        9px;
    padding: 0;
    border: 0;
}

.product-sku.is-single-sku .product-stock span {
    min-width: 0;
    padding:
        7px
        8px;
    border:
        1px solid
        #ece8f3;
    border-radius: 9px;
    color: #706a7c;
    background: #faf9fc;
    font-size: 0.63rem;
    line-height: 1.25;
    text-align: center;
}

.product-sku.is-single-sku .product-stock strong {
    display: block;
    margin-top: 2px;
    color: #211456;
    font-size: 0.77rem;
    font-weight: 900;
}

/* ----------------------------------------------------------
 * MÚLTIPLOS SKUS
 * ---------------------------------------------------------- */

.product-options-title {
    margin-top: 4px;
    padding-top: 12px;
    color: #211456;
    font-size: 0.84rem;
    font-weight: 900;
}

.product-skus:not(.is-single-sku) {
    gap: 8px;
}

.product-skus:not(.is-single-sku) .product-sku {
    padding: 11px;
    border:
        1px solid
        #e6e1ef;
    border-radius: 12px;
    background: #fbfaff;
}

.product-sku-name {
    color: #211456;
    font-weight: 900;
}

.product-price {
    font-size: 0.96rem;
    font-weight: 900;
}

/* ----------------------------------------------------------
 * STEPPER + CTA
 * ---------------------------------------------------------- */

.product-add-form {
    grid-template-columns:
        118px
        minmax(0, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.product-quantity-stepper {
    min-height: 40px;
    grid-template-columns:
        36px
        minmax(0, 1fr)
        36px;
    border:
        1px solid
        #d9d2e8;
    background: #fff;
    box-shadow:
        inset
        0
        0
        0
        1px
        rgba(
            103,
            43,
            191,
            0.015
        );
}

.product-quantity-stepper-button {
    color: #4c218d;
    font-size: 1.04rem;
}

.product-quantity-stepper input {
    min-height: 40px;
    color: #211456;
    font-size: 0.82rem;
    font-weight: 900;
}

.product-add-form .button {
    min-height: 40px;
    border-radius: 11px;
    box-shadow:
        0
        6px
        14px
        rgba(
            74,
            35,
            145,
            0.14
        );
    font-size: 0.78rem;
    font-weight: 900;
}

.product-add-form .button:hover {
    transform: translateY(-1px);
}

/* ----------------------------------------------------------
 * FAIXA DE PREÇO
 * ---------------------------------------------------------- */

.price-tiers-summary {
    color: #746f7e;
    font-size: 0.66rem;
}

.price-tiers-toggle {
    margin-top: 4px;
    color: #4d238e;
    font-size: 0.68rem;
}

.price-tier-message {
    border:
        1px solid
        #e6dbfa;
    border-radius: 9px;
    background: #f7f2ff;
}

/* ----------------------------------------------------------
 * VISITANTE / CADASTRO
 * ---------------------------------------------------------- */

.commercial-access-box {
    margin-top: auto;
    padding: 14px;
    border:
        1px solid
        #ded3f4;
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            #f7f3ff 0%,
            #eee7ff 100%
        );
}

.commercial-access-box strong {
    color: #241252;
    font-size: 0.84rem;
    font-weight: 900;
}

.commercial-access-box p {
    color: #625c71;
    font-size: 0.75rem;
}

.commercial-access-box .button {
    min-height: 39px;
    border-radius: 10px;
    font-weight: 900;
}

/* ----------------------------------------------------------
 * BADGES
 * ---------------------------------------------------------- */

.product-image-badges {
    top: 13px;
    left: 13px;
}

.product-image-badge {
    min-height: 28px;
    padding:
        6px
        10px;
    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.28
        );
    backdrop-filter: blur(4px);
}

/* ----------------------------------------------------------
 * SIDEBAR
 * ---------------------------------------------------------- */

.catalog-sidebar {
    border-color: #e4dfed;
}

.catalog-sidebar-title {
    color: #211456;
    font-weight: 900;
}

.catalog-category-list a,
.catalog-category-children a {
    transition:
        color
        0.14s
        ease,
        background
        0.14s
        ease,
        transform
        0.14s
        ease;
}

.catalog-category-list a:hover,
.catalog-category-children a:hover {
    transform: translateX(2px);
}

.catalog-category-list a.is-active,
.catalog-category-children a.is-active {
    color: #3c197d;
    background: #f0e9ff;
    font-weight: 900;
}

/* ----------------------------------------------------------
 * RESPONSIVO
 * ---------------------------------------------------------- */

@media (max-width: 1180px) {

    .product-main-image-container,
    .product-no-image {
        height: 214px;
    }

    .product-card-content {
        padding:
            15px
            15px
            16px;
    }

    .product-add-form {
        grid-template-columns:
            108px
            minmax(0, 1fr);
    }
}

@media (max-width: 820px) {

    .product-sku.is-single-sku .product-stock {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }
}

@media (max-width: 580px) {

    .product-main-image-container,
    .product-no-image {
        height: 270px;
    }

    .product-card-title {
        min-height: auto;
        font-size: 1.12rem;
    }

    .product-sku.is-single-sku .product-stock {
        gap: 5px;
    }

    .product-sku.is-single-sku .product-stock span {
        padding:
            7px
            5px;
    }
}

@media (max-width: 420px) {

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

    .product-quantity-stepper {
        width: 136px;
    }
}


/*
 * ==========================================================
 * GUILDA NERDS — CATÁLOGO WWW VISUAL V5
 * Foco: hierarquia visual, densidade B2B e acabamento premium.
 * Somente apresentação. Não altera regras comerciais.
 * ==========================================================
 */

/* ----------------------------------------------------------
 * 1. HIERARQUIA GERAL DO CABEÇALHO DO CATÁLOGO
 * ---------------------------------------------------------- */

.catalog-header {
    margin-top: 4px;
    margin-bottom: 20px;
}

.catalog-header h1 {
    margin-bottom: 8px;
    font-size: clamp(2rem, 3.3vw, 2.7rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.catalog-header p {
    max-width: 680px;
    color: #6d6878;
    font-size: 0.93rem;
    line-height: 1.55;
}

/* ----------------------------------------------------------
 * 2. LAYOUT MAIS PROFISSIONAL / MENOS ESPAÇO VAZIO
 * ---------------------------------------------------------- */

.catalog-layout {
    grid-template-columns:
        188px
        minmax(0, 1fr);
    gap: 22px;
}

.catalog-results-header {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ece8f2;
}

.catalog-results-header h2 {
    color: #181520;
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.catalog-results-count {
    color: #686273;
    background: #f5f2fa;
}

/* ----------------------------------------------------------
 * 3. SIDEBAR PREMIUM
 * ---------------------------------------------------------- */

.catalog-sidebar {
    top: 18px;
    padding: 16px;
    border: 1px solid #e6e1ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(33, 20, 86, 0.045);
}

.catalog-sidebar-title {
    margin-bottom: 10px;
    color: #211456;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.catalog-category-list a,
.catalog-category-children a {
    padding:
        8px
        10px;
    border-radius: 9px;
    color: #36303f;
    font-size: 0.84rem;
    font-weight: 650;
}

.catalog-category-list a:hover,
.catalog-category-children a:hover {
    color: #4a218b;
    background: #f7f3ff;
    transform: translateX(2px);
}

.catalog-category-list a.is-active,
.catalog-category-children a.is-active {
    color: #3f1b80;
    background: #eee6ff;
    box-shadow:
        inset
        3px
        0
        0
        #672bbf;
    font-weight: 850;
}

.catalog-category-children {
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid #e7e2ed;
}

/* ----------------------------------------------------------
 * 4. GRID MAIS DENSO
 * ---------------------------------------------------------- */

.catalog-grid {
    gap: 16px;
    align-items: stretch;
}

.product-card {
    border-radius: 15px;
    border-color: #e5e1eb;
    box-shadow: 0 5px 16px rgba(33, 20, 86, 0.045);
}

.product-card:hover {
    transform: translateY(-2px);
    border-color: #d7cef0;
    box-shadow: 0 10px 24px rgba(33, 20, 86, 0.09);
}

/* ----------------------------------------------------------
 * 5. VITRINE DE IMAGEM PADRONIZADA
 * ---------------------------------------------------------- */

.product-card-gallery {
    padding:
        13px
        13px
        8px;
}

.product-main-image-container,
.product-no-image {
    height: 205px;
    border-radius: 12px;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #faf9fc 100%
        );
}

.product-main-image {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.product-card:hover .product-main-image {
    transform: scale(1.015);
}

/* ----------------------------------------------------------
 * 6. MINIATURAS MAIS DISCRETAS
 * ---------------------------------------------------------- */

.product-thumbnails {
    gap: 5px;
    margin-top: 8px;
    padding-bottom: 1px;
}

.product-thumbnail-button {
    width: 36px;
    height: 36px;
    padding: 2px;
    border: 1px solid #e3dfeb;
    border-radius: 8px;
    opacity: 0.88;
    transition:
        opacity 0.14s ease,
        border-color 0.14s ease,
        box-shadow 0.14s ease;
}

.product-thumbnail-button:hover {
    opacity: 1;
    border-color: #bca9e5;
}

.product-thumbnail-button.is-selected {
    opacity: 1;
    border: 2px solid #5b27a7;
    box-shadow: 0 0 0 2px rgba(103, 43, 191, 0.08);
}

/* ----------------------------------------------------------
 * 7. HIERARQUIA DE CONTEÚDO
 * ---------------------------------------------------------- */

.product-card-content {
    padding:
        14px
        15px
        15px;
    border-top: 1px solid #f0edf4;
}

.product-category {
    margin-bottom: 5px;
    color: #5b2a9f;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.085em;
}

.product-card-title {
    min-height: 2.55em;
    margin-bottom: 5px;
    color: #18151f;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.27;
    letter-spacing: -0.015em;
}

.product-short-description {
    line-clamp: 2;
    -webkit-line-clamp: 2;
    margin-bottom: 7px;
    color: #75707d;
    font-size: 0.75rem;
    line-height: 1.42;
}

.product-details-link {
    margin-bottom: 10px;
    color: #522495;
    font-size: 0.74rem;
    font-weight: 800;
}

/* ----------------------------------------------------------
 * 8. PREÇO COMO FOCO COMERCIAL PRINCIPAL
 * ---------------------------------------------------------- */

.product-card-price-highlight {
    margin:
        1px
        0
        10px;
    padding:
        10px
        11px;
    border: 1px solid #e1d8f2;
    border-radius: 11px;
    background:
        linear-gradient(
            135deg,
            #fbf9ff 0%,
            #f2ecff 100%
        );
}

.product-card-price-highlight > div:first-child > span {
    color: #777180;
    font-size: 0.60rem;
    font-weight: 700;
}

.product-card-price-highlight > div:first-child > strong {
    color: #241154;
    font-size: 1.18rem;
    font-weight: 950;
}

.product-card-pix-price {
    padding:
        5px
        7px;
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.64rem;
}

/* ----------------------------------------------------------
 * 9. ESTOQUE / MÍNIMO / MÚLTIPLO = INFORMAÇÃO SECUNDÁRIA
 * ---------------------------------------------------------- */

.product-sku.is-single-sku .product-stock {
    gap: 5px;
    margin-bottom: 8px;
}

.product-sku.is-single-sku .product-stock span {
    padding:
        6px
        5px;
    border: 1px solid #ebe7f0;
    border-radius: 8px;
    background: #fbfafc;
    color: #797381;
    font-size: 0.58rem;
    line-height: 1.2;
}

.product-sku.is-single-sku .product-stock strong {
    margin-top: 1px;
    color: #30204e;
    font-size: 0.72rem;
    font-weight: 900;
}

/* ----------------------------------------------------------
 * 10. CTA = AÇÃO VISUAL MAIS FORTE
 * ---------------------------------------------------------- */

.product-add-form {
    grid-template-columns:
        108px
        minmax(0, 1fr);
    gap: 7px;
    margin-top: 7px;
}

.product-quantity-stepper {
    min-height: 38px;
    grid-template-columns:
        34px
        minmax(0, 1fr)
        34px;
    border-color: #d9d2e7;
    border-radius: 999px;
}

.product-quantity-stepper input {
    min-height: 38px;
    font-size: 0.78rem;
}

.product-add-form .button {
    min-height: 38px;
    border-radius: 9px;
    box-shadow: 0 5px 12px rgba(76, 33, 141, 0.13);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.005em;
}

/* ----------------------------------------------------------
 * 11. VISITANTE: MENOS PESO QUE COMPRA LOGADA
 * ---------------------------------------------------------- */

.commercial-access-box {
    padding: 12px;
    border-radius: 11px;
}

.commercial-access-box strong {
    font-size: 0.78rem;
}

.commercial-access-box p {
    margin:
        4px
        0
        8px;
    font-size: 0.70rem;
}

.commercial-access-box .button {
    min-height: 36px;
    font-size: 0.72rem;
}

/* ----------------------------------------------------------
 * 12. BADGES MAIS ELEGANTES
 * ---------------------------------------------------------- */

.product-image-badges {
    top: 10px;
    left: 10px;
    gap: 5px;
}

.product-image-badge {
    min-height: 25px;
    padding:
        5px
        8px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(33, 20, 86, 0.14);
    font-size: 0.62rem;
}

/* ----------------------------------------------------------
 * 13. RESPONSIVO
 * ---------------------------------------------------------- */

@media (max-width: 1180px) {

    .catalog-layout {
        grid-template-columns:
            174px
            minmax(0, 1fr);
        gap: 18px;
    }

    .product-main-image-container,
    .product-no-image {
        height: 190px;
    }

    .product-card-content {
        padding:
            13px
            13px
            14px;
    }

    .product-add-form {
        grid-template-columns:
            102px
            minmax(0, 1fr);
    }
}

@media (max-width: 820px) {

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

    .catalog-sidebar {
        display: none;
    }

    .catalog-results-header {
        margin-top: 4px;
    }
}

@media (max-width: 580px) {

    .catalog-header {
        margin-bottom: 16px;
    }

    .catalog-header h1 {
        font-size: 1.9rem;
    }

    .catalog-grid {
        gap: 14px;
    }

    .product-main-image-container,
    .product-no-image {
        height: 245px;
    }

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

    .product-card-title {
        min-height: auto;
        font-size: 1.04rem;
    }

    .product-card-content {
        padding:
            14px
            14px
            15px;
    }
}

@media (max-width: 420px) {

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

    .product-quantity-stepper {
        width: 134px;
    }
}


/*
 * ==========================================================
 * GUILDA NERDS — HOME WWW VISUAL V6
 * Foco: destaque editorial, hierarquia e equilíbrio visual
 * quando há poucos produtos em destaque.
 * Somente apresentação.
 * ==========================================================
 */

/* ----------------------------------------------------------
 * SEÇÃO DE DESTAQUES DA HOME
 * ---------------------------------------------------------- */

#destaques.catalog-home-section {
    position: relative;
}

#destaques .catalog-home-section-header {
    align-items: end;
    margin-bottom: 24px;
}

#destaques .catalog-home-section-kicker {
    margin-bottom: 7px;
    color: #4e238f;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.11em;
}

#destaques .catalog-home-section-header h2 {
    color: #18151f;
    font-size: clamp(1.8rem, 3.2vw, 2.35rem);
    font-weight: 950;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

#destaques .catalog-home-section-link {
    padding-bottom: 2px;
    color: #4e238f;
    font-size: 0.78rem;
    font-weight: 850;
}

/* ----------------------------------------------------------
 * GRID INTELIGENTE:
 * - 1 produto: não vira um card gigante
 * - 2 produtos: ocupa metade da largura útil
 * - 3+ produtos: segue grid normal
 * ---------------------------------------------------------- */

#destaques .catalog-home-featured-grid {
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                250px,
                1fr
            )
        );
    gap: 18px;
    justify-content: start;
}

#destaques .catalog-home-featured-grid:has(> :only-child) {
    grid-template-columns:
        minmax(
            280px,
            420px
        );
}

#destaques .catalog-home-featured-grid:has(> :nth-child(2):last-child) {
    grid-template-columns:
        repeat(
            2,
            minmax(
                280px,
                420px
            )
        );
}

/* fallback visual para navegadores sem :has() */
@supports not selector(:has(*)) {
    #destaques .catalog-home-featured-grid {
        grid-template-columns:
            repeat(
                auto-fit,
                minmax(
                    260px,
                    360px
                )
            );
    }
}

/* ----------------------------------------------------------
 * CARD EDITORIAL DA HOME
 * ---------------------------------------------------------- */

#destaques .catalog-home-featured-card {
    border:
        1px solid
        #e5e1eb;
    border-radius: 16px;
    background: #fff;
    box-shadow:
        0
        6px
        18px
        rgba(
            33,
            20,
            86,
            0.05
        );
}

#destaques .catalog-home-featured-card:hover {
    transform:
        translateY(-3px);
    border-color:
        #d9cfef;
    box-shadow:
        0
        12px
        26px
        rgba(
            33,
            20,
            86,
            0.09
        );
}

/* ----------------------------------------------------------
 * IMAGEM
 * ---------------------------------------------------------- */

#destaques .catalog-home-featured-image {
    aspect-ratio: 1 / 0.92;
    padding: 20px;
    border-bottom:
        1px solid
        #efecf3;
    background:
        linear-gradient(
            180deg,
            #fff 0%,
            #fbfafc 100%
        );
}

#destaques .catalog-home-featured-image img {
    width: 92%;
    height: 92%;
    object-fit: contain;
}

/* ----------------------------------------------------------
 * CONTEÚDO E HIERARQUIA
 * ---------------------------------------------------------- */

#destaques .catalog-home-featured-content {
    padding:
        16px
        18px
        17px;
}

#destaques .catalog-home-featured-badges {
    gap: 5px;
    margin-bottom: 9px;
}

#destaques .catalog-home-featured-badge {
    min-height: 24px;
    padding:
        5px
        8px;
    font-size: 0.61rem;
    font-weight: 900;
}

#destaques .catalog-home-featured-category {
    margin-bottom: 5px;
    color: #57279a;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

#destaques .catalog-home-featured-content h3 {
    margin-bottom: 7px;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.28;
    letter-spacing: -0.015em;
}

#destaques .catalog-home-featured-content p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 10px;
    color: #77717f;
    font-size: 0.75rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
}

/* ----------------------------------------------------------
 * PREÇO
 * ---------------------------------------------------------- */

#destaques .catalog-home-price-highlight {
    margin:
        3px
        0
        10px;
}

#destaques .catalog-home-price-highlight > span {
    color: #7b7581;
    font-size: 0.61rem;
}

#destaques .catalog-home-price-highlight > strong {
    color: #211456;
    font-size: 1.16rem;
    font-weight: 950;
    letter-spacing: -0.02em;
}

#destaques .catalog-home-price-highlight small {
    font-size: 0.66rem;
}

/* ----------------------------------------------------------
 * CTA
 * ---------------------------------------------------------- */

#destaques .catalog-home-featured-action {
    margin-top: 4px;
    color: #4f238f;
    font-size: 0.77rem;
    font-weight: 900;
}

#destaques .catalog-home-all-products {
    justify-content: flex-start;
    margin-top: 22px;
}

#destaques .catalog-home-all-products .button {
    min-height: 42px;
    padding:
        9px
        18px;
    border-radius: 10px;
    font-weight: 900;
}

/* ----------------------------------------------------------
 * RESPONSIVO
 * ---------------------------------------------------------- */

@media (max-width: 820px) {

    #destaques .catalog-home-featured-grid,
    #destaques .catalog-home-featured-grid:has(> :only-child),
    #destaques .catalog-home-featured-grid:has(> :nth-child(2):last-child) {
        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );
    }

    #destaques .catalog-home-all-products {
        justify-content: center;
    }
}

@media (max-width: 580px) {

    #destaques .catalog-home-featured-grid,
    #destaques .catalog-home-featured-grid:has(> :only-child),
    #destaques .catalog-home-featured-grid:has(> :nth-child(2):last-child) {
        grid-template-columns: 1fr;
    }

    #destaques .catalog-home-featured-image {
        aspect-ratio: 1 / 0.88;
    }

    #destaques .catalog-home-section-header {
        display: block;
    }

    #destaques .catalog-home-section-link {
        display: inline-flex;
        margin-top: 10px;
    }
}


/*
 * ==========================================================
 * GUILDA NERDS — HOME WWW VISUAL V7
 * Acabamento final da Home: benefícios, respiro e presença.
 * ==========================================================
 */

/* ----------------------------------------------------------
 * BENEFÍCIOS B2B — MAIS LEGÍVEIS E COM HIERARQUIA
 * ---------------------------------------------------------- */

.catalog-home-benefits {
    margin-top: 26px;
    margin-bottom: 54px;
    border: 1px solid #e4dfec;
    border-radius: 16px;
    background: #fff;
    box-shadow:
        0
        8px
        24px
        rgba(
            33,
            20,
            86,
            0.045
        );
}

.catalog-home-benefit {
    min-height: 118px;
    padding:
        24px
        28px;
}

.catalog-home-benefit strong {
    margin-bottom: 8px;
    color: #211456;
    font-size: 1.13rem;
    font-weight: 950;
    line-height: 1.22;
    letter-spacing: -0.015em;
}

.catalog-home-benefit span {
    max-width: 320px;
    color: #6d6878;
    font-size: 0.92rem;
    line-height: 1.5;
}

.catalog-home-benefit + .catalog-home-benefit {
    border-left:
        1px solid
        #e8e3ef;
}

/* ----------------------------------------------------------
 * TRANSIÇÃO ENTRE BANNER, BENEFÍCIOS E CATÁLOGO
 * ---------------------------------------------------------- */

.catalog-home-banner-carousel {
    margin-bottom: 0;
}

.catalog-home-section {
    margin-bottom: 64px;
}

#categorias.catalog-home-section {
    padding-top: 6px;
}

.catalog-home-section-header {
    margin-bottom: 24px;
}

.catalog-home-section-kicker {
    color: #4f248e;
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.11em;
}

.catalog-home-section-header h2 {
    color: #17141e;
    font-weight: 950;
    letter-spacing: -0.035em;
}

/* ----------------------------------------------------------
 * CATEGORIAS DA HOME — MAIS EDITORIAIS
 * ---------------------------------------------------------- */

.catalog-home-category-card {
    border-radius: 15px;
    box-shadow:
        0
        6px
        18px
        rgba(
            33,
            20,
            86,
            0.045
        );
}

.catalog-home-category-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0
        12px
        26px
        rgba(
            33,
            20,
            86,
            0.09
        );
}

.catalog-home-category-content {
    padding:
        17px
        18px
        18px;
}

.catalog-home-category-content h3 {
    margin-bottom: 6px;
    color: #211456;
    font-size: 1.02rem;
    font-weight: 900;
}

.catalog-home-category-content p {
    margin-bottom: 12px;
    color: #746f7d;
    font-size: 0.76rem;
    line-height: 1.45;
}

.catalog-home-category-content span {
    color: #4f238f;
    font-size: 0.77rem;
    font-weight: 900;
}

/* ----------------------------------------------------------
 * MOBILE
 * ---------------------------------------------------------- */

@media (max-width: 820px) {

    .catalog-home-benefits {
        margin-top: 20px;
        margin-bottom: 44px;
    }

    .catalog-home-benefit {
        min-height: 102px;
        padding:
            20px
            18px;
    }

    .catalog-home-benefit + .catalog-home-benefit {
        border-left: 0;
        border-top:
            1px solid
            #e8e3ef;
    }

    .catalog-home-benefit strong {
        font-size: 1.08rem;
    }

    .catalog-home-benefit span {
        font-size: 0.88rem;
    }
}

@media (max-width: 580px) {

    .catalog-home-benefits {
        border-radius: 14px;
    }

    .catalog-home-benefit strong {
        font-size: 1.05rem;
    }

    .catalog-home-benefit span {
        font-size: 0.87rem;
    }

    .catalog-home-section {
        margin-bottom: 50px;
    }

    .catalog-home-section-header h2 {
        font-size: 1.62rem;
    }
}

/*
 * =============================================
 * PAGINAÇÃO DO CATÁLOGO
 * =============================================
 */

.catalog-results-page {
    color: var(--color-text-muted);
    font-weight: 500;
}

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    margin-top: 30px;
    margin-bottom: 10px;

    padding-top: 22px;

    border-top:
        1px solid
        var(--color-border);
}

.catalog-pagination-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 6px;
}

.catalog-pagination-page,
.catalog-pagination-arrow {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        var(--color-border);

    border-radius: 10px;

    color:
        var(--color-primary-dark);

    background: #fff;

    font-size: 0.82rem;
    font-weight: 800;

    text-decoration: none;

    transition:
        background-color 0.16s ease,
        border-color 0.16s ease,
        color 0.16s ease,
        transform 0.16s ease,
        box-shadow 0.16s ease;
}

.catalog-pagination-page {
    min-width: 40px;

    padding:
        7px
        10px;
}

.catalog-pagination-arrow {
    padding:
        7px
        14px;

    white-space: nowrap;
}

.catalog-pagination-page:hover,
.catalog-pagination-arrow:hover {
    transform:
        translateY(-1px);

    border-color:
        var(--color-primary);

    color:
        var(--color-primary);

    background:
        var(--color-primary-light);

    box-shadow:
        var(--shadow-sm);

    text-decoration: none;
}

.catalog-pagination-page.is-active {
    border-color:
        var(--color-primary);

    color: #fff;

    background:
        var(--color-primary);

    box-shadow:
        0
        5px
        14px
        rgba(
            74,
            35,
            145,
            0.16
        );

    pointer-events: none;
}

.catalog-pagination-arrow.is-disabled {
    color:
        var(--color-text-muted);

    background:
        var(--color-surface);

    opacity: 0.48;

    pointer-events: none;
}

.catalog-pagination-ellipsis {
    min-width: 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color:
        var(--color-text-muted);

    font-size: 0.9rem;
    font-weight: 800;
}

.catalog-pagination-page:focus-visible,
.catalog-pagination-arrow:focus-visible {
    outline:
        3px solid
        rgba(
            103,
            43,
            191,
            0.22
        );

    outline-offset: 2px;
}


/*
 * =============================================
 * PAGINAÇÃO - TABLET
 * =============================================
 */

@media (max-width: 760px) {

    .catalog-pagination {
        gap: 10px;

        margin-top: 24px;
    }

    .catalog-pagination-arrow {
        padding:
            7px
            11px;

        font-size: 0.76rem;
    }

    .catalog-pagination-page {
        min-width: 38px;
        min-height: 38px;

        padding:
            6px
            9px;
    }
}


/*
 * =============================================
 * PAGINAÇÃO - MOBILE
 * =============================================
 */

@media (max-width: 520px) {

    .catalog-pagination {
        display: grid;

        grid-template-columns:
            1fr
            1fr;

        gap: 10px;

        padding-top: 18px;
    }

    .catalog-pagination-pages {
        grid-column:
            1
            /
            -1;

        grid-row: 1;
    }

    .catalog-pagination-arrow {
        width: 100%;
    }

    .catalog-pagination-arrow:first-of-type {
        grid-column: 1;
    }

    .catalog-pagination-arrow:last-of-type {
        grid-column: 2;
    }

    .catalog-pagination-page {
        min-width: 36px;
        min-height: 36px;

        font-size: 0.76rem;
    }
}


/*
 * =============================================
 * ACESSIBILIDADE
 * =============================================
 */

@media (
    prefers-reduced-motion: reduce
) {

    .catalog-pagination-page,
    .catalog-pagination-arrow {
        transition: none;
    }

    .catalog-pagination-page:hover,
    .catalog-pagination-arrow:hover {
        transform: none;
    }
}

