/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* ============================================================
   SMOOTH SCROLL - Cuộn mượt khi click anchor link
   ============================================================ */
html {
    scroll-behavior: smooth !important;
    scroll-padding-top: 80px;
    /* Trừ chiều cao header sticky */
}

/* ============================================================
   FONTS - Load bằng functions.php (đã enqueue), giữ fallback
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

/* ============================================================
   CSS VARIABLES (Brand Colors)
   ============================================================ */
:root {
    --color-primary: #1E6FBB;
    --color-secondary: #FAC332;
    --color-dark: #0f172a;
    --color-muted: #64748b;
    --color-light-bg: #f8fafc;
    --color-border: #e2e8f0;
    --color-white: #ffffff;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ============================================================
   BASE - Font override toàn site
   ============================================================ */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
div,
li,
label,
input,
select,
textarea,
button {
    font-family: 'Lexend', sans-serif !important;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-primary {
    color: var(--color-primary) !important;
}

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

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

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

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

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

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   MATERIAL SYMBOLS - Fix icon rendering
   ============================================================ */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   BADGE OEM (Hero section - badge vàng)
   Template: bg-secondary text-slate-900 rounded-full uppercase
   ============================================================ */
.badge-oem {
    display: inline-block !important;
    background-color: #FAC332 !important;
    color: #0f172a !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    padding: 4px 12px !important;
    border-radius: var(--radius-full) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.5 !important;
}

/* ============================================================
   BUTTONS - Cập nhật chính xác theo template
   ============================================================ */

/* Reset cơ bản cho button của Flatsome để áp dụng style mới */
.button.btn-primary,
.button.btn-outline-white,
.button.btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    /* h-12 trong tailwind */
    min-width: 160px !important;
    /* min-w-[160px] */
    padding: 0 24px !important;
    /* px-6 */
    text-transform: none !important;
    /* bỏ uppercase mặc định của Flatsome */
    font-size: 16px !important;
    /* text-base */
    line-height: 1 !important;
}

/* btn-primary: Xanh brand + Shadow đặc thù */
.button.btn-primary,
a.button.btn-primary {
    background-color: #1E6FBB !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    /* rounded-lg */
    font-weight: 700 !important;
    box-shadow: 0 10px 15px -3px rgba(30, 111, 187, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.button.btn-primary:hover,
a.button.btn-primary:hover {
    background-color: #1a5ea0 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 15px 20px -3px rgba(30, 111, 187, 0.4) !important;
}

.button.btn-primary:active {
    transform: scale(0.95) !important;
    /* active:scale-95 */
}

/* btn-outline-white: Phù hợp cho Hero */
.button.btn-outline-white,
a.button.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.12) !important;
    /* bg-white/10 */
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    /* border-white/30 */
    color: #ffffff !important;
    border-radius: 8px !important;
    backdrop-filter: blur(8px) !important;
    /* backdrop-blur-sm */
    transition: all 0.2s ease !important;
}

.button.btn-outline-white:hover,
a.button.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.22) !important;
    /* hover:bg-white/20 */
}

/* btn-secondary: Vàng brand (dùng cho card và form) */
.button.btn-secondary,
a.button.btn-secondary,
button.button.btn-secondary {
    background-color: #FAC332 !important;
    color: #0f172a !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 15px -3px rgba(250, 195, 50, 0.2) !important;
    transition: all 0.2s ease !important;
}

.button.btn-secondary:hover,
a.button.btn-secondary:hover,
button.button.btn-secondary:hover {
    background-color: #f5b800 !important;
    /* hover:bg-yellow-400 */
}

/* ============================================================
   PARTNER LOGOS (Trust bar)
   Template: grayscale hover:grayscale-0 flex items-center gap-2
   ============================================================ */
.partner-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    color: #475569 !important;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.5rem;
}

.partner-logo:hover {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    color: var(--color-primary) !important;
}

.partner-logo .material-symbols-outlined {
    font-size: 1.875rem !important;
    color: inherit !important;
}

/* ============================================================
   FEATURE CARDS (Áp dụng trực tiếp vào [col class="feature-card"])
   ============================================================ */
.col.feature-card {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.col.feature-card>.col-inner {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    transition: all 0.3s ease !important;
    margin-bottom: 1rem;
    height: 100%;
}

.col.feature-card>.col-inner:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(30, 111, 187, 0.5) !important;
    transform: translateY(-5px);
}

