/* ======================================================
   XT Projects Showcase Frontend v1.1.1
   Premium neutral UI, isolated from theme content styles.
   ====================================================== */

body.single-xt_project .xt-project-template-main,
.xt-project-template-main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

body.single-xt_project .xt-project-page {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.xt-project-page,
.xt-project-page * {
    box-sizing: border-box;
}

.xt-project-page :where(h1, h2, h3, h4, h5, h6, p, a, button, span, div, section, main, img, iframe, form, input, textarea, select) {
    box-sizing: border-box;
}

.xt-project-page :where(h1, h2, h3, h4, h5, h6, p) {
    font-family: inherit !important;
    text-transform: none !important;
}

.xt-project-page :where(a) {
    text-decoration: none !important;
    box-shadow: none !important;
}

.xt-project-page :where(button, input, textarea, select) {
    font-family: inherit !important;
}

.xt-project-page :where(img) {
    max-width: 100% !important;
}

.xt-project-page {
    --xt-ink: #111827;
    --xt-ink-soft: #273142;
    --xt-muted: #667085;
    --xt-subtle: #98a2b3;
    --xt-cream: #f7f3ee;
    --xt-cream-2: #fbfaf7;
    --xt-card: #fffdfa;
    --xt-card-2: #ffffff;
    --xt-line: #e7dfd6;
    --xt-line-2: rgba(17, 24, 39, .08);
    --xt-accent: #b98246;
    --xt-accent-dark: #8a5a2b;
    --xt-accent-soft: #f3e7d9;
    --xt-green: #16a34a;
    --xt-shadow: 0 24px 70px rgba(17, 24, 39, .10);
    --xt-shadow-soft: 0 16px 42px rgba(17, 24, 39, .07);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--xt-ink);
    background:
        radial-gradient(circle at 14% 8%, rgba(185, 130, 70, .10), transparent 28%),
        linear-gradient(180deg, #fff 0%, var(--xt-cream-2) 44%, #fff 100%);
    line-height: 1.5;
    overflow: hidden;
}

.xt-project-page svg {
    width: 1em;
    height: 1em;
    display: inline-block;
    fill: currentColor;
    flex-shrink: 0;
}

.xt-project-page .xt-container,
.xt-project-archive-page .xt-container {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}

.xt-project-main {
    width: 100%;
}

/* ------------------------- Hero ------------------------- */

.xt-project-hero {
    position: relative;
    padding: clamp(34px, 4vw, 72px) 0 clamp(42px, 5vw, 86px);
}

.xt-project-hero::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 58%;
    background:
        linear-gradient(120deg, rgba(185,130,70,.08), transparent 36%),
        linear-gradient(180deg, rgba(247,243,238,.75), rgba(255,255,255,0));
    pointer-events: none;
}

.xt-project-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.17fr) minmax(390px, .83fr);
    gap: clamp(36px, 5vw, 76px);
    align-items: start;
}

.xt-gallery-col,
.xt-info-col {
    min-width: 0;
}

.xt-gallery-clean {
    display: grid;
    gap: 18px;
}

.xt-main-image-wrap {
    --xt-mag-x: 0px;
    --xt-mag-y: 0px;
    --xt-rot-x: 0deg;
    --xt-rot-y: 0deg;
    position: relative;
    height: clamp(420px, 47vw, 650px);
    border-radius: 32px;
    overflow: hidden;
    background: #eee8df;
    border: 1px solid rgba(185,130,70,.16);
    box-shadow: var(--xt-shadow);
    transform: translate3d(var(--xt-mag-x), var(--xt-mag-y), 0) rotateX(var(--xt-rot-x)) rotateY(var(--xt-rot-y));
    transform-style: preserve-3d;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    will-change: transform;
}

.xt-main-image-wrap[data-xt-magnetic]::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--xt-glow-x, 50%) var(--xt-glow-y, 50%), rgba(255,255,255,.20), transparent 30%);
    opacity: 0;
    transition: opacity .2s ease;
}

.xt-main-image-wrap[data-xt-magnetic].is-magnetic-active {
    box-shadow: 0 30px 80px rgba(17, 24, 39, .14);
    border-color: rgba(185,130,70,.28);
}

.xt-main-image-wrap[data-xt-magnetic].is-magnetic-active::after {
    opacity: 1;
}

.xt-main-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform .58s ease, opacity .18s ease, filter .25s ease;
}

.xt-main-image-wrap:hover .xt-main-image {
    transform: scale(1.035);
}

.xt-image-zoom-btn {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 4;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,.56);
    border-radius: 999px;
    background: rgba(255,255,255,.84);
    color: var(--xt-ink);
    box-shadow: 0 14px 30px rgba(17, 24, 39, .13);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
    backdrop-filter: blur(14px);
}

.xt-image-zoom-btn:hover {
    background: var(--xt-ink);
    color: #fff;
    border-color: var(--xt-ink);
    transform: translateY(-2px);
}

.xt-gallery-tip {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
    border-radius: 18px;
    background: rgba(255,253,250,.88);
    color: var(--xt-ink-soft);
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 18px 38px rgba(17, 24, 39, .10);
    backdrop-filter: blur(14px);
}

.xt-gallery-counter {
    color: var(--xt-accent-dark);
    font-weight: 850;
}

.xt-gallery-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    overflow: hidden;
}

.xt-gallery-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 4px 2px 8px;
    scrollbar-width: none;
    min-width: 0;
    max-width: calc(100% - 112px);
}

.xt-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.xt-gallery-thumb {
    width: 88px;
    height: 88px;
    flex: 0 0 auto;
    border: 1px solid var(--xt-line);
    border-radius: 18px;
    overflow: hidden;
    padding: 0;
    background: var(--xt-card);
    opacity: .68;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform .22s ease, opacity .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.xt-gallery-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.xt-gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
    border-color: rgba(185,130,70,.42);
}

.xt-gallery-thumb.is-active {
    opacity: 1;
    border: 2px solid var(--xt-accent);
    box-shadow: 0 14px 28px rgba(185, 130, 70, .18);
}

.xt-gallery-nav-btn {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid var(--xt-line);
    border-radius: 999px;
    background: var(--xt-card);
    color: var(--xt-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
    transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

.xt-gallery-nav-btn:hover {
    background: var(--xt-ink);
    color: #fff;
    border-color: var(--xt-ink);
    transform: translateY(-2px);
}

/* ------------------------- Info column ------------------------- */

.xt-info-sticky {
    position: sticky;
    top: 34px;
    min-width: 0;
}

.xt-project-page .xt-top-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
    padding: 9px 13px;
    margin-bottom: 18px;
    border: 1px solid rgba(185,130,70,.18);
    border-radius: 999px;
    background: rgba(243,231,217,.78);
    color: var(--xt-accent-dark);
    font-size: 12px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .015em;
}

.xt-project-page .xt-top-badge svg {
    font-size: 13px;
}

.xt-top-category-badge span {
    display: inline-flex;
    align-items: center;
}

.xt-project-title,
.xt-project-page .xt-project-title {
    max-width: 720px !important;
    margin: 0 0 20px !important;
    color: var(--xt-ink) !important;
    font-size: clamp(38px, 4.4vw, 68px) !important;
    line-height: .98 !important;
    letter-spacing: -.055em !important;
    font-weight: 880 !important;
}

.xt-project-desc,
.xt-project-desc p,
.xt-project-page .xt-project-desc p {
    margin: 0 !important;
    color: var(--xt-muted) !important;
    font-size: 16px !important;
    line-height: 1.82 !important;
}

.xt-project-desc {
    max-width: 620px;
    margin-bottom: 26px !important;
}

.xt-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0 28px;
}

