/* Printer Rental product page. Tokens, cards and buttons come from catalogue.css.
   The quote "ticket" is the one loud element: price and form in a single navy-topped object,
   the same language as the site's quote popup. Everything around it stays quiet. */

/* ---------- top row ---------- */
.prc .prp-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.prc .prp-top .prc-crumbs { margin: 0; flex: 1 1 320px; min-width: 0; }
.prc .prp-search { flex: 0 1 340px; }
.prc .prp-search .prc-search__input { height: 46px; padding-right: 16px; border-radius: 12px; box-shadow: none; font-size: 15px; }

/* ---------- hero ---------- */
.prc .prp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.prc .prp-side { display: grid; gap: 24px; }
.prc .prp-buy { display: grid; gap: 22px; min-width: 0; }

@media (min-width: 900px) and (min-height: 820px) {
  .prc .prp-side { position: sticky; top: 96px; }
}

/* ---------- gallery ---------- */
.prc .prp-gallery { display: grid; gap: 12px; }
.prc .prp-gallery__main { position: relative; aspect-ratio: 5 / 4; padding: 28px; overflow: hidden; background: #fff; border: 1px solid var(--prc-line-soft); border-radius: var(--prc-radius); box-shadow: var(--prc-shadow); }
.prc .prp-gallery__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.prc .prp-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.prc .prp-thumb { display: block; width: 72px; height: 72px; margin: 0; padding: 6px; border: 1.5px solid var(--prc-line); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s; }
.prc .prp-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.prc .prp-thumb:hover, .prc .prp-thumb:focus { border-color: var(--prc-ink); background: #fff; }
.prc .prp-thumb[aria-pressed="true"] { border-color: var(--prc-ink); box-shadow: inset 0 0 0 1px var(--prc-ink); }
.prc .prp-thumb:focus-visible { outline: 3px solid var(--prc-cyan); outline-offset: 2px; }

/* ---------- included ---------- */
.prc .prp-included { display: grid; gap: 12px; justify-items: start; padding: 0 4px; }
.prc .prp-included__title { margin: 0; font-family: var(--prc-head); font-size: 17px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: var(--prc-ink); }
.prc .prp-included__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; width: 100%; margin: 0; padding: 0; list-style: none; }
.prc .prp-included__list li { display: flex; gap: 8px; margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--prc-text); }
.prc .prp-included__list .prc-icon { width: 18px; height: 18px; margin-top: 1px; stroke-width: 2.5; color: #0a7fa0; }
.prc .prp-call { width: auto; min-height: 44px; margin-top: 4px; }
.prc .prp-call .prc-icon { width: 18px; height: 18px; }

/* ---------- summary ---------- */
.prc .prp-title { margin: 0; font-family: var(--prc-head); font-size: clamp(27px, 2.9vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; color: var(--prc-ink); overflow-wrap: anywhere; }
.prc .prp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.prc .prp-chip { margin: 0; padding: 4px 10px; border: 1px solid var(--prc-line); border-radius: 8px; background: #fff; font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--prc-text); }
.prc .prp-lead { position: relative; margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--prc-muted); }
.prc .prp-lead p { margin: 0 0 10px; font-size: inherit; line-height: inherit; color: inherit; }
.prc .prp-lead p:last-child { margin-bottom: 0; }
.prc .prp-lead a { font-size: inherit; color: var(--prc-ink); text-decoration: underline; }
.prc .prp-lead ul, .prc .prp-lead ol { margin: 0 0 10px; padding-left: 20px; }
.prc .prp-lead__more { display: none; min-height: 36px; padding: 2px 0; }
.prp-js .prc .prp-lead.is-long:not(.is-open) { max-height: 10em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.prp-js .prc .prp-lead__more { display: inline-flex; }

/* ---------- the ticket: price + form ---------- */
.prc .prp-ticket { scroll-margin-top: 96px; overflow: hidden; background: #fff; border-radius: var(--prc-radius); box-shadow: var(--prc-shadow-up); }
.prc .prp-ticket__price { padding: 22px 26px 18px; background: var(--prc-ink); color: #fff; }
.prc .prp-ticket__note { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.45; color: #fff; }
.prc .prp-ticket__stock { margin: 10px 0 0; font-size: 14px; font-weight: 800; color: #fff; }

.prc .prp-rates { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; margin: 0; }
.prc .prp-rate { padding: 0 14px; border-left: 1px solid rgba(255, 255, 255, .22); }
.prc .prp-rate:first-child { padding-left: 0; border-left: 0; }
.prc .prp-rate dt { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.3; color: #bfeef8; }
.prc .prp-rate dd { margin: 2px 0 0; font-family: var(--prc-head); font-size: clamp(17px, 2vw, 25px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.prc .prp-ticket__price .woocommerce-Price-amount, .prc .prp-ticket__price bdi { font: inherit; letter-spacing: inherit; color: inherit; }

.prc .prp-amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0; font-family: var(--prc-head); font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.prc .prp-amount del { font-size: .55em; font-weight: 600; letter-spacing: 0; color: #cfd4ee; }
.prc .prp-amount ins { text-decoration: none; }
.prc .prp-amount .prc-price__from, .prc .prp-amount__note { font-family: var(--prc-body); font-size: 15px; font-weight: 700; letter-spacing: 0; color: #bfeef8; }

.prc .prp-ticket__cart { padding: 18px 26px 0; }
.prc .prp-ticket__fallback { margin: 0; padding: 22px 26px; }

/* The form's own title completes the navy band. */
.prc .prp-ticket .gform_wrapper { margin: 0; }
.prc .prp-ticket .gform_heading { margin: 0; padding: 0 26px 20px; background: var(--prc-ink); }
.prc .prp-ticket .gform_title { position: relative; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .22); font-family: var(--prc-head); font-size: 20px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: #fff; text-transform: none; }
.prc .prp-ticket .gform_description { display: none; }

.prc .prp-ticket .gform_wrapper .gform_body { padding: 22px 26px 6px; }
.prc .prp-ticket .gform_wrapper .gform_fields { grid-column-gap: 16px; grid-row-gap: 14px; }
.prc .prp-ticket .gform_wrapper .gfield_label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 0 0 6px; padding: 0; font-family: var(--prc-head); font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--prc-ink); }
.prc .prp-ticket .gform_wrapper .gfield_required { margin: 0; font-family: var(--prc-body); font-size: 12px; font-weight: 600; font-style: normal; color: var(--prc-muted); }
.prc .prp-ticket .gform_wrapper .gfield input[type="text"],
.prc .prp-ticket .gform_wrapper .gfield input[type="email"],
.prc .prp-ticket .gform_wrapper .gfield input[type="tel"],
.prc .prp-ticket .gform_wrapper .gfield textarea { display: block; width: 100%; min-height: 46px; margin: 0; padding: 10px 12px; border: 1.5px solid var(--prc-line); border-radius: 10px; background: #fff; box-shadow: none; font-family: var(--prc-body); font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--prc-text); transition: border-color .15s, box-shadow .15s; }
.prc .prp-ticket .gform_wrapper .gfield textarea { height: 92px; min-height: 92px; resize: vertical; }
.prc .prp-ticket .gform_wrapper .gfield input:focus,
.prc .prp-ticket .gform_wrapper .gfield textarea:focus { outline: none; border-color: var(--prc-ink); box-shadow: 0 0 0 4px rgba(7, 204, 251, .3); }

.prc .prp-ticket .gform_wrapper .gform_footer { display: flex; justify-content: flex-end; margin: 14px 0 0; padding: 14px 26px 18px; border-top: 1px solid var(--prc-line-soft); }
.prc .prp-ticket .gform_wrapper .gform_footer .gform_button { min-height: 48px; margin: 0; padding: 12px 24px; border: 0; border-radius: 10px; background: var(--prc-ink); font-family: var(--prc-head); font-size: 15px; font-weight: 800; line-height: 1.2; color: #fff; cursor: pointer; transition: background-color .15s; }
.prc .prp-ticket .gform_wrapper .gform_footer .gform_button:hover,
.prc .prp-ticket .gform_wrapper .gform_footer .gform_button:focus { background: var(--prc-ink-2); color: #fff; }
.prc .prp-ticket .gform_wrapper .gform_footer .gform_button:focus-visible { outline: 3px solid var(--prc-cyan); outline-offset: 2px; }

/* After submitting: errors and the thank-you, right where the form was. */
.prc .prp-ticket .gform_anchor { scroll-margin-top: 96px; }
.prc .prp-ticket .gform_wrapper .gform_validation_errors { margin: 18px 26px 0; padding: 12px 14px; border: 1.5px solid var(--prc-warn); border-radius: 10px; background: #fff; box-shadow: none; }
.prc .prp-ticket .gform_wrapper .gform_validation_errors h2 { margin: 0; font-family: var(--prc-body); font-size: 15px; font-weight: 800; color: var(--prc-warn); }
.prc .prp-ticket .gform_wrapper .gfield_error input,
.prc .prp-ticket .gform_wrapper .gfield_error textarea { border-color: var(--prc-warn); }
.prc .prp-ticket .gform_wrapper .gfield_error .gfield_label { color: var(--prc-ink); }
.prc .prp-ticket .gform_wrapper .validation_message { margin: 6px 0 0; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 700; color: var(--prc-warn); }
.prc .prp-ticket .gform_confirmation_message { padding: 28px 26px; background: var(--prc-mist); font-family: var(--prc-head); font-size: 18px; font-weight: 800; line-height: 1.4; color: var(--prc-ink); }

/* ---------- tabs ---------- */
.prc .prp-tabs { margin-top: 48px; }
.prc .prp-tablist { display: none; gap: 28px; overflow-x: auto; border-bottom: 1px solid var(--prc-line); scrollbar-width: none; }
.prc .prp-tablist::-webkit-scrollbar { display: none; }
.prp-js .prc .prp-tablist { display: flex; }
.prc .prp-tab { flex: none; min-height: 48px; margin: 0 0 -1px; padding: 10px 2px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; font-family: var(--prc-head); font-size: 16px; font-weight: 800; line-height: 1.2; color: var(--prc-muted); cursor: pointer; transition: color .15s, border-color .15s; }
.prc .prp-tab:hover, .prc .prp-tab:focus { background: none; color: var(--prc-ink); }
.prc .prp-tab[aria-selected="true"] { border-bottom-color: var(--prc-ink); color: var(--prc-ink); }
.prc .prp-tab:focus-visible { outline: 3px solid var(--prc-cyan); outline-offset: -3px; }

.prc .prp-panel { padding: 28px 0 0; }
.prp-js .prc .prp-panel:not(.is-active) { display: none; }
.prc .prp-panel__title { margin: 0 0 14px; font-family: var(--prc-head); font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -.015em; color: var(--prc-ink); }
/* The selected tab already names Description and Specifications. */
.prp-js .prc #prp-panel-description > .prp-panel__title,
.prp-js .prc #prp-panel-specifications > .prp-panel__title { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.prc .prp-prose { max-width: 72ch; font-size: 16px; line-height: 1.6; color: var(--prc-text); }
.prc .prp-prose p { margin: 0 0 14px; font-size: inherit; line-height: inherit; color: inherit; }
.prc .prp-prose :is(h2, h3, h4) { margin: 24px 0 10px; font-family: var(--prc-head); font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: var(--prc-ink); }
.prc .prp-prose > :first-child { margin-top: 0; }
.prc .prp-prose ul, .prc .prp-prose ol { margin: 0 0 14px; padding-left: 22px; }
.prc .prp-prose li { margin: 0 0 6px; font-size: inherit; line-height: inherit; color: inherit; }
.prc .prp-prose a { font-size: inherit; font-weight: 700; color: var(--prc-ink); text-decoration: underline; }
.prc .prp-prose img { max-width: 100%; height: auto; }
.prc .prp-prose table { display: block; max-width: 100%; overflow-x: auto; }
.prc .prp-prose .icecat-credit { font-size: 13px; color: var(--prc-muted); }

.prc .prp-specs { max-width: 760px; overflow: hidden; background: #fff; border: 1px solid var(--prc-line-soft); border-radius: 12px; }
.prc .prp-specs table { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
/* table.shop_attributes matches WooCommerce's own selectors, which add italics and zebra stripes. */
.prc .prp-specs table.shop_attributes :is(th, td) { padding: 12px 16px; border: 0; border-top: 1px solid var(--prc-line-soft); background: transparent; font-size: 15px; font-style: normal; line-height: 1.4; text-align: left; vertical-align: top; }
.prc .prp-specs table.shop_attributes tr:first-child :is(th, td) { border-top: 0; }
.prc .prp-specs table.shop_attributes th { width: 36%; background: var(--prc-canvas); font-family: var(--prc-body); font-weight: 700; color: var(--prc-muted); }
.prc .prp-specs table.shop_attributes td { font-weight: 600; color: var(--prc-text); }
.prc .prp-specs td p { margin: 0; font-size: inherit; color: inherit; }
.prc .prp-specs td a { font-size: inherit; color: inherit; text-decoration: none; }

.prc .prp-faq { display: grid; max-width: 820px; }
.prc .prp-faq__item { border-top: 1px solid var(--prc-line); }
.prc .prp-faq__item:last-child { border-bottom: 1px solid var(--prc-line); }
.prc .prp-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 12px 2px; font-family: var(--prc-head); font-size: 16px; font-weight: 800; line-height: 1.35; color: var(--prc-ink); cursor: pointer; list-style: none; }
.prc .prp-faq__item summary::-webkit-details-marker { display: none; }
.prc .prp-faq__item summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.prc .prp-faq__item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.prc .prp-faq__item summary:focus-visible { outline: 3px solid var(--prc-cyan); outline-offset: 2px; }
.prc .prp-faq__item p { max-width: 72ch; margin: 0; padding: 0 2px 16px; font-size: 16px; line-height: 1.6; color: var(--prc-muted); }

/* ---------- related ---------- */
.prc .prp-more { margin-top: 56px; }
.prc .prp-more__label { margin: 0; font-family: var(--prc-body); font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: 0; color: var(--prc-muted); }
.prc .prp-more__title { margin: 2px 0 20px; font-family: var(--prc-head); font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--prc-ink); }
.prc .prp-more__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- tablet + phone ---------- */
@media (max-width: 1099px) {
  .prc .prp-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prc .prp-included__list { grid-template-columns: minmax(0, 1fr); }
}

/* One column: gallery, title, ticket, then what's included. */
@media (max-width: 899px) {
  .prc .prp-hero { display: flex; flex-direction: column; gap: 22px; }
  .prc .prp-side, .prc .prp-buy { display: contents; }
  .prc .prp-gallery { order: 1; }
  .prc .prp-summary { order: 2; }
  .prc .prp-ticket { order: 3; }
  .prc .prp-included { order: 4; }
  .prc .prp-gallery__main { aspect-ratio: 4 / 3; padding: 18px; }
  .prc .prp-included__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prc .prp-search { flex: 1 1 100%; }
  .prc .prp-tabs { margin-top: 36px; }
}

@media (max-width: 599px) {
  .prc .prp-top .prc-crumbs { flex-basis: 100%; }
  .prc .prp-included__list { grid-template-columns: minmax(0, 1fr); }
  .prc .prp-ticket__price { padding: 18px 18px 16px; }
  .prc .prp-rate { padding: 0 10px; }
  .prc .prp-ticket .gform_heading { padding: 0 18px 18px; }
  .prc .prp-ticket .gform_wrapper .gform_body { padding: 18px 18px 4px; }
  .prc .prp-ticket .gform_wrapper .gform_footer { padding: 14px 18px 18px; }
  .prc .prp-ticket .gform_wrapper .gform_footer .gform_button { width: 100%; }
  .prc .prp-ticket__cart { padding: 16px 18px 0; }
  .prc .prp-tablist { gap: 20px; }
  .prc .prp-specs table.shop_attributes :is(th, td) { padding: 10px 12px; font-size: 14px; }
  .prc .prp-more__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .prc .prp-ticket .gform_wrapper .gfield input,
  .prc .prp-ticket .gform_wrapper .gfield textarea { transition: none; }
}
