/*
Theme Name: Hiphoenix Bilingual Theme
Theme URI: https://www.spacex.vg/Hiphoenix/
Author: Hiphoenix Technology
Description: Custom bilingual (Chinese & English) WordPress theme for Hebei Hiphoenix Technology Co., Ltd. (河北斯罗米克科技股份有限公司), preserving original visual layout and interactive components with Polylang integration.
Version: 1.0.0
Text Domain: hiphoenix
*/

.e_html-14 a.active-lang {
    color: #056eb7 !important;
    font-weight: 700 !important;
}
body.admin-bar .main {
    margin-top: 0;
}
/* Disable lazy-load blur filter on all images including partner logos and footer QR codes */
img[lazy], img[la="la"] {
    filter: blur(0) !important;
    -webkit-filter: blur(0) !important;
    transition: none !important;
}

/* === EN FOOTER WESTERN LAYOUT === */
@media (min-width: 992px) {
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-167 {
        padding-top: 56px !important;
        padding-bottom: 48px !important;
    }
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-4 {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: stretch !important;
        width: 94% !important;
        max-width: 1360px !important;
        position: relative !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-4 .cbox-4-0 {
        flex: 0 0 57% !important;
        max-width: 57% !important;
        width: 57% !important;
        padding-right: 32px !important;
        box-sizing: border-box !important;
    }
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-173 {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: stretch !important;
        width: 100% !important;
    }
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-173 > .cbox-173-0 {
        flex: 0 0 52% !important;
        max-width: 52% !important;
        width: 52% !important;
        padding-right: 28px !important;
        border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-sizing: border-box !important;
    }
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-173 > .cbox-173-1 {
        flex: 0 0 48% !important;
        max-width: 48% !important;
        width: 48% !important;
        padding-left: 28px !important;
        box-sizing: border-box !important;
    }
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-155 {
        max-width: 100% !important;
        width: 100% !important;
    }
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-4 .cbox-4-1 {
        flex: 0 0 33% !important;
        max-width: 33% !important;
        width: 33% !important;
        padding-left: 32px !important;
        padding-right: 28px !important;
        border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-sizing: border-box !important;
    }
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-4 .cbox-4-2 {
        flex: 0 0 10% !important;
        max-width: 10% !important;
        width: 10% !important;
        padding-left: 20px !important;
        border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: center !important;
    }
    /* Section Headings: aligned bottom border across all 3 columns */
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_text-152,
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_text-156,
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_text-101 {
        font-size: 17px !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        color: #ffffff !important;
        min-height: 58px !important;
        display: flex !important;
        align-items: flex-end !important;
        padding-bottom: 12px !important;
        margin-bottom: 16px !important;
        border-bottom: 2px solid rgba(255, 255, 255, 0.22) !important;
    }
    /* Full-width Disclaimer bar naturally below columns (no overlap, fully responsive) */
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-230 {
        position: static !important;
        display: block !important;
        width: 94% !important;
        max-width: 1360px !important;
        margin: 36px auto 0 auto !important;
        padding: 0 !important;
        clear: both !important;
        box-sizing: border-box !important;
    }
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-230 .p_item {
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
    }
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_line-150 {
        margin-top: 0 !important;
        margin-bottom: 16px !important;
        height: 1px !important;
        border: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
    }
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_richText-159 p {
        font-size: 12.5px !important;
        line-height: 1.65 !important;
        color: #99ccff !important;
        text-align: left !important;
        margin: 0 !important;
    }
    #c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-240 {
        display: none !important;
    }
}

/* Fallback & mobile disclaimer rules */
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-230 {
    display: block !important;
    position: static !important;
    width: 94% !important;
    max-width: 1360px !important;
    margin: 28px auto 0 auto !important;
    box-sizing: border-box !important;
}
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-240 {
    display: none !important;
}

/* Company Names Hierarchy */
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_text-191,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_text-168,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_text-190,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_text-215 {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    color: #ffffff !important;
    letter-spacing: 0.3px !important;
    margin-bottom: 12px !important;
}

/* Separate the 2nd office in Column 3 cleanly */
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-213 {
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.22) !important;
}

