/* RxPharmacy Main Stylesheet — loaded async, non-render-blocking */

/* =========================================================================
   Announcement Bar
   ========================================================================= */

.rxph-announcement {
    background: var(--rxph-primary);
    color: #fff;
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.rxph-announcement__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.rxph-announcement__text { margin: 0; }

.rxph-announcement__link {
    color: #fff;
    text-decoration: underline;
}

.rxph-announcement__close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0.8;
}

.rxph-announcement__close:hover { opacity: 1; }

/* =========================================================================
   Sections
   ========================================================================= */

.rxph-section {
    padding: 3rem 0;
}

@media (min-width: 600px) {
    .rxph-section { padding: 4rem 0; }
}

@media (min-width: 1024px) {
    .rxph-section { padding: 5rem 0; }
}

.rxph-section--alt { background: var(--rxph-bg-alt); }

.rxph-section__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.rxph-section__badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rxph-accent);
    margin-bottom: 0.5rem;
}

.rxph-section__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--rxph-text);
    margin: 0 0 0.75rem;
}

.rxph-section__desc {
    font-size: 1.0625rem;
    color: var(--rxph-text-light);
    max-width: 640px;
    margin: 0 auto;
}

.rxph-section__cta-wrap {
    text-align: center;
    margin-top: 2rem;
}

/* =========================================================================
   Trust Badges
   ========================================================================= */

.rxph-trust-badges {
    background: var(--rxph-bg-alt);
    border-top: 1px solid var(--rxph-border);
    border-bottom: 1px solid var(--rxph-border);
    padding: 1.25rem 0;
}

.rxph-trust-badges__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
}

.rxph-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rxph-text);
}

/* =========================================================================
   Hero Stats
   ========================================================================= */

.rxph-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.rxph-hero__stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

/* =========================================================================
   Services Grid
   ========================================================================= */

.rxph-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .rxph-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .rxph-services-grid { grid-template-columns: repeat(3, 1fr); }
}

.rxph-services-grid--compact {
    gap: 1rem;
}

@media (min-width: 1024px) {
    .rxph-services-grid--compact { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================================
   Service Card
   ========================================================================= */

.rxph-service-card {
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rxph-service-card:hover {
    box-shadow: var(--rxph-shadow-lg);
    transform: translateY(-2px);
}

.rxph-service-card__image {
    display: block;
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.rxph-service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rxph-service-card__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    background: var(--rxph-bg-alt);
    color: var(--rxph-primary);
    position: relative;
}

.rxph-service-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: #2563EB;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rxph-service-card__body { padding: 1.25rem; }

.rxph-service-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.rxph-service-card__title a {
    color: var(--rxph-text);
    text-decoration: none;
}

.rxph-service-card__title a:hover { color: var(--rxph-primary); }

.rxph-service-card__excerpt {
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.rxph-service-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rxph-service-card__price {
    font-weight: 700;
    color: var(--rxph-text);
}

.rxph-service-card__price--free { color: var(--rxph-accent); }

.rxph-service-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rxph-primary);
}

/* =========================================================================
   Condition Cards (Pharmacy First)
   ========================================================================= */

.rxph-condition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 600px) {
    .rxph-condition-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
    .rxph-condition-grid { grid-template-columns: repeat(7, 1fr); }
}

.rxph-condition-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    text-decoration: none;
    color: var(--rxph-text);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.rxph-condition-card:hover {
    border-color: var(--rxph-primary);
    box-shadow: var(--rxph-shadow);
    text-decoration: none;
}

.rxph-condition-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rxph-bg-alt);
    border-radius: 50%;
    color: var(--rxph-primary);
}

.rxph-condition-card__name {
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
}

/* =========================================================================
   Split Layout (Weight Loss, About)
   ========================================================================= */

.rxph-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .rxph-split { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
    .rxph-split--reverse .rxph-split__media { order: -1; }
}

.rxph-split__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rxph-bg-alt);
    border-radius: var(--rxph-radius-lg);
    aspect-ratio: 4 / 3;
    color: var(--rxph-primary);
    opacity: 0.3;
}

/* =========================================================================
   Check List
   ========================================================================= */

.rxph-check-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
}

.rxph-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.375rem 0;
    font-size: 0.9375rem;
    color: var(--rxph-text);
}

.rxph-check-list .rxph-icon { color: var(--rxph-accent); margin-top: 2px; }

