/* =============================================================
   loja.css — Customizações e correções sobre o Flatsome base
   Mantém 100% o design original WooCommerce/Flatsome
   ============================================================= */

/* ---- Contador do carrinho no header ---- */
.fkcart-shortcode-count,
.fkcart-item-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #d35400;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Ícone do carrinho */
.loja-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

/* ---- Preço PIX / Parcelas ---- */
.wcsp-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.payment {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment.payment-discount .payment-price .woocommerce-Price-amount {
    color: #01a58c;
    font-weight: 800;
    font-size: 1.15em;
}

.payment.payment-discount .payment-name .text {
    color: #666;
    font-size: 0.75em;
    font-weight: 400;
}

.payment.payment-card {
    border-top: 1px dashed #eee;
    padding-top: 4px;
    margin-top: 2px;
}

.payment.payment-card .payment-price .woocommerce-Price-amount {
    color: #444;
    font-size: 0.9em;
    font-weight: 600;
}

.payment-name .text {
    font-size: 0.75em;
    color: #888;
}

.payment-name.best_no_fee .text .number {
    font-weight: 700;
}

/* ---- Grid de produtos ---- */
.product-row {
    display: flex;
    flex-wrap: wrap;
}

.product-small.box {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.product-small.box.has-hover:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
    transform: translateY(-2px);
}

.product-small .box-image {
    overflow: hidden;
    position: relative;
}

.product-small .box-image img {
    width: 100%;
    display: block;
    transition: opacity 0.3s ease;
}

.product-small .box-image .back-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-small.box:hover .box-image .back-image {
    opacity: 1;
}

.product-small .box-text {
    padding: 12px;
}

.product-small .name.product-title a {
    font-size: 0.9em;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    line-height: 1.3;
    display: block;
    margin-bottom: 6px;
}

.product-small .name.product-title a:hover {
    color: #d35400;
}

.product-small .category.uppercase {
    font-size: 0.72em;
    color: #999;
    margin-bottom: 4px;
}

/* ---- Breadcrumb ---- */
.woocommerce-breadcrumb {
    padding: 12px 0;
    font-size: 0.85em;
    color: #888;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.woocommerce-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    color: #d35400;
}

.woocommerce-breadcrumb .sep {
    margin: 0 6px;
    color: #ccc;
}

/* ---- Mensagens flash ---- */
.woocommerce-message {
    padding: 12px 16px;
    background: #e8f5e9;
    border-left: 4px solid #2b820a;
    border-radius: 4px;
    margin: 10px 0;
    color: #1b5e20;
}

.woocommerce-error {
    padding: 12px 16px;
    background: #fde8e8;
    border-left: 4px solid #c00;
    border-radius: 4px;
    margin: 10px 0;
    color: #7f0000;
}

/* ---- Tabelas ---- */
.shop_table th {
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    color: #555;
}

/* ---- Botões correção Flatsome ---- */
.button.primary {
    background-color: #d35400;
    color: #fff;
    border-color: #d35400;
}

.button.primary:hover {
    background-color: #b84800;
    border-color: #b84800;
}

/* ---- Footer ---- */
.footer-wrapper {
    color: #4a2e1f;
}

#footer,
#footer .dark,
#footer .dark p,
#footer .dark span,
#footer .dark strong,
#footer .dark li,
#footer .dark a,
#footer .dark .widget,
#footer .dark .widget-title,
#footer .dark .is-divider,
#footer .dark .social-icons,
#footer .dark .social-icons span,
#footer .dark .menu-item a {
    color: #4a2e1f !important;
}

.footer-wrapper .widget-title {
    display: block;
    margin: 0 0 10px;
    color: #4a2e1f;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-wrapper ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-wrapper ul li {
    margin-bottom: 10px;
}

.footer-wrapper ul li:last-child {
    margin-bottom: 0;
}

