/* Product page (single-request form/strength/count page with order summary) */
.product-page {
    --product-purple: #6550a5;
    --product-orange: #b65722;
    --product-text: #5e5b68;
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 0 64px;
    color: var(--product-text);
    font-family: Open-Sans;
    font-size: 14px;
    line-height: 1.5;
}
.product-page .product-layout { margin-right: -12px; margin-left: -12px; }
.product-page .product-column, .product-page .summary-column { padding-right: 12px; padding-left: 12px; }
.product-page .product-card, .product-page .summary-card { border: 1px solid #e8e5ef; border-radius: 20px; background: #faf9fc; box-shadow: 0 8px 30px rgba(51, 35, 86, .045); }
.product-page .product-header { min-height: 130px; padding: 26px; background: linear-gradient(115deg, #fff 40%, #f3effb); border-bottom: 1px solid #eeeaf4; border-radius: 20px 20px 0 0; gap: 16px; }
.product-page .product-header h1 { margin: 0 0 3px; color: var(--product-purple); font-size: 24px; font-weight: 700; line-height: 1.25; }
.product-page .product-header h1 sup { position: relative; top: -.35em; font-size: 12px; }
.product-page .product-header p { color: #7a7a7a; font-size: 14px; }
.product-page .product-image { flex: 0 0 auto; width: 72px; height: auto; margin: 0 7px; }
.product-page .prescription-content { padding: 25px 26px 28px; }
.product-page h2, .product-page .ordering-options legend { margin: 0 0 14px; color: #40394f; font-size: 16px; line-height: 1.4; font-weight: 700; letter-spacing: -.2px; }
.product-page .form-group { margin-bottom: 20px; }
.product-page label { margin-bottom: 7px; font-size: 13px; font-weight: 600; }
.product-page .select-wrap { position: relative; }
.product-page .select-wrap::after { content: ""; position: absolute; right: 20px; top: 19px; width: 9px; height: 9px; border-right: 1.5px solid #e66d24; border-bottom: 1.5px solid #e66d24; transform: rotate(45deg); pointer-events: none; }
.product-page .form-control { height: 49px; padding: 10px 43px 10px 14px; border: 1px solid #e5e5e5; border-radius: 9px; background: #fff; color: var(--product-purple); font-size: 15px; font-weight: 700; appearance: none; -webkit-appearance: none; }
.product-page .form-control:focus { border-color: var(--product-purple); box-shadow: 0 0 0 3px rgba(98,75,177,.15); }
.product-page .form-control option:disabled { color: #b7b2c4; }
.product-page .attr-strength { width: 39%; min-width: 150px; }
.product-page .ordering-options { min-width: 0; padding: 0; margin: 12px 0 0; border: 0; }
.product-page .ordering-options legend { float: none; width: auto; margin-bottom: 15px; }
.product-page .order-option { position: relative; display: block; margin: 0 0 10px; cursor: pointer; }
.product-page .order-option:last-child { margin-bottom: 0; }
.product-page .order-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.product-page .option-content { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 18px 14px 48px; border: 1px solid #e7e3ee; border-radius: 11px; background: #fff; font-size: 15px; font-weight: 600; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.product-page .option-content::before { content: ""; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; border: 1.5px solid #cbc4d8; border-radius: 50%; transform: translateY(-50%); background: #fff; }
.product-page .option-price { color: var(--product-purple); white-space: nowrap; }
.product-page .order-option:hover .option-content { border-color: #a99ac8; background: #fcfaff; }
.product-page .order-option input:checked + .option-content { border-color: #8b74bb; background: #f0ebf9; color: #4e397f; box-shadow: inset 0 0 0 1px #8b74bb; font-weight: 700; }
.product-page .order-option input:checked + .option-content::before { border: 5px solid var(--product-purple); }
.product-page .order-option input:checked + .option-content .option-price { color: #4e397f; }
.product-page .order-option input:focus-visible + .option-content { outline: 3px solid var(--product-purple); outline-offset: 3px; }
.product-page .no-pricing { padding: 14px 18px; border: 1px dashed #e7e3ee; border-radius: 11px; color: #777180; font-size: 13px; }
.product-page .summary-card { padding: 25px 24px 22px; background: #fff; }
.product-page .summary-card h2 { margin-bottom: 19px; }
.product-page .summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.product-page .summary-row .summary-label { font-weight: 400; }
.product-page .summary-row .summary-label small { display: block; margin-top: 5px; color: #777180; font-size: 12px; line-height: 1.6; }
.product-page .summary-row .summary-value { margin-bottom: 0; color: var(--product-purple); font-weight: 700; white-space: nowrap; }
.product-page .fee-basis { display: inline-flex; align-items: center; gap: 6px; position: relative; color: #807989; font-size: 11px; white-space: nowrap; }
.product-page .info-tooltip { width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--product-orange); color: var(--product-orange); font-size: 12px; font-weight: 700; line-height: 1; cursor: pointer; position: relative; background: #fff; flex: 0 0 auto; outline: none; }
.product-page .info-tooltip:hover, .product-page .info-tooltip:focus { box-shadow: 0 0 0 3px rgba(182, 87, 34, 0.15); }
.product-page .info-tooltip::after { content: attr(data-tooltip); position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(240px, calc(100vw - 32px)); padding: 8px 10px; background: #2c2740; color: #fff; font-size: 12.5px; font-weight: 500; line-height: 22px; border-radius: 6px; white-space: normal; text-align: left; opacity: 0; visibility: hidden; pointer-events: none; z-index: 30; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.product-page .info-tooltip::before { content: ""; position: absolute; top: calc(100% + -2px); left: 50%; transform: translateX(-50%); border-width: 6px; border-style: solid; border-color: transparent transparent #2c2740 transparent; opacity: 0; visibility: hidden; pointer-events: none; z-index: 30; }
.product-page .info-tooltip:hover::after, .product-page .info-tooltip:hover::before, .product-page .info-tooltip:focus::after, .product-page .info-tooltip:focus::before { opacity: 1; visibility: visible; }
.product-page .summary-total { align-items: center; margin: 22px -12px -10px; padding: 17px 12px; border-top: 1px solid #e9e3f2; border-radius: 0 0 12px 12px; background: #f7f4fc; }
.product-page .summary-total .summary-label { color: #4e4e4e; font-weight: 700; }
.product-page .summary-total .summary-value { font-size: 22px; }
.product-page .btn-checkout { display: block; width: 100%; min-height: 47px; margin-top: 15px; padding: 12px; border: 1px solid var(--product-orange); border-radius: 9px; background: var(--product-orange); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.product-page .btn-checkout:hover { border-color: #944515; background: #944515; color: #fff; }
.product-page .btn-checkout:focus-visible { outline: 3px solid var(--product-purple); outline-offset: 3px; }
.product-page .welcome-offer { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 22px; padding: 24px 20px; border: 1px solid #8066b3; border-radius: 18px; background: linear-gradient(130deg, #5b428f, #7d60b1); box-shadow: 0 8px 22px rgba(86,58,137,.14); color: #fff; }
.product-page .welcome-offer::after { content: ""; position: absolute; z-index: -1; width: 175px; height: 175px; right: -80px; top: -85px; border: 28px solid rgba(255,255,255,.06); border-radius: 50%; pointer-events: none; }
.product-page .welcome-offer-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #d56514; }
.product-page .welcome-offer-copy { min-width: 0; }
.product-page .welcome-offer-eyebrow { margin: 0 0 3px; color: #ffe4bb; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.product-page .welcome-offer h2 { margin: 0 0 5px; color: #fff; font-size: 18px; font-weight: 800; line-height: 1.3; }
.product-page .welcome-offer-copy > p:last-child { font-size: 12px; line-height: 1.5; color: #fff; }
.product-page .welcome-offer-code { display: inline-block; margin: 3px 2px 0 0; padding: 2px 7px; border: 1px dashed rgba(255,255,255,.65); border-radius: 5px; background: rgba(255,255,255,.1); letter-spacing: .7px; white-space: nowrap; }
.product-page .welcome-offer-action { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); }
.product-page .btn-create-account { display: block; width: 100%; min-height: 38px; padding: 9px 12px; border: 1px solid #fff; border-radius: 5px; background: #fff; color: #6247a3; font-size: 12px; font-weight: 800; text-align: center; text-decoration: none; }
.product-page .btn-create-account:hover { border-color: #f0eafa; background: #f0eafa; color: #6247a3; }
.product-page .btn-create-account:focus-visible { outline: 3px solid #ffe4bb; outline-offset: 3px; }
.product-page .welcome-offer-action p { margin-top: 9px; color: #f0eaf9; font-size: 10px; line-height: 1.5; text-align: center; }
.product-page .help-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 20px; border-radius: 18px; background: #f6f5f8; }
.product-page .help-strip-title { color: var(--product-purple); font-size: 15px; font-weight: 700; line-height: 1.5; }
.product-page .btn-help-email { flex-shrink: 0; min-height: 36px; padding: 7px 18px; border: 1px solid var(--product-purple); border-radius: 9px; background: var(--product-purple); color: #fff; font-size: 13px; font-weight: 600; }
.product-page .btn-help-email:hover { border-color: #503b8b; background: #503b8b; color: #fff; }
@media (min-width: 480px) and (max-width: 767.98px) {
    .product-page .welcome-offer { grid-template-columns: 36px minmax(0, 1fr) 152px; gap: 10px; padding: 18px 14px; }
    .product-page .welcome-offer-icon { width: 36px; height: 36px; }
    .product-page .welcome-offer-action { grid-column: auto; padding-top: 0; border-top: 0; }
    .product-page .welcome-offer h2 { font-size: 16px; }
}
@media (max-width: 991.98px) {
    .product-page { max-width: 850px; }
    .product-page .summary-card { padding: 22px 18px; }
    .product-page .summary-total .summary-label { font-size: 12px; }
    .product-page .summary-total .summary-value { font-size: 20px; }
}
@media (max-width: 767.98px) {
    .product-page { max-width: 560px; padding: 16px 0 40px; }
    .product-page .summary-column { margin-top: 22px; }
    .product-page .summary-total .summary-label { font-size: 14px; }
    .product-page .summary-card { padding: 24px; }
}
@media (max-width: 576px) {
    .product-page .info-tooltip::after { width: min(220px, calc(100vw - 24px)); }
}
@media (max-width: 374.98px) {
    .product-page .product-header, .product-page .prescription-content { padding-right: 18px; padding-left: 18px; }
    .product-page .product-header h1 { font-size: 22px; }
    .product-page .option-content { padding-right: 14px; padding-left: 44px; font-size: 14px; }
}

/* Patient Pay portal additions (UC-02): missing fees */
.product-page .fees-unavailable { margin-top: 18px; padding: 12px; border-radius: 10px; background: #fff4ec; color: #8a4a1f; font-size: 13px; line-height: 1.5; }
