/* Centro de Acordeon - Custom */


body { font-family: 'Montserrat', sans-serif; }

/* Header */
.ast-primary-header-bar, .site-header, .ast-primary-header,
.ast-header-break-point .ast-mobile-header-wrap .ast-primary-header-bar {
    background-color: #3f0100 !important;
}
.site-title a, .site-header a, .main-header-menu > .menu-item > a,
.ast-masthead .ast-menu-toggle, .ast-header-custom-item a,
.ast-header-break-point .site-branding a {
    color: #ffffff !important;
}
.main-header-menu > .menu-item > a:hover,
.main-header-menu > .menu-item.current-menu-item > a {
    color: #decdaf !important;
}

/* Buttons */
.ast-button, .button, .woocommerce a.button, .woocommerce button.button,
.woocommerce .button, .woocommerce #respond input#submit,
.wp-block-button__link, input[type="submit"] {
    background-color: #3f0100 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}
.ast-button:hover, .button:hover, .woocommerce a.button:hover,
.woocommerce button.button:hover, .wp-block-button__link:hover {
    background-color: #886f53 !important;
}
.wp-block-button__link.has-vivid-green-cyan-background-color {
    background-color: #25d366 !important;
}

/* Product Cards */
.woocommerce ul.products li.product {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.woocommerce ul.products li.product:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px !important;
    font-weight: 600;
    color: #403010;
}
.woocommerce ul.products li.product .price {
    color: #3f0100 !important;
    font-weight: 700;
    font-size: 16px !important;
}
.woocommerce ul.products li.product .price del {
    color: #999 !important;
    font-size: 13px !important;
}
.woocommerce ul.products li.product .price ins {
    color: #3f0100 !important;
    text-decoration: none;
}
.woocommerce ul.products li.product a img {
    border-radius: 6px;
}

/* Sale badge */
.woocommerce span.onsale {
    background-color: #c0392b !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: 4px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.5 !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #403010;
}

/* Content background */
.site-content { background-color: #f9f6f0; }

/* Footer */
.site-footer,
.site-footer .ast-footer-overlay,
.site-footer .site-primary-footer-wrap,
.site-footer .site-below-footer-wrap,
.site-footer .site-above-footer-wrap,
.ast-small-footer {
    background-color: #3f0100 !important;
}
.site-footer,
.site-footer a,
.site-footer p,
.site-footer h3,
.site-footer .widget-title,
.site-footer .widget,
.site-footer .custom-html-widget,
.site-footer .footer-widget-area,
.ast-small-footer,
.ast-small-footer a,
.ast-footer-copyright {
    color: #ffffff !important;
}
.site-footer a:hover { color: #decdaf !important; }

/* Single Product */
.woocommerce div.product .product_title {
    font-family: 'Montserrat', sans-serif;
    color: #403010;
    font-weight: 700;
    font-size: 28px !important;
    line-height: 1.3;
    margin-bottom: 15px !important;
}
.woocommerce div.product p.price {
    color: #3f0100 !important;
    font-size: 24px !important;
    font-weight: 700;
}
.woocommerce div.product .single_add_to_cart_button {
    font-size: 16px !important;
    padding: 15px 30px !important;
}
/* Hide stock availability */
.woocommerce div.product p.ast-stock-detail {
    display: none !important;
}
/* Hide redundant category above price */
.woocommerce div.product span.single-product-category {
    display: none !important;
}
/* Hide short description (repeats title) */
.woocommerce div.product .woocommerce-product-details__short-description {
    display: none !important;
}

/* Mobile */
@media (max-width: 768px) {
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 12px !important;
    }
    .woocommerce ul.products li.product .price {
        font-size: 14px !important;
    }
}


/* Fix logo size */
.site-logo-img .custom-logo,
.ast-header-custom-item .custom-logo,
.site-branding img.custom-logo,
.custom-logo-link img {
    max-height: 80px !important;
    max-width: 600px !important;
    width: auto !important;
    height: auto !important;
}
.ast-site-identity {
    max-width: 650px !important;
}
/* Hide duplicate text site title since logo already has the name */
.site-title {
    display: none !important;
}
/* Astra footer override */
.ast-small-footer .ast-footer-site-title {
    display: none;
}
.site-footer .ast-row {
    background-color: #3f0100 !important;
}


/* Hide page titles on front page and shop (but NOT product titles) */
.home .entry-title,
.page-id-68 .entry-title,
.page-template-default .entry-title {
    display: none !important;
}
/* Product title: visible and prominent */
.woocommerce div.product .product_title.entry-title {
    display: block !important;
}
/* Better header spacing */
.site-header {
    padding: 5px 0 !important;
}
.ast-site-identity {
    padding: 10px 0 !important;
}
/* Spacing below header on product and shop pages */
.single-product .site-content,
.woocommerce-page.post-type-archive-product .site-content {
    padding-top: 20px !important;
}
/* Better banner section */
.wp-block-cover {
    margin-bottom: 0 !important;
}
/* Improve product grid spacing */
.woocommerce ul.products {
    margin-top: 20px !important;
}
/* Price styling improvements */
.woocommerce ul.products li.product .price {
    margin-bottom: 10px !important;
}
/* Better "Adicionar ao carrinho" button in grid */
.woocommerce ul.products li.product .button {
    width: 100% !important;
    text-align: center !important;
    margin-top: 5px !important;
    padding: 10px 15px !important;
    font-size: 13px !important;
}
/* Footer bar - Astra specific */
.ast-small-footer {
    background-color: #3f0100 !important;
    color: #ffffff !important;
    padding: 15px 0 !important;
}
.ast-small-footer a {
    color: #decdaf !important;
}
.ast-footer-copyright {
    color: #ffffff !important;
}
/* Remove "Powered by Astra" */
.ast-small-footer .ast-footer-site-title a[href*="developer.wordpress.org"],
.ast-small-footer a[href*="developer.wordpress.org"],
.ast-small-footer a[href*="developer.wordpress.org/themes"],
.ast-small-footer .ast-footer-site-title {
    display: none !important;
}
/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}
/* Sale percentage badge */
.woocommerce span.onsale {
    padding: 4px 8px !important;
    font-size: 12px !important;
}
/* Cover block text improvements */
.wp-block-cover h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.wp-block-cover p {
    color: #ffffff !important;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* Hide title on Loja/shop page */
.woocommerce-page .entry-title,
.woocommerce-page .page-title,
.post-type-archive-product .page-title {
    display: none !important;
}

/* Footer widget area */
.ast-footer-overlay,
.site-footer .ast-container {
    background-color: #3f0100 !important;
}
.ast-small-footer .ast-container {
    display: flex !important;
    justify-content: center !important;
}
.ast-small-footer-section-1,
.ast-small-footer-section-2 {
    color: #ffffff !important;
}

/* Force grid on shop page */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}
.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}
@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