.feature-icon-box {
    width: 56px !important;
    height: 56px !important;
    border-radius: 10px !important;
    background: rgba(30, 111, 187, 0.1) !important;
    color: #1E6FBB !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1rem auto !important;
    transition: all 0.3s ease;
}

.col.feature-card:hover .feature-icon-box {
    background: #1E6FBB !important;
    color: #ffffff !important;
}

.feature-icon-box .material-symbols-outlined {
    font-size: 32px !important;
}

/* ============================================================
   PRODUCT CARDS (Section "Dòng Vợt Nổi Bật")
   Template: bg-white aspect-[3/4] rounded-xl overflow-hidden
             shadow-sm hover:shadow-lg
             overlay: absolute inset-0 bg-gradient-to-t opacity-0 group-hover:opacity-100
   ============================================================ */
.product-card {
    background: #ffffff !important;
    border-radius: var(--radius-xl) !important;
    overflow: hidden !important;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: var(--shadow-lg) !important;
}

/* Vùng ảnh: giữ tỷ lệ 3/4 như template */
.product-image-box {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
    border-radius: var(--radius-xl) !important;
    background: #e2e8f0;
}

.product-image-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.5s ease;
    display: block !important;
}

.product-card:hover .product-image-box img {
    transform: scale(1.05);
}

/* Link bọc quanh ảnh sản phẩm - click ảnh để xem danh mục */
.product-card-link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer !important;
}

.product-card-link:hover,
.product-card-link:focus {
    text-decoration: none !important;
    color: inherit !important;
}

.product-card-link:hover .product-image-box img {
    transform: scale(1.08);
}

.product-card-link:hover .product-card {
    box-shadow: var(--shadow-xl) !important;
}

/* ============================================================
   PROCESS STEPS (Áp dụng trực tiếp vào [col class="process-step"])
   ============================================================ */
.col.process-step {
    text-align: center !important;
}

.process-step-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1.5rem auto !important;
    background: #ffffff !important;
    border: 2px solid #1E6FBB !important;
    color: #1E6FBB !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.col.process-step.active .process-step-icon {
    background: #1E6FBB !important;
    color: #ffffff !important;
    box-shadow: 0 10px 15px rgba(30, 111, 187, 0.2) !important;
}

.process-step-icon .material-symbols-outlined {
    font-size: 32px !important;
}

/* Đường kẻ nối giữa các bước */
.process-line-wrap {
    position: relative;
}

.process-line-wrap::after {
    content: "";
    position: absolute;
    top: 32px;
    /* căn giữa icon */
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

@media only screen and (max-width: 48em) {
    .process-line-wrap::after {
        display: none;
    }
}

/* ============================================================
   CONTACT SECTION (CTA + Form)
   Template: bg-white/5 backdrop-blur rounded-2xl border border-white/10
   ============================================================ */
.contact-wrap {
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(8px) !important;
    border-radius: var(--radius-xl) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Form inputs */
.form-input {
    width: 100% !important;
    height: 3rem !important;
    padding: 0 1rem !important;
    border-radius: var(--radius-md) !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    margin-bottom: 1rem !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box !important;
    font-size: 0.9375rem !important;
    appearance: none;
}

.form-input:focus {
    border-color: #1E6FBB !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(30, 111, 187, 0.15) !important;
}

/* 2 column input row */
.flex-gap-2 {
    display: flex !important;
    gap: 1rem !important;
    margin-bottom: 0 !important;
}

.flex-gap-2>* {
    flex: 1 !important;
    min-width: 0 !important;
}

/* ============================================================
   CONTACT FORM 7 - Style khớp với design system
   ============================================================ */
.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100% !important;
    height: 3rem !important;
    padding: 0 1rem !important;
    border-radius: var(--radius-md) !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    box-sizing: border-box !important;
    font-size: 0.9375rem !important;
    font-family: 'Lexend', sans-serif !important;
    appearance: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wpcf7 textarea {
    height: auto !important;
    padding: 0.75rem 1rem !important;
    min-height: 100px;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: #1E6FBB !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(30, 111, 187, 0.15) !important;
}

/* CF7 - 2 cột Tên/Họ ngang hàng */
.wpcf7 .flex-gap-2 {
    display: flex !important;
    gap: 1rem !important;
    margin-bottom: 0 !important;
}

.wpcf7 .flex-gap-2>span {
    flex: 1 !important;
    min-width: 0 !important;
}

/* CF7 - Nút submit */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    background-color: #FAC332 !important;
    color: #0f172a !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    font-family: 'Lexend', sans-serif !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    box-shadow: 0 10px 15px -3px rgba(250, 195, 50, 0.2) !important;
    margin-top: 0.5rem;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #f5b800 !important;
    transform: translateY(-1px);
}

/* CF7 - Ẩn khoảng trống thừa */
.wpcf7 form p {
    margin-bottom: 0 !important;
}

/* CF7 - Thông báo lỗi/thành công */
.wpcf7 .wpcf7-not-valid-tip {
    color: #ef4444 !important;
    font-size: 0.8125rem !important;
    margin-top: 0.25rem;
}

.wpcf7 .wpcf7-response-output {
    border-radius: var(--radius-md) !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    margin: 1rem 0 0 0 !important;
}

/* CF7 - Select placeholder color */
.wpcf7 select option[value=""] {
    color: #94a3b8;
}

/* ============================================================
   ABOUT US PAGE COMPONENTS
   ============================================================ */

/* Stat Counter Bar */
.stat-bar {
    background: #ffffff !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-xl) !important;
    overflow: hidden !important;
    margin-top: -3rem;
    position: relative;
    z-index: 20;
}

.stat-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
}

