.autoteco-language {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  margin-inline-start: 12px;
  color: #fff;
  text-align: start;
  font: 500 13px/1.3 system-ui, sans-serif;
}

.autoteco-language > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid #ffffff55;
  border-radius: 5px;
  cursor: pointer;
  list-style: none;
}

.autoteco-language > summary::-webkit-details-marker { display: none; }
.autoteco-language > summary:hover { background: #ffffff24; }
#c-header.c-style2 .c-top .autoteco-language { color: var(--site-ink, #1d2b17); }
#c-header.c-style2 .c-top .autoteco-language > summary { border-color: var(--site-line, #dce8d2); }
#c-header.c-style2 .c-top .autoteco-language > summary:hover { background: var(--site-tint, #eaf4db); }
.autoteco-language > summary::after { content: "▾"; font-size: 11px; }
.autoteco-language > summary svg { width: 17px; height: 17px; flex: 0 0 auto; }
.autoteco-language > summary bdi {
  min-inline-size: 0;
  max-inline-size: min(24vi, 12em);
  overflow-wrap: anywhere;
}

.autoteco-language > nav {
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: calc(100% + 5px);
  inline-size: min(17em, calc(100vi - 24px));
  max-block-size: min(62dvh, 30em);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 4px;
  border: 1px solid var(--site-line, #dce8d2);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px #2e581333;
}

.autoteco-language ul { margin: 0; padding: 0; list-style: none; }
.autoteco-language nav a, #c-header .autoteco-language nav a {
  display: block;
  margin: 0;
  padding: 8px 9px;
  border-radius: 4px;
  color: var(--site-ink, #1d2b17);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.autoteco-language nav a:hover, #c-header .autoteco-language nav a:hover,
.autoteco-language nav a[aria-current], #c-header .autoteco-language nav a[aria-current] {
  background: var(--site-tint, #eaf4db);
  color: var(--site-accent, #38671b);
}

.autoteco-language nav a[aria-current] { font-weight: 750; }
.autoteco-language :focus-visible { outline: 2px solid var(--site-accent, #38671b); outline-offset: 1px; }

.autoteco-language-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.autoteco-language-fallback {
  display: flex;
  justify-content: flex-end;
  padding: 6px 13px;
  background: var(--site-green-deep, #2e5813);
}
.autoteco-language-fallback summary:focus-visible { outline-color: var(--site-tint, #eaf4db); }

/* The mirrored templates use viewport-scaled rem units. Keep text controls
   proportional to their own font size and let translated labels wrap. */
#c-header :is(.c-nav, .c-nav2, .c-user) a,
#c-header .c-top .c-list a,
#c-top-site .c-wrap .c-site {
  min-inline-size: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

#c-header .c-top > .c-container,
#c-header .c-top .c-list,
#c-header .c-top .c-user {
  min-inline-size: 0;
}

#c-header .c-top .c-user div:nth-child(2) {
  block-size: auto;
  line-height: 1.35;
}

#c-header .c-top .c-user div:nth-child(3) {
  line-height: 1.35;
}

#c-header .c-nav2 {
  inset-block-start: 100%;
  text-align: start;
}

#c-header .c-nav2 li a {
  display: inline-block;
  line-height: 1.35;
  padding-block: .65em;
}

#c-header .c-nav2 .c-title-box-drill a {
  align-items: center;
  gap: .45em;
}

#c-product > .c-container {
  gap: clamp(12px, 2vi, 32px);
}

#c-product > .c-container > .c-left {
  flex: 0 1 clamp(190px, 25%, 360px);
  min-inline-size: 0;
}

#c-product > .c-container > .c-right {
  flex: 1 1 0;
  min-inline-size: 0;
}

#c-product .c-left .c-list .c-title a {
  min-inline-size: 0;
  margin-left: 0;
  margin-inline-start: .5em;
  overflow-wrap: anywhere;
}

