/*!
Theme Name:         Bookworm Child
Theme URI:          https://demo4.madrasthemes.com/bookworm/
Author:             MadrasThemes
Author URI:         https://madrasthemes.com/
Description:        Clean and Modern Bookstore WooCommerce Theme
Requires at least:  5.0
Template:           bookworm
Tested up to:       5.5
Requires PHP:       5.6
Version:            1.3.7
License:            GNU General Public License v3 or later
License URI:        https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:        bookworm
Tags:               e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, editor-style
*/

/* Fix TikTok y WhatsApp icons en footer */
@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-brands-400.woff2") format("woff2");
}
a[href*="tiktok.com"] i.fa-twitter { font-family: "Font Awesome 6 Brands" !important; }
a[href*="tiktok.com"] i.fa-twitter::before { content: "\e07b" !important; font-family: "Font Awesome 6 Brands" !important; }
a[href*="wa.me"] .fa-pinterest::before { content: "\f232" !important; }

/* ===== Botón flotante WhatsApp ===== */
.gl-whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.gl-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    background-color: #20b858;
}
.gl-whatsapp-float .fab {
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
}


/* == Social Posts Links (product page) == */
.gl-social-posts {
    margin: 15px 0;
    padding: 12px 15px;
    background: #f8f8f8;
    border-radius: 6px;
    border: 1px solid #ebebeb;
}
.gl-social-posts-title {
    font-size: 13px;
    color: #666;
    margin: 0 0 8px 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gl-social-posts-icons {
    display: flex;
    gap: 10px;
}
.gl-social-posts-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    color: #444;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.gl-social-posts-icons a[title="Instagram"]:hover { background:#E1306C; color:#fff; border-color:#E1306C; }
.gl-social-posts-icons a[title="Facebook"]:hover  { background:#1877F2; color:#fff; border-color:#1877F2; }
.gl-social-posts-icons a[title="YouTube"]:hover   { background:#FF0000; color:#fff; border-color:#FF0000; }

/* Conteo de productos en menú de categorías */
.menu-cat-count {
    font-size: 0.78em;
    color: #888;
    font-weight: normal;
    margin-left: 2px;
}


/* === Sección 18: Video inline en producto === */
.gl-video-wrap {
    margin: 30px 0 20px;
    max-width: 100%;
    clear: both;
}
.gl-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 6px;
}
.gl-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

/* === Sección 19: CTA Guatemala === */
.gl-cta-guatemala {
    background: #f1f8e9;
    border-left: 4px solid #558b2f;
    padding: 10px 15px;
    margin: 12px 0 16px;
    font-size: 14px;
    color: #33691e;
    border-radius: 0 4px 4px 0;
    font-weight: 500;
}

/* Ocultar widget short-description duplicado (ID 3b5f5e3) - widget removido del template pero persiste en cache */
.elementor-element-3b5f5e3 {
    display: none !important;
}

/* Ocultar dropdown de categorias del header search */
.input-group-prepend { display: none !important; }
