/* =========================================
   WHOLESALE ACCOUNT – HEADER ONLY
========================================= */

.phc-wh-account-page {
    margin: 0;
    padding: 0;
    background: #ffffff;
    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: #ffffff;
}

.phc-wh-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.phc-wh-logo img {
    max-height: 60px;
    height: auto;
}

/* Right Side Links */
.phc-wh-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.phc-wh-link {
    font-size: 15px;
    font-weight: 500;
    color: #1f2d3d;
    text-decoration: none;
    position: relative;
    transition: color 0.25s ease;
}

/* Subtle underline animation */
.phc-wh-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #159570;
    transition: width 0.3s ease;
}

.phc-wh-link:hover {
    color: #159570;
}

.phc-wh-link:hover::after {
    width: 100%;
}

/* =========================================
   MOBILE HEADER – ONLY CONTACT US
========================================= */

@media (max-width: 768px) {

    .phc-wh-header-inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 15px 0;
    }

    .phc-wh-logo {
        text-align: center;
    }

    .phc-wh-actions {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    /* Hide HOME (first link) */
    .phc-wh-actions a:first-child {
        display: none;
    }

    /* Contact Us styling */
    .phc-wh-actions a:last-child {
        display: inline-block;
        font-size: 16px;
        font-weight: 700;              /* Bold */
        text-decoration: underline;    /* Underline */
    }

}

/* =========================================
   WHOLESALE ACCOUNT HERO
========================================= */

.phc-wh-account-hero {
    background: #eef3f1;
    padding: 40px 0 35px;  /* compact */
    text-align: center;
}

.phc-wh-account-hero-inner h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #134e4a;
    margin: 0 0 10px;
}

.phc-hero-sub {
    font-size: 18px;
    color: #3f4c56;
    margin: 0 0 6px;
}

.phc-hero-small {
    font-size: 15px;
    color: #6b7680;
    margin: 0;
}

/* =========================================
   MOBILE – KEEP IT SMALL
========================================= */

@media (max-width: 768px) {

    .phc-wh-account-hero {
        padding: 28px 0 22px;  /* smaller */
    }

    .phc-wh-account-hero-inner h1 {
        font-size: 20px;
        line-height: 1.2;
    }

    .phc-hero-sub {
        font-size: 14px;
    }

    .phc-hero-small {
        font-size: 13px;
    }

}


/* =========================================
   PHC AUTH SECTION – PREMIUM SMOOTH LOOK
========================================= */

.phc-auth-section {
    background: linear-gradient(
        180deg,
        #f7fbf9 0%,
        #eef4f1 100%
    );
    padding: 60px 0 60px;
}

.phc-auth-container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =========================================
   SECURE STRIP FOOTER
========================================= */

.phc-secure-strip {
    background: #f4f6f5;
    border-top: 1px solid #e3e8e6;
    padding: 22px 0;
}

.phc-secure-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #2f4f46;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.phc-lock-icon {
    font-size: 16px;
    color: #159570;
}

.phc-secure-text {
    letter-spacing: 0.3px;
}


/* =========================================
   MOBILE / TABLET RESPONSIVE
========================================= */

@media (max-width: 768px) {

    /* Auth section spacing */
    .phc-auth-section {
        padding: 40px 20px;
    }

    .phc-auth-container {
        padding: 0;
    }

    /* Secure strip */
    .phc-secure-strip {
        padding: 18px 15px;
    }

    .phc-secure-inner {
        font-size: 14px;
        gap: 8px;
        flex-wrap: wrap;
        text-align: center;
    }

    .phc-lock-icon {
        font-size: 15px;
    }

}


/* =========================================
   SMALL MOBILE (Phones)
========================================= */

@media (max-width: 480px) {

    .phc-auth-section {
        padding: 35px 15px;
    }

    .phc-secure-inner {
        font-size: 13.5px;
        line-height: 1.5;
        gap: 6px;
    }

}