@media (min-width: 973px) {
  #c-header .c-bottom > .c-container:has(.c-nav[data-site-menu]) {
    align-items: stretch;
    min-block-size: 100px;
    gap: clamp(12px, 2vw, 26px);
  }

  #c-header .c-right-box:has(> .c-nav[data-site-menu]) {
    align-items: stretch;
    justify-content: flex-end;
    min-inline-size: 0;
    gap: clamp(9px, 1.4vw, 22px);
  }

  #c-header .c-bottom .c-logo,
  #c-header .c-right-box > :not(.c-nav) {
    align-self: center;
  }

  #c-header .c-nav[data-site-menu] {
    align-items: stretch;
    min-inline-size: 0;
    gap: clamp(7px, 1.15vw, 22px);
  }

  #c-header .c-nav[data-site-menu] > li {
    display: flex;
    min-inline-size: 0;
    margin: 0;
  }

  #c-header .c-nav[data-site-menu] > li > a[data-site-menu-link] {
    display: flex;
    align-items: center;
    max-inline-size: 16vi;
    padding-block: .5em;
    margin: 0;
    line-height: 1.35;
    white-space: normal;
  }

  #c-header .c-top .c-list {
    gap: clamp(7px, 1.35vw, 25px);
    line-height: 1.35;
  }

  #c-header .c-top .c-list li { min-inline-size: 0; margin: 0; }
  #c-header .c-top .c-list li a { display: block; padding-block: .45em; }

  #c-header .c-nav > li > :is(.c-product, .c-common-list) {
    inset-block-start: 100%;
    max-block-size: min(72dvh, 680px);
    overflow: auto;
  }

  #c-header .c-product .c-container { gap: clamp(10px, 2vw, 32px); }
  #c-header .c-product .c-list1 {
    flex: 0 0 clamp(145px, 21%, 280px);
    min-inline-size: 0;
    padding: 0;
  }
  #c-header .c-product .c-list2 {
    flex: 1 1 auto;
    min-inline-size: 0;
    padding: 0;
  }
  #c-header .c-product .c-list3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
    gap: .75em;
    margin: 0;
    text-align: start;
  }
  #c-header .c-product .c-list3 > li { width: auto; min-inline-size: 0; padding: 0; }
  #c-header .c-product .c-list3 .c-title {
    block-size: auto;
    min-block-size: 2.4em;
    padding-block: .35em;
  }
  #c-header .c-product :is(.c-list1, .c-list4) a,
  #c-header .c-common-list .c-list li a {
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  #c-header .c-common-list .c-list li a .c-title {
    block-size: auto;
    line-height: 1.35;
    text-align: start;
  }
}

.x-show-por .c-container :is(.x-left, .x-right) { min-inline-size: 0; }

.x-show-por .c-container .x-right :is(.x-title, .x-p, .x-right-a) {
  padding-inline: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.x-show-por .c-container .x-right .x-title { line-height: 1.2; }
.x-show-por .c-container .x-right .x-p {
  block-size: auto;
  overflow: visible;
  line-height: 1.55;
}

.x-show-por .c-container .x-right .x-right-a {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.25em), 1fr));
  gap: .6em;
  margin-block-start: 1em;
}

.x-show-por .c-container .x-right .x-right-a a {
  inline-size: 100%;
  min-inline-size: 0;
  block-size: auto;
  min-block-size: 2.9em;
  margin: 0 !important;
  padding: .55em .7em;
  gap: .4em;
  box-sizing: border-box;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.x-show-por .c-container .x-right .x-right-a a img {
  flex: 0 0 auto;
  margin: 0;
}

.x-show-por .c-container .x-right .x-xia .x-share {
  flex-wrap: wrap;
  gap: .35em;
  overflow-wrap: anywhere;
}

.x-show-por .c-container .x-right .x-xia .x-xia-a2 {
  max-inline-size: 100%;
  overflow-wrap: anywhere;
}

.x-show-por2 .c-container {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 .3em;
}

.x-show-por2 .c-container a {
  flex: 0 1 auto;
  min-inline-size: 0;
  padding: .55em .7em;
  font-size: clamp(13px, 1.5vw, 18px);
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: center;
}

.x-show-por5 .c-container > ul > li {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 2.15fr);
}