.xt-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 15px 16px;
    border: 1px solid var(--xt-line-2);
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    color: var(--xt-ink-soft);
    font-size: 14px;
    font-weight: 780;
    box-shadow: 0 12px 28px rgba(17, 24, 39, .045);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.xt-feature-item:hover {
    transform: translateY(-2px);
    border-color: rgba(185,130,70,.22);
    box-shadow: 0 18px 40px rgba(17, 24, 39, .08);
    background: #fff;
}

.xt-feature-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--xt-accent-soft);
    color: var(--xt-accent-dark);
    flex: 0 0 30px;
}

.xt-feature-icon svg {
    font-size: 16px;
}

.xt-project-page .xt-quote-card {
    position: relative;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(185,130,70,.20);
    background:
        radial-gradient(circle at 92% 8%, rgba(185,130,70,.18), transparent 34%),
        linear-gradient(180deg, rgba(255,253,250,.96), rgba(247,243,238,.88));
    box-shadow: var(--xt-shadow-soft);
    overflow: hidden;
}

.xt-quote-label {
    margin: 0 0 10px !important;
    color: var(--xt-accent-dark) !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    letter-spacing: .03em;
}

.xt-price-line {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-bottom: 22px;
}

.xt-price-main {
    color: var(--xt-ink);
    font-size: clamp(32px, 3vw, 45px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.035em;
}

.xt-price-unit {
    color: var(--xt-muted);
    font-size: 14px;
    font-weight: 700;
    padding-bottom: 3px;
}

.xt-cta-group {
    display: grid;
    gap: 12px;
}

.xt-project-page .xt-btn {
    min-height: 56px;
    width: 100%;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 850;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
}

.xt-project-page .xt-btn-primary {
    border: 1px solid var(--xt-ink);
    background: var(--xt-ink);
    color: #fff !important;
    box-shadow: 0 18px 34px rgba(17, 24, 39, .20);
}

.xt-project-page .xt-btn-primary:hover {
    transform: translateY(-2px);
    background: #000;
    color: #fff !important;
}

.xt-project-page .xt-btn-whatsapp {
    border: 1px solid rgba(22,163,74,.45);
    background: rgba(255,255,255,.80);
    color: var(--xt-green) !important;
}

.xt-project-page .xt-btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

.xt-project-page .xt-btn-whatsapp:hover {
    transform: translateY(-2px);
    background: #f0fdf4;
    border-color: var(--xt-green);
    color: var(--xt-green) !important;
}

.xt-privacy-line,
.xt-project-page .xt-privacy-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 16px 0 0 !important;
    color: var(--xt-subtle) !important;
    font-size: 12px !important;
    font-weight: 650;
}

/* ------------------------- VR / Downloads ------------------------- */

.xt-detail-section {
    padding: clamp(40px, 5vw, 80px) 0;
    background:
        linear-gradient(180deg, rgba(247,243,238,.92), rgba(251,250,247,.96));
    border-top: 1px solid rgba(185,130,70,.12);
    border-bottom: 1px solid rgba(185,130,70,.10);
}

.xt-tabs-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.xt-tabs-header::-webkit-scrollbar {
    display: none;
}

.xt-tab-btn {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--xt-muted);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 850;
    transition: .22s ease;
}

.xt-tab-btn:hover,
.xt-tab-btn.is-active {
    background: var(--xt-card);
    color: var(--xt-accent-dark);
    border-color: rgba(185,130,70,.22);
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
}

.xt-tabs-panel-wrap {
    position: relative;
}

.xt-tab-panel {
    display: none;
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid rgba(185,130,70,.16);
    border-radius: 32px;
    background: var(--xt-card);
    box-shadow: var(--xt-shadow-soft);
}

.xt-tab-panel.is-active {
    display: block;
}

.xt-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    margin-bottom: 22px;
}

.xt-panel-head h2,
.xt-project-page .xt-panel-head h2 {
    margin: 0 0 8px !important;
    color: var(--xt-ink) !important;
    font-size: clamp(24px, 2.4vw, 36px) !important;
    line-height: 1.1 !important;
    letter-spacing: -.035em !important;
    font-weight: 880 !important;
}

.xt-panel-head p,
.xt-project-page .xt-panel-head p {
    margin: 0 !important;
    color: var(--xt-muted) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

.xt-vr-open-link {
    min-height: 44px;
    padding: 10px 15px;
    border-radius: 999px;
    background: var(--xt-cream);
    color: var(--xt-accent-dark) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 850;
    font-size: 13px;
    white-space: nowrap;
    transition: .22s ease;
}

.xt-vr-open-link:hover {
    background: var(--xt-ink);
    color: #fff !important;
}

.xt-vr-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.xt-vr-switch {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--xt-line);
    background: #fff;
    color: var(--xt-muted);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: .22s ease;
}

.xt-vr-switch:hover,
.xt-vr-switch.is-active {
    background: var(--xt-ink);
    border-color: var(--xt-ink);
    color: #fff;
}

.xt-vr-frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 24px;
    background: #e5e0d8;
    border: 1px solid rgba(17,24,39,.08);
}

.xt-vr-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.xt-download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.xt-download-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(185,130,70,.14);
    background: #fff;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.xt-download-card:hover {
    transform: translateY(-3px);
    border-color: rgba(185,130,70,.28);
    box-shadow: 0 18px 40px rgba(17, 24, 39, .08);
}

.xt-download-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #fff1f2;
    color: #be123c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    font-size: 23px;
}

.xt-download-info {
    min-width: 0;
    flex: 1;
}

.xt-download-info h3,
.xt-project-page .xt-download-info h3 {
    margin: 0 0 6px !important;
    color: var(--xt-ink) !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 850 !important;
}

.xt-download-info p,
.xt-project-page .xt-download-info p {
    margin: 0 0 14px !important;
    color: var(--xt-muted) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.xt-download-actions {
    display: flex;
    gap: 10px;
}

.xt-project-page .xt-small-btn {
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 850;
    flex: 1;
    transition: .22s ease;
}

.xt-project-page .xt-small-btn-light {
    background: var(--xt-cream);
    color: var(--xt-ink) !important;
    border: 1px solid var(--xt-line);
}

.xt-project-page .xt-small-btn-primary {
    background: var(--xt-ink);
    color: #fff !important;
    border: 1px solid var(--xt-ink);
}

.xt-project-page .xt-small-btn:hover {
    transform: translateY(-1px);
}

/* ------------------------- Related ------------------------- */

.xt-related-section {
    padding: clamp(42px, 5vw, 86px) 0;
    background: #fff;
}

.xt-related-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 28px;
}

.xt-project-page .xt-section-kicker,
.xt-project-archive-page .xt-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--xt-accent-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.xt-related-head h2,
.xt-project-page .xt-related-head h2 {
    margin: 0 0 10px !important;
    color: var(--xt-ink) !important;
    font-size: clamp(28px, 3vw, 44px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.04em !important;
    font-weight: 880 !important;
}

.xt-related-head p,
.xt-project-page .xt-related-head p {
    margin: 0 !important;
    color: var(--xt-muted) !important;
    font-size: 15px !important;
}

.xt-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--xt-cream);
    color: var(--xt-ink) !important;
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
    transition: .22s ease;
}

