/* =========================================================
   P.J MACHINERY PART - SiamWebsite 27 Custom Stylesheet
   Concept: Ecosystem Liquid Glass
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
    font-family: 'Kanit', sans-serif !important;
}

img {
    max-width: 100%;
}

.feature_content {
    background: #ffffff;
}

.banner_inner_text ul li:hover a,
.banner_inner_text ul li.active a {
    color: #eaeaea;
}

@media (min-width: 576px) {
    .navbar-expand-sm .navbar-nav .nav-link {
        padding-right: 0.8rem;
        padding-left: 0.8rem;
    }
}

/* Main Content Wrapper */
.pj-main-content {
    display: block;
    width: 100%;
    overflow-x: hidden;
}

/* =========================================================
   Liquid Glass Header & Compact Capsule Navigation (2HeadMenu.php)
   ========================================================= */
.pj-header {
    position: relative;
    z-index: 999;
    background: linear-gradient(180deg, #00357f 0%, #0048ab 100%);
}

.pj-header .pj-header-top {
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(0, 42, 108, 0.96) 0%, rgba(0, 72, 171, 0.92) 55%, rgba(14, 100, 210, 0.92) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.pj-header .pj-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 10px;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.pj-header .pj-logo-link:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.pj-header .pj-logo-img {
    width: 86px;
    max-width: 100%;
    height: auto;
    display: block;
}

.pj-header .pj-brand-label {
    color: rgba(255, 255, 255, 0.92);
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0.03em;
    margin: 0;
}

.pj-header .pj-brand-label-en {
    color: rgba(255, 255, 255, 0.78);
    font-size: 11.5px;
    font-weight: 300;
    letter-spacing: 0.06em;
    margin: 0;
    text-align: right;
}

/* Floating Liquid Glass Navigation Bar */
.pj-header .pj-header-middle {
    background: transparent;
    padding: 8px 0;
    border-bottom: none;
    box-shadow: none;
    transition: padding 0.3s ease;
}

.pj-header .pj-header-middle.sticky,
.pj-header .pj-header-middle.is-sticky {
    background: transparent !important;
    box-shadow: none !important;
    padding: 10px 0;
}

.pj-header .pj-nav-container {
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    justify-content: center;
}

.pj-header .pj-glass-nav-shell {
    display: inline-block;
    width: auto;
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(22px) saturate(190%);
    -webkit-backdrop-filter: blur(22px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 10px 30px rgba(0, 42, 108, 0.16),
        inset 0 1px 1px rgba(255, 255, 255, 0.95),
        inset 0 -1px 1px rgba(0, 72, 171, 0.08);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.pj-header .pj-header-middle.sticky .pj-glass-nav-shell,
.pj-header .pj-header-middle.is-sticky .pj-glass-nav-shell {
    background: rgba(255, 255, 255, 0.82);
    box-shadow:
        0 14px 36px rgba(0, 36, 94, 0.22),
        inset 0 1px 1px rgba(255, 255, 255, 0.98);
}

.pj-header .header-bottom-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pj-header .header-bottom-list > li {
    position: relative;
    text-align: center;
    margin: 0;
}

.pj-header .header-bottom-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 13px;
    border-radius: 999px;
    color: #0f294d;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    position: relative;
    transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.pj-header .header-bottom-list > li > a::after {
    display: none;
}

.pj-header .header-bottom-list > li:hover > a {
    color: #0048ab;
    background: rgba(0, 72, 171, 0.10);
}

.pj-header .header-bottom-list > li.active > a {
    color: #ffffff;
    background: linear-gradient(135deg, #0048ab 0%, #1c6bc1 100%);
    box-shadow:
        0 6px 16px rgba(0, 72, 171, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Liquid Glass Dropdown Menu */
.pj-header .ht-dropdown {
    top: calc(100% + 10px);
    left: 0;
    min-width: 235px;
    padding: 8px;
    background: rgba(6, 40, 98, 0.84);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 18px;
    box-shadow:
        0 20px 44px rgba(0, 28, 78, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    height: fit-content;
    text-align: left;
}

.pj-header .ht-dropdown::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

.pj-header .ht-dropdown .li_index1 {
    display: block;
    width: 100%;
    text-align: left;
    border-radius: 12px;
    border-bottom: none;
    margin-bottom: 2px;
    transition: background-color 0.2s ease;
}

.pj-header .ht-dropdown .li_index1:last-child {
    margin-bottom: 0;
}

.pj-header .ht-dropdown .li_index1 > a {
    display: block;
    padding: 9px 14px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.4;
    transition: padding-left 0.2s ease, background-color 0.2s ease;
}

.pj-header .ht-dropdown .li_index1:hover,
.pj-header .ht-dropdown .li_index1.active {
    background: rgba(255, 255, 255, 0.16);
}

.pj-header .ht-dropdown .li_index1:hover > a,
.pj-header .ht-dropdown .li_index1.active > a {
    padding-left: 19px;
    color: #ffffff !important;
}

/* Mobile Menu (MeanMenu Override) */
.pj-header .mean-container .mean-bar {
    background: linear-gradient(135deg, #003e96 0%, #0048ab 100%);
    border-radius: 14px;
    margin-top: 2px;
    margin-bottom: 2px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.pj-header .mean-container .mean-nav {
    background: rgba(0, 44, 110, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 0 0 14px 14px;
    overflow: hidden;
}

.pj-header .mean-container .mean-nav ul li a {
    font-family: 'Kanit', sans-serif !important;
    font-size: 14px;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pj-header .mean-container .mean-nav ul li a:hover {
    background: #1c6bc1;
    color: #ffffff;
}

@media (max-width: 1199px) {
    .pj-header .pj-glass-nav-shell {
        border-radius: 22px;
    }

    .pj-header .header-bottom-list > li > a {
        padding: 6px 10px;
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .pj-header .pj-header-middle {
        padding: 6px 0;
    }

    .pj-header .pj-glass-nav-shell {
        width: 100%;
        padding: 4px 6px;
        border-radius: 18px;
    }

    .pj-header .pj-logo-img {
        width: 80px;
    }
}

/* =========================================================
   Detail Sections & Ecosystem Liquid Glass (detail.php)
   ========================================================= */
.work_area:before {
    content: "";
    background: rgba(11, 84, 161, 0);
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Section: MACHINERY PARTS - Ecosystem Liquid Glass */
.pj-liquid-ecosystem {
    position: relative;
    overflow: hidden;
    padding: 78px 0 88px;
    background: linear-gradient(155deg, #eef5ff 0%, #dceaff 48%, #f4f9ff 100%);
    z-index: 1;
}

.pj-liquid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.pj-liquid-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.62;
    animation: pjOrbFloat 14s ease-in-out infinite alternate;
}

.pj-orb-1 {
    width: 420px;
    height: 420px;
    top: -110px;
    left: -90px;
    background: radial-gradient(circle, rgba(0, 72, 171, 0.42) 0%, rgba(56, 189, 248, 0.14) 70%, transparent 100%);
}

.pj-orb-2 {
    width: 460px;
    height: 460px;
    bottom: -140px;
    right: -100px;
    background: radial-gradient(circle, rgba(28, 107, 193, 0.36) 0%, rgba(14, 165, 233, 0.16) 70%, transparent 100%);
    animation-delay: -5s;
}

.pj-orb-3 {
    width: 300px;
    height: 300px;
    top: 38%;
    left: 52%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(147, 197, 253, 0.55) 0%, rgba(255, 255, 255, 0.10) 75%, transparent 100%);
    animation-delay: -9s;
}

@keyframes pjOrbFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(28px, -22px, 0) scale(1.08);
    }
}

.pj-liquid-ecosystem .container {
    position: relative;
    z-index: 2;
}

/* Liquid Glass Section Header */
.pj-ecosystem-header {
    text-align: center;
    margin-bottom: 38px;
}

.pj-ecosystem-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    margin-bottom: 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #0048ab;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 6px 18px rgba(0, 72, 171, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.pj-ecosystem-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0048ab, #38bdf8);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.85);
}

.pj-liquid-ecosystem .text_1 {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    margin-bottom: 10px;
    color: #0b53a1;
    background: linear-gradient(135deg, #00357f 0%, #0b53a1 50%, #1d8cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pj-ecosystem-subtitle {
    margin: 0 auto;
    max-width: 600px;
    font-size: 15px;
    font-weight: 400;
    color: #3b5375;
}

/* Liquid Glass Ecosystem Outer Shell */
.pj-ecosystem-shell {
    padding: 26px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(26px) saturate(190%);
    -webkit-backdrop-filter: blur(26px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
        0 24px 60px rgba(0, 52, 128, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.92),
        inset 0 -1px 2px rgba(0, 72, 171, 0.06);
}

.pj-glass-col {
    margin-bottom: 24px;
}

/* Individual Liquid Glass Card */
.pj-glass-card {
    position: relative;
    height: 100%;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.56);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow:
        0 14px 32px rgba(0, 56, 136, 0.10),
        inset 0 1px 1px rgba(255, 255, 255, 0.95);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, background 0.35s ease;
    overflow: hidden;
}

.pj-glass-card::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -60%;
    width: 65%;
    height: 300%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: rotate(28deg);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 3;
}

.pj-glass-card:hover {
    transform: translateY(-6px) scale(1.01);
    background: rgba(255, 255, 255, 0.74);
    box-shadow:
        0 24px 48px rgba(0, 72, 171, 0.18),
        inset 0 1px 1px rgba(255, 255, 255, 1);
}

.pj-glass-card:hover::before {
    left: 135%;
}

.pj-glass-media {
    position: relative;
    border-radius: 17px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.65);
}

.pj-glass-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.pj-glass-img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pj-glass-card:hover .pj-glass-img {
    transform: scale(1.04);
}

.pj-glass-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
    color: #0b3c82;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0, 40, 104, 0.16);
    opacity: 0.92;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    z-index: 2;
}

.pj-glass-card:hover .pj-glass-zoom {
    background: rgba(0, 72, 171, 0.88);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .pj-liquid-ecosystem {
        padding: 52px 0 58px;
    }

    .pj-ecosystem-shell {
        padding: 14px;
        border-radius: 22px;
    }

    .pj-glass-card {
        padding: 9px;
        border-radius: 18px;
    }

    .pj-glass-img {
        height: 240px;
    }
}

/* Section 4: Accordion Image Gallery */
.pj-accordion-gallery-section {
    background: #a8aaae;
    padding: 0;
}

.pj-accordion-gallery-section .gallery-wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 70vh;
}

.pj-accordion-gallery-section .item {
    flex: 1;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: flex 0.8s ease;
}

.pj-accordion-gallery-section .item:hover {
    flex: 7;
}

/* =========================================================
   Category & Product Pages: Banner & Feature Content Liquid Glass
   (category.php & product.php)
   ========================================================= */
.pj-category-banner {
    position: relative;
    overflow: hidden;
    padding: 78px 0 68px !important;
    z-index: 3;
}

.pj-category-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(0, 28, 78, 0.72) 0%, rgba(0, 62, 150, 0.48) 55%, rgba(8, 22, 54, 0.74) 100%) !important;
}

.pj-banner-glass-card {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 26px 32px;
    border-radius: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow:
        0 20px 46px rgba(0, 20, 60, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.pj-banner-glass-card ul {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    margin: 0 0 14px;
    list-style: none;
    border-radius: 999px;
    background: rgba(0, 36, 94, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.pj-banner-glass-card ul li {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.pj-banner-glass-card ul li + li::before {
    content: "/";
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.55);
}

.pj-banner-glass-card ul li a {
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.2s ease;
}

.pj-banner-glass-card ul li a:hover {
    color: #7dd3fc;
}

.pj-banner-glass-card h4 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 18, 52, 0.35);
}

.pj-banner-subdetail {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14.5px;
    line-height: 1.6;
}

.pj-banner-subdetail p,
.pj-banner-subdetail span {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 4px;
}

.pj-banner-accent {
    width: 64px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), #7dd3fc, rgba(255, 255, 255, 0.25));
}

/* Category & Subcategory Grid Section */
.feature_content.pj-category-products {
    position: relative;
    overflow: hidden;
    padding: 56px 0 70px !important;
    background: linear-gradient(160deg, #f3f7ff 0%, #e7f0ff 52%, #f7faff 100%) !important;
}

.pj-cat-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.pj-cat-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(75px);
    opacity: 0.5;
}

.pj-cat-orb-1 {
    width: 360px;
    height: 360px;
    top: -100px;
    right: -80px;
    background: radial-gradient(circle, rgba(0, 72, 171, 0.24) 0%, transparent 72%);
}

.pj-cat-orb-2 {
    width: 340px;
    height: 340px;
    bottom: -110px;
    left: -80px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, transparent 72%);
}

.feature_content.pj-category-products .container {
    position: relative;
    z-index: 2;
}

.pj-cat-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 26px;
    padding: 12px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow:
        0 10px 26px rgba(0, 52, 128, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.pj-cat-toolbar-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #0f294d;
    margin: 0;
}

.pj-cat-toolbar-count {
    font-size: 13px;
    font-weight: 400;
    color: #0048ab;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(0, 72, 171, 0.08);
    border: 1px solid rgba(0, 72, 171, 0.14);
}

.pj-product-col {
    margin-bottom: 24px;
}

.pj-product-link {
    display: block;
    height: 100%;
    text-decoration: none !important;
}

.pj-product-glass-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow:
        0 12px 28px rgba(0, 52, 128, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.pj-product-link:hover .pj-product-glass-card {
    transform: translateY(-5px);
    border-color: rgba(0, 72, 171, 0.28);
    box-shadow:
        0 20px 40px rgba(0, 72, 171, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.pj-product-thumb {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}

.pj-product-thumb .card-img-top {
    width: 100%;
    height: 215px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.pj-product-thumb.pj-subcat-thumb {
    padding: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 72, 171, 0.06);
}

.pj-product-thumb.pj-subcat-thumb .card-img-top {
    height: 195px;
    object-fit: contain;
}

.pj-product-link:hover .pj-product-thumb .card-img-top {
    transform: scale(1.04);
}

.pj-product-body {
    margin-top: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(11, 74, 162, 0.94) 0%, rgba(22, 100, 202, 0.94) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex: 1 0 auto;
    transition: background 0.25s ease;
}

.pj-product-link:hover .pj-product-body {
    background: linear-gradient(135deg, #003e96 0%, #1c6bc1 100%);
}

.pj-product-body .text_index2 {
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    margin: 0;
}

.pj-product-arrow {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    flex-shrink: 0;
    transition: transform 0.25s ease, color 0.25s ease;
}

.pj-product-link:hover .pj-product-arrow {
    color: #ffffff;
    transform: translateX(3px);
}

.pj-empty-glass {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    border-radius: 22px;
    color: #3b5375;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.88);
}

@media (max-width: 767px) {
    .pj-category-banner {
        padding: 54px 0 46px !important;
    }

    .pj-banner-glass-card {
        padding: 20px 18px;
        border-radius: 18px;
    }

    .feature_content.pj-category-products {
        padding: 36px 0 46px !important;
    }

    .pj-product-thumb.pj-subcat-thumb .card-img-top {
        height: 155px;
    }
}

/* =========================================================
   Product Detail Page: Ecosystem Liquid Glass (product_detail.php)
   ========================================================= */
.pj-liquid-product-detail {
    position: relative;
    overflow: hidden;
    padding: 52px 0 38px !important;
    margin-bottom: 0 !important;
    background: linear-gradient(160deg, #eff5ff 0%, #e4efff 50%, #f7faff 100%) !important;
}

.pj-liquid-product-detail .container {
    position: relative;
    z-index: 2;
}

.pj-detail-glass-shell {
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(22px) saturate(185%);
    -webkit-backdrop-filter: blur(22px) saturate(185%);
    border: 1px solid rgba(255, 255, 255, 0.90);
    box-shadow:
        0 20px 50px rgba(0, 52, 128, 0.10),
        inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

.pj-detail-gallery-card {
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 30px rgba(0, 56, 136, 0.08);
}

.pj-detail-gallery-card .tab-content {
    border: none !important;
    margin-bottom: 0 !important;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
}

.pj-detail-img-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.pj-detail-main-img {
    width: 100%;
    max-height: 390px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.pj-detail-img-link:hover .pj-detail-main-img {
    transform: scale(1.03);
}

.pj-detail-img-link:hover .pj-glass-zoom {
    background: rgba(0, 72, 171, 0.90);
    color: #ffffff;
}

.pj-detail-info-card {
    height: 100%;
    padding: 8px 6px 8px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pj-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    padding: 5px 13px;
    margin-bottom: 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #0048ab;
    background: rgba(0, 72, 171, 0.08);
    border: 1px solid rgba(0, 72, 171, 0.16);
}

.pj-detail-title {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 600;
    color: #0b2d62;
    margin-bottom: 16px;
    line-height: 1.35;
}

.pj-detail-summary {
    font-size: 14.5px;
    line-height: 1.75;
    color: #2b4263;
    padding: 18px 20px;
    margin: 0 0 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 20px rgba(0, 52, 128, 0.05);
}

.pj-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.pj-detail-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 500;
    color: #ffffff !important;
    background: linear-gradient(135deg, #0048ab 0%, #1c6bc1 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 10px 24px rgba(0, 72, 171, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pj-detail-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 72, 171, 0.36);
    text-decoration: none;
}

.pj-detail-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 400;
    color: #0b3c82 !important;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 72, 171, 0.18);
    transition: background 0.25s ease, transform 0.25s ease;
}

.pj-detail-back-btn:hover {
    background: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Product Detail Tabs Section */
.pj-detail-tabs-section {
    position: relative;
    padding: 10px 0 56px;
    background: linear-gradient(180deg, #f7faff 0%, #edf4ff 100%);
}

.pj-detail-tabs-glass {
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.94) !important;
    box-shadow:
        0 18px 42px rgba(0, 52, 128, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.pj-detail-tabs-glass .tabs-area {
    padding: 12px 20px;
    background: linear-gradient(135deg, #003b8f 0%, #0048ab 60%, #1664ca 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.pj-detail-tabs-glass .main-thumb-desc li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    border-bottom: none !important;
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
}

.pj-detail-tabs-glass .main-thumb-desc li a.active {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #ffffff;
}

.pj-detail-tabs-glass .thumb-content {
    padding: 26px 28px;
    background: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    color: #1e293b;
}

.pj-detail-tabs-glass iframe {
    border: none;
    max-width: 100%;
    border-radius: 12px;
}

.pj-detail-tabs-glass img {
    max-width: 100%;
    height: auto !important;
    border-radius: 10px;
}

@media (max-width: 767px) {
    .pj-liquid-product-detail {
        padding: 32px 0 24px !important;
    }

    .pj-detail-glass-shell {
        padding: 14px;
        border-radius: 20px;
    }

    .pj-detail-info-card {
        padding: 16px 4px 4px;
    }

    .pj-detail-tabs-glass .thumb-content {
        padding: 18px 16px;
    }
}

/* =========================================================
   Footer Area: Ecosystem Liquid Glass (3Footer.php)
   ========================================================= */
.pj-liquid-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, #002056 0%, #003e96 48%, #0052bd 100%);
    color: #ffffff;
}

.pj-footer-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.pj-footer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(75px);
}

.pj-footer-orb-1 {
    width: 380px;
    height: 380px;
    top: -120px;
    left: -80px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.26) 0%, transparent 72%);
}

.pj-footer-orb-2 {
    width: 420px;
    height: 420px;
    bottom: -140px;
    right: -90px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.22) 0%, transparent 72%);
}

.pj-liquid-footer .pj-footer-widgets {
    position: relative;
    z-index: 2;
    padding: 48px 0 40px !important;
    background: transparent !important;
}

.pj-footer-glass-shell {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow:
        0 20px 50px rgba(0, 14, 48, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.pj-footer-logo-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.pj-footer-logo-img {
    width: 132px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 12px;
}

.pj-footer-eco-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 32, 86, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.20);
}

.pj-footer-about {
    padding: 6px 10px;
}

.pj-footer-company-th {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.35;
}

.pj-footer-company-en {
    color: #93c5fd;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    margin: 0 0 12px;
}

.pj-footer-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    margin: 0 0 14px;
}

.pj-footer-divider {
    border: 0;
    height: 1px;
    margin: 12px 0 14px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08));
}

.pj-footer-db-detail {
    color: rgba(255, 255, 255, 0.90);
    font-size: 14px;
    line-height: 1.7;
}

.pj-footer-db-detail p {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.90);
}

.pj-footer-highlights {
    height: 100%;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(0, 28, 78, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.pj-footer-highlights-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 12px;
}

.pj-footer-pillar-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.pj-footer-pillar-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.pj-footer-pillar-list li i {
    color: #7dd3fc;
    margin-top: 4px;
    font-size: 12px;
}

.pj-footer-cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pj-footer-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 400;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    transition: background 0.25s ease, transform 0.25s ease;
}

.pj-footer-pill-btn:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-1px);
    text-decoration: none;
}

.pj-liquid-footer .pj-footer-bottom {
    position: relative;
    z-index: 2;
    padding: 13px 10px !important;
    background: rgba(2, 16, 56, 0.62) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.pj-liquid-footer .pj-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    text-align: center;
}

.pj-liquid-footer .pj-footer-bottom a {
    color: #93c5fd !important;
    font-weight: 500;
}

.pj-liquid-footer .pj-footer-bottom a:hover {
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .pj-footer-glass-shell {
        padding: 20px;
    }

    .pj-footer-logo-box,
    .pj-footer-about {
        margin-bottom: 18px;
    }

    .pj-footer-about {
        text-align: center;
    }
}
