/* Hija de la Tierra - Custom Styles */

html, body { margin: 0; padding: 0; }
body { background-color: #F5F1E8; color: #3A3A3A; font-family: 'Inter', sans-serif; }
.font-serif { font-family: 'Playfair Display', serif; }
html { scroll-behavior: smooth; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.tab-active { color: #5A6B4C; border-bottom: 2px solid #5A6B4C; }
.tab-inactive { color: rgba(139,107,74,0.6); border-bottom: 2px solid transparent; }

/* Mystic Hero Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-15px) translateX(10px); }
    66% { transform: translateY(10px) translateX(-5px); }
}
@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}
@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}
@keyframes drift {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(30px) translateY(-20px); }
}

.hero-float { animation: float 6s ease-in-out infinite; }
.blob-float { animation: float-slow 12s ease-in-out infinite; }
.glow-pulse { animation: pulse-glow 4s ease-in-out infinite; }
.star { animation: twinkle 3s ease-in-out infinite; }
.drift-slow { animation: drift 20s linear infinite alternate; }

.mystic-gradient {
    background: linear-gradient(135deg, #1F1B18 0%, #2C241B 25%, #3A3A3A 50%, #2C241B 75%, #1F1B18 100%);
}

/* Hamburger animation */
#menu-btn.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
#menu-btn.open span:nth-child(2) {
    opacity: 0;
}
#menu-btn.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
.text-glow {
    text-shadow: 0 0 40px rgba(198, 123, 92, 0.3), 0 0 80px rgba(198, 123, 92, 0.1);
}

/* WooCommerce overrides */
.woocommerce .products {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
@media (min-width: 640px) {
    .woocommerce .products {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .woocommerce .products {
        grid-template-columns: repeat(3, 1fr);
    }
}
.woocommerce .products::before,
.woocommerce .products::after {
    display: none !important;
}
.woocommerce .product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}
.woocommerce-loop-product__link {
    text-decoration: none;
}
.woocommerce .button.add_to_cart_button {
    background-color: #5A6B4C;
    color: #fff;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s;
}
.woocommerce .button.add_to_cart_button:hover {
    background-color: #4A5D23;
}
.woocommerce .woocommerce-breadcrumb {
    color: #8B6B4A;
    font-size: 0.875rem;
}
.woocommerce .woocommerce-breadcrumb a {
    color: #5A6B4C;
}
