/*
Theme Name: Astra Child
Template: astra
*/

/* =========================================================
   EDUCA CENTRAL
   CATÁLOGO EAD
   ========================================================= */

:root {

    --ec-blue: #2563eb;
    --ec-blue-dark: #1d4ed8;
    --ec-blue-light: #eff6ff;

    --ec-dark: #0f172a;
    --ec-text: #334155;
    --ec-muted: #64748b;

    --ec-bg: #f8fafc;
    --ec-white: #ffffff;

    --ec-border: #e5e7eb;

    --ec-radius: 16px;

    --ec-shadow:
        0 4px 15px rgba(15,23,42,.05);

    --ec-shadow-hover:
        0 18px 40px rgba(15,23,42,.12);
}


/* =========================================================
   BASE
   ========================================================= */

.ec-ead {
    background: var(--ec-bg);
    color: var(--ec-text);
}

.ec-container {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.ec-hero {

    position: relative;

    overflow: hidden;

    padding: 85px 0 90px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(37,99,235,.12),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #eff6ff 0%,
            #ffffff 60%,
            #f8fafc 100%
        );
}


.ec-hero-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(300px, .75fr);

    align-items: center;

    gap: 60px;
}


.ec-hero-content {
    position: relative;
    z-index: 2;
}


.ec-eyebrow {

    display: inline-block;

    margin-bottom: 18px;

    color: var(--ec-blue);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .14em;
}


.ec-hero h1 {

    margin: 0 0 22px;

    color: var(--ec-dark);

    font-size:
        clamp(38px, 5vw, 64px);

    line-height: 1.04;

    font-weight: 800;

    letter-spacing: -.035em;
}


.ec-hero h1 strong {
    color: var(--ec-blue);
}


.ec-hero p {

    max-width: 650px;

    margin: 0 0 32px;

    color: var(--ec-muted);

    font-size: 18px;

    line-height: 1.7;
}


/* =========================================================
   BUSCA
   ========================================================= */

.ec-search {

    display: flex;

    align-items: center;

    max-width: 720px;

    padding: 6px;

    background: #fff;

    border: 1px solid #dbe3ef;

    border-radius: 12px;

    box-shadow:
        0 12px 35px rgba(15,23,42,.08);
}


.ec-search-icon {

    padding-left: 15px;

    color: #94a3b8;

    font-size: 25px;
}


.ec-search input {

    flex: 1;

    min-width: 0;

    height: 52px;

    padding: 0 15px;

    border: 0 !important;

    outline: none !important;

    background: transparent !important;

    box-shadow: none !important;

    color: var(--ec-dark);

    font-size: 15px;
}


.ec-search button {

    height: 52px;

    padding: 0 25px;

    border: 0;

    border-radius: 9px;

    background: var(--ec-blue);

    color: #fff;

    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}


.ec-search button:hover {

    background:
        var(--ec-blue-dark);
}


/* =========================================================
   HERO TRUST
   ========================================================= */

.ec-hero-trust {

    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    margin-top: 20px;

    color: #64748b;

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   HERO DECORAÇÃO
   ========================================================= */

.ec-hero-decoration {

    position: relative;

    min-height: 300px;
}


.ec-hero-card-main {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    display: flex;

    align-items: center;

    gap: 18px;

    width: 300px;

    padding: 24px;

    background: #fff;

    border-radius: 18px;

    box-shadow:
        0 25px 60px rgba(15,23,42,.14);
}


.ec-hero-card-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 55px;

    height: 55px;

    border-radius: 14px;

    background: var(--ec-blue-light);

    color: var(--ec-blue);

    font-size: 20px;
}


.ec-hero-card-main strong,
.ec-hero-card-main span {

    display: block;
}


.ec-hero-card-main strong {

    margin-bottom: 5px;

    color: var(--ec-dark);

    font-size: 15px;
}


.ec-hero-card-main span {

    color: var(--ec-muted);

    font-size: 12px;
}


.ec-floating-card {

    position: absolute;

    display: flex;

    flex-direction: column;

    padding: 16px 20px;

    background: #fff;

    border-radius: 13px;

    box-shadow:
        0 15px 35px rgba(15,23,42,.10);
}


