@charset "utf-8";
/* Fonts loaded via wp_enqueue_style in functions.php — no @import needed here */

/* ===== DESIGN TOKENS ===== */
:root {
    /* ---- Design system (homepage) ---- */
    --om-navy:        #030D4E;
    --om-blue:        #0369A1;
    --om-blue-hover:  #024f7a;
    --om-teal:        #2EBFB0;
    --om-yellow:      #F8A01C;
    --om-yellow-dot:  #FBC02D;
    --om-success:     #15803D;
    --om-success-bg:  #F0FDF4;
    --om-bg:          #F4F5FF;
    --om-line:        #E3DBD8;
    --om-ink:         #000000;
    --om-ink-2:       #333333;
    --om-ink-3:       #727586;
    --om-surface:     #ffffff;

    /* ---- Legacy tokens (header, footer, Why Us, Blog, FAQ) — do not remove ---- */
    --om-teal-dark:   #0d9488;   /* old teal shade — preserved for any legacy rules */
    --om-amber:       #E8753A;
    --om-navy-dark:   #1a2547;
    --om-warm-bg:     #FDF6EF;
    --om-warm-bg-alt: #fff8f2;
    --om-teal-light:  #f0fdfa;
    --om-green:       #15803D;
    --om-footer-bg:   #F0FDF4;
    --om-border:      #E3DBD8;
    --om-text-muted:  #5a4f45;
    --om-text-light:  #9b8f80;
}

/* ===== BASE RESET ===== */
/* Scoped to homepage sections only — avoids leaking Inter into Woodmart/Elementor shop pages */
#om-utility-bar,
#bannersection,
#ourcatgry,
#categrysection,
#om-trust-strip,
#reviews-section,
.section {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#bannersection h1, #bannersection h2, #bannersection h3,
#ourcatgry h2, #ourcatgry h3,
#categrysection h2, #categrysection h3,
#om-trust-strip h2, #om-trust-strip h3,
#reviews-section h2, #reviews-section h3,
.section h1, .section h2, .section h3, .section h4 {
    margin: 0;
    padding: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
p { margin: 0; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
ul li { margin: 0; padding: 0; }
a { text-decoration: none; transition: all 0.3s ease; }
.btn { text-decoration: none; transition: all 0.3s ease; }

/* ===== SHARED SECTION PATTERNS ===== */
.section-inner { max-width: 1320px; margin: 0 auto; }
.section-head { text-align: center; padding: 0 0 24px; }
.section-head.left { text-align: left; padding: 0; max-width: 720px; }
.section-head h2 { font-size: 28px; font-weight: 700; color: var(--om-navy); letter-spacing: -0.01em; margin-bottom: 6px; }
.section-head .lede { font-size: 14px; color: var(--om-ink-3); margin: 0; line-height: 1.55; }
.section-lede { font-size: 14px; color: var(--om-ink-3); margin-bottom: 0; }
/* Scoped to homepage containers — prevents accidental styling of .eyebrow in plugins/Elementor */
#bannersection .eyebrow,
#ourcatgry .eyebrow,
#categrysection .eyebrow,
#om-trust-strip .eyebrow,
#reviews-section .eyebrow,
.section .eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--om-blue);
    margin: 0 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
#bannersection .eyebrow::before,
.section .eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--om-blue);
    display: inline-block;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== PROMO BAR ===== */
#om-utility-bar {
    background: var(--om-navy);
    padding: 8px 16px;
}
.promo-bar-inner {
    max-width: 1320px;
    margin: 0 auto;
    text-align: center;
    font-size: 13px;
    color: #fff;
    letter-spacing: 0.02em;
}
.promo-bar-inner .promo-highlight {
    color: var(--om-yellow);
    font-weight: 700;
}
/* Legacy utility classes — keep for HTML that may reference them */
.utility-inner { display: none; }