.xt-more-link:hover {
    background: var(--xt-ink);
    color: #fff !important;
}

.xt-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.xt-related-card {
    display: block;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--xt-line-2);
    background: var(--xt-card);
    box-shadow: 0 12px 32px rgba(17, 24, 39, .045);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.xt-related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(185,130,70,.24);
    box-shadow: 0 24px 58px rgba(17, 24, 39, .10);
}

.xt-related-img-wrap {
    height: 245px;
    position: relative;
    overflow: hidden;
    background: #eee8df;
}

.xt-related-img-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .55s ease;
}

.xt-related-card:hover .xt-related-img-wrap img {
    transform: scale(1.055);
}

.xt-related-img-wrap span {
    position: absolute;
    left: 16px;
    top: 16px;
    max-width: calc(100% - 32px);
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,253,250,.88);
    color: var(--xt-accent-dark);
    font-size: 12px;
    font-weight: 850;
    backdrop-filter: blur(12px);
}

.xt-related-body {
    padding: 20px;
}

.xt-related-body h3,
.xt-project-page .xt-related-body h3 {
    margin: 0 0 14px !important;
    color: var(--xt-ink) !important;
    font-size: 19px !important;
    line-height: 1.34 !important;
    font-weight: 850 !important;
}

.xt-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--xt-accent-dark);
    font-size: 13px;
    font-weight: 850;
}

/* ------------------------- Modal and lightbox ------------------------- */

body.xt-modal-lock {
    overflow: hidden !important;
}

.xt-quote-modal,
.xt-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
}

.xt-quote-modal.is-open,
.xt-image-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.xt-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17,24,39,.64);
    backdrop-filter: blur(10px);
}

.xt-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 32px));
    max-height: calc(100vh - 44px);
    margin: 22px auto;
    overflow: auto;
    border-radius: 30px;
    background: var(--xt-card);
    box-shadow: 0 28px 90px rgba(0,0,0,.24);
    transform: translateY(18px) scale(.985);
    transition: transform .24s ease;
}

.xt-quote-modal.is-open .xt-modal-dialog {
    transform: translateY(0) scale(1);
}

.xt-modal-close {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 1px solid var(--xt-line);
    border-radius: 999px;
    background: #fff;
    color: var(--xt-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .22s ease;
}

.xt-modal-close:hover {
    background: var(--xt-ink);
    color: #fff;
}

.xt-modal-head {
    padding: 34px 36px 24px;
    border-bottom: 1px solid var(--xt-line-2);
    background:
        radial-gradient(circle at 12% 0%, rgba(185,130,70,.18), transparent 38%),
        linear-gradient(180deg, #fffdfa, #f9f5ef);
}

.xt-modal-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--xt-accent-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.xt-modal-head h2,
.xt-project-page .xt-modal-head h2 {
    margin: 0 0 10px !important;
    color: var(--xt-ink) !important;
    font-size: 32px !important;
    line-height: 1.1 !important;
    font-weight: 880 !important;
    letter-spacing: -.04em !important;
}

.xt-modal-head p,
.xt-project-page .xt-modal-head p {
    margin: 0 !important;
    color: var(--xt-muted) !important;
    font-size: 14px !important;
}

.xt-modal-body {
    padding: 28px 36px 36px;
}

.xt-modal-body .fluentform,
.xt-modal-body .fluentform_wrapper,
.xt-modal-body .frm-fluent-form,
.xt-modal-body form {
    width: 100% !important;
}

.xt-modal-body .ff-btn,
.xt-modal-body .ff-btn-submit,
.xt-modal-body button.ff-btn,
.xt-modal-body button.ff-btn-submit,
.xt-modal-body input[type="submit"],
.xt-modal-body button[type="submit"] {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 52px !important;
    border-radius: 14px !important;
}

.xt-image-lightbox {
    background: rgba(5, 7, 10, .88);
    backdrop-filter: blur(10px);
}

.xt-lightbox-inner {
    width: 100%;
    height: 100%;
    padding: 72px 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.xt-lightbox-inner img {
    max-width: 100% !important;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 22px;
    box-shadow: 0 30px 90px rgba(0,0,0,.38);
}

.xt-lightbox-count {
    margin-top: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 13px;
    font-weight: 850;
}

.xt-lightbox-close,
.xt-lightbox-prev,
.xt-lightbox-next {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .22s ease;
    backdrop-filter: blur(10px);
}

.xt-lightbox-close:hover,
.xt-lightbox-prev:hover,
.xt-lightbox-next:hover {
    background: #fff;
    color: var(--xt-ink);
}

.xt-lightbox-close {
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
}

.xt-lightbox-prev,
.xt-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
}

.xt-lightbox-prev { left: 26px; }
.xt-lightbox-next { right: 26px; }

/* ------------------------- Responsive ------------------------- */

@media (max-width: 1180px) {
    .xt-project-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
        gap: 40px;
    }

    .xt-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .xt-project-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .xt-info-sticky {
        position: static;
    }

    .xt-project-title,
    .xt-project-page .xt-project-title {
        max-width: 820px !important;
    }

    .xt-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .xt-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .xt-project-page .xt-container,
    .xt-project-archive-page .xt-container {
        width: min(100% - 28px, 1320px);
    }

    .xt-project-hero {
        padding: 24px 0 38px;
    }

    .xt-main-image-wrap {
        height: clamp(290px, 86vw, 380px);
        border-radius: 22px;
    }

    .xt-image-zoom-btn {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
    }

    .xt-gallery-tip {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 10px 12px;
        border-radius: 14px;
        font-size: 12px;
    }

    .xt-gallery-tip span:first-child {
        max-width: 70%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .xt-gallery-strip {
        gap: 8px;
    }

    .xt-gallery-thumbs {
        max-width: calc(100% - 96px);
        gap: 9px;
    }

    .xt-gallery-thumb {
        width: 66px;
        height: 66px;
        border-radius: 14px;
    }

    .xt-gallery-nav-btn {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .xt-top-badge {
        margin-bottom: 14px;
        max-width: 100%;
    }

    .xt-project-title,
    .xt-project-page .xt-project-title {
        font-size: clamp(32px, 10vw, 46px) !important;
        line-height: 1.03 !important;
        letter-spacing: -.045em !important;
        margin-bottom: 16px !important;
    }

    .xt-project-desc,
    .xt-project-desc p,
    .xt-project-page .xt-project-desc p {
        font-size: 15px !important;
        line-height: 1.72 !important;
    }

    .xt-feature-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 22px 0 24px;
    }

    .xt-feature-item {
        min-height: 58px;
        border-radius: 16px;
        padding: 13px 14px;
    }

    .xt-project-page .xt-quote-card {
        padding: 22px;
        border-radius: 24px;
    }

    .xt-price-main {
        font-size: 32px;
    }

    .xt-project-page .xt-btn {
        min-height: 54px;
    }

    .xt-detail-section {
        padding: 34px 0 44px;
    }

    .xt-tabs-header {
        margin-bottom: 16px;
    }

    .xt-tab-btn {
        min-height: 44px;
        padding: 10px 15px;
        font-size: 13px;
    }

    .xt-tab-panel {
        padding: 18px;
        border-radius: 24px;
    }

    .xt-panel-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .xt-vr-open-link {
        width: 100%;
        justify-content: center;
    }

    .xt-vr-frame-wrap {
        aspect-ratio: 4 / 3;
        border-radius: 18px;
    }

    .xt-download-grid,
    .xt-related-grid {
        grid-template-columns: 1fr;
    }

    .xt-download-card {
        padding: 16px;
        border-radius: 20px;
    }

    .xt-download-actions {
        flex-direction: column;
    }

    .xt-related-section {
        padding: 40px 0 50px;
    }

    .xt-related-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 22px;
    }

    .xt-more-link {
        width: 100%;
        justify-content: center;
    }

    .xt-related-img-wrap {
        height: 220px;
    }

    .xt-modal-dialog {
        width: min(100% - 24px, 760px);
        max-height: calc(100vh - 28px);
        margin: 14px auto;
        border-radius: 24px;
    }

    .xt-modal-head,
    .xt-modal-body {
        padding-left: 22px;
        padding-right: 22px;
    }

    .xt-modal-head h2,
    .xt-project-page .xt-modal-head h2 {
        font-size: 26px !important;
    }

    .xt-lightbox-inner {
        padding: 70px 18px;
    }

    .xt-lightbox-prev,
    .xt-lightbox-next {
        width: 44px;
        height: 44px;
    }

    .xt-lightbox-prev { left: 12px; }
    .xt-lightbox-next { right: 12px; }
}

/* ======================================================
   v1.1.1 refinements
   - Mobile document/download layout
   - Smaller circular gallery arrows
   - Professional SVG icons support
   ====================================================== */

.xt-project-page svg[stroke] {
    fill: none;
}

.xt-project-page .xt-btn-whatsapp svg,
.xt-project-page .xt-btn-whatsapp svg path {
    fill: currentColor;
    stroke: none;
}

.xt-gallery-strip {
    gap: 10px;
}

.xt-gallery-nav-btn {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: rgba(255, 253, 250, .92);
    color: var(--xt-ink);
}

.xt-gallery-nav-btn svg {
    font-size: 16px;
}

.xt-gallery-nav-btn:hover {
    background: var(--xt-accent);
    border-color: var(--xt-accent);
    color: #fff;
}

.xt-feature-icon svg,
.xt-tab-btn svg,
.xt-project-page .xt-section-kicker svg,
.xt-project-archive-page .xt-section-kicker svg,
.xt-more-link svg,
.xt-card-link svg,
.xt-project-page .xt-small-btn svg,
.xt-vr-open-link svg {
    stroke-width: 1.9;
}

.xt-project-page .xt-btn-primary svg {
    stroke-width: 2;
}

.xt-download-card {
    align-items: flex-start;
}

.xt-download-actions {
    align-items: center;
}

@media (max-width: 767px) {
    .xt-project-page {
        overflow: hidden;
    }

    .xt-project-page .xt-container,
    .xt-project-archive-page .xt-container {
        width: min(100% - 24px, 1320px);
    }

    .xt-project-layout {
        gap: 28px;
    }

    .xt-gallery-strip {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        gap: 8px;
        align-items: center;
        overflow: visible;
    }

    .xt-gallery-nav-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        flex-basis: 34px;
        box-shadow: 0 8px 18px rgba(17, 24, 39, .06);
    }

    .xt-gallery-nav-btn svg {
        font-size: 14px;
    }

    .xt-gallery-thumbs {
        max-width: none;
        width: 100%;
        padding: 3px 1px 7px;
        gap: 8px;
    }

    .xt-gallery-thumb {
        width: 62px;
        height: 62px;
        border-radius: 13px;
    }

    .xt-tab-panel {
        padding: 16px;
        border-radius: 22px;
    }

    .xt-download-card {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
        border-radius: 20px;
    }

    .xt-download-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 15px;
        font-size: 21px;
    }

    .xt-download-info h3,
    .xt-project-page .xt-download-info h3 {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    .xt-download-info p,
    .xt-project-page .xt-download-info p {
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }

    .xt-download-actions {
        flex-direction: row;
        gap: 8px;
    }

    .xt-small-btn {
        min-height: 40px;
        border-radius: 999px;
        padding: 9px 10px;
        font-size: 12px;
    }

    .xt-panel-head h2,
    .xt-project-page .xt-panel-head h2 {
        font-size: 24px !important;
    }
}