.footer-wrapper ul li a {
    color: rgba(74, 46, 31, 0.78);
    font-size: 0.95rem;
    line-height: 1.55;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.footer-wrapper ul li a:hover {
    color: #4a2e1f;
    transform: translateX(2px);
}

#footer .dark .social-icons .button.is-outline,
#footer .dark .social-icons .button.icon,
#footer .nav-dark .social-icons .button.is-outline,
#footer .nav-dark .social-icons .button.icon {
    color: #4a2e1f !important;
    border-color: rgba(74, 46, 31, 0.18) !important;
}

#footer .footer-1 {
    background:
        radial-gradient(circle at top left, rgba(36, 224, 195, 0.14), transparent 34%),
        linear-gradient(180deg, #20262d 0%, #171c22 100%);
    padding: 44px 0 22px;
}

#footer .footer-2 {
    background: #161b20;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 18px 0;
}

#footer .footer-1 .row,
#footer .footer-2 .row {
    display: grid;
    gap: 22px;
    margin: 0;
    max-width: 1360px;
}

#footer .footer-1 .row {
    grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr) minmax(260px, 1fr);
}

#footer .footer-2 .row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#footer .footer-1 .col,
#footer .footer-2 .col {
    max-width: none;
    padding: 0;
}

#footer .footer-col {
    min-width: 0;
}

#footer .footer-col-brand,
#footer .footer-col-contact,
#footer .footer-col-payments,
#footer .footer-col-trust {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 22px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#footer .footer-col-links {
    padding: 10px 6px 10px 0;
}

#footer .footer-col-links .is-divider.small,
#footer .footer-col-contact .is-divider.small {
    margin: 0 0 18px;
}

#footer .footer-col-brand .img-inner img {
    display: block;
    margin: 0 0 12px;
}

.footer-brand-text {
    color: rgba(74, 46, 31, 0.8);
    font-size: 0.97rem;
    line-height: 1.75;
    margin: 0 0 18px;
    max-width: 42ch;
}

.footer-highlights,
.footer-payment-list,
.footer-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-badge,
.payment-pill,
.trust-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-badge {
    background: rgba(36, 224, 195, 0.12);
    border: 1px solid rgba(36, 224, 195, 0.32);
    color: #e6fffa;
}

.payment-pill {
    background: #fff;
    color: #25313d;
}

.trust-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px !important;
}

.footer-social .share-icons-title {
    width: 100%;
    color: rgba(74, 46, 31, 0.92);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-social a.icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    margin: 0 !important;
    width: 42px;
}

.footer-contact-card {
    color: rgba(74, 46, 31, 0.9);
}

.footer-contact-card+hr {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 14px 0;
    opacity: 1;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    line-height: 1.6;
}

.footer-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(36, 224, 195, 0.12);
    color: #24e0c3;
    flex: 0 0 42px;
}

.footer-contact-label {
    display: block;
    color: rgba(74, 46, 31, 0.66);
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.footer-contact-card a,
.footer-legal,
.footer-copy {
    color: #4a2e1f;
}

.footer-contact-card strong a {
    font-size: 1rem;
    font-weight: 700;
}

.footer-mini-title {
    display: block;
    margin-bottom: 14px;
    color: #4a2e1f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-legal {
    max-width: 42ch;
    line-height: 1.75;
}

.footer-legal strong {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.footer-legal span {
    color: rgba(74, 46, 31, 0.74);
    font-size: 0.94rem;
}

.footer-copy {
    color: rgba(74, 46, 31, 0.72);
    display: inline-block;
    font-size: 0.9rem;
    line-height: 1.6;
}

#footer .absolute-footer {
    background: #10151a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0 20px;
}

#footer .absolute-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

@media screen and (max-width: 1080px) {
    #footer .footer-1 .row {
        grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(170px, 0.8fr)) minmax(240px, 1fr);
        gap: 18px;
    }
}