/* =========================================================================
   Trust Points
   ========================================================================= */

.rxph-trust-points {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.rxph-trust-point {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.rxph-trust-point .rxph-icon {
    color: var(--rxph-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.rxph-trust-point strong {
    display: block;
    margin-bottom: 0.125rem;
}

.rxph-trust-point p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--rxph-text-light);
}

/* =========================================================================
   Blog Grid & Cards
   ========================================================================= */

.rxph-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .rxph-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .rxph-blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.rxph-blog-card {
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.rxph-blog-card:hover { box-shadow: var(--rxph-shadow-lg); }

.rxph-blog-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.rxph-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rxph-blog-card__body { padding: 1.25rem; }

.rxph-blog-card__date {
    display: block;
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
    margin-bottom: 0.5rem;
}

.rxph-blog-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.rxph-blog-card__title a {
    color: var(--rxph-text);
    text-decoration: none;
}

.rxph-blog-card__title a:hover { color: var(--rxph-primary); }

.rxph-blog-card__excerpt {
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.rxph-blog-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rxph-primary);
}

/* =========================================================================
   FAQ Accordion
   ========================================================================= */

.rxph-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.rxph-faq-item {
    border-bottom: 1px solid var(--rxph-border);
}

.rxph-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    font-size: 1rem;
    color: var(--rxph-text);
}

.rxph-faq-item summary::-webkit-details-marker { display: none; }

.rxph-faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--rxph-text-light);
    transition: transform 0.2s ease;
}

.rxph-faq-item[open] summary::after {
    content: '−';
}

.rxph-faq-item__answer {
    padding: 0 0 1.25rem;
    font-size: 0.9375rem;
    color: var(--rxph-text-light);
    line-height: 1.6;
}

/* =========================================================================
   Newsletter
   ========================================================================= */

.rxph-newsletter__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .rxph-newsletter__inner {
        flex-direction: row;
        text-align: left;
    }
    .rxph-newsletter__text { flex: 1; }
    .rxph-newsletter__form { flex: 1; }
}

/* =========================================================================
   Footer
   ========================================================================= */

.rxph-footer {
    background: var(--rxph-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 0;
}

.rxph-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.rxph-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.rxph-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 600px) {
    .rxph-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .rxph-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; }
}

.rxph-footer__heading {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
}

.rxph-footer__logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.rxph-footer__desc {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0.75rem 0;
}

.rxph-footer__gphc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rxph-accent);
    margin-top: 0.75rem;
}

.rxph-footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rxph-footer__menu li { padding: 0.25rem 0; }

.rxph-footer__menu a { font-size: 0.9375rem; }

/* Opening Hours in Footer */
.rxph-footer__hour-row {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    font-size: 0.875rem;
}

.rxph-footer__hour-row--today {
    font-weight: 700;
    color: #fff;
}

/* Contact Items */
.rxph-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9375rem;
    margin: 0.5rem 0;
}

.rxph-footer__contact-item .rxph-icon {
    flex-shrink: 0;
    margin-top: 3px;
}

/* Social Icons */
.rxph-footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.rxph-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
}

.rxph-footer__social a:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Sub-footer */
.rxph-footer__sub {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2.5rem;
    padding: 1.5rem 0;
}

.rxph-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.rxph-footer__legal a { font-size: 0.8125rem; }

.rxph-footer__copyright {
    text-align: center;
    font-size: 0.8125rem;
}

.rxph-footer__copyright p { margin: 0.25rem 0; }

.rxph-footer__superintendent {
    opacity: 0.8;
}

/* Emergency Signposting */
.rxph-footer__emergency {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--rxph-radius);
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    text-align: center;
    font-size: 0.8125rem;
}

.rxph-footer__emergency p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rxph-footer__emergency a { color: #fff; text-decoration: underline; }

.rxph-footer__credit {
    text-align: center;
    padding: 1rem 0;
    font-size: 0.75rem;
    color: #B0C4D0;
}
.rxph-footer__credit a {
    color: #B0C4D0;
}

/* =========================================================================
   Sticky CTA Bar (mobile)
   ========================================================================= */

.rxph-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--rxph-bg);
    border-top: 1px solid var(--rxph-border);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .rxph-cta-bar { display: none; }
}

.rxph-cta-bar__btn {
    flex: 1;
    text-align: center;
}

/* =========================================================================
   Service Single Page
   ========================================================================= */