/* ======================================================
   v1.1.2 final polish
   1. Thumbnail arrows forced to true small circles.
   2. Mobile layout refinement.
   3. VR iframe height improved for full display.
   4. Project title one size smaller.
   5. Magnetic hover strengthened on desktop.
   ====================================================== */

/* Project title: one size smaller */
.xt-project-title,
.xt-project-page .xt-project-title {
    font-size: clamp(32px, 3.55vw, 56px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.045em !important;
}

/* True circular gallery arrows, not oval, protected from theme button styles */
.xt-project-page .xt-gallery-strip {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) 34px !important;
    gap: 12px !important;
    align-items: center !important;
    width: 100% !important;
    overflow: visible !important;
}

.xt-project-page button.xt-gallery-nav-btn,
.xt-project-page .xt-gallery-nav-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    flex: 0 0 34px !important;
    flex-basis: 34px !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fffaf4 !important;
    color: var(--xt-ink) !important;
    border: 1px solid rgba(185, 130, 70, .20) !important;
    box-shadow: 0 8px 20px rgba(17, 24, 39, .08) !important;
}

.xt-project-page button.xt-gallery-nav-btn:hover,
.xt-project-page .xt-gallery-nav-btn:hover {
    background: var(--xt-accent) !important;
    color: #fff !important;
    border-color: var(--xt-accent) !important;
    transform: translateY(-1px) !important;
}

.xt-project-page .xt-gallery-nav-btn svg {
    width: 13px !important;
    height: 13px !important;
    font-size: 13px !important;
}

/* Keep thumbnails centered and clean */
.xt-project-page .xt-gallery-thumbs {
    max-width: none !important;
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 4px 2px !important;
}

.xt-project-page .xt-gallery-thumb {
    width: 76px !important;
    height: 76px !important;
    border-radius: 15px !important;
}

/* Stronger but still premium magnetic hover */
.xt-project-page .xt-main-image-wrap[data-xt-magnetic] {
    perspective: 1000px !important;
    transform:
        translate3d(var(--xt-mag-x, 0px), var(--xt-mag-y, 0px), 0)
        rotateX(var(--xt-rot-x, 0deg))
        rotateY(var(--xt-rot-y, 0deg)) !important;
    transition: transform .16s ease-out, box-shadow .16s ease-out, border-color .16s ease-out !important;
}

.xt-project-page .xt-main-image-wrap[data-xt-magnetic].is-magnetic-active {
    box-shadow: 0 28px 68px rgba(17, 24, 39, .18) !important;
    border-color: rgba(185, 130, 70, .32) !important;
}

.xt-project-page .xt-main-image-wrap[data-xt-magnetic].is-magnetic-active .xt-main-image {
    transform: scale(1.035) !important;
}

/* VR: enough height so the embedded walkthrough controls are not cropped */
.xt-project-page .xt-vr-frame-wrap {
    aspect-ratio: auto !important;
    height: min(72vh, 680px) !important;
    min-height: 560px !important;
}