.ec-floating-card strong {

    color: var(--ec-blue);

    font-size: 21px;
}


.ec-floating-card span {

    color: var(--ec-muted);

    font-size: 11px;
}


.ec-floating-card-one {

    top: 10%;

    right: 5%;
}


.ec-floating-card-two {

    bottom: 8%;

    left: 3%;
}


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

.ec-categories {

    padding: 45px 0;

    background: #fff;

    border-bottom: 1px solid var(--ec-border);
}


.ec-section-label {

    color: var(--ec-blue);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .12em;
}


.ec-section-heading h2 {

    margin: 5px 0 22px;

    color: var(--ec-dark);

    font-size: 27px;

    font-weight: 800;
}


.ec-category-list {

    display: flex;

    gap: 12px;

    overflow-x: auto;

    padding-bottom: 5px;
}


.ec-category-item {

    display: flex;

    align-items: center;

    gap: 9px;

    flex-shrink: 0;

    padding: 12px 17px;

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

    border-radius: 10px;

    background: #fff;

    color: var(--ec-dark);

    text-decoration: none !important;

    transition: .2s ease;
}


.ec-category-item:hover,
.ec-category-active {

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

    background: var(--ec-blue-light);

    color: var(--ec-blue);
}


.ec-category-icon {

    font-size: 17px;
}


.ec-category-item small {

    color: #94a3b8;

    font-size: 11px;
}


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

.ec-catalog {

    padding: 65px 0 80px;
}


.ec-catalog-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;
}


.ec-catalog-header h2 {

    margin: 5px 0 0;

    color: var(--ec-dark);

    font-size: 32px;

    font-weight: 800;
}


/* ORDERING */

.ec-catalog-header .woocommerce-ordering {

    margin: 0 !important;
}


.ec-catalog-header .orderby {

    min-height: 42px;

    padding: 8px 35px 8px 13px;

    border: 1px solid var(--ec-border) !important;

    border-radius: 8px;

    background: #fff;

    color: var(--ec-text);
}


/* =========================================================
   GRID
   ========================================================= */

.ec-course-grid {

    display: grid;

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

    gap: 26px;

    list-style: none;

    margin: 0;

    padding: 0;
}


/* =========================================================
   CARD
   ========================================================= */

.ec-course-card {

    display: flex;

    flex-direction: column;

    min-width: 0;

    background: #fff;

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

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

    overflow: hidden;

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

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.ec-course-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--ec-shadow-hover);
}


/* =========================================================
   IMAGEM
   ========================================================= */

.ec-course-image {

    position: relative;

    display: block;

    overflow: hidden;

    background: #e2e8f0;

    text-decoration: none !important;
}


.ec-course-image img {

    display: block;

    width: 100% !important;

    height: auto !important;

    aspect-ratio: 16 / 10;

    object-fit: cover;

    margin: 0 !important;

    transition: transform .4s ease;
}


.ec-course-card:hover
.ec-course-image img {

    transform: scale(1.05);
}


/* OFERTA */

.ec-sale-badge {

    position: absolute;

    top: 13px;

    left: 13px;

    z-index: 3;

    padding: 6px 10px;

    border-radius: 6px;

    background: #dc2626;

    color: #fff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .04em;
}


/* =========================================================
   CORPO
   ========================================================= */

.ec-course-body {

    display: flex;

    flex: 1;

    flex-direction: column;

    padding: 19px;
}


/* CATEGORIA */

.ec-course-category {

    margin-bottom: 9px;

    color: var(--ec-blue);

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .07em;

    line-height: 1.4;
}


.ec-course-category a {

    color: inherit !important;

    text-decoration: none !important;
}


/* TÍTULO */

.ec-course-title {

    min-height: 48px;

    margin: 0 0 10px !important;

    font-size: 17px !important;

    line-height: 1.4 !important;

    font-weight: 750 !important;
}


.ec-course-title a {

    color: var(--ec-dark) !important;

    text-decoration: none !important;
}


.ec-course-title a:hover {

    color: var(--ec-blue) !important;
}


/* DESCRIÇÃO */

.ec-course-description {

    display: -webkit-box;

    overflow: hidden;

    margin: 0 0 15px;

    color: var(--ec-muted);

    font-size: 12px;

    line-height: 1.6;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;
}


