/*
Theme Name: Flatsome Child - MBVet Huế
Theme URI: https://mbvethue.com
Template: flatsome
Author: MBVet Huế
Version: 1.0.0
Description: Child theme cho Bệnh Viện Thú Y MBVet Huế
Text Domain: flatsome-child
*/

/* ========================================
   BRAND COLORS & GLOBAL
   ======================================== */
:root {
    --mbvet-primary: #00a651;
    --mbvet-secondary: #0073aa;
    --mbvet-dark: #1a1a2e;
    --mbvet-yellow: #fff200;
    --mbvet-light-green: #f0faf5;
}

body {
    font-family: 'Open Sans', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif !important;
}

/* ========================================
   TOPBAR
   ======================================== */
.header-top {
    background-color: var(--mbvet-primary) !important;
}

/* ========================================
   BUTTONS
   ======================================== */
.button.primary,
button.primary,
.checkout-button,
input[type="submit"].primary {
    background-color: var(--mbvet-primary) !important;
    border-color: var(--mbvet-primary) !important;
}

.button.primary:hover {
    background-color: #008c43 !important;
    border-color: #008c43 !important;
}

/* ========================================
   FLOATING CTA
   ======================================== */
.ptbl-float-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.ptbl-float-cta a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ptbl-float-cta a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.ptbl-float-cta .cta-phone {
    background: var(--mbvet-primary);
    animation: phone-ring 2s ease-in-out infinite;
}

.ptbl-float-cta .cta-fb {
    background: #1877F2;
}

.ptbl-float-cta .cta-zalo {
    background: #0068ff;
    font-size: 11px;
    font-weight: 700;
}

@keyframes phone-ring {
    0%, 100% { transform: scale(1); }
    10% { transform: scale(1.1) rotate(-5deg); }
    20% { transform: scale(1.1) rotate(5deg); }
    30% { transform: scale(1); }
}

/* ========================================
   LINKS & ACCENTS
   ======================================== */
a {
    color: var(--mbvet-primary);
}

a:hover {
    color: #008c43;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .ptbl-float-cta a {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
    
    .ptbl-float-cta .cta-zalo {
        font-size: 10px;
    }
}
