/* TVO online order forms */
@font-face {
  font-family: "TVO Fira Sans";
  src: url("/fonts/FiraSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
#enquiry.tvo-checkout {
  --ink: #362820;
  --muted: #63594f;
  --brown: #523626;
  --gold: #eab337;
  --line: #dddad2;
  --paper: #f7f5f0;
  box-sizing: border-box;
  color: var(--ink);
  background: white;
  margin: 28px 0 32px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  font: 16px/1.48 "TVO Fira Sans", "Segoe UI", Arial, sans-serif;
  text-align: left;
  scroll-margin-top: 18px;
}
#enquiry.tvo-checkout *, #enquiry.tvo-checkout *::before, #enquiry.tvo-checkout *::after { box-sizing: border-box; }
#enquiry.tvo-checkout [hidden] { display: none !important; }
#enquiry.tvo-checkout :is(h2,h3,legend) {
  margin: 0;
  padding: 0;
  font: 500 clamp(24px,2.3vw,32px)/1.16 Georgia, serif;
  text-align: left;
  color: var(--ink);
  text-transform: none;
  letter-spacing: -.025em;
}
#enquiry.tvo-checkout a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
#enquiry.tvo-checkout :focus-visible, .tvo-map-link:focus-visible { outline: 3px solid #926112; outline-offset: 3px; }
#enquiry .tvo-order-nav { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 22px; border-bottom: 1px solid var(--line); }
#enquiry .tvo-order-nav a {
  margin-bottom: -1px;
  padding: 10px 1px 12px;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