/* META */

.ec-course-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 17px;

    color: #64748b;

    font-size: 10px;

    font-weight: 600;
}


/* =========================================================
   RODAPÉ DO CARD
   ========================================================= */

.ec-course-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-top: auto;

    padding-top: 14px;

    border-top: 1px solid #f1f5f9;
}


/* PREÇO */

.ec-course-price {

    color: var(--ec-blue);

    font-size: 18px;

    font-weight: 800;

    white-space: nowrap;
}


.ec-course-price del {

    display: block;

    margin-bottom: 1px;

    color: #94a3b8;

    font-size: 10px;

    font-weight: 500;
}


.ec-course-price ins {

    text-decoration: none;
}


/* BOTÃO */

.ec-course-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-height: 40px;

    padding: 0 14px;

    border-radius: 8px;

    background: var(--ec-blue);

    color: #fff !important;

    font-size: 11px;

    font-weight: 700;

    text-decoration: none !important;

    white-space: nowrap;

    transition: .2s ease;
}


.ec-course-button:hover {

    background: var(--ec-blue-dark);

    color: #fff !important;
}


.ec-course-button span {

    font-size: 15px;
}


/* =========================================================
   PAGINAÇÃO
   ========================================================= */

.ec-catalog .woocommerce-pagination {

    margin-top: 45px;
}


.ec-catalog .woocommerce-pagination ul {

    display: flex;

    justify-content: center;

    gap: 7px;

    border: 0 !important;
}


.ec-catalog .woocommerce-pagination li {

    border: 0 !important;
}


.ec-catalog .woocommerce-pagination a,
.ec-catalog .woocommerce-pagination span {

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 38px;

    min-height: 38px;

    border: 1px solid var(--ec-border) !important;

    border-radius: 8px !important;

    background: #fff;

    color: var(--ec-dark) !important;
}


.ec-catalog .woocommerce-pagination
span.current,
.ec-catalog .woocommerce-pagination a:hover {

    border-color: var(--ec-blue) !important;

    background: var(--ec-blue) !important;

    color: #fff !important;
}


/* =========================================================
   SEM PRODUTOS
   ========================================================= */

.ec-no-products {

    padding: 70px 20px;

    text-align: center;

    background: #fff;

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

    border-radius: 16px;
}


.ec-no-products-icon {

    margin-bottom: 15px;

    font-size: 40px;
}


.ec-no-products h2 {

    margin-bottom: 8px;

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


.ec-no-products p {

    color: var(--ec-muted);
}


.ec-no-products a {

    display: inline-flex;

    margin-top: 10px;

    padding: 12px 20px;

    border-radius: 8px;

    background: var(--ec-blue);

    color: #fff !important;

    text-decoration: none;
}


/* =========================================================
   CTA
   ========================================================= */

.ec-cta {

    padding: 0 0 70px;
}


.ec-cta-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 42px 50px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #1e3a8a
        );
}


.ec-cta-box h2 {

    margin: 5px 0 8px;

    color: #fff;

    font-size: 29px;

    font-weight: 800;
}


.ec-cta-box p {

    margin: 0;

    color: #cbd5e1;
}


.ec-cta-box .ec-section-label {

    color: #93c5fd;
}


.ec-cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    border-radius: 9px;

    background: #fff;

    color: #1d4ed8 !important;

    font-size: 13px;

    font-weight: 800;

    text-decoration: none !important;

    white-space: nowrap;
}


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