.rxph-service-hero {
    background: linear-gradient(135deg, var(--rxph-primary) 0%, var(--rxph-primary-dark) 100%);
    color: #fff;
    padding: 3rem 0;
}

.rxph-service-hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .rxph-service-hero__inner { grid-template-columns: 1.2fr 0.8fr; }
}

.rxph-service-hero__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.rxph-service-hero__badge--nhs { background: #2563EB; }

.rxph-service-hero__title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
}

.rxph-service-hero__desc {
    font-size: 1.0625rem;
    opacity: 0.9;
    margin: 0 0 1.5rem;
}

.rxph-service-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.rxph-service-hero__price {
    font-size: 1.25rem;
    font-weight: 700;
}

.rxph-service-hero__image {
    border-radius: var(--rxph-radius-lg);
    overflow: hidden;
}

.rxph-service-hero__image img {
    width: 100%;
    height: auto;
}

/* Service Content Layout */
.rxph-service-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .rxph-service-content { grid-template-columns: 1fr 300px; }
}

/* Prose (content area) */
.rxph-prose {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--rxph-text);
}

.rxph-prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
}

.rxph-prose h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
}

.rxph-prose p { margin: 0 0 1rem; }

.rxph-prose ul, .rxph-prose ol {
    padding-left: 1.5rem;
    margin: 0 0 1rem;
}

.rxph-prose li { margin-bottom: 0.25rem; }

.rxph-prose img {
    border-radius: var(--rxph-radius);
    margin: 1rem 0;
}

/* Pricing Sidebar */
.rxph-service-pricing {
    background: var(--rxph-bg-alt);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--rxph-header-h) + 1rem);
}

.rxph-service-pricing h3 {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
}

.rxph-service-pricing__amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--rxph-text);
    margin: 0 0 1rem;
}

.rxph-service-pricing__free {
    color: var(--rxph-accent);
    font-weight: 600;
    margin: 0 0 1rem;
}

/* =========================================================================
   Service Archive
   ========================================================================= */

.rxph-services-archive {
    padding: 2rem 0 4rem;
}

.rxph-services-archive__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* =========================================================================
   Booking Embed
   ========================================================================= */

.rxph-booking-embed {
    padding: 3rem 0;
}

.rxph-booking-embed__frame {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: var(--rxph-radius-lg);
}

/* =========================================================================
   Breadcrumb
   ========================================================================= */

.rxph-breadcrumb {
    padding: 0.75rem 0;
    font-size: 0.8125rem;
}

.rxph-breadcrumb__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

.rxph-breadcrumb__item { display: flex; align-items: center; gap: 0.25rem; }

.rxph-breadcrumb__separator {
    color: var(--rxph-text-light);
    margin: 0 0.25rem;
}

.rxph-breadcrumb__item:last-child a,
.rxph-breadcrumb__item:last-child span {
    color: var(--rxph-text-light);
}

/* =========================================================================
   404
   ========================================================================= */

.rxph-404 {
    padding: 4rem 0;
    text-align: center;
}

.rxph-404__code {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    color: var(--rxph-border);
    line-height: 1;
}

.rxph-404__title {
    font-size: 2rem;
    margin: 1rem 0 0.75rem;
}

.rxph-404__desc {
    max-width: 500px;
    margin: 0 auto 2rem;
    color: var(--rxph-text-light);
}

.rxph-404__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.rxph-404__search {
    max-width: 480px;
    margin: 0 auto 3rem;
}

.rxph-404__search h2 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

/* Search Form */
.rxph-search-form {
    display: flex;
    gap: 0;
}

.rxph-search-form__input {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 2px solid var(--rxph-border);
    border-right: none;
    border-radius: var(--rxph-radius) 0 0 var(--rxph-radius);
    font-size: 1rem;
    font-family: var(--rxph-font);
    outline: none;
}

.rxph-search-form__input:focus {
    border-color: var(--rxph-primary);
}

.rxph-search-form__submit {
    border-radius: 0 var(--rxph-radius) var(--rxph-radius) 0;
}

/* =========================================================================
   Page Template
   ========================================================================= */

.rxph-page { padding: 2rem 0 4rem; }

.rxph-page__header { margin-bottom: 2rem; }

.rxph-page__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin: 0;
}

/* =========================================================================
   Single Post
   ========================================================================= */

.rxph-single { padding: 2rem 0 4rem; }

.rxph-single__header { margin-bottom: 2rem; }

