


.xtm-wrap {
    --xr: var(--primary-color, #d2232a);
    --xb: #e0e0e0;
    --xg: #f9f9f9;
    --xtm-border-radius: 4px;
    --xtm-transition: all 0.3s ease;
    font-family: inherit;
}
.xtm-wrap * { 
    box-sizing: border-box; 
}
.xtm-wrap table { 
    border-spacing: 0; 
    border-collapse: collapse;
}


.xtm-wrap p,
.xtm-wrap h1,
.xtm-wrap h2,
.xtm-wrap h3,
.xtm-wrap ul,
.xtm-wrap ol {
    margin-top: 0;
}


.xtm-wrap .button {
    font-family: inherit;
    transition: var(--xtm-transition);
}


.xtm-wrap .xtm-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--xb);
}
.xtm-wrap .xtm-section:first-child {
    padding-top: 15px;
}
.xtm-wrap .xtm-section:last-of-type { 
    border-bottom: none; 
}
.xtm-wrap .xtm-form-section { 
    background: var(--xg); 
    padding: 30px 20px;
    border-radius: var(--xtm-border-radius);
    margin-top: 0;
}


.xtm-wrap .row {
    margin-left: -10px;
    margin-right: -10px;
}
.xtm-wrap .row .col {
    padding-left: 10px;
    padding-right: 10px;
}
.xtm-wrap .row-small {
    margin-left: -7px;
    margin-right: -7px;
}
.xtm-wrap .row-small .col {
    padding-left: 7px;
    padding-right: 7px;
}


.xtm-wrap .xtm-eyebrow {
    font-size: 150%;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--xr);
    border-bottom: 2px solid var(--xr);
    display: inline-block;
    padding-bottom: 6px;
    margin: 0 0 12px;
    line-height: 1.2;
    font-family: inherit;
}


.xtm-wrap .xtm-no-img {
    background: var(--xg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.9em;
    border: 1px dashed var(--xb);
    border-radius: var(--xtm-border-radius);
}
.xtm-wrap .xtm-product-h1 {
    font-size: 1.8em;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 10px;
    line-height: 1.3;
    color: inherit;
    font-family: inherit;
}
.xtm-wrap .xtm-price-text {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--xr);
    margin: 0 0 12px;
    line-height: 1.4;
}


.xtm-wrap .xtm-kq-table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-bottom: 16px;
    border: 1px solid var(--xb);
    border-radius: var(--xtm-border-radius);
    overflow: hidden;
}
.xtm-wrap .xtm-kq-table tr { 
    border-bottom: 1px solid var(--xb); 
}
.xtm-wrap .xtm-kq-table tr:last-child { 
    border-bottom: none; 
}
.xtm-wrap .xtm-kq-table tr:nth-child(even) td { 
    background: var(--xg); 
}
.xtm-wrap .xtm-kq-k {
    padding: 8px 12px;
    font-weight: 700;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 50%;
    vertical-align: middle;
    color: #555;
}
.xtm-wrap .xtm-kq-v { 
    padding: 8px 12px; 
    vertical-align: middle;
    font-size: 0.95em;
    color: #333;
}


.xtm-wrap .xtm-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}
.xtm-wrap .xtm-cta .button {
    margin: 0;
    flex: 1 1 auto;
    min-width: 160px;
    text-align: center;
    transition: var(--xtm-transition);
}


.xtm-wrap .xtm-gal-section { 
    padding-bottom: 30px; 
}
.xtm-wrap .xtm-caption {
    font-size: 0.88em;
    opacity: 0.7;
    margin: 8px 0 0;
    line-height: 1.5;
    font-style: italic;
    color: #666;
}


.xtm-wrap .xtm-slider {
    position: relative;
    overflow: hidden;
    background: #fff;
    line-height: 0;
    border-radius: var(--xtm-border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 10px;
}
.xtm-wrap .xtm-slides {
    position: relative;
    width: 100%;
    padding-bottom: 40%; 
}
.xtm-wrap .xtm-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
    z-index: 1;
    line-height: 0;
}
.xtm-wrap .xtm-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}
.xtm-wrap .xtm-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #fff;
}
.xtm-wrap .xtm-slide .xtm-caption {
    position: absolute;
    bottom: 0; 
    left: 0; 
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 10px 16px;
    margin: 0;
    line-height: 1.5;
    font-size: 0.85em;
    z-index: 3;
    font-style: normal;
}


