@charset "UTF-8";
.flag-circle {
    width: 15px !important;
    height: 15px !important;
    border-radius: 50% !important;
    overflow: hidden;
    display: inline-block;
    background-size: cover;
}

/** WhatsApp Button Styles **/
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 25px;
    right: 25px;
    background-color: #0F6458;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    line-height: 65px;
    z-index: 999;
    cursor: pointer;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.whatsapp-float:hover {
    color: #125700;
}

.whatsapp-float i {
    position: relative;
    z-index: 2;
}

.whatsapp-float i:hover {
    color: #125700;
}

/* Pulse atrás */
.whatsapp-float .pulse {
    content: "";
    position: absolute;
    width: 65px;
    height: 65px;
    background: rgba(5, 78, 29, 0.45);
    border-radius: 50%;
    z-index: 1;
    -webkit-animation: pulse-animation 1.8s infinite ease-out;
    animation: pulse-animation 1.8s infinite ease-out;
}

.checkout-section-2 .checkout-right-box {
    position: sticky;
    top: 120px;
    left: 0;
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 55px;
        right: 14px;
        font-size: 22px;
        line-height: 35px;
    }

    .whatsapp-float .pulse {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .mobile-hide {
        display: none;
    }

    .brand-logo img {
        height: 45px !important;
    }
}

@-webkit-keyframes pulse-animation {
    0% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0.7;
    }
    70% {
        -webkit-transform: scale(1.45);
        transform: scale(1.45);
        opacity: 0;
    }
    100% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0;
    }
}

@keyframes pulse-animation {
    0% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0.7;
    }
    70% {
        -webkit-transform: scale(1.45);
        transform: scale(1.45);
        opacity: 0;
    }
    100% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0;
    }
}

/** Customizacoes nos Produtos **/
.product-shadow-red {
    -webkit-box-shadow: rgba(141, 3, 3, 0.7294117647) 0px 3px 3px;
    box-shadow: rgba(141, 3, 3, 0.7294117647) 0px 3px 3px;
}

.product-shadow-black {
    -webkit-box-shadow: rgba(2, 2, 2, 0.36) 0px 3px 3px;
    box-shadow: rgba(2, 2, 2, 0.36) 0px 3px 3px;
}

.border-radius-10 {
    border-radius: 10px !important;
}

/** UTILITARIOS **/
.display-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.text-center {
    text-align: center;
}

/** Ribbon **/
.ribbon-success {
    background: #006739 !important;
}

.ribbon-info {
    background: #004c98 !important;
}

.ribbon-warning {
    background: #fbb402 !important;
    color: #000 !important;
}

.ribbon-black {
    background: #000000 !important;
}

/** Product Pages **/
.page-filter-img {
    height: 14px !important;
}

/* ==========================================================
   CUSTOM CATALOG GRID HANDLER (SEM JAVASCRIPT)
   Publius Editora — Catálogo
   ========================================================== */
/* ------------------------------
   CONFIGURAÇÃO BASE DO PRODUTO
   ------------------------------ */