/* Remove ALL gap between header and banner */
.site-content,
.site-content > .ast-container,
.site-content > .ast-builder-grid-row-container,
#primary,
.home .site-main,
.home .site-main > article,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.ast-separate-container .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.entry-content > .alignfull:first-child,
.page .entry-content > .wp-block-cover:first-child,
.ast-separate-container .entry-content > .alignfull:first-child {
    margin-top: -3em !important;
}
.home .ast-primary-header-bar + .site-content,
.ast-primary-header-bar {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


/* Fix: Align service section buttons to bottom */
.wp-block-columns.alignwide .wp-block-column {
    display: flex;
    flex-direction: column;
}
.wp-block-columns.alignwide .wp-block-column .wp-block-buttons {
    margin-top: auto;
}

/* Fix: Remove gap between CTA section and footer */
.site-content > .ast-container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.entry-content > .alignfull:last-child {
    margin-bottom: -2em !important;
}

/* Product card buttons row */
.ca-buttons-row {
    display: flex !important;
    gap: 6px !important;
    margin-top: 10px !important;
}
.ca-buttons-row .button {
    flex: 1 !important;
    font-size: 11px !important;
    padding: 10px 4px !important;
    text-align: center !important;
    margin: 0 !important;
    width: auto !important;
    white-space: nowrap !important;
}
.woocommerce ul.products li.product .ca-buttons-row a.button.ca-ver-detalhes {
    background-color: #ffffff !important;
    color: #3f0100 !important;
    border: 2px solid #3f0100 !important;
}
.woocommerce ul.products li.product .ca-buttons-row a.button.ca-ver-detalhes:hover {
    background-color: #f5f5f5 !important;
}
.ca-buttons-row .add_to_cart_button {
    border: 2px solid #3f0100 !important;
}
.ca-buttons-row .ca-ver-detalhes:hover {
    background: #3f0100 !important;
    color: #fff !important;
}
@media (max-width: 768px) {
    .ca-buttons-row .button {
        font-size: 10px !important;
        padding: 8px 3px !important;
    }
}

/* Hide loja/shop page title - Astra specific */
.ast-woocommerce-container .woocommerce-products-header__title,
.woocommerce-page .ast-woocommerce-container .page-title,
.woocommerce-page .woocommerce-products-header,
body.post-type-archive-product .page-title,
body.post-type-archive-product .woocommerce-products-header__title {
    display: none !important;
}

/* Single product: description full width below gallery+summary */
.ca-full-description {
    clear: both;
    border-top: 1px solid #eee;
    padding-top: 30px !important;
}
.ca-full-description h3,
.ca-full-description h4 {
    margin-top: 20px;
}
.ca-full-description iframe {
    max-width: 100%;
    margin: 20px 0;
}
/* Hide tabs entirely (description moved above, reviews empty) */
.woocommerce-tabs {
    display: none !important;
}
/* Product gallery */
/* Thumbnails: compact horizontal row */
.woocommerce div.product div.images .flex-control-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 6px !important;
    padding: 8px 0 !important;
    -webkit-overflow-scrolling: touch;
}
.woocommerce div.product div.images .flex-control-thumbs li {
    flex: 0 0 75px !important;
    width: 75px !important;
    height: 75px !important;
    margin: 0 !important;
    overflow: hidden;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
    border-color: #3f0100;
}
/* Hide zoom trigger icon (top-right magnifying glass) */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    display: none !important;
}
/* Disable hover zoom, make main image clickable for lightbox */
.woocommerce div.product div.images .woocommerce-product-gallery__image {
    cursor: pointer !important;
}
.woocommerce div.product div.images .zoomImg {
    display: none !important;
}
/* Hide breadcrumb on product pages */
.single-product .woocommerce-breadcrumb {
    display: none !important;
}
/* Thumbnail strip with arrows */
.ca-thumbstrip {
    position: relative;
    padding: 0 36px;
}
.ca-ts-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 100%;
    background: #ebe4d9;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: #403010;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
    z-index: 5;
}
.ca-ts-btn:hover,
.ca-ts-btn:focus,
.ca-ts-btn:active,
.ca-ts-btn:visited {
    color: #3f0100;
    background: #e0d6c8 !important;
    outline: none;
}
.ca-ts-btn.ca-ts-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}
.ca-ts-left {
    left: 0;
}
.ca-ts-right {
    right: 0;
}


/* WooCommerce pagination - match brand identity */
.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    color: #3f0100 !important;
    border: 1px solid #3f0100 !important;
    border-radius: 4px !important;
    padding: 8px 14px !important;
    margin: 0 3px !important;
    background: transparent !important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus {
    background: #3f0100 !important;
    color: #fff !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #3f0100 !important;
    color: #fff !important;
    border-color: #3f0100 !important;
}