/* Contact items spacing & alignment (align icon with first line of text) */
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-192,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-195,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-198,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-201,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-204,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-109,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-113,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-207,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-210,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-216,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_container-217 {
    margin-top: 8px !important;
    margin-bottom: 4px !important;
    display: flex !important;
    align-items: flex-start !important;
}

#c_navigation_019_P_035-1677031446405.en-footer-clean .cbox-192-0,
#c_navigation_019_P_035-1677031446405.en-footer-clean .cbox-195-0,
#c_navigation_019_P_035-1677031446405.en-footer-clean .cbox-198-0,
#c_navigation_019_P_035-1677031446405.en-footer-clean .cbox-201-0,
#c_navigation_019_P_035-1677031446405.en-footer-clean .cbox-204-0,
#c_navigation_019_P_035-1677031446405.en-footer-clean .cbox-109-0,
#c_navigation_019_P_035-1677031446405.en-footer-clean .cbox-113-0,
#c_navigation_019_P_035-1677031446405.en-footer-clean .cbox-207-0,
#c_navigation_019_P_035-1677031446405.en-footer-clean .cbox-210-0,
#c_navigation_019_P_035-1677031446405.en-footer-clean .cbox-216-0,
#c_navigation_019_P_035-1677031446405.en-footer-clean .cbox-217-0 {
    align-self: flex-start !important;
    margin-top: 1px !important;
    margin-right: 4px !important;
}

#c_navigation_019_P_035-1677031446405.en-footer-clean .e_richText-193 p,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_richText-196 p,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_richText-199 p,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_richText-205 p,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_richText-202 p,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_richText-115 p,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_richText-117 p,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_richText-208 p,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_richText-211 p,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_richText-220 p,
#c_navigation_019_P_035-1677031446405.en-footer-clean .e_richText-218 p {
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: #b3d9ff !important;
    word-break: break-word !important;
    margin: 0 !important;
}
/* === END EN FOOTER === */



/* ==========================================================================
   HIPHOENIX OVERSEAS INDEPENDENT STATION & B2B FLOATING CONVERSION STYLES
   ========================================================================== */

#hp-floating-dock {
    position: fixed;
    right: 18px;
    bottom: 80px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-dock-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    border: none;
    outline: none;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}

.hp-dock-item:hover {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.hp-dock-whatsapp {
    background: #25D366;
    color: #ffffff !important;
}

.hp-dock-rfq {
    background: linear-gradient(135deg, #056eb7 0%, #034f85 100%);
    color: #ffffff !important;
}

.hp-dock-email {
    background: #0b3b6f;
    color: #ffffff !important;
}

.hp-dock-phone {
    background: #0284c7;
    color: #ffffff !important;
}

.hp-dock-wechat {
    background: #07c160;
    color: #ffffff !important;
}

.hp-dock-top {
    background: #ffffff;
    color: #475569 !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.hp-dock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hp-dock-label {
    position: absolute;
    right: 58px;
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: rgba(15, 23, 42, 0.92);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hp-dock-label::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 4px 0 4px 4px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(15, 23, 42, 0.92);
}

.hp-dock-item:hover .hp-dock-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* WeChat QR Tooltip for Chinese Pages */
.hp-dock-qr {
    position: absolute;
    right: 60px;
    bottom: -15px;
    background: #ffffff;
    padding: 12px 14px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.06);
    width: 145px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.92);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.hp-dock-qr img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    margin-bottom: 6px;
}

.hp-dock-qr p {
    margin: 0;
    font-size: 12px;
    color: #475569;
    font-weight: 500;
}

.hp-dock-wechat:hover .hp-dock-qr {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

/* Quick RFQ Modal */
body.hp-modal-open {
    overflow: hidden;
}

.hp-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 47, 0.68);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hp-modal-dialog {
    position: relative;
    z-index: 2;
    width: 92%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    animation: hpModalSlideIn 0.25s ease-out;
}