.basic-product {
    height: 100%;
    width: 100% !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    border-radius: 10px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.basic-product .img-wrapper {
    position: relative;
    overflow: hidden;
    z-index: 0;
    background-color: #f8f8f8;
    border-radius: 8px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.basic-product .product-detail {
    margin-top: auto;
    padding-top: 15px;
    text-align: center;
}

.basic-product .product-detail .product-title {
    display: block;
    text-align: center;
    min-height: 70px;
}

.basic-product .product-detail .price {
    text-align: center;
    font-weight: 600;
}

/* ==========================================================
   MODO 4 COLUNAS (col-xl-3)
   ========================================================== */
.grid-4-mode .img-wrapper, .product-wrapper-grid > .row > div.col-xl-3 .img-wrapper {
    max-height: 420px !important;
    min-height: 420px !important;
}

.grid-4-mode .img-wrapper, .product-wrapper-grid > .row > div.col-xl-3 .img-wrapper img {
    max-height: 420px !important;
    min-height: 420px !important;
    object-fit: cover;
    width: 100%;
}

.grid-4-mode .product-title, .product-wrapper-grid > .row > div.col-xl-3 .product-title {
    font-size: 14px !important;
}

.grid-4-mode .add-cart-btn, .product-wrapper-grid > .row > div.col-xl-3 .add-cart-btn {
    font-size: 12px !important;
}

/* ==========================================================
   MODO 3 COLUNAS (col-xl-4)
   ========================================================== */
.grid-3-mode .img-wrapper, .product-wrapper-grid > .row > div.col-xl-4 .img-wrapper {
    max-height: 420px !important;
    min-height: 420px !important;
}

.grid-3-mode .img-wrapper, .product-wrapper-grid > .row > div.col-xl-4 .img-wrapper img {
    object-fit: cover;
    max-height: 420px !important;
    min-height: 420px !important;
    width: 100%;
}

/* ==========================================================
   MODO 2 COLUNAS (col-xl-6)
   ========================================================== */
.grid-2-mode .img-wrapper, .product-wrapper-grid > .row > div.col-xl-6 .img-wrapper {
    max-height: 520px !important;
}

.grid-2-mode .product-title, .product-wrapper-grid > .row > div.col-xl-6 .product-title {
    font-size: 17px !important;
}

/* ==========================================================
   MODO LIST VIEW (col-sm-12) — CARD HORIZONTAL
   ========================================================== */
.list-mode, .product-wrapper-grid > .row > div.col-sm-12 {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: row !important;
    flex-direction: row !important;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 30px;
    padding: 0 !important;
    margin-bottom: 0;
    border-radius: 12px;
    background: #fff;
    /* ---- Imagem menor e sem crop ---- */
}

.list-mode .img-wrapper, .product-wrapper-grid > .row > div.col-sm-12 .img-wrapper {
    width: 220px !important;
    max-height: none !important;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    background: #f8f8f8;
}

.list-mode .img-wrapper img, .product-wrapper-grid > .row > div.col-sm-12 .img-wrapper img {
    width: 100%;
    height: auto;
    -o-object-fit: contain !important;
    object-fit: contain !important;
}

.list-mode, .product-wrapper-grid > .row > div.col-sm-12 {
    /* ---- Conteúdo alinhado à esquerda ---- */
}

.list-mode .product-detail, .product-wrapper-grid > .row > div.col-sm-12 .product-detail {
    -webkit-box-flex: 1 !important;
    -ms-flex: 1 !important;
    flex: 1 !important;
    text-align: left !important;
    padding-top: 0 !important;
    padding-left: 5px;
}

.list-mode .product-detail .brand-w-color, .product-wrapper-grid > .row > div.col-sm-12 .product-detail .brand-w-color {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.list-mode .product-detail .product-title, .product-wrapper-grid > .row > div.col-sm-12 .product-detail .product-title {
    text-align: left !important;
    font-size: 22px !important;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px !important;
}

.list-mode .product-detail .product-price, .product-wrapper-grid > .row > div.col-sm-12 .product-detail .product-price {
    -webkit-box-pack: start !important;
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
}

.list-mode .product-detail .price, .product-wrapper-grid > .row > div.col-sm-12 .product-detail .price {
    text-align: left !important;
    font-size: 24px !important;
    margin-bottom: 15px !important;
}

.list-mode .product-detail .price del, .product-wrapper-grid > .row > div.col-sm-12 .product-detail .price del {
    margin-left: 6px;
    font-size: 18px;
    opacity: 0.6;
}

.list-mode .product-detail, .product-wrapper-grid > .row > div.col-sm-12 .product-detail {
    /* RESUMO — só aqui aparece */
}

.list-mode .product-detail .book-summary, .product-wrapper-grid > .row > div.col-sm-12 .product-detail .book-summary {
    display: block !important;
    font-size: 15px;
    line-height: 1.55;
    color: #555;
    max-width: 650px;
    margin-bottom: 18px;
}

.list-mode .product-detail .add-cart-btn, .product-wrapper-grid > .row > div.col-sm-12 .product-detail .add-cart-btn {
    width: 250px !important;
    margin-top: 5px;
}

.list-mode, .product-wrapper-grid > .row > div.col-sm-12 {
    /* Ocultar o painel de oferta */
}

.list-mode .offer-panel, .product-wrapper-grid > .row > div.col-sm-12 .offer-panel {
    display: none !important;
}

.list-mode, .product-wrapper-grid > .row > div.col-sm-12 {
    /* Esconder o selo "10%" que fica colado na imagem */
}

.list-mode .ribbon-round, .product-wrapper-grid > .row > div.col-sm-12 .ribbon-round {
    display: none !important;
}

/* Resumo só aparece no list mode */
.book-summary {
    display: none;
}

/* ==========================================================
   MOTOR AUTOMÁTICO QUE DETECTA O LAYOUT PELO BOOTSTRAP
   SEM JS
   ========================================================== */
.product-wrapper-grid > .row {
    /* --- Detecta automaticamente quando é 4 colunas --- */
}

.product-wrapper-grid > .row {
    /* --- Detecta automaticamente quando é 3 colunas --- */
}

.product-wrapper-grid > .row {
    /* --- Detecta automaticamente quando é 2 colunas --- */
}

.product-wrapper-grid > .row {
    /* --- Detecta automaticamente LIST VIEW --- */
}

/* ==========================================================
   OTIMIZAÇÕES OPCIONAIS
   ========================================================== */
/* Deixa todos os cards com altura igual */
.col-grid-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

/* Melhor aparência do botão comprar */
.add-cart-btn {
    border-radius: 6px !important;
}

/* Remove comportamento estranho do template */
.product-wrapper-grid.list-view .basic-product.theme-product-1 {
    background: #fff;
    border-radius: 12px;
}

/* ============================
   TAG CLOUD — Publius Editora
   ============================ */
.tagcloud {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px 10px; /* espaçamento horizontal e vertical */
    margin-top: 5px;
}

.tagcloud a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #1a73e8;
    background: #eef4ff;
    border-radius: 20px;
    text-decoration: none;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.tagcloud a:hover {
    background: #d9e8ff;
    color: #0f5acc;
}

/* ==========================================================
   BOX BASE – usado tanto no SHIPPING quanto PAYMENT
   ========================================================== */
.method-box-base, .payment-box, .shipping-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    cursor: pointer;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.method-box-base:hover, .payment-box:hover, .shipping-box:hover {
    border-color: var(--theme-color);
    -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.method-box-base, .payment-box, .shipping-box {
    /* Radio sempre alinhado à direita */
}

.method-box-base .method-radio, .payment-box .method-radio, .payment-box .payment-radio, .shipping-box .method-radio, .shipping-box .shipping-radio {
    margin-left: auto;
    margin-right: 0;
}

.method-box-base, .payment-box, .shipping-box {
    /* Informações (nome e preço/texto) */
}

.method-box-base .method-info, .payment-box .method-info, .payment-box .payment-info, .shipping-box .method-info, .shipping-box .shipping-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 4px;
}

.method-box-base .method-info .form-check-label, .payment-box .method-info .form-check-label, .payment-box .payment-info .form-check-label, .shipping-box .method-info .form-check-label, .shipping-box .shipping-info .form-check-label {
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.method-box-base .method-info .price, .payment-box .method-info .price, .payment-box .payment-info .price, .shipping-box .method-info .price, .shipping-box .shipping-info .price {
    font-size: 15px;
    font-weight: 600;
    color: var(--theme-color);
}

.method-box-base .method-info .subtext, .payment-box .method-info .subtext, .payment-box .payment-info .subtext, .shipping-box .method-info .subtext, .shipping-box .shipping-info .subtext {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.method-box-base, .payment-box, .shipping-box {
    /* Quando selecionado */
}

.method-box-base.selected, .selected.payment-box, .selected.shipping-box {
    border-color: var(--theme-color);
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.method-box-base, .payment-box, .shipping-box {
    /* Radio marcado muda cor do label */
}

.method-box-base .method-radio:checked ~ .method-info .form-check-label, .payment-box .method-radio:checked ~ .method-info .form-check-label, .payment-box .method-radio:checked ~ .payment-info .form-check-label, .payment-box .payment-radio:checked ~ .method-info .form-check-label, .payment-box .payment-radio:checked ~ .payment-info .form-check-label, .shipping-box .method-radio:checked ~ .method-info .form-check-label, .shipping-box .method-radio:checked ~ .shipping-info .form-check-label, .shipping-box .payment-box .payment-radio:checked ~ .shipping-info .form-check-label, .payment-box .shipping-box .payment-radio:checked ~ .shipping-info .form-check-label, .shipping-box .shipping-radio:checked ~ .method-info .form-check-label, .shipping-box .payment-box .shipping-radio:checked ~ .payment-info .form-check-label, .payment-box .shipping-box .shipping-radio:checked ~ .payment-info .form-check-label, .shipping-box .shipping-radio:checked ~ .shipping-info .form-check-label {
    color: var(--theme-color);
}

/* ==========================================================
   SHIPPING BOX – reaproveita base
   ========================================================== */
.shipping-box .shipping-logo {
    width: 80px;
    height: auto;
    border-radius: 6px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* ==========================================================
   PAYMENT BOX – reaproveita base
   ========================================================== */
.payment-box .payment-logo {
    width: 80px;
    height: auto;
    border-radius: 6px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.payment-box .payment-info {
    /* pagamento não tem preço em vermelho */
}

.payment-box .payment-info .price {
    color: var(--theme-color);
}

/*# sourceMappingURL=custom.css.map */

/* ===========================
   Paginação – Publius
=========================== */

.product-pagination .pagination .page-item .page-link {
    color: var(--theme-color);
    border-color: var(--theme-color);
}

.product-pagination .pagination .page-item.active .page-link {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    color: #fff;
}

.product-pagination .pagination .page-item:hover .page-link {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    color: #fff;
}

.product-pagination .pagination .page-item.disabled .page-link {
    color: #ccc;
    border-color: #e0e0e0;
    background-color: transparent;
    cursor: not-allowed;
}

/* Ícones */
.product-pagination .pagination .page-link i {
    color: inherit;
}
