/* RESET */
.phc-wh-page {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* CONTAINER */
.phc-wh-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* HEADER */
.phc-wh-header {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.phc-wh-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phc-wh-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.phc-wh-contact {
    font-size: 15px;
    font-weight: 500;
    color: #1f2d3d;          /* dark neutral */
    text-decoration: none;
    position: relative;
    transition: color 0.25s ease;
}

/* Subtle underline animation */
.phc-wh-contact::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #159570;     /* theme green */
    transition: width 0.3s ease;
}

.phc-wh-contact:hover {
    color: #159570;
}

.phc-wh-contact:hover::after {
    width: 100%;
}

/* BUTTONS */

.phc-btn {
    padding: 11px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

/* Login (Green) */
.phc-btn-green {
    background: #159570;
    color: #ffffff;
}

.phc-btn-green:hover {
    background: #000000;
    color: #ffffff;
}

/* Register (Full Orange) */
.phc-btn-outline {
    background: #febe5d;
    color: #000000;
}

.phc-btn-outline:hover {
    background: #000000;
    color: #ffffff;
}

.phc-btn-app {
    background: #e9edf0;
    color: #1f2d3d;
}

.phc-btn-app:hover {
    background: #000000;
    color: #ffffff;
}

/* HERO */

.phc-hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.3px;
    margin-bottom: 24px;
    color: #1f2d3d;
}

.phc-wh-brand {
    color: #159570;              /* theme green */
    font-weight: 700;            /* bold */
    font-size: 20px;             /* slightly bigger */
    margin-bottom: 22px;
    letter-spacing: 0.5px;
}

.phc-hero-title span {
    color: #159570; /* Slightly softer green */
}

.phc-wh-hero {
    padding: 40px 0;
    background: #f7faf9;
}

.phc-wh-hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
}

.phc-wh-hero-text {
    max-width: 620px;
}

.phc-wh-hero-image img {
    width: 100%;
    max-width: 680px;
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .phc-wh-hero-grid {
        flex-direction: column;
        text-align: center;
    }

    .phc-wh-buttons {
        justify-content: center;
    }

    .phc-wh-hero {
        padding: 80px 0;
    }

    .phc-wh-hero-text h1 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {

    .phc-wh-header-inner {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .phc-wh-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .phc-wh-actions a {
        width: 100%;
        text-align: center;
    }

    .phc-wh-hero-grid {
        flex-direction: column;
        text-align: center;
    }

    .phc-wh-hero-image {
        display: none;
    }

    .phc-hero-title {
        font-size: 34px;
        line-height: 1.2;
    }
}

/* =========================================
   TABLET (UP TO 1024px)
   - Keep header
   - Hide hero image
========================================= */

@media screen and (max-width: 1024px) {

    /* ===== HERO SECTION ===== */

    .phc-wh-hero {
        padding: 80px 20px 70px;
    }

    .phc-wh-hero-grid {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    /* Hide hero image */
    .phc-wh-hero-image {
        display: none;
    }

    /* Keep text left aligned */
    .phc-wh-hero-text {
        max-width: 100%;
        text-align: left;
    }

    .phc-wh-brand {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .phc-hero-title {
        font-size: 32px;
        line-height: 1.25;
        text-align: left;
        margin-bottom: 18px;
    }

    .phc-wh-hero-text p {
        font-size: 16px;
        line-height: 1.6;
        text-align: left;
        margin-bottom: 28px;
    }

    /* ===== BUTTONS ===== */

    .phc-wh-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .phc-wh-buttons a {
        width: 100%;
        text-align: center;
    }
}


/* =========================================
   MOBILE ONLY (UP TO 768px)
   - Only logo in header
========================================= */

@media screen and (max-width: 768px) {

    /* Header becomes logo only */
    .phc-wh-header-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 15px 0;
    }

    /* Hide header actions */
    .phc-wh-actions {
        display: none;
    }

    .phc-wh-logo {
        text-align: center;
    }
}


/* ===============================
   WHO WE SERVE – FINAL VERSION
================================ */

.phc-serve {
    padding: 60px 0 50px;  /* reduce bottom */
}

.phc-serve-title {
    text-align: center;
    font-size: 34px;
    font-weight: 600;
    color: #1f2d3d;
    margin-bottom: 55px;
}

.phc-serve-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.phc-serve-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 45px 30px;
    text-align: center;
    border: 1px solid #e8eceb;
    transition: 0.25s ease;
}

.phc-serve-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.phc-serve-icon {
    margin-bottom: 25px;
}

.phc-serve-icon img {
    width: 70px;
    height: auto;
}

.phc-serve-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #159570;   /* theme green */
    margin-bottom: 12px;
}

.phc-serve-card p {
    font-size: 14.5px;
    color: #6b7680;
    line-height: 1.6;
}


@media screen and (max-width: 768px) {

    .phc-serve {
        padding: 55px 15px;
    }

    .phc-serve-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .phc-serve-card {
        padding: 20px 10px;
    }

    .phc-serve-card h3 {
        font-size: 14px;
    }

    .phc-serve-card p {
        font-size: 12px;
    }

    .phc-serve-icon img {
        width: 40px;
    }
}


/* =========================================
   WHY CHOOSE SECTION – FINAL CLEAN VERSION
========================================= */

.phc-why {
    background: #f4f7f6;
    padding: 70px 0 80px;
}

/* CONTAINER ALIGNMENT FIX */
.phc-why .phc-wh-container {
    max-width: 1100px;
}

/* TITLE */
.phc-why-title {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 80px;
    color: #1e2a38;
}

.phc-why-title span {
    color: #0f8a6c;
    font-weight: 700;
}

/* GRID */

.phc-why-grid {
    margin-top: 70px;
}

.phc-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
}

