/* Scope every rule to HTK components; leave existing Astra/Elementor content alone. */
.htk-core { --htk-accent: #b51e2b; --htk-ink: #17191d; --htk-muted: #525866; --htk-line: #e3e5e8; color: var(--htk-ink); font-family: inherit; line-height: 1.65; overflow-wrap: anywhere; }
.htk-core *, .htk-core *::before, .htk-core *::after { box-sizing: border-box; }
.htk-core h1, .htk-core h2, .htk-core h3 { color: var(--htk-ink); font-weight: 700; line-height: 1.2; margin: 0 0 20px; }
.htk-core h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.htk-core h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.htk-core h3 { font-size: 1.35rem; }
.htk-core p { margin: 0 0 18px; }
.htk-core a { text-decoration: none; }
.htk-core a:focus-visible { outline: 3px solid var(--htk-accent); outline-offset: 4px; }
.htk-core .htk-core-category { color: var(--htk-accent); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.htk-core .htk-core-lead { color: var(--htk-muted); font-size: 1.1rem; }
.htk-core .htk-core-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.htk-core .htk-core-button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 11px 22px; color: #fff; background: var(--htk-accent); border: 1px solid var(--htk-accent); border-radius: 4px; font-weight: 600; font-size: .95rem; line-height: 1.4; text-align: center; }
.htk-core .htk-core-button:hover { background: #921824; border-color: #921824; color: #fff; }
.htk-core .htk-core-button-secondary { background: #fff; color: var(--htk-ink); border-color: var(--htk-line); }
.htk-core .htk-core-button-secondary:hover { background: #f3f4f6; color: var(--htk-ink); border-color: var(--htk-ink); }
.htk-core-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.htk-core-columns-1 { grid-template-columns: minmax(0, 1fr); }
.htk-core-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.htk-core-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.htk-core .htk-core-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--htk-line); background: #fff; border-radius: 6px; overflow: hidden; }
.htk-core .htk-core-card-image { display: block; padding: 20px; background: #f5f6f7; }
.htk-core .htk-core-card-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; }
.htk-core .htk-core-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 25px; }
.htk-core .htk-core-card-body h3 a { color: var(--htk-ink); }
.htk-core .htk-core-card-body > p:not(.htk-core-category) { color: var(--htk-muted); }
.htk-core .htk-core-card-link { margin-top: auto; color: var(--htk-accent); font-weight: 700; }
.htk-core .htk-core-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.htk-core .htk-core-hero > * { min-width: 0; }
.htk-core .htk-core-hero-media { padding: 24px; background: #f5f6f7; border-radius: 6px; }
.htk-core .htk-core-image { max-width: 100%; height: auto; display: block; }
.htk-core .htk-core-hero-media img { width: 100%; max-height: 520px; object-fit: contain; }
.htk-core .htk-core-section { margin-top: 48px; }
.htk-core .htk-core-section > h2, .htk-core .htk-core-section > h3 { border-left: 4px solid var(--htk-accent); padding-left: 16px; }
.htk-core .htk-core-list { padding-left: 22px; margin: 0; }
.htk-core .htk-core-list li { margin-bottom: 10px; }
.htk-core .htk-core-table-wrap { overflow-x: auto; }
.htk-core .htk-core-specs { width: 100%; border-collapse: collapse; border: 1px solid var(--htk-line); margin: 0; }
.htk-core .htk-core-specs th, .htk-core .htk-core-specs td { text-align: left; vertical-align: top; padding: 14px 20px; border: 0; border-bottom: 1px solid var(--htk-line); }
.htk-core .htk-core-specs th { width: 45%; font-weight: 600; background: #f5f6f7; }
.htk-core .htk-core-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.htk-core .htk-core-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #f5f6f7; }
.htk-core-page { width: 100% !important; max-width: 1200px; margin: 0 auto !important; padding: 36px 24px 72px !important; }
.htk-core-breadcrumb { font-size: .875rem; margin-bottom: 32px; }
.htk-code-layout #content > .ast-container { display: block; max-width: none; padding: 0; }
#htk-code-page { width: 100%; margin: 0; }
.htk-core-breadcrumb a { color: var(--htk-accent); }
@media (max-width: 900px) {
    .htk-core-grid:not(.htk-core-columns-1) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .htk-core .htk-core-hero { gap: 28px; }
}
@media (max-width: 600px) {
    .htk-core-grid:not(.htk-core-columns-1), .htk-core .htk-core-hero { grid-template-columns: minmax(0, 1fr); }
    .htk-core .htk-core-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .htk-core .htk-core-section { margin-top: 32px; }
    .htk-core .htk-core-specs th, .htk-core .htk-core-specs td { padding: 12px; }
    .htk-core-page { padding: 24px 18px 48px !important; }
}

.htk-whatsapp-floating{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:calc(22px + env(safe-area-inset-bottom));z-index:9999;display:flex;align-items:center;gap:10px;padding:12px 18px;background:#128c4a;color:#fff!important;text-decoration:none!important;border-radius:32px;box-shadow:0 5px 22px #0003;font:600 15px/1.25 Arial,sans-serif}.htk-whatsapp-floating:hover{background:#0c723b}.htk-whatsapp-floating:focus-visible{outline:3px solid #fff;outline-offset:3px}.htk-whatsapp-floating svg{flex:none}.htk-whatsapp-floating small{display:block;font-size:11px;font-weight:400;margin-top:2px}@media(max-width:600px){.htk-whatsapp-floating{right:14px;bottom:calc(16px + env(safe-area-inset-bottom));padding:10px 14px;font-size:13px}}
