/*
 * CIG Cosméticos - Estilos Customizados
 * Design: Rosa/Rosé + Dourado
 * Version: 1.2.0
 */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --cig-rosa: #D4A5A5;
    --cig-rosa-escuro: #C48B8B;
    --cig-rosa-claro: #F5E6E6;
    --cig-dourado: #C9A961;
    --cig-dourado-escuro: #B8944D;
    --cig-preto: #2D2D2D;
    --cig-cinza: #666666;
    --cig-branco: #FFFFFF;
}

/* Base Typography */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: #2D2D2D;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: #2D2D2D;
    font-weight: 600;
}

/* Links */
a {
    color: #C48B8B;
    transition: all 0.3s ease;
}

a:hover {
    color: #C9A961;
    text-decoration: none;
}

/* Buttons */
.ast-button,
button,
input[type='submit'],
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
a.button,
.button {
    background: linear-gradient(135deg, #C48B8B 0%, #D4A5A5 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 40px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 12px !important;
    color: #FFFFFF !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 8px 25px rgba(196, 139, 139, 0.4) !important;
}

.ast-button:hover,
button:hover,
input[type='submit']:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
a.button:hover,
.button:hover {
    background: linear-gradient(135deg, #C9A961 0%, #B8944D 100%) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 35px rgba(201, 169, 97, 0.5) !important;
}

/* Hide page title on Home */
.home .entry-title,
.home .page-title,
.page-id-11 .entry-title,
body.home .entry-header,
body.page-id-11 .entry-header {
    display: none !important;
}

/* ========================================
   WooCommerce Products - Estilo Profissional
   ======================================== */

/* Grid de produtos */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    padding: 20px 0 !important;
}

@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* Card do produto */
.woocommerce ul.products li.product {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-align: center;
    overflow: hidden;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 165, 165, 0.25);
}

/* Imagem do produto */
.woocommerce ul.products li.product a img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    border-radius: 16px 16px 0 0 !important;
    margin: 0 !important;
    transition: transform 0.4s ease;
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.05);
}

/* Categoria do produto */
.woocommerce ul.products li.product .ast-woo-product-category,
.woocommerce ul.products li.product .product-category {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #C48B8B !important;
    margin: 15px 0 5px 0 !important;
    font-weight: 500 !important;
}

/* Título do produto */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #2D2D2D !important;
    padding: 0 15px !important;
    margin: 8px 0 !important;
    line-height: 1.4 !important;
    min-height: 42px;
}

/* Preço */
.woocommerce ul.products li.product .price {
    color: #C48B8B !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    padding: 0 15px 15px 15px !important;
    font-family: 'Poppins', sans-serif !important;
}

.woocommerce ul.products li.product .price del {
    color: #999 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    color: #C48B8B !important;
}

/* Rating/Estrelas */
.woocommerce ul.products li.product .star-rating {
    margin: 10px auto !important;
    color: #C9A961 !important;
}

/* Botão Adicionar */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button {
    background: linear-gradient(135deg, #C48B8B 0%, #D4A5A5 100%) !important;
    border-radius: 25px !important;
    padding: 12px 25px !important;
    font-size: 11px !important;
    margin: 0 15px 20px 15px !important;
    width: calc(100% - 30px) !important;
    box-shadow: 0 4px 15px rgba(196, 139, 139, 0.3) !important;
}

.woocommerce ul.products li.product .button:hover {
    background: linear-gradient(135deg, #C9A961 0%, #B8944D 100%) !important;
    transform: translateY(-2px) !important;
}

/* Esconder botões de carrinho (modo catálogo) */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .ast-shop-product-buttons,
.woocommerce ul.products li.product .astra-shop-summary-wrap a.button,
.woocommerce ul.products li.product a.product_type_simple,
.woocommerce ul.products li.product a.ajax_add_to_cart,
.single-product .cart,
.woocommerce-cart,
.woocommerce a.added_to_cart,
.ast-shop-product-buttons,
.astra-shop-summary-wrap .button {
    display: none !important;
}

/* Badge de Sale */
.woocommerce span.onsale {
    background: #C9A961 !important;
    color: #fff !important;
    border-radius: 50% !important;
    padding: 0 !important;
    width: 50px !important;
    height: 50px !important;
    line-height: 50px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
}

/* Página de produto único */
.woocommerce div.product div.images img {
    border-radius: 16px;
}

.woocommerce div.product p.price {
    color: #C48B8B !important;
    font-size: 28px !important;
    font-weight: 700 !important;
}

.woocommerce div.product .product_title {
    font-family: 'Playfair Display', serif !important;
    font-size: 32px !important;
    color: #2D2D2D !important;
}

/* Footer */
.site-footer,
footer,
#colophon {
    background: linear-gradient(135deg, #2D2D2D 0%, #1a1a1a 100%) !important;
}

.site-footer,
.site-footer p,
footer p {
    color: rgba(255,255,255,0.85) !important;
    font-family: 'Poppins', sans-serif !important;
}

.site-footer a,
footer a {
    color: #D4A5A5 !important;
}

.site-footer a:hover,
footer a:hover {
    color: #C9A961 !important;
}

/* Esconder footer do Astra */
.ast-footer-copyright,
.ast-small-footer,
.site-below-footer-wrap,
.ast-builder-footer-grid-columns,
footer.site-footer,
#colophon {
    display: none !important;
}

/* ========================================
   FOOTER NOVO - Design 3 Colunas Equilibrado
   ======================================== */

.cig-footer-new {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fdf5f5 0%, #f8e8e8 100%);
    border-top: 3px solid #D4A5A5;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

/* Coluna 1 - Brand */
.footer-brand {
    text-align: center;
}

.brand-logo {
    margin-bottom: 15px;
}

.brand-logo .logo-cig {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #C48B8B;
    display: block;
    line-height: 1;
}

.brand-logo .logo-cosmeticos {
    font-size: 12px;
    letter-spacing: 5px;
    color: #999;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
}

.brand-slogan {
    font-style: italic;
    color: #888;
    font-size: 14px;
    margin: 15px 0 20px 0;
}

.brand-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.brand-social a {
    width: 42px;
    height: 42px;
    background: #D4A5A5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    transition: all 0.3s ease;
}

.brand-social a:hover {
    background: #C9A961;
    transform: translateY(-3px);
}

/* Coluna 2 - Links Navegação */
.footer-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-links-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #C48B8B;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    color: #666 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.footer-links-list a:hover {
    color: #C48B8B !important;
    padding-left: 5px;
}

/* Coluna 3 - Contato */
.footer-contact {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #C48B8B;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-contact p {
    color: #666;
    font-size: 14px;
    margin: 0 0 10px 0;
    line-height: 1.7;
}

.footer-contact .contact-highlight {
    color: #C48B8B;
    font-weight: 500;
}

/* Bottom Bar */
.footer-bottom-new {
    background: linear-gradient(135deg, #C48B8B 0%, #D4A5A5 100%);
    padding: 20px 30px;
    text-align: center;
}

.footer-bottom-new p {
    color: #fff;
    font-size: 13px;
    margin: 0;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 30px;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .brand-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-top {
        padding: 40px 20px;
    }

    .brand-logo .logo-cig {
        font-size: 36px;
    }
}

/* Forçar emojis a renderizar */
.value-icon,
.contact-icon {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", sans-serif !important;
    font-size: 36px !important;
}

/* Ícones de contato */
.contact-icon {
    font-size: 28px !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F5E6E6;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#D4A5A5, #C48B8B);
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
}
