/* Portara product-page purchase box (portara-buy.js). Scoped to #smart-button-container. */
#smart-button-container.pbuy { text-align: left; }
#smart-button-container.pbuy .pbuy-grid { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 6px 0 14px; }
#smart-button-container.pbuy .pbuy-grid label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; color: #66708a; letter-spacing: .04em; text-transform: uppercase; min-width: 220px; }
#smart-button-container.pbuy .pbuy-grid label[hidden] { display: none; }
#smart-button-container.pbuy .pbuy-grid select { font: 15px Oxygen, "Helvetica Neue", Helvetica, Arial, sans-serif; text-transform: none; letter-spacing: 0; font-weight: 400; color: #333; background: #fff; border: 1px solid #ccc; border-radius: 4px; padding: 8px 10px; min-width: 220px; }
#smart-button-container.pbuy .pbuy-grid select:disabled { color: #333; background: #f7f8fa; opacity: 1; }
#smart-button-container.pbuy .pbuy-summary { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: #333; }
#smart-button-container.pbuy .pbuy-line { display: block; min-height: 22.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#smart-button-container.pbuy .pbuy-product { font-weight: 700; }
#smart-button-container.pbuy .pbuy-note, #smart-button-container.pbuy .pbuy-note a { color: #c42031; font-weight: 700; font-size: 13.5px; }
#smart-button-container.pbuy .pbuy-note a { text-decoration: underline; }
#smart-button-container.pbuy .pbuy-pricerow { margin-top: 4px; min-height: 33px; }
#smart-button-container.pbuy .pbuy-pricerow b { font-size: 22px; color: #975be5; }
#smart-button-container.pbuy .pbuy-list { display: inline-block; margin-left: 10px; font-size: 13px; color: #c42031; font-weight: 700; }
#smart-button-container.pbuy .pbuy-list[hidden] { display: none; }
#smart-button-container.pbuy .pbuy-sku { display: block; font-size: 11.5px; color: #999; font-family: Menlo, Consolas, monospace; margin-top: 2px; }
#smart-button-container.pbuy #paypal-button-container { max-width: 420px; }
/* Portara Data License tick box: the PayPal buttons appear only once it is ticked (Arthur, 26 Sep 2026) */
#smart-button-container.pbuy .pbuy-accept { display: flex; gap: 10px; align-items: flex-start; max-width: 720px; margin: 0 0 14px; padding: 12px 14px; background: #f9f9f9; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; line-height: 1.45; color: #333; font-weight: 400; cursor: pointer; }
#smart-button-container.pbuy .pbuy-accept input { margin: 3px 0 0; width: 18px; height: 18px; flex: 0 0 auto; accent-color: #975be5; cursor: pointer; }
#smart-button-container.pbuy .pbuy-accept a { color: #975be5; text-decoration: underline; font-weight: 700; }
/* start-year slider card (trades-only) */
#smart-button-container.pbuy .pbuy-slider { margin: 0 0 18px; padding: 14px 18px 12px; background: #f8f6fd; border: 1px solid #e3dbf5; border-radius: 10px; max-width: 720px; box-sizing: border-box; }
#smart-button-container.pbuy .pbuy-slider[hidden] { display: none; }
#smart-button-container.pbuy .pbuy-slider-active { border-color: #975be5; box-shadow: 0 0 0 2px rgba(151, 91, 229, .18); }
#smart-button-container.pbuy .pbuy-slider-off { opacity: .55; border-style: dashed; }
#smart-button-container.pbuy .pbuy-slider-off input[type=range] { cursor: not-allowed; }
#smart-button-container.pbuy .pbuy-slider-head { display: block; margin-bottom: 6px; }
#smart-button-container.pbuy .pbuy-slider-title { font-size: 13px; font-weight: 700; color: #66708a; letter-spacing: .04em; text-transform: uppercase; }
#smart-button-container.pbuy .pbuy-slider-rate { display: block; margin-top: 3px; font-size: 13px; line-height: 18px; color: #66708a; min-height: 36px; }   /* two lines reserved: the sentence wraps at some widths and the card must never change height */
#smart-button-container.pbuy .pbuy-slider input[type=range] { display: block; width: 100%; margin: 8px 0 0; accent-color: #975be5; cursor: pointer; }
#smart-button-container.pbuy .pbuy-slider-ticks { position: relative; height: 18px; margin: 2px 0 8px; font-size: 11.5px; color: #8a90a3; }
#smart-button-container.pbuy .pbuy-slider-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
#smart-button-container.pbuy .pbuy-slider-read { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 4px 14px; font-size: 15px; color: #333; min-height: 30px; white-space: nowrap; overflow: hidden; }
#smart-button-container.pbuy .pbuy-slider-read b { font-size: 20px; color: #975be5; }
#smart-button-container.pbuy .pbuy-slider-price { margin-left: auto; font-size: 20px; font-weight: 700; color: #111; transition: color .15s; }
#smart-button-container.pbuy .pbuy-slider-price.pbuy-under { color: #b0b4c0; }
/* the notice row keeps its height when empty so the card never jumps while sliding */
#smart-button-container.pbuy .pbuy-slider-notice { margin-top: 8px; padding: 8px 12px; border-radius: 6px; background: #f9f9f9; border: 1px solid #ddd; color: #111; font-weight: 700; font-size: 13.5px; line-height: 1.45; min-height: 55px; box-sizing: border-box; }
#smart-button-container.pbuy .pbuy-slider-notice[hidden] { display: block; visibility: hidden; }
/* offer row: right-aligned so its price sits under the card price */
#smart-button-container.pbuy .pbuy-slider-offer { display: block; text-align: right; min-height: 36px; margin-top: 2px; font-size: 15px; font-weight: 700; color: #c42031; white-space: nowrap; }
#smart-button-container.pbuy .pbuy-slider-offer b { font-size: 20px; color: #c42031; }
#smart-button-container.pbuy .pbuy-slider-notice a { color: #111; text-decoration: underline; }
/* phones: the offer line and the reading row may wrap instead of clipping at the card edge (Arthur, 26 Sep 2026) */
@media (max-width: 640px) {
  #smart-button-container.pbuy .pbuy-slider-offer { white-space: normal; line-height: 1.3; }
  #smart-button-container.pbuy .pbuy-slider-read { flex-wrap: wrap; white-space: normal; overflow: visible; }
}