/* ===== HERO SECTION ===== */
#bannersection {
    background: linear-gradient(180deg, var(--om-bg) 0%, #fff 100%);
    padding: 64px 50px 64px;
}
.banner-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    max-width: 1320px;
    margin: 0 auto;
}
.banner-left { padding-bottom: 0; }
.banner-left h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--om-navy);
    line-height: 1.05;
    letter-spacing: -0.02em;
    padding: 0 0 16px;
    max-width: 560px;
}
.banner-left h1 em {
    font-style: normal;
    color: var(--om-blue);
}
.banner-sub {
    font-size: 17px;
    color: var(--om-ink-3);
    line-height: 1.55;
    padding-bottom: 24px;
    max-width: 480px;
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.hero-btn-primary {
    display: inline-block;
    background: var(--om-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid var(--om-blue);
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.hero-btn-primary:hover {
    background: var(--om-navy);
    border-color: var(--om-navy);
    color: #fff;
}
.hero-btn-outline {
    display: inline-block;
    background: #fff;
    color: var(--om-navy);
    font-size: 15px;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid var(--om-blue);
    transition: background 0.2s;
    white-space: nowrap;
}
.hero-btn-outline:hover { background: var(--om-success-bg); }

/* Hero trust stats */
.hero-stats {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}
.hero-stat-num {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--om-navy);
    line-height: 1.2;
}
.hero-stat-label {
    display: block;
    font-size: 12px;
    color: var(--om-ink-3);
}

/* Hero right — pharmacist image */
.hero-banner-img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin-left: auto;
    border-radius: 24px;
    object-fit: cover;
}
.hero-card-steps {
    display: flex;
    gap: 8px;
}
.hero-step {
    flex: 1;
    background: var(--om-success-bg);
    border-radius: 10px;
    padding: 10px;
}
.hero-step-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--om-success);
    display: block;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}
.hero-step-body {
    font-size: 12px;
    font-weight: 600;
    color: var(--om-navy);
}

/* ===== STATS BAR — removed from design, hidden ===== */
#statsbar { display: none; }

