/* ==========================================================================
   GTE Trade catalogue pages (since 2026-11-05): the product menu and search in the header, product range pages,
   product pages, the full product list, range tiles, the trust band and the export map.
   Loaded after style.css and v2.css; uses the same tokens.
   ========================================================================== */

/* ---------- Header: product menu button, ranges in the phone menu, search ---------- */
.nav__mega {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 2px; border: 0; background: none;
  color: var(--navy); font: inherit; font-weight: 600; font-size: .94rem; cursor: pointer;
}
.nav__mega svg { width: 14px; height: 14px; transition: transform .2s var(--ease-out); }
.nav__mega[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__mega[aria-expanded="true"], .nav__mega:hover { color: var(--navy-light); }
.nav__ranges { display: none; }

.search { position: relative; }
.search__btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  background: transparent; color: var(--navy); border: 2px solid var(--mist); border-radius: 50%; cursor: pointer;
  transition: border-color .15s;
}
.search__btn:hover, .search__btn[aria-expanded="true"] { border-color: var(--navy); }
.search__btn svg { width: 19px; height: 19px; }
.search__panel {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 46; width: min(440px, calc(100vw - 2 * var(--gutter)));
  padding: 10px; background: rgba(255, 255, 255, .96); border-radius: 20px;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), var(--shadow-soft), 0 0 0 1px rgba(11, 31, 58, .07);
}
.search__panel[hidden] { display: none; }
.search__field { display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--mist); border-radius: 14px; }
.search__field svg { width: 18px; height: 18px; flex: none; color: var(--slate); }
.search__field input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; font: inherit; color: var(--navy); }
.search__field input:focus { outline: 0; }
.search__field:focus-within { box-shadow: 0 0 0 3px rgba(29, 63, 115, .25); }
.search__results { margin: 6px 0 0; padding: 0; list-style: none; max-height: min(60vh, 460px); overflow-y: auto; }
.search__results a {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px;
  padding: 10px 12px; border-radius: 12px; color: var(--navy); text-decoration: none;
}
.search__results a:hover, .search__results a:focus-visible { background: var(--mist); outline: 0; }
.search__results b { grid-row: 1 / 3; align-self: center; font-family: var(--font-display); font-size: .78rem; color: var(--slate); }
.search__results span { font-weight: 600; }
.search__results small { color: var(--slate); font-size: .82rem; }
.search__empty { margin: 10px 12px 6px; color: var(--slate); font-size: .92rem; }

/* the product menu: ranges on the left, categories and products on the right */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 39;
  background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-top: var(--rule); box-shadow: 0 34px 50px -34px rgba(11, 31, 58, .55);
  animation: mega-in .22s var(--ease-out);
}
.mega[hidden] { display: none; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } }
.mega__inner { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 34px; padding-block: 26px 30px; }
.mega__side { display: grid; align-content: start; gap: 14px; }
.mega__sectors { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mega__sector {
  display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 16px;
  color: var(--navy); text-decoration: none; transition: background-color .15s;
}
.mega__sector svg { width: 34px; height: 34px; flex: none; padding: 6px; border-radius: 12px; background: var(--mist); color: var(--navy); transition: background-color .15s, color .15s; }
.mega__sector b { display: block; font-family: var(--font-display); font-size: .98rem; }
.mega__sector small { display: block; color: var(--slate); font-size: .82rem; }
.mega__sector.is-active { background: var(--mist); }
.mega__sector.is-active svg { background: var(--navy); color: #fff; }
.mega__all { display: inline-flex; align-items: center; gap: 8px; margin-left: 14px; font-weight: 700; color: var(--navy); text-decoration: none; }
.mega__all b { padding: 1px 9px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .8rem; }
.mega__all svg { width: 16px; height: 16px; }
.mega__panel[hidden] { display: none; }
.mega__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: var(--rule); }
.mega__head p { color: var(--slate); max-width: 62ch; }
.mega__head .btn { flex: none; }
.mega__head .btn svg { margin-left: 4px; }
.mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px 28px; }
.mega__group { margin: 0 0 8px; }
.mega__group a { font-family: var(--font-display); font-weight: 700; color: var(--navy); text-decoration: none; }
.mega__group a:hover { color: var(--orange-dark); }
.mega__col ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mega__col li a { display: block; padding: 4px 0; color: var(--slate); text-decoration: none; font-size: .92rem; }
.mega__col li a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1300px) {
  /* phones and tablets: the menu drawer lists the ranges; the big menu stays closed */
  .nav__products, .mega { display: none !important; }
  .nav__ranges { display: block; }
  .nav__ranges ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0 8px; padding: 0; list-style: none; }
  .nav__list .nav__ranges a {
    display: flex; align-items: center; gap: 10px; padding: 12px; border: 0; border-radius: 14px;
    background: var(--mist); font-size: .98rem; font-weight: 600;
  }
  .nav__ranges svg { width: 24px; height: 24px; flex: none; }
  .search { margin-left: auto; }
  .lang { margin-left: 0; }
}
@media (max-width: 520px) { .nav__ranges ul { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .search__btn { width: 40px; height: 40px; } }

/* ---------- Breadcrumb ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: .88rem; }
.crumbs li { display: inline-flex; align-items: center; color: var(--slate); }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px; border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs a { color: var(--navy); text-decoration: none; font-weight: 500; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--slate); }
.pagehead:not(.pagehead--plain) .crumbs li, .pagehead:not(.pagehead--plain) .crumbs a, .pagehead:not(.pagehead--plain) .crumbs [aria-current] { color: rgba(255, 255, 255, .86); }
.pagecrumbs { padding-block: 22px 6px; }

/* ---------- Range page banner: the range's picture, text on a navy shade (like the home hero) ---------- */
.pagehead { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); }
.pagehead__media { position: absolute; inset: 0; z-index: -2; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; }
.pagehead__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 31, 58, .94) 0%, rgba(11, 31, 58, .82) 32%, rgba(11, 31, 58, .4) 58%, rgba(11, 31, 58, 0) 78%);
}
.pagehead__inner { display: grid; gap: 16px; justify-items: start; padding-block: clamp(26px, 3vw, 40px) clamp(40px, 5vw, 64px); min-height: clamp(400px, 46vw, 520px); align-content: center; }
.pagehead__inner > :not(.crumbs) { max-width: 620px; }
.pagehead h1 { color: #fff; font-size: clamp(2rem, 2.8vw + .8rem, 3.2rem); text-wrap: balance; }
.pagehead .lede { color: rgba(255, 255, 255, .86); font-size: clamp(1.02rem, .3vw + .95rem, 1.15rem); }
.pagehead__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 4px; padding: 0; list-style: none; }
.pagehead__facts li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); font-size: .88rem; font-weight: 600; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pagehead .crumbs { align-self: start; margin-bottom: auto; }
.pagehead--plain { color: var(--navy); background: var(--mist); }
.pagehead--plain .pagehead__inner { min-height: 0; padding-block: 28px 44px; }
.pagehead--plain h1 { color: var(--navy); }
.pagehead--plain .lede { color: var(--slate); }