.stat-item {
    padding: 1.5rem !important;
    text-align: center !important;
    border-right: 1px solid #f1f5f9;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.25rem !important;
    font-weight: 900 !important;
    color: #1E6FBB !important;
    margin-bottom: 0.25rem !important;
    line-height: 1 !important;
}

.stat-label {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
}

/* Gallery partner */
.custom-logo-gallery img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Service Cards (OEM/ODM) */
.service-card {
    background: #ffffff !important;
    border-radius: var(--radius-xl) !important;
    padding: 2rem !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid #f1f5f9 !important;
    transition: border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Ép col-inner kéo full height khi row dùng v_align="equal" */
.col>.col-inner>.service-card {
    flex: 1;
}

.service-card>div:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card>div:last-child>a:last-child {
    margin-top: auto;
}

.service-card:hover {
    border-color: rgba(30, 111, 187, 0.5) !important;
}

.service-card.odm:hover {
    border-color: rgba(250, 195, 50, 0.5) !important;
}

.service-card-decor {
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    border-bottom-left-radius: 100%;
    margin-right: -2rem;
    margin-top: -2rem;
    transition: transform 0.3s;
}

.service-card:hover .service-card-decor {
    transform: scale(1.1);
}

.service-icon-box {
    width: 3.5rem !important;
    height: 3.5rem !important;
    border-radius: var(--radius-lg) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.5rem !important;
    transition: all 0.3s ease;
    font-size: 1.875rem;
}

.service-icon-box.oem {
    background: rgba(30, 111, 187, 0.1) !important;
    color: #1E6FBB !important;
}

.service-icon-box.odm {
    background: rgba(250, 195, 50, 0.1) !important;
    color: #FAC332 !important;
}

.service-card:hover .service-icon-box.oem {
    background: #1E6FBB !important;
    color: #fff !important;
}

.service-card:hover .service-icon-box.odm {
    background: #FAC332 !important;
    color: #0f172a !important;
}

.check-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    color: #475569 !important;
    margin-bottom: 0.75rem !important;
    font-size: 0.9375rem !important;
}

.check-item .material-symbols-outlined {
    color: #22c55e !important;
    font-size: 1.25rem !important;
    flex-shrink: 0;
    margin-top: 2px;
}

/* QC Lab Cards */
.qc-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: var(--radius-lg) !important;
    padding: 1.5rem !important;
    transition: box-shadow 0.3s;
    height: 100%;
}

.qc-card:hover {
    box-shadow: var(--shadow-lg) !important;
}

.qc-card-icon {
    color: #1E6FBB !important;
    font-size: 2.5rem !important;
    margin-bottom: 0.75rem !important;
}

/* Team Cards */
.team-card {
    background: #ffffff !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
    transition: box-shadow 0.3s;
}

.team-card:hover {
    box-shadow: var(--shadow-md) !important;
}

.team-card-image {
    height: 16rem !important;
    overflow: hidden !important;
    background: #e2e8f0;
}

.team-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top !important;
    transition: transform 0.3s;
}

.team-card:hover .team-card-image img {
    transform: scale(1.05);
}

.team-card-body {
    padding: 1.5rem !important;
}

