/* ============================================
   V4 HUB PAGE STYLES - PREMIUM DESIGN
   ============================================ */

/* HIDE WORDPRESS DEFAULT PAGE TITLE */
.hub-wrapper + .entry-title,
.entry-header .entry-title,
.page-header .entry-title,
.page-title,
article .entry-title,
.post-title,
h1.entry-title,
.entry-content > h1:first-child,
article > h1:first-child,
.page .entry-header,
.type-page .entry-header {
    display: none !important;
}

/* Hide any H1 before hub-wrapper */
h1:not(.hub-wrapper h1) {
    display: none !important;
}

/* BASE STYLES */
.hub-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ================== HERO SECTION ================== */
.hub-hero {
    background: linear-gradient(135deg, #7C4DFF 0%, #9575FF 50%, #08B2A5 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hub-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.hub-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(8, 178, 165, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.hub-hero-content {
    position: relative;
    z-index: 1;
}

.hub-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.hub-hero-subtitle {
    font-size: 1.25rem;
    margin: 0 0 2rem 0;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hub-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ================== STATS DASHBOARD ================== */
.stats-section {
    background: #F8F9FA;
    padding: 3rem 2rem;
}

.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(124, 77, 255, 0.15);
}

.stat-icon {
    font-size: 3rem;
    line-height: 1;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F3F0FF 0%, #E8F5E9 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #7C4DFF;
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* ================== FILTER BAR ================== */
.filter-section {
    background: white;
    padding: 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.filter-bar {
    max-width: 1400px;
    margin: 0 auto;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #E2D5FF;
    border-radius: 50px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #7C4DFF;
    box-shadow: 0 0 0 4px rgba(124, 77, 255, 0.1);
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    pointer-events: none;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.6rem 1.1rem;
    border: 2px solid #E2D5FF;
    background: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    color: #64748b;
    white-space: nowrap;
}

.filter-btn:hover {
    background: #F3F0FF;
    border-color: #7C4DFF;
    color: #7C4DFF;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #7C4DFF 0%, #9575FF 100%);
    border-color: #7C4DFF;
    color: white;
    box-shadow: 0 4px 12px rgba(124, 77, 255, 0.3);
}

/* ================== TOP 5 FEATURED SECTION ================== */
.top-5-section {
    background: linear-gradient(135deg, #F3F0FF 0%, #E8F5E9 100%);
    padding: 4rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 1rem 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.top-5-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ================== PHARMACY CARDS ================== */
.pharmacy-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pharmacy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(124, 77, 255, 0.2);
}

.rank-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.rank-badge-1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.rank-badge-2 {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
}

.rank-badge-3 {
    background: linear-gradient(135deg, #CD7F32 0%, #B8732B 100%);
}

.pharmacy-logo-container {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: #F8F9FA;
    border-radius: 12px;
    padding: 1rem;
}

.pharmacy-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pharmacy-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.pharmacy-logo-placeholder-icon {
    font-size: 2rem;
}

.pharmacy-logo-placeholder-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #7C4DFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pharmacy-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    text-align: center;
}

.pharmacy-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
    min-height: 32px;
}

.badge-pill {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-budget {
    background: #FFF9E6;
    color: #B8860B;
    border: 1px solid #FFE082;
}

.badge-fast {
    background: #E3F2FD;
    color: #1976D2;
    border: 1px solid #90CAF9;
}

.badge-transparent {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.badge-discount {
    background: #FCE4EC;
    color: #C2185B;
    border: 1px solid #F48FB1;
}

.badge-trusted {
    background: #F3E5F5;
    color: #7B1FA2;
    border: 1px solid #CE93D8;
}

.pharmacy-rating {
    text-align: center;
    margin-bottom: 1.5rem;
}

.star-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.star {
    font-size: 1.25rem;
    line-height: 1;
}

.star-full {
    color: #FFB300;
}

.star-half {
    color: #FFB300;
    opacity: 0.6;
}

.star-empty {
    color: #E0E0E0;
}

.rating-number {
    margin-left: 0.5rem;
    font-weight: 600;
    color: #64748b;
    font-size: 0.95rem;
}

.pharmacy-price {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #F3F0FF 0%, #E8F5E9 100%);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.price-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.price-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #08B2A5;
    display: block;
    line-height: 1;
}

.price-period {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.pharmacy-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.pharmacy-info-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #64748b;
}

.info-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pharmacy-card-cta {
    margin-top: auto;
}

.card-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #08B2A5 0%, #10B981 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(8, 178, 165, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #069B8F 0%, #0EA572 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 178, 165, 0.4);
}

.btn-secondary {
    background: white;
    color: #7C4DFF;
    border: 2px solid #7C4DFF;
}

.btn-secondary:hover {
    background: #7C4DFF;
    color: white;
}

/* ================== ALL PHARMACIES GRID ================== */
.all-pharmacies-section {
    padding: 4rem 2rem;
    background: white;
}

.pharmacies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pharmacy-card[data-category] {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pharmacy-card.hidden {
    display: none;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

/* ================== COMPARISON TABLE SECTION ================== */
.comparison-section {
    background: #F8F9FA;
    padding: 4rem 2rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 1400px;
    margin: 0 auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.comparison-table thead {
    background: linear-gradient(135deg, #7C4DFF 0%, #9575FF 100%);
    color: white;
}

.comparison-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    user-select: none;
}

.comparison-table th:hover {
    background: rgba(255, 255, 255, 0.1);
}

.comparison-table tbody tr {
    border-bottom: 1px solid #E2D5FF;
    transition: background 0.2s;
}

.comparison-table tbody tr:hover {
    background: #F3F0FF;
}

.comparison-table td {
    padding: 1.25rem 1rem;
}

.price-cell {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #08B2A5;
    font-size: 1.1rem;
}

.price-cell.cheapest {
    color: #16A34A;
    background: #E8F5E9;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
    .hub-hero {
        padding: 3rem 1.5rem;
    }
    
    .hub-hero h1 {
        font-size: 2rem;
    }
    
    .hub-hero-subtitle {
        font-size: 1rem;
    }
    
    .hub-hero-stats {
        gap: 1.5rem;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .stats-section {
        padding: 2rem 1rem;
    }
    
    .stats-dashboard {
        grid-template-columns: 1fr;
    }
    
    .filter-section {
        padding: 1.5rem 1rem;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .top-5-section,
    .all-pharmacies-section,
    .comparison-section {
        padding: 3rem 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .top-5-grid,
    .pharmacies-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .top-5-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pharmacies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* HIDE DEFAULT WP TITLE ON HUB PAGE */
body.page-id-2293 .page-header,
body.page-id-2293 .page-header *,
body.page-id-2293 .entry-title,
body.page-id-2293 .page-content > .entry-title,
body.page-id-2293 main#content > .page-header,
body.page-id-2293 main#content > .page-header *{
  display: none !important;
}

body.page-id-2293 main#content > .page-header{
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}


/* === HUB PURPOSE + UX PASS === */

body.page-id-2293 .hub-wrapper{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px 48px;
}

body.page-id-2293 .hub-hero{
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 34px 28px;
  margin: 8px 0 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.20), transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.12), transparent 30%),
    linear-gradient(135deg, #6b4eff 0%, #4c36c8 52%, #2563eb 100%);
  box-shadow: 0 24px 60px rgba(76,54,200,0.18);
}

body.page-id-2293 .hub-hero-content{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

body.page-id-2293 .hub-hero h1{
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #ffffff;
}

body.page-id-2293 .hub-hero-subtitle{
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: 1.03rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.94);
}

body.page-id-2293 .hub-hero-stats{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}

body.page-id-2293 .hero-stat{
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 16px 14px;
}

body.page-id-2293 .hero-stat-number{
  display: block;
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

body.page-id-2293 .hero-stat-label{
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.88);
}

body.page-id-2293 .section-header{
  max-width: 860px;
  margin: 0 auto 24px;
  text-align: center;
}

body.page-id-2293 .section-header h2{
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #1e1b4b;
}

body.page-id-2293 .section-subtitle{
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
}

body.page-id-2293 .top-5-section,
body.page-id-2293 .all-pharmacies-section{
  margin-top: 30px;
}

body.page-id-2293 .top-5-grid,
body.page-id-2293 .pharmacies-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}

body.page-id-2293 .pharmacy-card{
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe5f0;
  box-shadow: 0 14px 34px rgba(15,23,42,0.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body.page-id-2293 .pharmacy-card:hover{
  transform: translateY(-4px);
  border-color: #c7d5ea;
  box-shadow: 0 20px 42px rgba(15,23,42,0.09);
}

body.page-id-2293 .rank-badge{
  align-self: flex-start;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

body.page-id-2293 .pharmacy-logo-container{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e7edf5;
}

body.page-id-2293 .pharmacy-logo{
  max-height: 42px;
  width: auto;
  max-width: 78%;
  object-fit: contain;
}

body.page-id-2293 .pharmacy-logo-placeholder{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #64748b;
}

body.page-id-2293 .pharmacy-name{
  margin: 0 0 12px;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111827;
}

body.page-id-2293 .pharmacy-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

body.page-id-2293 .badge-pill{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 700;
}

body.page-id-2293 .pharmacy-rating{
  margin-bottom: 14px;
}

body.page-id-2293 .star-rating{
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-size: 0.98rem;
}

body.page-id-2293 .rating-number{
  margin-left: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
}

body.page-id-2293 .pharmacy-price{
  margin-bottom: 14px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8faff 0%, #eef4ff 100%);
  border: 1px solid #dbe7ff;
}

body.page-id-2293 .price-label{
  margin-bottom: 6px;
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748b;
}

body.page-id-2293 .price-amount{
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1d4ed8;
}

body.page-id-2293 .price-period{
  margin-top: 6px;
  font-size: 0.86rem;
  color: #475569;
}

body.page-id-2293 .pharmacy-info-list{
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 8px;
}

body.page-id-2293 .pharmacy-info-list li{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #334155;
}

body.page-id-2293 .info-icon{
  flex: 0 0 auto;
  font-size: 0.95rem;
}

body.page-id-2293 .pharmacy-card-cta{
  margin-top: auto;
}

body.page-id-2293 .card-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

body.page-id-2293 .hub-directory-note{
  box-shadow: 0 10px 26px rgba(15,23,42,0.04);
}

@media (max-width: 1180px){
  body.page-id-2293 .top-5-grid,
  body.page-id-2293 .pharmacies-grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  body.page-id-2293 .hub-hero-stats{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 768px){
  body.page-id-2293 .hub-wrapper{
    padding: 0 14px 36px;
  }

  body.page-id-2293 .hub-hero{
    padding: 22px 16px;
    border-radius: 20px;
    margin-bottom: 22px;
  }

  body.page-id-2293 .hub-hero h1{
    font-size: 1.75rem;
  }

  body.page-id-2293 .hub-hero-subtitle{
    font-size: 0.96rem;
    line-height: 1.6;
  }

  body.page-id-2293 .hub-hero-stats,
  body.page-id-2293 .top-5-grid,
  body.page-id-2293 .pharmacies-grid{
    grid-template-columns: 1fr;
  }

  body.page-id-2293 .pharmacy-card{
    padding: 18px;
    border-radius: 20px;
  }

  body.page-id-2293 .price-amount{
    font-size: 1.55rem;
  }
}


/* HIDE NATIVE WP PAGE TITLE ON HUB */
body.page-id-2293 .page-header,
body.page-id-2293 .page-header .entry-title{
  display: none !important;
}


/* === HUB CARD POLISH PASS === */

body.page-id-2293 .top-5-grid .card-btn{
  background: linear-gradient(135deg, #14b8a6 0%, #0f9f93 100%);
  color: #ffffff;
  border: 0;
  box-shadow: 0 10px 24px rgba(20,184,166,0.24);
}

body.page-id-2293 .top-5-grid .card-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(20,184,166,0.28);
}

body.page-id-2293 .pharmacies-grid .pharmacy-card{
  padding: 20px;
}

body.page-id-2293 .pharmacies-grid .badge-pill{
  font-size: 0.72rem;
  min-height: 28px;
  padding: 5px 9px;
}

body.page-id-2293 .pharmacies-grid .pharmacy-price{
  padding: 14px 14px 12px;
}

body.page-id-2293 .pharmacies-grid .price-amount{
  font-size: 1.55rem;
}

body.page-id-2293 .pharmacies-grid .pharmacy-info-list li{
  font-size: 0.85rem;
  line-height: 1.4;
}

body.page-id-2293 .pharmacies-grid .card-btn.btn-secondary{
  background: #ffffff;
  color: #2b176e;
  border: 1.5px solid #cfc6ff;
  box-shadow: 0 6px 18px rgba(43,23,110,0.06);
}

body.page-id-2293 .pharmacies-grid .card-btn.btn-secondary:hover{
  background: #f6f3ff;
  border-color: #9f8cff;
  transform: translateY(-2px);
}

body.page-id-2293 .pharmacy-logo-container{
  min-height: 78px;
}

body.page-id-2293 .pharmacy-name{
  font-size: 1.12rem;
}

body.page-id-2293 .pharmacy-badges{
  margin-bottom: 12px;
}

body.page-id-2293 .pharmacy-rating{
  margin-bottom: 12px;
}


/* === HUB DIRECTORY HIERARCHY PASS === */

body.page-id-2293 .top-5-grid{
  grid-template-columns: repeat(2, minmax(0,1fr));
  max-width: 860px;
  margin: 0 auto;
}

body.page-id-2293 .pharmacy-summary{
  margin: -2px 0 12px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #64748b;
}

body.page-id-2293 .pharmacies-grid .pharmacy-card{
  padding: 22px;
}

body.page-id-2293 .pharmacies-grid .card-btn.btn-secondary{
  background: #f8f7ff;
  color: #24186f;
  border: 1.5px solid #b8a8ff;
  box-shadow: 0 8px 20px rgba(43,23,110,0.08);
  font-weight: 800;
}

body.page-id-2293 .pharmacies-grid .card-btn.btn-secondary:hover{
  background: #efeaff;
  border-color: #8d78ff;
  box-shadow: 0 12px 24px rgba(43,23,110,0.12);
  transform: translateY(-2px);
}

body.page-id-2293 .pharmacies-grid .pharmacy-badges{
  gap: 7px;
}

body.page-id-2293 .pharmacies-grid .badge-pill{
  font-size: 0.7rem;
  padding: 5px 9px;
}

@media (max-width: 768px){
  body.page-id-2293 .top-5-grid{
    grid-template-columns: 1fr;
    max-width: none;
  }

  body.page-id-2293 .pharmacy-summary{
    font-size: 0.83rem;
  }
}


/* === HUB FINISHING PASS === */

body.page-id-2293 .top-5-section{
  margin-top: 34px;
  margin-bottom: 46px;
}

body.page-id-2293 .all-pharmacies-section{
  margin-top: 16px;
}

body.page-id-2293 .section-header{
  margin-bottom: 28px;
}

body.page-id-2293 .section-header h2{
  font-weight: 800;
  color: #22155f;
}

body.page-id-2293 .section-subtitle{
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #5b6474;
}

body.page-id-2293 .hub-directory-note{
  margin-bottom: 34px !important;
  padding: 22px 24px !important;
  background: linear-gradient(180deg, #fcfdff 0%, #f8faff 100%) !important;
  border: 1px solid #dfe7f2 !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 24px rgba(15,23,42,0.04);
}

body.page-id-2293 .pharmacies-grid{
  gap: 24px;
}

body.page-id-2293 .pharmacies-grid .pharmacy-card{
  border-radius: 22px;
  border: 1px solid #dde6f2;
  box-shadow: 0 10px 24px rgba(15,23,42,0.05);
}

body.page-id-2293 .pharmacies-grid .pharmacy-card:hover{
  box-shadow: 0 18px 34px rgba(15,23,42,0.08);
}

body.page-id-2293 .pharmacy-logo-container{
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body.page-id-2293 .pharmacy-name{
  margin-bottom: 8px;
  font-size: 1.14rem;
  font-weight: 800;
  color: #18212f;
}

body.page-id-2293 .pharmacy-summary{
  margin: 0 0 13px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #6a7280;
}

body.page-id-2293 .pharmacies-grid .badge-pill{
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: .01em;
}

body.page-id-2293 .pharmacy-rating{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.page-id-2293 .star-rating{
  font-size: 0.92rem;
}

body.page-id-2293 .rating-number{
  font-size: 0.84rem;
  color: #667085;
}

body.page-id-2293 .pharmacies-grid .pharmacy-price{
  margin-bottom: 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f9fcfb 0%, #eef8f4 100%);
  border: 1px solid #dcefe6;
}

body.page-id-2293 .pharmacies-grid .price-label{
  font-size: 0.72rem;
  color: #738091;
}

body.page-id-2293 .pharmacies-grid .price-amount{
  font-size: 1.5rem;
  color: #12907e;
}

body.page-id-2293 .pharmacies-grid .price-period{
  font-size: 0.8rem;
  color: #6a7280;
}

body.page-id-2293 .pharmacy-info-list{
  gap: 7px;
  margin-bottom: 14px;
}

body.page-id-2293 .pharmacy-info-list li{
  font-size: 0.82rem;
  color: #617080;
}

body.page-id-2293 .info-icon{
  opacity: 0.8;
}

body.page-id-2293 .pharmacies-grid .card-btn.btn-secondary{
  background: linear-gradient(180deg, #fbfaff 0%, #f3efff 100%);
  color: #26186e;
  border: 1.5px solid #b9abf8;
  box-shadow: 0 8px 18px rgba(38,24,110,0.08);
}

body.page-id-2293 .pharmacies-grid .card-btn.btn-secondary:hover{
  background: linear-gradient(180deg, #f3efff 0%, #ece5ff 100%);
  border-color: #8f7cff;
  box-shadow: 0 12px 24px rgba(38,24,110,0.12);
}

body.page-id-2293 .top-5-grid .pharmacy-card{
  box-shadow: 0 16px 36px rgba(15,23,42,0.08);
}

body.page-id-2293 .top-5-grid .pharmacy-name{
  font-size: 1.18rem;
}

body.page-id-2293 .top-5-grid .pharmacy-summary{
  display: none;
}

body.page-id-2293 .hub-methodology-section{
  max-width: 1100px;
  margin: 42px auto 50px;
}

body.page-id-2293 .hub-methodology-card{
  padding: 26px 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f8faff 0%, #f6f3ff 100%);
  border: 1px solid #dfe5f4;
  box-shadow: 0 12px 28px rgba(15,23,42,0.05);
}

body.page-id-2293 .hub-methodology-card h2{
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.15;
  color: #22155f;
}

body.page-id-2293 .hub-methodology-card p{
  margin: 0 0 14px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #4f5b6b;
}

body.page-id-2293 .hub-methodology-list{
  margin: 0;
  padding-left: 18px;
  color: #4f5b6b;
}

body.page-id-2293 .hub-methodology-list li{
  margin: 0 0 8px;
  line-height: 1.65;
}

@media (max-width: 768px){
  body.page-id-2293 .top-5-section{
    margin-bottom: 34px;
  }

  body.page-id-2293 .pharmacies-grid{
    gap: 18px;
  }

  body.page-id-2293 .hub-directory-note{
    padding: 18px 16px !important;
  }

  body.page-id-2293 .hub-methodology-section{
    margin: 32px auto 36px;
  }

  body.page-id-2293 .hub-methodology-card{
    padding: 20px 16px;
    border-radius: 18px;
  }
}


/* === HUB SVG POLISH PASS === */

body.page-id-2293 .hub-hero{
  isolation: isolate;
}

body.page-id-2293 .hub-hero::before,
body.page-id-2293 .hub-hero::after{
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

body.page-id-2293 .hub-hero::before{
  width: 240px;
  height: 240px;
  top: -90px;
  left: -70px;
  background: radial-gradient(circle, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.04) 55%, transparent 72%);
}

body.page-id-2293 .hub-hero::after{
  width: 320px;
  height: 320px;
  right: -110px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 58%, transparent 74%);
}

body.page-id-2293 .hub-hero-content{
  position: relative;
  z-index: 1;
}

body.page-id-2293 .hub-hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.96);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.page-id-2293 .hub-hero-eyebrow-icon{
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.page-id-2293 .hub-hero-eyebrow-icon svg{
  width: 16px;
  height: 16px;
}

body.page-id-2293 .hero-stat{
  position: relative;
  overflow: hidden;
}

body.page-id-2293 .hero-stat::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
  pointer-events: none;
}

body.page-id-2293 .section-icon-badge{
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3efff 0%, #ecf5ff 100%);
  border: 1px solid #dbe5f3;
  color: #4c36c8;
  box-shadow: 0 8px 20px rgba(76,54,200,0.08);
}

body.page-id-2293 .section-icon-badge svg{
  width: 20px;
  height: 20px;
}

body.page-id-2293 .top-5-grid .section-icon-badge,
body.page-id-2293 .all-pharmacies-section .section-icon-badge{
  margin-bottom: 10px;
}

body.page-id-2293 .hub-methodology-card{
  position: relative;
  overflow: hidden;
}

body.page-id-2293 .hub-methodology-card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #6b4eff 0%, #22c7e8 100%);
  border-radius: 0 4px 4px 0;
}

body.page-id-2293 .hub-methodology-icon{
  width: 48px;
  height: 48px;
  margin: 0 0 14px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f2edff 0%, #eef8ff 100%);
  border: 1px solid #dbe5f3;
  color: #4c36c8;
  box-shadow: 0 10px 24px rgba(76,54,200,0.08);
}

body.page-id-2293 .hub-methodology-icon svg{
  width: 22px;
  height: 22px;
}

body.page-id-2293 .hub-methodology-card h2{
  margin-top: 0;
}

body.page-id-2293 .hub-methodology-card p,
body.page-id-2293 .hub-methodology-list li{
  font-size: 1rem;
}

body.page-id-2293 .hub-methodology-section{
  margin-bottom: 62px;
}

body.page-id-2293 .pharmacies-grid .card-btn.btn-secondary{
  background: linear-gradient(180deg, #f7f4ff 0%, #efeaff 100%);
  color: #21145d;
  border: 1.5px solid #ae9df6;
  box-shadow: 0 10px 20px rgba(33,20,93,0.08);
}

body.page-id-2293 .pharmacies-grid .card-btn.btn-secondary:hover{
  background: linear-gradient(180deg, #f0e9ff 0%, #e7deff 100%);
  color: #1c1252;
  border-color: #836cf2;
}

body.page-id-2293 .pharmacy-summary{
  color: #556070;
  font-weight: 500;
}

@media (max-width: 768px){
  body.page-id-2293 .hub-hero-eyebrow{
    font-size: 0.72rem;
    padding: 6px 10px;
  }

  body.page-id-2293 .section-icon-badge{
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  body.page-id-2293 .hub-methodology-icon{
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  body.page-id-2293 .hub-methodology-section{
    margin-bottom: 44px;
  }
}


/* === HUB ICON SIZE FIX === */

/* Hero eyebrow only */
body.page-id-2293 .hub-hero-eyebrow{
  margin-bottom: 10px;
}

body.page-id-2293 .hub-hero::before,
body.page-id-2293 .hub-hero::after{
  opacity: 0.72;
}

/* If any standalone SVG was injected into the hero content, hide it */
body.page-id-2293 .hub-hero-content > svg{
  display: none !important;
}

/* Only size intentional hero icon wrapper classes */
body.page-id-2293 .hub-hero-content .hub-hero-main-icon,
body.page-id-2293 .hub-hero-content .hub-hero-icon,
body.page-id-2293 .hub-hero-content .hub-hero-graphic,
body.page-id-2293 .hub-hero-content .hub-hero-shield{
  width: 92px !important;
  height: 92px !important;
  max-width: 92px !important;
  max-height: 92px !important;
  margin: 0 auto 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.page-id-2293 .hub-hero-content .hub-hero-main-icon svg,
body.page-id-2293 .hub-hero-content .hub-hero-icon svg,
body.page-id-2293 .hub-hero-content .hub-hero-graphic svg,
body.page-id-2293 .hub-hero-content .hub-hero-shield svg{
  width: 100% !important;
  height: 100% !important;
}

/* Section icons */
body.page-id-2293 .section-icon-badge{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  margin-bottom: 10px;
}

body.page-id-2293 .section-icon-badge svg{
  width: 18px;
  height: 18px;
}

/* Hide any accidental standalone SVG above methodology content */
body.page-id-2293 .hub-methodology-card > svg{
  display: none !important;
}

/* Only size the intended methodology icon wrapper */
body.page-id-2293 .hub-methodology-icon{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  margin: 0 0 10px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.page-id-2293 .hub-methodology-icon svg{
  width: 18px;
  height: 18px;
}

body.page-id-2293 .hub-methodology-card{
  padding-top: 22px;
}

@media (max-width: 768px){
  body.page-id-2293 .hub-hero-content .hub-hero-main-icon,
  body.page-id-2293 .hub-hero-content .hub-hero-icon,
  body.page-id-2293 .hub-hero-content .hub-hero-graphic,
  body.page-id-2293 .hub-hero-content .hub-hero-shield{
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    margin-bottom: 12px !important;
  }

  body.page-id-2293 .section-icon-badge{
    width: 34px;
    height: 34px;
  }

  body.page-id-2293 .section-icon-badge svg{
    width: 16px;
    height: 16px;
  }

  body.page-id-2293 .hub-methodology-icon{
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
  }

  body.page-id-2293 .hub-methodology-icon svg{
    width: 16px;
    height: 16px;
  }
}


/* === HUB PAGE HEADER HIDE === */

body.page-id-2293 main#content > .page-header,
body.page-id-2293 main#content > .page-header .entry-title{
  display: none !important;
}


/* === HUB RAW SVG WRAPPER FIX === */

/* Hide accidental raw SVGs and paragraph-wrapped SVGs in hero */
body.page-id-2293 .hub-hero-content > svg,
body.page-id-2293 .hub-hero-content > p > svg,
body.page-id-2293 .hub-hero-content > p:has(> svg){
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

/* Hide accidental raw SVGs and paragraph-wrapped SVGs in methodology */
body.page-id-2293 .hub-methodology-card > svg,
body.page-id-2293 .hub-methodology-card > p > svg,
body.page-id-2293 .hub-methodology-card > p:has(> svg){
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

/* Also collapse empty paragraph wrappers created around hidden SVGs */
body.page-id-2293 .hub-hero-content > p:empty,
body.page-id-2293 .hub-methodology-card > p:empty{
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Keep only the intended icon wrappers visible and small */
body.page-id-2293 .hub-hero-eyebrow-icon{
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  line-height: 1 !important;
}

body.page-id-2293 .hub-hero-eyebrow-icon svg{
  width: 16px !important;
  height: 16px !important;
  display: block !important;
}

body.page-id-2293 .hub-methodology-icon{
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  line-height: 1 !important;
}

body.page-id-2293 .hub-methodology-icon svg{
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}


/* === HUB REVIEW LINE === */

body.page-id-2293 .hub-methodology-review-line{
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(76,54,200,0.12);
  font-size: 0.92rem;
  line-height: 1.65;
  color: #5c6676;
}

