/* Public site – look, typography, shading and hover behaviour modelled on the reference dealer site.
   Values (colours, shadows, transitions) come from the reference site's own stylesheets. */
:root {
  /* ---- palette ---- */
  --navy: #0b2240; --navy-dark: #061529; --navy-deep: #08192d; --gold: #c9a227; --gold-hover: #a8861c; --gold-bright: #f0cf5a;
  --royal: #1d3f78; --royal-2: #274b8f; --royal-3: #132f5c; --blue: #1d3f78; --link: #003788; --text: #333; --light: #f5f7fa;
  --red: #e3202a; --price: #a8861c; --link-hover: #a8861c; --line: #b6b6b6; --grey: #eee;
  --panel: #1c2b72; --line-accent: #1a2b6d; --brand-blue: #1d3f78; --brand-blue-dark: #132f5c; --navy-2: #0b2e6f; --price-2: #a8861c; --danger: #dc3545;
  --cta: #c9a227; --cta-hover: #a8861c; --cta-dark: #132f5c; --star: #f5a300; --action: #274b8f; --action-hover: #1d3f78; --ok: #0cba0c; --ok-2: #4caf50;
  --soft: #f5f7fa; --soft-2: #f8fafc; --btn-navy: #002064; --tag-red: #c82333; --tag-blue: #0056b3; --menu-hover: #274b8f; --tab-hover: #3b5ea8;
  --green-1: #77d800; --green-2: #3f7200; --red-1: #e31b23; --promo-1: #0a2a7a; --promo-2: #1b5fd0; --promo-3: #6bb4ff; --accent-2: #a8861c; --similar: #2a3f99;
  --grad-navy: linear-gradient(135deg, var(--royal-2) 0%, var(--royal) 50%, var(--royal-3) 100%);
  --page-bg: #fff; --surface: #fff;
  /* ---- fine details (colours that used to be hard-coded; the theme editor changes them) ---- */
  --cat-accent: #d9303c; --type-tint: #c9a227; --fab: #1c63c8; --underline: #003eb2; --chip-on: #4a67c9; --chip-checked: #dce6ff; --chip-checked-line: #9db4f3; --help: #16317f; --panel-hover: #2a3d94; --tile-hover: #083770; --view-hover: #002559; --sec-line: #cca464; --menu-bar: #b8d2ff; --trade-tint: #e6f1ff; --trade-line: #cfe0f5; --trade-text: #163e82; --trade-bar: #0b5aa8; --visit-bg: #eef0ff; --visit-line: #c9ccf0; --visit-head: #dde1ff; --more-line: #9bb0e8; --royal-hover-1: #2e57a6; --royal-hover-2: #23498a; --royal-hover-3: #18386d; --good: #2e7d32; --good-tint: #f4f9f5; --good-tint-2: #ebf5ed; --pill-line: #4a9a4a; --pill-text: #3b8c3b; --opt: #3a9c3d; --ok-hover: #0aa30a; --on-dark: #cfe0ff; --on-dark-2: #b0c2d4; --pill-bg: #ffd24a; --pill-ink: #102650; --purpose-accent: #d6243b; --warranty-1: #f0d66b; --warranty-2: #b2831b; --warranty-line: #d8b13a;
  /* ---- shape, effects, type ---- */
  --r-xs: 3px; --r-sm: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 10px;
  --shadow-cus: 0 0 7px rgba(0, 0, 0, .2);
  --font-body: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'メイリオ', Meiryo, 'Noto Sans JP', 'ＭＳ Ｐゴシック', sans-serif;
  --font-heading: var(--font-body);
  --font-num: 'Noto Sans JP', 'Hiragino Sans', Meiryo, sans-serif;
  --base-size: 16px; --body-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: var(--base-size); }