/* Accent underline */
.accent-line {
    height: 4px !important;
    width: 5rem !important;
    background: #FAC332 !important;
    border-radius: var(--radius-full) !important;
    margin-top: 1rem !important;
}

/* ============================================================
   SERVICE PAGE - About Image Block
   ============================================================ */
.service-about-image {
    position: relative;
}

.service-about-decor {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 96px;
    height: 96px;
    background: #FAC332;
    border-radius: var(--radius-xl);
    z-index: 0;
}

.service-about-img-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 400px;
    z-index: 1;
}

.service-about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-about-badge {
    position: absolute;
    bottom: -32px;
    right: 16px;
    background: #1E6FBB;
    color: #ffffff;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

@media only screen and (max-width: 48em) {
    .service-about-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        text-align: center;
    }

    .service-about-decor {
        width: 60px;
        height: 60px;
        top: -10px;
        left: -10px;
    }
}

/* ============================================================
   SERVICE PAGE - OEM & ODM Comparison Cards
   ============================================================ */
.col.oem-odm-card {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.oem-odm-card-inner {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.oem-odm-card-inner.oem {
    border-bottom: 4px solid #1E6FBB;
}

.oem-odm-card-inner.odm {
    border-bottom: 4px solid #FAC332;
}

.oem-odm-card-inner:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.oem-odm-image {
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.oem-odm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.oem-odm-card-inner:hover .oem-odm-image img {
    transform: scale(1.05);
}

.oem-odm-features {
    margin-bottom: 1.5rem;
    flex: 1;
}

.oem-odm-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #334155;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.oem-odm-feature-item .material-symbols-outlined {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.oem-odm-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    text-decoration: none !important;
    font-size: 1rem;
    cursor: pointer;
}

.oem-odm-btn.oem {
    border: 2px solid #1E6FBB;
    color: #1E6FBB;
    background: transparent;
}

.oem-odm-btn.oem:hover {
    background: #1E6FBB;
    color: #ffffff;
}

.oem-odm-btn.odm {
    border: none;
    background: #FAC332;
    color: #0f172a;
}

.oem-odm-btn.odm:hover {
    filter: brightness(1.05);
}

/* ============================================================
   SERVICE PAGE - Process Step Numbers (6 bước)
   ============================================================ */
.process-step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    background: #f1f5f9;
    color: #1E6FBB;
    font-weight: 900;
    font-size: 1.375rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.col.process-step:hover .process-step-number {
    background: #FAC332;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(250, 195, 50, 0.3);
}

/* ============================================================
   SERVICE PAGE - Why Choose Us Cards (nền xanh)
   ============================================================ */
.col.why-choose-card {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 1rem;
}

.why-choose-inner {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.why-choose-inner:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.why-choose-icon {
    font-family: 'Material Symbols Outlined' !important;
    font-size: 2.5rem !important;
    color: #FAC332 !important;
    margin-bottom: 1rem;
    display: block;
}

.why-choose-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #FAC332 !important;
    margin-bottom: 0.75rem !important;
}

.why-choose-desc {
    font-size: 0.9375rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.7 !important;
}

/* CTA gradient */
.cta-gradient {
    background: linear-gradient(135deg, #1E6FBB 0%, #1a5ea0 100%) !important;
}

/* ============================================================
   RESPONSIVE - Mobile
   ============================================================ */
@media only screen and (max-width: 48em) {
    .process-line {
        display: none;
    }

    .contact-wrap {
        padding: 20px !important;
    }

    .contact-wrap>.col {
        padding-right: 0 !important;
    }

    .flex-gap-2 {
        flex-direction: column !important;
    }

    .stat-bar {
        margin-top: -1.5rem;
    }

    .stat-number {
        font-size: 1.5rem !important;
    }

    .stat-item {
        padding: 1rem 0.5rem !important;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Bỏ border bên phải cho cột thứ 2 trên mobile */
    .stat-item:nth-child(2n) {
        border-right: none !important;
    }

    /* Thêm border trên cho các hàng sau (hàng 2) trên mobile */
    .stat-item:nth-child(n+3) {
        border-top: 1px solid #f1f5f9;
    }
}

/* ============================================================
   Footer
   ============================================================ */
.footer-contact-item-light {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    /*margin-bottom: 15px;*/
    font-size: 14px;
    color: #475569;
    /* Slate-600 */
}

.footer-contact-item-light .material-symbols-outlined {
    color: #1E6FBB;
    /* Xanh brand */
    font-size: 20px !important;
    margin-top: 2px;
}

ul.footer-menu-light a {
    color: #64748b !important;
    /* Text xám trung tính */
    font-size: 14px !important;
    padding: 6px 0 !important;
    transition: all 0.2s;
}

ul.footer-menu-light a:hover {
    color: #1E6FBB !important;
    padding-left: 5px;
}

/* ============================================================
   GALLERY - Căn giữa ảnh theo chiều dọc
   ============================================================ */
.gallery-vcenter .flickity-slider .col {
    display: flex !important;
    align-items: center !important;
}

.gallery-vcenter .flickity-slider .col-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 100%;
}

.gallery-vcenter .flickity-slider .col-inner a,
.gallery-vcenter .flickity-slider .col-inner .box-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.gallery-vcenter .flickity-slider .col-inner img {
    object-fit: contain !important;
    max-height: 100% !important;
}

/* ============================================================
   CATALOG MODE - Ẩn Add to Cart, Giỏ hàng, Checkout
   ============================================================ */
.add_to_cart_button,
.single_add_to_cart_button,
.add-to-cart-button,
.cart-button,
.product-page-cart-button,
form.cart .button,
form.cart .quantity,
form.cart,
.woocommerce-cart,
.header-cart-link,
.cart-icon,
.mini-cart,
.cart-item {
    display: none !important;
}

/* Ẩn tab cart trong menu */
.menu-item a[href*="cart"],
.menu-item a[href*="checkout"],
.menu-item a[href*="gio-hang"],
.menu-item a[href*="thanh-toan"] {
    display: none !important;
}

/* ============================================================
   SHOP SIDEBAR - Style giống Template
   ============================================================ */

/* Mỗi Widget là 1 Card */
.shop-sidebar .widget,
.is-shop .widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Tiêu đề Widget - accent line vàng */
.shop-sidebar .widget-title,
.is-shop .widget-title {
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    padding-bottom: 0.875rem !important;
    margin-bottom: 1rem !important;
    border-bottom: 2px solid #f1f5f9 !important;
    position: relative;
    letter-spacing: 0.02em;
}

.shop-sidebar .widget-title::after,
.is-shop .widget-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 36px;
    height: 2px;
    background: #FAC332;
}

/* Danh sách lọc */
.shop-sidebar .widget ul,
.is-shop .widget ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.shop-sidebar .widget ul li,
.is-shop .widget ul li {
    padding: 0.5rem 0 !important;
    border-bottom: 1px dashed #f1f5f9 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: all 0.15s ease;
}

.shop-sidebar .widget ul li:last-child,
.is-shop .widget ul li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.shop-sidebar .widget ul li a,
.is-shop .widget ul li a {
    color: #475569 !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.shop-sidebar .widget ul li:hover a,
.is-shop .widget ul li:hover a {
    color: #1E6FBB !important;
    padding-left: 4px;
}

/* Số đếm sản phẩm - Badge tròn */
.shop-sidebar .widget ul li .count,
.is-shop .widget ul li .count {
    background: #f1f5f9 !important;
    color: #64748b !important;
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 20px !important;
    min-width: 24px;
    text-align: center;
}

/* --- Thanh lọc giá --- */
.shop-sidebar .widget_price_filter .ui-slider,
.is-shop .widget_price_filter .ui-slider {
    background-color: #f1f5f9 !important;
    height: 6px !important;
    border-radius: 3px !important;
    border: none !important;
}

.shop-sidebar .widget_price_filter .ui-slider-range,
.is-shop .widget_price_filter .ui-slider-range {
    background: linear-gradient(90deg, #1E6FBB, #2d8fd4) !important;
    border-radius: 3px !important;
}

.shop-sidebar .widget_price_filter .ui-slider-handle,
.is-shop .widget_price_filter .ui-slider-handle {
    background-color: #1E6FBB !important;
    border: 3px solid #ffffff !important;
    border-radius: 50% !important;
    width: 18px !important;
    height: 18px !important;
    top: -6px !important;
    box-shadow: 0 2px 4px rgba(30, 111, 187, 0.3) !important;
    cursor: pointer;
}

.shop-sidebar .widget_price_filter .price_label,
.is-shop .widget_price_filter .price_label {
    font-size: 0.8125rem;
    color: #334155;
    font-weight: 600;
}

.shop-sidebar .widget_price_filter .button,
.is-shop .widget_price_filter .button {
    background-color: #0f172a !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    padding: 0.5rem 1.25rem !important;
    text-transform: none !important;
    border: none !important;
    transition: background 0.2s;
}

.shop-sidebar .widget_price_filter .button:hover,
.is-shop .widget_price_filter .button:hover {
    background-color: #1E6FBB !important;
}

/* --- Checkbox filter (thuộc tính) --- */
.shop-sidebar .widget ul li input[type="checkbox"],
.is-shop .widget ul li input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid #cbd5e1;
    accent-color: #1E6FBB;
    cursor: pointer;
    margin-right: 0.5rem;
}

/* --- Swatch / Active filter item --- */
.shop-sidebar .widget ul li.chosen a,
.is-shop .widget ul li.chosen a,
.shop-sidebar .widget ul li.current-cat a,
.is-shop .widget ul li.current-cat a {
    color: #1E6FBB !important;
    font-weight: 700 !important;
}

/* ============================================================
   CONTACT PAGE - Form Card
   ============================================================ */
.contact-form-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.contact-form-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
}

/* CF7 form padding */
.contact-form-card .wpcf7,
.col-inner>.wpcf7 {
    padding: 1.5rem 2rem 2rem;
}

/* CF7 contact page - labels */
.wpcf7 label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}

.wpcf7 .required-mark {
    color: #ef4444;
}

/* CF7 textarea */
.wpcf7 textarea {
    height: auto !important;
    padding: 0.75rem 1rem !important;
    min-height: 100px;
    max-height: 160px;
}

/* CF7 contact page - 2 cột */
.contact-form-card .wpcf7 .flex-gap-2,
.wpcf7 .flex-gap-2 {
    display: flex !important;
    gap: 1.5rem !important;
    margin-bottom: 0 !important;
}

.contact-form-card .wpcf7 .flex-gap-2>p,
.contact-form-card .wpcf7 .flex-gap-2>label,
.contact-form-card .wpcf7 .flex-gap-2>span,
.wpcf7 .flex-gap-2>p,
.wpcf7 .flex-gap-2>label,
.wpcf7 .flex-gap-2>span {
    flex: 1 !important;
    min-width: 0 !important;
    margin-bottom: 0 !important;
}

/* CF7 - label bên trong flex-gap-2 */
.wpcf7 .flex-gap-2 p label,
.wpcf7 .flex-gap-2>label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

@media only screen and (max-width: 48em) {

    .contact-form-card .wpcf7 .flex-gap-2,
    .wpcf7 .flex-gap-2 {
        flex-direction: column !important;
        gap: 0 !important;
    }
}

/* ============================================================
   CONTACT PAGE - Info Card (Sidebar)
   ============================================================ */
.contact-info-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.contact-info-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.contact-info-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30, 111, 187, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon .material-symbols-outlined {
    color: #1E6FBB;
    font-size: 1.25rem;
}

/* Contact link items */
.contact-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.contact-link-item:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

/* Zalo/WhatsApp link */
.contact-link-zalo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.2);
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.contact-link-zalo:hover {
    background: rgba(37, 211, 102, 0.15);
}