@keyframes hpModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hp-modal-header {
    padding: 24px 28px 16px;
    border-bottom: 1px solid #eef2f6;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hp-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.hp-modal-subtitle {
    margin: 4px 0 0;
    font-size: 13px;
    color: #056eb7;
    font-weight: 500;
}

.hp-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s ease;
}

.hp-modal-close:hover {
    color: #0f172a;
}

.hp-modal-body {
    padding: 24px 28px 28px;
}

.hp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hp-form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.hp-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.hp-req {
    color: #ef4444;
}

.hp-form-group input,
.hp-form-group select,
.hp-form-group textarea {
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    background: #f8fafc;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    font-family: inherit;
    box-sizing: border-box;
    width: 100%;
}

.hp-form-group input:focus,
.hp-form-group select:focus,
.hp-form-group textarea:focus {
    border-color: #056eb7;
    box-shadow: 0 0 0 3px rgba(5, 110, 183, 0.15);
    background: #ffffff;
}

.hp-btn-submit {
    width: 100%;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #056eb7 0%, #034b7f 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(5, 110, 183, 0.32);
    transition: all 0.25s ease;
}

.hp-btn-submit:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(5, 110, 183, 0.4);
}

.hp-btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.hp-rfq-msg {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 6px;
    text-align: center;
}

.hp-rfq-msg.success {
    padding: 10px 14px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.hp-rfq-msg.error {
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #hp-floating-dock {
        right: 12px;
        bottom: 60px;
        gap: 8px;
    }
    .hp-dock-item {
        width: 42px;
        height: 42px;
    }
    .hp-dock-label {
        display: none !important;
    }
    .hp-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .hp-modal-dialog {
        width: 95%;
        margin: 10px;
    }
    .hp-modal-header,
    .hp-modal-body {
        padding: 18px 20px;
    }
}



/* ==========================================================================
   HIPHOENIX LIVE ANALYTICS BAR & VISITOR INSIGHTS DRAWER STYLES
   ========================================================================== */

#hp-analytics-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99998;
    background: rgba(7, 26, 51, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(5, 110, 183, 0.4);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
    color: #b3d9ff;
    font-size: 12.5px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    user-select: none;
}

.hp-ab-inner {
    width: 96%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hp-ab-main {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
    white-space: nowrap;
}

.hp-ab-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(5, 110, 183, 0.35);
    color: #4fd1c5;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 1px solid rgba(79, 209, 197, 0.3);
}

.hp-live-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: hpPulse 1.8s infinite;
}

@keyframes hpPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hp-ab-item {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hp-ab-item strong {
    color: #ffffff;
    font-weight: 600;
}

.hp-ab-item em {
    font-style: normal;
    color: #38bdf8;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-ab-toggle-btn {
    background: linear-gradient(135deg, #056eb7 0%, #0284c7 100%);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(5, 110, 183, 0.3);
}

.hp-ab-toggle-btn:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

/* Push floating dock slightly up so it does not overlap with analytics bar */
#hp-floating-dock {
    bottom: 50px !important;
}

/* Analytics Drawer Panel */
#hp-analytics-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-ad-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 12, 26, 0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hp-ad-dialog {
    position: relative;
    z-index: 2;
    width: 94%;
    max-width: 1080px;
    max-height: 90vh;
    overflow-y: auto;
    background: #091a33;
    color: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(5, 110, 183, 0.5);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: hpModalSlideIn 0.25s ease-out;
}

.hp-ad-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 110, 183, 0.15);
}

.hp-ad-title-group h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hp-ad-title-group p {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: #7dd3fc;
}

.hp-ad-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s;
}

.hp-ad-close:hover {
    color: #ffffff;
}

.hp-ad-body {
    padding: 24px;
}