/* ===== HOW IT WORKS ===== */
.how { background: #fff; border-top: 1px solid var(--om-line); padding: 56px 50px; }
.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
}
.how-card {
    background: #fff;
    border: 1px solid var(--om-line);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color .2s ease-out;
}
.how-card:hover { border-color: #c4c7d4; }
.how-art {
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--om-navy);
    font-size: 44px;
}
.how-art.a1 { background: linear-gradient(135deg,#eef3fb,#dde7f4); }
.how-art.a2 { background: linear-gradient(135deg,#eef0ff,#dde2f7); color: var(--om-blue); }
.how-art.a3 { background: linear-gradient(135deg,#ecfdf5,#d1fae5); color: var(--om-success); }
.how-art.a4 { background: linear-gradient(135deg,#fff6e6,#fde5b8); color: var(--om-yellow); }
.how-art::before {
    content: attr(data-n);
    position: absolute;
    inset: auto auto 0 -8px;
    font-size: 112px;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: rgba(3,13,78,0.06);
    pointer-events: none;
}
.how-card .step-chip {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--om-navy);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}
.how-card .step-chip b { color: var(--om-yellow); font-weight: 700; margin-right: 2px; }
.how-body { padding: 18px 20px 22px; }
.how-body h3 { font-size: 16px; font-weight: 700; color: var(--om-navy); letter-spacing: -0.005em; margin: 0 0 6px; }
.how-body p { font-size: 13px; color: var(--om-ink-3); line-height: 1.55; margin: 0; }
.how-flow { display: none; }
.how-flow span {
    width: 28px; height: 28px;
    background: #fff;
    border: 1px solid var(--om-line);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--om-blue);
    font-size: 13px;
    transform: translateX(50%);
}

/* ===== CATEGORIES ===== */
#ourcatgry {
    background: #fff;
    padding: 56px 50px;
}
#ourcatgry .container { max-width: 1320px; margin: 0 auto; }
.catgry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.catgry-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid var(--om-line);
    border-radius: 20px;
    padding: 18px 20px;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s;
}
.catgry-card img { display: none; }
.catgry-card-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--om-navy);
    margin: 0;
}
.catgry-card p {
    font-size: 15px;
    font-weight: 700;
    color: var(--om-navy);
    margin: 0;
    flex: 1;
}
.catgry-chevron { display: none; } /* removed per design */
.catgry-card:hover { background: var(--om-success); border-color: var(--om-success); }
.catgry-card:hover p { color: #fff; }

/* ===== FEATURED PRODUCTS ===== */
#categrysection {
    background: #fff;
    padding: 0 50px 56px;
}
#categrysection .container { max-width: 1320px; margin: 0 auto; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.produtbx {
    background: #fff;
    border: 1px solid var(--om-line);
    border-radius: 20px;
    padding: 16px;
    position: relative;
    transition: border-color 0.2s;
}
.produtbx:hover { border-color: #c4c7d4; }
.produtbx .prod-img-wrap {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.produtbx .prod-img-wrap img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
}
/* Product tag — top-left, SALE=navy, RX=amber-tint */
.prod-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 9px;
    border-radius: 6px;
}
.prod-tag.sale { background: var(--om-navy); color: #fff; }
.prod-tag.rx   { background: #FEF3C7; color: #92400E; }
/* Legacy badge — hide, replaced by prod-tag */
.prod-badge { display: none; }

.prod-mol {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--om-blue);
    letter-spacing: 0.04em;
    margin: 12px 0 0;
}
.prod-info { padding: 4px 0 0; }
.prod-info .prod-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--om-navy);
    line-height: 1.25;
    margin: 4px 0 2px;
}
.prod-info .prod-meta {
    font-size: 12px;
    color: var(--om-ink-3);
    margin-bottom: 0;
}
.prod-info .prod-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--om-navy);
    margin: 10px 0 10px;
}
.prod-info .prod-price s { color: var(--om-ink-3); font-size: 12px; font-weight: 400; }
.prod-info .prod-price span { color: var(--om-ink-3); font-size: 12px; font-weight: 400; }
.prod-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #fff;
    color: var(--om-navy);
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    padding: 9px 0;
    border-radius: 12px;
    border: 1px solid var(--om-blue);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.prod-btn:hover { background: var(--om-navy); border-color: var(--om-navy); color: #fff; }

/* ===== TRUST STRIP ===== */
#promise-section {
    background: var(--om-navy);
    padding: 40px 50px;
}
#promise-section .container { max-width: 1320px; margin: 0 auto; }
#promise-section .section-head { display: none; }
.promise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.promise-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 24px;
    transition: background 0.2s;
}
.promise-card:hover { background: rgba(255,255,255,0.13); }
.promise-card .bi {
    font-size: 26px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 10px;
    display: block;
}
.promise-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.2;
}
.promise-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* ===== WHY ONLINEMEDS ===== */
.why { background: var(--om-bg); padding: 56px 50px; }
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: stretch;
}
.why-copy { display: flex; flex-direction: column; justify-content: center; }
.why-copy h2 { font-size: 28px; font-weight: 700; color: var(--om-navy); letter-spacing: -0.01em; margin: 0 0 12px; }
.why-copy > p { font-size: 14px; color: var(--om-ink-3); line-height: 1.6; margin: 0 0 24px; max-width: 520px; }
.why-list {
    list-style: none; margin: 0; padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.why-list li {
    background: #fff;
    border: 1px solid var(--om-line);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: border-color .2s ease-out;
}
.why-list li:hover { border-color: #c4c7d4; }
.why-list .ico-wrap {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: var(--om-success-bg);
    color: var(--om-success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}
.why-list strong { font-size: 14px; font-weight: 700; color: var(--om-navy); display: block; margin-bottom: 4px; }
.why-list span { font-size: 13px; color: var(--om-ink-3); line-height: 1.5; }
/* Navy credential card */
.cert {
    background: var(--om-navy);
    color: #fff;
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.cert::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(640px 240px at 100% 0%, rgba(46,191,176,.18), transparent 60%),
        radial-gradient(420px 320px at 0% 100%, rgba(3,105,161,.55), transparent 65%);
    pointer-events: none;
}
.cert-inner { position: relative; }
.cert-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.cert-badge {
    font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--om-yellow);
    display: inline-flex; align-items: center; gap: 6px;
}
.cert-badge::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--om-yellow);
    box-shadow: 0 0 0 4px rgba(248,160,28,0.18);
}
.cert-seal {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(46,191,176,0.15);
    color: var(--om-teal);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.cert-hero { margin: 14px 0 8px; }
.cert-hero .num { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.cert-hero .num small { font-size: 22px; color: var(--om-teal); font-weight: 700; margin-left: 4px; }
.cert-hero .sub { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 6px; }
.cert-divider { height: 1px; background: rgba(255,255,255,0.12); margin: 22px 0; }
.cert-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.cert-mini > div { display: flex; align-items: center; gap: 12px; }
.cert-mini .m-ico {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--om-yellow); font-size: 16px; flex-shrink: 0;
}
.cert-mini .m-num { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -0.01em; line-height: 1.15; }
.cert-mini .m-num .star { color: var(--om-yellow); font-weight: 700; margin-left: 2px; }
.cert-mini .m-lbl { font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-top: 2px; }
.cert-foot {
    margin-top: 22px; padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; gap: 10px;
    font-size: 12px; color: rgba(255,255,255,0.7);
}
.cert-foot .bi { color: var(--om-teal); font-size: 14px; }

/* ===== TESTIMONIAL SECTION ===== */
/* ===== TESTIMONIAL SLIDER ===== */
#reviews-section {
    background: var(--om-bg);
    padding: 56px 50px;
}
#reviews-section .container { max-width: 1320px; margin: 0 auto; }
#reviews-section .section-head { display: block; text-align: center; padding-bottom: 36px; }