.rxph-single__title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
}

.rxph-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--rxph-text-light);
}

/* =========================================================================
   Search Results
   ========================================================================= */

.rxph-search-results { padding: 2rem 0 4rem; }

.rxph-search-results__title {
    font-size: 1.5rem;
    margin: 0 0 2rem;
}

.rxph-search-result {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--rxph-border);
}

.rxph-search-result__title {
    font-size: 1.125rem;
    margin: 0 0 0.375rem;
}

.rxph-search-result__title a {
    color: var(--rxph-text);
}

.rxph-search-result__title a:hover { color: var(--rxph-primary); }

.rxph-search-result__excerpt {
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    margin: 0;
}

/* =========================================================================
   Pagination
   ========================================================================= */

.rxph-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.rxph-pagination a,
.rxph-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius);
    font-weight: 500;
    color: var(--rxph-text);
    text-decoration: none;
}

.rxph-pagination a:hover {
    border-color: var(--rxph-primary);
    color: var(--rxph-primary);
}

.rxph-pagination .current {
    background: var(--rxph-primary);
    border-color: var(--rxph-primary);
    color: #fff;
}

/* =========================================================================
   Emergency Notice (contact page, etc.)
   ========================================================================= */

.rxph-emergency-notice {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--rxph-radius);
    padding: 1rem 1.25rem;
    margin-top: 2rem;
}

.rxph-emergency-notice p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.9375rem;
    color: var(--rxph-text);
}

.rxph-emergency-notice a {
    color: var(--rxph-primary);
    text-decoration: underline;
    font-weight: 600;
}

.rxph-emergency-notice a:hover {
    color: var(--rxph-primary-dark);
}

/* =========================================================================
   Service Page Hero
   ========================================================================= */

.rxph-service-hero {
    margin-bottom: 2rem;
}

.rxph-service-hero__content {
    max-width: 720px;
}

.rxph-service-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.rxph-service-hero__badge--nhs {
    background: #005EB8;
    color: #fff;
}

.rxph-service-hero__badge--private {
    background: var(--rxph-accent);
    color: #fff;
}

.rxph-service-hero__badge--available {
    background: #DCFCE7;
    color: #166534;
}

.rxph-service-hero__badge--coming {
    background: #FEF3C7;
    color: #92400E;
}

.rxph-service-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
    color: var(--rxph-text);
}

.rxph-service-hero__subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--rxph-text-light);
    margin: 0 0 1.5rem;
}

.rxph-service-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.rxph-service-hero__note {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--rxph-accent);
    font-weight: 500;
}

/* =========================================================================
   How It Works Steps
   ========================================================================= */

.rxph-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    counter-reset: step;
}

@media (min-width: 600px) {
    .rxph-steps { grid-template-columns: repeat(3, 1fr); }
}

.rxph-steps__item {
    text-align: center;
    position: relative;
}

.rxph-steps__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rxph-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.rxph-steps__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--rxph-radius-lg);
    background: var(--rxph-bg-alt);
    color: var(--rxph-primary);
    margin: 0 auto 1rem;
}

.rxph-steps__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.rxph-steps__desc {
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    line-height: 1.6;
    margin: 0;
}

/* =========================================================================
   Condition Cards (Pharmacy First)
   ========================================================================= */

.rxph-condition-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .rxph-condition-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .rxph-condition-grid { grid-template-columns: repeat(3, 1fr); }
}

.rxph-condition-card {
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 1.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rxph-condition-card:hover {
    border-color: var(--rxph-primary);
    box-shadow: var(--rxph-shadow);
}

.rxph-condition-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--rxph-radius);
    background: #EFF6FF;
    color: #005EB8;
    margin-bottom: 1rem;
}

.rxph-condition-card__name {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.rxph-condition-card__ages {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #005EB8;
    background: #EFF6FF;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
}

.rxph-condition-card__desc {
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    line-height: 1.5;
    margin: 0 0 1rem;
}

.rxph-condition-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rxph-primary);
    text-decoration: none;
}

.rxph-condition-card__cta:hover {
    text-decoration: underline;
}

/* =========================================================================
   Pricing Cards
   ========================================================================= */