/* ---------- Range page: filters on the left, products by category ---------- */
.shop { padding-block: clamp(34px, 4vw, 56px) clamp(56px, 6vw, 84px); }
.shop__grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.shop__side { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 18px; }
.shopfilter { display: grid; gap: 16px; padding: 18px; background: var(--mist); border-radius: 22px; }
.shopfilter__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.shopfilter__search { display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #fff; border: 2px solid transparent; border-radius: 12px; }
.shopfilter__search:focus-within { border-color: var(--navy-light); }
.shopfilter__search svg { width: 16px; height: 16px; flex: none; color: var(--slate); }
.shopfilter__search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font: inherit; font-size: .95rem; }
.shopfilter__search input:focus { outline: 0; }
.shopfilter__set { margin: 0; padding: 0; border: 0; }
.shopfilter__set legend { padding: 0; margin-bottom: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--slate); }
.shopfilter__set ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.check { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; cursor: pointer; font-weight: 500; }
.check:hover { background: rgba(255, 255, 255, .7); }
.check input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--navy); }
.check span { flex: 1; }
.check small { padding: 1px 8px; border-radius: 999px; background: #fff; color: var(--slate); font-size: .78rem; font-weight: 600; }
.shopfilter__clear { justify-self: start; font-size: .9rem; }
.shop__help { display: grid; gap: 10px; justify-items: start; padding: 18px; border: 1.5px solid var(--line); border-radius: 22px; }
.shop__help h2 { font-size: 1.02rem; letter-spacing: 0; }
.shop__help p { color: var(--slate); font-size: .9rem; }
.shop__count { margin-bottom: 18px; color: var(--slate); font-weight: 600; }
.shopgroup { margin-bottom: clamp(30px, 4vw, 46px); scroll-margin-top: calc(var(--header-h) + 20px); }
.shopgroup[hidden], .shop__main li[hidden] { display: none; }
.shopgroup__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: var(--rule); }
.shopgroup__head h2 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.25rem, .6vw + 1.05rem, 1.55rem); letter-spacing: -.01em; }
.shopgroup__head h2::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--dot, var(--orange)); }
.shopgroup__head p { flex-basis: 100%; order: 3; color: var(--slate); font-size: .95rem; }
.shopgroup__head span { margin-left: auto; color: var(--slate); font-weight: 600; font-size: .9rem; }
.shop .pcards__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop__none { padding: 24px; border-radius: 18px; background: var(--orange-soft); color: var(--navy); }
.pcard__badge { position: absolute; right: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(11, 31, 58, .72); color: #fff; font-size: .74rem; font-weight: 700; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pcards__grid { margin: 0; padding: 0; list-style: none; }
.pcard__foot { flex-wrap: wrap; row-gap: 8px; }   /* swatches and the link share a line when there is room */

/* the hotel page: three reasons above the products */
.hotelintro { background: var(--mist); padding-block: 26px; }
.hotelintro .wrap { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; align-items: center; }
.hotelintro h2 { font-size: clamp(1.25rem, .6vw + 1.05rem, 1.5rem); }
.hotelintro ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.hotelintro li { display: flex; gap: 10px; font-size: .93rem; color: var(--slate); }
.hotelintro li b { display: block; color: var(--navy); }
.hotelintro svg { width: 26px; height: 26px; flex: none; }

/* ---------- Product page ---------- */
.productpage { padding-block: 10px clamp(40px, 5vw, 64px); }
.productpage .product { grid-template-columns: minmax(0, 440px) minmax(0, 1fr) minmax(0, 372px); background: transparent; padding: 0; gap: clamp(22px, 3vw, 40px); }
.productpage .product__media { position: sticky; top: calc(var(--header-h) + 16px); }
.productpage .product__name { font-size: clamp(1.8rem, 1.6vw + 1rem, 2.5rem); line-height: 1.1; }
.productpage .product__lede { font-size: 1.06rem; }
.productpage .order { background: var(--mist); position: sticky; top: calc(var(--header-h) + 16px); }
.productpage .order__title { font-size: 1.1rem; letter-spacing: 0; }
.productpage .product__more[open] { background: transparent; }
.productpage__back { margin-top: 28px; }
.productpage__back a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; text-decoration: none; }
.productpage__back svg { width: 16px; height: 16px; }
.related { padding-block: clamp(40px, 5vw, 64px); background: var(--mist); }
.related h2 { margin-bottom: 22px; font-size: clamp(1.4rem, 1vw + 1rem, 1.9rem); }
.related .pcard { box-shadow: 0 18px 34px -30px rgba(11, 31, 58, .6); }
@media (max-width: 1179px) {
  .productpage .product { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
  .productpage .order, .productpage .product__media { position: static; }
}
@media (max-width: 700px) {
  .productpage .product { grid-template-columns: minmax(0, 1fr); }
  .productpage .product__zoom { aspect-ratio: 1; }
}

/* ---------- Range tiles (home page, end of each range page) ---------- */
.stiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.more .stiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stile {
  display: grid; grid-template-rows: auto 1fr; height: 100%; overflow: hidden; color: var(--navy); text-decoration: none;
  background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px rgba(11, 31, 58, .08), 0 18px 34px -30px rgba(11, 31, 58, .6);
  transition: transform .25s var(--ease-out), box-shadow .25s ease;
}
.stile__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.stile__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transition: transform .6s var(--ease-out); }
.stile__body { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; padding: 30px 16px 16px; }
.stile__icon { position: absolute; left: 14px; top: -24px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: #fff; box-shadow: 0 0 0 4px #fff; }
.stile__icon svg { width: 26px; height: 26px; }
.stile__name { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; line-height: 1.2; hyphens: auto; overflow-wrap: anywhere; }   /* long German words break inside a narrow tile */
.stile__lede { color: var(--slate); font-size: .88rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.stile__go { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: var(--rule); font-weight: 700; font-size: .86rem; }
.stile__go svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--navy); color: #fff; transition: transform .2s var(--ease-out), background-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .stile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(11, 31, 58, .1), 0 28px 40px -28px rgba(11, 31, 58, .6); }
  .stile:hover .stile__media img { transform: scale(1.05); }
  .stile:hover .stile__go svg { transform: translateX(3px); background: var(--orange); }
}
.popular { margin-top: clamp(34px, 4vw, 52px); }
.popular__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: var(--rule); }
.popular__head h3 { font-size: clamp(1.15rem, .5vw + 1rem, 1.4rem); }
.popular__head a, .ls__head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.popular__head svg, .ls__head svg { width: 16px; height: 16px; }
.more { padding-block: clamp(44px, 5vw, 70px); }
.more h2 { margin-bottom: 22px; font-size: clamp(1.4rem, 1vw + 1rem, 1.9rem); }