.xtm-wrap .xtm-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px 0 4px;
    background: #fff;
    line-height: 1;
}
.xtm-wrap .xtm-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--xg);
    border: 2px solid var(--xb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    user-select: none;
}
.xtm-wrap .xtm-dot:hover {
    background: #fff;
    border-color: var(--xr);
    transform: scale(1.08);
}
.xtm-wrap .xtm-dot.active {
    background: var(--xr);
    border-color: var(--xr);
    color: #fff;
    transform: scale(1.12);
}


.xtm-wrap .xtm-thumbs {
    display: flex;
    justify-content: center;
    gap: 5px;
    overflow-x: auto;
    padding: 8px 0 0;
    background: #fff;
    scrollbar-width: thin;
    scrollbar-color: var(--xr) var(--xg);
    flex-wrap: nowrap;
}
.xtm-wrap .xtm-thumbs::-webkit-scrollbar {
    height: 5px;
}
.xtm-wrap .xtm-thumbs::-webkit-scrollbar-track {
    background: var(--xg);
}
.xtm-wrap .xtm-thumbs::-webkit-scrollbar-thumb {
    background: var(--xr);
    border-radius: 3px;
}
.xtm-wrap .xtm-thumb {
    width: 70px;
    height: 50px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
    border-radius: 3px;
}
.xtm-wrap .xtm-thumb.active,
.xtm-wrap .xtm-thumb:hover {
    opacity: 1;
    border-color: var(--xr);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}


