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

@import url("../astra/style.css");

/* Solo en home — WordPress añade .home al body en la portada */
.home #masthead {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
    transition: transform 0.3s ease !important;
    transform: translateY(-100%) !important;
}

.home #masthead.header-visible {
    transform: translateY(0) !important;
}

#inicio {
    scroll-margin-top: 80px;
}

@media (max-width: 768px) {
    #wp-block-themeisle-blocks-advanced-columns-e1ca32e1 {
        background-attachment: scroll !important;
    }
}

@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 0px !important;
        margin-bottom: 60px;
    }
}

a {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

a:hover {
  color: inherit;
}

#cmplz-cookiebanner-container {
    display: none;
}

/* Espacio bajo el header fijo en páginas que no son home */
body:not(.home) .site-content {
    margin-top: 80px; /* ajusta según la altura real de tu header */
}

.woocommerce div.product .product_title {
    font-size: 1.2rem;
}

.woocommerce div.product .woocommerce-product-details__short-description p {
    font-size: 0.9rem;
}

.woocommerce-Tabs-panel--description p {
    font-size: 0.9rem;
}