#enquiry .tvo-order-nav a[aria-current] { border-color: #ac751c; color: var(--brown); font-weight: 700; }
#enquiry .tvo-order-nav a:hover, #enquiry .tvo-formtop a:hover { color: #805813; text-decoration: underline; }
#enquiry .tvo-formtop { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 26px 0 18px; }
#enquiry .tvo-formtop h2 { font-size: clamp(30px,3.2vw,43px); }
#enquiry .tvo-formtop a { font-size: 15px; }
#enquiry.tvo-checkout form { margin: 0; }
#enquiry .tvo-selection { display: grid; grid-template-columns: minmax(0,1fr) minmax(238px,31%); align-items: start; gap: clamp(20px,3vw,42px); }
#enquiry .tvo-offers { display: grid; grid-template-columns: minmax(0,1fr); }
#enquiry .tvo-offer { min-width: 0; border-bottom: 1px solid var(--line); background: #fff; padding: 13px 14px 14px; }
#enquiry .tvo-offer:first-child { border-top: 1px solid var(--line); }
#enquiry .tvo-offer:has(input:checked) { background: #f7f0de; box-shadow: inset 3px 0 #a4711e; }
#enquiry .tvo-offer:not(:has(input:checked)):hover { background: #faf9f6; }
#enquiry .tvo-offer-line {
  display: grid; grid-template-columns: 20px minmax(0,1fr) auto; align-items: baseline;
  gap: 8px 12px; margin: 0; color: var(--ink); font-size: 16px; line-height: 1.38;
  cursor: pointer; font-weight: 600; overflow-wrap: anywhere;
}
#enquiry.tvo-checkout :is(input[type=checkbox],input[type=radio]) {
  width: 18px; height: 18px; flex-shrink: 0; accent-color: #6b462b; margin: 0; vertical-align: middle; cursor: pointer;
}
#enquiry .tvo-offer-line input { align-self: start; margin-top: 2px; }
#enquiry .tvo-offer-line b { white-space: nowrap; color: #523626; font-variant-numeric: tabular-nums; }
#enquiry .tvo-renewal, #enquiry .tvo-service-details { display: block; margin: 5px 0 0 32px; color: var(--muted); font-size: 14px; line-height: 1.45; }
#enquiry .tvo-service-details summary, #enquiry .tvo-extras > summary { display: list-item; cursor: pointer; color: var(--brown); }
#enquiry .tvo-service-details summary { width: fit-content; font-size: 14px; }
#enquiry .tvo-service-details p { color: var(--ink); margin: 7px 0 0; font-size: 15px; }
#enquiry .tvo-extras { margin-top: 12px; }
#enquiry .tvo-extras > summary { padding: 9px 0; font-weight: 600; }
#enquiry .tvo-recap {
  min-width: 0; align-self: start; background: #3d2c22; border-top: 4px solid var(--gold);
  padding: 22px clamp(16px,2vw,25px) 24px; color: #fff9ee;
}
#enquiry .tvo-recap h3 { color: white; font-size: 25px; margin: 0 0 16px; }
#enquiry .tvo-recap [data-lines] { color: #efe4d7; font-size: 15px; line-height: 1.48; overflow-wrap: anywhere; }
#enquiry .tvo-recap p {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin: 0; padding: 7px 0; font: inherit; color: inherit; text-align: left;
}
#enquiry .tvo-recap b { color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
#enquiry .tvo-recap .tvo-sum { border-top: 1px solid #8b7967; margin-top: 9px; padding-top: 13px; font-size: 17px; font-weight: 600; }
#enquiry.tvo-checkout fieldset { min-width: 0; margin: 32px 0 0; border: 0; padding: 0; }
#enquiry.tvo-checkout legend { display: block; width: 100%; border: 0; padding: 20px 0 14px; border-top: 1px solid var(--line); }
#enquiry .tvo-grid, #enquiry .tvo-docs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 22px; margin: 16px 0; }
#enquiry.tvo-checkout label { text-align: left; }
#enquiry :is(.tvo-grid,.tvo-docs)>label, #enquiry .tvo-checkout-profile label {
  min-width: 0; display: block; margin: 0; font: 600 15px/1.45 "TVO Fira Sans","Segoe UI",Arial,sans-serif; color: var(--ink);
}
#enquiry.tvo-checkout :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {
  display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 46px;
  margin: 6px 0 0; padding: 10px 12px; border: 1px solid #bcb5a9; border-radius: 4px;
  background-color: white; color: var(--ink); font: 400 16px/1.4 "TVO Fira Sans","Segoe UI",Arial,sans-serif;
}
#enquiry.tvo-checkout input:read-only { background-color: var(--paper); }
#enquiry .tvo-choices { display: inline-flex; flex-wrap: wrap; gap: 5px; background: #f2f0e9; padding: 4px; border-radius: 5px; }
#enquiry .tvo-choices label {
  display: inline-flex; gap: 8px; align-items: center; margin: 0; padding: 6px 13px;
  border: 1px solid transparent; border-radius: 3px; font-weight: 500; cursor: pointer;
}
#enquiry .tvo-choices label:has(:checked) { background: white; border-color: #bdb4a4; }
#enquiry .tvo-docs { margin-top: 24px; }
#enquiry .tvo-docs small { display: block; color: var(--muted); margin: 4px 0; font-size: 13px; font-weight: 400; }
#enquiry.tvo-checkout input[type=file] { background: var(--paper); border: 1px dashed #aa9e8c; padding: 10px; }
#enquiry input::file-selector-button { border: 1px solid #c5baa7; background: white; color: var(--brown); padding: 5px 10px; border-radius: 3px; cursor: pointer; }
#enquiry .tvo-label-sample { width: fit-content; max-width: 100%; padding: 20px 26px; margin: 16px 0; border: 1px solid var(--line); border-left: 4px solid var(--gold); background: var(--paper); line-height: 1.5; overflow-wrap: anywhere; }
#enquiry .tvo-label-sample small { color: var(--muted); }
#enquiry .tvo-label-sample strong { color: var(--brown); font-size: 20px; }
#enquiry .tvo-place-order { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--paper); padding: 20px; margin-top: 24px; }
#enquiry .tvo-consent label { display: flex; align-items: start; gap: 10px; margin: 0; font-weight: 600; }
#enquiry .tvo-consent input { margin-top: 2px; }
#enquiry .tvo-consent small { display: block; margin: 6px 0 0 28px; color: var(--muted); font-size: 13px; }
#enquiry.tvo-checkout .tvo-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 46px; padding: 11px 22px;
  background: var(--brown); color: white; border: 1px solid var(--brown); border-radius: 4px; text-decoration: none; line-height: 1.3; font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
}
#enquiry.tvo-checkout .tvo-cta:hover { background: #332319; }
#enquiry .tvo-problem { border-left: 3px solid #973e2c; padding: 12px 16px; color: #60291a; background: #fff2eb; }
#enquiry.tvo-checkout:has(>h2) { padding: 28px; background: var(--paper); border-top: 3px solid var(--gold); }
#enquiry.tvo-checkout:has(>h2) p { margin: 13px 0; max-width: 65ch; }
#map:has(.tvo-map-link) { height: auto; filter: none; text-align: center; }
#map .tvo-map-link { display: inline-block; padding: 13px 20px; margin-bottom: 10px; color: #513524; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 761px) and (min-height: 600px) {
  #enquiry .tvo-recap { position: sticky; top: 18px; }
}
@media (max-width: 760px) {
  #enquiry .tvo-selection { grid-template-columns: minmax(0,1fr); gap: 18px; }
  #enquiry .tvo-recap { padding: 16px 18px; }
  #enquiry .tvo-recap h3 { margin-bottom: 8px; }
}
@media (max-width: 580px) {
  #enquiry.tvo-checkout { margin: 16px 0 24px; }
  #enquiry .tvo-formtop { flex-wrap: wrap; gap: 6px 12px; margin: 19px 0 15px; }
  #enquiry .tvo-grid, #enquiry .tvo-docs { grid-template-columns: minmax(0,1fr); }
  #enquiry .tvo-offer { padding: 11px 8px; }
  #enquiry .tvo-offer-line { gap: 5px 8px; font-size: 15px; }
  #enquiry .tvo-renewal, #enquiry .tvo-service-details { margin-left: 28px; }
  #enquiry .tvo-place-order { flex-direction: column; align-items: stretch; padding: 16px 12px; }
  #enquiry .tvo-cta { width: 100%; }
}

