/* =========================================================
   ZAVEX INTERNATIONAL - CUSTOM THEME
   Brand colors: #03132a (navy), #005abd (blue), #fefefe (white)
   Loaded after the base template styles.
   ========================================================= */

:root {
    --zx-navy: #03132a;
    --zx-blue: #005abd;
    --zx-white: #fefefe;
    --zx-light: #f3f7fc;
    --zx-muted: #64748b;
    --zx-line: #dde5ef;

    /* Override template variables */
    --theme-color: #005abd;
    --theme-color2: #03132a;
    --title-color: #03132a;
    --body-color: #64748b;
    --black-color: #03132a;
    --black-color2: #03132a;
    --black-color3: #0b1e3a;
    --black-color4: #1e3352;
    --smoke-color: #f3f7fc;
    --smoke-color2: #eef3f9;
    --smoke-color3: #e6edf6;
    --white-color: #fefefe;
    --th-border-color: #dde5ef;
    --th-body-background: #fefefe;
    --main-container: 1230px;
}

html, body {
    color: var(--zx-muted);
    background: var(--zx-white);
}

a { color: var(--zx-blue); }
a:hover { color: var(--zx-navy); }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
    color: var(--zx-navy);
    font-family: "Kanit", sans-serif;
}

/* Template button colour correction */
.th-btn,
.th-btn.style2,
.th-btn.style3,
.th-btn.style4,
.th-btn.style-radius {
    background-color: var(--zx-blue) !important;
    border-color: var(--zx-blue) !important;
    color: #fff !important;
}
.th-btn:hover,
.th-btn.style2:hover,
.th-btn.style3:hover,
.th-btn.style4:hover {
    background-color: var(--zx-navy) !important;
    border-color: var(--zx-navy) !important;
    color: #fff !important;
}
.th-btn.style-border3,
.th-btn.style2.style-border3 {
    background: transparent !important;
    border: 1px solid var(--zx-blue) !important;
    color: var(--zx-blue) !important;
}
.th-btn.style-border3:hover {
    background: var(--zx-blue) !important;
    color: #fff !important;
}

.sub-title { color: var(--zx-blue) !important; }
.sec-title { color: var(--zx-navy) !important; font-weight: 700; }
.text-theme { color: var(--zx-blue) !important; }
.text-title { color: var(--zx-navy) !important; }

/* ---------------------------------------------------------
   TOPBAR
   --------------------------------------------------------- */