/* COLUMN */
.phc-why-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ITEM */
.phc-why-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* ICON */
.phc-why-icon {
    width: 32px;
    height: 32px;
    background: #0f8a6c;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* HEADING */
.phc-why-item h4 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: #0f8a6c;
}

/* DESCRIPTION */
.phc-why-item p {
    margin: 0;
    font-size: 14.5px;
    color: #5f6b76;
    line-height: 1.6;
}

/* =========================================
   RESPONSIVE – KEEP 2 COLUMN STRUCTURE
========================================= */

@media (max-width: 1024px) {

    .phc-why {
        padding: 60px 20px 70px;
    }

    .phc-why-grid {
        column-gap: 35px;
    }

    .phc-why-title {
        font-size: 26px;
        margin-bottom: 35px;
    }

    .phc-why-item h4 {
        font-size: 15.5px;
    }

    .phc-why-item p {
        font-size: 13.5px;
    }
}

@media (max-width: 600px) {

    .phc-why-grid {
        column-gap: 20px;
    }

    .phc-why-col {
        gap: 22px;
    }

    .phc-why-icon {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }

    .phc-why-title {
        font-size: 22px;
    }

    .phc-why-item h4 {
        font-size: 14px;
    }

    .phc-why-item p {
        font-size: 12.5px;
    }
}



/* =========================================
   HOW IT WORKS – FINAL STABLE VERSION
========================================= */

.phc-how-grid {
    margin-top: 60px;
}

.phc-how {
    background: #ffffff;
    padding: 60px 0 100px;
}

.phc-how-title {
    text-align: center;
    width: 100%;
    font-size: 30px;
    font-weight: 600;
    color: #1e2a38;
    margin: 0 auto 100px;
}

.phc-how-number.green { background: #0f8a6c; }
.phc-how-number.teal { background: #1e9b85; }
.phc-how-number.orange { background: #f0b35c; }

.phc-how-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    flex-shrink: 0;
}

/* Grid */
.phc-how-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/* Item */
.phc-how-item {
    flex: 1 1 0;
    min-width: 0; /* IMPORTANT prevents overflow issues */
    position: relative;
}

/* Divider */
.phc-how-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 15px;
    width: 1px;
    height: 70%;
    background: #e6e9eb;
}

/* Content row */
.phc-how-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* Number */
.phc-how-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    flex-shrink: 0;
}

/* Title */
.phc-how-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1e2a38;
}

/* Description */
.phc-how-content p {
    font-size: 14px;
    color: #6c7a86;
    line-height: 1.6;
    margin: 0;
}