.xtm-wrap .xtm-spec-wrap {
    display: flex;
    border: 1px solid var(--xb);
    border-radius: var(--xtm-border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    background: #fff;
    margin-top: 5px;
}


.xtm-wrap .xtm-spec-nav {
    flex: 0 0 190px;
    display: flex;
    flex-direction: column;
    background: var(--xg);
    border-right: 1px solid var(--xb);
}
.xtm-wrap .xtm-spec-btn {
	margin:0;
    padding: 12px 14px;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid var(--xb);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.78em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.4;
    color: #555;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
}
.xtm-wrap .xtm-spec-btn:last-child { 
    border-bottom: none; 
}
.xtm-wrap .xtm-spec-btn:hover { 
    background: rgba(0,0,0,0.04); 
    color: var(--xr);
    padding-left: 18px;
}
.xtm-wrap .xtm-spec-btn.active {
    background: var(--xr);
    color: #fff;
    border-color: var(--xr);
    padding-left: 18px;
}
.xtm-wrap .xtm-spec-btn.active::before {
    content: '\25B6';
    position: absolute;
    left: 6px;
    font-size: 0.7em;
}


.xtm-wrap .xtm-spec-panels { 
    flex: 1; 
    min-width: 0; 
    background: #fff; 
}
.xtm-wrap .xtm-spec-panel { 
    display: none; 
}
.xtm-wrap .xtm-spec-panel.active { 
    display: block; 
}
.xtm-wrap .xtm-empty { 
    padding: 20px; 
    opacity: 0.6; 
    font-size: 0.95em;
    text-align: center;
    color: #999;
}


.xtm-wrap .xtm-spec-tbl { 
    width: 100%; 
    border-collapse: collapse; 
    font-size: 0.88em; 
}
.xtm-wrap .xtm-spec-tbl tr { 
    border-bottom: 1px solid var(--xb);
    transition: background 0.2s ease;
}
.xtm-wrap .xtm-spec-tbl tr:last-child { 
    border-bottom: none; 
}
.xtm-wrap .xtm-spec-tbl tr:nth-child(even) td { 
    background: var(--xg); 
}
.xtm-wrap .xtm-spec-tbl tr:hover td { 
    background: rgba(0,0,0,0.02); 
}
.xtm-wrap .xtm-sp-n { 
    padding: 10px 14px; 
    font-weight: 600; 
    width: 40%; 
    vertical-align: top;
    color: #333;
}
.xtm-wrap .xtm-sp-u { 
    padding: 10px 8px; 
    width: 12%; 
    vertical-align: top; 
    opacity: 0.6; 
    font-size: 0.85em; 
    white-space: nowrap;
    font-style: italic;
}
.xtm-wrap .xtm-sp-v { 
    padding: 10px 14px; 
    vertical-align: top;
    color: #555;
}


.xtm-wrap .xtm-equip-tbl { 
    width: 100%; 
    border-collapse: collapse; 
    font-size: 0.88em; 
}
.xtm-wrap .xtm-equip-tbl tr { 
    border-bottom: 1px solid var(--xb);
    transition: background 0.2s ease;
}
.xtm-wrap .xtm-equip-tbl tr:last-child { 
    border-bottom: none; 
}
.xtm-wrap .xtm-equip-tbl tr:nth-child(even) td { 
    background: var(--xg); 
}
.xtm-wrap .xtm-equip-tbl tr:hover td { 
    background: rgba(0,0,0,0.02); 
}
.xtm-wrap .xtm-equip-tbl td { 
    padding: 9px 14px; 
    width: 50%; 
    vertical-align: middle; 
    line-height: 1.5;
    color: #555;
}
.xtm-wrap .xtm-equip-tbl td:first-child { 
    border-right: 1px solid var(--xb);
    font-weight: 500;
}


.xtm-cat-group { 
    padding: 30px 0; 
    margin-bottom: 20px;
}
.xtm-video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
}
.xtm-video-responsive iframe,
.xtm-video-responsive video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.xtm-cat-banner {
    margin-bottom: 20px;
    border-radius: var(--xtm-border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.xtm-cat-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.xtm-cat-banner:hover img {
    transform: scale(1.05);
}
.xtm-sub-tabs-nav { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
    border-bottom: 2px solid #e0e0e0; 
    padding-bottom: 12px; 
    margin-bottom: 24px; 
    align-items: center; 
}
.xtm-sub-tab-btn {
    padding: 8px 18px; 
    font-size: 0.85em; 
    font-weight: 700;
    background: #f5f5f5; 
    border: 2px solid #ddd; 
    border-radius: 24px;
    cursor: pointer; 
    transition: all 0.3s ease; 
    outline: none; 
    color: #555; 
    font-family: inherit;
    letter-spacing: 0.3px;
}
.xtm-sub-tab-btn:hover {
    background: #fff;
    border-color: var(--xr);
    color: var(--xr);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.xtm-sub-tab-btn.active { 
    background: var(--xr); 
    color: #fff; 
    border-color: var(--xr);
    transform: translateY(-2px);
    box-shadow: 0 3px 12px rgba(210,35,42,0.3);
}
.xtm-all-link { 
    margin-left: auto; 
    font-size: 0.85em; 
    color: var(--xr); 
    text-decoration: none; 
    font-weight: 700;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}
.xtm-all-link:hover { 
    text-decoration: underline;
    transform: translateX(3px);
}
.xtm-sub-tab-content { 
    display: none; 
}
.xtm-sub-tab-content.active { 
    display: block; 
    animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


.xtm-product-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 24px; 
    padding-bottom: 24px; 
}
.xtm-product-card { 
    background: #fff; 
    border: 1px solid #e5e5e5; 
    border-radius: var(--xtm-border-radius); 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    transition: all 0.35s ease;
    position: relative;
}
.xtm-product-card:hover { 
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); 
    transform: translateY(-5px);
    border-color: var(--xr);
}
.xtm-card-img {
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f9f9f9;
    line-height: 0;
    position: relative;
}
.xtm-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
}
.xtm-product-card:hover .xtm-card-img::after {
    background: rgba(0,0,0,0.05);
}
.xtm-card-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
}