#enquiry .tvo-address-guides:not(:empty) { margin:22px 0; border-block:1px solid var(--line); }
#enquiry .tvo-address-guide { padding:0 14px 0 16px; background:var(--paper); }
#enquiry .tvo-address-guide + .tvo-address-guide { border-top:1px solid var(--line); }
#enquiry .tvo-address-guide summary { display:list-item; cursor:pointer; color:var(--brown); font-weight:600; padding:12px 0; }
#enquiry .tvo-address-guide[open] { border-left:3px solid #bd8b32; padding:0 14px 12px 13px; }
#enquiry .tvo-address-guide p { max-width:78ch; text-align:start; font:inherit; color:var(--ink); margin:0 0 8px; }
#enquiry .tvo-address-guide p:last-child { margin-bottom:0; }
#enquiry .tvo-field { min-width:0; }
#enquiry .tvo-field > label { display:block; margin:0; font:600 15px/1.45 "TVO Fira Sans","Segoe UI",Arial,sans-serif; }
#enquiry :is(.tvo-country-wrap,.tvo-calendar-wrap,.tvo-phone-row) { position:relative; min-width:0; margin-top:6px; }
#enquiry.tvo-checkout .tvo-field :is(input,select) { margin-top:0; }
#enquiry .tvo-phone-row { display:grid; grid-template-columns:minmax(88px, min(35%,120px)) minmax(0,1fr); }
#enquiry.tvo-checkout #tvo-phone { border-radius:0 4px 4px 0; }
#enquiry .tvo-dial-control { border:1px solid #bcb5a9; border-right:0; color:var(--brown); background:#f7f5f0; font:inherit; }
#enquiry.tvo-checkout .tvo-dial-panel .tvo-dial-search { min-height:40px; margin:0 0 6px; }
#enquiry .tvo-country-flag { position:absolute; top:50%; left:12px; transform:translateY(-50%); pointer-events:none; }
#enquiry.tvo-checkout .tvo-country-search { padding-right:34px; }
#enquiry.tvo-checkout .tvo-country-wrap:has(.tvo-country-flag:not([hidden])) .tvo-country-search { padding-left:46px; }
#enquiry .tvo-country-arrow { pointer-events:none; position:absolute; right:16px; top:calc(50% - 5px); width:8px; height:8px; border-bottom:1.5px solid var(--brown); border-right:1.5px solid var(--brown); transform:rotate(45deg); }
#enquiry :is(.tvo-country-options,.tvo-date-panel) {
  position:absolute; top:calc(100% + 4px); left:0; z-index:50; background:#fff;
  color:var(--ink); border:1px solid #b6aa98; border-radius:5px; box-shadow:0 5px 18px #37271626;
}
#enquiry :is(.tvo-country-options,.tvo-date-panel).opens-above { top:auto; bottom:calc(100% + 4px); }
#enquiry .tvo-country-options { width:100%; max-height:min(252px,40vh); overflow:auto; overscroll-behavior:contain; padding:4px; }
#enquiry .tvo-country-option { display:grid; grid-template-columns:24px minmax(0,1fr) auto; gap:10px; align-items:center; padding:7px 9px; min-height:38px; line-height:1.3; cursor:pointer; border-radius:2px; }
#enquiry .tvo-country-option[aria-selected=true] { font-weight:600; }
#enquiry .tvo-country-option:is(:hover,.is-active) { background:#f7ecd6; }
#enquiry .tvo-country-option small { color:var(--muted); }
#enquiry .tvo-country-empty { padding:10px; }
#enquiry .tvo-date-toggle { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; min-height:46px; padding:10px 13px; border:1px solid #bcb5a9; border-radius:4px; background:white; color:var(--ink); font:inherit; cursor:pointer; text-align:start; }
#enquiry .tvo-date-toggle.is-empty { color:var(--muted); }
#enquiry .tvo-calendar-icon { position:relative; width:16px; height:16px; flex:none; border:1.5px solid var(--brown); border-radius:3px; background:linear-gradient(transparent 4px,var(--brown) 4px,var(--brown) 5px,transparent 5px); }
#enquiry .tvo-calendar-icon::before, #enquiry .tvo-calendar-icon::after { content:""; position:absolute; width:2px; height:4px; border-radius:1px; top:-3px; background:var(--brown); }
#enquiry .tvo-calendar-icon::before { left:3px; } #enquiry .tvo-calendar-icon::after { right:3px; }
#enquiry .tvo-date-panel { width:min(100%,340px); padding:12px; }
#enquiry .tvo-date-header, #enquiry .tvo-date-footer { display:flex; justify-content:space-between; align-items:center; gap:6px; }
#enquiry .tvo-date-header strong { color:var(--brown); font:500 19px/1.2 Georgia,serif; text-align:center; }
#enquiry .tvo-date-panel button { border:1px solid transparent; background:white; border-radius:3px; color:var(--ink); font:inherit; cursor:pointer; min-width:0; margin:0; padding:0; }
#enquiry .tvo-date-header button { background:var(--paper); width:36px; height:36px; color:var(--brown); font:24px/1 Georgia,serif; }
#enquiry .tvo-date-grid, #enquiry .tvo-date-week { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:1px; text-align:center; }
#enquiry .tvo-date-week { font-size:12px; font-weight:600; color:var(--muted); margin:10px 0 4px; }
#enquiry .tvo-date-panel .tvo-day { min-height:34px; font-size:15px; font-variant-numeric:tabular-nums; }
#enquiry .tvo-date-panel .tvo-day[aria-current=date] { border-color:#b78839; }
#enquiry .tvo-date-panel button:hover { background:#f7ecd6; }
#enquiry .tvo-date-panel .tvo-day[aria-pressed=true] { background:var(--brown); color:white; }
#enquiry .tvo-date-footer { border-top:1px solid var(--line); margin-top:8px; padding-top:6px; }
#enquiry .tvo-date-footer button { min-height:32px; color:var(--brown); text-decoration:underline; text-underline-offset:3px; padding:3px 6px; font-size:14px; }
#enquiry :is(.tvo-date-toggle,.tvo-date-panel button,.tvo-dial-control):focus-visible { outline:2px solid #986d1b; outline-offset:1px; }

#enquiry .tvo-pair-offer { margin: 0 0 18px; padding: 12px 16px; background: #f6f2ec; border-left: 3px solid #785638; color: #392a20; line-height: 1.5; }
#enquiry .tvo-pair-offer strong { font-weight: 700; }
#enquiry .tvo-recap del { font-weight: normal; }

#enquiry [data-address-price].tvo-discounted [data-list-price] { text-decoration: line-through; color: #6f665d; font-size: .85em; font-weight: 400; }
#enquiry [data-address-price] [data-net-price]:not([hidden]) { display: block; font-weight: 700; }
#enquiry [data-address-price] [hidden] { display: none; }
#enquiry .tvo-recap .tvo-pair-savings { border-top: 1px solid #8b7967; padding-top: 8px; }