@media (max-width: 1150px) {

    .ec-course-grid {

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

}


@media (max-width: 900px) {

    .ec-hero-grid {

        grid-template-columns: 1fr;
    }

    .ec-hero-decoration {

        display: none;
    }

    .ec-course-grid {

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

}


@media (max-width: 650px) {

    .ec-container {

        width: calc(100% - 28px);
    }

    .ec-hero {

        padding: 50px 0 55px;
    }

    .ec-hero h1 {

        font-size: 38px;
    }

    .ec-search {

        flex-direction: column;

        align-items: stretch;
    }

    .ec-search-icon {

        display: none;
    }

    .ec-search input {

        width: 100%;
    }

    .ec-search button {

        width: 100%;
    }

    .ec-catalog-header {

        align-items: flex-start;

        flex-direction: column;
    }

    .ec-course-grid {

        grid-template-columns: 1fr;

        gap: 18px;
    }

    .ec-cta-box {

        align-items: flex-start;

        flex-direction: column;

        padding: 32px 25px;
    }

    .ec-cta-button {

        width: 100%;
    }

}











































































/* =========================================================
   EDUCA CENTRAL
   PÁGINA DE PRODUTO (CURSO) — estilo Hotmart
   Cole no final do style.css (substitui qualquer versão
   anterior deste bloco). Cores próprias desta página —
   não interfere no azul do catálogo.
   ========================================================= */

.ec-single-product {
    --hm-green: #0ea854;
    --hm-green-dark: #058c48;
    --hm-green-light: #e7f8ef;
    --hm-ink: #1a1a2e;
    --hm-text: #4b5563;
    --hm-muted: #8b93a1;
    --hm-border: #e9ebf0;
    --hm-bg: #f7f8fa;
    --hm-radius: 18px;

    background: var(--hm-bg);

    color: var(--hm-text);
}

.ec-single-container {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

    padding: 30px 0 100px;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.ec-single-breadcrumb {
    margin-bottom: 24px;

    color: var(--hm-muted);

    font-size: 13px;
    font-weight: 600;
}

.ec-single-breadcrumb a {
    color: var(--hm-text);

    text-decoration: none;
}

.ec-single-breadcrumb a:hover {
    color: var(--hm-green);
}


/* =========================================================
   ÁREA PRINCIPAL
   ========================================================= */

.ec-single-main {
    display: grid;

    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);

    align-items: start;

    gap: 40px;
}


/* =========================================================
   GALERIA
   ========================================================= */

.ec-single-gallery {
    position: sticky;

    top: 24px;
}

.ec-single-gallery .woocommerce-product-gallery {
    position: relative;

    overflow: hidden;

    background: #fff;

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

    box-shadow: 0 18px 40px -16px rgba(26, 26, 46, .16);
}

.ec-single-gallery .woocommerce-product-gallery__wrapper {
    margin: 0;
}

.ec-single-gallery .woocommerce-product-gallery__image {
    display: block;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #e5e7eb;
}

.ec-single-gallery .woocommerce-product-gallery__image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    margin: 0 !important;

    object-fit: cover !important;
    object-position: center center;
}

.ec-single-gallery ol.flex-control-nav {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin: 0;

    padding: 12px;

    list-style: none;

    background: #fff;
}

.ec-single-gallery ol.flex-control-nav li {
    width: 62px;
    height: 62px;
}

.ec-single-gallery ol.flex-control-nav img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 8px;

    border: 2px solid transparent;

    cursor: pointer;

    transition: border-color .2s ease, opacity .2s ease;

    opacity: .6;
}

.ec-single-gallery ol.flex-control-nav img:hover,
.ec-single-gallery ol.flex-control-nav .flex-active img {
    border-color: var(--hm-green);

    opacity: 1;
}

.ec-single-sale-badge {
    position: absolute;

    top: 18px;
    left: 18px;

    z-index: 5;

    padding: 6px 12px;

    border-radius: 6px;

    background: #f43f5e;

    color: #fff;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .04em;
}


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

.ec-single-eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--hm-green-dark);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .1em;
}

.ec-single-eyebrow a {
    color: inherit;

    text-decoration: none;
}

.ec-single-summary .product_title {
    margin: 0 0 14px;

    color: var(--hm-ink);

    font-size: clamp(24px, 2.6vw, 30px);
    line-height: 1.28;
    font-weight: 800;
}

.ec-single-summary .woocommerce-product-rating {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;
}

.ec-single-summary .star-rating {
    color: #f5a623;

    font-size: 15px;
}

.ec-single-summary .woocommerce-review-link {
    color: var(--hm-muted);

    font-size: 13px;

    text-decoration: none;
}

.ec-single-summary .woocommerce-review-link:hover {
    color: var(--hm-green-dark);
}

.ec-single-summary .woocommerce-product-details__short-description {
    margin-bottom: 26px;

    color: var(--hm-text);

    font-size: 15px;

    line-height: 1.75;
}