.zx-topbar {
    background: var(--zx-navy);
    color: #c5d2e4;
    font-size: 13px;
    line-height: 1;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.zx-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.zx-topbar-left, .zx-topbar-right { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.zx-topbar span i, .zx-topbar a i { color: var(--zx-white); margin-right: 3px; font-size: 14px; }
.zx-topbar a { color: #c5d2e4; }
.zx-topbar a:hover { color: #fff; }
.zx-topbar-social { display: inline-flex; gap: 8px; }
.zx-topbar-social a {
    width: 24px; height: 24px; border-radius: 50%; display: inline-flex;
    align-items: center; justify-content: center; background: rgba(255,255,255,.09);
    color: #fff; font-size: 11px;
}
.zx-topbar-social a:hover { background: var(--zx-blue); }

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */
.zx-header { background: #fff; box-shadow: 0 2px 18px rgba(3,19,42,.07); }
.zx-header .menu-area { background: #fff; padding: 0; }
.zx-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.zx-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none !important; }
.zx-logo-mark {
    width: 44px; height: 44px; flex: 0 0 44px; border-radius: 9px;
    background: linear-gradient(135deg, var(--zx-blue), var(--zx-navy));
    color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 21px;
}
.zx-logo-text { display: flex; flex-direction: column; line-height: 1; font-family: "Kanit", sans-serif; font-weight: 800; font-size: 24px; letter-spacing: .5px; color: var(--zx-navy); }
.zx-logo-text small { font-size: 9px; letter-spacing: 3.6px; font-weight: 600; color: var(--zx-blue); margin-top: 5px; }
.zx-logo-image { display: block; max-height: 50px; max-width: 190px; width: auto; height: auto; object-fit: contain; }
.zx-footer-logo .zx-logo-image { max-height: 54px; }

.zx-main-menu > ul { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.zx-main-menu > ul > li > a {
    font-family: "Kanit", sans-serif; font-weight: 600; font-size: 14px;
    color: var(--zx-navy); text-transform: uppercase; letter-spacing: .2px;
    padding: 30px 0; display: inline-block; position: relative;
}
.zx-main-menu > ul > li > a:after {
    content: ""; position: absolute; left: 0; bottom: 22px; width: 0; height: 2px;
    background: var(--zx-blue); transition: .25s;
}
.zx-main-menu > ul > li:hover > a, .zx-main-menu > ul > li.active > a { color: var(--zx-blue); }
.zx-main-menu > ul > li:hover > a:after, .zx-main-menu > ul > li.active > a:after { width: 100%; }
/* Dropdowns — fully override the template's .main-menu ul.sub-menu rules
   (template sets visibility:hidden / opacity:0 / scaleY(0) / z-index:-1) */
.zx-main-menu ul li { position: relative; }
.zx-main-menu ul.sub-menu {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 230px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    text-align: left;
    background: #fff;
    border-top: 3px solid var(--zx-blue);
    box-shadow: 0 16px 40px rgba(3,19,42,.14);
    visibility: hidden;
    opacity: 0;
    /* No translate here: any offset creates a dead zone where the hero
       section steals :hover and the dropdown closes while moving the mouse. */
    transform: none;
    pointer-events: none;
    z-index: 1000;
    transition: opacity .22s ease, visibility .22s ease;
}
/* Specificity matches the template hover rule; loaded later so it wins */
.zx-main-menu ul li:hover > ul.sub-menu,
.zx-main-menu ul li:focus-within > ul.sub-menu,
.zx-main-menu ul li.zx-open > ul.sub-menu {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    z-index: 1000;
}
/* Invisible hover bridges keep the menu alive while the cursor travels
   between the parent link and the dropdown (and into third-level flyouts). */
.zx-main-menu > ul > li.menu-item-has-children:before {
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; z-index: 2;
}
.zx-main-menu ul.sub-menu > li.menu-item-has-children:before {
    content: ""; position: absolute; left: 100%; top: 0; width: 16px; height: 100%; z-index: 2;
}
.zx-main-menu ul.sub-menu li { position: relative; display: block; padding: 0; margin: 0; }
.zx-main-menu ul.sub-menu li a {
    display: block; padding: 9px 18px; font-size: 13px; line-height: 1.45;
    color: var(--zx-navy); font-weight: 500; text-transform: none;
}
.zx-main-menu ul.sub-menu li a:hover { background: var(--zx-light); color: var(--zx-blue); }
.zx-main-menu ul.sub-menu li a:before { display: none; }
/* Nested (third-level) menus fly out to the right.
   Category flyouts can be long, so keep them inside the viewport. */
.zx-main-menu ul.sub-menu li ul.sub-menu {
    left: 100%; right: auto; top: -3px; margin: 0; min-width: 210px;
    max-height: min(70vh, 520px); overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: var(--zx-blue) var(--zx-light);
}
.zx-main-menu ul.sub-menu li ul.sub-menu::-webkit-scrollbar { width: 6px; }
.zx-main-menu ul.sub-menu li ul.sub-menu::-webkit-scrollbar-thumb { background: var(--zx-blue); border-radius: 6px; }
/* Dropdown carets (CSS triangles — no icon-font dependency) */
.zx-main-menu > ul > li.menu-item-has-children > a:after {
    content: ""; position: static; display: inline-block;
    width: 0; height: 0; margin-left: 8px; bottom: auto; background: none;
    border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 5px solid var(--zx-blue); transition: transform .2s;
}
.zx-main-menu > ul > li.menu-item-has-children:hover > a:after { transform: rotate(180deg); }
.zx-main-menu ul.sub-menu li.menu-item-has-children > a:after {
    content: ""; position: static; display: inline-block; float: right;
    width: 0; height: 0; margin-top: 6px; bottom: auto; background: none;
    border-top: 4px solid transparent; border-bottom: 4px solid transparent;
    border-left: 5px solid var(--zx-blue);
}
/* Mobile slide-out shows every level */
.zx-mobile-menu-list ul { list-style: none; padding: 0; margin: 0; }
.zx-mobile-menu-list ul ul { display: block !important; padding-left: 14px; }
.zx-mobile-menu-list ul ul ul { padding-left: 22px; }
.zx-mobile-menu-list ul ul a { font-size: 12px; opacity: .85; }
.zx-header-actions { display: flex; align-items: center; gap: 12px; }
.zx-quote-btn { font-size: 13px; padding: 12px 20px; white-space: nowrap; }
.zx-menu-toggle { background: var(--zx-blue); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 6px; font-size: 20px; }
.zx-mobile-menu .zx-mobile-logo { margin: 10px auto 20px; }
.zx-mobile-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 25px; font-size: 14px; }
.zx-mobile-contact a { color: var(--zx-blue); }

/* ---------------------------------------------------------
   HERO SLIDER
   --------------------------------------------------------- */
.zx-hero { position: relative; }
.zx-hero-slide {
    min-height: 660px; display: flex; align-items: center; position: relative;
    background-size: cover; background-position: center; padding: 120px 0 90px;
}
.zx-hero-slide:before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(3,19,42,.94) 0%, rgba(3,19,42,.78) 45%, rgba(3,19,42,.25) 100%);
}
.zx-hero-content { position: relative; z-index: 2; max-width: 660px; }
.zx-hero-badge {
    display: inline-block; color: #fff; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
    font-weight: 600; margin-bottom: 20px; padding-left: 52px; position: relative;
}
.zx-hero-badge:before { content: ""; position: absolute; left: 0; top: 50%; width: 40px; height: 2px; background: var(--zx-blue); }
.zx-hero-title { color: #fff; font-size: 68px; line-height: 1.06; font-weight: 800; margin-bottom: 22px; }
.zx-hero-title span { color: #4d9cff; }
.zx-hero-text { color: #d5e0ee; font-size: 17px; line-height: 1.8; max-width: 560px; margin-bottom: 32px; }
.zx-hero-buttons { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.zx-hero-buttons .th-btn { padding: 15px 30px; }
.zx-btn-outline {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
    border: 1px solid rgba(255,255,255,.45); color: #fff; font-weight: 600; border-radius: 4px;
    font-family: "Kanit", sans-serif; transition: .25s;
}
.zx-btn-outline:hover { background: #fff; color: var(--zx-navy); border-color: #fff; }
.zx-hero .slider-pagination { position: absolute; bottom: 28px; left: 0; right: 0; z-index: 5; text-align: center; }
.zx-hero .swiper-pagination-bullet { background: #fff; opacity: .45; width: 10px; height: 10px; }
.zx-hero .swiper-pagination-bullet-active { background: var(--zx-blue); opacity: 1; width: 30px; border-radius: 6px; }

/* ---------------------------------------------------------
   SECTION HELPERS
   --------------------------------------------------------- */
.zx-section { padding: 100px 0; position: relative; }
.zx-section-sm { padding: 70px 0; }
.zx-bg-light { background: var(--zx-light); }
.zx-bg-navy { background: var(--zx-navy); }
.zx-heading { margin-bottom: 45px; }
.zx-heading.center { text-align: center; }
.zx-heading .sub-title {
    display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
    font-weight: 700; margin-bottom: 10px;
}
.zx-heading h2 { font-size: 42px; line-height: 1.2; font-weight: 700; margin: 0; }
.zx-heading p { margin-top: 14px; max-width: 700px; }
.zx-heading.center p { margin-left: auto; margin-right: auto; }
.zx-heading.light h2, .zx-heading.light .sub-title { color: #fff !important; }
.zx-heading.light p { color: #c5d2e4; }

/* ---------------------------------------------------------
   COMPANY PROFILE / ABOUT
   --------------------------------------------------------- */
.zx-profile-img { position: relative; border-radius: 8px; overflow: hidden; min-height: 490px; }
.zx-profile-img img { width: 100%; height: 625px; object-fit: cover; display: block; }
.zx-profile-img1 img { width: 100%; height: 925px; object-fit: cover; display: block; }
.zx-profile-img:after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(3,19,42,.55));
}
.zx-profile-experience {
    position: absolute; z-index: 2; right: -20px; bottom: 30px; background: var(--zx-blue);
    color: #fff; padding: 26px 30px; border-radius: 8px; text-align: center; box-shadow: 0 12px 30px rgba(0,90,189,.3);
}
.zx-profile-experience strong { display: block; font-size: 42px; font-family: "Kanit", sans-serif; line-height: 1; }
.zx-profile-experience span { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.zx-profile-text h2 { font-size: 40px; line-height: 1.22; margin-bottom: 20px; }
.zx-profile-text p { line-height: 1.9; margin-bottom: 18px; }
.zx-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.zx-stat { border-left: 3px solid var(--zx-blue); padding: 4px 0 4px 18px; }
.zx-stat strong { display: block; font-size: 32px; font-family: "Kanit", sans-serif; color: var(--zx-navy); line-height: 1.1; }
.zx-stat span { font-size: 13px; color: var(--zx-muted); }
.zx-check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.zx-check-list li { position: relative; padding-left: 32px; color: var(--zx-navy); font-weight: 500; }
.zx-check-list li:before {
    content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: 1px; color: var(--zx-blue);
}

/* ---------------------------------------------------------
   CATEGORY CARDS
   --------------------------------------------------------- */
.zx-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.zx-category-card {
    display: block; position: relative; border-radius: 8px; overflow: hidden; text-decoration: none !important;
    box-shadow: 0 8px 25px rgba(3,19,42,.08); background: #fff;
}
.zx-category-card img { width: 100%; height: 550px; object-fit: cover; display: block; transition: transform .5s; }
.zx-category-card:hover img { transform: scale(1.07); }
.zx-category-card:after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(3,19,42,.88) 100%);
}
.zx-category-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px 22px; }
.zx-category-body h3 { color: #fff; font-size: 23px; margin: 0 0 6px; }
.zx-category-body p { color: #cbd8e8; font-size: 12px; margin: 0; }
.zx-category-body .zx-cat-arrow {
    position: absolute; right: 20px; bottom: 26px; width: 34px; height: 34px; border-radius: 50%;
    background: var(--zx-blue); color: #fff; display: flex; align-items: center; justify-content: center;
}
.zx-category-card:hover .zx-cat-arrow { background: #fff; color: var(--zx-blue); }
.zx-subcat-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.zx-subcat-list span { font-size: 11px; color: #dbe6f4; background: rgba(255,255,255,.13); padding: 3px 9px; border-radius: 20px; }

/* ---------------------------------------------------------
   PROCESS
   --------------------------------------------------------- */
.zx-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.zx-process-card { position: relative; padding: 0 26px; text-align: center; }
.zx-process-card:not(:last-child):after {
    content: ""; position: absolute; right: -14px; top: 58px; width: 28px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--zx-blue) 0 5px, transparent 5px 10px);
}
.zx-process-icon {
    width: 110px; height: 110px; margin: 0 auto 25px; border-radius: 50%; position: relative;
    background: #fff; border: 2px solid var(--zx-blue); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px rgba(0,90,189,.12);
}
.zx-process-icon i { font-size: 38px; color: var(--zx-blue); }
.zx-process-number {
    position: absolute; right: -2px; bottom: -2px; width: 34px; height: 34px; border-radius: 50%;
    background: var(--zx-blue); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.zx-process-card h4 { font-size: 20px; margin-bottom: 12px; }
.zx-process-card p { font-size: 14px; line-height: 1.75; margin: 0; }
.zx-process-card.light h4, .zx-process-card.light p { color: #fff; }
.zx-process-card.light .zx-process-icon { background: rgba(255,255,255,.06); border-color: #4d9cff; }

/* ---------------------------------------------------------
   SERVICES
   --------------------------------------------------------- */
.zx-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.zx-service-card {
    background: #fff; border: 1px solid var(--zx-line); border-radius: 8px; padding: 34px 26px;
    transition: .3s; position: relative; overflow: hidden;
}
.zx-service-card:before {
    content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
    background: var(--zx-blue); transform: scaleX(0); transition: .3s; transform-origin: left;
}
.zx-service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(3,19,42,.1); border-color: transparent; }
.zx-service-card:hover:before { transform: scaleX(1); }
.zx-service-icon {
    width: 62px; height: 62px; border-radius: 12px; background: var(--zx-light); color: var(--zx-blue);
    display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 22px;
}
.zx-service-card:hover .zx-service-icon { background: var(--zx-blue); color: #fff; }
.zx-service-card h4 { font-size: 20px; margin-bottom: 12px; }
.zx-service-card p { font-size: 14px; line-height: 1.75; margin: 0; }
.zx-service-card .zx-read-more { display: inline-block; margin-top: 18px; font-weight: 600; font-size: 13px; color: var(--zx-blue); }

/* ---------------------------------------------------------
   PRODUCT CARDS
   --------------------------------------------------------- */
.zx-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.zx-product-card {
    background: #fff; border: 1px solid var(--zx-line); border-radius: 8px; overflow: hidden;
    transition: .3s; display: flex; flex-direction: column;
}
.zx-product-card:hover { box-shadow: 0 18px 40px rgba(3,19,42,.12); transform: translateY(-5px); border-color: transparent; }
.zx-product-img { position: relative; overflow: hidden; height: 250px; background: #eef3f9; }
.zx-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.zx-product-card:hover .zx-product-img img { transform: scale(1.07); }
.zx-product-badge {
    position: absolute; left: 14px; top: 14px; background: var(--zx-navy); color: #fff;
    font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 3px; z-index: 2;
}
.zx-product-badge.sale { background: var(--zx-blue); }
.zx-product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.zx-product-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--zx-blue); font-weight: 700; }
.zx-product-body h3 { font-size: 18px; margin: 7px 0 8px; }
.zx-product-body h3 a { color: var(--zx-navy); text-decoration: none; }
.zx-product-body h3 a:hover { color: var(--zx-blue); }
.zx-product-body p { font-size: 13px; line-height: 1.6; margin: 0 0 14px; flex: 1; }
.zx-product-bottom { display: block; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--zx-line); padding-top: 14px; }
.zx-product-attrs { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.zx-attr-chip {
    display: inline-flex; align-items: center; gap: 4px; max-width: 100%;
    padding: 4px 8px; border-radius: 4px; background: var(--zx-light);
    color: var(--zx-navy); font-size: 11px; font-weight: 600; line-height: 1.35;
}
.zx-attr-chip i { color: var(--zx-blue); font-size: 9px; }
.zx-attr-chip-sm { padding: 3px 7px; font-size: 10px; margin: 0 4px 4px 0; background: #eaf2fc; }
.zx-attr-empty { font-size: 12px; color: var(--zx-muted); font-style: italic; }
.zx-product-bottom .th-btn { padding: 9px 15px; font-size: 12px; flex: 0 0 auto; }
.zx-form-section-title {
    display: flex; align-items: center; gap: 10px; width: 100%;
    font-family: "Kanit", sans-serif; font-size: 17px; font-weight: 700; color: var(--zx-navy);
    padding: 12px 0 10px; margin-top: 8px; border-bottom: 1px solid var(--zx-line);
}
.zx-form-section-title i { color: var(--zx-blue); }
.zx-form-section-title small { margin-left: auto; font-family: inherit; font-size: 12px; font-weight: 500; color: var(--zx-muted); }

/* ---------------------------------------------------------
   CERTIFICATIONS
   --------------------------------------------------------- */
.zx-cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.zx-cert-card {
    background: #fff; border: 1px solid var(--zx-line); border-radius: 8px; padding: 18px;
    text-align: center; transition: .3s;
}
.zx-cert-card:hover { border-color: var(--zx-blue); box-shadow: 0 14px 30px rgba(3,19,42,.09); transform: translateY(-5px); }
.zx-cert-card img { width: 100%; height: 150px; object-fit: contain; border-radius: 4px; background: #f8fafc; }
.zx-cert-card h5 { font-size: 16px; margin: 15px 0 5px; }
.zx-cert-card p { font-size: 12px; margin: 0; }

/* ---------------------------------------------------------
   TESTIMONIALS
   --------------------------------------------------------- */
.zx-testi-card { background: #fff; border-radius: 8px; padding: 34px; box-shadow: 0 12px 35px rgba(3,19,42,.08); border-left: 4px solid var(--zx-blue); }
.zx-testi-stars { color: #f5a623; margin-bottom: 14px; font-size: 14px; }
.zx-testi-card p { font-size: 16px; line-height: 1.8; font-style: italic; color: var(--zx-navy); }
.zx-testi-author { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.zx-testi-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.zx-testi-author h5 { margin: 0; font-size: 17px; }
.zx-testi-author span { font-size: 12px; color: var(--zx-blue); }

/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */
.zx-cta {
    background: linear-gradient(120deg, var(--zx-navy), #0a2c5c);
    position: relative; overflow: hidden; padding: 70px 0;
}
.zx-cta:before {
    content: ""; position: absolute; inset: 0; opacity: .12;
    background-image: url('../img/zavex/cta-bg.jpg'); background-size: cover; background-position: center;
}
.zx-cta .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.zx-cta h2 { color: #fff; font-size: 38px; margin: 0 0 8px; }
.zx-cta p { color: #c5d2e4; margin: 0; }

/* ---------------------------------------------------------
   INNER PAGE BANNER
   --------------------------------------------------------- */
.zx-banner {
    position: relative; padding: 95px 0 85px; background: var(--zx-navy); overflow: hidden;
    background-image: linear-gradient(90deg, rgba(3,19,42,.96), rgba(3,19,42,.72)), url('../img/zavex/about.jpg');
    background-size: cover; background-position: center;
}
.zx-banner-inner { position: relative; z-index: 2; }
.zx-banner h1 { color: #fff; font-size: 52px; font-weight: 800; margin: 0 0 12px; }
.zx-banner p { color: #cbd8e8; font-size: 17px; margin: 0; max-width: 650px; }
.zx-breadcrumb { list-style: none; display: flex; gap: 10px; padding: 0; margin: 18px 0 0; font-size: 13px; }
.zx-breadcrumb li { color: #9fb2cc; }
.zx-breadcrumb li.sep:after { content: "/"; color: #5f7593; }
.zx-breadcrumb a { color: #4d9cff; text-decoration: none; }
.zx-breadcrumb a:hover { color: #fff; }

/* ---------------------------------------------------------
   CONTENT PAGES
   --------------------------------------------------------- */
.zx-page-content { font-size: 16px; line-height: 1.95; }
.zx-page-content p { margin-bottom: 20px; }
.zx-page-content h3 { font-size: 26px; margin: 30px 0 14px; }
.zx-page-content img { border-radius: 8px; max-width: 100%; }
.zx-feature-box {
    background: #fff; border: 1px solid var(--zx-line); border-radius: 8px; padding: 28px;
    margin-bottom: 20px; transition: .3s;
}
.zx-feature-box:hover { border-color: var(--zx-blue); box-shadow: 0 14px 30px rgba(3,19,42,.08); }
.zx-feature-box i { font-size: 30px; color: var(--zx-blue); margin-bottom: 16px; }
.zx-feature-box h4 { font-size: 18px; margin-bottom: 8px; }

/* Quality page specific */
.zx-quality-point { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--zx-line); }
.zx-quality-point:last-child { border-bottom: 0; }
.zx-quality-point .zx-qnum {
    flex: 0 0 46px; height: 46px; border-radius: 50%; background: var(--zx-blue); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: "Kanit", sans-serif;
}
.zx-quality-point h5 { margin: 0 0 4px; font-size: 18px; }
.zx-quality-point p { margin: 0; font-size: 14px; }

/* ---------------------------------------------------------
   CONTACT
   --------------------------------------------------------- */
.zx-contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--zx-line); border-radius: 8px; margin-bottom: 16px; }
.zx-contact-card i { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: var(--zx-light); color: var(--zx-blue); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.zx-contact-card h5 { margin: 0 0 5px; font-size: 17px; }
.zx-contact-card p { margin: 0; font-size: 14px; word-break: break-word; }
.zx-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.zx-form-group { margin-bottom: 18px; }
.zx-form-group label { display: block; font-weight: 600; color: var(--zx-navy); margin-bottom: 7px; font-size: 14px; }
.zx-form-control {
    width: 100%; padding: 13px 15px; border: 1px solid var(--zx-line); border-radius: 5px;
    background: #fff; color: var(--zx-navy); font-family: inherit; font-size: 15px; transition: .2s;
}
.zx-form-control:focus { border-color: var(--zx-blue); box-shadow: 0 0 0 3px rgba(0,90,189,.1); outline: none; }
textarea.zx-form-control { min-height: 150px; resize: vertical; }
.zx-alert { padding: 14px 18px; border-radius: 5px; margin-bottom: 20px; font-size: 14px; }
.zx-alert-success { background: #e7f7ee; color: #12683a; border-left: 4px solid #28a745; }
.zx-alert-error, .zx-alert-warning { background: #fff3e6; color: #9a5b00; border-left: 4px solid #f59e0b; }

/* ---------------------------------------------------------
   PRODUCTS LISTING
   --------------------------------------------------------- */
.zx-sidebar-widget { background: #fff; border: 1px solid var(--zx-line); border-radius: 8px; padding: 24px; margin-bottom: 22px; }
.zx-sidebar-widget h4 { font-size: 19px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--zx-line); }
.zx-cat-tree, .zx-cat-tree ul { list-style: none; padding: 0; margin: 0; }
.zx-cat-tree li { border-bottom: 1px dashed var(--zx-line); }
.zx-cat-tree li:last-child { border-bottom: 0; }
.zx-cat-tree a { display: flex; justify-content: space-between; padding: 9px 0; color: var(--zx-navy); font-size: 14px; text-decoration: none; font-weight: 500; }
.zx-cat-tree a:hover, .zx-cat-tree a.current { color: var(--zx-blue); }
.zx-cat-tree ul { padding-left: 15px; }
.zx-cat-tree ul a { font-size: 13px; color: var(--zx-muted); font-weight: 400; }
.zx-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 25px; }
.zx-toolbar p { margin: 0; }
.zx-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.zx-pagination a, .zx-pagination span { min-width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--zx-line); border-radius: 4px; color: var(--zx-navy); text-decoration: none; }
.zx-pagination .active { background: var(--zx-blue); color: #fff; border-color: var(--zx-blue); }

/* Sorting + attribute filters */
.zx-filter-form { background: #fff; border: 1px solid var(--zx-line); border-radius: 8px; padding: 20px 22px; margin-bottom: 26px; }
.zx-filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 14px; }
.zx-filter-field { display: flex; flex-direction: column; gap: 6px; }
.zx-filter-field > span { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--zx-muted); }
.zx-filter-field .zx-form-control { padding: 9px 11px; font-size: 13px; }
.zx-filter-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--zx-line); }
.zx-filter-check { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 13px; font-weight: 600; color: var(--zx-navy); cursor: pointer; }
.zx-filter-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--zx-blue); }
.zx-filter-submit { padding: 8px 16px; font-size: 12px; }
.zx-filter-clear { font-size: 12px; font-weight: 600; color: var(--zx-blue); text-decoration: none; }
.zx-filter-clear:hover { text-decoration: underline; }
@media (max-width: 767px) { .zx-filter-grid { grid-template-columns: repeat(2, 1fr); } }

/* Product detail */
.zx-pd-image { border: 1px solid var(--zx-line); border-radius: 8px; overflow: hidden; background: #fff; }
.zx-pd-image > img { width: 100%; height: 480px; object-fit: contain; display: block; }
.zx-pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.zx-pd-thumbs img { width: 82px; height: 82px; object-fit: cover; border: 1px solid var(--zx-line); border-radius: 5px; cursor: pointer; }
.zx-pd-title { font-size: 34px; margin-bottom: 10px; }
.zx-pd-meta { display: grid; grid-template-columns: 100px 1fr; gap: 10px; font-size: 14px; margin-bottom: 20px; }
.zx-pd-meta dt { color: var(--zx-navy); font-weight: 600; }
.zx-pd-meta dd { margin: 0; }
.zx-pd-spec-title {
    display: flex; align-items: center; gap: 9px; font-family: "Kanit", sans-serif;
    font-size: 18px; font-weight: 700; color: var(--zx-navy);
    margin: 22px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--zx-line);
}
.zx-pd-spec-title i { color: var(--zx-blue); }
.zx-spec-table {
    grid-template-columns: 155px 1fr; gap: 0; border: 1px solid var(--zx-line);
    border-radius: 7px; overflow: hidden; margin-bottom: 24px;
}
.zx-spec-table dt, .zx-spec-table dd { margin: 0; padding: 11px 15px; border-bottom: 1px solid var(--zx-line); font-size: 14px; line-height: 1.5; }
.zx-spec-table dt { background: var(--zx-light); color: var(--zx-navy); font-weight: 600; }
.zx-spec-table dd { color: var(--zx-navy); }
.zx-spec-table > :nth-last-child(-n+2) { border-bottom: 0; }

/* Gallery */
.zx-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.zx-gallery-item { position: relative; border-radius: 8px; overflow: hidden; height: 260px; }
.zx-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.zx-gallery-item:hover img { transform: scale(1.08); }
.zx-gallery-item:after { content: ""; position: absolute; inset: 0; background: rgba(3,19,42,.55); opacity: 0; transition: .3s; }
.zx-gallery-item:hover:after { opacity: 1; }
.zx-gallery-item span { position: absolute; z-index: 2; left: 18px; bottom: 16px; color: #fff; font-weight: 600; opacity: 0; transform: translateY(10px); transition: .3s; }
.zx-gallery-item:hover span { opacity: 1; transform: none; }

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
.zx-footer { background: var(--zx-navy); color: #a9bad1; }
.zx-footer-newsletter { background: #072044; padding: 45px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.zx-newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.zx-newsletter-inner h3 { color: #fff; font-size: 28px; margin: 0 0 6px; }
.zx-newsletter-inner p { margin: 0; font-size: 14px; }
.zx-newsletter-form { display: flex; gap: 10px; }
.zx-newsletter-form input { padding: 14px 16px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: #fff; border-radius: 4px; min-width: 300px; }
.zx-newsletter-form input::placeholder { color: #8fa5c2; }
.zx-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 45px; padding: 70px 0 55px; }
.zx-footer-logo { margin-bottom: 18px; }
.zx-footer-logo .zx-logo-text { color: #fff; }
.zx-footer-col > p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.zx-footer-col h4 { color: #fff; font-size: 19px; margin: 0 0 22px; position: relative; padding-bottom: 12px; }
.zx-footer-col h4:after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--zx-blue); }
.zx-footer-col ul { list-style: none; padding: 0; margin: 0; }
.zx-footer-col ul li { margin-bottom: 11px; font-size: 14px; }
.zx-footer-col ul li a { color: #a9bad1; text-decoration: none; }
.zx-footer-col ul li a:hover { color: #4d9cff; }
.zx-footer-col ul li i { color: var(--zx-blue); margin-right: 8px; }
.zx-footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; }
.zx-footer-contact li i { margin-top: 4px; }
.zx-footer-social { display: flex; gap: 9px; }
.zx-footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.07); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.zx-footer-social a:hover { background: var(--zx-blue); }
.zx-footer-social a[href^="https://wa.me/"] { background: rgba(37,211,102,.14); color: #25d366; }
.zx-footer-social a[href^="https://wa.me/"]:hover { background: #25d366; color: #fff; }
.zx-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 13px; }
.zx-footer-bottom .container { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.zx-footer-bottom p { margin: 0; }
.zx-scroll-top {
    position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--zx-blue); color: #fff; z-index: 100; display: none; box-shadow: 0 6px 18px rgba(0,90,189,.35);
    padding: 0; cursor: pointer;
}
.zx-scroll-top.show { display: block; }
.zx-scroll-ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.zx-scroll-ring path { stroke: rgba(255,255,255,.55); stroke-width: 5; stroke-linecap: round; }
.zx-scroll-top > i { position: relative; z-index: 1; }

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 1199px) {
    .zx-main-menu > ul { gap: 13px; }
    .zx-main-menu > ul > li > a { font-size: 12px; }
    .zx-quote-btn { padding: 11px 14px; }
    .zx-category-grid, .zx-service-grid, .zx-product-grid, .zx-cert-grid, .zx-process-grid { grid-template-columns: repeat(2, 1fr); }
    .zx-process-card { margin-bottom: 40px; }
    .zx-process-card:after { display: none; }
}
@media (max-width: 991px) {
    .zx-section { padding: 70px 0; }
    .zx-hero-title { font-size: 50px; }
    .zx-hero-slide { min-height: 580px; }
    .zx-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 35px; }
    .zx-topbar-left { display: none; }
    .zx-topbar-inner { justify-content: center; }
}
@media (max-width: 767px) {
    .zx-heading h2 { font-size: 32px; }
    .zx-hero-title { font-size: 40px; }
    .zx-hero-slide { min-height: 540px; padding: 100px 0 70px; }
    .zx-category-grid, .zx-service-grid, .zx-product-grid, .zx-cert-grid, .zx-gallery-grid, .zx-form-row { grid-template-columns: 1fr; }
    .zx-footer-grid { grid-template-columns: 1fr; }
    .zx-profile-experience { right: 15px; }
    .zx-newsletter-form { width: 100%; }
    .zx-newsletter-form input { min-width: 0; flex: 1; }
    .zx-banner h1 { font-size: 38px; }
}

/* =========================================================
   PROFESSIONAL POLISH + MOTION
   ========================================================= */
::selection { background: var(--zx-blue); color: #fff; }
html { scroll-behavior: smooth; }

/* Scroll progress indicator (injected by zavex.js) */
.zx-scroll-progress {
    position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 3000;
    background: linear-gradient(90deg, var(--zx-blue), #4d9cff);
    box-shadow: 0 0 10px rgba(0,90,189,.5); transition: width .08s linear;
}

/* Header refinement */
.zx-header-inner { transition: min-height .3s ease; }
.zx-header .menu-area { transition: box-shadow .3s ease; }
.zx-header.is-scrolled .menu-area { box-shadow: 0 10px 34px rgba(3,19,42,.13); }
.zx-header.is-scrolled .zx-header-inner { min-height: 70px; }
.zx-header.is-scrolled .zx-logo-image { max-height: 42px; }
.zx-quote-btn { position: relative; overflow: hidden; }
.zx-quote-btn:after {
    content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
    transform: skewX(-22deg); transition: left .65s ease;
}
.zx-quote-btn:hover:after { left: 135%; }

/* Navigation micro-interactions */
.zx-main-menu > ul > li > a:after { transition: width .3s cubic-bezier(.2,.7,.2,1); }
.zx-main-menu ul.sub-menu li a { transition: padding-left .22s ease, background .22s ease, color .22s ease; }
.zx-main-menu ul.sub-menu li:hover > a { padding-left: 25px; }
.zx-main-menu ul.sub-menu li.menu-item-has-children > a:after { transition: transform .22s ease; }
.zx-main-menu ul.sub-menu li.menu-item-has-children:hover > a:after { transform: translateX(3px); }

/* Hero entrance */
.zx-hero-badge { animation: zxFadeUp .7s .05s both; }
.zx-hero-title { animation: zxFadeUp .8s .15s both; }
.zx-hero-text { animation: zxFadeUp .8s .28s both; }
.zx-hero-buttons { animation: zxFadeUp .8s .4s both; }
@keyframes zxFadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal (JS assigns .zx-reveal / .in)
   Uses translate + scale instead of transform so hover lifts still work. */
.js .zx-reveal {
    opacity: 0; translate: 0 28px;
    transition: opacity .7s ease,
                translate .7s cubic-bezier(.2,.7,.2,1),
                scale .7s cubic-bezier(.2,.7,.2,1);
}
.js .zx-reveal.in { opacity: 1; translate: 0 0; scale: 1 1; }
.js .zx-reveal-left { translate: -34px 0; }
.js .zx-reveal-right { translate: 34px 0; }
.js .zx-reveal-zoom { scale: .9; translate: 0 0; }
.js .zx-reveal-zoom.in { scale: 1; }

/* Card polish */
.zx-category-card, .zx-service-card, .zx-product-card, .zx-cert-card, .zx-feature-box, .zx-contact-card {
    box-shadow: 0 6px 22px rgba(3,19,42,.055);
}
.zx-category-card:after { transition: background .35s ease; }
.zx-category-card:hover:after { background: linear-gradient(180deg, transparent 28%, rgba(3,19,42,.93) 100%); }
.zx-category-card .zx-cat-arrow { transition: transform .3s ease, background .3s ease, color .3s ease; }
.zx-category-card:hover .zx-cat-arrow { transform: translateX(-4px); }
.zx-service-card:before, .zx-feature-box:before { transition: transform .3s ease; }
.zx-process-icon { transition: transform .35s ease, box-shadow .35s ease; }
.zx-process-card:hover .zx-process-icon { transform: translateY(-6px); box-shadow: 0 18px 35px rgba(0,90,189,.22); }
.zx-product-card .zx-product-img:after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background: linear-gradient(180deg, transparent 60%, rgba(0,90,189,.08));
    opacity: 0; transition: opacity .35s ease;
}
.zx-product-card:hover .zx-product-img:after { opacity: 1; }
.zx-scroll-top.show { animation: zxPulse 2.6s infinite; }
@keyframes zxPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,90,189,.4); }
    70% { box-shadow: 0 0 0 13px rgba(0,90,189,0); }
}

/* Headings — animated eyebrow rule */
.zx-heading .sub-title { position: relative; padding-left: 18px; }
.zx-heading .sub-title:before {
    content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 2px; background: var(--zx-blue);
}
.zx-heading.center .sub-title { padding-left: 18px; }

/* Forms — smoother focus */
.zx-form-control { transition: border-color .22s ease, box-shadow .22s ease, background .22s ease; }
.zx-form-control:focus { box-shadow: 0 0 0 4px rgba(0,90,189,.1); }

/* =========================================================
   UNIVERSAL MOTION — responsive feedback on every element
   ========================================================= */
@keyframes zxFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zxSlideDown { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zxZoomIn { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }
@keyframes zxFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes zxGradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes zxDashFlow { to { background-position: 10px 0; } }

/* Buttons / links — universal lift + glow */
.th-btn, .zx-btn-outline {
    transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease,
                background-color .28s ease, border-color .28s ease, color .28s ease !important;
}
.th-btn:hover, .zx-btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0,90,189,.28);
}
.zx-btn-outline { position: relative; overflow: hidden; }
.zx-btn-outline:after {
    content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    transform: skewX(-22deg); transition: left .6s ease;
}
.zx-btn-outline:hover:after { left: 135%; }

/* Topbar */
.zx-topbar a, .zx-topbar span { transition: color .25s ease; }
.zx-topbar-left a:hover { color: #fff; }
.zx-topbar-social a {
    transition: transform .3s cubic-bezier(.2,.7,.2,1), background .3s ease, color .3s ease;
}
.zx-topbar-social a:hover { transform: translateY(-3px) scale(1.12); background: var(--zx-blue); }

/* Logo */
.zx-logo { transition: transform .3s ease; }
.zx-logo:hover { transform: translateY(-2px); }
.zx-logo-mark { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.zx-logo:hover .zx-logo-mark { transform: rotate(-10deg) scale(1.08); }
.zx-logo-image { transition: max-height .3s ease; }

/* Hero slider + pagination */
.zx-hero .swiper-pagination-bullet { transition: width .3s ease, opacity .3s ease, background .3s ease; }
.zx-hero .swiper-pagination-bullet:hover { background: var(--zx-blue); opacity: .9; }
.zx-hero-slide:before { animation: zxFadeIn 1.2s both; }

/* Inner-page banner entrance */
.zx-banner h1 { animation: zxFadeUp .8s .08s both; }
.zx-banner p { animation: zxFadeUp .8s .2s both; }
.zx-breadcrumb { animation: zxFadeUp .8s .3s both; }
.zx-breadcrumb a { transition: color .25s ease, padding-left .25s ease; }
.zx-breadcrumb a:hover { padding-left: 4px; }

/* Profile / about block */
.zx-profile-img img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.zx-profile-img:hover img { transform: scale(1.06); }
.zx-profile-experience {
    animation: zxFloat 4.5s ease-in-out infinite;
    transition: scale .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.zx-profile-experience:hover { scale: 1.07; box-shadow: 0 18px 40px rgba(0,90,189,.4); }
.zx-profile-experience strong { display: inline-block; transition: color .3s ease; }
.zx-profile-experience:hover strong { color: #cfe6ff; }

/* Stats + check lists */
.zx-stat { transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s ease; }
.zx-stat:hover { transform: translateX(7px); border-color: #4d9cff; }
.zx-stat strong { display: inline-block; transition: color .3s ease, scale .3s ease; }
.zx-stat:hover strong { color: var(--zx-blue); scale: 1.08; }
.zx-check-list li { transition: transform .3s ease, color .3s ease; }
.zx-check-list li:before { display: inline-block; transition: transform .35s ease, color .3s ease; }
.zx-check-list li:hover { transform: translateX(8px); color: var(--zx-blue); }
.zx-check-list li:hover:before { transform: scale(1.25) rotate(-10deg); }

/* Category cards */
.zx-category-body h3, .zx-category-body p, .zx-subcat-list span { transition: transform .3s ease, background .3s ease; }
.zx-category-card:hover .zx-category-body h3 { transform: translateY(-2px); }
.zx-category-card:hover .zx-subcat-list span { transform: translateY(-2px); background: rgba(0,90,189,.5); }

/* Process steps */
.zx-process-card:not(:last-child):after { background-size: 10px 2px; animation: zxDashFlow 1.4s linear infinite; }
.zx-process-icon i { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.zx-process-card:hover .zx-process-icon i { transform: scale(1.16) rotate(-8deg); }
.zx-process-number { transition: transform .45s cubic-bezier(.2,.7,.2,1), background .3s ease; }
.zx-process-card:hover .zx-process-number { transform: rotate(360deg) scale(1.12); background: #4d9cff; }

/* Services */
.zx-service-icon { transition: transform .4s cubic-bezier(.2,.7,.2,1), background .3s ease, color .3s ease; }
.zx-service-card:hover .zx-service-icon { transform: translateY(-4px) rotate(-8deg); }
.zx-service-card .zx-read-more { transition: transform .3s ease, color .3s ease; }
.zx-service-card:hover .zx-read-more { transform: translateX(6px); color: var(--zx-navy); }

/* Product cards */
.zx-product-badge { animation: zxZoomIn .5s .2s both; transition: transform .3s ease; }
.zx-product-card:hover .zx-product-badge { transform: scale(1.09); }
.zx-product-cat { transition: transform .3s ease; }
.zx-product-card:hover .zx-product-cat { transform: translateX(4px); }
.zx-attr-chip { transition: transform .25s ease, background .25s ease; }
.zx-product-card:hover .zx-attr-chip { transform: translateY(-2px); background: #e2eefb; }
.zx-product-bottom .th-btn { transition: transform .3s ease, box-shadow .3s ease !important; }
.zx-product-card:hover .zx-product-bottom .th-btn { transform: translateX(3px); box-shadow: 0 6px 16px rgba(0,90,189,.3); }

/* Certifications + feature boxes + quality */
.zx-cert-card img { transition: transform .45s ease; }
.zx-cert-card:hover img { transform: scale(1.05); }
.zx-feature-box i { display: inline-block; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.zx-feature-box:hover i { transform: scale(1.18) rotate(-8deg); }
.zx-quality-point .zx-qnum { transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.zx-quality-point:hover .zx-qnum { transform: rotate(-10deg) scale(1.12); box-shadow: 0 10px 22px rgba(0,90,189,.28); }

/* Contact cards */
.zx-contact-card { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.zx-contact-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(3,19,42,.1); border-color: var(--zx-blue); }
.zx-contact-card i { transition: transform .4s cubic-bezier(.2,.7,.2,1), background .3s ease, color .3s ease; }
.zx-contact-card:hover i { transform: scale(1.12) rotate(8deg); background: var(--zx-blue); color: #fff; }

/* Forms / alerts */
.zx-form-group { transition: transform .35s ease; }
.zx-form-group:focus-within { transform: translateX(6px); }
.zx-form-control { transform: translateZ(0); }
.zx-alert { animation: zxSlideDown .5s both; }

/* Listing sidebar / toolbar / pagination */
.zx-sidebar-widget { transition: transform .35s ease, box-shadow .35s ease; }
.zx-sidebar-widget:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(3,19,42,.08); }
.zx-cat-tree a { transition: padding-left .28s ease, background .28s ease, color .28s ease; }
.zx-cat-tree a:hover, .zx-cat-tree a.current { padding-left: 8px; background: var(--zx-light); }
.zx-toolbar { animation: zxFadeIn .6s both; }
.zx-filter-form { animation: zxFadeIn .6s both; transition: box-shadow .3s ease, border-color .3s ease; }
.zx-filter-form:hover { border-color: #bcd4f1; box-shadow: 0 10px 26px rgba(3,19,42,.06); }
.zx-filter-field .zx-form-control:focus { box-shadow: 0 0 0 3px rgba(0,90,189,.12); }
.zx-pagination a, .zx-pagination span { transition: transform .28s ease, box-shadow .28s ease, background .28s ease; }
.zx-pagination a:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(0,90,189,.2); background: var(--zx-light); }

/* Product detail */
.zx-pd-image > img { animation: zxFadeIn .8s both; transition: transform .6s ease, opacity .3s ease; }
.zx-pd-image:hover > img { transform: scale(1.04); }
.zx-pd-thumbs img { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.zx-pd-thumbs img:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 8px 18px rgba(0,90,189,.22); }
.zx-pd-thumbs img.active { border-color: var(--zx-blue); box-shadow: 0 0 0 2px rgba(0,90,189,.16); }
.zx-pd-spec-title i { display: inline-block; transition: transform .35s ease; }
.zx-pd-spec-title:hover i { transform: rotate(-14deg) scale(1.15); }
.zx-spec-table dt, .zx-spec-table dd { transition: background .28s ease; }
.zx-spec-table dt:hover, .zx-spec-table dt:hover + dd { background: #e4effc; }

/* CTA band */
.zx-cta { background-size: 200% 200%; animation: zxGradientShift 14s ease infinite; }
.zx-cta .th-btn { transition: transform .3s ease, box-shadow .3s ease !important; }
.zx-cta:hover .th-btn { transform: translateY(-4px) scale(1.02); box-shadow: 0 14px 30px rgba(0,90,189,.4); }

/* Footer */
.zx-footer-col { transition: transform .4s ease; }
.zx-footer-col:hover { transform: translateY(-5px); }
.zx-footer-col h4:after { transition: width .35s ease; }
.zx-footer-col:hover h4:after { width: 54px; }
.zx-footer-col ul li a { transition: color .25s ease, padding-left .25s ease; }
.zx-footer-col ul li a:hover { padding-left: 6px; }
.zx-footer-social a {
    transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s ease, color .3s ease;
}
.zx-footer-social a:hover { transform: translateY(-5px) rotate(-10deg); background: var(--zx-blue); }
.zx-newsletter-form input { transition: border-color .28s ease, background .28s ease; }
.zx-newsletter-form input:focus { border-color: #4d9cff; background: rgba(255,255,255,.1); outline: none; }
.zx-newsletter-form .th-btn { transition: transform .3s ease !important; }
.zx-newsletter-form .th-btn:hover { transform: translateX(5px); }
.zx-newsletter-note { animation: zxFadeIn .45s both; }
.zx-footer-bottom p, .zx-footer-credit { transition: color .3s ease; }
.zx-footer-bottom:hover p { color: #dbe7f6; }

/* Back to top */
.zx-scroll-top { transition: transform .3s cubic-bezier(.2,.7,.2,1), background .3s ease; }
.zx-scroll-top:hover { transform: translateY(-5px) scale(1.1); background: var(--zx-navy); }

/* Gallery (when used) */
.zx-gallery-item img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.zx-gallery-item:after { transition: opacity .35s ease; }
.zx-gallery-item span { transition: opacity .35s ease, translate .35s ease; }
.zx-gallery-item:hover span { translate: 0 0; }

/* ------------------------------------------------------------------ */
/* Product detail image zoomer                                         */
/* ------------------------------------------------------------------ */
.zx-zoom-wrap { position: relative; overflow: visible; cursor: zoom-in; }
.zx-zoom-wrap > .zx-zoom-image { border-radius: 7px; }
.zx-pd-image:hover > .zx-zoom-image { transform: none; }
.zx-zoom-hint {
    position: absolute; left: 12px; bottom: 12px; z-index: 2;
    background: rgba(3, 19, 42, .82); color: #fff; padding: 7px 12px;
    border-radius: 4px; font-size: 12px; letter-spacing: .02em;
    pointer-events: none; opacity: 0; transition: opacity .25s ease;
}
.zx-zoom-wrap:hover .zx-zoom-hint { opacity: 1; }
.zx-zoom-lens {
    position: absolute; z-index: 4; display: none; pointer-events: none;
    border: 1px solid rgba(0, 90, 189, .7); border-radius: 6px;
    background: rgba(255, 255, 255, .28);
    box-shadow: 0 6px 18px rgba(3, 19, 42, .18);
}
.zx-zoom-pane {
    position: absolute; z-index: 30; top: 0; left: calc(100% + 16px);
    display: none; overflow: hidden; background: #fff;
    border: 1px solid var(--zx-line); border-radius: 8px;
    box-shadow: 0 18px 45px rgba(3, 19, 42, .22);
}
.zx-zoom-pane img {
    width: 100%; height: 100%; object-fit: contain; display: block;
    transform: scale(2.2); will-change: transform;
}
.zx-pd-single-note { margin-top: 12px; font-size: 13px; color: #7c8ba0; }
.zx-pd-single-note i { color: var(--zx-blue); margin-right: 6px; }

/* Related products heading keeps its call-to-action on one line */
.zx-related-heading { text-align: left; }
.zx-related-heading .th-btn { margin-top: 6px; }
.zx-related-heading h2 { margin-bottom: 6px; }

/* Full-size lightbox */
.zx-lightbox {
    position: fixed; inset: 0; z-index: 9999; display: none;
    align-items: center; justify-content: center; padding: 5vh 5vw;
    background: rgba(3, 19, 42, .92);
}
.zx-lightbox.show { display: flex; }
.zx-lightbox img {
    max-width: 100%; max-height: 90vh; object-fit: contain;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}
.zx-lightbox-close {
    position: absolute; top: 22px; right: 28px; width: 44px; height: 44px;
    border: 1px solid rgba(255,255,255,.4); border-radius: 50%;
    background: rgba(255,255,255,.08); color: #fff; font-size: 30px;
    line-height: 1; cursor: pointer;
}
.zx-lightbox-close:hover { background: var(--zx-blue); border-color: var(--zx-blue); }
body.zx-lightbox-open { overflow: hidden; }

@media (max-width: 991.98px), (hover: none) {
    .zx-zoom-lens, .zx-zoom-pane { display: none !important; }
    .zx-zoom-wrap { cursor: zoom-in; }
    .zx-zoom-hint { opacity: 1; }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after {
        animation-duration: .001ms !important; animation-iteration-count: 1 !important;
        transition-duration: .001ms !important; scroll-behavior: auto !important;
    }
    .js .zx-reveal { opacity: 1 !important; translate: none !important; scale: none !important; }
}