.rxph-pricing__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .rxph-pricing__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
    .rxph-pricing__grid--cols-3,
    .rxph-pricing__grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .rxph-pricing__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
    .rxph-pricing__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.rxph-pricing__card {
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.rxph-pricing__card--highlight {
    border-color: var(--rxph-primary);
    box-shadow: 0 0 0 1px var(--rxph-primary);
}

.rxph-pricing__badge {
    position: absolute;
    top: -0.625rem;
    left: 1.25rem;
    background: var(--rxph-primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rxph-pricing__name {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.rxph-pricing__desc {
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
    margin: 0 0 1rem;
}

.rxph-pricing__price {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.rxph-pricing__amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--rxph-text);
}

.rxph-pricing__label {
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
}

.rxph-pricing__features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    flex: 1;
}

.rxph-pricing__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding: 0.375rem 0;
    color: var(--rxph-text);
}

.rxph-pricing__features li .rxph-icon {
    color: var(--rxph-accent);
    margin-top: 0.125rem;
}

/* =========================================================================
   Eligibility Section
   ========================================================================= */

.rxph-eligibility {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 600px) {
    .rxph-eligibility { grid-template-columns: repeat(2, 1fr); }
}

.rxph-eligibility__heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.rxph-eligibility__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rxph-eligibility__list li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.75rem;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--rxph-border);
}

.rxph-eligibility__list li::before {
    position: absolute;
    left: 0;
    top: 0.625rem;
    font-size: 1rem;
}

.rxph-eligibility__list--yes li::before {
    content: "\2713";
    color: var(--rxph-accent);
    font-weight: 700;
}

.rxph-eligibility__list--no li::before {
    content: "\2717";
    color: #DC2626;
    font-weight: 700;
}

.rxph-eligibility__note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    background: var(--rxph-bg-alt);
    border-radius: var(--rxph-radius);
    padding: 1rem;
    margin-top: 1.5rem;
}

/* =========================================================================
   Vaccine Pricing Table (Travel)
   ========================================================================= */

.rxph-vaccine-table {
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    overflow: hidden;
}

.rxph-vaccine-table__header {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 2fr auto;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: var(--rxph-bg-alt);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--rxph-text-light);
}

.rxph-vaccine-table__row {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 2fr auto;
    gap: 1rem;
    padding: 1rem 1.25rem;
    align-items: center;
    border-top: 1px solid var(--rxph-border);
    font-size: 0.875rem;
}

.rxph-vaccine-table__row:hover {
    background: var(--rxph-bg-alt);
}

.rxph-vaccine-table__price {
    font-weight: 700;
    color: var(--rxph-text);
    font-size: 1rem;
}

.rxph-vaccine-table__doses,
.rxph-vaccine-table__regions {
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
}

@media (max-width: 767px) {
    .rxph-vaccine-table__header {
        grid-template-columns: 2fr 1fr auto;
    }

    .rxph-vaccine-table__row {
        grid-template-columns: 2fr 1fr auto;
    }

    .rxph-vaccine-table__hide-mobile {
        display: none;
    }
}

/* Antimalarial Cards */
.rxph-antimalarial-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .rxph-antimalarial-cards { grid-template-columns: repeat(2, 1fr); }
}

.rxph-antimalarial-card {
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.rxph-antimalarial-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.rxph-antimalarial-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

/* =========================================================================
   Flu NHS / Private Split
   ========================================================================= */

.rxph-flu-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .rxph-flu-split { grid-template-columns: repeat(2, 1fr); }
}

.rxph-flu-split__col {
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.rxph-flu-split__col--nhs {
    border-color: #005EB8;
    border-width: 2px;
}

.rxph-flu-split__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.rxph-flu-split__badge--nhs { color: #005EB8; }
.rxph-flu-split__badge--private { color: var(--rxph-accent); }

.rxph-flu-split__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.rxph-flu-split__price {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.rxph-flu-split__features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    flex: 1;
}

.rxph-flu-split__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding: 0.375rem 0;
}

.rxph-flu-split__features .rxph-icon {
    color: var(--rxph-accent);
}

/* =========================================================================
   Related Services
   ========================================================================= */

.rxph-related-services .rxph-section__header {
    margin-bottom: 1.5rem;
}

/* =========================================================================
   Prose (content blocks)
   ========================================================================= */

.rxph-prose {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--rxph-text);
}

.rxph-prose p { margin: 0 0 1rem; }
.rxph-prose h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.rxph-prose h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; }
.rxph-prose ul, .rxph-prose ol { margin: 0 0 1rem; padding-left: 1.5rem; }
.rxph-prose li { margin-bottom: 0.375rem; }