.xt-project-page .xt-vr-frame {
    width: 100% !important;
    height: 100% !important;
}

/* WhatsApp official brand presentation */
.xt-project-page .xt-btn-whatsapp svg {
    width: 22px !important;
    height: 22px !important;
    color: #25D366 !important;
}

/* Mobile refinements */
@media (max-width: 767px) {
    body.single-xt_project .xt-project-page {
        overflow-x: hidden !important;
    }

    .xt-project-page .xt-container,
    .xt-project-archive-page .xt-container {
        width: min(100% - 28px, 1320px) !important;
    }

    .xt-project-hero {
        padding: 24px 0 38px !important;
    }

    .xt-project-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 26px !important;
    }

    .xt-main-image-wrap {
        height: clamp(285px, 78vw, 380px) !important;
        border-radius: 24px !important;
    }

    .xt-gallery-tip {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        padding: 10px 12px !important;
        border-radius: 14px !important;
        font-size: 12px !important;
    }

    .xt-project-page .xt-gallery-strip {
        grid-template-columns: 30px minmax(0, 1fr) 30px !important;
        gap: 8px !important;
        margin-top: 2px !important;
    }

    .xt-project-page button.xt-gallery-nav-btn,
    .xt-project-page .xt-gallery-nav-btn {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        max-width: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;
        flex-basis: 30px !important;
        box-shadow: 0 6px 14px rgba(17, 24, 39, .07) !important;
    }

    .xt-project-page .xt-gallery-nav-btn svg {
        width: 11px !important;
        height: 11px !important;
        font-size: 11px !important;
    }

    .xt-project-page .xt-gallery-thumbs {
        gap: 8px !important;
        overflow-x: auto !important;
        scroll-snap-type: x proximity !important;
    }

    .xt-project-page .xt-gallery-thumb {
        width: 58px !important;
        height: 58px !important;
        border-radius: 12px !important;
        scroll-snap-align: start !important;
    }

    .xt-top-badge {
        padding: 8px 11px !important;
        font-size: 11px !important;
        margin-bottom: 12px !important;
    }

    .xt-project-title,
    .xt-project-page .xt-project-title {
        font-size: clamp(28px, 8.3vw, 38px) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.035em !important;
        margin-bottom: 14px !important;
    }

    .xt-project-desc,
    .xt-project-desc p,
    .xt-project-page .xt-project-desc p {
        font-size: 14px !important;
        line-height: 1.72 !important;
    }

    .xt-feature-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .xt-feature-item {
        min-height: 58px !important;
        padding: 13px 14px !important;
    }

    .xt-project-page .xt-quote-card {
        padding: 20px !important;
        border-radius: 24px !important;
    }

    .xt-price-main {
        font-size: 34px !important;
        line-height: 1.05 !important;
    }

    .xt-price-line {
        align-items: flex-start !important;
        gap: 7px !important;
    }

    .xt-price-unit {
        font-size: 12px !important;
        padding-top: 8px !important;
    }

    .xt-project-page .xt-btn {
        min-height: 52px !important;
        border-radius: 16px !important;
        font-size: 15px !important;
    }

    .xt-detail-section {
        padding: 34px 0 42px !important;
    }

    .xt-tabs-header {
        gap: 8px !important;
        overflow-x: auto !important;
        padding-bottom: 3px !important;
    }

    .xt-tab-btn {
        flex: 0 0 auto !important;
        padding: 12px 15px !important;
        border-radius: 999px !important;
        font-size: 13px !important;
    }

    .xt-tab-panel {
        padding: 16px !important;
        border-radius: 22px !important;
    }

    .xt-panel-head {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }

    .xt-panel-head h2,
    .xt-project-page .xt-panel-head h2 {
        font-size: 22px !important;
        line-height: 1.16 !important;
    }

    .xt-panel-head p {
        font-size: 13px !important;
        line-height: 1.65 !important;
    }

    .xt-project-page .xt-vr-frame-wrap {
        height: 560px !important;
        min-height: 560px !important;
        border-radius: 18px !important;
    }

    .xt-vr-switcher {
        gap: 8px !important;
        overflow-x: auto !important;
    }

    .xt-vr-switch {
        flex: 0 0 auto !important;
        padding: 9px 12px !important;
        font-size: 12px !important;
        border-radius: 999px !important;
    }

    .xt-download-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .xt-download-card {
        grid-template-columns: 42px minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 14px !important;
        border-radius: 18px !important;
    }

    .xt-download-icon {
        width: 42px !important;
        height: 42px !important;
        flex-basis: 42px !important;
        border-radius: 14px !important;
    }

    .xt-download-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .xt-small-btn {
        min-height: 38px !important;
        padding: 8px 10px !important;
        border-radius: 999px !important;
        font-size: 12px !important;
    }

    .xt-related-section {
        padding: 38px 0 48px !important;
    }

    .xt-related-head {
        gap: 16px !important;
    }

    .xt-related-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}


/* ======================================================
   v1.1.3 stability fix
   - Remove main image hover/magnetic movement to prevent square-corner rendering artifacts.
   - Keep the card permanently rounded and clipped.
   - Upgrade PDF/download icon presentation.
   ====================================================== */

.xt-project-page .xt-main-image-wrap,
.xt-project-page .xt-main-image-wrap:hover,
.xt-project-page .xt-main-image-wrap.is-magnetic-active,
.xt-project-page .xt-main-image-wrap[data-xt-magnetic],
.xt-project-page .xt-main-image-wrap[data-xt-magnetic].is-magnetic-active {
    transform: none !important;
    perspective: none !important;
    border-radius: 32px !important;
    overflow: hidden !important;
    isolation: isolate !important;
    clip-path: inset(0 round 32px) !important;
    will-change: auto !important;
}

.xt-project-page .xt-main-image-wrap::after,
.xt-project-page .xt-main-image-wrap[data-xt-magnetic]::after {
    display: none !important;
    opacity: 0 !important;
}

.xt-project-page .xt-main-image-wrap:hover .xt-main-image,
.xt-project-page .xt-main-image-wrap.is-magnetic-active .xt-main-image,
.xt-project-page .xt-main-image-wrap[data-xt-magnetic].is-magnetic-active .xt-main-image,
.xt-project-page .xt-main-image {
    transform: none !important;
    border-radius: 0 !important;
}

