/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: A child theme for Hello Elementor, optimized for building high-fidelity custom WooCommerce designs with Elementor.
Author: Antigravity
Author URI: https://deepmind.google/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Custom Design System Tokens */
:root {
    /* Color Palette */
    --color-primary: #1A1A1D;
    --color-primary-rgb: 26, 26, 29;
    --color-secondary: #C3073F;
    --color-secondary-rgb: 195, 7, 63;
    --color-accent: #950740;
    --color-dark: #1A1A1D;
    --color-light: #F5F5F7;
    --color-white: #FFFFFF;
    --color-gray-100: #F5F5F7;
    --color-gray-200: #E5E5EA;
    --color-gray-300: #D1D1D6;
    --color-gray-400: #AEAEB2;
    --color-gray-500: #8E8E93;
    --color-gray-600: #636366;
    --color-gray-700: #48484A;
    --color-gray-800: #2C2C2E;
    --color-gray-900: #1C1C1E;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

/* Micro-animations & Global Overrides */
.elementor-button {
    transition: var(--transition-smooth) !important;
}

.elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(var(--color-secondary-rgb), 0.2);
}

/* Custom styles for WooCommerce components and Hero Banner */

.meelil-hero-container {
    position: relative;
    overflow: hidden;
    background: #FCFAFF; /* Very soft pastel purple background matching design */
    padding: 8rem 2rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.meelil-hero-row {
    display: flex;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    position: relative;
}

.meelil-hero-content-col {
    flex: 1.1;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.meelil-hero-image-col {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.meelil-hero-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.8vw, 3.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: #7A5EAC; /* Soft purple color */
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

.meelil-hero-features {
    display: flex;
    gap: 3.5rem;
    justify-content: center;
    margin-bottom: 3.5rem;
    align-items: flex-start;
    width: 100%;
}

.meelil-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    width: 110px;
    cursor: pointer;
}

.meelil-feature-icon {
    width: 48px;
    height: 48px;
    transition: var(--transition-smooth);
}

.meelil-feature-item:hover .meelil-feature-icon {
    transform: scale(1.15) translateY(-3px);
}

.meelil-feature-item span {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: #7A5EAC;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.meelil-hero-btn-wrapper {
    margin-top: 1rem;
}

.meelil-hero-btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #7A5EAC;
    background: #FFFFFF;
    border: 2px solid #EAE6F5;
    padding: 1.1rem 4rem;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 25px rgba(122, 94, 172, 0.08);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.meelil-hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(122, 94, 172, 0.18);
    border-color: #7A5EAC;
    background: #7A5EAC;
    color: #FFFFFF;
}

.meelil-hero-image-container {
    position: relative;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.meelil-hero-main-img {
    max-width: 520px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(122, 94, 172, 0.06));
    z-index: 5;
    position: relative;
    animation: float-image 6s ease-in-out infinite alternate;
}

/* Decorative background elements */
.meelil-deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

.meelil-hearts-left {
    top: 0;
    left: 4%;
    width: 110px;
    height: auto;
    transform-origin: top center;
    animation: swing 8s ease-in-out infinite alternate;
}

.meelil-hearts-right {
    top: 0;
    right: 4%;
    width: 110px;
    height: auto;
    transform-origin: top center;
    animation: swing 7s ease-in-out infinite alternate-reverse;
}

.meelil-rainbow {
    bottom: -15px;
    left: -15px;
    width: 300px;
    height: auto;
    transform-origin: bottom left;
    animation: float-deco 9s ease-in-out infinite alternate;
}

.meelil-sun {
    bottom: 8%;
    right: 8%;
    width: 140px;
    height: auto;
    animation: rotate-sun 25s linear infinite;
}

/* Animations */
@keyframes swing {
    0% { transform: rotate(-4deg); }
    100% { transform: rotate(4deg); }
}

@keyframes float-image {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

@keyframes float-deco {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-8px) scale(1.03); }
}

@keyframes rotate-sun {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsiveness */
@media (max-width: 991px) {
    .meelil-hero-container {
        padding: 6rem 1.5rem;
    }
    
    .meelil-hero-row {
        flex-direction: column-reverse;
        gap: 4rem;
    }
    
    .meelil-hero-content-col {
        padding-right: 0;
        max-width: 650px;
    }
    
    .meelil-hero-image-col {
        width: 100%;
        max-width: 400px;
    }
    
    .meelil-hearts-left {
        width: 80px;
        left: 2%;
    }
    
    .meelil-hearts-right {
        width: 80px;
        right: 2%;
    }
    
    .meelil-rainbow {
        width: 200px;
        bottom: -10px;
        left: -10px;
    }
    
    .meelil-sun {
        width: 100px;
        right: 4%;
        bottom: 5%;
    }
}

@media (max-width: 767px) {
    .meelil-hero-container {
        padding: 5rem 1rem 4rem 1rem;
    }

    .meelil-hero-heading {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .meelil-hero-features {
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .meelil-feature-item {
        width: 90px;
        gap: 0.5rem;
    }

    .meelil-feature-icon {
        width: 40px;
        height: 40px;
    }

    .meelil-feature-item span {
        font-size: 0.68rem;
    }

    .meelil-hero-btn {
        font-size: 1rem;
        padding: 1rem 3rem;
    }

    .meelil-hearts-left, .meelil-hearts-right {
        width: 60px;
    }
}

/* Meelil Responsive Banner Widget Styles */
.meelil-banner-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.meelil-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    outline: none;
}

.meelil-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
}

/* Hover Animations */
.meelil-banner-wrapper.hover-effect-zoom:hover .meelil-banner-img {
    transform: scale(1.025);
}

.meelil-banner-wrapper.hover-effect-opacity:hover .meelil-banner-img {
    filter: brightness(1.06) contrast(1.02);
}

/* Custom Add to Cart Row */
.meelil-buttons-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.meelil-buttons-wrapper .single_add_to_cart_button,
.meelil-buttons-wrapper .meelil_buy_now_button {
    flex: 1;
    margin: 0 !important;
    width: 100%;
}