.xtm-card-no-img { 
    width: 100%; 
    aspect-ratio: 4/3; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: #f9f9f9; 
    color: #bbb; 
    font-size: 0.88em;
    border: 1px dashed #ddd;
}
.xtm-card-body { 
    padding: 10px 12px; 
    display: flex; 
    flex-direction: column; 
    flex: 1; 
    gap: 4px; 
}
.xtm-card-title { 
    margin: 0; 
    font-size: 0.9em; 
    line-height: 1.3; 
    font-weight: 700;
    min-height: 2.34em;
}
.xtm-card-title a { 
    text-decoration: none; 
    color: #333;
    transition: color 0.3s ease;
}
.xtm-card-title a:hover { 
    color: var(--xr); 
}
.xtm-card-specs-toggle {
    display: none;
}
.xtm-card-specs-wrap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    padding: 10px 12px 8px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 2;
    max-height: 70%;
    overflow-y: auto;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    scrollbar-width: thin;
}
.xtm-product-card:hover .xtm-card-specs-wrap {
    transform: translateY(0);
}
.xtm-card-specs { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    font-size: 0.72em; 
}
.xtm-card-specs li { 
    padding: 3px 0; 
    border-bottom: 1px solid #eee; 
    display: flex; 
    gap: 4px; 
    flex-wrap: wrap;
    line-height: 1.35;
}
.xtm-card-specs li:last-child { 
    border-bottom: none; 
}
.xtm-card-specs li span { 
    font-weight: 600; 
    min-width: 80px; 
    flex-shrink: 0;
    color: #555;
}
.xtm-card-footer { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 8px; 
    padding-top: 8px; 
    border-top: 1px solid #e5e5e5; 
    margin-top: auto; 
}
.xtm-card-price { 
    font-weight: 700; 
    color: var(--xr);
    font-size: 0.9em;
}
.xtm-card-btn {
    padding: 4px 10px;
    background: transparent;
    border: 1px solid var(--xr);
    color: var(--xr);
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.xtm-card-btn:hover {
    background: var(--xr);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(210,35,42,0.3);
}
.xtm-divider { 
    border: none; 
    border-top: 2px solid #e5e5e5; 
    margin: 30px 0; 
}
.xtm-empty { 
    text-align: center; 
    padding: 40px 20px; 
    opacity: 0.6; 
    font-size: 0.95em;
    color: #999;
}




@media (max-width: 1024px) {
    .xtm-wrap .xtm-product-h1 { 
        font-size: 1.6em; 
    }
    .xtm-wrap .xtm-spec-nav { 
        flex: 0 0 180px; 
    }
    .xtm-wrap .xtm-spec-btn { 
        font-size: 0.75em; 
        padding: 12px 12px; 
    }
}


@media (max-width: 849px) {
    .xtm-product-grid { 
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .xtm-wrap .xtm-spec-nav { 
        flex: 0 0 150px; 
    }
    .xtm-wrap .xtm-spec-btn { 
        font-size: 0.7em; 
        padding: 11px 10px;
        letter-spacing: 0.5px;
    }
    .xtm-wrap .xtm-product-h1 { 
        font-size: 1.4em; 
    }
    .xtm-wrap .xtm-section {
        padding: 30px 0;
    }
    .xtm-card-specs-wrap {
        transform: translateY(0);
        background: rgba(0,0,0,0.55);
        box-shadow: none;
        overflow: hidden;
        pointer-events: auto;
        transition: max-height 0.3s ease, background 0.3s ease;
    }
    .xtm-card-specs-wrap .xtm-card-specs {
        display: none;
        font-size: 0.65em;
        padding: 6px 10px 10px;
    }
    .xtm-card-specs-wrap .xtm-card-specs li {
        border-color: #eee;
        padding: 2px 0;
    }
    .xtm-card-specs-wrap .xtm-card-specs li span {
        color: #555;
        min-width: 60px;
    }
    .xtm-card-specs-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 10px 0;
        background: none;
        border: none;
        cursor: pointer;
        color: #fff;
        text-align: center;
        font-size: 1.2em;
        line-height: 1;
        min-height: 40px;
    }
    .xtm-card-specs-wrap.active {
        background: #fff;
        max-height: 70%;
        overflow-y: auto;
        pointer-events: auto;
    }
    .xtm-card-specs-wrap.active .xtm-card-specs {
        display: block;
    }
    .xtm-card-specs-wrap.active .xtm-card-specs-toggle {
        border-bottom: 1px solid #e5e5e5;
        color: #333;
    }
    .xtm-card-specs-wrap.active .xtm-card-specs-toggle span {
        display: inline-block;
        transform: rotate(180deg);
    }
}


@media (min-width: 641px) and (max-width: 768px) {
    .xtm-wrap .xtm-product-h1 { 
        font-size: 1.35em; 
    }
    .xtm-wrap .xtm-kq-k {
        font-size: 0.75em;
    }
}

@media (max-width: 640px) {
    .xtm-product-grid { 
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    
    .xtm-wrap .xtm-section {
        padding: 24px 0;
    }
    .xtm-wrap .xtm-section:first-child {
        padding-top: 10px;
    }
    
    
    .xtm-wrap .xtm-spec-wrap { 
        flex-direction: column; 
    }
    .xtm-wrap .xtm-spec-nav { 
        flex: none; 
        flex-direction: row; 
        flex-wrap: wrap; 
        border-right: none; 
        border-bottom: 1px solid var(--xb); 
    }
    .xtm-wrap .xtm-spec-btn { 
        flex: 1 1 auto; 
        text-align: center; 
        border-right: 1px solid var(--xb); 
        border-bottom: none; 
        font-size: 0.65em; 
        padding: 10px 6px;
        min-width: 80px;
    }
    .xtm-wrap .xtm-spec-btn:last-child {
        border-right: none;
    }
    .xtm-wrap .xtm-spec-btn:hover,
    .xtm-wrap .xtm-spec-btn.active {
        padding-left: 6px;
    }
    .xtm-wrap .xtm-spec-btn.active::before {
        display: none;
    }
    
    
    .xtm-wrap .xtm-cta { 
        flex-direction: column; 
    }
    .xtm-wrap .xtm-cta .button {
        width: 100%;
    }
    
    
    .xtm-wrap .xtm-slides { 
        padding-bottom: 56%; 
    }
    .xtm-wrap .xtm-thumbs { 
        display: none; 
    }
    .xtm-wrap .xtm-counter {
        padding: 10px 0 5px;
    }
    .xtm-wrap .xtm-dot {
        width: 26px;
        height: 26px;
    }
    
    
    .xtm-wrap .xtm-equip-tbl tr { 
        display: flex; 
        flex-direction: column; 
    }
    .xtm-wrap .xtm-equip-tbl td { 
        width: 100%; 
        border-right: none; 
    }
    .xtm-wrap .xtm-equip-tbl td:first-child { 
        border-bottom: 1px dashed var(--xb);
        padding-bottom: 8px;
    }
    .xtm-wrap .xtm-equip-tbl td:last-child { 
        padding-top: 8px;
    }
    
    
    .xtm-wrap .xtm-spec-tbl,
    .xtm-wrap .xtm-kq-table {
        font-size: 0.85em;
    }
    .xtm-wrap .xtm-sp-n,
    .xtm-wrap .xtm-sp-u,
    .xtm-wrap .xtm-sp-v {
        padding: 10px 12px;
    }
    
    
    .xtm-wrap .xtm-product-h1 { 
        font-size: 1.25em;
        margin-bottom: 10px;
    }
    .xtm-wrap .xtm-price-text {
        font-size: 1.1em;
    }
    
    
    .xtm-sub-tabs-nav { 
        gap: 6px;
        padding-bottom: 10px;
        margin-bottom: 16px;
    }
    .xtm-sub-tab-btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }
    .xtm-all-link { 
        margin-left: 0;
        width: 100%;
        text-align: center;
        padding: 6px 0;
    }
    
    
    .xtm-card-body {
        padding: 8px 10px;
    }
    .xtm-card-title {
        font-size: 0.85em;
        min-height: auto;
    }

    .xtm-card-specs-wrap .xtm-card-specs {
        font-size: 0.6em;
        padding: 4px 8px 8px;
    }
    .xtm-card-specs-wrap .xtm-card-specs li span {
        min-width: 50px;
    }
    .xtm-card-specs-wrap.active {
        max-height: 70%;
    }
    .xtm-card-specs-toggle {
        padding: 8px 0;
        font-size: 1.1em;
        min-height: 36px;
    }
}


@media (max-width: 480px) {
    .xtm-wrap .xtm-product-h1 { 
        font-size: 1.15em; 
    }
    .xtm-wrap .xtm-eyebrow {
        font-size: 0.7em;
        letter-spacing: 1.8px;
    }
    .xtm-wrap .xtm-spec-btn { 
        font-size: 0.6em; 
        padding: 8px 4px;
        letter-spacing: 0.3px;
    }
    .xtm-wrap .xtm-kq-k {
        font-size: 0.72em;
        padding: 8px 10px;
    }
    .xtm-wrap .xtm-kq-v {
        font-size: 0.88em;
        padding: 8px 10px;
    }
    .xtm-sub-tab-btn {
        font-size: 0.75em;
        padding: 5px 10px;
    }

    .xtm-card-specs-wrap .xtm-card-specs {
        font-size: 0.58em;
        padding: 3px 6px 6px;
    }
    .xtm-card-specs-wrap .xtm-card-specs li span {
        min-width: 45px;
    }
    .xtm-card-specs-wrap.active {
        max-height: 70%;
    }
    .xtm-card-specs-toggle {
        padding: 7px 0;
        font-size: 1em;
        min-height: 34px;
    }
}


.xtm-wrap .xtm-editor-content {
    padding: 16px 20px;
    line-height: 1.7;
    font-size: 0.95em;
}
.xtm-wrap .xtm-editor-content h1,
.xtm-wrap .xtm-editor-content h2,
.xtm-wrap .xtm-editor-content h3,
.xtm-wrap .xtm-editor-content h4 {
    margin-top: 1.2em;
    margin-bottom: 0.6em;
    font-weight: 700;
    color: #333;
}
.xtm-wrap .xtm-editor-content h1 { font-size: 1.6em; }
.xtm-wrap .xtm-editor-content h2 { font-size: 1.4em; }
.xtm-wrap .xtm-editor-content h3 { font-size: 1.2em; }
.xtm-wrap .xtm-editor-content h4 { font-size: 1.05em; }
.xtm-wrap .xtm-editor-content p {
    margin-bottom: 1em;
}
.xtm-wrap .xtm-editor-content ul,
.xtm-wrap .xtm-editor-content ol {
    margin: 1em 0;
    padding-left: 2em;
}
.xtm-wrap .xtm-editor-content ul li {
    list-style-type: disc;
    margin-bottom: 0.5em;
}
.xtm-wrap .xtm-editor-content ol li {
    list-style-type: decimal;
    margin-bottom: 0.5em;
}
.xtm-wrap .xtm-editor-content strong {
    font-weight: 700;
}
.xtm-wrap .xtm-editor-content em {
    font-style: italic;
}
.xtm-wrap .xtm-editor-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}
.xtm-wrap .xtm-editor-content table th,
.xtm-wrap .xtm-editor-content table td {
    padding: 10px 14px;
    border: 1px solid var(--xb);
    text-align: left;
}
.xtm-wrap .xtm-editor-content table th {
    background: var(--xg);
    font-weight: 700;
}
.xtm-wrap .xtm-editor-content table tr:nth-child(even) td {
    background: var(--xg);
}
.xtm-wrap .xtm-editor-content blockquote {
    border-left: 4px solid var(--xr);
    padding: 12px 20px;
    margin: 1.5em 0;
    background: var(--xg);
    font-style: italic;
}
.xtm-wrap .xtm-editor-content a {
    color: var(--xr);
    text-decoration: underline;
}
.xtm-wrap .xtm-editor-content a:hover {
    text-decoration: none;
}