.xt-project-page .xt-download-icon {
    color: #9a3412 !important;
    background: linear-gradient(180deg, #fff7ed, #ffedd5) !important;
    border: 1px solid rgba(154, 52, 18, .10) !important;
}

.xt-project-page .xt-download-icon svg {
    width: 24px !important;
    height: 24px !important;
    stroke-width: 1.85 !important;
}

@media (max-width: 767px) {
    .xt-project-page .xt-main-image-wrap,
    .xt-project-page .xt-main-image-wrap:hover,
    .xt-project-page .xt-main-image-wrap.is-magnetic-active,
    .xt-project-page .xt-main-image-wrap[data-xt-magnetic],
    .xt-project-page .xt-main-image-wrap[data-xt-magnetic].is-magnetic-active {
        border-radius: 24px !important;
        clip-path: inset(0 round 24px) !important;
    }
}


/* ======================================================
   v1.1.4 left breadcrumb
   Adds a refined English breadcrumb above the left gallery area.
   ====================================================== */

.xt-project-page .xt-project-breadcrumb {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    padding: 11px 14px !important;
    border: 1px solid rgba(185, 130, 70, .16) !important;
    border-radius: 999px !important;
    background: rgba(255, 250, 244, .82) !important;
    box-shadow: 0 12px 30px rgba(17, 24, 39, .045) !important;
    backdrop-filter: blur(12px) !important;
    color: var(--xt-muted) !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 750 !important;
}

.xt-project-page .xt-project-breadcrumb a {
    color: var(--xt-muted) !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: color .22s ease !important;
}

.xt-project-page .xt-project-breadcrumb a:hover {
    color: var(--xt-accent-dark) !important;
}

.xt-project-page .xt-breadcrumb-separator {
    color: rgba(100, 116, 139, .55) !important;
    font-weight: 700 !important;
}

.xt-project-page .xt-breadcrumb-current {
    color: var(--xt-ink) !important;
    max-width: min(420px, 100%) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

@media (max-width: 767px) {
    .xt-project-page .xt-project-breadcrumb {
        margin-bottom: 14px !important;
        padding: 10px 12px !important;
        border-radius: 18px !important;
        gap: 7px !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .xt-project-page .xt-breadcrumb-current {
        max-width: 100% !important;
        white-space: normal !important;
        line-height: 1.45 !important;
    }
}


/* ======================================================
   v1.1.5 sticky left gallery
   Desktop only: breadcrumb + main image + thumbnails stay sticky while the
   right content scrolls, then naturally stop at the end of the hero section.
   ====================================================== */

@media (min-width: 1025px) {
    body.single-xt_project .xt-project-page,
    body.single-xt_project .xt-project-main,
    body.single-xt_project .xt-project-hero,
    .xt-project-page .xt-project-main,
    .xt-project-page .xt-project-hero {
        overflow: visible !important;
    }

    .xt-project-page .xt-project-layout {
        align-items: start !important;
    }

    .xt-project-page .xt-gallery-col {
        position: sticky !important;
        top: 96px !important;
        align-self: start !important;
        z-index: 3 !important;
        max-height: calc(100vh - 112px) !important;
        overflow-y: auto !important;
        overflow-x: visible !important;
        overscroll-behavior: contain !important;
        scrollbar-width: none !important;
        padding-bottom: 8px !important;
    }

    .xt-project-page .xt-gallery-col::-webkit-scrollbar {
        display: none !important;
    }

    body.admin-bar .xt-project-page .xt-gallery-col {
        top: 128px !important;
        max-height: calc(100vh - 144px) !important;
    }
}

@media (max-width: 1024px) {
    .xt-project-page .xt-gallery-col {
        position: static !important;
        max-height: none !important;
        overflow: visible !important;
    }
}


/* ======================================================
   v1.1.6 breadcrumb shape + keep thumbnails visible
   - Breadcrumb changed from full pill to refined soft-card radius.
   - Sticky gallery keeps thumbnails visible under the main image.
   ====================================================== */

.xt-project-page .xt-project-breadcrumb {
    border-radius: 18px !important;
    padding: 14px 18px !important;
    background: rgba(255, 250, 244, .88) !important;
}

/* Keep left thumbnails visible while sticky is enabled */
@media (min-width: 1025px) {
    .xt-project-page .xt-gallery-col {
        overflow: visible !important;
        max-height: none !important;
    }

    .xt-project-page .xt-gallery-clean {
        display: grid !important;
        gap: 16px !important;
    }

    .xt-project-page .xt-main-image-wrap {
        height: min(58vh, 590px) !important;
        min-height: 420px !important;
    }

    .xt-project-page .xt-gallery-strip {
        display: grid !important;
        grid-template-columns: 34px minmax(0, 1fr) 34px !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .xt-project-page .xt-gallery-thumbs {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 767px) {
    .xt-project-page .xt-project-breadcrumb {
        border-radius: 14px !important;
        padding: 11px 13px !important;
    }
}

/* ======================================================
   XT Projects Archive v1.1.9
   独立项目列表模板，避免主题 Blog / Sidebar 布局。
   ====================================================== */

.xt-project-archive-template-main,
.xt-project-archive-page {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.xt-project-archive-page {
    --xt-archive-bg: #f7f2eb;
    --xt-archive-paper: #ffffff;
    --xt-archive-soft: #eee5da;
    --xt-archive-dark: #171412;
    --xt-archive-text: #4d4640;
    --xt-archive-muted: #7b7168;
    --xt-archive-line: rgba(23, 20, 18, 0.12);
    --xt-archive-gold: #b08a58;
    --xt-archive-gold-dark: #76532e;

    background:
        radial-gradient(circle at 10% 8%, rgba(176, 138, 88, 0.16), transparent 28%),
        linear-gradient(180deg, #fbf7f1 0%, var(--xt-archive-bg) 100%);
    color: var(--xt-archive-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    padding: 88px 0 100px;
}

.xt-project-archive-page *,
.xt-project-archive-page *::before,
.xt-project-archive-page *::after {
    box-sizing: border-box;
}

.xt-project-archive-page a {
    color: inherit;
    text-decoration: none !important;
    box-shadow: none !important;
}

.xt-project-archive-hero {
    max-width: 880px;
    margin: 0 auto 34px;
    text-align: center;
}

.xt-project-archive-hero .xt-section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--xt-archive-gold-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.xt-project-archive-hero .xt-section-kicker::before,
.xt-project-archive-hero .xt-section-kicker::after {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--xt-archive-gold);
}

.xt-project-archive-hero h1 {
    margin: 0 0 18px;
    color: var(--xt-archive-dark);
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.04;
    letter-spacing: -0.06em;
    font-weight: 850;
}

.xt-project-archive-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--xt-archive-muted);
    font-size: 16px;
    line-height: 1.85;
}

.xt-project-archive-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 34px;
}

.xt-project-archive-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    border: 1px solid var(--xt-archive-line);
    color: var(--xt-archive-muted);
    font-size: 13px;
    font-weight: 800;
    transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

.xt-project-archive-filter a:hover,
.xt-project-archive-filter a.is-active {
    transform: translateY(-2px);
    background: var(--xt-archive-dark);
    border-color: var(--xt-archive-dark);
    color: #ffffff;
}

.xt-project-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.xt-project-archive-card {
    position: relative;
    border-radius: 30px;
    background: var(--xt-archive-paper);
    border: 1px solid var(--xt-archive-line);
    box-shadow: 0 18px 54px rgba(45, 34, 24, 0.07);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.xt-project-archive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 80px rgba(45, 34, 24, 0.14);
    border-color: rgba(176, 138, 88, 0.28);
}

.xt-project-archive-card > a {
    display: block;
    height: 100%;
}

.xt-project-archive-card__media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: linear-gradient(135deg, #d8cab8, #8f7a62);
}

.xt-project-archive-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s ease;
}

.xt-project-archive-card:hover .xt-project-archive-card__media img {
    transform: scale(1.055);
}

.xt-project-archive-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23,20,18,.04), rgba(23,20,18,.38));
    pointer-events: none;
}

.xt-project-archive-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    background: linear-gradient(135deg, #d8cab8, #8f7a62);
    color: #ffffff;
    font-size: 22px;
    font-weight: 850;
}

.xt-project-archive-card__tag {
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: var(--xt-archive-dark);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(0,0,0,.12);
}

.xt-project-archive-card__body {
    padding: 24px;
}

