/* =============================================
   Medical Shop Inquiry System - Stylesheet
   Palette: Clinical teal + warm apricot accent
============================================= */

:root {
    --teal-deep: #093c39;
    --teal-mid: #0f5c58;
    --teal-light: #e8f4f3;
    --teal-glass: rgba(255, 255, 255, 0.85);
    --apricot: #f27a4b;
    --apricot-dark: #d96336;
    --cream: #fcfbfa;
    --ink: #1a2423;
    --ink-soft: #526361;
    --line: #e3ebea;
    --white: #ffffff;
    --danger: #d14343;
    --success: #219653;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-soft: 0 12px 30px -10px rgba(9, 60, 57, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4%!important;
}

.product_card .product_title{
   overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Specify the number of lines */
    -webkit-box-orient: vertical;
    line-height: 26px;
}
.header_search{
    padding: 20px 0;
}
/* ===== Top bar (cross-stripe motif, like a pharmacy label band) ===== */
.top-strip {
    background: var(--teal-deep);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}
.top-strip .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.top-strip span { opacity: 0.9; }

/* ===== Header ===== */
header.site-header {
    background: var(--teal-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all 0.3s ease;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--teal-deep);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    flex-shrink: 0;
}
.brand-text h1 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--teal-deep);
    font-weight: 600;
    letter-spacing: -0.01em;
}
.brand-text p {
    font-size: 12.5px;
    color: var(--ink-soft);
}

/* ===== Navigation ===== */
.site-nav ul {
    display: flex;
    gap: 28px;
    align-items: center;
}
.site-nav a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
}
.site-nav a:hover,
.site-nav a.active {
    color: var(--teal-deep);
}
.site-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--apricot);
    border-radius: 2px;
}
.site-nav a.nav-highlight {
    color: var(--apricot);
    font-weight: 600;
}
.site-nav a.nav-highlight:hover {
    color: var(--apricot-dark);
}

.header-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
    background: var(--apricot);
    color: var(--white);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(217,107,64,0.35); }
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--teal-deep);
    color: var(--teal-deep);
    justify-content: center;

}

.health-article{
    max-width: 100%!important;
}
.btn-outline:hover { background: var(--teal-light); }
.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    justify-content: center;
}
.btn-whatsapp:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37,211,102,0.35); }

/* ===== Hero ===== */
.hero {
    background: linear-gradient(180deg, var(--teal-light) 0%, var(--cream) 100%);
    padding: 72px 0 56px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(240,133,90,0.18) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-mid);
    background: var(--white);
    border: 1px solid var(--line);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--success);
}
.hero h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.2vw, 48px);
    line-height: 1.12;
    color: var(--teal-deep);
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 18px;
}
.hero h2 em {
    font-style: italic;
    color: var(--apricot-dark);
}
.hero p.lead {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 480px;
    margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
    background: var(--white);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 20px 50px -20px rgba(13,77,74,0.25);
    border: 1px solid var(--line);
}
.hero-card-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.hero-card-row:last-child { border-bottom: none; }
.hero-card-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--teal-light);
    color: var(--teal-deep);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}
.hero-card-row h4 { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.hero-card-row p { font-size: 13px; color: var(--ink-soft); }

/* ===== Trust strip ===== */
.trust-strip {
    background: var(--teal-deep);
    padding: 22px 0;
}
.trust-strip .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
}
.trust-item {
    color: var(--white);
    text-align: center;
    font-size: 13.5px;
    font-weight: 500;
    opacity: 0.92;
}
.trust-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--apricot);
    font-weight: 600;
}

/* ===== Section heading ===== */
.section { padding: 64px 0; }
.section-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h3 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 34px);
    color: var(--teal-deep);
    font-weight: 600;
    margin-bottom: 12px;
}
.section-head p { color: var(--ink-soft); font-size: 15.5px; }

/* ===== Inquiry Section (two columns: form + whatsapp panel) ===== */
.inquiry-section {
    background: var(--white);
}
.inquiry-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 32px;
    align-items: start;
}