.contact-online-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #25D366;
    background: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.contact-link-zalo:hover .contact-online-badge {
    transform: scale(1.05);
}

/* ============================================================
   CONTACT PAGE - Map Card
   ============================================================ */
.contact-map-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    min-height: 280px;
}

.contact-map-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: 0.8;
}

.contact-map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.contact-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: #0f172a !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    text-decoration: none !important;
    transition: background 0.2s;
}

.contact-map-btn:hover {
    background: #f1f5f9;
}

/* ============================================================
   SMOOTH AUTO SLIDER (Infinite Marquee)
   ============================================================ */
.jusain-slider-wrap {
    overflow: hidden !important;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.jusain-slider-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: jusainSlide 25s linear infinite;
}

.jusain-slider-track:hover {
    animation-play-state: paused;
}

.jusain-slider-item {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: var(--radius-lg, 8px);
    border: 1px solid #f1f5f9;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s, transform 0.3s;
}

.jusain-slider-item:hover {
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
    transform: translateY(-3px);
}

.jusain-slider-item img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

@keyframes jusainSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive: nhỏ hơn trên mobile */
@media only screen and (max-width: 48em) {
    .jusain-slider-item {
        width: 140px;
        height: 90px;
        padding: 8px;
    }

    .jusain-slider-track {
        gap: 24px;
        animation-duration: 18s;
    }
}