/*
Theme Name: MyHome Child
Theme URI: https://tangiblewp.com/myhome
Author: TangibleWP
Author URI: https://tangiblewp.com
Description: MyHome
Template: myhome
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: translation-ready
Text Domain: myhome
*/
:root {
    --tf-green: #82b440;
    --tf-green-light: #95c455;
    --tf-green-dark: #6a9a2e;
}

/* =============================================
   FLOATING CONTAINER
   ============================================= */
.myhome-floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

/* =============================================
   BUY BUTTON
   ============================================= */
.myhome-buy-btn {
    position: relative;
    background: linear-gradient(135deg, var(--tf-green-light) 0%, var(--tf-green) 50%, var(--tf-green-dark) 100%);
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    overflow: hidden;
    box-shadow:
        0 4px 18px rgba(130, 180, 64, 0.45),
        0 8px 35px rgba(130, 180, 64, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: buy-pulse 2.5s ease-in-out infinite;
}

@keyframes buy-pulse {
    0%, 100% {
        box-shadow:
            0 4px 18px rgba(130, 180, 64, 0.45),
            0 8px 35px rgba(130, 180, 64, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow:
            0 6px 25px rgba(130, 180, 64, 0.55),
            0 12px 45px rgba(130, 180, 64, 0.3),
            0 0 40px rgba(130, 180, 64, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.myhome-buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.myhome-buy-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 30px rgba(130, 180, 64, 0.55),
        0 15px 50px rgba(130, 180, 64, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.myhome-buy-btn:active {
    transform: translateY(-1px) scale(1.01);
}

.myhome-buy-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.buy-text {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

/* =============================================
   DEMO BUTTON
   ============================================= */
.myhome-demo-btn-wrapper {
    position: relative;
    padding-top: 8px;
    padding-right: 8px;
}

.myhome-demo-btn {
    position: relative;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    border: none;
    box-shadow:
        0 3px 15px rgba(139, 92, 246, 0.4),
        0 6px 30px rgba(139, 92, 246, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.myhome-demo-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 6px 22px rgba(139, 92, 246, 0.5),
        0 10px 40px rgba(139, 92, 246, 0.25),
        0 0 35px rgba(139, 92, 246, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.myhome-demo-btn:active {
    transform: translateY(-1px) scale(1.01);
}

/* Play icon with pulse rings */
.demo-play-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.demo-play-ring {
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ring-pulse 1.5s ease-out infinite;
}

.demo-play-ring:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes ring-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

.demo-play-icon {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-play-icon::after {
    content: '';
    border-style: solid;
    border-width: 4px 0 4px 7px;
    border-color: transparent transparent transparent #fff;
    margin-left: 2px;
}

.demo-text {
    white-space: nowrap;
}

/* Live Badge */
.demo-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    font-size: 8px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.5);
    animation: badge-bounce 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes badge-bounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-2deg); }
    75% { transform: scale(1.05) rotate(2deg); }
}

/* =============================================
   ENTRANCE ANIMATIONS
   ============================================= */
.myhome-floating-cta > * {
    animation: slide-in 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.myhome-floating-cta > *:nth-child(1) {
    animation-delay: 0.1s;
}

.myhome-floating-cta > *:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slide-in {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* =============================================
   MOBILE RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .myhome-floating-cta {
        bottom: 16px;
        right: 12px;
        left: 12px;
        flex-direction: row;
        justify-content: flex-end;
        gap: 8px;
    }

    .myhome-buy-btn {
        padding: 10px 16px;
        font-size: 11px;
        gap: 8px;
    }

    .myhome-buy-btn svg {
        width: 16px;
        height: 16px;
    }

    .myhome-demo-btn-wrapper {
        padding-top: 6px;
        padding-right: 6px;
    }

    .myhome-demo-btn {
        padding: 10px 14px;
        font-size: 11px;
        gap: 7px;
    }

    .demo-play-wrapper {
        width: 20px;
        height: 20px;
    }

    .demo-play-icon::after {
        border-width: 3px 0 3px 6px;
    }

    .demo-badge {
        font-size: 7px;
        padding: 2px 5px;
    }
}

@media (max-width: 400px) {
    .myhome-floating-cta {
        gap: 6px;
    }

    .myhome-buy-btn {
        padding: 9px 14px;
        font-size: 10px;
    }

    .myhome-demo-btn {
        padding: 9px 12px;
        font-size: 10px;
    }
}

.tag-link-161 {
    order: 1;
}

.tag-link-162 {
    order: 2;
}

.tag-link-163 {
    order: 3;
}

.tag-link-164 {
    order: 4;
}

.tag-link-165 {
    order: 5;
}

.tag-link-166 {
    order: 6;
}

.tag-link-167 {
    order: 7;
}

.tag-link-168 {
    order: 8;
}

.myhome-home-menu-link {
    display: none !important;
}

.myhome-child-cta-button {
    height: 60px;
    width: 230px;
    filter: drop-shadow(0px 6px 25px rgba(42, 57, 70, 0.15));
    padding: 2px;
    display: flex;
    align-content: center;
    justify-content: center;
    position: fixed;
    right: 30px;
    bottom: 105px;
    background: #FDFDFE;
    z-index: 99;
    transition: opacity 0.3s ease-in-out;
    border-radius: 5px;
}

@media (max-width: 1024px) {
    .myhome-child-cta-button {
        display: none;
    }
}

.myhome-child-cta-button__inner {
    width: 100%;
    font-family: var(--e-global-typography-ltext1-font-family);
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    line-height: 24px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #FDFDFE;
    background: #2A3946;
    border-radius: 5px;
    height: 56px;
    justify-content: center;
}

.myhome-child-cta-button.myhome-child-cta-button--buy {
    bottom: 30px;
}

.myhome-child-cta-button.myhome-child-cta-button--buy .myhome-child-cta-button__inner {
    background: #8BC34A;
}

@media (max-width: 1870px) {
    .compare-active .myhome-child-cta-button {
        opacity: 0;
        z-index: 5;
    }
}

/*.mc4wp-alert.mc4wp-error:after {*/
/*    content: 'Subscription module is disabled';*/
/*    font-size: var(--e-global-typography-ltext2-font-size);*/
/*    line-height: var(--e-global-typography-ltext2-line-height);*/
/*}*/

/*.mc4wp-alert.mc4wp-error {*/
/*    font-size: 0;*/
/*}*/

/*.mc4wp-response {*/
/*    position: absolute;*/
/*    padding: 0 10px;*/
/*    margin-left: 15px;*/
/*    margin-top: -12px;*/
/*    border-radius: var(--e-global-lborder-radius);*/
/*    background: var(--e-global-color-lcolor1);*/
/*    box-shadow: var(--e-global-shadow);*/
/*    color: var(--e-global-color-lcolor5);*/
/*    font-family: var(--e-global-typography-ltext2-font-family);*/
/*    font-size: var(--e-global-typography-ltext2-font-size);*/
/*    font-weight: var(--e-global-typography-ltext2-font-weight);*/
/*    line-height: 0px;*/
/*    letter-spacing: var(--e-global-typography-ltext2-letter-spacing);*/
/*    text-transform: var(--e-global-typography-ltext2-text-transform);*/
/*    font-style: var(--e-global-typography-ltext2-font-style);*/
/*    -webkit-text-decoration: var(--e-global-typography-ltext2-text-decoration);*/
/*    text-decoration: var(--e-global-typography-ltext2-text-decoration);*/
/*}*/

/*.mc4wp-response .mc4wp-error:before {*/
/*    content: "";*/
/*    background: var(--e-global-color-lcolor1);*/
/*    transform: rotate(-45deg);*/
/*    width: 7px;*/
/*    height: 7px;*/
/*    background-color: var(--e-global-color-lcolor1);*/
/*    left: 50%;*/
/*    margin-left: -3.5px;*/
/*    top: -3.5px;*/
/*    position: absolute;*/
/*}*/