body {
  margin: 0; color: var(--text); background: var(--page-bg); overflow-x: hidden;
  font-family: var(--font-body);
  font-size: var(--body-size); line-height: 1.5; -webkit-font-smoothing: antialiased; font-weight: var(--w-body);
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-family: var(--font-heading); }
h1, h2 { font-weight: var(--w-heading); } h3, h4 { font-weight: var(--w-sub); }
ul { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; }
.home-flow { display: flex; flex-direction: column; }
.home-flow > .hs { min-width: 0; }
.home-flow > .hs-news .news-box { margin-bottom: 0; } /* the footer's own top margin supplies the gap (flex items do not collapse margins) */
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 12px; }
@media (min-width: 1400px) { .wrap { max-width: 1320px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num-font { font-family: var(--font-num); }

/* ------------------------------------------------------------ header */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1050; background: var(--navy-deep); border-bottom: 1px solid rgba(255,255,255,.1); transition: all .4s cubic-bezier(.25, 1, .5, 1); }
.site-header .bar { display: flex; align-items: center; gap: 24px; max-width: 1400px; margin: 0 auto; padding: 0 24px; height: 75px; transition: height .3s; }
body.home .site-header { background: linear-gradient(180deg, rgba(8,25,45,.92) 0%, rgba(8,25,45,.55) 100%); border-bottom-color: rgba(255,255,255,.1); }
body.home .site-header.scrolled, .site-header.menu-open { background-color: var(--navy-deep); box-shadow: 0 4px 30px rgba(0,0,0,.3); border-bottom-color: rgba(178,130,71,.3); }
body:not(.home) { padding-top: 76px; }
.brand { display: flex; align-items: center; gap: 8px; color: #fff; flex: none; }
.brand svg { width: 46px; height: 46px; }
.brand .brand-mark { width: auto; height: 24px; display: block; }
.brand .brand-mark, .brand .brand-img { filter: drop-shadow(0 1px 2px rgba(0,0,0,.75)) drop-shadow(0 3px 6px rgba(0,0,0,.55)) drop-shadow(0 6px 14px rgba(0,0,0,.35)); }   /* soft shadow only: the logo stands out on any header picture */
.brand b { display: block; font-size: 22px; letter-spacing: 1px; font-style: italic; line-height: 1.05; }
.brand small { display: block; font-size: 10px; opacity: .8; }
.hmenu { display: flex; align-items: stretch; height: 100%; margin-left: 8px; }
.hitem { position: relative; display: flex; align-items: stretch; }
.hlink { display: flex; align-items: center; padding: 0 20px; color: rgba(255,255,255,.95); font-size: 16px; font-weight: 700; height: 100%; transition: color .2s; white-space: nowrap; }
.hitem:hover > .hlink, .hlink:focus-visible { color: #000; background: var(--grey); }
.hdrop { position: absolute; top: 100%; left: 0; min-width: 160px; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.3); padding: 4px 0; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all .3s ease-in-out; z-index: 5; }
.hitem:hover > .hdrop, .hitem:focus-within > .hdrop { opacity: 1; visibility: visible; transform: translateY(0); }
.hdrop a { position: relative; display: block; padding: 6px 18px; color: #000; font-size: 15px; font-weight: 400; white-space: nowrap; transition: background-color .15s, color .15s; overflow: hidden; }
.hdrop li.sub a { padding-left: 34px; }
.hdrop a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 4px; background: var(--menu-bar); transition: .6s; }
.hdrop a:hover { background: var(--menu-hover); color: #fff; text-decoration: none; }
.hdrop a:hover::after { width: 100%; }
.hphones { display: grid; grid-template-columns: auto auto; align-items: center; gap: 4px 8px; margin-left: auto; flex: none; font-family: var(--font-num); line-height: 1.15; }
.hphones div { display: contents; }   /* the labels of both numbers share one column, so they are the same size */
.hphones .tag { font-size: 12px; font-weight: 700; color: #fff; padding: 4px 20px; border-radius: var(--r-xs); min-width: 58px; text-align: center; letter-spacing: .5px; }
.hphones .tag.r { background: var(--tag-red); } .hphones .tag.b { background: var(--tag-blue); }
.hphones a { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: .5px; white-space: nowrap; transition: color .2s ease; }
.hphones a:hover { color: var(--gold-bright); text-decoration: none; } .hphones a.fax { pointer-events: none; }   /* a fax number is not a call link */
.btn-gold { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #fff; font-size: 14px; border-radius: var(--r-sm); border: 0; padding: 10px 16px; cursor: pointer; transition: background .2s; white-space: nowrap; flex: none; }
.btn-gold:hover { background: var(--gold-hover); color: #fff; text-decoration: none; }
.btn-gold svg { width: 14px; height: 14px; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.5); color: #fff; border-radius: var(--r-sm); padding: 8px 12px; font-size: 18px; margin-left: auto; cursor: pointer; }

/* phone-only parts (shown by mobile.css) */
.m-tel, .m-bar, .m-filter-btn { display: none; }

/* ------------------------------------------------------------ hero + features */
.hero { position: relative; color: #fff; height: 380px; display: flex; align-items: center; background: var(--navy) center/cover no-repeat; padding-top: 75px; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,.2) 60%, rgba(0,0,0,.55) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hs-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; } .hs-slide.on { opacity: 1; }
.hs-slide picture, .hs-slide img { display: block; width: 100%; height: 100%; } .hs-slide img { object-fit: cover; object-position: center; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; } .hero-dots button.on { background: #fff; transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .hs-slide { transition: none; } }
.hero h2 { font-size: clamp(1.5rem, 4vw, 2.8rem); font-weight: 300; line-height: 1.3; letter-spacing: 2px; white-space: pre-line; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.hero p { font-size: 16px; color: rgba(255,255,255,.85); white-space: pre-line; margin: 14px 0 18px; max-width: 560px; }
.btn-gold-lg { display: inline-block; background: var(--gold); color: #fff; border-radius: var(--r-sm); padding: 16px 48px; font-size: 16px; transition: background .2s; }
.btn-gold-lg:hover { background: var(--gold-hover); color: #fff; text-decoration: none; }
.features { background: var(--navy-deep); color: #fff; border-bottom: 4px solid var(--gold); }
.features .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.features .item { display: flex; gap: 14px; padding: 12px 16px; border-right: 1px solid rgba(255,255,255,.2); align-items: flex-start; }
.features .item:last-child { border-right: 0; }
.features svg { flex: none; width: 34px; height: 34px; color: var(--gold); margin-top: 2px; }
.features h3 { font-size: 12.5px; font-weight: 400; margin-bottom: 3px; }
.features p { margin: 0; font-size: 9.5px; color: var(--on-dark-2); line-height: 1.65; white-space: pre-line; }

/* ------------------------------------------------------------ banners, search, chips */
.bnr2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 10px; }
.compact-banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 8px 14px; border-radius: var(--r-xl); color: #fff; font-weight: 700; font-size: 22px; letter-spacing: 1px; transition: transform .25s ease, box-shadow .25s ease; }
.compact-banner:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.15); color: #fff; text-decoration: none; }
.compact-banner.red { background: linear-gradient(135deg, var(--red-1) 0%, var(--danger) 100%); }
.compact-banner.green { background: linear-gradient(var(--green-1), var(--green-2)); }
.compact-banner .ic, .compact-banner .go { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.compact-banner .ic svg, .compact-banner .go svg { width: 24px; height: 24px; }
.compact-banner.red .ic svg, .compact-banner.red .go svg { color: var(--danger); } .compact-banner.green .ic svg, .compact-banner.green .go svg { color: var(--green-2); }
.compact-banner .t { flex: 1; text-align: center; }
.compact-banner .go { transition: transform .25s ease; } .compact-banner:hover .go { transform: translateX(4px); }
.compact-banner .wm { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); width: 76px; height: 76px; opacity: .12; color: #fff; pointer-events: none; }
.compact-banner .wm svg { width: 100%; height: 100%; }
.promo { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(100deg, var(--promo-1) 0%, var(--promo-2) 55%, var(--promo-3) 100%); color: #fff; padding: 12px 26px; position: relative; overflow: hidden; border-radius: 2px; transition: transform .25s ease, box-shadow .25s ease; }
.promo:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.18); color: #fff; text-decoration: none; }
.promo::after { content: ''; position: absolute; right: -40px; top: -30px; bottom: -30px; width: 260px; background: rgba(255,255,255,.12); transform: skewX(-24deg); }
/* Japanese style: seigaiha (wave) pattern, a gold rule top and bottom, and a red hanko-style seal */
.promo { border-top: 2px solid var(--sec-line); border-bottom: 2px solid var(--sec-line); justify-content: flex-start; }
.promo::before { content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'%3E%3Cg fill='none' stroke='white' stroke-opacity='.22' stroke-width='1'%3E%3Ccircle cx='0' cy='20' r='19'/%3E%3Ccircle cx='0' cy='20' r='13'/%3E%3Ccircle cx='0' cy='20' r='7'/%3E%3Ccircle cx='40' cy='20' r='19'/%3E%3Ccircle cx='40' cy='20' r='13'/%3E%3Ccircle cx='40' cy='20' r='7'/%3E%3Ccircle cx='20' cy='10' r='19'/%3E%3Ccircle cx='20' cy='10' r='13'/%3E%3Ccircle cx='20' cy='10' r='7'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 40px 20px; }
.promo > b { flex: 1; position: relative; z-index: 1; }
.promo .seal { flex: none; position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; background: var(--danger); color: #fff; border: 2px solid rgba(255,255,255,.9); border-radius: var(--r-md); transform: rotate(-6deg); box-shadow: 0 2px 6px rgba(0,0,0,.3), inset 0 0 0 2px rgba(0,0,0,.12); font: 900 20px/1 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif; letter-spacing: 0; text-align: center; white-space: nowrap; font-style: normal; text-shadow: none; }
.promo b { font-size: clamp(20px, 3.2vw, 34px); font-style: italic; text-shadow: 0 2px 0 rgba(0,0,0,.25); letter-spacing: .04em; }
.promo b small { font-size: .55em; margin-left: 14px; font-weight: 700; }
.promo span.pill { background: var(--pill-bg); color: var(--pill-ink); font-weight: 700; padding: 8px 16px; border-radius: 30px; position: relative; z-index: 1; white-space: nowrap; }
.section-title { font-size: 28px; font-weight: var(--w-heading); color: var(--navy); margin: 0 0 10px; }
.sec-line { display: block; width: 60px; height: 3px; background: var(--sec-line); margin-top: 6px; }
.vgrid8 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.search-card-wrap { position: relative; }
.search-card-new { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 110px; padding: 15px 10px; background: #fff; border: 1px solid #e2e8f0; border-radius: var(--r-lg); color: var(--text); transition: all .2s ease-in-out; }
.search-card-new svg { width: 70px; height: 40px; color: var(--royal); }
.search-card-new .cat-svg { --accent: var(--cat-accent); }   /* uploaded SVG pictures: the part drawn with var(--accent) follows the theme */
.search-card-new svg.cat-svg { width: 88px; height: 50px; object-fit: contain; }
.search-card-new img.cat-img { width: 100%; max-width: 190px; height: 72px; object-fit: contain; }   /* photos: as wide as the tile allows */
.search-card-new.has-photo { height: auto; padding: 5px 8px 6px; gap: 1px; }                              /* ...with little space around them, so the section stays low */
.search-card-new .lb { font-size: .75rem; font-weight: 500; transition: color .2s ease; }
.search-card-new .lb::after { content: ' ›'; }
.search-card-new:hover, .search-card-wrap:hover .search-card-new { border-color: var(--navy-2); box-shadow: 0 4px 12px rgba(11,46,111,.08); color: var(--navy-2); transform: translateY(-2px); background: var(--soft); text-decoration: none; }
.search-card-new.all { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.search-card-new.all .lb::after { content: ''; } .search-card-new.all .lb { font-size: .8rem; font-weight: 700; }
.search-card-new.all .arrow { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.types-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }   /* "all" is a small button beside the title, so the tiles fit in two rows */
.types-head .section-title { margin-bottom: 8px; }
.types-head .search-card-wrap { margin-top: 26px; flex: none; }
.search-card-new.all { flex-direction: row; gap: 10px; height: 34px; padding: 0 14px; border-radius: 17px; }
.search-card-new.all .arrow { width: 22px; height: 22px; } .search-card-new.all .arrow svg { width: 12px; height: 12px; }
.search-card-new.all .arrow svg { width: 20px; height: 20px; color: var(--navy-2); }
.search-card-new.all:hover { background: var(--tile-hover); color: #fff; }
.card-dd { display: block; position: absolute; left: 0; right: 0; top: calc(100% - 4px); z-index: 20; padding: 5px; background: #fff; box-shadow: 0 0 3px rgba(0,0,0,.3); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); clip-path: inset(0 0 100% 0); transition: opacity .28s ease, transform .32s cubic-bezier(.2,.8,.2,1), clip-path .32s cubic-bezier(.2,.8,.2,1), visibility 0s linear .32s; }
html:not(.dd-js) .search-card-wrap:hover .card-dd, .search-card-wrap.open .card-dd { opacity: 1; visibility: visible; pointer-events: auto; transform: none; clip-path: inset(0 -20px -20px -20px); transition-delay: 0s; }
.card-dd a { opacity: 0; transform: translateY(-6px); }
.search-card-wrap.open .card-dd a, html:not(.dd-js) .search-card-wrap:hover .card-dd a { opacity: 1; transform: none; }
.search-card-wrap.open .card-dd a:nth-child(2), html:not(.dd-js) .search-card-wrap:hover .card-dd a:nth-child(2) { transition-delay: .04s; } .search-card-wrap.open .card-dd a:nth-child(3), html:not(.dd-js) .search-card-wrap:hover .card-dd a:nth-child(3) { transition-delay: .08s; } .search-card-wrap.open .card-dd a:nth-child(4), html:not(.dd-js) .search-card-wrap:hover .card-dd a:nth-child(4) { transition-delay: .12s; }   /* opens on hover; with the script (html.dd-js) the menu closes by itself after 1 second */
.card-dd a { display: block; padding: 6px 12px; margin-bottom: 4px; background: #f0f2f5; color: var(--text); font-size: 13px; font-weight: 500; text-align: center; border-radius: var(--r-sm); transition: background-color .15s ease, color .15s ease, opacity .3s ease, transform .3s ease; }
.card-dd a:last-child { margin-bottom: 0; }
.card-dd a:hover { background: var(--brand-blue); color: #fff; text-decoration: none; }
.purpose-bg { background: var(--soft-2); border-top: 1px solid #eaeef4; border-bottom: 1px solid #eaeef4; padding: 8px 0 10px; margin-top: 12px; }
@media (min-width: 768px) { .purpose-bg .section-title { font-size: 20px; margin: 0 0 6px; line-height: 1.3; } .purpose a { white-space: nowrap; } .purpose a br { display: none; } }
.purpose { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.purpose a { display: flex; align-items: center; justify-content: center; height: 38px; text-align: center; background: #fff; border: 1px solid #e2e8f0; border-radius: var(--r-lg); color: var(--royal); font-size: 1rem; line-height: 1.3; transition: all .2s ease-in-out; }
.purpose a:nth-child(3n) { color: var(--navy-2); } .purpose a:nth-child(7) { color: var(--purpose-accent); }
.purpose a:hover { border-color: var(--navy-2); box-shadow: 0 4px 12px rgba(11,46,111,.08); transform: translateY(-2px); background: var(--soft); text-decoration: none; }
.cond-box { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 10px 16px; padding: 14px 20px 16px; margin-top: 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: var(--r-lg); box-shadow: 0 0 3px rgba(0,0,0,.1); }
.cond-box .fld { min-width: 0; } .cond-box .fld-go .btn-pill { width: 100%; justify-content: center; min-height: 40px; padding-top: 0; padding-bottom: 0; } .cond-box label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.sel { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .75rem center/14px; padding-right: 2.2rem; }
.sel, .inp { width: 100%; border: 1px solid #dbe2ea; border-radius: var(--r-lg); padding: .55rem .85rem; font-size: .9rem; font-family: inherit; color: var(--text); min-height: 40px; transition: all .2s ease; }
.inp { background: #fff; }
.sel:focus, .inp:focus { outline: 0; border-color: var(--royal-2); box-shadow: 0 0 0 3px rgba(39,75,143,.15); }
.btn-pill { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 30px; color: #fff; font-weight: 700; font-size: .95rem; padding: 10px 22px; cursor: pointer; background: linear-gradient(135deg, var(--royal-2) 0%, var(--royal) 100%); transition: all .25s ease; white-space: nowrap; }
.btn-pill:hover { background: linear-gradient(135deg, var(--royal) 0%, var(--royal-3) 100%); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(29,63,120,.25); color: #fff; text-decoration: none; }
.btn-pill svg { width: 18px; height: 18px; }
.btn-pill.dark { background: var(--royal); }

/* ------------------------------------------------------------ tabs + home cards */
.tabbox { margin-top: 16px; padding: 6px; background: #fff; box-shadow: var(--shadow-cus); }
.tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 6px; }
.tabs button { border: 0; color: #fff; font-weight: 700; font-size: 1.3rem; line-height: 1.4; padding: 9px 4px; cursor: pointer; transition: all .2s ease; box-shadow: 0 -2px 3px rgb(0 0 0 / 30%); background: var(--grad-navy); }
.tabs button:hover:not([aria-selected="true"]) { background: var(--tab-hover); transform: translateY(-2px); }
.tabs button[aria-selected="true"] { background: #fff; color: #111; box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.hcards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.truck_card { display: block; background: #fff; border-radius: var(--r-md); box-shadow: 0 0 4px rgba(0,0,0,.15); overflow: hidden; color: #212529; transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease; position: relative; }
.truck_card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,.08); text-decoration: none; color: #212529; }
.truck_card .ph { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #dde3ee; }
.truck_card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.truck_card:hover .ph img { transform: scale(1.04); }
.truck_card .bd { padding: 7px 8px 8px; }
.truck_card .no { font-size: 1.05rem; font-weight: 700; margin: 0 0 3px; font-family: var(--font-num); }
.truck_card .no b { color: var(--brand-blue); font-size: 1.3rem; letter-spacing: 1.5px; margin-left: 6px; }
.truck_card .tt { color: #555; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 5px; }
/* max load / shift: one row each, left-aligned – the label, then its value in a column of its own */
.truck_card .info { display: grid; grid-template-columns: 1fr; background: #f4f6f8; border-radius: var(--r-lg); padding: 2px 10px; font-size: .78rem; color: #666; margin-bottom: 6px; }
.truck_card .info div { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); align-items: baseline; gap: 8px; padding: 3px 0; text-align: left; } .truck_card .info div + div { border-top: 1px solid #dde1e6; }
.truck_card .info span:last-child { color: #222; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.truck_card .pr { text-align: center; color: #666; font-size: .78rem; margin-bottom: 6px; min-height: 0; }
.truck_card .pr b { color: var(--danger); font-size: 1.7rem; font-weight: 700; margin: 0 4px 0 8px; font-family: var(--font-num); } .truck_card .pr b + em { font-style: normal; color: var(--danger); font-weight: 700; }
.truck_card .pr .ask { color: var(--danger); font-weight: 700; font-size: 1rem; margin-left: 8px; }
.truck_card .btn-d { display: block; text-align: center; padding: 6px 4px; border: 1.5px solid var(--brand-blue); border-radius: var(--r-md); color: var(--brand-blue); font-weight: 700; font-size: .85rem; transition: all .2s; }
.truck_card:hover .btn-d { border-color: var(--brand-blue-dark); }
.ribbon { position: absolute; left: -8cqw; top: 4.4cqw; width: 30cqw; text-align: center; transform: rotate(-45deg); background: linear-gradient(var(--rb1, #ff3a2d), var(--rb2, #c60f00)); color: var(--rf, #ffe45e); font-weight: 800; font-size: clamp(10px, 4.2cqw, 26px); letter-spacing: .06em; padding: .12em 0; box-shadow: 0 1px 4px rgba(0,0,0,.4); border-top: 1px solid #ffd2cd; border-bottom: 1px solid #7e0a00; z-index: 2; pointer-events: none; }
.more-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 12px 10px; border: 2px dashed var(--more-line); border-radius: var(--r-md); color: var(--royal); font-weight: 700; font-size: .85rem; transition: all .3s; min-height: 120px; }
.more-tile:hover { background: var(--soft); transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,.08); text-decoration: none; color: var(--royal); }
.more-tile .go { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-blue); color: #fff; display: grid; place-items: center; font-size: 22px; }
.more-tile small { color: #666; font-weight: 400; } .more-tile .btn { display: block; background: var(--brand-blue); color: #fff; padding: 6px 14px; border-radius: 20px; font-size: .8rem; margin-top: 4px; }
.sub-h { margin: 18px 0 0; padding: 4px 15px; font-size: 1.4rem; color: #fff; background: var(--grad-navy); white-space: break-spaces; }
.btn-green-wide { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px 0; padding: 9px; background: var(--good-tint); border: 1px solid #e2e8f0; border-radius: var(--r-lg); transition: .2s; color: var(--good); font-weight: 700; }
.btn-green-wide small { color: #666; font-weight: 400; } .btn-green-wide:hover { background: var(--good-tint-2); text-decoration: none; color: var(--good); }

/* ------------------------------------------------------------ strength / service / stats / news */
.strength { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding: 32px 0 22px; }
.strength .eyebrow { color: var(--gold); font-size: 12px; letter-spacing: 3px; font-weight: 700; }
.strength h2 { font-size: 26px; line-height: 1.45; margin: 6px 0 10px; color: var(--navy); white-space: pre-line; }
.strength p { color: #555; font-size: .95rem; line-height: 1.9; margin: 0 0 18px; }
.ph-box { background: linear-gradient(135deg, #dfe5f1, #c2cde4) center/cover no-repeat; min-height: 200px; border-radius: var(--r-md); box-shadow: var(--shadow-cus); }
.ph-box.ph-strength { background-image: url('/img/home/strength.webp'); } .ph-box.ph-service { background-image: url('/img/home/service.webp'); }   /* default pictures of the two home blocks; a picture set in the theme editor wins */
.btn-navy-lg { display: inline-block; background: var(--grad-navy); color: #fff; font-size: 15px; font-weight: 600; border-radius: var(--r-md); padding: 10px 20px; transition: all .25s ease; box-shadow: 0 4px 12px rgba(29,63,120,.3); }
.btn-navy-lg:hover { background: linear-gradient(135deg, var(--royal-hover-1) 0%, var(--royal-hover-2) 50%, var(--royal-hover-3) 100%); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(29,63,120,.4); color: #fff; text-decoration: none; }
.stats { background: var(--light); padding: 30px 0; margin-top: 12px; }
.stats .eyebrow { text-align: center; color: var(--gold); font-size: 12px; letter-spacing: 3px; font-weight: 700; }
.stats h2 { text-align: center; color: var(--navy); font-size: 24px; line-height: 1.5; margin: 4px 0 16px; }
.stats .g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { background: #fff; border-radius: var(--r-xl); padding: 12px 12px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease; }
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,.05); }
.stat-card .ico { width: 46px; height: 46px; margin: 0 auto 4px; border-radius: 50%; background: #eef3fb; color: var(--brand-blue); display: grid; place-items: center; transition: all .3s ease; }
.stat-card .ico svg { width: 28px; height: 28px; } .stat-card:hover .ico { background: var(--brand-blue); color: #fff; transform: rotate(5deg); }
.stat-card small { display: block; font-size: 12px; color: #666; } .stat-card b { font-size: 2.2rem; color: var(--navy); } .stat-card em { font-style: normal; font-size: .85rem; color: #555; margin-left: 2px; } .stat-card .n { font-size: 11px; color: #777; }
.news h3 { font-size: 20px; color: var(--navy); margin: 24px 0 8px; }
.news-row { display: flex; gap: 22px; padding: 9px 18px; border-bottom: 1px solid #eef0f3; font-size: .95rem; transition: background-color .2s; }
.news-row:hover { background: #fafbfc; } .news-row time { color: #777; flex: none; } .news-row a { color: var(--text); } .news-row a:hover { color: var(--gold); text-decoration: none; }
.news-box { box-shadow: 0 0 3px rgba(0,0,0,.2); background: #fff; margin-bottom: 40px; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--navy-deep); color: #fff; padding: 24px 0 12px; margin-top: 24px; }
.foot-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.site-footer h3 { font-size: 14px; border-left: 3px solid var(--gold); padding-left: 10px; margin-bottom: 12px; line-height: 1.5; }
.site-footer li { margin: 3px 0; } .site-footer li::before { content: '・'; color: #7f95ae; }
.site-footer a { color: var(--on-dark); font-size: 12px; text-decoration: none; } .site-footer a:hover { color: #fff; }
.site-footer .copy { text-align: center; font-size: 11px; opacity: .7; margin-top: 30px; }
.tools { position: fixed; right: 8px; top: 108px; z-index: 30; background: #fff; border-radius: var(--r-lg); box-shadow: 0 2px 10px rgba(0,0,0,.25); width: 70px; padding: 6px 0; text-align: center; }
.tools a { display: block; color: #222; font-size: 10px; padding: 8px 2px; position: relative; line-height: 1.3; transition: background .2s; }
.tools a.tool-line { color: #06c755; font-weight: 700; }
.tools a:hover { background: #f3f5f9; text-decoration: none; color: #222; }
.tools a svg { width: 28px; height: 28px; margin: 0 auto 2px; display: block; }
.tools a .n { position: absolute; top: 2px; right: 10px; background: var(--red); color: #fff; border-radius: var(--r-xl); font-size: 10px; padding: 0 5px; display: none; }
.to-top { position: fixed; right: 12px; bottom: 16px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--fab); color: #fff; font-size: 9px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.3); display: none; transition: transform .2s; }
.to-top:hover { transform: translateY(-3px); } .to-top.show { display: block; }

/* ============================================================ inner pages (list / detail) – older portal style */
body.inner a:hover { text-decoration: underline; color: var(--link-hover); }
body.inner .btn-gold:hover, body.inner .hlink:hover, body.inner .hdrop a:hover, body.inner .hphones a:hover, body.inner .site-footer a:hover, body.inner .btn-navy-lg:hover, body.inner .btn-pill:hover, body.inner .brand:hover { text-decoration: none; }
body.inner .hphones a:hover { color: var(--gold-bright); } body.inner .hdrop a:hover { color: #fff; } body.inner .hlink:hover { color: #000; } body.inner .brand:hover { color: #fff; } body.inner .site-footer a:hover { color: #fff; }
.crumbs { padding: 14px 0 8px; font-weight: 700; font-size: 15px; display: flex; gap: 18px; flex-wrap: wrap; }
.crumbs a { color: var(--blue); } .crumbs a::before { content: '‹'; color: #999; margin-right: 10px; font-weight: 400; }
.le-li-head { background: var(--blue); color: #fff; padding: 12px 16px; font-size: 24px; font-weight: 700; margin-top: 8px; }
.fast-keyword { border: 1px solid var(--blue); margin-top: 14px; }
.fast-keyword h2 { background: var(--blue); color: #fff; text-align: center; padding: 6px; font-size: 1.5rem; }
.fast-keyword ul { padding: 12px 16px 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 20px; }
.fast-keyword li a { color: var(--blue); font-weight: 700; text-decoration: underline; font-size: 15px; } .fast-keyword li a::before { content: '▸'; font-size: 11px; margin-right: 5px; }
.ftable { border: 1px solid #c8c8c8; margin-top: 14px; font-size: 13px; background: #fff; }
.frow { display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid #d5d5d5; } .frow:last-child { border-bottom: 0; }
.frow > b { background: var(--grey); padding: 10px 12px; display: flex; align-items: center; font-size: 13px; }
.frow > div { padding: 8px 10px; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; min-width: 0; }
.frow2 { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #d5d5d5; } .frow2 .frow { border-bottom: 0; } .frow2 .frow:first-child { border-right: 1px solid #d5d5d5; }
.chk { display: inline-flex; align-items: center; gap: 5px; background: #ededed; border: 1px solid #dedede; border-radius: var(--r-xs); padding: 4px 9px; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .15s; }
.chk:hover { background: lightgray; } .chk input { margin: 0; } .chk:has(input:checked) { background: var(--chip-checked); border-color: var(--chip-checked-line); }
.range { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .range select { width: auto; min-width: 96px; padding: 5px 6px; font-size: 13px; border: 1px solid #bbb; border-radius: var(--r-xs); background: #fff; font-family: inherit; }
.btn-search-red { background: var(--cta); color: #fff; border: 0; border-radius: var(--r-xs); padding: 10px 22px; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s; box-shadow: 0 2px 0 #900; }
.btn-search-red:hover { background: var(--cta-hover); transform: translateY(1px); box-shadow: none; }
.btn-detail { background: #fff; border: 3px solid #bbb; border-radius: var(--r-lg); padding: 6px 18px; font-size: 18px; font-weight: 700; color: #555; cursor: pointer; transition: all .2s; } .btn-detail:hover { border-color: #888; color: var(--text); background: #f5f5f5; }
.more-filters { display: none; border-top: 1px solid #d5d5d5; } .more-filters.open { display: block; }
.search-conditions-sm button, .btn-clear { background: #fff; border: 1px solid #bbb; border-radius: var(--r-xs); padding: 9px 16px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--text); transition: all .2s; } .btn-clear:hover { background: var(--cta); color: #fff; border-color: var(--cta); }
.bnr-wide { margin: 12px 0; }
.sortbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 20px 0 10px; }
.sortbar .count { font-size: 13px; } .sortbar .count b { font-size: 30px; color: var(--blue); margin: 0 2px; } .sortbar .count i { font-style: normal; color: var(--blue); font-weight: 700; }
.view-toggle { display: flex; gap: 4px; } .view-toggle a { color: #222; font-weight: 700; padding: 6px 10px; border: 1px solid transparent; border-radius: var(--r-sm); font-size: 14px; } .view-toggle a.on { background: #e6e6e6; border-color: #bbb; } .view-toggle a:hover { text-decoration: none; border-color: var(--view-hover); color: #222; }
.sortbar select { border: 1px solid var(--text); border-radius: var(--r-xs); padding: 6px 8px; font-size: 14px; font-weight: 700; font-family: inherit; min-width: 150px; background: #fff; }
.pager { margin-left: auto; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.pager a, .pager span { min-width: 34px; padding: 6px 9px; text-align: center; background: #e8e8e8; border: 1px solid #ccc; border-radius: var(--r-xs); color: var(--text); font-size: 13px; transition: all .2s; }
.pager a:hover { background: #fff; border-color: var(--blue); text-decoration: none; color: var(--blue); } .pager span.on { background: none; border: 0; color: var(--blue); font-weight: 700; } .pager span.gap { background: none; border: 0; }
.empty { text-align: center; padding: 50px 10px; color: #666; border: 1px dashed #ccc; }

/* list card (ベース: 一覧) */
.trucklist-new { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.trucklist-new > li { display: flex; }
.car { background: #fff; border: 1px solid var(--line); padding: 3px; display: flex; flex-direction: column; width: 100%; position: relative; }
.car .photo { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #dde3ee; border: 1px solid #d0d0d0; }
.car .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.car:hover .photo img { transform: scale(1.033); }
.car:hover > div:not(.acts) { opacity: .8; } .car > div { transition: opacity .2s; }
.status-flag { position: absolute; right: 0; top: 0; padding: 4px 10px; font-weight: 700; font-size: 12px; color: #fff; background: #777; z-index: 2; } .status-flag.reserved { background: #e08a00; } .status-flag.sold { background: #b00020; } .status-flag.draft { background: #555; }
.car .stock { background: var(--grey); text-align: center; padding: 6px 4px; margin-top: 4px; font-size: 13px; border-top: 1px solid #d6d6d6; } .car .stock b { font-size: 20px; margin-left: 10px; color: #111; }
.car .t1, .car .t2 { color: var(--link); font-weight: 700; padding-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 4px solid var(--line-accent); line-height: 1.4; }
.car .t1 { font-size: 16px; margin-top: 8px; } .car .t2 { font-size: 14px; min-height: 1.4em; } .car .t1 a, .car .t2 a { color: inherit; }
.car table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 6px; table-layout: fixed; }
.car td { border: 1px solid #d9d9d9; padding: 3px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .car td.l { background: var(--grey); width: 25%; } .car td.v { text-align: right; width: 25%; }
.car .price { text-align: center; font-weight: 700; color: var(--price); margin: 10px 0 8px; min-height: 40px; display: flex; align-items: center; justify-content: center; line-height: 1.1; }
.car .price .big { font-size: 29px; font-family: var(--font-num); } .car .price .unit { font-size: 17px; } .car .price .tax { font-size: 11px; color: #555; font-weight: 400; margin-left: 5px; } .car .price .ask { font-size: 17px; }
.car .acts { display: grid; grid-template-columns: 56px 1fr 1fr; gap: 5px; margin-top: auto; }
.fav { border: 1px solid color-mix(in srgb, var(--text) 38%, #fff); background: color-mix(in srgb, var(--text) 38%, #fff); font-size: 24px; line-height: 1; cursor: pointer; border-radius: var(--r-xs); color: #fff; min-height: 42px; transition: all .15s; } .fav:hover { background: color-mix(in srgb, var(--text) 52%, #fff); border-color: color-mix(in srgb, var(--text) 52%, #fff); } .fav.on { background: var(--royal); border-color: var(--royal-3); color: var(--gold-bright); } .fav.on:hover { background: var(--royal-2); }   /* grey with a white star; the theme colour with a gold star once it is a favourite (all from the theme colours) */
.pill-type { border: 1px solid var(--pill-line); color: var(--pill-text); border-radius: var(--r-xs); font-size: 13px; text-align: center; padding: 11px 2px; background: #fff; } .pill-type.gold { border-color: var(--warranty-line); color: #fff; background: linear-gradient(180deg, var(--warranty-1) 0%, var(--warranty-2) 100%); font-weight: 700; }
.btn-navy { background: var(--btn-navy); color: #fff; border: 1px solid var(--btn-navy); border-radius: var(--r-xs); padding: 11px 6px; font-weight: 700; font-size: 13px; text-align: center; display: block; transition: all .2s; cursor: pointer; }
.btn-navy:hover { background: var(--cta-dark); border-color: var(--cta-dark); color: #fff !important; text-decoration: none !important; }
.trucklist-new.list { grid-template-columns: 1fr; } .trucklist-new.list .car { flex-direction: row; gap: 12px; padding: 8px; } .trucklist-new.list .photo { width: 300px; flex: none; } .trucklist-new.list .car .body { flex: 1; display: flex; flex-direction: column; min-width: 0; }

/* ------------------------------------------------------------ detail page */
.title-car { font-size: 24px; font-weight: 700; margin: 6px 0 12px; color: #111; }
.detail-page .crumbs { padding: 10px 0 4px; font-size: 12px; font-weight: 400; gap: 14px; opacity: .6; } .detail-page .crumbs a { color: var(--text); } .detail-page .crumbs a::before { margin-right: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.pill { border: 2px solid var(--line-accent); border-radius: 18px; padding: 3px 12px; font-weight: 700; color: var(--line-accent); font-size: 14px; background: #fff; transition: all .2s; } a.pill:hover { background: var(--line-accent); color: #fff; text-decoration: none; }
.d-top { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.d-top > aside { min-width: 0; }   /* no scroll bars of its own: the page scrolls */
.d-top > aside .sales-point li { overflow-wrap: anywhere; }
.gallery .main { position: relative; background: #111; aspect-ratio: 3 / 2; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; background: #e9edf5; }
.gallery .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: none; color: #111; border: 0; font-size: 44px; width: 46px; height: 70px; cursor: pointer; transition: all .3s ease-in-out; text-shadow: 0 0 6px #fff; } .gallery .nav-btn:hover { background: rgba(255,255,255,.6); } .gallery .prev { left: 0; } .gallery .next { right: 0; }
.gallery .cap { position: absolute; z-index: 4; left: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: var(--r-sm); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; margin-top: 6px; background: #e6e6e6; padding: 6px; }
.thumbs button { padding: 0; border: 3px solid transparent; background: #fff; cursor: pointer; aspect-ratio: 3 / 2; overflow: hidden; transition: all .2s ease-in-out; opacity: .8; } .thumbs button:hover { opacity: 1; transform: scale(1.1); } .thumbs button img { width: 100%; height: 100%; object-fit: cover; } .thumbs button.on { border-color: var(--star); opacity: 1; }
.check-note { display: flex; align-items: center; gap: 14px; margin: 14px 0; font-size: 13px; font-weight: 700; } .check-note .check-badge { width: 54px; height: 54px; flex: none; object-fit: contain; }   /* the quality badge (gold truck & shield) */
.btn-opt { margin-left: auto; border: 2px solid var(--ok-2); color: var(--opt); border-radius: var(--r-md); background: #fff; padding: 6px 14px; font-weight: 700; box-shadow: 0 2px 3px rgba(0,0,0,.15); transition: all .2s; white-space: nowrap; } .btn-opt:hover { background: var(--ok-2); color: #fff !important; text-decoration: none !important; }
.line-card { display: flex; align-items: center; gap: 18px; background: var(--ok); color: #fff; border-radius: var(--r-md); padding: 18px 22px; margin: 14px 0 6px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.line-card .lc-ic { flex: none; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--ok); display: grid; place-items: center; } .line-card .lc-ic svg { width: 30px; height: 30px; fill: currentColor; }
.line-card .lc-body { flex: 1; min-width: 0; } .line-card .lc-badge { display: inline-block; background: #fff; color: var(--ok); font-size: 11px; font-weight: 700; padding: 1px 10px; border-radius: 20px; }
.line-card h2 { margin: 4px 0 4px; font-size: 22px; line-height: 1.3; } .line-card p { margin: 0; font-size: 14px; line-height: 1.6; opacity: .95; }
.line-card .lc-act { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 230px; text-align: center; }
.line-card .lc-btn { display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--ok); font-weight: 700; font-size: 17px; padding: 12px 30px; border-radius: 40px; box-shadow: 0 2px 6px rgba(0,0,0,.18); white-space: nowrap; } .line-card .lc-btn:hover { text-decoration: none; transform: translateY(-1px); }
.line-card .lc-act small { font-size: 11px; opacity: .9; }
.or-sep { display: flex; align-items: center; gap: 12px; margin: 14px 0 12px; color: #666; font-size: 13px; font-weight: 700; } .or-sep::before, .or-sep::after { content: ''; flex: 1; border-top: 1px solid #d5d5d5; }
.panel { border: 1px solid #c9c9c9; margin-bottom: 12px; background: #fff; }
.panel > h3 { background: var(--panel); color: #fff; padding: 8px 10px; font-size: 16px; font-weight: 700; } .panel > h3 small { font-size: 14px; font-weight: 700; margin-left: 4px; }
.panel .in { padding: 10px; }
.p-price { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 10px 6px; text-align: center; } .p-note { padding: 0 10px 12px; font-size: 12px; color: #555; text-align: center; }   /* label, price and note are centred */ .p-price > span:first-child { font-size: 17px; white-space: nowrap; }
.p-price .big { color: var(--price-2); font-size: 36px; font-weight: 700; line-height: 1; font-family: var(--font-num); } .p-price .big small { font-size: 14px; color: var(--price-2); font-weight: 700; } .p-price .ask { color: var(--price-2); font-size: 22px; font-weight: 800; }
.btn-line-sm { display: flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid #aaa; border-radius: var(--r-xs); background: #fff; padding: 9px 6px; margin: 6px 10px 10px; font-size: 13px; color: var(--text); transition: all .2s; } .btn-line-sm:hover { background: #f5f5f5; border-color: var(--panel); color: var(--panel); text-decoration: none; }
.stockno { display: flex; align-items: baseline; justify-content: center; gap: 22px; padding: 4px 0 8px; border-bottom: 1px solid #ccc; font-size: 20px; font-weight: 700; font-family: var(--font-heading); } .stockno b { font-size: 1.12em; line-height: 1; color: var(--panel); letter-spacing: 1px; font-weight: 700; }
.tel { text-align: center; color: var(--price-2); font-size: 30px; font-weight: 700; letter-spacing: 1px; display: block; margin: 8px 0; } .tel::before { content: ''; display: inline-block; width: .9em; height: .9em; margin-right: .25em; vertical-align: -.1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tel.fax::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8V3h7l3 3v2'/%3E%3Cpath d='M7 17H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-3'/%3E%3Crect x='7' y='13' width='10' height='8'/%3E%3Cpath d='M17.5 11.5h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8V3h7l3 3v2'/%3E%3Cpath d='M7 17H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-3'/%3E%3Crect x='7' y='13' width='10' height='8'/%3E%3Cpath d='M17.5 11.5h.01'/%3E%3C/svg%3E"); } body.inner a.tel:hover { color: var(--link-hover); }
.btns2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; } .btns2 .full { grid-column: 1 / -1; }
.btn-blue { background: var(--action); color: #fff; border: 0; border-radius: 22px; padding: 9px 8px; font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; justify-content: center; transition: all .2s; } .btn-blue:hover { background: var(--action-hover); color: #fff !important; text-decoration: none !important; transform: translateY(-1px); box-shadow: 0 3px 8px rgba(31,86,196,.4); }
.btn-green { background: var(--ok); color: #fff; border: 0; border-radius: 22px; padding: 10px 8px; font-weight: 700; font-size: 14px; cursor: pointer; text-align: center; transition: all .2s; } .btn-green:hover { background: var(--ok-hover); color: #fff !important; text-decoration: none !important; }
.btn-line { background: #fff; color: var(--line-accent); border: 1px solid #aaa; border-radius: var(--r-xs); padding: 9px 6px; font-weight: 500; font-size: 13px; cursor: pointer; text-align: center; transition: all .2s; display: block; } .btn-line:hover { background: #eef2ff; border-color: var(--line-accent); text-decoration: none !important; color: var(--line-accent) !important; }
.btn-line.on { color: var(--price-2); border-color: var(--price-2); }
.sales-point ul { font-size: 14px; } .sales-point li { margin-bottom: 8px; line-height: 1.7; }
.h-line { border-bottom: 5px solid var(--underline); display: inline-block; font-size: 20px; padding: 0 4px 2px; margin: 26px 0 10px; font-weight: 500; }
/* vehicle details: one four-column table (label | value | label | value); the registration certificate follows in its own table */
.spec-main { margin: 4px 0 0; } .spec-cert { margin: 0; } .spec-cert .h-line { margin: 18px 0 8px; }
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; }
.data-grid dl { display: grid; grid-template-columns: 38% 62%; margin: 0; border-bottom: 1px solid #9f9fa0; }
.data-grid dl.wide { grid-column: span 2; grid-template-columns: 19% 81%; }
/* spec + equipment tables, every screen size: the reference dealer site's look – 14px, regular weight, black; grey labels, only a thin line under each row */
.data-grid dt { background: #dcdcdd; font-weight: 400; font-size: 14px; line-height: normal; padding: 6px 10px; text-align: left; display: flex; align-items: center; justify-content: flex-start; color: #000; }
.data-grid dd { margin: 0; padding: 6px 10px 6px 14px; font-size: 14px; font-weight: 400; line-height: normal; color: #000; background: #fff; display: flex; align-items: center; word-break: break-word; } .data-grid dd div { width: 100%; }
.data-grid dd a, body.inner .data-grid dd a:hover { color: inherit; text-decoration: none; }   /* links in the specs look like the text */
.data-grid dl.dims dd { letter-spacing: -.2px; font-size: 12px; padding-left: 10px; padding-right: 4px; }
.dt-help { cursor: help; color: var(--help); margin-left: 4px; }
.collapser { width: 240px; background: var(--panel); color: #fff; border: 0; font-weight: 700; padding: 8px; display: block; margin: 10px 0 0; cursor: pointer; font-size: 17px; transition: background .2s; } .collapser:hover { background: var(--panel-hover); }
.equip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0 14px; }
.equip dl { margin: 0; border: 1px solid #d5dbe8; border-radius: var(--r-md); background: #fff; overflow: hidden; }
.equip dt { padding: 8px 12px; background: var(--soft); border-left: 4px solid var(--sec-line); border-bottom: 1px solid #e4e8f1; font-weight: 700; font-size: 13.5px; color: var(--navy); }
.equip dd { margin: 0; padding: 10px 12px 12px; }
.equip ul { display: flex; flex-wrap: wrap; gap: 6px; } .equip li { border: 1px solid #ddd; border-radius: var(--r-xs); padding: 4px 10px; font-size: 12.5px; color: #aaa; background: #fff; } .equip li.on { color: #fff; background: var(--chip-on); border-color: var(--chip-on); font-weight: 700; } .equip li.on::before { content: '✓'; margin-right: 5px; font-weight: 700; } .equip li[title]:not([title=""]) { cursor: help; }
.equip.tyres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tyre-card { border: 1px solid #d5dbe8; border-radius: var(--r-md); background: #fff; overflow: hidden; } .tyre-card h3 { margin: 0; padding: 7px 12px; background: var(--soft); border-left: 4px solid var(--sec-line); border-bottom: 1px solid #e4e8f1; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.tyre-tbl { width: 100%; border-collapse: collapse; margin: 0; font-size: 13px; } .tyre-tbl td { border-top: 1px solid #e4e8f1; padding: 6px 12px; } .tyre-tbl tr:first-child td { border-top: 0; } .tyre-tbl tr:nth-child(even) td { background: #fafbfd; }
.fine { font-size: 12px; color: #444; line-height: 1.9; margin: 14px 0; }
.tradein { margin: 20px 0; } .tradein .ban { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 30px; background: linear-gradient(100deg, var(--trade-tint), #fff); border: 1px solid var(--trade-line); } .tradein .ban b { font-size: clamp(18px, 2.4vw, 26px); color: var(--trade-text); } .tradein .ban b em { font-style: normal; color: var(--accent-2); } .tradein .bar { background: var(--trade-bar); color: #fff; text-align: center; font-weight: 700; padding: 10px; }
.similar { border: 1px solid #ddd; padding: 14px; margin: 22px 0; box-shadow: 0 1px 6px rgba(0,0,0,.06); } .similar h2 { text-align: center; border: 3px solid var(--similar); color: var(--similar); padding: 8px; font-size: 22px; margin-bottom: 14px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc(25% - 8px); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 8px; } .rail > * { scroll-snap-align: start; }
.mini { display: block; border: 1px solid #bbb; background: #fff; transition: all .2s; color: #222; } .mini:hover { box-shadow: 0 4px 10px rgba(0,0,0,.15); transform: translateY(-2px); text-decoration: none !important; color: #222 !important; }
.mini .ph { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #dde3ee; } .mini .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; } .mini:hover .ph img { transform: scale(1.033); }
.mini .bd { display: grid; grid-template-columns: 1fr auto; font-size: 12px; } .mini .bd .l { padding: 6px; font-size: 11px; } .mini .bd .l b { display: block; font-size: 12px; border-bottom: 1px solid #ccc; margin-bottom: 3px; } .mini .bd .r { padding: 6px; text-align: center; min-width: 74px; border-left: 1px solid #ddd; color: var(--price-2); font-weight: 700; font-size: 20px; line-height: 1.1; }
.related { background: var(--grey); border: 1px solid #ddd; } .related h3 { background: #e5e5e5; padding: 10px 14px; font-size: 14px; } .related ul { padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 8px 36px; } .related a { font-weight: 700; color: var(--blue); text-decoration: underline; } .related a::before { content: '▸ '; font-size: 11px; }
.staffbox { background: #e5e5ea; padding: 26px 16px 20px; margin: 22px 0; text-align: center; } .staffbox h3 { font-size: 22px; color: #444; } .staffbox p { font-size: 14px; color: #444; margin: 8px 0 16px; }
.raiten { background: var(--visit-bg); padding: 14px 16px; } .raiten table { border-collapse: collapse; margin-top: 8px; font-size: 13px; width: 100%; } .raiten th, .raiten td { border: 1px solid var(--visit-line); text-align: center; padding: 6px 4px; background: #fff; } .raiten th { background: var(--visit-head); } .raiten td a { display: block; font-weight: 700; } .raiten td a:hover { background: #fff3d6; text-decoration: none !important; }
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(224,224,230,.97); box-shadow: 0 -2px 8px rgba(0,0,0,.2); transform: translateY(110%); transition: transform .25s; } .sticky-bar.show { transform: none; }
.sticky-bar .in { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 8px 16px; } .sticky-bar .nm { flex: 1; font-weight: 700; line-height: 1.35; border-left: 5px solid var(--panel); padding-left: 10px; } .sticky-bar img { width: 100px; height: 75px; object-fit: cover; }
.sticky-bar .free { color: var(--price-2); font-size: 12px; border: 1px solid var(--price-2); padding: 0 4px; margin-right: 6px; } .sticky-bar .tl { color: var(--price-2); font-size: 28px; font-weight: 700; } .sticky-bar small { font-size: 12px; color: var(--text); display: block; } .sticky-bar small svg { width: 13px; height: 13px; vertical-align: -2px; }
.detail-page .site-footer { padding-bottom: calc(12px + var(--sticky-h, 0px)); }
.sticky-bar .btn-navy { background: var(--panel); padding: 12px 26px; font-size: 15px; }
.flash { background: #e9f8ea; border: 1px solid #8ccf91; color: #1d5d22; padding: 12px 14px; border-radius: var(--r-sm); margin: 10px 0; font-weight: 700; } .preview-flag { background: #fff3cd; border: 1px solid #e6c85a; padding: 8px 12px; font-weight: 700; margin: 8px 0; } .sold-flag { background: #b00020; color: #fff; padding: 10px 14px; font-weight: 700; margin: 8px 0; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1100; display: none; align-items: center; justify-content: center; padding: 16px; } .modal.open { display: flex; }
.modal .box { background: #fff; max-width: 520px; width: 100%; border-radius: var(--r-md); overflow: hidden; max-height: 92vh; overflow-y: auto; animation: pop .25s ease; } @keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h3 { background: var(--panel); color: #fff; padding: 12px 16px; font-size: 16px; display: flex; justify-content: space-between; } .modal h3 button { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.form-grid { padding: 16px; display: grid; gap: 12px; } .form-grid label { font-size: 12px; font-weight: 700; display: block; margin-bottom: 3px; } .hp { position: absolute; left: -9999px; }
.page { padding-top: 20px; padding-bottom: 50px; min-height: 55vh; } .page h1 { color: var(--line-accent); font-size: 26px; margin: 10px 0 16px; } .prose { max-width: 760px; } .prose p { margin: 0 0 14px; line-height: 1.9; }

/* ------------------------------------------------------------ responsive */
@media (min-width: 1200px) { .d-xl-none { display: none; } }
body.home .tools { display: none; } body.home .tools.show { display: block; }
@media (max-width: 1399px) { .hphones a { font-size: 16px; } .hlink { padding: 0 12px; font-size: 14px; } .tabs button { font-size: 1.3rem; } }
@media (max-width: 1199px) {
  .hmenu, .hphones, .site-header .btn-gold { display: none; } .menu-toggle { display: block; }
  .site-header.menu-open .bar { flex-wrap: wrap; height: auto; min-height: 75px; padding-bottom: 12px; }
  .site-header.menu-open .hmenu { display: flex; flex-direction: column; order: 5; flex-basis: 100%; height: auto; margin: 4px 0; }
  .site-header.menu-open .hlink { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.12); } .site-header.menu-open .hitem:hover > .hlink { background: none; color: #fff; }
  .site-header.menu-open .hdrop { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; display: none; padding: 0 0 6px 12px; }
  .site-header.menu-open .hitem.open > .hdrop { display: block; } .site-header.menu-open .hdrop a { color: var(--on-dark); font-size: 14px; } .site-header.menu-open .hdrop a:hover { background: transparent; color: #fff; }
  .site-header.menu-open .hphones div { display: flex; align-items: center; gap: 8px; } .site-header.menu-open .hphones { display: flex; order: 6; flex-basis: 100%; flex-direction: row; gap: 18px; flex-wrap: wrap; } .site-header.menu-open .btn-gold { display: inline-flex; order: 7; }
  .vgrid8, .purpose { grid-template-columns: repeat(4, 1fr); } .hcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .trucklist-new { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tabs button { font-size: 1.1rem; } .tools, body.home .tools, body.home .tools.show { display: block; }   /* below 1200px the side menu is a pull-out tab (see 'pull-out side menu' below), on every page and at any scroll position */
}
@media (max-width: 991px) {
  .trucklist-new.list .car { flex-direction: column; } .trucklist-new.list .photo { width: 100%; }
  .d-top { grid-template-columns: 1fr; } .d-top > aside { position: static; max-height: none; overflow: visible; } .features .wrap { grid-template-columns: 1fr 1fr; } .features .item:nth-child(2) { border-right: 0; } .fast-keyword ul { grid-template-columns: repeat(2, 1fr); }
  .strength { grid-template-columns: 1fr; } .stats .g { grid-template-columns: repeat(2, 1fr); } .foot-cols { grid-template-columns: repeat(2, 1fr); } .rail { grid-auto-columns: calc(50% - 8px); } .hero { height: auto; min-height: 420px; }
  .cond-box { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bnr2 { grid-template-columns: 1fr; } .compact-banner { font-size: 20px; }
}
@media (max-width: 640px) {
  .hcards, .trucklist-new { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .purpose { grid-template-columns: repeat(2, 1fr); } .vgrid8 { grid-template-columns: repeat(3, 1fr); gap: 6px; } .search-card-new img.cat-img { height: 52px; } .search-card-new .lb { font-size: .68rem; } .tabs { grid-template-columns: repeat(2, 1fr); } .tabs button { font-size: 1rem; padding: 10px 2px; }
  .car .t1 { font-size: 13px; } .car .t2 { font-size: 11px; } .car td { font-size: 11px; padding: 2px 3px; } .car .price .big { font-size: 22px; } .car .acts { grid-template-columns: 1fr; } .car .acts .fav { min-height: 34px; }
  .frow { grid-template-columns: 1fr; } .frow2 { grid-template-columns: 1fr; } .frow2 .frow:first-child { border-right: 0; border-bottom: 1px solid #d5d5d5; } .data-grid { grid-template-columns: 1fr; } .data-grid dl.wide { grid-column: auto; }
  .title-car { font-size: 19px; } .trucklist-new.list .car { flex-direction: column; } .trucklist-new.list .photo { width: 100%; } .sticky-bar img { display: none; } .sticky-bar .in { gap: 10px; } .sticky-bar .tl { font-size: 18px; }
  .rail { grid-auto-columns: 78%; } .pager { margin-left: 0; } .equip, .equip.tyres { grid-template-columns: minmax(0, 1fr); } .le-li-head { font-size: 18px; } .foot-cols { grid-template-columns: 1fr 1fr; } .stats .g { grid-template-columns: 1fr 1fr; } .hphones a { font-size: 18px; }
  .section-title { font-size: 22px; } .cond-box { padding: 16px; gap: 10px 10px; } .cond-box .fld-q, .cond-box .fld-go { grid-column: 1 / -1; } .fast-keyword ul { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------ company pages (about / profile / access) – compact, Japanese corporate-site style */
.co-hero { background: linear-gradient(120deg, var(--navy-deep), var(--navy) 62%, var(--royal-3)); color: #fff; padding: 4px 0 0; border-bottom: 3px solid var(--gold); }
.co-hero .crumbs { padding: 8px 0 0; font-size: 12px; } .co-hero .crumbs a { color: var(--on-dark, #fff); } .co-hero .crumbs a::before { color: var(--on-dark, #fff); opacity: .6; }
.co-eyebrow { display: block; margin-top: 4px; color: var(--gold-bright); font-size: 11px; font-weight: 700; letter-spacing: 3px; }
.co-hero h1 { margin: 0 0 4px; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; color: #fff; font-weight: 800; }
.co-hero p { margin: 0 0 12px; max-width: 820px; color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.7; }
.co-tabs { display: flex; gap: 3px; flex-wrap: wrap; }
.co-tabs a { padding: 8px 18px; color: rgba(255,255,255,.8); font-weight: 700; font-size: 13.5px; border-radius: var(--r-sm) var(--r-sm) 0 0; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.co-tabs a:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.08); } .co-tabs a[aria-current] { color: var(--navy); background: #fff; border-bottom-color: #fff; }
.co-page { padding-bottom: 4px; }
.co-sec { margin: 22px 0; } .co-sec > p { font-size: 14px; line-height: 1.9; max-width: none; margin: 0 0 10px; }
.co-h2 { position: relative; margin: 0 0 12px; padding: 0 0 7px; font-size: 19px; font-weight: var(--w-sub); color: var(--navy); border-bottom: 1px solid #cfd6e4; }
.co-h2::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 76px; height: 3px; background: var(--sec-line); }
.co-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #cfd6e4; border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.co-stats > div { padding: 12px 8px 10px; text-align: center; border-left: 1px solid #e1e6f0; } .co-stats > div:first-child { border-left: 0; }
.co-stats small { display: block; font-size: 12px; color: var(--text); font-weight: 500; }
.co-stats b { font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--navy); font-family: var(--font-num); } .co-stats em { margin-left: 2px; font-style: normal; font-size: 13px; font-weight: 500; color: var(--navy); }
.co-stats span { display: block; margin-top: 1px; font-size: 11px; color: #777; }
.co-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; counter-reset: co; }
.co-card { position: relative; padding: 11px 14px 12px; border: 1px solid #d5dbe8; border-top: 2px solid var(--sec-line); border-radius: var(--r-sm); background: #fff; counter-increment: co; }
.co-card::before { content: counter(co, decimal-leading-zero); display: block; margin-bottom: 1px; color: var(--sec-line); font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: 1px; }
.co-card h3 { margin: 0 0 5px; font-size: 15px; color: var(--navy); } .co-card p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--text); }
.co-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.co-co { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid #d5dbe8; border-radius: var(--r-sm); background: #fff; }
.co-co h3 { margin: 2px 0 0; font-size: 16px; color: var(--navy); } .co-co p { margin: 0; flex: 1; font-size: 13px; line-height: 1.75; } .co-co > a { font-weight: 700; font-size: 13px; }
.co-table { margin: 0; border-top: 2px solid var(--navy); } .co-table > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); border-bottom: 1px solid #dcdcdc; }
.co-table dt { margin: 0; padding: 9px 14px; background: #f3f5fa; font-weight: 700; color: var(--navy); font-size: 13px; } .co-table dd { margin: 0; padding: 9px 16px; font-size: 14px; line-height: 1.7; }
.co-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; } .co-two .co-cards { margin-top: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); } .co-note { margin: 12px 0 0; }
.co-map { margin: 0; border: 1px solid #dcdcdc; border-radius: var(--r-sm); overflow: hidden; }
.co-two > .co-map { position: relative; min-height: 420px; }   /* the map is exactly as tall as the details column next to it */
.co-two > .co-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; } .co-map iframe { display: block; }
.co-cta { margin-top: 22px; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: #fff; padding: 16px 0; }
.co-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.co-cta h2 { margin: 0 0 3px; font-size: 18px; font-weight: var(--w-sub); color: #fff; } .co-cta p { margin: 0; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.85); max-width: 560px; }
.co-cta .wrap > div:last-child { display: flex; gap: 8px; flex-wrap: wrap; }
.co-cta a { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 170px; padding: 8px 18px; border-radius: var(--r-sm); background: #fff; color: var(--navy); font-weight: 700; font-size: 18px; box-shadow: 0 2px 5px rgba(0,0,0,.2); }
.co-cta a small { font-size: 10.5px; font-weight: 400; color: var(--text); } .co-cta a svg { width: 18px; height: 18px; fill: currentColor; } .co-cta a:hover { text-decoration: none; transform: translateY(-1px); }
.co-cta a[href="/contact"] { flex-direction: row; gap: 8px; font-size: 15px; background: var(--gold); color: #fff; }
.co-cta a:not([href^="tel"]):not([href="/contact"]) { flex-direction: row; gap: 8px; font-size: 15px; background: var(--ok); color: #fff; }

/* Light text on dark backgrounds (photos, navy bars) is set one step heavier so it stays readable */
.hero p, .features p, .site-footer, .co-hero p, .co-cta p, .co-hero .crumbs { font-weight: var(--w-on-dark); }
.hero p, .hero h2 { text-shadow: 0 1px 10px rgba(0,0,0,.55); }

.site-header .btn-gold.is-line { background: var(--ok); border-color: var(--ok); color: #fff; } .site-header .btn-gold.is-line:hover { background: var(--ok-2); border-color: var(--ok-2); color: #fff; }
.hphones { justify-content: center; }
.cond-box .fld-go { display: flex; gap: 8px; align-items: center; } .cond-box .fld-go .btn-pill { flex: 1; width: auto; } .cond-box .fld-go .btn-clear { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; text-decoration: none; color: var(--text); }


/* LINE QR: computers show the QR code, phones the button that opens the LINE app */
@media (max-width: 767px) { .lq-desk { display: none !important; } } @media (min-width: 768px) { .lq-mob { display: none !important; } }
.lq-img { width: 100%; aspect-ratio: 1; background: #fff url('/line-qr.svg') center / contain no-repeat; }
.lq-box { width: 150px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px; background: #fff; border: 1px solid #d5dbe8; color: var(--text); text-align: center; }
.lq-box .lq-img { width: 120px; } .lq-cap { font-size: 11px; line-height: 1.5; font-weight: 500; } .lq-open { font-size: 11.5px; font-weight: 700; color: var(--ok); }
.hline { position: relative; display: inline-flex; } .hline:hover .lq-pop, .hline:focus-within .lq-pop { display: block; }
.lq-pop { display: none; position: absolute; right: 0; top: 100%; padding-top: 8px; z-index: 80; text-align: left; } .lq-pop .lq-box { box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.tools .hline { display: block; } .tools .lq-pop { right: 100%; top: -30px; padding: 0 8px 0 0; }
.lc-act .lq-desk { display: block; } .lc-act .lq-box { border: 0; width: 160px; }
.btns2 .lq-desk { grid-column: 1 / -1; display: flex; justify-content: center; } .btns2 .lq-box { width: 100%; display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 16px; row-gap: 6px; align-items: start; justify-items: start; text-align: left; padding: 12px 16px; }
.btns2 .lq-box .lq-img { grid-row: 1 / -1; width: 96px; border: 2px solid #000; }
.btns2 .lq-box .lq-cap { grid-column: 2; grid-row: 1; align-self: start; font-size: 12.5px; line-height: 1.6; white-space: pre-line; } .btns2 .lq-box .lq-open { grid-column: 2; grid-row: 2; align-self: end; font-size: 12.5px; }
.co-cta .lq-box { width: auto; flex-direction: row; gap: 10px; padding: 6px 12px 6px 6px; text-align: left; max-width: 280px; } .co-cta .lq-box .lq-img { width: 74px; flex: none; } .co-cta .lq-cap { font-size: 11px; }

.foot-brands { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.site-footer .foot-brands a { display: block; text-decoration: none; } .foot-brands img { display: block; width: auto; max-width: 100%; opacity: .95; } .foot-brands a:hover img { opacity: 1; }
.site-footer .foot-brands + .copy { margin-top: 16px; }

/* ------------------------------------------------------------ glass effect (default look): header, menus and buttons
   Smoked blue glass with a diagonal reflection, a light rim and a thin gold light along the lower edge; the gold buttons are gold glass.
   All colours come from the theme (--navy-deep, --royal-3, --gold, --gold-bright …); corners stay square. */
:root {
  --glass-streak: linear-gradient(90deg, rgba(0,0,0,0), var(--gold-bright) 50%, rgba(0,0,0,0)) 50% 100% / 78% 1.5px no-repeat;
  --glass-gloss: linear-gradient(104deg, rgba(255,255,255,.24) 0%, rgba(255,255,255,.08) 38%, rgba(255,255,255,0) 39%), linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.03) 48%, rgba(0,0,0,.18) 100%);
  --glass-rim: rgba(255,255,255,.36);
}
/* header */
.site-header, body.home .site-header { background: var(--glass-streak), color-mix(in srgb, var(--navy-deep) 62%, transparent); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid rgba(255,255,255,.2); box-shadow: 0 8px 30px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.22); }
body.home .site-header.scrolled, body.inner .site-header { background: var(--glass-streak), color-mix(in srgb, var(--navy-deep) 84%, transparent); }
.site-header.menu-open, body.home .site-header.menu-open { background: var(--glass-streak), color-mix(in srgb, var(--navy-deep) 94%, transparent); }
.site-header::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(104deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 30%, rgba(255,255,255,0) 31%); }
.site-header .bar { position: relative; }
/* buttons: one glass recipe, the tint (--gl) and the text colour tell the kinds apart */
.btn-gold, .btn-gold-lg, .btn-search-red, .btn-navy-lg, .btn-pill, .compact-banner, .hphones .tag, .hphones .tag.r, .hphones .tag.b {
  --gl: var(--royal-3); --gla: 84%; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.45); letter-spacing: .04em;
  background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--gl) var(--gla), transparent);
  border: 1px solid var(--glass-rim); border-top-color: rgba(255,255,255,.64); border-bottom-color: color-mix(in srgb, var(--gold-bright) 60%, transparent);
  box-shadow: 0 8px 20px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -10px 18px rgba(0,0,0,.1);
  -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%);
}
.btn-gold:hover, .btn-gold-lg:hover, .btn-search-red:hover, .btn-navy-lg:hover, .btn-pill:hover, .compact-banner:hover {
  --gl: var(--royal-2); --gla: 90%; transform: translateY(-1px); text-shadow: 0 1px 2px rgba(0,0,0,.45);
  background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--gl) var(--gla), transparent);
  box-shadow: 0 10px 24px rgba(0,0,0,.32), 0 0 14px color-mix(in srgb, var(--gold-bright) 45%, transparent), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -10px 18px rgba(0,0,0,.08);
}
/* gold glass: the call-to-action buttons (dark lettering) */
.btn-gold-lg, .btn-search-red, .compact-banner.red { --gl: var(--gold); --gla: 90%; color: var(--navy-deep); text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.btn-gold-lg:hover, .btn-search-red:hover, .compact-banner.red:hover { --gl: var(--gold-bright); --gla: 92%; color: var(--navy-deep); }
.btn-gold { --gl: var(--gold); --gla: 90%; color: var(--navy-deep); text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.btn-gold:hover { --gl: var(--gold-bright); --gla: 92%; color: var(--navy-deep); }
.site-header .btn-gold { --gl: var(--royal-3); --gla: 80%; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.45); border-color: color-mix(in srgb, var(--gold-bright) 70%, transparent); }   /* the header button: smoked glass with a gold rim */
.site-header .btn-gold:hover { --gl: var(--royal-2); color: #fff; }
.site-header .btn-gold.is-line { background: var(--glass-gloss), var(--ok); border-color: rgba(255,255,255,.5); color: #fff; } .site-header .btn-gold.is-line:hover { background: var(--glass-gloss), var(--ok-2); }
.site-header .btn-gold.is-line, .site-header .btn-gold.is-line:hover { color: #fff !important; text-shadow: 0 1px 2px rgba(0,0,0,.35); }   /* the LINE button: white text and icon on green, whatever colour the theme gives the gold header button */
.compact-banner.green { --gl: var(--royal); }
.compact-banner.red, .compact-banner.green { background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--gl) var(--gla), transparent); }
/* the round icon chips of the two banners: metal buttons (gold on the blue banner, silver on the gold one), like the reference */
.compact-banner .ic, .compact-banner .go { background: linear-gradient(145deg, var(--gold-bright), var(--gold) 58%, var(--gold-hover)); border: 2px solid rgba(255,255,255,.9); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 70%, transparent), 0 3px 8px rgba(0,0,0,.35), inset 0 1px 2px rgba(255,255,255,.75); }
.compact-banner.red .ic, .compact-banner.red .go { background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(222,228,238,.96) 55%, rgba(158,168,184,.96)); box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 3px 8px rgba(0,0,0,.3), inset 0 1px 2px rgba(255,255,255,.9); }
.compact-banner.red .ic svg, .compact-banner.red .go svg, .compact-banner.green .ic svg, .compact-banner.green .go svg { color: var(--navy-deep); }
.compact-banner .wm { color: #fff; opacity: .1; }
/* phone tags in the header */
/* the phone numbers: one glass block as tall as the menu chips; labels are fine gold-edged tags, the numbers are gold */
.hphones .tag, .hphones .tag.r, .hphones .tag.b { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; text-shadow: 0 1px 2px rgba(0,0,0,.4); border: 0; color: var(--gold-bright); font-size: 12px; line-height: 18px; padding: 0; min-width: 30px; letter-spacing: .08em; }
.hphones .tag { text-transform: uppercase; }   /* TEL / FAX in capitals, whatever is typed in the settings */
.hphones a { color: var(--gold-bright); font-size: 15px; letter-spacing: .06em; text-shadow: 0 1px 2px rgba(0,0,0,.4); } .hphones a:hover, body.inner .hphones a:hover { color: #fff; }
/* the second line (fax) is white, the first (tel) stays gold */
.hphones div:nth-child(2) .tag, .hphones div:nth-child(2) a, .hphones a.fax { color: #fff; }
@media (min-width: 1200px) {
  .hphones { align-self: center; align-content: center; height: 44px; padding: 0 14px; gap: 2px 10px; background: var(--glass-gloss), color-mix(in srgb, var(--royal-3) 38%, transparent); border: 1px solid rgba(255,255,255,.2); border-bottom-color: color-mix(in srgb, var(--gold-bright) 50%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}
/* menus: glass chips (wide screens), glass drop-down */
@media (min-width: 1200px) {
  .hlink { align-self: center; height: 44px; margin: 0 3px; background: var(--glass-gloss), color-mix(in srgb, var(--royal-3) 38%, transparent); border: 1px solid rgba(255,255,255,.2); border-bottom-color: color-mix(in srgb, var(--gold-bright) 50%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-shadow: 0 1px 2px rgba(0,0,0,.4); letter-spacing: .03em; }
}
.hitem:hover > .hlink, .hlink:focus-visible, body.inner .hlink:hover { color: #fff; background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--royal-2) 70%, transparent); box-shadow: 0 0 12px color-mix(in srgb, var(--gold-bright) 40%, transparent), inset 0 1px 0 rgba(255,255,255,.5); border-color: rgba(255,255,255,.42); }
.hdrop { background: var(--glass-streak), color-mix(in srgb, var(--navy-deep) 78%, transparent); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border: 1px solid rgba(255,255,255,.26); box-shadow: 0 14px 34px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.26); }
/* menu lettering like the banner: the same family, heavy and widely spaced, upright (not italic) */
.hlink { font-weight: 900; font-style: normal; letter-spacing: .06em; }
.hdrop a { color: rgba(255,255,255,.95); font-weight: 700; letter-spacing: .05em; }
.hdrop a:hover, body.inner .hdrop a:hover { background: var(--glass-gloss), color-mix(in srgb, var(--royal-2) 70%, transparent); color: #fff; }

/* glass reflection: a diagonal light streak sweeps across a button / menu item when the mouse comes over it */
.btn-gold, .btn-gold-lg, .btn-search-red, .btn-navy-lg, .btn-pill, .hlink { position: relative; overflow: hidden; }
.btn-gold::before, .btn-gold-lg::before, .btn-search-red::before, .btn-navy-lg::before, .btn-pill::before, .compact-banner::before, .hlink::before, .hdrop a::before {
  content: ''; position: absolute; top: -10%; bottom: -10%; left: -70%; width: 42%; z-index: 2; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 30%, rgba(255,255,255,.7) 50%, rgba(255,255,255,.18) 70%, rgba(255,255,255,0) 100%); transform: skewX(-22deg);
}
@keyframes glass-sweep { 0% { left: -70%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 130%; opacity: 0; } }
@media (hover: hover) {
  .btn-gold:hover::before, .btn-gold-lg:hover::before, .btn-search-red:hover::before, .btn-navy-lg:hover::before, .btn-pill:hover::before, .compact-banner:hover::before,
  .hitem:hover > .hlink::before, .hlink:focus-visible::before, .hdrop a:hover::before { animation: glass-sweep .8s ease-out 1; }
}
@media (prefers-reduced-motion: reduce) { .btn-gold::before, .btn-gold-lg::before, .btn-search-red::before, .btn-navy-lg::before, .btn-pill::before, .compact-banner::before, .hlink::before, .hdrop a::before { animation: none !important; } }

/* vehicle type tiles (home): glossy glass buttons like the reference: a glass body with a diagonal reflection, a light rim, thin gold lights along the edges and a gold chip;
   the truck pictures blend into the glass (their white background disappears). Hover: the glass brightens, the gold lights glow and a golden reflection sweeps across. */
.search-card-new { position: relative; overflow: hidden;
  background: linear-gradient(90deg, rgba(0,0,0,0), var(--gold-bright) 50%, rgba(0,0,0,0)) 82% 0 / 38% 1.5px no-repeat, var(--glass-streak), linear-gradient(104deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,.22) 38%, rgba(255,255,255,0) 39%), linear-gradient(180deg, color-mix(in srgb, var(--royal) 5%, #fff) 0%, color-mix(in srgb, var(--royal) 24%, #dfe7f3) 100%);
  border: 1px solid rgba(255,255,255,.92); box-shadow: 0 0 0 1px color-mix(in srgb, var(--royal) 30%, transparent), 0 10px 22px rgba(8,25,45,.22), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(255,255,255,.7), inset 0 0 18px rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: all .3s ease; }
.search-card-new:hover, .search-card-wrap:hover .search-card-new { background: linear-gradient(90deg, rgba(0,0,0,0), #fff 50%, rgba(0,0,0,0)) 82% 0 / 46% 1.5px no-repeat, linear-gradient(90deg, rgba(0,0,0,0), var(--gold-bright) 50%, rgba(0,0,0,0)) 50% 100% / 92% 2px no-repeat, linear-gradient(104deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.28) 38%, rgba(255,255,255,0) 39%), linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--royal) 16%, #e9eef8) 100%); border-color: color-mix(in srgb, var(--gold-bright) 80%, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 65%, transparent), 0 14px 28px rgba(8,25,45,.26), 0 0 22px color-mix(in srgb, var(--gold-bright) 50%, transparent), inset 0 1px 0 #fff, inset 0 0 22px rgba(255,255,255,.5); transform: translateY(-3px); }
.search-card-new .cat-pic { position: relative; display: block; width: 100%; max-width: 190px; height: 72px; isolation: isolate; transition: transform .35s ease; } .search-card-new:hover .cat-pic, .search-card-wrap:hover .search-card-new .cat-pic { transform: scale(1.07); }
.search-card-new .cat-pic img.cat-img { display: block; width: 100%; height: 100%; max-width: none; mix-blend-mode: normal; }
.search-card-new .cat-tint { position: absolute; inset: 0; background: var(--type-tint); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; mix-blend-mode: color; pointer-events: none; }   /* the coloured parts of the picture take the theme colour (--type-tint) */
.search-card-new .lb { color: var(--royal-3); font-weight: 700; letter-spacing: .06em; text-shadow: 0 1px 0 rgba(255,255,255,.8); }
.search-card-new::before { content: ''; position: absolute; top: -10%; bottom: -10%; left: -70%; width: 42%; z-index: 2; pointer-events: none; opacity: 0; transform: skewX(-22deg); background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.2) 30%, rgba(255,255,255,.9) 50%, rgba(255,255,255,.2) 70%, rgba(255,255,255,0) 100%); }
@media (hover: hover) { .search-card-new:hover::before, .search-card-wrap:hover .search-card-new::before { animation: glass-sweep .9s ease-out 1; } }
@media (prefers-reduced-motion: reduce) { .search-card-new::before { animation: none !important; } }
/* the "all" tile is a blue glass button like the others */
.search-card-new.all { background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--royal-3) 84%, transparent); border: 1px solid var(--glass-rim); border-top-color: rgba(255,255,255,.64); border-bottom-color: color-mix(in srgb, var(--gold-bright) 60%, transparent); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.45); box-shadow: 0 8px 20px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.5); }
.search-card-new.all:hover, .search-card-wrap:hover .search-card-new.all { background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--royal-2) 90%, transparent); color: #fff; border-color: var(--glass-rim); box-shadow: 0 10px 24px rgba(0,0,0,.3), 0 0 14px color-mix(in srgb, var(--gold-bright) 45%, transparent), inset 0 1px 0 rgba(255,255,255,.6); }
.search-card-new.all .lb::after { content: ''; width: 0; height: 0; background: none; border: 0; box-shadow: none; }
.search-card-new.all .lb { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.search-card-new.all::before { background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 30%, rgba(255,255,255,.7) 50%, rgba(255,255,255,.18) 70%, rgba(255,255,255,0) 100%); }

/* the size drop-down under a type tile: dark glass panel, glass chips, golden sweep on hover */
.card-dd { background: var(--glass-streak), color-mix(in srgb, var(--navy-deep) 80%, transparent); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border: 1px solid rgba(255,255,255,.26); box-shadow: 0 14px 30px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.24); }
.card-dd a { position: relative; overflow: hidden; background: var(--glass-gloss), color-mix(in srgb, var(--royal-3) 40%, transparent); color: #fff; border: 1px solid rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.card-dd a:hover { background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--royal-2) 75%, transparent); color: #fff; border-color: rgba(255,255,255,.42); box-shadow: 0 0 10px color-mix(in srgb, var(--gold-bright) 40%, transparent), inset 0 1px 0 rgba(255,255,255,.5); }
.card-dd a::before { content: ''; position: absolute; top: -10%; bottom: -10%; left: -70%; width: 42%; z-index: 2; pointer-events: none; opacity: 0; transform: skewX(-22deg); background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 30%, rgba(255,255,255,.7) 50%, rgba(255,255,255,.18) 70%, rgba(255,255,255,0) 100%); }
@media (hover: hover) { .card-dd a:hover::before { animation: glass-sweep .8s ease-out 1; } }
@media (prefers-reduced-motion: reduce) { .card-dd a::before { animation: none !important; } }

/* "search by purpose" links (home): blue glass like the 販売車両 banner (white lettering, gold line below), white reflection and a gold glow on hover */
.purpose a, .purpose a:nth-child(3n), .purpose a:nth-child(7) { position: relative; overflow: hidden; --gl: var(--royal); --gla: 84%; color: #fff; font-weight: 700; letter-spacing: .06em; text-shadow: 0 1px 2px rgba(0,0,0,.45);
  background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--gl) var(--gla), transparent);
  border: 1px solid var(--glass-rim); border-top-color: rgba(255,255,255,.64); border-bottom-color: color-mix(in srgb, var(--gold-bright) 60%, transparent);
  box-shadow: 0 8px 18px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -10px 18px rgba(0,0,0,.1);
  -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%); transition: all .25s ease; }
.purpose a:hover { --gl: var(--royal-2); --gla: 90%; color: #fff; transform: translateY(-3px);
  background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--gl) var(--gla), transparent);
  box-shadow: 0 10px 22px rgba(0,0,0,.3), 0 0 14px color-mix(in srgb, var(--gold-bright) 45%, transparent), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -10px 18px rgba(0,0,0,.08); }
.purpose a::before { content: ''; position: absolute; top: -10%; bottom: -10%; left: -70%; width: 42%; z-index: 2; pointer-events: none; opacity: 0; transform: skewX(-22deg); background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 30%, rgba(255,255,255,.7) 50%, rgba(255,255,255,.18) 70%, rgba(255,255,255,0) 100%); }
@media (hover: hover) { .purpose a:hover::before { animation: glass-sweep .8s ease-out 1; } }
@media (prefers-reduced-motion: reduce) { .purpose a::before { animation: none !important; } }

/* vehicle cards: the number in theme blue, the price in gold, the details button as blue glass (like the menu buttons), and a glass reflection over the photo on hover */
.truck_card .no b, .car .stock b { color: var(--royal); }
.truck_card .pr b, .truck_card .pr b + em, .truck_card .pr .ask, .car .price { color: var(--gold-hover); }
.truck_card .btn-d, .btn-navy {
  position: relative; overflow: hidden; --gl: var(--royal-3); --gla: 84%; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.45); letter-spacing: .04em;
  background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--gl) var(--gla), transparent);
  border: 1px solid var(--glass-rim); border-top-color: rgba(255,255,255,.64); border-bottom-color: color-mix(in srgb, var(--gold-bright) 60%, transparent);
  box-shadow: 0 6px 14px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -8px 14px rgba(0,0,0,.1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.truck_card:hover .btn-d, .truck_card .btn-d:hover, .btn-navy:hover { --gl: var(--royal-2); --gla: 90%; color: #fff !important; border-color: var(--glass-rim); border-bottom-color: color-mix(in srgb, var(--gold-bright) 70%, transparent);
  background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--gl) var(--gla), transparent);
  box-shadow: 0 8px 18px rgba(0,0,0,.28), 0 0 12px color-mix(in srgb, var(--gold-bright) 45%, transparent), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -8px 14px rgba(0,0,0,.08); }
.truck_card .btn-d::before, .btn-navy::before, .truck_card .ph::before, .car .photo::before { content: ''; position: absolute; top: -10%; bottom: -10%; left: -70%; width: 42%; z-index: 2; pointer-events: none; opacity: 0; transform: skewX(-22deg);
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 30%, rgba(255,255,255,.7) 50%, rgba(255,255,255,.18) 70%, rgba(255,255,255,0) 100%); }
.truck_card .ph::after, .car .photo::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 0 0 transparent; transition: box-shadow .35s ease; }
.truck_card:hover .ph::after, .car:hover .photo::after { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--gold-bright) 80%, transparent), inset 0 0 26px color-mix(in srgb, var(--gold-bright) 38%, transparent); }
@media (hover: hover) {
  .truck_card:hover .ph::before, .car:hover .photo::before { animation: glass-sweep 1s ease-out 1; }
  .truck_card:hover .btn-d::before, .btn-navy:hover::before { animation: glass-sweep .8s ease-out 1; }
}
@media (prefers-reduced-motion: reduce) { .truck_card .btn-d::before, .btn-navy::before, .truck_card .ph::before, .car .photo::before { animation: none !important; } }

/* the inquiry-number line of the cards: blue lettering on a light blue glass band */
.truck_card .no, .car .stock { color: var(--royal); background: var(--glass-streak), linear-gradient(180deg, color-mix(in srgb, var(--royal) 7%, #fff) 0%, color-mix(in srgb, var(--royal) 17%, #fff) 100%); border: 1px solid color-mix(in srgb, var(--royal) 20%, #fff); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.truck_card .no { padding: 4px 8px; margin: 0 0 5px; text-align: center; }
.car .stock { border-top-color: color-mix(in srgb, var(--royal) 20%, #fff); }

/* the "see more" tile at the end of the vehicle rows: frosted glass, a gold metal chip and a blue glass button */
.more-tile { position: relative; overflow: hidden; border: 1px solid color-mix(in srgb, var(--royal) 22%, #fff); background: var(--glass-streak), linear-gradient(104deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,.14) 38%, rgba(255,255,255,0) 39%), linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(226,235,248,.75) 100%); box-shadow: 0 0 0 1px rgba(8,25,45,.06), 0 6px 16px rgba(8,25,45,.1), inset 0 1px 0 #fff; }
.more-tile:hover { background: var(--glass-streak), linear-gradient(104deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.18) 38%, rgba(255,255,255,0) 39%), linear-gradient(180deg, #fff 0%, rgba(236,243,252,.88) 100%); border-color: color-mix(in srgb, var(--gold-bright) 75%, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 55%, transparent), 0 12px 24px rgba(8,25,45,.16), 0 0 16px color-mix(in srgb, var(--gold-bright) 40%, transparent), inset 0 1px 0 #fff; }
.more-tile .go { background: linear-gradient(145deg, var(--gold-bright), var(--gold) 58%, var(--gold-hover)); color: var(--navy-deep); border: 2px solid rgba(255,255,255,.9); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 70%, transparent), 0 3px 8px rgba(0,0,0,.3), inset 0 1px 2px rgba(255,255,255,.75); }
.more-tile .btn { position: relative; overflow: hidden; --gl: var(--royal-3); --gla: 84%; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.45); background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--gl) var(--gla), transparent); border: 1px solid var(--glass-rim); border-top-color: rgba(255,255,255,.64); border-bottom-color: color-mix(in srgb, var(--gold-bright) 60%, transparent); box-shadow: 0 6px 14px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.5); }
.more-tile:hover .btn { --gl: var(--royal-2); --gla: 90%; box-shadow: 0 8px 18px rgba(0,0,0,.28), 0 0 12px color-mix(in srgb, var(--gold-bright) 45%, transparent), inset 0 1px 0 rgba(255,255,255,.6); }
.more-tile::before { content: ''; position: absolute; top: -10%; bottom: -10%; left: -70%; width: 42%; z-index: 2; pointer-events: none; opacity: 0; transform: skewX(-22deg); background: linear-gradient(100deg, rgba(255,255,255,0) 0%, color-mix(in srgb, var(--gold-bright) 35%, transparent) 32%, color-mix(in srgb, var(--gold-bright) 80%, #fff) 50%, color-mix(in srgb, var(--gold-bright) 35%, transparent) 68%, rgba(255,255,255,0) 100%); }
@media (hover: hover) { .more-tile:hover::before { animation: glass-sweep .9s ease-out 1; } }
@media (prefers-reduced-motion: reduce) { .more-tile::before { animation: none !important; } }

/* the blue buttons of the vehicle page (stock enquiry, trade-in): the same blue glass button */
.btn-blue { position: relative; overflow: hidden; --gl: var(--royal-3); --gla: 84%; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.45); background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--gl) var(--gla), transparent); border: 1px solid var(--glass-rim); border-top-color: rgba(255,255,255,.64); border-bottom-color: color-mix(in srgb, var(--gold-bright) 60%, transparent); box-shadow: 0 6px 14px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -8px 14px rgba(0,0,0,.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-blue:hover { --gl: var(--royal-2); --gla: 90%; color: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.28), 0 0 12px color-mix(in srgb, var(--gold-bright) 45%, transparent), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-blue::before { content: ''; position: absolute; top: -10%; bottom: -10%; left: -70%; width: 42%; z-index: 2; pointer-events: none; opacity: 0; transform: skewX(-22deg); background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 30%, rgba(255,255,255,.7) 50%, rgba(255,255,255,.18) 70%, rgba(255,255,255,0) 100%); }
@media (hover: hover) { .btn-blue:hover::before { animation: glass-sweep .8s ease-out 1; } }
@media (prefers-reduced-motion: reduce) { .btn-blue::before { animation: none !important; } }

/* the condition search block (home): light blue frosted glass; its fields are glass controls with a gold edge on hover and a gold ring when selected */
.cond-box { background: var(--glass-streak), linear-gradient(104deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.1) 38%, rgba(255,255,255,0) 39%), linear-gradient(180deg, color-mix(in srgb, var(--royal) 7%, #fff) 0%, color-mix(in srgb, var(--royal) 16%, #fff) 100%); border: 1px solid color-mix(in srgb, var(--royal) 22%, #fff); box-shadow: 0 6px 18px rgba(8,25,45,.1), inset 0 1px 0 #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cond-box label { color: var(--royal); }
.cond-box .sel, .cond-box .inp { background-color: rgba(255,255,255,.72); background-image: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 100%); border: 1px solid color-mix(in srgb, var(--royal) 24%, #fff); box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(8,25,45,.06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .2s ease, box-shadow .25s ease, background-color .2s ease, transform .2s ease; }
.cond-box .sel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231d3f78' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E"), linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 100%); background-repeat: no-repeat, no-repeat; background-position: right .75rem center, 0 0; background-size: 14px, 100% 100%; }
.cond-box .sel:hover, .cond-box .inp:hover { background-color: rgba(255,255,255,.92); border-color: color-mix(in srgb, var(--gold-bright) 75%, #fff); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px color-mix(in srgb, var(--gold) 45%, transparent), 0 4px 12px rgba(8,25,45,.12), 0 0 12px color-mix(in srgb, var(--gold-bright) 35%, transparent); transform: translateY(-1px); }
.cond-box .sel:focus, .cond-box .inp:focus { background-color: #fff; border-color: var(--gold); box-shadow: inset 0 1px 0 #fff, 0 0 0 3px color-mix(in srgb, var(--gold-bright) 40%, transparent), 0 4px 12px rgba(8,25,45,.12); transform: none; }
.cond-box .btn-clear { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.6)); border: 1px solid color-mix(in srgb, var(--royal) 24%, #fff); color: var(--royal); }

/* home vehicle cards: all the same height (the price row has a fixed height, the button sits at the bottom), and a slimmer inquiry-number band */
.truck_card { display: flex; flex-direction: column; }
.truck_card .bd { display: flex; flex-direction: column; flex: 1 1 auto; }
.truck_card .pr { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; min-height: 46px; margin-bottom: 6px; }
.truck_card .btn-d { margin-top: auto; }
.truck_card .no { padding: 1px 8px; margin: 0 0 4px; font-size: .9rem; line-height: 1.3; }
.truck_card .no b { font-size: 1.1rem; margin-left: 4px; }
.car .stock { padding: 3px 4px; margin-top: 3px; font-size: 12px; } .car .stock b { font-size: 17px; margin-left: 8px; }

/* Square corners everywhere (no theme or preset can round an element: corner radius settings are ignored). */
/* favourite button on the vehicle page: the same navy glass as the other blue buttons, with plain gold lettering */
.btn-blue.fav-btn { padding: 14px 8px; width: 100%; }
.btn-blue.fav-btn.on { border-color: var(--gold-bright); }
.fav-t { display: inline-block; font-size: 20px; font-weight: 900; letter-spacing: .06em; color: var(--gold-bright); }   /* plain gold lettering, no emboss effect */
/* phone / tablet menu: sub-menus open as a smooth accordion under their title (one at a time), not as floating boxes */
@media (max-width: 1199px) {
  .site-header.menu-open .hitem { flex-direction: column; align-items: stretch; }
  .site-header.menu-open .hitem > .hlink { justify-content: space-between; align-items: center; height: auto; padding: 14px 6px; font-size: 15px; letter-spacing: .06em; border-bottom: 1px solid rgba(255,255,255,.12); background: none; box-shadow: none; }
  .site-header.menu-open .hitem > .hlink::after { content: ''; flex: none; width: 8px; height: 8px; margin-right: 6px; border-right: 2px solid var(--gold-bright); border-bottom: 2px solid var(--gold-bright); transform: rotate(45deg); transition: transform .3s ease; }
  .site-header.menu-open .hitem.open > .hlink { color: var(--gold-bright); border-bottom-color: color-mix(in srgb, var(--gold-bright) 55%, transparent); }
  .site-header.menu-open .hitem.open > .hlink::after { transform: rotate(-135deg); }
  .site-header.menu-open .hitem > .hdrop { position: static; display: block; opacity: 1; visibility: visible; transform: none; min-width: 0; max-height: 0; overflow: hidden; margin: 0 0 0 8px; padding: 0 0 0 12px; border: 0; border-left: 2px solid color-mix(in srgb, var(--gold-bright) 70%, transparent); background: rgba(255,255,255,.05); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; transition: max-height .4s ease; }
  .site-header.menu-open .hitem.open > .hdrop { max-height: 600px; margin-bottom: 8px; }
  .site-header.menu-open .hdrop a { padding: 12px 10px; font-size: 14px; font-weight: 700; letter-spacing: .05em; white-space: normal; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--on-dark); }
  .site-header.menu-open .hdrop li:last-child a { border-bottom: 0; }
  .site-header.menu-open .hdrop li.sub a { padding-left: 26px; font-weight: 400; font-size: 13.5px; }
  .site-header.menu-open .hdrop li.sub a::before { content: '–'; position: static; display: inline; opacity: .6; margin-right: 8px; width: auto; height: auto; background: none; transform: none; }
  .site-header.menu-open .hdrop a::after { display: none; }
  .site-header.menu-open .hdrop a:hover, .site-header.menu-open .hdrop a:active { background: rgba(255,255,255,.1); color: #fff; }
}
/* staff-only quick controls on the vehicle page (shown to signed-in staff only) */
.staff-panel { border-color: var(--gold); } .staff-panel > h3 { background: var(--navy-deep); }
.staff-panel .in { padding: 10px; font-size: 13px; }
.sp-row { display: flex; gap: 6px; } .sp-btn { display: flex; align-items: center; justify-content: center; padding: 9px 10px; border: 1px solid var(--royal); background: #fff; color: var(--royal); font-weight: 700; font-size: 13px; text-decoration: none; } .sp-btn.sp-main { flex: 1; background: var(--royal); color: #fff; } .sp-btn:hover { text-decoration: none; filter: brightness(1.1); }
.sp-lab { margin: 12px 0 5px; color: var(--text); } .sp-lab small { color: #777; font-size: 11px; }
.sp-status { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; } .sp-status form { margin: 0; } .sp-status button { width: 100%; padding: 7px 2px; font-size: 12px; border: 1px solid #c9d1e0; background: #fff; color: var(--text); cursor: pointer; } .sp-status button:hover { border-color: var(--royal); } .sp-status button:disabled { cursor: default; } .sp-status button.on { background: var(--royal); border-color: var(--royal); color: #fff; font-weight: 700; }
.sp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; } .sp-stats div { padding: 7px 4px; background: var(--soft); border: 1px solid #e1e6f0; text-align: center; } .sp-stats b { display: block; font-size: 18px; color: var(--royal); line-height: 1.2; } .sp-stats span { display: block; font-size: 10.5px; color: #666; line-height: 1.3; }
.sp-more { display: block; margin-top: 8px; text-align: right; font-size: 12px; font-weight: 700; }
/* our own confirmation dialog (staff panel) */
.cf-back { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 16px; background: rgba(6,21,41,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.cf-box { width: min(380px, 100%); padding: 22px 22px 18px; background: #fff; border-top: 4px solid var(--gold); box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.cf-msg { margin: 0 0 18px; font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--navy); }
.cf-row { display: flex; gap: 8px; justify-content: flex-end; } .cf-row button { padding: 10px 18px; font-size: 14px; font-weight: 700; cursor: pointer; border: 1px solid var(--royal); }
.cf-no { background: #fff; color: var(--royal); } .cf-yes { background: var(--royal); color: #fff; } .cf-row button:hover { filter: brightness(1.1); } .cf-row button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* equipment: only the options the vehicle has, in the same table style as the spec tables: label cell + a check mark cell, two pairs per row */
.equip-table { margin: 8px 0 14px; }
.equip-table dl { grid-template-columns: 1fr 1fr; }
.equip-table dd { justify-content: center; color: var(--gold-hover); font-weight: 900; font-size: 15px; }
.equip-table dl[title]:not([title=""]) { cursor: help; }
.equip-table .maru { width: 17px; height: 17px; display: block; }
.raiten .maru { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -.17em; margin-left: 2px; }   /* 来店予約: every day bookable */   /* the Japanese ○ (maru): drawn, so it is the same clear circle in every font */
@media (max-width: 767px) { .equip-table dl { grid-template-columns: 1fr 1fr; } }
/* tablets (768–991px): the same footer layout as phones (mobile.css) – packed 2 columns, compact text and logos */
@media (min-width: 768px) and (max-width: 991px) {
  .site-footer { padding: 14px 0 12px; margin-top: 14px; }
  .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 0 18px; align-items: start; }
  .foot-cols > div { margin-bottom: 14px; }
  .foot-cols > div:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; } .foot-cols > div:nth-child(2) { grid-column: 2; grid-row: 1; } .foot-cols > div:nth-child(3) { grid-column: 2; grid-row: 2; }
  .foot-cols > div:nth-child(4) { grid-column: 1; grid-row: 3; } .foot-cols > div:nth-child(5) { grid-column: 2; grid-row: 3; }
  .site-footer h3 { font-size: 12px; margin-bottom: 4px; padding-left: 7px; }
  .site-footer li { margin: 0 0 4px; } .site-footer li::before { content: none; } .site-footer a { font-size: 11.5px; line-height: 1.5; }
  .site-footer .copy { margin-top: 12px; font-size: 10px; }
  .foot-brands { gap: 18px 26px; margin-top: 16px; padding-top: 14px; } .foot-brands a:nth-child(1) img { height: 26px; } .foot-brands a:nth-child(2) img { height: 44px; } .foot-brands a:nth-child(3) img { height: 28px; }
  .site-footer .foot-brands + .copy { margin-top: 12px; }
}

/* detail page → 類似車両: the home page's vehicle cards; room above for their hover lift */
.similar .rail { padding-top: 8px; }

/* ------------------------------------------------------------ pull-out side menu (tablets and phones, below 1200px)
   Only a small tab shows at the right edge; tapping it slides the full menu in. Desktop keeps the always-open menu. */
.tools-tab { display: none; }
@media (max-width: 1199px) {
  /* closed: the panel takes no width at all (nothing may stick out past the right edge – iPhone Safari would zoom the
     whole page out to show it); only the tab, which hangs to the left of the panel, is visible */
  .tools { top: 34vh; right: 0; width: 0; padding: 0; border-radius: var(--r-lg) 0 0 var(--r-lg); box-shadow: none; z-index: 1030; }
  .tools > :not(.tools-tab) { display: none; }
  .tools.open { width: 70px; padding: 6px 0; box-shadow: 0 2px 14px rgba(0,0,0,.3); animation: tools-in .75s cubic-bezier(.22, .7, .2, 1); transform-origin: right center; }
  .tools.open > :not(.tools-tab) { display: block; animation: tools-items .8s ease both; } .tools.open > a:nth-child(3) { animation-delay: .08s; } .tools.open > a:nth-child(4) { animation-delay: .16s; } .tools.open > a:nth-child(5) { animation-delay: .24s; } .tools.open > a:nth-child(6) { animation-delay: .32s; }
  .tools.closing { animation: tools-out .55s ease-in forwards; }
  .tools-tab { display: flex; flex-direction: column; align-items: center; gap: 4px; position: absolute; right: 100%; top: 50%; transform: translateY(-50%); width: 26px; padding: 8px 0; border: 0; border-radius: var(--r-md) 0 0 var(--r-md); background: var(--navy-deep); color: #fff; font: inherit; font-size: 11px; line-height: 1.15; cursor: pointer; box-shadow: -2px 2px 8px rgba(0,0,0,.25); }
  .tools-tab i { font-style: normal; font-size: 16px; line-height: 1; transition: transform .25s; } .tools.open .tools-tab i { transform: rotate(180deg); }
  .tools-tab b { font-weight: 400; writing-mode: vertical-rl; letter-spacing: 1px; }
  .tools-tab .n { background: var(--red); color: #fff; border-radius: var(--r-xl); font-size: 9px; min-width: 15px; padding: 1px 3px; display: none; }
}
@keyframes tools-in { from { opacity: 0; transform: scaleX(.3); } to { opacity: 1; transform: none; } }
@keyframes tools-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: scaleX(.3); } }
@keyframes tools-items { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tools.open, .tools.open > *, .tools.closing { animation-duration: .01s !important; animation-delay: 0s !important; } }   /* grows from the right edge: never wider than the screen */
@media (prefers-reduced-motion: reduce) { .tools.open { animation: none; } .tools-tab i { transition: none; } }

.list-fallback-note { margin: 4px 0 12px; padding: 8px 12px; background: var(--soft); border-left: 3px solid var(--gold); font-size: 13px; color: #444; }   /* stock list: nothing matched, suggestions follow */

/* home -> the four features on phones and tablets: only the titles; a tap shows the text of that row (hover with a mouse: that item) */
@media (max-width: 991px) {
  .features .item { cursor: pointer; align-items: center; -webkit-tap-highlight-color: transparent; }
  .features .item h3 { margin: 0; }
  .features .item h3::after { content: '\25BE'; display: inline-block; margin-left: 5px; color: var(--gold); font-size: .95em; line-height: 1; transition: transform .2s; }
  .features .item p { display: none; margin-top: 4px; }
  .features .item.open p { display: block; }
  .features .item.open h3::after { transform: rotate(180deg); }
  .features .item:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
}
@media (max-width: 991px) and (hover: hover) { .features .wrap:hover .item.open p, .features .item:hover p { display: block; } .features .item:hover h3::after { transform: rotate(180deg); } }

/* ------------------------------------------------------------ compact home for the LINE app: /?app=line
   only the header, a filter button (the search opens as an overlay), the vehicle cards and the bottom call / LINE bar */
body.app-compact .hs-hero, body.app-compact .hs-features, body.app-compact .hs-banners, body.app-compact .hs-promo, body.app-compact .hs-types,
body.app-compact .hs-purpose, body.app-compact .hs-inspected, body.app-compact .hs-allstock, body.app-compact .hs-strength, body.app-compact .hs-service,
body.app-compact .hs-stats, body.app-compact .hs-news, body.app-compact .site-footer, body.app-compact .tools, body.app-compact .tools-tab { display: none !important; }
body.app-compact { padding-top: 76px; }
body.app-compact .site-header { background: var(--glass-streak), color-mix(in srgb, var(--navy-deep) 94%, transparent); }
.app-bar { position: sticky; top: 76px; z-index: 900; background: var(--page-bg, #fff); border-bottom: 1px solid #e2e6ec; padding: 8px 0; }
.app-bar .wrap { display: flex; align-items: center; gap: 10px; }
.app-filter-btn { flex: 1 1 100%; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border: 0; background: var(--btn-navy); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.app-filter-btn svg { width: 18px; height: 18px; }
body.app-compact .hs-search { display: none; }
/* the filter drops down under the filter bar as a panel; the vehicle cards stay visible (dimmed) below it */
body.app-compact .hs-search.open { display: block; position: fixed; left: 0; right: 0; bottom: 0; top: var(--app-top, 76px); z-index: 1100; overflow-y: auto; background: rgba(8, 25, 45, .35); padding: 0; margin: 0; }
body.app-compact .hs-search.open > .wrap { background: var(--page-bg, #fff); padding: 0 12px 12px; max-width: 640px; margin: 0 auto; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.app-filter-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 2px 8px; position: sticky; top: 0; background: inherit; z-index: 1; }
.app-filter-head b { font-size: 16px; }
.app-filter-close { border: 0; background: none; font-size: 28px; line-height: 1; padding: 0 6px; cursor: pointer; color: var(--text); }
body.app-compact .hs-search .cond-box { margin-top: 0; }
body.app-compact .hs-search:focus { outline: none; }
body.app-filter-open { overflow: hidden; }
body.app-compact .hs-latest { padding-top: 6px; }
@media (max-width: 767px) {
  body.app-compact { padding-top: 52px; --app-top: 52px; } .app-bar { top: 52px; padding: 6px 0; }
  body.app-compact .hcards > a.truck_card:nth-child(n+9) { display: block; }   /* the LINE page shows every card of the tab */
  body.app-compact .hs-search.open > .wrap { padding: 0 10px 14px; }
}

/* vehicle page heading: the automatic "maker model type year" in small text, the current title below at the normal size */
.title-car .tc-auto { display: block; font-size: .62em; font-weight: 400; color: #555; letter-spacing: .02em; margin-bottom: 2px; }
.title-car .tc-own { display: block; }

/* LINE page: the list grows while scrolling; the "see all" tile only shows once everything is loaded */
body.app-compact .hcards[data-more="1"] .more-tile { display: none; }
.more-loader { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 0 8px; color: #667; font-size: 13px; }
.more-loader .spin { width: 16px; height: 16px; border: 2px solid #c9d1dd; border-top-color: var(--royal); animation: more-spin .8s linear infinite; }
@keyframes more-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .more-loader .spin { animation: none; } }

/* favourites feedback: the button pops, a star flies to the favourites list, its counter bounces, a message slides up */
.fav-pop { animation: fav-pop .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes fav-pop { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(240,180,0,.7); } 35% { transform: scale(1.18); } 100% { transform: scale(1); box-shadow: 0 0 0 14px rgba(240,180,0,0); } }
.fav-fly { position: fixed; z-index: 3000; pointer-events: none; font-size: 26px; line-height: 1; color: #f5b400; text-shadow: 0 0 10px rgba(255,200,0,.9), 0 2px 4px rgba(0,0,0,.3); }
.fav-hit { animation: fav-hit .8s ease-out; }
@keyframes fav-hit { 0% { box-shadow: 0 0 0 0 rgba(245,180,0,.9); background-color: #fff3c4; } 100% { box-shadow: 0 0 0 16px rgba(245,180,0,0); } }
.fav-bump { animation: fav-bump .6s cubic-bezier(.3,1.8,.5,1); }
@keyframes fav-bump { 0% { transform: scale(1); } 40% { transform: scale(1.6); } 100% { transform: scale(1); } }
.fav-toast { position: fixed; left: 50%; bottom: 24px; z-index: 3001; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 24px); white-space: nowrap; padding: 11px 16px; background: var(--navy-deep); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.3); border-left: 4px solid #f5b400;
  transform: translate(-50%, 140%); opacity: 0; transition: transform .35s cubic-bezier(.2,1.2,.4,1), opacity .25s; pointer-events: none; }
.fav-toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.fav-toast.off { border-left-color: #8a94a8; font-weight: 400; }
.fav-toast .st { color: #f5b400; font-size: 18px; }
.fav-toast a { color: #ffd34d; font-weight: 700; white-space: nowrap; margin-left: 4px; }
@media (max-width: 767px) { .fav-toast { bottom: calc(76px + env(safe-area-inset-bottom)); font-size: 13px; gap: 8px; padding: 10px 14px; } }   /* above the bottom call / LINE bar */
@media (prefers-reduced-motion: reduce) { .fav-pop, .fav-hit, .fav-bump { animation: none; } .fav-toast { transition: none; } }

/* home: the 8 purpose filters are the tabs of the vehicle list – the glass style of the purpose buttons, two rows of four; the open one has a gold edge */
.tabs.tabs-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.tabs.tabs-8 button { display: flex; align-items: center; justify-content: center; height: 44px; padding: 0 6px; font-size: 1rem; line-height: 1.3; letter-spacing: .06em; border-radius: var(--r-lg); position: relative; overflow: hidden; --gl: var(--royal); --gla: 84%; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.45);
  background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--gl) var(--gla), transparent);
  border: 1px solid var(--glass-rim); border-top-color: rgba(255,255,255,.64); border-bottom-color: color-mix(in srgb, var(--gold-bright) 60%, transparent);
  box-shadow: 0 8px 18px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -10px 18px rgba(0,0,0,.1);
  -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%); transition: all .25s ease; white-space: nowrap; }
.tabs.tabs-8 button br { display: none; }
.tabs.tabs-8 button:hover:not([aria-selected="true"]) { --gl: var(--royal-2); --gla: 90%; color: #fff; transform: translateY(-3px); background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--gl) var(--gla), transparent);
  box-shadow: 0 10px 22px rgba(0,0,0,.3), 0 0 14px color-mix(in srgb, var(--gold-bright) 45%, transparent), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -10px 18px rgba(0,0,0,.08); }
.tabs.tabs-8 button[aria-selected="true"] { --gl: var(--royal-3); --gla: 96%; color: var(--gold-bright); border-color: var(--gold-bright); box-shadow: 0 0 0 1px var(--gold-bright), 0 8px 18px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.4); background: var(--glass-streak), var(--glass-gloss), color-mix(in srgb, var(--gl) var(--gla), transparent); }
.tabs.tabs-8 button::before { content: ''; position: absolute; top: -10%; bottom: -10%; left: -70%; width: 42%; z-index: 2; pointer-events: none; opacity: 0; transform: skewX(-22deg); background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 30%, rgba(255,255,255,.7) 50%, rgba(255,255,255,.18) 70%, rgba(255,255,255,0) 100%); }
@media (hover: hover) { .tabs.tabs-8 button:hover::before { animation: glass-sweep .8s ease-out 1; } }
@media (prefers-reduced-motion: reduce) { .tabs.tabs-8 button::before { animation: none !important; } }
*, *::before, *::after { border-radius: 0 !important; }