/* Slider wrapper */
.tslider {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    /* overflow visible so arrow buttons can extend outside the card area */
}
.tslider-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 22px; /* matches card radius so no flash on slide */
}
.tslider-track {
    display: flex;
    width: 100%; /* definite size so slide % resolves to 860px */
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.tslider-slide {
    flex: 0 0 100%; /* 100% of track's definite 860px width */
    width: 100%;
    overflow: hidden; /* safety: clip any card overflow at slide boundary */
    box-sizing: border-box;
}

/* Card */
.testimonial-card {
    background: #fff;
    border: 1px solid var(--om-line);
    border-radius: 20px;
    padding: 36px 36px 32px 124px;
    position: relative;
    min-height: 160px;
}
.testimonial-avatar {
    position: absolute;
    left: 32px;
    top: 36px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--om-navy), var(--om-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}
.testimonial-stars {
    display: block;
    color: var(--om-yellow);
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 12px;
}
.testimonial-quote {
    font-size: 18px;
    font-weight: 500;
    color: var(--om-navy);
    line-height: 1.5;
    margin-bottom: 18px;
    word-break: break-word;
    overflow-wrap: break-word;
}
.testimonial-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--om-navy);
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.testimonial-location {
    font-weight: 400;
    color: var(--om-ink-3);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Prev / Next buttons — removed from HTML, hidden via CSS */
.tslider-btn { display: none; }
.tslider-prev { display: none; }
.tslider-next { display: none; }

/* Dots */
.tslider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.tslider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--om-line);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.tslider-dot.active {
    background: var(--om-navy);
    transform: scale(1.4);
}

/* Legacy review grid — hidden */
.reviews-grid { display: none; }
.review-card, .review-stars, .review-text, .review-author, .review-location { display: none; }

