/*
Theme Name: Qua Tang Doanh Nghiep (B2B Gift Theme)
Description: Theme tối ưu chuyên dụng cho Quà tặng doanh nghiệp. Tốc độ cao, chuẩn SEO, tích hợp Zalo/Call.
Author: Antigravity Optimized
Template: flatsome
Version: 1.0.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* 
 * OPTIMIZATION: System Font Stack
 * No network request required. Fastest possible rendering.
 */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.nav,
.button,
input,
textarea,
select {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

/* 
 * B2B MODE: Hide Header Cart
 * Hides the cart icon in the header since we are in catalog mode.
 */
.cart-item {
    display: none !important;
}

/*
 * TECHNOLOGY: Content Visibility (Rendering Performance)
 * Skips rendering of off-screen content. Huge boost for long pages.
 */
.product-small,
.col-inner {
    content-visibility: auto;
    contain-intrinsic-size: 300px;
    /* Approximate height of a product card */
}

/*
 * MOBILE OPTIMIZATION: Sticky Contact Bar Styles
 */
.mobile-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.contact-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    color: #fff !important;
    font-weight: bold;
    text-decoration: none !important;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-item.call {
    background-color: #e03a3c;
    /* Red for urgency */
}

.contact-item.zalo {
    background-color: #0068ff;
    /* Zalo Blue */
}

.contact-item .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Adjust footer to not be hidden by bar */
body {
    padding-bottom: 50px;
}






/* =========================================
   COLOR PALETTE & GLOBAL STYLES
   ========================================= */
:root {
    --primary-color: #002060;
    /* Deep Navy Blue from Logo */
    --secondary-color: #00adef;
    /* Cyan/Light Blue from Swoosh */
    --accent-color: #f8f9fa;
    /* Light Gray Background */
    --text-main: #333333;
    --text-light: #777777;
}

/* Override Flatsome Primary Colors */
.primary-color {
    color: var(--primary-color) !important;
}

.secondary-color {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Buttons */
.button.primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.button.primary:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.button.secondary {
    background-color: var(--secondary-color) !important;
}

/* Links */
a {
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

/* =========================================
   HOMEPAGE STYLES
   ========================================= */

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), #1a2a6c);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.9;
    z-index: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Trust Section */
.trust-section {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.trust-item .icon-box {
    font-size: 2.5rem;
    color: var(--secondary-color);
    /* Use Cyan for icons */
}

.trust-item h3 {
    font-size: 1rem;
    margin: 0;
    font-weight: bold;
    color: var(--primary-color);
}

/* Section Titles */
.section-title h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.is-divider {
    background-color: var(--secondary-color) !important;
    height: 3px;
    width: 60px;
    margin: 15px auto;
}

/* Category Cards */
.category-card {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #eee;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.cat-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: var(--primary-color);
    color: #fff;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-color);
}

.cta-box h2 {
    color: #fff;
    margin-bottom: 10px;
}

/* Mobile Contact Bar */
.mobile-contact-bar {
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.contact-item.call {
    background-color: var(--primary-color);
}

.contact-item.zalo {
    background-color: var(--secondary-color);
}

@media only screen and (max-width: 48em) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .trust-item {
        flex-direction: column;
        text-align: center;
    }

    .cat-image {
        height: 150px;
    }
}