@media screen and (max-width: 849px) {
    #footer .footer-1 {
        padding: 28px 0 14px;
    }

    #footer .footer-2 {
        padding: 12px 0;
    }

    #footer .footer-1 .row,
    #footer .footer-2 .row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #footer .footer-col-brand,
    #footer .footer-col-contact,
    #footer .footer-col-payments,
    #footer .footer-col-trust,
    #footer .footer-col-links {
        padding: 18px;
    }

    #footer .footer-col-links {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 20px;
    }

    #footer .footer-col-brand,
    #footer .footer-col-links,
    #footer .footer-col-contact,
    #footer .footer-col-legal,
    #footer .footer-col-payments,
    #footer .footer-col-trust {
        text-align: center;
    }

    #footer .footer-col-brand .img-inner img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-brand-text,
    .footer-legal {
        margin-left: auto;
        margin-right: auto;
        max-width: none;
    }

    .footer-highlights,
    .footer-payment-list,
    .footer-trust-list,
    .footer-social {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
        text-align: left;
    }

    #footer .absolute-footer .container {
        flex-direction: column;
        text-align: center;
    }

    #footer .footer-primary,
    #footer .footer-secondary {
        float: none !important;
        width: 100%;
    }
}

/* ---- Footer Minimal Reset ---- */
#footer.footer-wrapper {
    background: #1f2227;
    color: #f5f7f8;
}

#footer .footer-1 {
    background: #1f2227;
    padding: 38px 0 26px;
}

#footer .footer-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.85fr) minmax(180px, 0.95fr) minmax(180px, 0.95fr) auto;
    align-items: start;
    gap: 32px;
    margin: 0;
    max-width: 1360px;
}

#footer .footer-main-grid>.col {
    max-width: none;
    padding: 0;
}

#footer .footer-logo {
    display: inline-block;
    margin-bottom: 14px;
}

#footer .footer-logo img {
    display: block;
    width: 118px;
    max-width: 100%;
    height: auto;
}

#footer .widget-title {
    margin: 0 0 14px;
    color: rgba(74, 46, 31, 0.88);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#footer .footer-brand-text {
    margin: 0;
    max-width: 44ch;
    color: rgba(74, 46, 31, 0.68);
    font-size: 0.95rem;
    line-height: 1.75;
}

#footer .footer-menu,
#footer .footer-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .footer-menu li,
#footer .footer-contact-list li {
    margin-bottom: 10px;
}

#footer .footer-menu li:last-child,
#footer .footer-contact-list li:last-child {
    margin-bottom: 0;
}

#footer .footer-menu a,
#footer .footer-contact-list a {
    color: rgba(74, 46, 31, 0.72);
    font-size: 0.95rem;
    line-height: 1.55;
    text-decoration: none;
    transition: color .2s ease;
}

#footer .footer-menu a:hover,
#footer .footer-contact-list a:hover,
#footer .footer-social a:hover {
    color: #4a2e1f;
}

#footer .footer-payment-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
}

#footer .footer-payment-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(74, 46, 31, 0.88);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}

#footer .footer-payment-block {
    min-width: 0;
}

#footer .footer-social-block {
    justify-self: end;
    text-align: right;
}

#footer .footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin: 0 !important;
}

#footer .footer-social a {
    color: rgba(74, 46, 31, 0.62);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}

#footer .absolute-footer {
    background: #1f2227 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0 18px;
}

#footer .absolute-footer .container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#footer .footer-copy {
    color: rgba(74, 46, 31, 0.5);
    font-size: 0.86rem;
    line-height: 1.6;
}

@media screen and (max-width: 849px) {
    #footer .footer-1 {
        padding: 28px 0 18px;
    }

    #footer .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
    }

    #footer .footer-brand-block,
    #footer .footer-nav-block,
    #footer .footer-contact-block,
    #footer .footer-payment-block,
    #footer .footer-social-block {
        justify-self: stretch;
    }

    #footer .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    #footer .footer-brand-text {
        margin-left: auto;
        margin-right: auto;
    }

    #footer .footer-payment-flags {
        justify-content: center;
    }

    #footer .footer-social-block {
        text-align: center;
    }

    #footer .footer-social {
        justify-content: center;
    }
}


/* ---- Área do Cliente / Dashboard ---- */
.my-account-header {
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    padding: 30px 0;
}

.account-user.circle .image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    vertical-align: middle;
}

.account-user.circle .user-name {
    font-weight: 700;
    margin-left: 10px;
}

.dashboard-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0 !important;
    margin: 30px -10px 0 !important;
}