/* Metric summary cards row */
.hp-ad-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.hp-ad-mcard {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.hp-ad-mcard:hover {
    transform: translateY(-2px);
    border-color: rgba(5, 110, 183, 0.6);
}

.hp-ad-mcard-label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.hp-ad-mcard-value {
    font-size: 24px;
    font-weight: 700;
    color: #38bdf8;
    line-height: 1.2;
}

.hp-ad-mcard-sub {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

/* Two-column layout: Left Keywords, Right Live Stream */
.hp-ad-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hp-ad-panel {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 18px 20px;
}

.hp-ad-panel-header {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hp-ad-kw-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-ad-kw-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: #cbd5e1;
    position: relative;
    padding: 4px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
}

.hp-ad-kw-name {
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1;
}

.hp-ad-kw-count {
    color: #38bdf8;
    font-weight: 600;
    z-index: 1;
}

.hp-ad-kw-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(5, 110, 183, 0.22);
    border-radius: 4px;
    pointer-events: none;
}

.hp-ad-stream-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
}

.hp-ad-stream-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 12px;
}

.hp-ad-stream-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hp-ad-stream-loc {
    color: #f1f5f9;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hp-ad-stream-page {
    color: #94a3b8;
    font-size: 11.5px;
}

.hp-ad-stream-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hp-ad-stream-kw {
    color: #38bdf8;
    font-size: 11px;
    background: rgba(56, 189, 248, 0.12);
    padding: 2px 6px;
    border-radius: 3px;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-ad-stream-time {
    color: #64748b;
    font-size: 11px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    #hp-analytics-bar {
        height: 34px;
        font-size: 11.5px;
    }
    .hp-ab-hide-mobile {
        display: none !important;
    }
    .hp-ad-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .hp-ad-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .hp-ad-dialog {
        width: 96%;
        margin: 8px;
    }
    .hp-ad-header, .hp-ad-body {
        padding: 16px;
    }
}