.xt-project-archive-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--xt-archive-muted);
    font-size: 12px;
    line-height: 1.4;
}

.xt-project-archive-card__meta span:last-child {
    color: var(--xt-archive-gold-dark);
    font-weight: 800;
}

.xt-project-archive-card h2 {
    margin: 0 0 12px;
    color: var(--xt-archive-dark);
    font-size: 24px;
    line-height: 1.22;
    letter-spacing: -0.03em;
    font-weight: 850;
}

.xt-project-archive-card p {
    margin: 0 0 22px;
    color: var(--xt-archive-muted);
    font-size: 14px;
    line-height: 1.75;
}

.xt-project-archive-card__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--xt-archive-dark);
    font-size: 14px;
    font-weight: 850;
    transition: color .25s ease, gap .25s ease;
}

.xt-project-archive-card__button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.xt-project-archive-card:hover .xt-project-archive-card__button {
    gap: 12px;
    color: var(--xt-archive-gold-dark);
}

.xt-project-archive-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 44px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--xt-archive-line);
    text-align: center;
    box-shadow: 0 18px 54px rgba(45,34,24,.07);
}

.xt-project-archive-empty h2 {
    margin: 0 0 12px;
    color: var(--xt-archive-dark);
    font-size: 34px;
    line-height: 1.2;
}

.xt-project-archive-empty p {
    margin: 0;
    color: var(--xt-archive-muted);
    line-height: 1.8;
}

.xt-project-archive-pagination {
    margin-top: 42px;
    display: flex;
    justify-content: center;
}

.xt-project-archive-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.xt-project-archive-pagination a,
.xt-project-archive-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--xt-archive-line);
    color: var(--xt-archive-muted);
    font-size: 13px;
    font-weight: 800;
}

.xt-project-archive-pagination .current,
.xt-project-archive-pagination a:hover {
    background: var(--xt-archive-dark);
    border-color: var(--xt-archive-dark);
    color: #ffffff;
}