.dashboard-links li {
    width: 33.333%;
    padding: 10px;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .dashboard-links li {
        width: 100%;
    }
}

/* =============================================================
   CARRINHO LATERAL (SLIDE-OUT CART)
   ============================================================= */
.lateral-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.lateral-cart {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 90%;
    height: 100%;
    background: #fff;
    z-index: 10001;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.lateral-cart.active {
    right: 0;
}

.lateral-cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
}

.lateral-cart-header h3 {
    margin: 0;
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: 700;
}

.lateral-cart-close {
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #999;
}

.lateral-cart-close:hover {
    color: #333;
}

.lateral-cart-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.lateral-cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.lateral-cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.2em;
}

.lateral-cart-actions .button {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

/* Itens no carrinho lateral */
.cart-item-lateral {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f1f1f1;
}

.cart-item-lateral:last-child {
    border-bottom: none;
}

.cart-item-lateral img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-lateral-info {
    flex-grow: 1;
}

.cart-item-lateral-name {
    display: block;
    font-weight: 600;
    font-size: 0.95em;
    color: #333;
    margin-bottom: 5px;
}

.cart-item-lateral-price {
    font-size: 0.9em;
    color: #666;
}

.cart-item-lateral-remove {
    color: #cc0000;
    font-size: 0.8em;
    cursor: pointer;
}

.cart-item-lateral__row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.cart-item-lateral__image {
    flex: 0 0 60px;
}

.cart-item-lateral-subtotal {
    word-break: break-word;
}

.cart-empty-lateral p {
    margin: 0;
}

.cart-cta-lateral .btn-cart-lateral,
.cart-cta-lateral .btn-checkout-lateral {
    font-weight: 700;
}

@media (max-width: 767px) {
    .lateral-cart {
        right: -100%;
        width: min(100vw, 380px);
        max-width: 100vw;
    }

    .lateral-cart-header {
        padding: 16px;
    }

    .lateral-cart-header h3 {
        font-size: 1rem;
    }

    .lateral-cart-body {
        padding: 0;
    }

    .lateral-cart-footer {
        padding: 16px;
    }

    .lateral-cart-total {
        font-size: 1rem;
        gap: 12px;
    }

    .cart-shipping-banner {
        padding: 14px 12px 12px !important;
    }

    .cart-item-lateral {
        padding: 14px 12px !important;
    }

    .cart-item-lateral__row {
        gap: 12px;
    }

    .cart-item-lateral__image {
        width: 72px !important;
        height: 72px !important;
        flex-basis: 72px;
    }

    .cart-item-lateral-name {
        font-size: 0.92rem;
        line-height: 1.35;
        padding-right: 6px;
    }

    .cart-item-lateral-price,
    .cart-item-lateral-subtotal {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .cart-item-lateral-remove {
        min-width: 36px;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.35rem !important;
        border-radius: 999px;
    }

    .cart-total-lateral {
        padding: 16px !important;
    }

    .cart-cta-lateral {
        padding: 12px !important;
    }

    .cart-cta-lateral .btn-cart-lateral,
    .cart-cta-lateral .btn-checkout-lateral {
        padding: 14px 12px !important;
        border-radius: 10px !important;
        font-size: 0.95rem;
    }
}

/* Scrollbar customizada para o carrinho lateral */
.lateral-cart-body::-webkit-scrollbar {
    width: 6px;
}

.lateral-cart-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.lateral-cart-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dashboard-links li a {
    display: block;
    border: 2px solid #eee;
    padding: 20px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85em;
    color: #555;
    border-radius: 5px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dashboard-links li a:hover {
    background-color: #2b3640;
    color: #fff;
    border-color: #2b3640;
}

.dashboard-links li.active a {
    border-color: #d35400;
    color: #d35400;
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #eee;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 10px 0;
    font-size: 0.85em;
    font-weight: 700;
    color: #666;
    text-decoration: none;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    color: #d35400;
}

.woocommerce-MyAccount-navigation ul li.active a {
    color: #d35400;
}

/* =============================================================
   HEADER DROPDOWN MENUS — Override do Flatsome (usa left:-99999px,
   visibility:hidden, opacity:0, max-height:0 para esconder)
   ============================================================= */
.header-bottom-nav .menu-item.has-dropdown {
    position: relative;
}

/* Forçar exibição no hover — precisa !important para vencer Flatsome */
.header-bottom-nav .menu-item.has-dropdown:hover>.nav-dropdown {
    left: -15px !important;
    max-height: 600px !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 999 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    border-top: 2px solid #24e0c3;
}

/* Itens do sub-menu */
.header-bottom-nav .nav-dropdown>li>a {
    transition: background 0.15s, color 0.15s !important;
}

.header-bottom-nav .nav-dropdown>li>a:hover {
    background: #f5f5f5 !important;
    color: #24e0c3 !important;
}

/* Seta do submenu */
.header-bottom-nav .menu-item.has-dropdown>a .icon-angle-down {
    transition: transform 0.2s;
}

.header-bottom-nav .menu-item.has-dropdown:hover>a .icon-angle-down {
    transform: rotate(180deg);
}

/* =============================================================
   SIDEBAR — Widget Categorias (idêntico WooCommerce/Flatsome)
   ============================================================= */
.widget_product_categories .widget-title.shop-sidebar {
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    letter-spacing: 0.5px;
}

.widget_product_categories .is-divider.small {
    height: 3px;
    background: #24e0c3;
    width: 30px;
    margin: 8px 0 14px;
    border: none;
}

.widget_product_categories ul.product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_product_categories ul.product-categories>li.cat-item {
    border-bottom: 1px solid #f0f0f0;
}

.widget_product_categories ul.product-categories>li.cat-item:last-child {
    border-bottom: none;
}

.widget_product_categories ul.product-categories li.cat-item>a {
    display: block;
    padding: 9px 0;
    color: #555;
    font-size: 0.9em;
    text-decoration: none;
    transition: color 0.15s;
}

.widget_product_categories ul.product-categories li.cat-item>a:hover {
    color: #24e0c3;
}

.widget_product_categories li.cat-item.current-cat>a,
.widget_product_categories li.cat-item.current-cat-parent>a {
    color: #24e0c3;
    font-weight: 700;
}

/* Sub-categorias */
.widget_product_categories ul.children {
    list-style: none;
    padding: 0 0 6px 16px;
    margin: 0;
}

.widget_product_categories ul.children li.cat-item>a {
    padding: 5px 0;
    font-size: 0.85em;
    color: #777;
}

.widget_product_categories ul.children li.cat-item.current-cat>a {
    color: #24e0c3;
    font-weight: 700;
}

/* =============================================================
   SIDEBAR — Widget Filtro de Preço
   ============================================================= */
.widget_price_filter {
    margin-top: 25px;
}

.widget_price_filter .widget-title.shop-sidebar {
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    letter-spacing: 0.5px;
}

.widget_price_filter .is-divider.small {
    height: 3px;
    background: #24e0c3;
    width: 30px;
    margin: 8px 0 14px;
    border: none;
}

/* ====================================================
   RESPONSIVIDADE MOBILE — Correções gerais
   ==================================================== */

/* ---- Grid de produtos (loja.css base) ---- */
@media (max-width: 768px) {
    .product-small .box-text {
        padding: 8px;
    }

    .product-small .name.product-title a {
        font-size: 0.82em;
    }
}

/* ====================================================
   CHECKOUT — Colunas 60/40 → 100% no mobile
   ==================================================== */
@media (max-width: 768px) {

    /* Coluna de formulário e coluna de resumo empilham */
    .elementor-col-60,
    .elementor-col-40 {
        width: 100% !important;
        flex: none !important;
    }

    .elementor-container {
        flex-direction: column !important;
        gap: 20px !important;
        padding: 0 12px !important;
    }

    /* Campos de formulário lado a lado → coluna única */
    /* (seletores genéricos que cobrem os divs inline do checkout) */
    .wfacp_main_form>form [style*="display:flex"][style*="gap:20px"],
    .wfacp_main_form [style*="display:flex; gap:20px"] {
        flex-direction: column !important;
        gap: 10px !important;
    }

    /* Abas de método de pagamento (PIX/Boleto/Cartão) — sem quebra de texto */
    #mp-metodo-tabs {
        gap: 6px !important;
    }

    #mp-metodo-tabs button {
        font-size: 11px !important;
        padding: 10px 4px !important;
    }

    /* Copia e cola do PIX */
    #pix-qr-area>div[style*="display:flex"] {
        flex-direction: column !important;
    }

    /* Modal de login no checkout */
    #login-form-popup {
        width: 95% !important;
        padding: 20px !important;
    }

    #customer_login {
        flex-direction: column !important;
    }

    #customer_login .col-1,
    #customer_login .col-2 {
        min-width: unset !important;
        border-left: none !important;
        border-top: 1px solid #eee;
        padding: 15px 0 !important;
    }
}

