/* Static product pages of the IDA website (V3-007); colours follow the site (logo blue/orange). */
:root {
  --blue: #2f317c; --orange: #ea8519; --ink: #252761; --text: #454773; --muted: #696b8b;
  --line: #ddddec; --soft: #f6f6fa; --error: #b42318;
  color: var(--ink); background: #fff;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }

/* Header: same rules as the homepage (IDAWebsite src/styles.css), links instead of buttons */
.site-header { height: 81px; background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.header-inner { height: 100%; display: flex; align-items: center; padding: 0 0 0 46px; gap: 18px; }
.brand-button { width: min(38vw, 390px); flex: 0 1 auto; text-decoration: none; }
.ida-lockup { width: 100%; display: flex; align-items: center; gap: 13px; text-align: left; }
.ida-logo-mark { display: block; position: relative; width: 83px; height: 64px; flex: 0 0 auto; overflow: hidden; }
.ida-logo-source { position: absolute; left: -64.502%; top: -48.770%; width: 226.876%; height: auto; max-width: none; }
.ida-lockup__copy { min-width: 0; display: flex; flex-direction: column; color: var(--muted); line-height: 1; }
.ida-lockup__copy strong { color: var(--blue); font-size: 17px; font-weight: 700; white-space: nowrap; }
.ida-lockup__copy > span { margin-top: 6px; font-size: 10px; font-weight: 500; white-space: nowrap; }
.desktop-nav { display: flex; align-self: stretch; margin-left: auto; }
.desktop-nav a { position: relative; display: flex; align-items: center; padding: 0 11px; font-size: 11px; font-weight: 600; white-space: nowrap; text-decoration: none; color: var(--ink); }
.desktop-nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 17px; height: 2px; background: transparent; }
.desktop-nav a:hover { color: var(--blue); }
.language-switch { display: flex; gap: 0; border-left: 1px solid var(--line); }
.language-switch span { padding: 4px 7px; font-size: 10px; color: var(--muted); }
.language-switch span + span { border-left: 1px solid var(--line); }
.language-switch span.is-active { color: var(--blue); font-weight: 700; }
.header-quote { width: 126px; flex: 0 0 126px; height: 38px; padding: 0 8px; display: flex; align-items: center; justify-content: center; gap: 5px; background: var(--orange); color: #fff; font-weight: 600; font-size: 10px; text-decoration: none; }
.header-quote:hover, .header-quote:focus-visible { background: var(--blue); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav { display: none; }

.product-page { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 4vw, 56px);
  padding: 36px clamp(16px, 4vw, 64px) 56px; align-items: start; }
.product-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; }
.product-image { width: 220px; height: 165px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); }
.product-brand { display: block; margin: 0 0 6px; color: var(--orange); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; line-height: 1.2; }
h1 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; color: var(--blue); overflow-wrap: anywhere; }
.product-name { margin: 8px 0 0; font-size: 20px; color: var(--text); overflow-wrap: anywhere; }
.product-ids { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 16px 0 0; font-size: 14px; }
.product-ids dt { color: var(--muted); }
.product-ids dd { margin: 0; font-weight: 700; color: var(--ink); }
.jump-inquiry { display: none; margin-top: 16px; padding: 10px 18px; border-radius: 4px; background: var(--orange); color: #fff; font-weight: 700; text-decoration: none; }
.jump-inquiry:hover, .jump-inquiry:focus-visible { background: var(--blue); }
.product-description { margin: 28px 0 0; font-size: 17px; line-height: 1.55; color: var(--text); }
.product-params h2 { margin: 32px 0 10px; font-size: 22px; color: var(--blue); }
.product-params table { width: 100%; border-collapse: collapse; font-size: 15px; }
.product-params th, .product-params td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.product-params th { width: 40%; font-weight: 600; color: var(--muted); background: var(--soft); }
.product-variants { margin: 24px 0 0; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.product-variants span { font-weight: 600; }
.product-note { margin: 20px 0 0; font-size: 12px; color: var(--muted); }

.inquiry { position: sticky; top: 16px; border: 1px solid var(--line); border-top: 4px solid var(--orange);
  border-radius: 6px; padding: 22px; background: #fff; box-shadow: 0 6px 22px rgba(47, 49, 124, .08); }
.inquiry h2 { margin: 0; font-size: 24px; color: var(--blue); }
.inquiry-lead { margin: 4px 0 16px; color: var(--muted); font-size: 14px; }
.inquiry-form { display: grid; gap: 12px; }
.inquiry-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; color: var(--text); }
.inquiry-form input, .inquiry-form textarea { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line);
  border-radius: 4px; background: #fff; font-weight: 400; color: var(--ink); }
.inquiry-form input:focus, .inquiry-form textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.inquiry-form [aria-invalid="true"] { border-color: var(--error); }
.req { color: var(--orange); }
.inquiry-lines { border: 0; margin: 0; padding: 0; min-width: 0; }
.inquiry-lines legend { padding: 0; margin-bottom: 4px; font-size: 14px; font-weight: 600; color: var(--text); }
.line-head, .line { display: grid; grid-template-columns: 1fr 1.25fr 64px 32px; gap: 6px; align-items: center; }
.line-head { font-size: 12px; color: var(--muted); }
.line { margin-top: 6px; }
.line input { min-height: 36px; padding: 6px 8px; font-size: 14px; }
.remove-line { width: 32px; height: 36px; border: 1px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; color: var(--muted); }
.remove-line:hover { color: var(--error); border-color: var(--error); }
.add-line { margin-top: 8px; border: 0; background: none; padding: 4px 0; color: var(--blue); font-weight: 700; cursor: pointer; }
.add-line:hover { color: var(--orange); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inquiry-form .consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 13px; }
.consent input { width: 18px; min-height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--orange); }
.form-error { margin: 0; color: var(--error); font-size: 14px; }
.submit { min-height: 46px; border: 0; border-radius: 4px; background: var(--orange); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; }
.submit:hover, .submit:focus-visible { background: var(--blue); }
.submit:disabled { opacity: .6; cursor: wait; }
.inquiry-done h3 { margin: 8px 0 4px; color: var(--blue); }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 18px clamp(16px, 4vw, 64px);
  border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--orange); }