/* =============================
   RESPONSIVE SCALE (NO BREAKING STRUCTURE)
============================= */

/* Tablet */
@media (max-width: 1024px) {

    .phc-how-grid {
        gap: 25px;
    }

    .phc-how-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .phc-how-content h4 {
        font-size: 16px;
    }

    .phc-how-content p {
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 600px) {

    .phc-how-grid {
        gap: 15px;
    }

    .phc-how-item:not(:last-child)::after {
        display: none; /* divider removed on tight screens */
    }

    .phc-how-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .phc-how-content h4 {
        font-size: 14px;
    }

    .phc-how-content p {
        font-size: 12px;
        line-height: 1.5;
    }
}


/* =========================================
   FINAL CTA SECTION
========================================= */

.phc-cta {
    background: linear-gradient(135deg, #157a6e, #0f8a6c);
    padding: 60px 0 80px;
    text-align: center;
    color: #ffffff;
}

/* Title */
.phc-cta-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #ffffff;
}

/* Buttons container */
.phc-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Base button */
.phc-cta-btn {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
    min-width: 180px;
}

/* Login Button */
.phc-cta-login {
    background: #ffffff;
    color: #0f8a6c;
}

.phc-cta-login:hover {
    background: #000000;
    color: #ffffff;
}

/* Register Button */
.phc-cta-register {
    background: #0f8a6c;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.phc-cta-register:hover {
    background: #ffffff;
    color: #0f8a6c;
}

/* Download App Button */
.phc-cta-app {
    background: #e6e9eb;
    color: #1e2a38;
}

.phc-cta-app:hover {
    background: #000000;
    color: #ffffff;
}

/* =============================
   RESPONSIVE
============================= */

@media (max-width: 768px) {

    .phc-cta {
        padding: 70px 20px 80px;
    }

    .phc-cta-title {
        font-size: 24px;
    }

    .phc-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .phc-cta-btn {
        width: 100%;
        max-width: 320px;
    }
}

/* =============================
   Contact Us Header
============================= */

@media (max-width: 768px) {

    .phc-wh-header-inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 15px 0;
    }

    .phc-wh-actions .phc-btn {
        display: none;
    }

    .phc-wh-actions {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .phc-wh-contact {
        font-size: 16px;
        font-weight: 600;
        color: #1f3a8a;     /* Professional blue */
        text-decoration: underline;
        transition: 0.3s ease;
    }

    .phc-wh-contact:hover {
        color: #159570;     /* Your brand green on hover */
    }
}


/* ===================================
LOGGED In USERS

=================================== */

/* ===============================
HEADER
=============================== */

.phc-header{
height:80px; 
background:#fff;
border-bottom:1px solid #e5e5e5;

}

.phc-container{

max-width:1200px;
margin:auto;

padding:0 20px;

}

.phc-header-inner{

display:flex;
align-items:center;
justify-content:space-between;

padding:16px 0;

}

/* LOGO */

.phc-logo img{
height:50px;
}

/* RIGHT ACTIONS */

.phc-header-actions{

display:flex;
align-items:center;
gap:22px;

}

/* CONTACT */

.phc-contact-link{

text-decoration:none;
color:#333;
font-weight:500;

}

/* ACCOUNT */

.phc-account-link{

display:flex;
align-items:center;
gap:6px;

color:#12947E;
font-weight:500;
text-decoration:none;

}

/* CART */

.phc-cart-link{

display:flex;
align-items:center;
gap:6px;

text-decoration:none;

}

.phc-cart-icon{

font-size:24px;
color:#12947E;

}

.phc-cart-text{

font-size:14px;
color:#12947E;
font-weight:500;

}

/* ===============================
MOBILE
=============================== */

.phc-menu-toggle{
display:none;
font-size:26px;
color:#12947E;   /* theme green */
cursor:pointer;
padding-left:6px;
}

/* MOBILE MENU */

.phc-mobile-menu{

display:none;

background:#fff;

border-top:1px solid #eee;

padding:20px;

}

.phc-mobile-menu a{

display:block;

padding:12px 0;

font-weight:500;
text-decoration:none;

color:#12947E;

}

/* ===============================
RESPONSIVE
=============================== */

@media (max-width:768px){

.phc-container{
padding:0 18px;  /* prevents icons touching edges */
}

.phc-menu-toggle{
display:block;
}

.phc-header-inner{

display:grid;
grid-template-columns:40px 1fr 40px;

align-items:center;

}

.phc-logo{
text-align:center;
}

.phc-header-actions{

justify-content:flex-end;

}

/* hide text on mobile */

.phc-contact-link,
.phc-account-link,
.phc-cart-text{
display:none;
}

}
/* HEADER TOP SPACE */

.phc-header-inner{
padding:18px 20px;
}

/* CART MOBILE STYLE */

.phc-cart-icon{

font-size:24px;
color:#12947E;

}

.phc-cart-label{

font-size:11px;
color:#12947E;

}

/* MOBILE DRAWER */

.phc-mobile-drawer{

position:fixed;

top:0;
left:-50%;

width:50%;
height:100%;

background:#fff;

box-shadow:2px 0 12px rgba(0,0,0,0.2);

transition:0.3s;

z-index:9999;

padding-top:80px;

}

/* SHOW DRAWER */

.phc-mobile-drawer.open{

left:0;

}

/* OVERLAY */

.phc-mobile-overlay{

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

background:rgba(0,0,0,0.4);

display:none;

z-index:9998;

}

.phc-mobile-overlay.show{
display:block;
}

/* MENU ITEMS */

.phc-drawer-item{

display:flex;
align-items:center;

gap:12px;

padding:16px 20px;

text-decoration:none;

color:#12947E;

font-weight:500;

}

/* ACTIVE ITEM */

.phc-drawer-item.active{

background:#f3faf8;

border-left:4px solid #12947E;

}

/* ICON */

.phc-drawer-icon{

font-size:18px;

}


/* Upload Prescription Strip */

.phc-upload-section{
    background:#1ea78a;
    padding:10px 16px;
    margin:12px 0;
}

.phc-upload-container{
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.phc-upload-text{
    color:#ffffff;
    font-size:16px;
    font-weight:500;
    line-height:1.3;
}

.phc-upload-btn{
    background:#febe5d;
    color:#333;
    padding:8px 16px;
    border-radius:5px;
    font-weight:600;
    font-size:14px;
    text-decoration:none;
    transition:0.2s;
}

.phc-upload-btn:hover{
    background:#f4b34c;
}

/* Tablet */

@media(max-width:900px){

.phc-upload-text{
    font-size:15px;
}

}

/* Mobile */

@media(max-width:600px){

.phc-upload-container{
    flex-direction:column;
    text-align:center;
    gap:8px;
}

.phc-upload-section{
    padding:10px 10px;
}

.phc-upload-btn{
    padding:8px 18px;
}

}


.phc-upload-btn{
    background:#febe5d;
    color:#333;
    padding:10px 18px;
    border-radius:6px;
    font-weight:600;
    font-size:15px;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    gap:8px;
}

.phc-wa-icon{
    width:18px;
    height:18px;
}

/* =================================
PHC PRODUCT ADD TO CART BUTTON
================================= */

.single-product .single_add_to_cart_button{
background:#1FA97A !important;
border:none !important;
color:#fff !important;
font-weight:600;
padding:14px 26px;
border-radius:8px;
transition:0.2s;
}

.single-product .single_add_to_cart_button:hover{
background:#178f66 !important;
}

/* PRODUCT PAGE WIDTH */

.single-product .site-main{
max-width:1200px;
margin:30px auto;
padding:0 20px;
}

/* Hide Astra footer on WooCommerce single product page */
.single-product #colophon,
.single-product footer,
.single-product .site-footer {
    display: none !important;
}

/* MOBILE HEADER CART FIX */

/* ===== MOBILE HEADER CART FIX ===== */

@media (max-width:768px){

/* hide cart text completely */
.phc-cart-text span:not(.phc-cart-icon){
display:none !important;
}

/* ensure icon aligns properly */
.phc-cart-link{
display:flex;
align-items:center;
justify-content:center;
}

.phc-cart-icon{
font-size:20px;
}

}