[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Opening status and the visible schedule share Lisbon time. */
.shop-status-strip { background: var(--ink); color: #eeeee8; }
.shop-status-strip > .wrap { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 6px; }
.shop-status { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; line-height: 1.5; }
.shop-status-strip a:hover .status-text { text-decoration: underline; text-underline-offset: 3px; }
.status-dot { width: 6px; height: 6px; background: #a2a59d; border-radius: 50%; flex: 0 0 6px; }
[data-state="open"] .status-dot { background: #a6ce8b; box-shadow: 0 0 0 3px #a6ce8b15; }
[data-state="holiday"] .status-dot { background: var(--orange); }
.status-place { font-size: 10px; letter-spacing: 1.7px; color: #a1a69c; white-space: nowrap; }
.opening-hours { scroll-margin-top: 110px; }
.contact-item .shop-status { display: inline-flex; font-size: 13px; margin: 3px 0 10px; }
.opening-hours table { border-collapse: collapse; width: 100%; max-width: 375px; font-size: 14px; }
.opening-hours th, .opening-hours td { padding: 9px 0; vertical-align: top; border-bottom: 1px solid #ffffff16; font-weight: 400; }
.opening-hours th { text-align: left; padding-right: 12px; color: #b9c1b4; }
.opening-hours td { text-align: right; font-variant-numeric: tabular-nums; }
.opening-hours .is-today th, .opening-hours .is-today td { color: #fff; font-weight: 600; }
.contact-item .hours-note { font-size: 12px; margin-top: 10px; color: #a2ab9e; }

/* Symptom guides extend the existing service cards. */
.symptom-guide { margin-top: 52px; scroll-margin-top: 115px; }
.symptom-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 22px; }
.symptom-heading .eyebrow { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 10px; }
.symptom-heading h3 { font: 600 34px/1.1 var(--display); margin-bottom: 0; }
.symptom-heading > p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.symptom-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 35px; align-items: start; }
.symptom { border-top: 1px solid #cbd0c5; }
.symptom:nth-last-child(-n+2) { border-bottom: 1px solid #cbd0c5; }
.symptom summary { list-style: none; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 17px 20px; align-items: center; padding: 20px 0; cursor: pointer; }
.symptom summary::-webkit-details-marker { display: none; }
.symptom summary small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; color: var(--orange-dark); margin-bottom: 5px; }
.symptom summary strong { font-size: 16px; font-weight: 600; line-height: 1.4; display: block; }
.symptom-plus { font-size: 25px; line-height: 1; font-weight: 400; color: var(--orange-dark); flex-shrink: 0; }
.symptom[open] .symptom-plus { transform: rotate(45deg); }
.symptom-body { padding: 0 30px 23px 0; }
.symptom-body p { font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 13px; }
.symptom-body .text-button { font-size: 14px; text-align: left; }
.symptom-visual { display: block; grid-column: 1 / -1; padding: 8px 16px 14px; background: #eceee8; }
.symptom-diagram { display: block; width: 100%; height: auto; max-height: 135px; fill: none; stroke: none; stroke-linecap: round; stroke-linejoin: round; }
.symptom-diagram .diagram-guide { fill: none; stroke: #b3b9ad; stroke-width: 1.2; stroke-dasharray: 4 6; }
.symptom-diagram .diagram-fill { fill: var(--ink); stroke: none; }
.symptom-diagram .diagram-alert-fill { fill: var(--orange); stroke: none; }
.symptom-diagram .diagram-ink { fill: none; stroke: var(--ink); stroke-width: 2.8; }
.symptom-diagram .diagram-accent { fill: none; stroke: var(--orange-dark); stroke-width: 2.8; }
.symptom-diagram .diagram-depth { fill: none; stroke: var(--orange-dark); stroke-width: 1.7; }
.symptom-diagram .diagram-tread { fill: none; stroke: #eceee8; stroke-width: 1.5; }
.symptom-diagram .diagram-tyre { fill: none; stroke: var(--ink); stroke-width: 22; }
.diagram-labels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: center; font-size: 13px; color: #555c51; line-height: 1.4; }

/* Tyre-specific extension of the existing quote dialog. */
.quote-dialog.is-tyres { max-width: 890px; }
.is-tyres #quote-form { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 30px; align-items: start; }
.quote-inputs { min-width: 0; }
.quote-inputs > label:first-child { margin-top: 0; }
.tyre-fields { padding: 0; margin: 18px 0 0; border: 0; min-width: 0; }
.tyre-decoder { padding: 19px 18px 15px; background: var(--ink); color: #fff; }
.decoder-top { display: flex; justify-content: space-between; gap: 15px; font-size: 9px; letter-spacing: 1px; color: #b3b7ae; }
.decoder-top > span:first-child { color: #ff9b78; }
.size-readout { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-top: 10px; font: 600 54px/1.15 var(--display); }
.size-readout button { border: 0; border-bottom: 2px solid transparent; padding: 0 5px 2px; color: #f5f5f1; background: none; font: inherit; min-width: 1ch; transition: color .15s,border-color .15s; }
.size-readout button[aria-pressed="true"] { color: var(--orange); border-bottom-color: var(--orange); }
.size-readout button:hover { color: #ff9873; }
.size-readout > span { color: #82877d; }
.size-readout .radial-mark { font-size: 35px; margin-left: 5px; margin-right: -5px; }
#dimension-help { font-size: 12px; color: #bfc5b9; line-height: 1.5; margin: 12px 0 0; min-height: 36px; }
.tyre-size-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.tyre-size-fields label { font-size: 13px; white-space: nowrap; }
.tyre-size-fields label span { font-size: 11px; }
.quote-dialog .tyre-size-fields select { padding-inline: 8px; font-size: 14px; }
.tyre-size-note { font-size: 12px; color: var(--muted); margin: 9px 0 0; line-height: 1.5; }
.quote-dialog .tyre-quantity, .quote-dialog .tyre-extras { border: 0; min-width: 0; padding: 0; margin: 19px 0 0; }
.tyre-quantity legend, .tyre-extras legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.tyre-extras legend span { font-weight: 400; color: var(--muted); }
.quantity-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) minmax(0,1.7fr); gap: 6px; }
.quote-dialog .quantity-options label { position: relative; margin: 0; cursor: pointer; }
.quantity-options input { position: absolute; opacity: 0; width: 1px !important; height: 1px; padding: 0 !important; }
.quantity-options span { min-height: 45px; border: 1px solid #bfc5b8; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 16px; background: white; }
.quantity-options small { font-size: 9px; line-height: 1.1; font-weight: 400; max-width: 36px; }
.quantity-options input:checked + span { color: var(--ink); border-color: var(--orange); background: var(--orange); }
.quantity-options input:focus-visible + span { outline: 2px solid var(--orange-dark); outline-offset: 3px; }
.tyre-extras > div { display: flex; gap: 18px; flex-wrap: wrap; }
.quote-dialog .tyre-extras label { display: flex; align-items: center; gap: 7px; font-size: 13px; margin: 0; font-weight: 400; cursor: pointer; }
.quote-dialog .tyre-extras input { width: 16px; height: 16px; accent-color: var(--orange); padding: 0; margin: 0; }
.quote-summary { margin-top: 20px; min-width: 0; }
.is-tyres .quote-summary { margin-top: 0; align-self: stretch; }
.quote-summary-inner { padding: 22px; background: #e9ebe4; }
.is-tyres .quote-summary-inner { position: sticky; top: 0; }
.quote-preview-label { font-size: 10px; font-weight: 700; letter-spacing: 1.3px; margin-bottom: 17px; }
.quote-preview { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.size-availability { border-top: 1px solid #cdd1c7; padding-top: 14px; font-size: 12px; line-height: 1.5; color: var(--muted); margin-bottom: 0; }
.quote-dialog .quote-summary .button { margin-top: 20px; }
.copy-request { display: block; width: 100%; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; padding: 14px 5px 0; font-weight: 600; font-size: 13px; color: var(--ink); }
.copy-status { font-size: 12px; text-align: center; margin: 6px 0 0; min-height: 0; }
.copy-status:empty { display: none; }
.quote-dialog .copy-fallback { min-height: 150px; margin-top: 12px; font-size: 13px; }
.quote-summary .form-note { font-size: 12px; }
.quote-feedback { padding: 12px 0 0; margin-bottom: 0; background: transparent; }

@media (max-width:800px) {
  .symptom-grid { gap: 0 25px; }
  .symptom summary strong { font-size: 15px; }
  .quote-dialog.is-tyres { max-width: 700px; }
  .is-tyres #quote-form { gap: 22px; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); }
  .is-tyres .dialog-inner { padding: 30px 25px; }
  .tyre-decoder { padding-inline: 13px; }
  .decoder-top { font-size: 8px; gap: 8px; }
  .quote-summary-inner { padding: 18px; }
}
@media (max-width:650px) {
  .is-tyres #quote-form { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .quote-dialog.is-tyres { max-width: 460px; }
  .is-tyres .quote-summary-inner { position: static; }
  .is-tyres .dialog-inner { padding: 30px 23px; }
  .decoder-top { font-size: 9px; }
  .symptom-heading { align-items: start; flex-direction: column; gap: 12px; }
  .symptom-heading > p br { display: none; }
  .symptom-heading h3 { font-size: 32px; }
}
@media (max-width:540px) {
  .shop-status-strip > .wrap { min-height: 33px; }
  .status-place { display: none; }
  .shop-status { font-size: 12px; }
  .symptom-guide { margin-top: 38px; }
  .symptom-grid { grid-template-columns: minmax(0,1fr); }
  .symptom:nth-last-child(2) { border-bottom: 0; }
  .symptom summary { padding-block: 18px; }
  .symptom-visual { padding: 7px 10px 13px; }
  .diagram-labels { font-size: 12px; gap: 8px; }
  .symptom-heading .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  .size-readout { font-size: 50px; gap: 5px; }
  .size-readout .radial-mark { font-size: 32px; }
  .tyre-extras > div { gap: 10px; }
}