/* ====================================================
   CARRINHO — Tabela → Cards no mobile
   ==================================================== */
@media (max-width: 640px) {

    /* Esconde o cabeçalho da tabela */
    .shop_table.cart thead {
        display: none;
    }

    /* Cada linha vira um bloco */
    .shop_table.cart tbody tr.cart_item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
        gap: 8px;
    }

    /* Remove e imagem lado a lado */
    .shop_table.cart .product-remove,
    .shop_table.cart .product-thumbnail {
        display: inline-flex;
        padding: 0 !important;
    }

    /* Nome ocupa linha inteira */
    .shop_table.cart .product-name {
        width: 100%;
        padding: 4px 0 !important;
        font-size: 0.9em;
    }

    /* Preço e Qtd lado a lado */
    .shop_table.cart .product-price,
    .shop_table.cart .product-quantity {
        flex: 1;
        padding: 0 !important;
    }

    /* Subtotal ocupa linha inteira, alinhado à direita */
    .shop_table.cart .product-subtotal {
        width: 100%;
        text-align: right;
        padding: 4px 0 !important;
        font-size: 1em;
    }

    /* Botões de ação do carrinho */
    .cart-collaterals>div {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .cart-collaterals .button {
        flex: 1;
        text-align: center;
        margin: 0 !important;
    }

    /* Totais do carrinho */
    .cart_totals {
        max-width: 100% !important;
        margin: 20px 0 0 !important;
    }
}

