/* Theme Custom Styles
   Tailwind CSS is loaded via CDN */

:root {
    --color-primary-50: #f0fdf4;
    --color-primary-100: #dcfce7;
    --color-primary-200: #bbf7d0;
    --color-primary-500: #22c55e;
    --color-primary-600: #16a34a;
    --color-primary-700: #15803d;
    --color-primary-800: #166534;
    --color-accent-50: #fff7ed;
    --color-accent-100: #ffedd5;
    --color-accent-500: #f97316;
    --color-accent-600: #ea580c;
    --color-accent-700: #c2410c;
}

html {
    scroll-behavior: smooth;
}

/* Thumbnail active state */
.thumbnail-btn {
    cursor: pointer;
}

/* Weight button transitions */
.weight-btn {
    cursor: pointer;
}

/* Animated hover effects */
.feature-card {
    transition: all 0.3s ease;
}

/* Order form styling */
#hva-order-form input:focus,
#hva-order-form textarea:focus {
    border-color: var(--color-primary-500);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

/* Cart icon badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-accent-600);
    color: white;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* WooCommerce compatibility styles */
.woocommerce .products .product {
    background: white;
    border-radius: 16px;
    border: 1px solid #f3f4f6;
    padding: 16px;
    transition: all 0.3s ease;
}

.woocommerce .products .product:hover {
    border-color: var(--color-primary-200);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.woocommerce .price {
    color: var(--color-accent-600) !important;
    font-weight: 800 !important;
}

.woocommerce .button {
    background: var(--color-accent-600) !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
}

/* Elementor compatibility */
.elementor-widget-container ul {
    list-style: none;
    padding-left: 0;
}

.elementor-widget-container ul li {
    margin-bottom: 8px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .text-3\.5xl {
        font-size: 1.75rem;
    }
}

/* Sticky announcement bar */
.top-announcement {
    position: relative;
    z-index: 60;
}

/* Smooth scroll offset for sticky nav */
#order-form {
    scroll-margin-top: 100px;
}

/* Confirmation modal */
#hva-confirmation-modal {
    transition: opacity 0.2s ease;
}

#hva-confirmation-modal.hidden {
    display: none !important;
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-modal-in {
    animation: modal-in 0.3s ease-out;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Guide tagline animations */
@keyframes tagline-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes tagline-shimmer {
    0% { transform: translateX(-100%) skewX(-12deg); }
    100% { transform: translateX(200%) skewX(-12deg); }
}

@keyframes tagline-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.15); }
    50% { box-shadow: 0 0 40px rgba(249, 115, 22, 0.3); }
}

.animate-tagline-float {
    animation: tagline-float 3s ease-in-out infinite;
}

.animate-tagline-shimmer {
    animation: tagline-shimmer 2s ease-in-out infinite;
}

.animate-tagline-glow {
    animation: tagline-glow 2s ease-in-out infinite;
}

/* Tagline entrance animation */
@keyframes tagline-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-tagline-in {
    animation: tagline-slide-up 0.8s ease-out forwards;
}