[data-xt-archive-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

[data-xt-archive-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .xt-project-archive-page {
        padding: 76px 0 84px;
    }

    .xt-project-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .xt-project-archive-page {
        padding: 62px 0 72px;
    }

    .xt-project-archive-hero {
        margin-bottom: 28px;
        text-align: left;
    }

    .xt-project-archive-hero .xt-section-kicker {
        justify-content: flex-start;
        font-size: 11px;
        letter-spacing: .14em;
    }

    .xt-project-archive-hero .xt-section-kicker::after {
        display: none;
    }

    .xt-project-archive-hero h1 {
        font-size: 40px;
    }

    .xt-project-archive-hero p {
        font-size: 15px;
        line-height: 1.78;
    }

    .xt-project-archive-filter {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        margin-bottom: 28px;
        scrollbar-width: none;
    }

    .xt-project-archive-filter::-webkit-scrollbar {
        display: none;
    }

    .xt-project-archive-filter a {
        flex: 0 0 auto;
    }

    .xt-project-archive-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .xt-project-archive-card {
        border-radius: 24px;
    }

    .xt-project-archive-card__body {
        padding: 22px;
    }

    .xt-project-archive-card h2 {
        font-size: 23px;
    }
}

@media (max-width: 390px) {
    .xt-project-archive-hero h1 {
        font-size: 34px;
    }

    .xt-project-archive-card__body {
        padding: 20px;
    }
}

/* ======================================================
   v1.2.2 compatibility cleanup
   - Project single/archive now use the active theme header/footer.
   - Standalone template rules were removed so theme wrappers stay intact.
   - No rule in this section hides the theme header/footer.
   ====================================================== */

/* ---------- Project layout stability ---------- */
.xt-project-page .xt-container,
.xt-project-archive-page .xt-container {
    width: min(1320px, calc(100% - 48px)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.xt-project-page .xt-project-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr) !important;
    gap: clamp(32px, 5vw, 68px) !important;
    align-items: start !important;
}

.xt-project-page .xt-gallery-col,
.xt-project-page .xt-info-col,
.xt-project-page .xt-info-sticky,
.xt-project-page .xt-quote-card,
.xt-project-page .xt-quote-card * {
    min-width: 0 !important;
    max-width: none !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.xt-project-page .xt-main-image-wrap,
.xt-project-page .xt-main-image-wrap:hover,
.xt-project-page .xt-main-image-wrap[data-xt-magnetic],
.xt-project-page .xt-main-image-wrap[data-xt-magnetic].is-magnetic-active {
    height: min(56vh, 560px) !important;
    min-height: 420px !important;
    border-radius: 30px !important;
    clip-path: inset(0 round 30px) !important;
    overflow: hidden !important;
    transform: none !important;
    perspective: none !important;
    will-change: auto !important;
}

.xt-project-page .xt-main-image-wrap::after,
.xt-project-page .xt-main-image-wrap[data-xt-magnetic]::after {
    display: none !important;
}

.xt-project-page img.xt-main-image,
.xt-project-page .xt-main-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    border-radius: 0 !important;
}

.xt-project-page .xt-quote-card {
    padding: 28px !important;
    border-radius: 28px !important;
    border: 1px solid rgba(185,130,70,.20) !important;
    background:
        radial-gradient(circle at 92% 8%, rgba(185,130,70,.18), transparent 34%),
        linear-gradient(180deg, rgba(255,253,250,.96), rgba(247,243,238,.88)) !important;
    color: var(--xt-ink) !important;
    box-shadow: 0 16px 42px rgba(17,24,39,.07) !important;
    overflow: hidden !important;
}

.xt-project-page .xt-quote-label {
    display: block !important;
    margin: 0 0 10px !important;
    color: var(--xt-accent-dark) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 850 !important;
    letter-spacing: .03em !important;
    white-space: normal !important;
}

.xt-project-page .xt-price-line {
    display: flex !important;
    align-items: flex-end !important;
    flex-wrap: wrap !important;
    gap: 8px 10px !important;
    margin: 0 0 22px !important;
}

.xt-project-page .xt-price-main {
    display: inline-block !important;
    color: var(--xt-ink) !important;
    font-size: clamp(32px, 3vw, 45px) !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -.035em !important;
}

.xt-project-page .xt-price-unit {
    display: inline-block !important;
    color: var(--xt-muted) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    padding-bottom: 3px !important;
}

.xt-project-page .xt-btn,
.xt-project-page button.xt-btn,
.xt-project-page a.xt-btn {
    width: 100% !important;
    min-height: 54px !important;
    border-radius: 16px !important;
    text-transform: none !important;
}

.xt-project-page .xt-btn-primary,
.xt-project-page button.xt-btn-primary,
.xt-project-page a.xt-btn-primary {
    background: var(--xt-ink) !important;
    color: #fff !important;
    border-color: var(--xt-ink) !important;
}

.xt-project-page .xt-btn-whatsapp,
.xt-project-page a.xt-btn-whatsapp {
    background: rgba(255,255,255,.82) !important;
    color: var(--xt-green) !important;
    border-color: rgba(22,163,74,.45) !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 1024px) {
    .xt-project-page .xt-project-layout {
        grid-template-columns: 1fr !important;
    }

    .xt-project-page .xt-info-sticky,
    .xt-project-page .xt-gallery-col {
        position: static !important;
        top: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

@media (max-width: 767px) {
    .xt-project-page .xt-container,
    .xt-project-archive-page .xt-container {
        width: min(100% - 28px, 1320px) !important;
    }

    .xt-project-page .xt-main-image-wrap,
    .xt-project-page .xt-main-image-wrap:hover,
    .xt-project-page .xt-main-image-wrap[data-xt-magnetic] {
        height: clamp(285px, 78vw, 380px) !important;
        min-height: 285px !important;
        border-radius: 24px !important;
        clip-path: inset(0 round 24px) !important;
    }

    .xt-project-page img.xt-main-image,
    .xt-project-page .xt-main-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

}

/* ======================================================
   v1.2.3 theme-safe container fixes
   Keep the active theme/Elementor header and footer intact, while preventing
   theme blog/sidebar wrappers from squeezing the project layout.
   ====================================================== */

body.single-xt_project .page_content_wrap,
body.single-xt_project .content_wrap,
body.single-xt_project .content,
body.single-xt_project .content-area,
body.single-xt_project .site-content,
body.single-xt_project .site-main,
body.post-type-archive-xt_project .page_content_wrap,
body.post-type-archive-xt_project .content_wrap,
body.post-type-archive-xt_project .content,
body.post-type-archive-xt_project .content-area,
body.post-type-archive-xt_project .site-content,
body.post-type-archive-xt_project .site-main,
body.tax-xt_project_category .page_content_wrap,
body.tax-xt_project_category .content_wrap,
body.tax-xt_project_category .content,
body.tax-xt_project_category .content-area,
body.tax-xt_project_category .site-content,
body.tax-xt_project_category .site-main {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
}

body.single-xt_project .sidebar,
body.post-type-archive-xt_project .sidebar,
body.tax-xt_project_category .sidebar {
    display: none !important;
}

body.single-xt_project .xt-project-template-main,
body.post-type-archive-xt_project .xt-project-archive-template-main,
body.tax-xt_project_category .xt-project-archive-template-main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

body.single-xt_project .xt-project-page,
body.post-type-archive-xt_project .xt-project-archive-page,
body.tax-xt_project_category .xt-project-archive-page {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
}

body.single-xt_project .xt-project-page :where(img),
body.post-type-archive-xt_project .xt-project-archive-page :where(img),
body.tax-xt_project_category .xt-project-archive-page :where(img) {
    max-width: 100% !important;
}

/* ======================================================
   v1.2.5 theme header compatibility + quote buttons fix

   Goals:
   1. Keep the active theme header/footer visible.
   2. Do not hide theme top panel or Elementor header.
   3. Remove excessive project page wrapper spacing without affecting header menus.
   4. Keep quote buttons stacked vertically and full width.
   ====================================================== */

body.single-xt_project .page_content_wrap,
body.post-type-archive-xt_project .page_content_wrap,
body.tax-xt_project_category .page_content_wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.single-xt_project .page_title_wrap,
body.single-xt_project .sc_layouts_title,
body.single-xt_project .top_panel_title,
body.post-type-archive-xt_project .page_title_wrap,
body.post-type-archive-xt_project .sc_layouts_title,
body.post-type-archive-xt_project .top_panel_title,
body.tax-xt_project_category .page_title_wrap,
body.tax-xt_project_category .sc_layouts_title,
body.tax-xt_project_category .top_panel_title {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.single-xt_project .xt-project-hero {
    padding-top: clamp(22px, 3vw, 44px) !important;
}

body.post-type-archive-xt_project .xt-project-archive-page,
body.tax-xt_project_category .xt-project-archive-page {
    padding-top: clamp(34px, 4vw, 64px) !important;
}

.xt-project-page .xt-quote-card {
    display: block !important;
    min-height: 0 !important;
}

.xt-project-page .xt-quote-label {
    display: block !important;
    margin: 0 0 10px !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

.xt-project-page .xt-price-line {
    display: flex !important;
    justify-content: flex-start !important;
    text-align: left !important;
    margin: 0 0 22px !important;
    writing-mode: horizontal-tb !important;
}

.xt-project-page .xt-cta-group {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: none !important;
    justify-items: stretch !important;
}

.xt-project-page .xt-quote-card .xt-btn,
.xt-project-page .xt-cta-group .xt-btn,
.xt-project-page button.xt-btn,
.xt-project-page a.xt-btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

.xt-project-page .xt-privacy-line {
    justify-content: center !important;
    margin: 16px 0 0 !important;
    writing-mode: horizontal-tb !important;
}

@media (max-width: 767px) {
    body.single-xt_project .xt-project-hero {
        padding-top: 18px !important;
    }

    .xt-project-page .xt-quote-card {
        padding: 22px !important;
    }

    .xt-project-page .xt-cta-group,
    .xt-project-page .xt-quote-card .xt-btn {
        width: 100% !important;
    }
}

/* ======================================================
   v1.2.6 ThemeREX Header Layout Fallback

   Purpose:
   1. Project CPT pages still call get_header()/get_footer().
   2. If the theme does not inject the selected Header Layout into xt_project,
      the plugin renders the original ThemeREX Header Layout shortcode [trx_sc_layouts layout="714"].
   3. Hide only empty theme header/title placeholders that create top whitespace.
   ====================================================== */

body.single-xt_project .xt-project-theme-header-layout,
body.post-type-archive-xt_project .xt-project-theme-header-layout,
body.tax-xt_project_category .xt-project-theme-header-layout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 1000 !important;
}

body.single-xt_project .xt-project-theme-header-layout .elementor,
body.single-xt_project .xt-project-theme-header-layout .elementor-section,
body.single-xt_project .xt-project-theme-header-layout .elementor-container,
body.single-xt_project .xt-project-theme-header-layout .e-con,
body.single-xt_project .xt-project-theme-header-layout .e-con-inner,
body.post-type-archive-xt_project .xt-project-theme-header-layout .elementor,
body.post-type-archive-xt_project .xt-project-theme-header-layout .elementor-section,
body.post-type-archive-xt_project .xt-project-theme-header-layout .elementor-container,
body.post-type-archive-xt_project .xt-project-theme-header-layout .e-con,
body.post-type-archive-xt_project .xt-project-theme-header-layout .e-con-inner,
body.tax-xt_project_category .xt-project-theme-header-layout .elementor,
body.tax-xt_project_category .xt-project-theme-header-layout .elementor-section,
body.tax-xt_project_category .xt-project-theme-header-layout .elementor-container,
body.tax-xt_project_category .xt-project-theme-header-layout .e-con,
body.tax-xt_project_category .xt-project-theme-header-layout .e-con-inner {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Hide only placeholder header shells when they do not contain real menu/header content. */
@supports selector(:has(*)) {
    body.single-xt_project .top_panel:not(:has(a)):not(:has(img)):not(:has(nav)):not(:has(.sc_layouts)):not(:has(.elementor)),
    body.post-type-archive-xt_project .top_panel:not(:has(a)):not(:has(img)):not(:has(nav)):not(:has(.sc_layouts)):not(:has(.elementor)),
    body.tax-xt_project_category .top_panel:not(:has(a)):not(:has(img)):not(:has(nav)):not(:has(.sc_layouts)):not(:has(.elementor)) {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}

body.single-xt_project .xt-project-template-main,
body.post-type-archive-xt_project .xt-project-archive-template-main,
body.tax-xt_project_category .xt-project-archive-template-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.single-xt_project .xt-project-hero {
    padding-top: clamp(18px, 2.4vw, 34px) !important;
}
