/**
* Theme Name:        avanam-megashop
* Theme URI:         https://templatemela.com/
* Template:          avanam
* Author:            TemplateMela
* Author URI:        #
* Description:       This is a child theme of Avanam, generated by TemplateMela.
* Version:           1.0.0
* License:           GNU General Public License v3.0 (or later)
* License URI:       https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain:       avanam-megashop
* Requires at least: 6.2
* Tested up to:      6.6
* Requires PHP:      7.4
* Tags: translation-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce

*/

.categorias-menu {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
}


#site-navigation .menu > li > a[href*="categoria-produto"] {
  color: #00a36c;
  font-weight: 600;
}
#site-navigation .menu > li > a[href*="categoria-produto"]:hover {
  color: #007d50;
}

#site-navigation {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
}

#banner-slider {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 12px;
}
#banner-slider img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: none;
}
#banner-slider img.active {
  display: block;
  animation: fade 1s ease-in-out;
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Esconder autor + datas só na página de checkout real */
.page-id-4779 .entry-meta,
.page-id-4779 .entry-meta * {
    display: none !important;
}

/* Esconder autor + datas só na página de Finalizar compras (ID 12) */
body.page-id-12 .entry-hero .entry-meta,
body.page-id-12 .entry-hero .entry-meta * {
    display: none !important;
}

/* Remover meta (autor + datas) globalmente em posts e páginas */
.entry-meta,
.entry-meta * {
    display: none !important;
}
