:root {
  color-scheme: light;
  --navy: #111b38;
  --ink: #16213a;
  --muted: #516079;
  --border: #dee4ed;
  --paper: #fff;
  --background: #f4f6fb;
  --pink: #ed1684;
  --yellow: #ffdf23;
  --green: #126743;
  --max: 1180px;
  font-family: "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; background: var(--background); color: var(--ink); line-height: 1.45; }
.tecnicom-preview { font-family: "Segoe UI", system-ui, sans-serif; }
.tecnicom-preview :is(h1, h2, h3, .price) { font-family: inherit; font-weight: 700; }
.tecnicom-preview .hero h1 { font-weight: 820; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
img, svg { display: block; }
img { max-width: 100%; }
svg { flex: 0 0 auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #386aeb; outline-offset: 3px; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 4; inset: 12px auto auto 12px; padding: 12px; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.preview { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 29px; background: #e7ebf6; color: #35415d; font-size: .66rem; letter-spacing: .11em; font-weight: 750; }
.preview > span { width: 7px; height: 7px; background: #c00864; border-radius: 50%; }
.preview > div { color: #53617c; margin-left: 4px; letter-spacing: .025em; font-weight: 600; }
.header { color: white; background: var(--navy); }
.header-inner { display: grid; grid-template-columns: 190px minmax(240px, 1fr) auto; align-items: center; gap: 23px; min-height: 84px; }
.brand { display: flex; align-items: center; min-height: 48px; width: fit-content; }
.brand img, .footer img { width: 178px; height: auto; object-fit: contain; }
.search { min-width: 0; }
.search-box { min-height: 51px; display: flex; align-items: center; gap: 10px; background: white; color: #5c6880; padding: 3px 3px 3px 14px; border: 1px solid #e3e7f1; border-radius: 11px; }
.search-box > svg { width: 21px; height: 21px; }
.search input { min-width: 0; width: 100%; height: 44px; border: 0; padding: 0 3px; color: var(--ink); background: transparent; font-size: .94rem; }
.search input:focus-visible { outline-offset: -2px; }
.search button { flex: 0 0 45px; display: grid; place-items: center; width: 45px; height: 44px; border: 0; border-radius: 8px; background: var(--yellow); color: var(--navy); }
.search button:hover, .button-yellow:hover { background: #ffed71; }
.top-actions { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.top-actions a { display: inline-flex; align-items: center; gap: 5px; min-height: 45px; padding: 0 4px; font-size: .84rem; font-weight: 650; white-space: nowrap; }
.top-actions svg { width: 18px; height: 18px; color: #ffea76; }
.top-actions a:hover, .top-actions [aria-current] { color: #ffea76; }
.top-actions .nav-chat { border: 1px solid #63708b; border-radius: 8px; padding-inline: 9px; }
main { min-height: 60vh; padding: 28px 0 48px; }
main:focus { outline: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { line-height: 1.1; letter-spacing: -.04em; }
.hero { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; align-items: stretch; min-height: 370px; background: #0d1022; border-radius: 18px; color: #fff; overflow: hidden; isolation: isolate; }
.campaign-hero { border-radius: 13px; overflow: hidden; }
.campaign-hero a, .campaign-hero picture { display: block; }
.campaign-hero a:focus-visible { outline-offset: -4px; }
.hero-text { align-self: center; padding: clamp(26px, 5vw, 66px); position: relative; z-index: 1; }
.hero-local { display: flex; align-items: center; gap: 6px; color: #dedff0; font-size: .73rem; font-weight: 700; letter-spacing: .12em; }
.hero-local svg { width: 16px; height: 16px; color: #ffea76; }
.hero h1 { margin-top: 13px; font-size: clamp(3rem, 5.45vw, 5.25rem); font-weight: 820; letter-spacing: -.068em; line-height: .94; }
.hero h1 span { display: block; color: #ff469f; }
.hero p { font-size: 1rem; max-width: 32ch; margin-top: 15px; color: #edf0fc; }
.hero .button { margin-top: 22px; }
.hero-art { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%); mask-image: linear-gradient(90deg, transparent, #000 14%); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; gap: 9px; padding: 0 16px; border: 1px solid transparent; border-radius: 9px; font-size: .9rem; font-weight: 750; transition: background-color .15s, border-color .15s; }
.button svg { width: 19px; height: 19px; }
.button-yellow { color: #111729; background: var(--yellow); }
.button-outline { color: var(--navy); background: white; border-color: #cbd5e3; }
.button-outline:hover { background: #edf2fa; border-color: #9faaC1; }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover { background: #2b3b68; }
.button-chat { background: var(--green); color: white; }
.button-chat:hover { background: #0b4c31; }
.section { margin-top: 30px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.section h2 { font-size: clamp(1.42rem, 2.6vw, 2rem); }
.text-link, .card-link, .back-link { min-height: 44px; display: inline-flex; width: fit-content; align-items: center; gap: 6px; color: #293d72; font-size: .88rem; font-weight: 750; }
.text-link { white-space: nowrap; }
.text-link:hover, .card-link:hover, .back-link:hover, .crumb a:hover, .clear-search:hover { text-decoration: underline; }
.text-link svg, .card-link svg, .back-link svg { width: 17px; height: 17px; }
.categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.category { display: flex; align-items: center; gap: 11px; min-height: 68px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 11px; background: white; font-size: .94rem; font-weight: 700; }
.category:hover { border-color: #ac5181; background: #fff5fa; }
.category-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 9px; background: #f1effe; color: #4a3380; }
.category:nth-child(3n+2) .category-icon { background: #faedf5; color: #9c1867; }
.category:nth-child(3n) .category-icon { background: #edf2fc; color: #314b89; }
.visit { display: flex; align-items: center; gap: 17px; background: #e8edf8; border: 1px solid #dce3f0; padding: 23px; border-radius: 12px; }
.visit-icon { display: grid; place-items: center; flex: 0 0 45px; height: 45px; background: white; color: #3d4e80; border-radius: 12px; }
.visit h2 { margin-bottom: 6px; }
.visit p + p { margin-top: 3px; }
.visit p { color: #394764; font-size: .93rem; }
.visit .button { margin-left: auto; }
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; color: var(--muted); font-size: .82rem; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; color: #324b80; }
.catalog-heading { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 19px; }
.catalog-heading h1 { font-size: clamp(1.8rem, 4vw, 3.15rem); overflow-wrap: anywhere; }
.catalog-matches { color: var(--muted); margin-top: 8px; font-size: .92rem; overflow-wrap: anywhere; }
.clear-search { display: inline-flex; min-height: 44px; align-items: center; margin-left: 5px; font-weight: 700; color: #34487d; }
.category-select { display: flex; flex-direction: column; gap: 4px; min-width: 215px; color: #344661; font-size: .84rem; font-weight: 650; }
.category-select select { min-height: 46px; padding: 0 8px; border: 1px solid #c5d0e0; border-radius: 8px; background: white; color: var(--ink); }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--border); border-radius: 12px; }
.product-photo, .detail-photo { display: grid; place-items: center; position: relative; aspect-ratio: 1.35; isolation: isolate; overflow: hidden; color: var(--muted); background: white; border-bottom: 1px solid #eff1f7; }
.product-photo img, .detail-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; background: white; }
.image-fallback { display: grid; justify-items: center; gap: 5px; text-align: center; font-size: .75rem; position: absolute; z-index: -1; }
.image-fallback svg { opacity: .66; }
.product-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 12px 14px 6px; }
.subtle { color: var(--muted); font-size: .73rem; }
.product-card h3 { font-size: .98rem; line-height: 1.3; margin: 5px 0 10px; overflow-wrap: anywhere; }
.product-card h3 a:hover { text-decoration: underline; }
.card-price { margin-top: auto; display: flex; gap: 5px 8px; align-items: baseline; flex-wrap: wrap; }
.price { color: #182c57; font-size: 1.23rem; line-height: 1.15; }
.ask-price { font-size: .98rem; }
.tax { color: var(--muted); font-size: .74rem; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 25px; font-size: .86rem; color: var(--muted); }
.empty { background: white; border: 1px solid var(--border); border-radius: 13px; padding: 36px 18px; display: grid; justify-items: center; text-align: center; gap: 11px; }
.empty > svg { width: 34px; height: 34px; color: #4a5c89; }
.empty p { color: var(--muted); max-width: 36ch; }
.detail { display: grid; grid-template-columns: 1fr 1fr; background: white; border: 1px solid var(--border); border-radius: 13px; overflow: hidden; }
.detail-photo { height: 100%; min-height: 310px; border-bottom: 0; border-right: 1px solid #eff1f7; aspect-ratio: auto; }
.detail-photo img { padding: 16px; }
.detail-summary { align-self: center; padding: clamp(20px, 3.6vw, 44px); }
.detail-kind { color: #803064; font-weight: 750; font-size: .83rem; margin-bottom: 7px; }
.detail h1 { font-size: clamp(1.7rem, 3.2vw, 3rem); overflow-wrap: anywhere; }
.detail-code { color: var(--muted); margin-top: 7px; font-size: .9rem; }
.detail-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.detail-price .price { font-size: clamp(1.65rem, 4vw, 2.25rem); }
.detail-price .tax { font-size: .89rem; }
.available { display: flex; align-items: center; gap: 6px; color: #356049; font-size: .84rem; margin-top: 5px; }
.available span { width: 7px; height: 7px; border-radius: 50%; background: #2c8a57; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.detail-help { margin-top: 11px; font-size: .88rem; color: var(--muted); }
.details-more { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.details-more p { margin-top: 10px; color: var(--muted); overflow-wrap: anywhere; white-space: pre-line; }
.details-more dl { margin: 12px 0 0; }
.details-more dl div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 8px 10px; }
.details-more dl div:nth-child(odd) { background: #f5f7fc; }
.details-more dt { font-weight: 700; }
.details-more dd { margin: 0; overflow-wrap: anywhere; }
.back-link { margin-top: 12px; }
.footer { background: var(--navy); color: #eef1fc; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 120px; padding-block: 16px; }
.footer p { margin-top: 6px; color: #c7d0e8; font-size: .81rem; }
.footer a { display: flex; align-items: center; gap: 6px; min-height: 44px; font-size: .85rem; }
.footer a:hover { text-decoration: underline; }
.footer svg { width: 17px; height: 17px; }
@media (max-width: 1050px) {
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { grid-template-columns: 155px minmax(180px, 1fr) auto; gap: 12px; }
  .brand img { width: 150px; }
  .top-actions { gap: 4px; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .header-inner { grid-template-columns: minmax(0, 1fr); gap: 2px; padding-top: 5px; }
  .top-actions { grid-row: 3; justify-content: space-between; gap: 4px; flex-wrap: nowrap; }
  .top-actions .nav-chat { border-color: transparent; padding-inline: 4px; }
  main { padding-top: 14px; }
  .hero { grid-template-columns: 1fr; min-height: 0; border-radius: 13px; }
  .hero-text { padding: 21px 19px 8px; }
  .hero h1 { font-size: clamp(2.45rem, 9vw, 3.65rem); margin-top: 10px; }
  .hero p { font-size: .88rem; max-width: 39ch; margin-top: 10px; }
  .hero .button { margin-top: 13px; }
  .hero-art { height: clamp(136px, 40vw, 220px); object-fit: cover; object-position: 50% 55%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 17%); mask-image: linear-gradient(180deg, transparent, #000 17%); }
  .section { margin-top: 21px; }
  .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .category { font-size: .84rem; padding: 8px; min-height: 56px; gap: 7px; }
  .category-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .category-icon svg { width: 20px; height: 20px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-content { padding: 8px 9px 2px; }
  .product-card h3 { font-size: .89rem; }
  .products-single { grid-template-columns: minmax(0, 430px); }
  .products-single .product-card { display: grid; grid-template-columns: minmax(100px, 38%) minmax(0, 1fr); }
  .products-single .product-photo { height: 100%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid #eff1f7; }
  .products-single .product-photo img { padding: 8px; }
  .catalog-heading { gap: 9px; align-items: start; flex-direction: column; }
  .category-select { width: 100%; }
  .visit { flex-wrap: wrap; gap: 10px; padding: 17px; }
  .visit-icon { flex-basis: 38px; height: 38px; }
  .visit > div { flex: 1 1 190px; }
  .visit .button { margin-left: 0; }
  .detail { grid-template-columns: 1fr; }
  .detail-photo { min-height: 0; height: 225px; border-right: 0; border-bottom: 1px solid #eff1f7; }
  .detail-photo img { padding: 12px; }
  .detail-actions .button { width: 100%; }
  .footer-inner { flex-wrap: wrap; align-items: start; gap: 6px 16px; }
  .footer-inner > div:first-child { width: 100%; }
}
@media (max-width: 390px) {
  .shell { width: calc(100% - 24px); }
  .search input { font-size: .85rem; }
  .top-actions a { font-size: .77rem; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