/* ==================== HIPHOENIX PRODUCT GALLERY & LIGHTBOX ==================== */
.e_magnifier-18 {
    width: 100% !important;
}
.e_magnifier-18 .magnifier {
    position: relative !important;
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto;
}
.e_magnifier-18 .magnifier-container {
    width: 100% !important;
    max-width: 480px !important;
    height: 380px !important;
    min-height: 320px !important;
    overflow: hidden !important;
    position: relative !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
}
.e_magnifier-18 .images-cover {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: zoom-in !important;
}
.e_magnifier-18 .images-cover img {
    max-width: 95% !important;
    max-height: 95% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    user-select: none;
    transition: transform 0.25s ease;
}
.e_magnifier-18 .image-bigger {
    position: absolute !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 10 !important;
    width: 36px !important;
    height: 36px !important;
    background: rgba(15, 23, 42, 0.65) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background 0.2s, transform 0.2s;
}
.e_magnifier-18 .image-bigger:hover {
    background: rgba(15, 23, 42, 0.9) !important;
    transform: scale(1.08);
}
.e_magnifier-18 .image-bigger .add-icon {
    font-size: 22px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
}
.e_magnifier-18 .move-view {
    position: absolute !important;
    width: 140px !important;
    height: 140px !important;
    background: rgba(5, 110, 183, 0.2) !important;
    border: 1.5px solid rgba(5, 110, 183, 0.7) !important;
    pointer-events: none !important;
    display: none;
    z-index: 8 !important;
    border-radius: 4px;
}
.e_magnifier-18 .magnifier-view {
    position: absolute !important;
    top: 0 !important;
    left: calc(100% + 15px) !important;
    width: 440px !important;
    height: 380px !important;
    border: 1px solid #cbd5e1 !important;
    background: #fff !important;
    overflow: hidden !important;
    display: none;
    z-index: 9999 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
}
.e_magnifier-18 .magnifier-view img {
    position: absolute !important;
    display: block !important;
    max-width: none !important;
}
.e_magnifier-18 .magnifier-assembly {
    margin-top: 14px !important;
    position: relative !important;
    padding: 0 32px !important;
}
.e_magnifier-18 .magnifier-btn {
    position: absolute !important;
    width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    pointer-events: none;
}
.e_magnifier-18 .magnifier-btn span {
    pointer-events: auto;
    height: 64px !important;
    width: 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 8 !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    background: rgba(0, 0, 0, 0.05);
    transition: background 0.2s, color 0.2s;
    user-select: none;
}
.e_magnifier-18 .magnifier-btn span:hover {
    background: rgba(5, 110, 183, 0.15);
    color: #056eb7;
}
.e_magnifier-18 .magnifier-btn span svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor;
}
.e_magnifier-18 .magnifier-btn-left {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}
.e_magnifier-18 .magnifier-btn-right {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
}
.e_magnifier-18 .magnifier-line {
    position: relative !important;
    overflow: hidden !important;
    height: 68px !important;
}
.e_magnifier-18 .magnifier-line ul {
    display: flex !important;
    width: auto !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    transition: transform 0.3s ease;
    gap: 8px;
}
.e_magnifier-18 .magnifier-line li {
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.e_magnifier-18 .small-img {
    width: 64px !important;
    height: 64px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    transition: all 0.2s ease;
    box-sizing: border-box !important;
}
.e_magnifier-18 .magnifier-line ul > li.active .small-img,
.e_magnifier-18 .magnifier-line ul > li:hover .small-img {
    border-color: #056EB7 !important;
    box-shadow: 0 0 0 1px #056EB7 !important;
}
.e_magnifier-18 .small-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Lightbox Modal */
.custom-img-lightbox {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999999 !important;
    background: rgba(15, 23, 42, 0.92) !important;
    backdrop-filter: blur(6px);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    user-select: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
.custom-img-lightbox.active {
    opacity: 1 !important;
}
.custom-img-lightbox .cl-img-wrap {
    max-width: 90vw !important;
    max-height: 85vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}
.custom-img-lightbox .cl-img {
    max-width: 90vw !important;
    max-height: 85vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6) !important;
    border-radius: 6px !important;
    user-select: none;
    transition: transform 0.2s ease;
}
.custom-img-lightbox .cl-close {
    position: absolute !important;
    top: 20px !important;
    right: 24px !important;
    width: 44px !important;
    height: 44px !important;
    color: #fff !important;
    font-size: 32px !important;
    line-height: 40px !important;
    text-align: center !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.15) !important;
    transition: background 0.2s, transform 0.2s;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000000 !important;
}
.custom-img-lightbox .cl-close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1);
}
.custom-img-lightbox .cl-prev,
.custom-img-lightbox .cl-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    cursor: pointer !important;
    transition: background 0.2s, transform 0.2s;
    z-index: 10000000 !important;
}
.custom-img-lightbox .cl-prev { left: 24px !important; }
.custom-img-lightbox .cl-next { right: 24px !important; }
.custom-img-lightbox .cl-prev:hover,
.custom-img-lightbox .cl-next:hover {
    background: rgba(255, 255, 255, 0.32) !important;
    transform: translateY(-50%) scale(1.08) !important;
}
.custom-img-lightbox .cl-counter {
    position: absolute !important;
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    color: #f1f5f9 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    background: rgba(0, 0, 0, 0.55) !important;
    padding: 6px 18px !important;
    border-radius: 20px !important;
    letter-spacing: 1.5px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
@media (max-width: 768px) {
    .e_magnifier-18 .magnifier-view,
    .e_magnifier-18 .move-view {
        display: none !important;
    }
    .e_magnifier-18 .magnifier-container {
        height: 280px !important;
    }
    .custom-img-lightbox .cl-prev { left: 10px !important; width: 42px !important; height: 42px !important; }
    .custom-img-lightbox .cl-next { right: 10px !important; width: 42px !important; height: 42px !important; }
}


/* Product Detail Inquiry Button - Hermès Orange */
a.e_button-42,
.e_button-42.s_button1,
[id^="c_product_detail_078"] .e_button-42 {
    background-color: #F37021 !important;
    border: 1px solid #F37021 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 4px 12px rgba(243, 112, 33, 0.28) !important;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease !important;
}
a.e_button-42:hover,
a.e_button-42:focus,
.e_button-42.s_button1:hover,
[id^="c_product_detail_078"] .e_button-42:hover {
    background-color: #DC5E12 !important;
    border-color: #DC5E12 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(243, 112, 33, 0.42) !important;
    transform: translateY(-1px) !important;
}
[id^="c_product_detail_078"] .e_button-42::after {
    display: none !important;
}
