/*
Theme Name: Flatsome Child
Description: Custom Child Theme for Thế Giới Cửa Đẹp
Author: UX Themes & Natafu
Template: flatsome
Version: 1.0.0
*/

/* ==========================================================================
   GLOBAL CONTAINER & LAYOUT (1280px)
   ========================================================================== */
.container,
.row,
.header-inner,
.footer-inner,
#content.page-wrapper {
    max-width: 1280px !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #334155;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   TOPBAR & HEADER STYLING
   ========================================================================== */
#top-bar {
    background-color: #0f172a !important;
    color: #94a3b8 !important;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
#top-bar a {
    color: #cbd5e1 !important;
    transition: color 0.2s ease;
}
#top-bar a:hover {
    color: #d2a44b !important;
}

#masthead {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header-nav-main > li > a {
    font-weight: 700 !important;
    font-size: 14.5px !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    padding: 12px 16px !important;
    transition: all 0.2s ease;
}

.header-nav-main > li > a:hover,
.header-nav-main > li.active > a {
    color: #1f4e79 !important;
}

/* ==========================================================================
   CARDS & HOVER EFFECTS (LUXURY ARCHITECTURAL)
   ========================================================================== */
.card-door,
.product-small {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.card-door:hover,
.product-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.product-small .box-image {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    background: #f8fafc;
}

.product-small .box-image img {
    transition: transform 0.5s ease;
}

.product-small:hover .box-image img {
    transform: scale(1.06);
}

.product-small .name {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    line-height: 1.4;
    margin: 10px 0 6px;
}

.product-small .price {
    color: #d2a44b !important;
    font-weight: 700;
    font-size: 15px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.button.primary {
    background-color: #1f4e79 !important;
    border-color: #1f4e79 !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(31, 78, 121, 0.25);
    transition: all 0.25s ease;
}

.button.primary:hover {
    background-color: #163857 !important;
    border-color: #163857 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(31, 78, 121, 0.35);
}

.button.secondary {
    background-color: #d2a44b !important;
    border-color: #d2a44b !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
}

.button.secondary:hover {
    background-color: #b88d3b !important;
    border-color: #b88d3b !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (ZALO & PHONE CALL)
   ========================================================================== */
.floating-contact-cta {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 99px;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-cta-btn.phone {
    background: linear-gradient(135deg, #e11d48, #be123c);
    animation: pulse-ring 2s infinite;
}

.floating-cta-btn.zalo {
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

.floating-cta-btn:hover {
    transform: scale(1.05);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.6);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(225, 29, 72, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
}

#footer h4 {
    color: #d2a44b !important;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 0.5px;
}

#footer a {
    color: #cbd5e1 !important;
    transition: color 0.2s ease;
}

#footer a:hover {
    color: #d2a44b !important;
}

.footer-bottom {
    background-color: #090d16 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: #64748b;
}