/* ===== HEALTH LIBRARY ===== */
.lib { background: #fff; padding: 56px 50px; }
.lib-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 32px;
    gap: 24px;
}
.lib-head-row .section-head { text-align: left; padding: 0; }
.lib-all {
    font-size: 13px; font-weight: 600; color: var(--om-blue);
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid var(--om-line);
    padding: 10px 16px; border-radius: 12px;
    transition: background .2s, color .2s, border-color .2s;
    flex-shrink: 0;
}
.lib-all:hover { background: var(--om-success-bg); color: var(--om-success); border-color: var(--om-success); }
.lib-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.lib-side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.lib-card {
    background: #fff;
    border: 1px solid var(--om-line);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .2s ease-out;
    text-decoration: none;
}
.lib-card:hover { border-color: #c4c7d4; }
.lib-card:hover h3 { color: var(--om-blue); }
.lib-feat .lib-thumb { height: 320px; }
.lib-feat .lib-body { padding: 24px 26px 26px; }
.lib-feat h3 { font-size: 22px; line-height: 1.25; }
.lib-feat .lib-summary { font-size: 14px; color: var(--om-ink-3); line-height: 1.55; margin: 8px 0 0; }
.lib-compact { flex-direction: row; }
.lib-compact .lib-thumb { width: 180px; height: auto; min-height: 100%; flex-shrink: 0; }
.lib-compact .lib-body { padding: 18px 20px; }
.lib-compact h3 { font-size: 15px; line-height: 1.35; }
.lib-thumb {
    background: linear-gradient(135deg,#eef3fb,#dde7f4);
    position: relative;
    display: flex; align-items: center; justify-content: center;
    color: rgba(3,13,78,.22); font-size: 52px;
}
.lib-thumb.warm  { background: linear-gradient(135deg,#fff6e6,#fde5b8); color: rgba(248,160,28,.55); }
.lib-thumb.green { background: linear-gradient(135deg,#ecfdf5,#d1fae5); color: rgba(21,128,61,.42); }
.lib-thumb.lilac { background: linear-gradient(135deg,#eef0ff,#dde2f7); color: rgba(3,13,78,.22); }
.lib-pill {
    position: absolute; top: 16px; left: 16px;
    font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 6px;
    background: var(--om-blue); color: #fff;
}
.lib-feat .lib-pill { top: 20px; left: 20px; padding: 5px 12px; }
.lib-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lib-card h3 { font-weight: 700; color: var(--om-navy); letter-spacing: -0.005em; margin: 0; transition: color .2s ease-out; }
.lib-author { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--om-line); }
.lib-feat .lib-author { padding-top: 18px; margin-top: 18px; }
.lib-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg,#eef3fb,#dde7f4);
    color: var(--om-navy);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.lib-avatar.b { background: linear-gradient(135deg,#fff6e6,#fde5b8); color: #92400E; }
.lib-avatar.c { background: linear-gradient(135deg,#ecfdf5,#d1fae5); color: var(--om-success); }
.lib-author-info { display: flex; flex-direction: column; line-height: 1.2; }
.lib-author-info b { font-size: 12px; font-weight: 700; color: var(--om-navy); }
.lib-author-info span { font-size: 11px; color: var(--om-ink-3); }
.lib-meta { margin-left: auto; font-size: 11px; color: var(--om-ink-3); text-align: right; line-height: 1.3; }

/* ===== FAQ SECTION ===== */
.faq { background: var(--om-navy); color: #fff; position: relative; overflow: hidden; padding: 56px 50px; }
.faq::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(900px 360px at 100% 0%, rgba(3,105,161,.35), transparent 60%),
        radial-gradient(640px 360px at 0% 100%, rgba(46,191,176,.12), transparent 65%);
    pointer-events: none;
}
.faq .section-inner { position: relative; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
/* Pharmacist sidebar */
.pharm {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 28px;
    position: sticky;
    top: 24px;
}
.pharm .eyebrow { color: var(--om-yellow); margin-bottom: 18px; }
.pharm .eyebrow::before { background: var(--om-yellow); }
.pharm h3 { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 8px; }
.pharm > p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; margin: 0 0 22px; }
.pharm-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px; border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 18px;
}
.pharm-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg,#eef0ff,#dde2f7);
    color: var(--om-navy);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; flex-shrink: 0; position: relative;
}
.pharm-avatar::after {
    content: ""; position: absolute; right: -1px; bottom: -1px;
    width: 12px; height: 12px;
    background: var(--om-success); border-radius: 50%;
    border: 2px solid var(--om-navy);
}
.pharm-card .info b { font-size: 14px; font-weight: 700; color: #fff; display: block; line-height: 1.2; }
.pharm-card .info span { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 2px; display: block; }
.pharm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; background: var(--om-yellow); color: var(--om-navy);
    font-size: 14px; font-weight: 700; padding: 13px 18px;
    border-radius: 12px; border: none; transition: background .2s ease-out;
    cursor: pointer; font-family: inherit; text-decoration: none;
}
.pharm-btn:hover { background: #ffb43e; }
.pharm-sec {
    width: 100%; margin-top: 10px; background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 13px; font-weight: 600; padding: 11px 18px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: border-color .2s ease-out, color .2s ease-out;
    cursor: pointer; font-family: inherit;
}
.pharm-sec:hover { border-color: var(--om-yellow); color: var(--om-yellow); }
/* FAQ column */
.faq-col .eyebrow { color: var(--om-yellow); }
.faq-col .eyebrow::before { background: var(--om-yellow); }
.faq-col h2 { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: -0.01em; margin: 0 0 8px; }
.faq-col .lede { font-size: 14px; color: rgba(255,255,255,0.65); margin: 0 0 24px; line-height: 1.55; max-width: 580px; }
details.faq-item {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 18px 20px;
    transition: background .2s ease-out, border-color .2s ease-out;
    margin-bottom: 10px;
}
details.faq-item:hover { background: rgba(255,255,255,0.11); }
details.faq-item[open] { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.18); }
details.faq-item summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.92); line-height: 1.4;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::marker { content: ""; }
.faq-qico {
    width: 28px; height: 28px; border-radius: 8px;
    background: rgba(46,191,176,0.12); color: var(--om-teal);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
}
.faq-qrow { display: flex; align-items: center; gap: 14px; flex: 1; }
.faq-icon { color: var(--om-yellow); font-size: 16px; flex-shrink: 0; transition: transform .25s ease-out; line-height: 1; }
details.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-ans {
    margin-top: 14px; padding-top: 14px; padding-left: 42px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.72);
}

/* ===== FOOTER ===== */
#om-footer {
    background: var(--om-footer-bg);
    padding: 48px 32px 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 32px;
}
.footer-brand-col .footer-tagline { font-size: 13px; color: var(--om-text-muted); line-height: 1.6; margin: 10px 0 14px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.footer-contact a { font-size: 12px; color: var(--om-text-muted); display: flex; align-items: center; gap: 6px; text-decoration: none; }
.footer-contact a:hover { color: var(--om-navy); }
.footer-col-title { font-family: "Lexend", sans-serif; font-size: 13px; font-weight: 700; color: var(--om-navy); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a { font-size: 12px; color: var(--om-text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--om-navy); }
.footer-newsletter {
    background: var(--om-navy);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 24px;
    flex-wrap: wrap;
}
.footer-newsletter-headline { font-size: 14px; font-weight: 700; color: #fff; flex: 1; }
.footer-newsletter-form { display: flex; gap: 8px; flex: 2; }
.footer-newsletter-form input { flex: 1; border: none; border-radius: 6px; padding: 9px 14px; font-size: 13px; outline: none; font-family: "Source Sans 3", sans-serif; }
.footer-newsletter-form button {
    background: var(--om-amber);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: "Lexend", sans-serif;
    transition: background 0.2s;
    white-space: nowrap;
}
.footer-newsletter-form button:hover { background: #d4632a; }
.footer-newsletter-coming-soon {
    font-size: 13px;
    color: rgba(43,58,107,0.6);
    font-style: italic;
    margin: 0;
}
.footer-copyright { border-top: 1px solid #d1fae5; padding: 16px 32px; }
.footer-copyright-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-copyright-left { font-size: 12px; color: var(--om-text-muted); }
.footer-copyright-right { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--om-text-muted); }
.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.footer-social a {
    width: 32px;
    height: 32px;
    background: var(--om-navy);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}
.footer-social a:hover { background: var(--om-amber); }

/* ===== LEGACY COMPAT ===== */
.head { padding: 25px 0; }
.head p { text-align: center; font-size: 11px; font-weight: 800; color: var(--om-amber); text-transform: uppercase; letter-spacing: 1.5px; }
.head h2 { font-size: 26px; color: var(--om-navy); font-weight: 800; text-align: center; }
.iconser { text-align: center; }
.detlbx { padding: 10px 5px 0; }
.fotrhed h1, .footrlink h1 { font-size: 13px; font-weight: 700; color: var(--om-navy); }
.fotrhed ul li a, .footrlink ul li a { font-size: 12px; color: var(--om-text-muted); }
#footer { background: var(--om-footer-bg); }
.rx-notice { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; color: #374151; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 10px 14px; margin-top: 14px; line-height: 1.5; }

/* ===== RESPONSIVE ===== */

/* ≤1100px — how-grid 2-col, lib-grid 1-col */
@media (max-width: 1100px) {
    .how-grid { grid-template-columns: repeat(2, 1fr); }
    .how-flow { display: none; }
    .lib-grid { grid-template-columns: 1fr; }
    .lib-side { grid-template-rows: auto auto; }
}

/* ≤980px — single column, section padding reduced */
@media (max-width: 980px) {
    /* Promo bar */
    #om-utility-bar { display: none; }

    /* Hero */
    .banner-inner { grid-template-columns: 1fr; }
    .hero-banner-img { max-width: 280px; margin: 0 auto; }
    .banner-left h1 { font-size: 32px; }
    #bannersection { padding: 40px 20px 40px; }

    /* Categories */
    .catgry-grid { grid-template-columns: repeat(2, 1fr); }
    #ourcatgry { padding: 28px 20px; }

    /* Products */
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .produtbx { display: block; }
    #categrysection { padding: 0 20px 28px; }

    /* Trust strip */
    .promise-grid { grid-template-columns: repeat(2, 1fr); }
    #promise-section { padding: 28px 20px; }

    /* Testimonial slider */
    .tslider-prev { left: -12px; }
    .tslider-next { right: -12px; }
    .testimonial-card { padding: 28px 24px 24px 96px; }
    .testimonial-avatar { width: 52px; height: 52px; font-size: 18px; left: 24px; top: 28px; }
    .testimonial-quote { font-size: 16px; }
    #reviews-section { padding: 28px 20px; }

    /* How It Works */
    .how { padding: 28px 20px; }

    /* Why OnlineMeds */
    .why { padding: 28px 20px; }
    .why-grid { grid-template-columns: 1fr; gap: 28px; }
    .why-list { grid-template-columns: 1fr; }

    /* Health Library */
    .lib { padding: 28px 20px; }

    /* FAQ */
    .faq { padding: 28px 20px; }
    .faq-grid { grid-template-columns: 1fr; gap: 24px; }
    .pharm { position: static; }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand-col { grid-column: 1 / -1; }
    .footer-newsletter { flex-direction: column; }
    .footer-newsletter-form { width: 100%; }
    #om-footer { padding: 28px 20px 0; }

    /* iOS zoom prevention */
    .footer-newsletter-form input { font-size: 16px; }

    /* Tap targets */
    .footer-social a { width: 44px; height: 44px; }
}

/* ≤720px — mobile single column */
@media (max-width: 720px) {
    .how-grid { grid-template-columns: 1fr; }
    .cert-mini { grid-template-columns: 1fr; }
    .lib-compact { flex-direction: column; }
    .lib-compact .lib-thumb { width: 100%; height: 160px; }
    .lib-feat .lib-thumb { height: 220px; }
    .lib-head-row { flex-direction: column; align-items: flex-start; }
    .section-head h2, .faq-col h2, .why-copy h2 { font-size: 24px; }
    .cert-hero .num { font-size: 44px; }
}

@media (max-width: 480px) {
    .catgry-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: 1fr; }
    .promise-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-brand-col { grid-column: auto; }
    .hero-ctas { flex-direction: column; }
    .hero-btn-primary, .hero-btn-outline { width: 100%; text-align: center; }
    .banner-left h1 { font-size: 26px; }
    .testimonial-card { padding: 24px; min-height: auto; }
    .testimonial-avatar { display: none; }
    .tslider-btn { display: none; }
    .tslider-slide { padding: 0; }
}

/* ============================================================
   FOOTER — CMS Block 334 shell + disclaimer hide
   Footer content is rendered by [onlinemeds_footer] shortcode.
   All #om-footer styles are in the FOOTER section above (~line 572).
   ============================================================ */
.footer-container { background: transparent; }
.elementor-element-9ef724c,
.elementor-element-c0c4150 { display: none !important; }
/* ============================================================ */

/* ============================================================
   HEADER — CTA button (Login / Register)
   ============================================================ */
.elementor-element-3cf88e55 .elementor-button,
.elementor-element-3cf88e55 a.elementor-button {
    background-color: var(--om-amber) !important;
    border-color: var(--om-amber) !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    padding: 9px 22px !important;
    border-width: 0 !important;
    transition: background-color 0.2s ease !important;
}
.elementor-element-3cf88e55 .elementor-button:hover,
.elementor-element-3cf88e55 a.elementor-button:hover {
    background-color: #d4652e !important;
    border-color: #d4652e !important;
}
/* ============================================================ */

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid var(--om-amber);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