.form-card {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 36px;
}
.form-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--teal-deep);
    margin-bottom: 6px;
}
.form-card > p { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 7px;
}
.form-group label .req { color: var(--apricot-dark); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-size: 14.5px;
    font-family: var(--font-body);
    background: var(--white);
    color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-mid);
    box-shadow: 0 0 0 4px rgba(19,111,106,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 14px; font-size: 15.5px; }

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 22px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.alert-success { background: #e7f6ee; color: var(--success); border: 1px solid #b7e4cc; }
.alert-error { background: #fbeae8; color: var(--danger); border: 1px solid #f1c2bd; }

/* WhatsApp side panel */
.whatsapp-panel {
    background: linear-gradient(160deg, var(--teal-deep), #0a3937);
    border-radius: 20px;
    padding: 32px;
    color: var(--white);
    position: sticky;
    top: 100px;
}
.whatsapp-panel .wa-icon-wrap {
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.whatsapp-panel .wa-icon-wrap svg { width: 30px; height: 30px; fill: white; }
.whatsapp-panel h4 {
    font-family: var(--font-display);
    font-size: 21px;
    margin-bottom: 10px;
}
.whatsapp-panel p { font-size: 14px; opacity: 0.85; margin-bottom: 22px; }
.whatsapp-panel .btn-whatsapp { width: 100%; justify-content: center; }
.wa-divider {
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 24px 0;
}
.wa-mini-list { display: flex; flex-direction: column; gap: 14px; }
.wa-mini-item { display: flex; gap: 10px; font-size: 13.5px; opacity: 0.9; align-items: flex-start; }
.wa-mini-item .check { color: var(--apricot); flex-shrink: 0; }

/* ===== How it works ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.step-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
    position: relative;
}
.step-num {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--teal-light);
    font-weight: 700;
    -webkit-text-stroke: 1.5px var(--teal-mid);
    margin-bottom: 14px;
}
.step-card h4 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.step-card p { font-size: 14px; color: var(--ink-soft); }

/* ===== Footer ===== */
footer {
    background: var(--teal-deep);
    color: rgba(255,255,255,0.85);
    padding: 48px 0 24px;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-brand h3 { font-family: var(--font-display); color: var(--white); font-size: 20px; margin-bottom: 10px; }
.footer-brand p { font-size: 13.5px; opacity: 0.8; max-width: 320px; }
footer h5 { color: var(--white); font-size: 14px; margin-bottom: 14px; }
footer ul li { font-size: 13.5px; margin-bottom: 10px; opacity: 0.85; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    font-size: 12.5px;
    text-align: center;
    opacity: 0.7;
}

/* ===== Floating WhatsApp Button ===== */
.float-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37,211,102,0.45);
    z-index: 100;
    animation: pulse-wa 2.4s infinite;
}
.float-whatsapp svg { width: 30px; height: 30px; fill: white; }
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
    70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .header-inner { 
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 16px;
        align-items: center;
        padding: 12px 4%!important;
    }
    .brand { grid-column: 1 / 2; grid-row: 1 / 2; justify-content: flex-start; }
    .header-cta { grid-column: 2 / 3; grid-row: 1 / 2; justify-content: flex-end; }
    .site-nav { 
        grid-column: 1 / 3; 
        grid-row: 2 / 3; 
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .site-nav::-webkit-scrollbar { display: none; } /* hide scrollbar */
    .site-nav ul {
        justify-content: flex-start;
        flex-wrap: nowrap;
        min-width: max-content;
        gap: 16px;
        padding-bottom: 4px;
    }
    .hero-grid { grid-template-columns: 1fr; }
    .inquiry-grid { grid-template-columns: 1fr; }
    .whatsapp-panel { position: static; }
    .steps-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .trust-strip .container { gap: 24px; }
}
@media (max-width: 600px) {
    .top-strip .container span:first-child { display: none; }
    .top-strip .container { justify-content: center; }
    
    .brand-link { gap: 8px !important; }
    .brand-text h1 { font-size: 20px !important; }
    .brand-text p { display: none; }
    
    .site-nav ul { gap: 8px; margin-bottom: 0; }
    .site-nav a { font-size: 13.5px; padding: 4px 8px; background: rgba(0,0,0,0.03); border-radius: 4px; }
    .site-nav a.active::after { display: none; }
    .site-nav a.active { background: var(--teal-light); color: var(--teal-deep); }
    
    .hero-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    
    .banner-hero .hero-content h2 { font-size: 32px; }
    
    .header-cta .btn span.btn-label { display: none; }
    .hero { padding: 48px 0 36px; }
    .form-card { padding: 22px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .float-whatsapp { animation: none; }
    .btn:hover { transform: none; }
}
/* Add these to the bottom of the file */
.banner-hero {
    position: relative;
    padding: 100px 0 80px;
    color: var(--white);
    background: var(--teal-deep);
}
.hero-bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(9, 60, 57, 0.95) 0%, rgba(9, 60, 57, 0.8) 50%, rgba(9, 60, 57, 0.4) 100%);
    z-index: 2;
}
.banner-hero .hero-grid {
    position: relative;
    z-index: 3;
}
.banner-hero .hero-content h2 {
    color: var(--white);
}
.banner-hero .hero-content p.lead {
    color: rgba(255, 255, 255, 0.85);
}
.banner-hero .eyebrow {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}
.hero-card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}
.hero-card-glass .hero-card-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-card-glass .hero-card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}
.hero-card-glass h4 {
    color: var(--white);
}
.hero-card-glass p {
    color: rgba(255, 255, 255, 0.8);
}
.banner-hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}
.banner-hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}
/* ===== Homepage Ticker ===== */
.ticker-wrap {
    width: 100%;
    background-color: var(--apricot);
    color: var(--white);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 40;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}
.ticker-item {
    display: inline-block;
    padding: 0 30px;
}
@keyframes ticker-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ===== Enhanced Hero ===== */
.banner-hero {
    padding: 140px 0 120px !important; /* Made taller */
}
.banner-hero .hero-content h2 {
    font-size: clamp(38px, 5vw, 56px); /* Bigger font */
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.banner-hero .lead {
    font-size: 18px;
    max-width: 520px;
}

/* ===== Category Section ===== */
.category-section {
    padding: 80px 0;
    background: var(--white);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.category-card {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
    border-color: var(--teal-mid);
    background: var(--white);
}
.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--teal-light);
    color: var(--teal-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: background 0.3s ease, color 0.3s ease;
}
.category-card:hover .category-icon {
    background: var(--apricot);
    color: var(--white);
}
.category-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--teal-deep);
    margin-bottom: 8px;
}
.category-card p {
    font-size: 13px;
    color: var(--ink-soft);
}



@media (max-width: 768px) {
    .blog-detail-content {
        padding: 20px !important;
    }

    .blog-detail-title {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .blog-detail-meta,
    .blog-content,
    .blog-content p,
    .blog-content li,
    .blog-content span,
    .blog-content a,
    .blog-cta-text,
    .blog-breadcrumb,
    .blog-breadcrumb a,
    .blog-breadcrumb-current {
        font-size: 12px !important;
    }

    .blog-cta {
        padding: 20px !important;
        margin-top: 24px !important;
    }

    .blog-cta-title {
        font-size: 14px !important;
        margin-bottom: 12px !important;
    }
}