/* ===============================
   DASHBOARD WRAPPER
================================ */

.woocommerce-account .woocommerce{
display:flex;
gap:40px;
max-width:1200px;
margin:40px auto;
padding:0 20px;
}

/* ===============================
   LEFT MENU
================================ */

.woocommerce-account .woocommerce-MyAccount-navigation{
width:240px;
flex-shrink:0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul{
list-style:none;
padding:0;
margin:0;
border:1px solid #e3e8e6;
border-radius:8px;
overflow:hidden;
background:#ffffff;
}

.woocommerce-account .woocommerce-MyAccount-navigation li{
border-bottom:1px solid #e3e8e6;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child{
border-bottom:none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a{
display:block;
padding:14px 18px;
text-decoration:none;
color:#2f4f46;
font-weight:500;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
background:#159570;
color:#ffffff;
}

/* ===============================
   RIGHT CONTENT AREA
================================ */

.woocommerce-account .woocommerce-MyAccount-content{
flex:1;
background:#ffffff;
border:1px solid #e3e8e6;
border-radius:10px;
padding:30px;
box-shadow:0 4px 15px rgba(0,0,0,0.05);
}

/* ===============================
   BUSINESS DETAILS BOX
================================ */

.phc-dashboard-box{
margin-top:25px;
}

.phc-dashboard-box h3{
font-size:20px;
margin-bottom:18px;
color:#1f2d3d;
}

/* ===============================
   ACCOUNT TABLE
================================ */

.phc-account-table{
width:100%;
border-collapse:collapse;
border:1px solid #e3e8e6;
border-radius:8px;
overflow:hidden;
}

.phc-account-table th{
width:260px;
text-align:left;
background:#f5f8f7;
padding:14px;
font-weight:600;
border-bottom:1px solid #e3e8e6;
}

.phc-account-table td{
padding:14px;
border-bottom:1px solid #e3e8e6;
color:#37474f;
}

.phc-account-table tr:last-child th,
.phc-account-table tr:last-child td{
border-bottom:none;
}

.phc-account-table a{
color:#159570;
font-weight:600;
text-decoration:none;
}

.phc-account-table a:hover{
text-decoration:underline;
}

/* ===============================
   TABLET
================================ */

@media (max-width:1024px){

.woocommerce-account .woocommerce{
flex-direction:column;
}

.woocommerce-account .woocommerce-MyAccount-navigation{
width:100%;
}

}

/* ===============================
   MOBILE
================================ */

@media (max-width:768px){

.woocommerce-account .woocommerce{
gap:25px;
margin:20px auto;
}

.woocommerce-account .woocommerce-MyAccount-content{
padding:20px;
}

.phc-account-table th,
.phc-account-table td{
display:block;
width:100%;
}

.phc-account-table th{
background:none;
padding-bottom:5px;
border-bottom:none;
}

.phc-account-table td{
padding-top:0;
margin-bottom:15px;
border-bottom:1px solid #e3e8e6;
}

}

/* ===============================
   MOBILE ACCOUNT LAYOUT FIX
================================ */

@media (max-width:1024px){

.woocommerce-account .woocommerce {
    flex-direction: row;
    gap: 10px;
    padding: 0 10px;
}

/* Sidebar width */
.woocommerce-account .woocommerce-MyAccount-navigation{
    width: 110px;
    flex-shrink: 0;
}

/* Menu text */
.woocommerce-MyAccount-navigation a{
    font-size: 12px;
    padding: 10px 8px;
}

/* Content area */
.woocommerce-account .woocommerce-MyAccount-content{
    flex: 1;
    padding: 15px;
}

}

.phc-mobile-drawer{
position:fixed;
left:-260px;
top:0;
width:260px;
height:100%;
background:#fff;
transition:0.3s;
z-index:9999;
}

.phc-mobile-drawer.open{
left:0;
}

.phc-mobile-overlay{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.4);
z-index:9998;
}

.phc-mobile-overlay.show{
display:block;
}