.x-show-por5 .c-container > ul > li > p:nth-of-type(n) {
  display: block;
  min-inline-size: 0;
  inline-size: auto;
  padding: .6em .85em;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.x-show-por5 .c-container > ul > li > p:nth-of-type(1) {
  border: 0;
  border-inline-end: 1px solid var(--site-line, #dce8d2);
}

:is(.x-show-por6 .c-container, #c-common-box2-2) .x-por-ul2 li {
  gap: .45em;
  padding: .65em 0;
}

:is(.x-show-por6 .c-container, #c-common-box2-2) .x-por-ul2 li > p {
  min-inline-size: 0;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: normal;
}

:is(.x-show-por6 .c-container, #c-common-box2-2) .x-por-ul2 li .x-li-p1 {
  block-size: auto;
  inline-size: auto;
  padding: .35em .55em;
}

:is(.x-show-por6 .c-container, #c-common-box2-2) .x-por-ul2 li .x-li-p2 {
  padding-inline: .35em;
}

:is(.x-show-por6 .c-container, #c-common-box2-2) .x-por-ul2 li .x-li-p4 a {
  max-inline-size: 100%;
  gap: .25em;
  line-height: 1.35;
  white-space: normal;
}

:is(.x-show-por6 .c-container, #c-common-box2-2) .x-por-ul2 li .x-li-p4 a span:first-child {
  flex: 0 0 auto;
}

:is(.x-show-por6 .c-container, #c-common-box2-2) .x-por-ul2 li .x-li-p4 a span:nth-child(2) {
  display: inline;
  margin: 0;
}

:is(.x-con-por, .x-show-por5, .c-news3-1 .c-text-box, #c-common-box .c-text-box) table {
  inline-size: 100%;
  max-inline-size: 100%;
  table-layout: fixed;
}

:is(.x-con-por, .x-show-por5, .c-news3-1 .c-text-box, #c-common-box .c-text-box) :is(th, td) {
  overflow-wrap: anywhere;
  word-break: normal;
}

[dir="rtl"] :is(.autoteco-catalog, .x-show-por, .x-show-por5, .x-show-por6) { text-align: start; }

.x-show-por .copydiv, .x-con-por .copydiv {
  inset: 0 auto auto 0 !important;
  inline-size: 1px;
  block-size: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 748px) {
  #c-product > .c-container > :is(.c-left, .c-right) { flex-basis: 100%; }
  .x-show-por5 .c-container > ul > li { grid-template-columns: minmax(0, 1fr); }
  .x-show-por5 .c-container > ul > li > p:nth-of-type(1) { border: 0; }
  .x-show-por5 .c-container > ul > li > p:nth-of-type(2) { padding-block-start: 0; }
  :is(.x-show-por6 .c-container, #c-common-box2-2) .x-por-ul1 { display: none; }
  :is(.x-show-por6 .c-container, #c-common-box2-2) .x-por-ul2 li { flex-wrap: wrap; }
  :is(.x-show-por6 .c-container, #c-common-box2-2) .x-por-ul2 li :is(.x-li-p2, .x-li-p3, .x-li-p4) {
    display: block;
    inline-size: auto !important;
    text-align: start;
  }
  :is(.x-show-por6 .c-container, #c-common-box2-2) .x-por-ul2 li .x-li-p2 { flex: 1 1 72%; }
}

@media (max-width: 620px) {
  .autoteco-language { margin-inline-start: 6px; font-size: 12px; }
  .autoteco-language > summary { min-height: 30px; padding: 4px 6px; gap: 4px; }
  .autoteco-language > summary bdi { max-inline-size: min(28vi, 9em); }
  .autoteco-detail-page header { flex-wrap: wrap; }
}