/* Bônus visual: transforma cada item da descrição curta
   em um benefício com check verde, se ela vier em lista <ul> */
.ec-single-summary .woocommerce-product-details__short-description ul {
    margin: 0;

    padding: 0;

    list-style: none;
}

.ec-single-summary .woocommerce-product-details__short-description ul li {
    position: relative;

    margin-bottom: 10px;

    padding-left: 26px;

    font-weight: 500;
}

.ec-single-summary .woocommerce-product-details__short-description ul li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 0;

    display: inline-flex;

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

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: var(--hm-green-light);

    color: var(--hm-green-dark);

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   CARTÃO DE COMPRA — estilo checkout Hotmart
   ========================================================= */

.ec-single-summary .price,
.ec-single-summary form.cart,
.ec-single-trust,
.ec-single-guarantee {
    background: #fff;
}

.ec-single-summary .price {
    position: relative;

    margin-bottom: 0;

    padding: 24px 24px 20px;

    border-radius: 16px 16px 0 0;

    border: 1px solid var(--hm-border);
    border-bottom: 0;

    font-weight: 800;
}

.ec-single-summary .price::before {
    content: "à vista por";

    display: block;

    margin-bottom: 4px;

    color: var(--hm-muted);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .08em;
}

.ec-single-summary .price del {
    display: inline-block;

    margin: 0 0 6px;

    color: #b5bac4;

    font-size: 14px;

    font-weight: 500;

    opacity: 1;
}

.ec-single-summary .price del .woocommerce-Price-amount {
    text-decoration: line-through;
}

.ec-single-summary .price ins {
    display: block;

    text-decoration: none;
}

.ec-single-summary .price ins .woocommerce-Price-amount,
.ec-single-summary .price > .woocommerce-Price-amount {
    color: var(--hm-green-dark);

    font-size: 36px;

    font-weight: 800;

    letter-spacing: -.02em;
}

.ec-single-summary .price ins::after,
.ec-single-summary .price > .woocommerce-Price-amount::after {
    content: "ou em até 12x no cartão";

    display: block;

    margin-top: 4px;

    color: var(--hm-muted);

    font-size: 12.5px;

    font-weight: 600;
}

/* Formulário de compra */
.ec-single-summary form.cart {
    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-bottom: 0;

    padding: 18px 24px 22px;

    border: 1px solid var(--hm-border);
    border-top: 1px dashed var(--hm-border);
    border-bottom: 0;
}

.ec-single-summary .quantity {
    display: none;

    /* Hotmart normalmente vende 1 acesso por vez — oculto por padrão.
       Remova esta regra se você realmente precisa do seletor de quantidade. */
}

/* botão de compra — grande, verde, chamativo (assinatura Hotmart) */
.ec-single-summary .single_add_to_cart_button,
.ec-single-summary button.single_add_to_cart_button {
    width: 100%;

    height: 56px;

    padding: 0 24px;

    border: 0;
    border-radius: 10px;

    background: var(--hm-green);

    color: #fff !important;

    font-size: 15px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .02em;

    cursor: pointer;

    box-shadow: 0 14px 30px -10px rgba(14, 168, 84, .5);

    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ec-single-summary .single_add_to_cart_button:hover {
    background: var(--hm-green-dark);

    transform: translateY(-2px);

    box-shadow: 0 18px 36px -10px rgba(14, 168, 84, .6);
}

/* Barra de confiança — ícones de segurança, estilo selo de checkout */
.ec-single-trust {
    display: flex;

    flex-wrap: wrap;

    gap: 14px 18px;

    margin: 0;

    padding: 16px 24px;

    border: 1px solid var(--hm-border);
    border-top: 0;

    color: var(--hm-text);

    font-size: 12px;
    font-weight: 600;
}

.ec-single-trust li {
    display: flex;

    align-items: center;

    gap: 6px;

    list-style: none;
}

.ec-single-trust-icon {
    display: inline-flex;

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

    width: 22px;
    height: 22px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--hm-green-light);

    font-size: 11px;
}