@media (max-width: 1120px) {
  .header-inner { gap: 10px; }
  .brand-button { width: 370px; }
  .desktop-nav a { padding-inline: 7px; font-size: 10px; }
  .desktop-nav a::after { left: 7px; right: 7px; }
}
@media (max-width: 900px) {
  .site-header { height: 80px; }
  .header-inner { padding: 0 18px; }
  .brand-button { width: min(78vw, 350px); }
  .site-header .ida-logo-mark { width: 71px; height: 55px; }
  .site-header .ida-lockup__copy strong { font-size: 15px; }
  .site-header .ida-lockup__copy > span { font-size: 9px; }
  .desktop-nav, .language-switch, .header-quote { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .mobile-nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; grid-template-rows: repeat(8, 0fr); overflow: hidden; background: #fff; box-shadow: 0 14px 30px rgba(47, 49, 124, .16); transition: grid-template-rows .22s ease; }
  .mobile-nav.is-open { grid-template-rows: repeat(8, 1fr); padding: 10px 18px 18px; }
  .mobile-nav a { min-height: 0; overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 6px; font-weight: 600; text-decoration: none; color: var(--ink); }
  .mobile-nav.is-open a { min-height: 48px; }
  .mobile-nav .mobile-quote { justify-content: center; gap: 9px; background: var(--orange); color: #fff; border: 0; margin-top: 10px; }
  .mobile-nav .mobile-quote:hover, .mobile-nav .mobile-quote:focus-visible { background: var(--blue); }
}
@media (max-width: 960px) {
  .product-page { grid-template-columns: minmax(0, 1fr); }
  .inquiry { position: static; }
  .jump-inquiry { display: inline-block; }
}
@media (max-width: 640px) {
  .header-inner { padding-inline: 14px; }
  .site-header { height: 77px; }
  .brand-button { width: min(78vw, 300px); }
  .site-header .ida-lockup { gap: 9px; }
  .site-header .ida-logo-mark { width: 62px; height: 48px; }
  .site-header .ida-lockup__copy strong { font-size: 14px; }
  .site-header .ida-lockup__copy > span { margin-top: 5px; font-size: 8px; }
  .product-head { grid-template-columns: minmax(0, 1fr); }
  .product-image { width: 100%; height: 150px; }
  .product-params th { width: 45%; }
  .inquiry { padding: 18px 14px; }
}