/* ---------- Trust band ---------- */
.trust { padding-block: 26px; border-block: var(--rule); }
.trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.trust__list li { display: flex; gap: 12px; align-items: flex-start; }
.trust__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--mist); color: var(--navy); }
.trust__icon svg { width: 28px; height: 28px; }
.trust h3 { font-size: .98rem; letter-spacing: 0; }
.trust p { color: var(--slate); font-size: .86rem; line-height: 1.45; margin-top: 2px; }

/* ---------- Full product list ---------- */
.ls__jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.ls__jump a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: #fff; border: 2px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; }
.ls__jump a:hover { border-color: var(--navy); }
.linesheet { padding-block: clamp(34px, 4vw, 56px); }
.ls { margin-bottom: clamp(34px, 4vw, 52px); scroll-margin-top: calc(var(--header-h) + 20px); }
.ls__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ls__head h2 { font-size: clamp(1.4rem, 1vw + 1rem, 1.9rem); }
.ls__scroll { overflow-x: auto; border: var(--rule); border-radius: 18px; }
.ls__table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .93rem; }
.ls__table th, .ls__table td { padding: 11px 16px; text-align: left; vertical-align: top; border-top: var(--rule); }
.ls__table thead th { border-top: 0; background: var(--navy); color: #fff; font-family: var(--font-display); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.ls__group th { background: var(--mist); font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.ls__code { font-family: var(--font-display); font-weight: 700; white-space: nowrap; color: var(--slate); }
.ls__name a { color: var(--navy); font-weight: 600; text-decoration: none; }
.ls__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ls__table td:nth-child(3) { color: var(--slate); }
.ls__sizes { white-space: nowrap; }

/* ---------- Export map (factory section of the home page) ---------- */
.factory__grid > .map { grid-column: 1 / -1; order: 3; }
.map {
  position: relative; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); grid-template-rows: auto 1fr;
  grid-template-areas: "head svg" "stats svg"; column-gap: clamp(20px, 3vw, 40px);
  margin: clamp(10px, 2vw, 26px) 0 0; padding: clamp(18px, 3vw, 34px); border-radius: var(--radius); background: var(--navy); color: #fff; overflow: hidden;
}
.map__head { grid-area: head; display: grid; gap: 8px; align-content: start; }
.map__head h3 { color: #fff; font-size: clamp(1.3rem, 1vw + 1rem, 1.8rem); }
.map__head p { color: var(--slate-light); }
.map__svg { grid-area: svg; display: block; width: 100%; height: auto; }
.map__land { fill: rgba(255, 255, 255, .08); stroke: rgba(11, 31, 58, .9); stroke-width: 1; }
.map__land.is-on { fill: #2E5C9A; }
.map__land.is-origin { fill: var(--orange); }
.map__route { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.map__pin circle { fill: #fff; stroke: var(--orange); stroke-width: 3; }
.map__pin, .map__origin text { opacity: 0; }
.map text { fill: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px; paint-order: stroke; stroke: var(--navy); stroke-width: 4px; stroke-linejoin: round; }
.map__origin circle { fill: var(--orange); stroke: #fff; stroke-width: 3; }
.map__origin .map__pulse { fill: none; stroke: var(--orange); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.map.is-in .map__route { animation: route-draw 1.1s var(--ease-in-out) forwards; animation-delay: calc(.25s + var(--i) * .14s); }
.map.is-in .map__pin { animation: pin-in .4s var(--ease-out) forwards; animation-delay: calc(1.05s + var(--i) * .14s); }
.map.is-in .map__origin text { animation: pin-in .4s var(--ease-out) forwards .1s; }
.map.is-in .map__pulse { animation: pulse 2.4s ease-out infinite 1.4s; }
@keyframes route-draw { to { stroke-dashoffset: 0; } }
@keyframes pin-in { from { opacity: 0; } to { opacity: 1; } }   /* opacity only: a CSS transform would replace the pin's SVG position */
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.map__stats { grid-area: stats; align-self: end; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.map__stats > div { padding: 16px 18px 2px 0; }
.map__stats dt { order: 2; color: var(--slate-light); font-size: .86rem; }
.map__stats dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, .8vw + .9rem, 1.55rem); color: #fff; white-space: nowrap; }
.map__stats > div { display: flex; flex-direction: column-reverse; }
@media (prefers-reduced-motion: reduce) {
  /* calm variant: the routes and pins fade in instead of drawing */
  .map__route { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; }
  .map.is-in .map__route { animation: pin-in .8s ease forwards; animation-delay: calc(var(--i) * .08s); }
  .map.is-in .map__pin { animation: pin-in .8s ease forwards; animation-delay: calc(.3s + var(--i) * .08s); }
  .map.is-in .map__pulse { animation: none; }
  .mega { animation: none; }
}
.no-js .map__route { stroke-dashoffset: 0; }
.no-js .map__pin, .no-js .map__origin text { opacity: 1; }

/* ---------- Narrower screens ---------- */
@media (max-width: 1180px) {
  .stiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .more .stiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .shop .pcards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hotelintro .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .shop__grid { grid-template-columns: minmax(0, 1fr); }
  .shop__side { position: static; }
  .shopfilter__set ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .check { background: #fff; padding: 6px 10px; }
  .shop__help { display: none; }
  .hotelintro ul { grid-template-columns: minmax(0, 1fr); }
  .map { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "svg" "stats"; }
  .map__svg { margin-top: 12px; }
}
@media (max-width: 760px) {
  .pagehead__media { position: relative; z-index: 0; height: min(58vw, 340px); }
  .pagehead__media img { object-position: 74% 50%; }
  .pagehead__shade { inset: 0 0 auto 0; height: min(58vw, 340px); z-index: 1; background: linear-gradient(180deg, rgba(11, 31, 58, .55) 0%, rgba(11, 31, 58, 0) 34%, rgba(11, 31, 58, 0) 60%, var(--navy) 100%); }
  .pagehead__inner { position: relative; z-index: 2; min-height: 0; margin-top: calc(-1 * min(58vw, 340px)); padding-top: 14px; }
  .pagehead .crumbs { margin-bottom: calc(min(58vw, 340px) - 74px); }
  .pagehead--plain .pagehead__inner { margin-top: 0; padding-top: 22px; }   /* no photo above: the plain header keeps its own space */
  .pagehead--plain .crumbs { margin-bottom: 4px; }
  .stiles, .more .stiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stile__lede { display: none; }
  .stile__body { padding: 28px 12px 12px; }
  .stile__name { font-size: .96rem; }
  .trust__list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .shop .pcards__grid { gap: 12px; }
  .map__pin text { display: none; }   /* phones: the country list sits just above the map */
  .map__origin text { font-size: 34px; }
  .mega__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .stile, .stile__media img, .stile__go svg { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .mega, .search__panel { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Product photos: a swipe slider (since 2026-11-05; phones no longer get a popup) ---------- */
.pgallery { position: relative; }
.pgallery__track {
  display: flex; margin: 0; padding: 0; list-style: none; border-radius: 18px; background: #fff;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.pgallery__track::-webkit-scrollbar { display: none; }
.pgallery__track:focus-visible { outline: 3px solid var(--navy-light); outline-offset: 3px; }
.pgallery__slide { position: relative; flex: 0 0 100%; aspect-ratio: 1; padding: 10px; scroll-snap-align: start; scroll-snap-stop: always; }
.pgallery__slide img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; transition: opacity .25s ease; }
.pgallery__slide.is-loading::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(238, 241, 245, .95) 50%, transparent 70%);
  transform: translateX(-100%); animation: sweep 1.3s linear infinite;
}
.pgallery__count {
  position: absolute; right: 10px; top: 10px; z-index: 2; pointer-events: none; padding: 4px 10px; border-radius: 999px;
  background: rgba(11, 31, 58, .6); -webkit-backdrop-filter: blur(10px) saturate(1.6); backdrop-filter: blur(10px) saturate(1.6);
  color: #fff; font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.pgallery__count b { font-weight: 700; }
.pgallery__nav, .pgallery__zoom {
  position: absolute; z-index: 2; display: none; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: var(--navy); cursor: pointer;
  box-shadow: 0 0 0 1px rgba(11, 31, 58, .08), 0 8px 18px -10px rgba(11, 31, 58, .6);
  transition: opacity .2s ease, background-color .15s ease, color .15s ease;
}
.pgallery__nav { top: 50%; translate: 0 -50%; }
.pgallery__nav--prev { left: 10px; }
.pgallery__nav--next { right: 10px; }
.pgallery__nav:disabled { opacity: 0; pointer-events: none; }
.pgallery__nav svg, .pgallery__zoom svg { width: 18px; height: 18px; }
.pgallery__zoom { right: 10px; bottom: 10px; width: 38px; height: 38px; }
.pgallery__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: none; justify-content: center; gap: 6px; pointer-events: none; }
.pgallery__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(11, 31, 58, .22); transition: background-color .2s ease, transform .2s var(--ease-out); }
.pgallery__dots i.is-active { background: var(--navy); transform: scale(1.3); }
@media (hover: hover) and (pointer: fine) {
  .pgallery__nav { display: grid; }
  .pgallery__nav:hover, .pgallery__zoom:hover { background: var(--navy); color: #fff; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 701px) {
  .pgallery__slide { cursor: zoom-in; }
  .pgallery__zoom { display: grid; }
}
@media (max-width: 700px) {
  .pgallery__dots { display: flex; }
  .product__media .thumbs { display: none; }
}
.no-js .pgallery__track { scrollbar-width: thin; }
.no-js .pgallery__nav, .no-js .pgallery__zoom, .no-js .pgallery__dots { display: none !important; }

/* ---------- Product page: technical data and description fold out ---------- */
.product__folds { display: grid; }
.product__folds .product__more + .product__more { border-top: 0; }
.product__tech .spec > div:first-child { border-top: 0; padding-top: 2px; }
.product__tech .product__more-body { padding-bottom: 10px; }

/* ---------- Range page filters: a toggle bar under the header on phones and tablets ---------- */
.shopfilter__toggle, .shopfilter__done { display: none; }
.shopfilter__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; }
.shopfilter__n { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .78rem; text-align: center; }
@media (max-width: 900px) {
  .shop__grid { display: block; }   /* in a grid row the sticky bar would stop at the height of the filters */
  .shop__side {
    position: sticky; top: var(--header-h); z-index: 30; display: block;
    margin: -10px calc(-1 * var(--gutter)) 18px; padding: 10px var(--gutter);
    background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    transition: box-shadow .2s ease;
  }
  .shop__side.is-stuck { box-shadow: 0 1px 0 var(--line), 0 16px 26px -24px rgba(11, 31, 58, .75); }
  .shopfilter__toggle {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 0 16px;
    border: 0; border-radius: 14px; background: var(--mist); color: var(--navy); font: inherit; font-weight: 700; cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
  }
  .shopfilter__toggle svg { width: 20px; height: 20px; flex: none; }
  .shopfilter__chev { margin-left: auto; transition: transform .2s var(--ease-out); }
  .shop__side.is-open .shopfilter__chev { transform: rotate(180deg); }
  .shop__side.is-open .shopfilter__toggle { background: var(--navy); color: #fff; }
  html:not(.no-js) .shop__side:not(.is-open) .shopfilter { display: none; }
  html:not(.no-js) .shopfilter__title { display: none; }
  .shopfilter {
    margin-top: 10px; max-height: calc(100vh - var(--header-h) - 96px); max-height: calc(100dvh - var(--header-h) - 96px);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .shopfilter__done { display: inline-flex; }
  .shopgroup { scroll-margin-top: calc(var(--header-h) + 88px); }
}
@media (max-width: 900px) and (prefers-reduced-transparency: reduce) { .shop__side { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- PDF catalogues page ---------- */
.mega__pdf b { background: var(--navy); }
.pdfcats { padding-block: clamp(28px, 3.5vw, 48px) clamp(40px, 5vw, 64px); }
.pdfcats__list { display: grid; gap: clamp(22px, 3vw, 34px); }
.pdfcat {
  display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(14px, 1.6vw, 20px); padding-right: clamp(20px, 3vw, 44px); border-radius: 30px; background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 31, 58, .08), 0 34px 50px -44px rgba(11, 31, 58, .7);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.pdfcat__book {
  position: relative; display: grid; place-items: center; align-self: stretch;
  padding: clamp(30px, 4vw, 48px) clamp(40px, 5vw, 64px) clamp(30px, 4vw, 48px) clamp(26px, 3vw, 40px);
  border-radius: 22px; background: radial-gradient(120% 90% at 30% 20%, #fff 0%, var(--mist) 62%);
}
.pdfcat__book > span {
  display: block; grid-area: 1 / 1; width: min(100%, 300px); aspect-ratio: 595 / 842; overflow: hidden;
  border-radius: 4px 10px 10px 4px; background: #fff;
  box-shadow: 0 1px 2px rgba(11, 31, 58, .14), 0 26px 38px -22px rgba(11, 31, 58, .6); transition: transform .45s var(--ease-out);
}
.pdfcat__book img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pdfcat__cover { position: relative; z-index: 3; }
.pdfcat__cover::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 12px; background: linear-gradient(90deg, rgba(11, 31, 58, .22), rgba(11, 31, 58, 0)); }
.pdfcat__sheet--1 { z-index: 2; transform: translate(10%, -1%) rotate(4deg); }
.pdfcat__sheet--2 { z-index: 1; transform: translate(19%, 1%) rotate(8deg); }
.pdfcat__kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-dark); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.pdfcat__kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); }
.pdfcat__body { min-width: 0; padding-block: clamp(4px, 1vw, 16px); }
.pdfcat__body h2 { margin: 8px 0 10px; font-size: clamp(1.45rem, 1.1vw + 1.1rem, 2.05rem); line-height: 1.12; letter-spacing: -.01em; }
.pdfcat__desc { max-width: 62ch; color: var(--slate); }
.pdfcat__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.pdfcat__facts li { padding: 5px 12px; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: .85rem; font-weight: 600; }
.pdfcat__ranges { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; padding: 0; list-style: none; }
.pdfcat__ranges a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; color: var(--navy); font-size: .9rem; font-weight: 600; text-decoration: none; }
.pdfcat__ranges a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pdfcat__ranges svg { width: 20px; height: 20px; color: var(--navy-light); }
.pdfcat__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pdfcat__actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.pdfcat__actions .btn svg { width: 19px; height: 19px; flex: none; }
.pdfcat__inside { margin-top: 24px; padding-top: 16px; border-top: var(--rule); }
.pdfcat__inside p { margin-bottom: 10px; color: var(--slate); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pdfcat__inside ul { display: flex; gap: 10px; margin: 0; padding: 2px 2px 10px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.pdfcat__inside li { flex: none; width: 82px; scroll-snap-align: start; }
.pdfcat__inside a {
  position: relative; display: block; overflow: hidden; border-radius: 6px; background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 31, 58, .1), 0 10px 16px -12px rgba(11, 31, 58, .6); transition: transform .2s var(--ease-out), box-shadow .2s ease;
}
.pdfcat__inside img { display: block; width: 100%; height: auto; aspect-ratio: 595 / 842; object-fit: cover; }
.pdfcat__inside span { position: absolute; right: 4px; bottom: 4px; min-width: 22px; padding: 1px 6px; border-radius: 999px; background: rgba(11, 31, 58, .78); color: #fff; font-size: .7rem; font-weight: 700; text-align: center; }
@media (hover: hover) and (pointer: fine) {
  .pdfcat__book:hover .pdfcat__cover { transform: translateY(-6px) rotate(-1.5deg); }
  .pdfcat__book:hover .pdfcat__sheet--1 { transform: translate(15%, -2%) rotate(6deg); }
  .pdfcat__book:hover .pdfcat__sheet--2 { transform: translate(27%, 1%) rotate(11deg); }
  .pdfcat__inside a:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--navy), 0 14px 20px -12px rgba(11, 31, 58, .6); }
}
.pdfcta { padding-bottom: clamp(48px, 6vw, 80px); }
.pdfcta__box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--navy); color: #fff;
}
.pdfcta__box h2 { color: #fff; font-size: clamp(1.3rem, .8vw + 1.05rem, 1.7rem); }
.pdfcta__box p { max-width: 58ch; margin-top: 6px; color: rgba(255, 255, 255, .8); }
.pdfcta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) {
  .pdfcat { grid-template-columns: minmax(0, 1fr); padding-right: clamp(14px, 1.6vw, 20px); }
  .pdfcat__book > span { width: min(62%, 250px); }
  .pdfcat__body { padding: 0 6px 6px; }
}
@media (max-width: 480px) { .pdfcat__actions .btn { flex: 1 1 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .pdfcat__book > span, .pdfcat__inside a { transition: none; } }

/* ---------- Site assistant (assistant.js): shown only when chat.php has an API key ---------- */
.ai-launch {
  position: fixed; right: 18px; bottom: calc(90px + var(--lift, 0px)); z-index: 50;
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 8px; border: 0; border-radius: 999px;
  background: #fff; color: var(--navy); cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  box-shadow: 0 0 0 1px rgba(11, 31, 58, .1), 0 16px 30px -14px rgba(11, 31, 58, .65);
  transition: transform .25s var(--ease-out), bottom .25s, box-shadow .2s ease;
  animation: ai-in .45s var(--ease-out) both;
}
.ai-launch__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(140deg, var(--orange), var(--orange-dark)); color: #fff; }
.ai-launch__icon svg { width: 21px; height: 21px; }
.ai-launch[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--navy), 0 16px 30px -14px rgba(11, 31, 58, .65); }
@media (hover: hover) and (pointer: fine) { .ai-launch:hover { transform: translateY(-2px); } }
@keyframes ai-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
html.has-assistant .to-top { bottom: calc(156px + var(--lift, 0px)); }

.ai-panel {
  position: fixed; right: 18px; bottom: calc(154px + var(--lift, 0px)); z-index: 60;
  display: flex; flex-direction: column; width: min(400px, calc(100vw - 36px));
  height: min(620px, calc(100vh - 154px - 24px - var(--lift, 0px))); height: min(620px, calc(100dvh - 154px - 24px - var(--lift, 0px)));
  overflow: hidden; border-radius: 24px; background: #fff; color: var(--navy);
  box-shadow: 0 0 0 1px rgba(11, 31, 58, .08), 0 40px 70px -30px rgba(11, 31, 58, .55), 0 18px 30px -18px rgba(11, 31, 58, .35);
  transform-origin: 100% 100%; animation: ai-open .26s var(--ease-out) both;
}
.ai-panel[hidden] { display: none; }
@keyframes ai-open { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.ai-panel__head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; background: var(--navy); color: #fff; }
.ai-panel__avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .16); }
.ai-panel__avatar svg { width: 24px; height: 22px; fill: var(--navy); }
.ai-panel__who { flex: 1; min-width: 0; }
.ai-panel__who h2 { color: #fff; font-size: 1rem; letter-spacing: 0; line-height: 1.2; }
.ai-panel__who p { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: rgba(255, 255, 255, .74); font-size: .78rem; }
.ai-panel__status { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ai-panel__who i { flex: none; }
.ai-panel__who i { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .22); }
.ai-panel__btn { display: grid; place-items: center; flex: none; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .85); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.ai-panel__btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.ai-panel__btn svg { width: 19px; height: 19px; }
.ai-panel__log { flex: 1; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; overscroll-behavior: contain; padding: 18px 14px 12px; background: var(--mist); }
.ai-panel__log:focus-visible { outline: 3px solid var(--navy-light); outline-offset: -3px; }
.ai-msg { max-width: 88%; }
.ai-msg__body { padding: 10px 14px; border-radius: 18px; font-size: .93rem; line-height: 1.5; overflow-wrap: anywhere; }
.ai-msg__body p + p, .ai-msg__body p + ul, .ai-msg__body ul + p { margin-top: 8px; }
.ai-msg__body ul { margin: 4px 0 0; padding-left: 18px; }
.ai-msg__body li + li { margin-top: 3px; }
.ai-msg__body a { color: var(--navy-light); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ai-msg--bot { align-self: flex-start; }
.ai-msg--bot .ai-msg__body { background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 0 0 1px rgba(11, 31, 58, .06), 0 6px 14px -12px rgba(11, 31, 58, .5); }
.ai-msg--me { align-self: flex-end; }
.ai-msg--me .ai-msg__body { background: var(--navy); color: #fff; border-bottom-right-radius: 6px; white-space: pre-wrap; }
.ai-msg--error .ai-msg__body { background: var(--orange-soft); }
.ai-typing { display: inline-flex; gap: 5px; align-self: flex-start; padding: 14px 16px; border-radius: 18px 18px 18px 6px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 31, 58, .06); }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--slate); opacity: .35; animation: ai-dot 1.1s ease-in-out infinite; }
.ai-typing i:nth-child(3) { animation-delay: .15s; }
.ai-typing i:nth-child(4) { animation-delay: .3s; }
@keyframes ai-dot { 30% { opacity: 1; transform: translateY(-3px); } 60% { opacity: .35; transform: none; } }
.ai-panel__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 4px; }
.ai-panel__chips[hidden] { display: none; }
.ai-chip { padding: 7px 12px; border: 1.5px solid rgba(11, 31, 58, .16); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: .84rem; font-weight: 600; text-align: left; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.ai-chip:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.ai-panel__foot { padding: 10px 12px 10px; border-top: 1px solid var(--line); background: #fff; }
.ai-panel__actions { display: flex; gap: 6px; margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
.ai-panel__actions::-webkit-scrollbar { display: none; }
.ai-act { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: .8rem; font-weight: 600; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.ai-act:hover { background: var(--navy); color: #fff; }
.ai-act svg { width: 15px; height: 15px; }
.ai-panel__form { display: flex; align-items: flex-end; gap: 8px; padding: 4px 4px 4px 14px; border: 1.5px solid rgba(11, 31, 58, .16); border-radius: 22px; transition: border-color .15s ease, box-shadow .15s ease; }
.ai-panel__form:focus-within { border-color: var(--navy-light); box-shadow: 0 0 0 4px rgba(29, 63, 115, .14); }
.ai-panel__form textarea { flex: 1; min-width: 0; max-height: 120px; padding: 9px 0; border: 0; background: transparent; color: var(--navy); font: inherit; font-size: .95rem; line-height: 1.4; resize: none; }
.ai-panel__form textarea:focus { outline: 0; }
.ai-panel__send { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--orange); color: #fff; cursor: pointer; transition: background-color .15s ease, transform .15s ease; }
.ai-panel__send:hover { background: var(--orange-dark); }
.ai-panel__send:active { transform: scale(.94); }
.ai-panel__send:disabled { opacity: .55; cursor: default; }
.ai-panel__send svg { width: 19px; height: 19px; }
.ai-panel__note { margin-top: 7px; color: var(--slate); font-size: .72rem; line-height: 1.4; }
.ai-panel__note .linkish { font-size: inherit; }
@media (max-width: 520px) {
  .ai-launch { width: 60px; height: 60px; padding: 0; justify-content: center; bottom: calc(88px + var(--lift, 0px)); }
  .ai-launch__icon { width: 48px; height: 48px; }
  .ai-launch__icon svg { width: 25px; height: 25px; }
  .ai-launch__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html.has-assistant .to-top { bottom: calc(160px + var(--lift, 0px)); }
}
@media (max-width: 560px) {   /* phones: the chat takes the whole screen */
  .ai-panel { inset: 0; width: auto; height: auto; border-radius: 0; animation-name: ai-open-phone; }
  .ai-panel__head { padding-top: max(14px, env(safe-area-inset-top)); }
  .ai-panel__foot { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .ai-panel__form textarea { font-size: 16px; }   /* no zoom on focus in iOS */
  html.is-ai-open { overflow: hidden; }
  html.is-ai-open .ai-launch, html.is-ai-open .wa-float, html.is-ai-open .to-top, html.is-ai-open .quote-pill { visibility: hidden; }
  @keyframes ai-open-phone { from { opacity: 0; transform: translateY(16px); } }
}
@media (prefers-reduced-motion: reduce) {
  .ai-launch, .ai-panel { animation: none; }
  .ai-typing i { animation-duration: 2.2s; }
}
@media print { .ai-launch, .ai-panel { display: none !important; } }

/* assistant answers: product cards with a photo, next-step buttons, helpful / not helpful */
.ai-panel__log { position: relative; }
.ai-msg--bot:not(.ai-msg--welcome):not(.ai-typing) { max-width: 94%; }
.ai-cards { display: grid; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.ai-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 8px; padding: 6px 8px 6px 6px;
  border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 31, 58, .08), 0 6px 14px -12px rgba(11, 31, 58, .5);
}
.ai-card__link { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--navy); text-decoration: none; border-radius: 10px; }
.ai-card__link img { flex: none; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--mist); }
.ai-card__link > svg { flex: none; width: 26px; height: 26px; margin-left: auto; padding: 6px; border-radius: 50%; background: var(--navy); color: #fff; }
.ai-card__text { display: grid; flex: 1; min-width: 0; font-size: .86rem; font-weight: 600; line-height: 1.3; }
.ai-card__text b { color: var(--slate); font-family: var(--font-display); font-size: .72rem; letter-spacing: .04em; }
.ai-card__text span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (hover: hover) and (pointer: fine) { .ai-card__link:hover .ai-card__text span { text-decoration: underline; text-underline-offset: 2px; } }
.ai-card__add {
  display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border: 0; border-radius: 999px;
  background: var(--orange); color: #fff; font: inherit; font-size: .78rem; font-weight: 700; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.ai-card__add svg { width: 14px; height: 14px; flex: none; }
.ai-card__add:hover { background: var(--orange-dark); }
.ai-card__add:active { transform: scale(.96); }
.ai-card__add[aria-expanded="true"] { background: var(--navy); }
.ai-card__status { grid-column: 1 / -1; margin: 0 2px 2px; padding: 6px 10px; border-radius: 10px; background: #E7F6EE; color: #0F5132; font-size: .78rem; font-weight: 600; }
.ai-card__status[hidden] { display: none; }
.ai-add { grid-column: 1 / -1; display: grid; gap: 10px; margin: 2px 0 2px; padding: 12px; border-radius: 12px; background: var(--mist); animation: ai-open .2s var(--ease-out) both; }
.ai-add__field { display: grid; gap: 5px; margin: 0; font-size: .82rem; }
.ai-add__field > span { color: var(--slate); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ai-add__field select, .ai-add__field input {
  width: 100%; min-height: 40px; padding: 0 12px; border: 1.5px solid rgba(11, 31, 58, .16); border-radius: 10px;
  background: #fff; color: var(--navy); font: inherit; font-size: .9rem;
}
.ai-add__field select:focus, .ai-add__field input:focus { outline: 0; border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(29, 63, 115, .15); }
.ai-add__field input[aria-invalid="true"] { border-color: #C2410C; box-shadow: 0 0 0 3px rgba(194, 65, 12, .15); }
.ai-add__field b { font-weight: 700; }
.ai-add__qty { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-add__chip {
  min-width: 52px; padding: 7px 10px; border: 1.5px solid rgba(11, 31, 58, .16); border-radius: 999px; background: #fff;
  color: var(--navy); font: inherit; font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.ai-add__chip:hover { border-color: var(--navy); }
.ai-add__chip.is-on { border-color: var(--navy); background: var(--navy); color: #fff; }
.ai-add__ok {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; border: 0; border-radius: 999px;
  background: var(--orange); color: #fff; font-family: var(--font-display); font-size: .9rem; font-weight: 700; cursor: pointer;
  transition: background-color .15s ease;
}
.ai-add__ok svg { width: 16px; height: 16px; }
.ai-add__ok:hover { background: var(--orange-dark); }
.ai-quotebar {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 8px 8px 8px 10px; border-radius: 16px;
  background: var(--navy); color: #fff; animation: ai-open .22s var(--ease-out) both;
}
.ai-quotebar[hidden] { display: none; }
.ai-quotebar__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .12); }
.ai-quotebar__icon svg { width: 18px; height: 18px; }
.ai-quotebar__text { display: grid; flex: 1; min-width: 0; font-size: .78rem; line-height: 1.3; }
.ai-quotebar__text b { font-size: .84rem; }
.ai-quotebar__sum { color: rgba(255, 255, 255, .78); }
.ai-quotebar__send {
  display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 9px 12px; border-radius: 999px; background: var(--orange);
  color: #fff; font-family: var(--font-display); font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease;
}
.ai-quotebar__send svg { width: 15px; height: 15px; }
.ai-quotebar__send:hover { background: var(--orange-dark); }
.ai-quotebar:not([hidden]) + .ai-panel__actions { display: none; }
.ai-next { margin-top: 8px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 31, 58, .08); }
.ai-next__label { margin-bottom: 7px; color: var(--slate); font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ai-next__row { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-next__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px;
  background: var(--mist); color: var(--navy); font-size: .8rem; font-weight: 700; text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.ai-next__btn svg { width: 15px; height: 15px; flex: none; }
.ai-next__btn--quote { background: var(--orange); color: #fff; }
.ai-next__btn:hover { background: var(--navy); color: #fff; }
.ai-rate { display: flex; align-items: center; gap: 4px; margin-top: 6px; padding-left: 4px; color: var(--slate); font-size: .74rem; }
.ai-rate__q { margin-right: 2px; }
.ai-rate__btn { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--slate); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.ai-rate__btn:hover { background: #fff; color: var(--navy); }
.ai-rate__btn svg { width: 15px; height: 15px; }
.ai-rate__done { padding: 6px 0; }

/* ---------- Full product list (since 2026-11-05): photo rows, quick search, sticky range shortcuts ---------- */
.lsbar {
  position: sticky; top: var(--header-h); z-index: 30;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: 0 1px 0 var(--line), 0 16px 26px -26px rgba(11, 31, 58, .7);
}
.lsbar__inner { display: flex; align-items: center; gap: 10px 18px; padding-block: 10px; }
.lsbar__search {
  display: flex; align-items: center; gap: 8px; flex: 0 0 min(340px, 40%); min-width: 0; height: 44px; padding: 0 14px;
  border: 2px solid transparent; border-radius: 999px; background: var(--mist); transition: border-color .15s ease, background-color .15s ease;
}
.lsbar__search:focus-within { border-color: var(--navy-light); background: #fff; }
.lsbar__search svg { flex: none; width: 17px; height: 17px; color: var(--slate); }
.lsbar__search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--navy); font: inherit; font-size: .95rem; }
.lsbar__search input:focus { outline: 0; }
.lsbar .ls__jump { display: flex; flex: 1 1 auto; flex-wrap: nowrap; gap: 8px; min-width: 0; margin: 0; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.lsbar .ls__jump::-webkit-scrollbar { display: none; }
.lsbar .ls__jump li { flex: none; }
.lsbar .ls__jump a {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--navy); font-size: .9rem; font-weight: 600; white-space: nowrap; text-decoration: none; transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.lsbar .ls__jump a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.lsbar .ls__jump svg { width: 18px; height: 18px; flex: none; }
.linesheet { padding-block: 22px clamp(48px, 6vw, 80px); }
.ls__count { margin-bottom: 4px; color: var(--slate); font-weight: 600; }
.linesheet .ls { margin-top: 28px; scroll-margin-top: calc(var(--header-h) + 80px); }
.linesheet .ls[hidden], .lsgroup[hidden], .lsrow[hidden] { display: none; }
.linesheet .ls__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px 12px; margin-bottom: 4px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.ls__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--navy); color: #fff; }
.ls__icon svg { width: 24px; height: 24px; }
.linesheet .ls__head h2 { font-size: clamp(1.35rem, 1vw + 1rem, 1.8rem); }
.ls__n { padding: 2px 10px; border-radius: 999px; background: var(--mist); color: var(--slate); font-size: .82rem; font-weight: 700; }
.linesheet .ls__head a { margin-left: auto; font-size: .92rem; }
.lsgroup { margin-top: 18px; }
.lsgroup__name { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 1rem; letter-spacing: 0; }
.lsgroup__name::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--orange)); }
.lsgroup__name small { padding: 1px 8px; border-radius: 999px; background: var(--mist); color: var(--slate); font-size: .74rem; font-weight: 700; }
.lsgroup__rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lsrow__link {
  display: grid; grid-template-columns: 76px minmax(0, 1.3fr) minmax(0, 1.4fr) minmax(0, .95fr) 36px; align-items: center; gap: 20px;
  padding: 10px 14px 10px 10px; border-radius: 18px; background: #fff; color: var(--navy); text-decoration: none;
  box-shadow: 0 0 0 1px rgba(11, 31, 58, .08), 0 14px 24px -24px rgba(11, 31, 58, .7);
  transition: box-shadow .2s ease, transform .2s var(--ease-out);
}
.lsrow__img { display: block; width: 76px; height: 76px; overflow: hidden; border-radius: 12px; background: var(--mist); }
.lsrow__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lsrow__main { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-width: 0; }
.lsrow__code { padding: 2px 8px; border-radius: 999px; background: var(--mist); color: var(--slate); font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .03em; }
.lsrow__code--req { background: var(--orange-soft); color: var(--orange-dark); }
.lsrow__badge { padding: 2px 8px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .7rem; font-weight: 700; }
.lsrow__name { flex-basis: 100%; font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.25; }
.lsrow__lede { flex-basis: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--slate); font-size: .84rem; line-height: 1.4; }
.lsrow__facts { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; font-size: .84rem; line-height: 1.35; }
.lsrow__facts span { color: var(--slate); }
.lsrow__facts span::after { content: ":"; }
.lsrow__sizes { display: grid; gap: 4px; justify-items: start; font-size: .88rem; }
.lsrow__sizes small { color: var(--slate); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lsrow__prints { display: flex; align-items: center; margin-top: 3px; padding-left: 5px; }
.lsrow__prints img { width: 20px; height: 20px; margin-left: -5px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; object-fit: cover; }
.lsrow__prints b { margin-left: 5px; color: var(--slate); font-size: .74rem; }
.lsrow__go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mist); color: var(--navy); transition: background-color .2s ease, color .2s ease, transform .2s var(--ease-out); }
.lsrow__go svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .lsrow__link:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--navy), 0 18px 28px -22px rgba(11, 31, 58, .7); }
  .lsrow__link:hover .lsrow__go { background: var(--orange); color: #fff; transform: translateX(2px); }
}
@media (max-width: 1080px) {
  .lsrow__link { grid-template-columns: 68px minmax(0, 1.2fr) minmax(0, .9fr) 32px; gap: 16px; }
  .lsrow__img { width: 68px; height: 68px; }
  .lsrow__facts { display: none; }
}
@media (max-width: 700px) {
  .lsbar__inner { flex-direction: column; align-items: stretch; gap: 8px; padding-block: 8px; }
  .lsbar__search { flex: none; min-width: 0; height: 42px; }
  .lsbar__search input { font-size: 16px; }   /* no zoom on focus in iOS */
  .lsbar .ls__jump { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .lsbar .ls__jump a { padding: 6px 12px; font-size: .86rem; }
  .linesheet .ls { scroll-margin-top: calc(var(--header-h) + 124px); }
  .ls__icon { width: 38px; height: 38px; border-radius: 12px; }
  .linesheet .ls__head a { flex-basis: 100%; margin-left: 0; }
  .lsrow__link { grid-template-columns: 64px minmax(0, 1fr) 26px; align-items: start; gap: 6px 12px; padding: 10px; border-radius: 16px; }
  .lsrow__img { grid-row: 1 / span 2; width: 64px; height: 64px; }
  .lsrow__lede { display: none; }
  .lsrow__name { font-size: .95rem; }
  .lsrow__sizes { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .84rem; }
  .lsrow__sizes small { display: none; }
  .lsrow__prints { margin-top: 0; }
  .lsrow__go { grid-column: 3; grid-row: 1; align-self: center; width: 26px; height: 26px; }
  .lsrow__go svg { width: 13px; height: 13px; }
}
@media (prefers-reduced-motion: reduce) { .lsrow__link, .lsrow__go { transition: none; } }
@media (prefers-reduced-transparency: reduce) { .lsbar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