/* Selo de garantia — círculo com o número de dias */
.ec-single-guarantee {
    display: flex;

    align-items: center;

    gap: 16px;

    margin: 0 0 24px;

    padding: 20px 24px;

    border: 1px solid var(--hm-border);
    border-top: 1px dashed var(--hm-border);

    border-radius: 0 0 16px 16px;

    box-shadow: 0 18px 36px -18px rgba(26, 26, 46, .14);
}

.ec-single-guarantee-seal {
    display: flex;

    flex-direction: column;

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

    width: 56px;
    height: 56px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--hm-green-light);

    border: 2px dashed var(--hm-green);

    color: var(--hm-green-dark);

    font-size: 20px;
    font-weight: 800;

    line-height: 1;
}

.ec-single-guarantee-seal small {
    margin-top: 2px;

    font-size: 8px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .04em;
}

.ec-single-guarantee-text {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.ec-single-guarantee-text strong {
    color: var(--hm-ink);

    font-size: 13.5px;

    font-weight: 800;
}

.ec-single-guarantee-text span {
    color: var(--hm-muted);

    font-size: 12px;

    line-height: 1.5;
}

/* Meta (categoria, tags, SKU) */
.ec-single-summary .product_meta {
    padding-top: 18px;

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

    color: var(--hm-muted);

    font-size: 13px;

    line-height: 2;
}

.ec-single-summary .product_meta a {
    color: var(--hm-green-dark);

    text-decoration: none;
}

.ec-single-summary .product_meta a:hover {
    text-decoration: underline;
}


/* =========================================================
   CONTEÚDO INFERIOR — abas
   ========================================================= */

.ec-single-lower {
    margin-top: 56px;
}

.ec-single-description .woocommerce-tabs {
    background: #fff;

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

    overflow: hidden;

    box-shadow: 0 12px 30px -16px rgba(26, 26, 46, .14);
}

.ec-single-description ul.tabs {
    display: flex;

    flex-wrap: wrap;

    margin: 0;

    padding: 0 12px;

    list-style: none;

    border-bottom: 1px solid var(--hm-border);
}

.ec-single-description ul.tabs li {
    margin: 0;
}

.ec-single-description ul.tabs li a {
    display: inline-block;

    padding: 18px 18px;

    color: var(--hm-text);

    font-size: 14px;
    font-weight: 700;

    text-decoration: none !important;

    border-bottom: 3px solid transparent;

    transition: color .2s ease, border-color .2s ease;
}

.ec-single-description ul.tabs li.active a,
.ec-single-description ul.tabs li a:hover {
    color: var(--hm-green-dark);

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

.ec-single-description .woocommerce-Tabs-panel {
    padding: 30px;

    color: var(--hm-text);

    font-size: 15px;

    line-height: 1.8;
}

.ec-single-description .woocommerce-Tabs-panel h2 {
    margin-top: 0;

    color: var(--hm-ink);

    font-size: 19px;

    font-weight: 800;
}

.ec-single-description table.woocommerce-product-attributes {
    width: 100%;

    border-collapse: collapse;
}

.ec-single-description table.woocommerce-product-attributes th,
.ec-single-description table.woocommerce-product-attributes td {
    padding: 12px 14px;

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

    text-align: left;

    font-size: 14px;
}

.ec-single-description table.woocommerce-product-attributes th {
    background: var(--hm-green-light);

    color: var(--hm-ink);

    font-weight: 700;
}


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

@media (max-width: 900px) {

    .ec-single-main {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .ec-single-gallery {
        position: static;
    }
}

@media (max-width: 600px) {

    .ec-single-container {
        width: calc(100% - 28px);

        padding: 20px 0 60px;
    }

    .ec-single-summary .product_title {
        font-size: 22px;
    }

    .ec-single-summary .price ins .woocommerce-Price-amount,
    .ec-single-summary .price > .woocommerce-Price-amount {
        font-size: 28px;
    }

    .ec-single-guarantee {
        flex-direction: column;

        align-items: flex-start;

        text-align: left;
    }

    .ec-single-trust {
        flex-direction: column;

        gap: 10px;
    }

    .ec-single-description .woocommerce-Tabs-panel {
        padding: 20px 16px;
    }
}

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

    .ec-single-summary .single_add_to_cart_button {
        transition: none !important;
    }

    .ec-single-summary .single_add_to_cart_button:hover {
        transform: none !important;
    }
}