/* ====================================================
   PRODUTO — Botões "Adicionar" e "Comprar agora"
   ==================================================== */
@media (max-width: 640px) {

    /* Botões em coluna no mobile */
    .single_add_to_cart_button,
    form.cart>a.button.outline {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-left: 0 !important;
        margin-top: 10px !important;
        box-sizing: border-box;
    }

    .pdp-details form.cart .pdp-cta-group .pdp-btn-cart,
    .pdp-details form.cart .pdp-cta-group .pdp-btn-buy {
        display: inline-flex !important;
        width: 100% !important;
        margin-top: 0 !important;
    }

    /* Campo de quantidade fica em linha com o label */
    .quantity-input {
        flex-wrap: wrap !important;
    }

    /* Imagem sticky desativa no mobile (não faz sentido) */
    .product-images .product-gallery {
        position: static !important;
    }
}

/* ====================================================
   PERFIL — Sidebar + Tabelas
   ==================================================== */
@media (max-width: 768px) {

    /* Sidebar empilha em cima do conteúdo */
    .page-wrapper .row.vertical-tabs {
        flex-direction: column !important;
    }

    .page-wrapper .large-3.col.col-border,
    .page-wrapper .large-9.col {
        width: 100% !important;
        max-width: 100% !important;
        border: none !important;
    }

    /* Menu de conta horizontal no mobile */
    #my-account-nav {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px;
    }

    #my-account-nav .menu-item a {
        display: inline-block;
        padding: 6px 12px !important;
        border: 1px solid #eee;
        border-radius: 4px;
        font-size: 0.82em;
    }

    /* Tabela de pedidos com scroll horizontal */
    .woocommerce-orders-table,
    .woocommerce-table--order-details {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    /* Dashboard links — 1 por linha no mobile */
    .dashboard-links li {
        width: 100% !important;
    }

    /* Avatar + nome do usuário */
    .account-user.circle {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px 0;
    }
}