/* ============================================
   FLOATING TABLE OF CONTENTS
   ============================================ */
.xtm-toc {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-16px);
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 0;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.xtm-toc-link {
    display: block;
    position: relative;
    padding: 4px 8px 4px 18px;
    font-size: .9em;
    line-height: 1.3;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 3px;
    transition: all .2s;
}
.xtm-toc-link::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
    transition: all .2s;
}
.xtm-toc-link:hover {
    color: var(--xr,#d2232a);
    background: rgba(210,35,42,.06);
}
.xtm-toc-link.active {
    color: var(--xr,#d2232a);
    font-weight: 600;
}
.xtm-toc-link.active::before {
    background: var(--xr,#d2232a);
    width: 8px;
    height: 8px;
}

/* ============================================
   TOC TOGGLE BUTTON (gắn bên trái khối)
   ============================================ */
.xtm-toc-toggle {
    flex: 0 0 auto;
    width: 14px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: 1px solid #e5e5e5;
    border-right: none;
    border-radius: 3px 0 0 3px;
    background: rgba(255,255,255,.92);
    cursor: pointer;
    font-size: 8px;
    line-height: 1;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    order: -1;
}
.xtm-toc-toggle:hover {
    color: var(--xr,#d2232a);
    background: #fff;
    width: 16px;
}

.xtm-toc-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 6px;
    background: rgba(255,255,255,.92);
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.xtm-toc.collapsed {
    transform: translateY(-50%) translateX(calc(100% - 14px));
}
.xtm-toc.collapsed .xtm-toc-toggle {
    border-radius: 3px;
    border-right: 1px solid #e5e5e5;
    color: var(--xr,#d2232a);
    border-color: var(--xr,#d2232a);
    width: 16px;
    height: 34px;
    font-size: 9px;
}
.xtm-toc.collapsed .xtm-toc-toggle:hover {
    width: 18px;
    height: 36px;
}

@media (max-width: 1024px) {
    .xtm-toc:not(.collapsed) {
        transform: translateY(-50%) translateX(-10px);
    }
    .xtm-toc-toggle {
        width: 12px;
        height: 28px;
        font-size: 7px;
    }
    .xtm-toc-toggle:hover {
        width: 14px;
    }
    .xtm-toc.collapsed {
        transform: translateY(-50%) translateX(calc(100% - 12px));
    }
    .xtm-toc.collapsed .xtm-toc-toggle {
        width: 14px;
        height: 30px;
        font-size: 8px;
    }
    .xtm-toc.collapsed .xtm-toc-toggle:hover {
        width: 16px;
        height: 32px;
    }
    .xtm-toc-links {
        padding: 6px 4px;
        gap: 1px;
    }
    .xtm-toc-link {
        padding: 3px 6px 3px 14px;
        font-size: .9em;
    }
    .xtm-toc-link::before {
        width: 5px;
        height: 5px;
        left: 4px;
    }
    .xtm-toc-link.active::before {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 640px) {
    .xtm-toc:not(.collapsed) {
        transform: translateY(-50%) translateX(-8px);
    }
    .xtm-toc-toggle {
        width: 10px;
        height: 24px;
        font-size: 6px;
    }
    .xtm-toc.collapsed {
        transform: translateY(-50%) translateX(calc(100% - 10px));
    }
    .xtm-toc.collapsed .xtm-toc-toggle {
        width: 12px;
        height: 26px;
        font-size: 7px;
    }
    .xtm-toc-links {
        padding: 4px 3px;
        gap: 1px;
        border-radius: 4px;
    }
    .xtm-toc-link {
        padding: 2px 4px 2px 10px;
        font-size: .9em;
        line-height: 1.5;
        white-space: normal;
        word-break: break-word;
    }
    .xtm-toc-link::before {
        width: 4px;
        height: 4px;
        left: 3px;
    }
    .xtm-toc-link.active::before {
        width: 5px;
        height: 5px;
    }
}

/* ============================================
   FORM BÁO GIÁ
   ============================================ */
.xtm-form-img {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}
.xtm-form-img img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
}

@media (max-width: 849px) {
    .xtm-form-img { margin-top: 20px; }
    .xtm-form-img img { max-height: 300px; }
}
.xtm-form-title {
    margin: 0 0 24px;
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.3;
}
.xtm-form-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 28px 30px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.xtm-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
}
.xtm-form-row .xtm-form-field { flex: 1; }
.xtm-form-field {
    margin-bottom: 14px;
}
.xtm-form-field label {
    display: block;
    font-weight: 600;
    font-size: .92em;
    margin-bottom: 6px;
    color: #333;
}
.xtm-form-req { color: var(--xr,#d2232a); }
.xtm-form-field input[type="text"],
.xtm-form-field input[type="tel"],
.xtm-form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: .95em;
    color: #333;
    background: #fafafa;
    transition: border-color .2s, box-shadow .2s;
}
.xtm-form-field input:focus,
.xtm-form-field textarea:focus {
    outline: none;
    border-color: var(--xr,#d2232a);
    box-shadow: 0 0 0 3px rgba(210,35,42,.1);
    background: #fff;
}
.xtm-form-btn {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 14px 28px;
    font-size: 1em;
    font-weight: 700;
    color: #fff;
    background: var(--xr,#d2232a);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: .5px;
    transition: background .2s, transform .15s;
}
.xtm-form-btn:hover {
    background: #b71c1c;
    transform: translateY(-1px);
}
.xtm-form-btn:active { transform: none; }

.xtm-form-msg {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: .92em;
}
.xtm-form-msg p { margin: 0; }
.xtm-form-msg-ok {
    background: #e8f5e9;
    border-left: 4px solid #43a047;
    color: #256029;
}
.xtm-form-msg-err {
    background: #fff3e0;
    border-left: 4px solid #fb8c00;
    color: #7f4400;
}

@media (max-width: 640px) {
    .xtm-form-row { flex-direction: column; gap: 0; }
    .xtm-form-box { padding: 20px 16px; }
    .xtm-form-title { font-size: 1.15em; }
}

/* ============================================
   LIGHTBOX ZOOM
   ============================================ */
.xtm-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgba(0,0,0,.88);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
    cursor: pointer;
}
.xtm-lightbox.active {
    opacity: 1;
    visibility: visible;
}
.xtm-lightbox img {
    max-width: 92vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 4px 30px rgba(0,0,0,.4);
    cursor: default;
}
.xtm-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    color: #fff;
    font-size: 2em;
    line-height: 1;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s;
    background: none;
    border: none;
    padding: 4px 10px;
}
.xtm-lightbox-close:hover { opacity: 1; }
.xtm-lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: .92em;
    background: rgba(0,0,0,.5);
    padding: 6px 18px;
    border-radius: 4px;
    max-width: 80%;
    text-align: center;
}
.xtm-lightbox-prev,
.xtm-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2.8em;
    line-height: 1;
    cursor: pointer;
    opacity: .6;
    transition: opacity .2s;
    background: rgba(0,0,0,.3);
    border: none;
    padding: 10px 14px;
    border-radius: 4px;
    z-index: 1;
    display: none;
}
.xtm-lightbox-prev:hover,
.xtm-lightbox-next:hover { opacity: 1; }
.xtm-lightbox-prev { left: 12px; }
.xtm-lightbox-next { right: 12px; }
.xtm-lightbox.active .xtm-lightbox-prev,
.xtm-lightbox.active .xtm-lightbox-next { display: block; }

@media (max-width: 640px) {
    .xtm-lightbox-prev,
    .xtm-lightbox-next {
        font-size: 2em;
        padding: 8px 10px;
    }
    .xtm-lightbox-prev { left: 4px; }
    .xtm-lightbox-next { right: 4px; }
}

/* ============================================
   WIDGET: Danh mục / Sản phẩm mới
   ============================================ */
.xtm-widget-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0 6px;
}
.xtm-widget-row::-webkit-scrollbar { display: none; }

.xtm-widget-cat-row .xtm-widget-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    font-size: .82em;
    line-height: 1.3;
    color: #555;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s;
}
.xtm-widget-cat-row .xtm-widget-pill:hover {
    color: var(--xr,#d2232a);
    border-color: var(--xr,#d2232a);
    background: #fff;
}
.xtm-widget-count {
    font-size: .82em;
    color: #999;
}

.xtm-widget-col {
    list-style: none;
    margin: 0;
    padding: 0;
}
.xtm-widget-col li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}
.xtm-widget-col li:last-child { border-bottom: none; }
.xtm-widget-col a {
    color: #555;
    text-decoration: none;
    font-size: .92em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.xtm-widget-col a:hover { color: var(--xr,#d2232a); }

.xtm-widget-prod-row {
    gap: 12px;
    padding: 2px 0 8px;
}
.xtm-widget-prod-card {
    flex-shrink: 0;
    width: 220px;
}
.xtm-widget-prod-card .xtm-product-card {
    margin: 0;
}

.xtm-widget-prod-col li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.xtm-widget-prod-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}
.xtm-widget-prod-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.xtm-widget-prod-title {
    font-size: .85em;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    line-height: 1.3;
}
.xtm-widget-prod-title:hover { color: var(--xr,#d2232a); }
.xtm-widget-prod-price {
    font-size: .82em;
    color: var(--xr,#d2232a);
    font-weight: 600;
}

@media (max-width: 640px) {
    .xtm-widget-prod-card { width: 180px; }
}

@media print {
    .xtm-toc { display: none; }
    .xtm-wrap .xtm-cta,
    .xtm-wrap .xtm-counter,
    .xtm-wrap .xtm-thumbs,
    .xtm-wrap .xtm-form-section {
        display: none;
    }
    .xtm-wrap .xtm-section {
        page-break-inside: avoid;
    }
}
