/* =================================
PHC WHOLESALE SEARCH SECTION
================================= */

/* Make search bar outline bold */

.phc-search-section input{
    border:2px solid #000000;
    border-radius:6px;
}

/* Focus effect */

.phc-search-section input:focus{
    border:2px solid #0f9d84;
    outline:none;
}

.phc-search-section{
padding:20px 0 10px 0;
background:#f5f7fb;
border-bottom:1px solid #e8ecf2;
}

.phc-search-wrapper{

max-width:1200px;

margin:0 auto;

position:relative;

}

.phc-search-input{

width:100%;

padding:16px 50px 16px 18px;

font-size:16px;

border-radius:8px;

border:1px solid #d8dde6;

outline:none;

background:#ffffff;

box-shadow:0 2px 6px rgba(0,0,0,0.04);

}

.phc-search-input:focus{

border-color:#159570;

box-shadow:0 0 0 2px rgba(21,149,112,0.08);

}

.phc-search-icon{

position:absolute;

right:16px;

top:50%;

transform:translateY(-50%);

font-size:18px;

color:#8a94a6;

pointer-events:none;

}


/* ===============================
SEARCH RESULTS SECTION
=============================== */

.phc-search-results-section{
padding:4px 0 6px;
background:#ffffff;
}

#phc-search-results{

max-width:900px;
margin:0 auto;

}

.phc-search-result-item{

padding:12px 0;
border-bottom:1px solid #e6e9ef;

}

.phc-search-result-item a{

font-size:16px;
color:#159570;
text-decoration:none;
font-weight:500;

}

.phc-search-result-item a:hover{

text-decoration:underline;

}


/* ===============================
PRODUCT RESULT CARD
=============================== */

/* PRODUCT CARD FIX */

.phc-product-card{

display:flex;
align-items:flex-start;
gap:16px;

padding:18px 0;

border-bottom:1px solid #eee;

clear:both;

}

.phc-product-img{

width:60px;
flex-shrink:0;

}

.phc-product-img img{

width:60px;
height:60px;
object-fit:contain;

}

.phc-product-info{

flex:1;

}

.phc-product-title{

font-size:16px;
font-weight:600;
color:#1a1a1a;
text-decoration:none;

}

.phc-product-price{

font-size:18px;
font-weight:700;
color:#000;

}

.phc-product-card::after{
    content:"";
    display:block;
    clear:both;
}

/* ===============================
ADD BUTTON
=============================== */

.phc-add-btn{

background:#159570;
color:#fff;

border:none;

padding:8px 18px;

border-radius:6px;

font-weight:600;

cursor:pointer;

}

/* ===============================
QTY CONTROL
=============================== */

.phc-qty-box{

display:flex;
align-items:center;
gap:10px;

}

.phc-qty-btn{

width:32px;
height:32px;

display:flex;
align-items:center;
justify-content:center;

border:none;

background:#159570;

color:#fff;

font-size:18px;

border-radius:6px;

cursor:pointer;

}

.phc-qty-number{

min-width:24px;

text-align:center;

font-weight:600;

font-size:16px;

}

/* ===============================
FLOATING CART POPUP
=============================== */


#phc-floating-cart{

position:fixed;

bottom:25px;

left:50%;
transform:translateX(-50%);

background:#159570;

padding:12px 18px;

border-radius:8px;

box-shadow:0 6px 20px rgba(0,0,0,0.15);

display:none;

z-index:9999;

}

#phc-floating-cart a{

color:#ffffff;

font-size:15px;

font-weight:600;

text-decoration:none;

}

/* MOBILE */

@media(max-width:768px){

#phc-floating-cart{

left:50%;
right:auto;

transform:translateX(-50%);

bottom:20px;

}

}

/* ================================= */
/* PHC CATEGORY SECTION */
/* ================================= */

.phc-category-section{
max-width:1200px;
margin:auto;
padding:2px 20px 0 20px;
}

/* ================================= */
/* HEADER */
/* ================================= */

.phc-cat-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:12px;
}

.phc-cat-header h3{
font-size:18px;
font-weight:600;
color:#333;
position:relative;
padding-bottom:5px;
}

/* underline style */

.phc-cat-header h3:after{
content:"";
position:absolute;
left:0;
bottom:0;
width:42px;
height:3px;
background:#0f9d84;
border-radius:2px;
}

/* view all */

.phc-view-all{
color:#0f9d84;
font-weight:600;
font-size:14px;
text-decoration:none;
}

/* ================================= */
/* SCROLL AREA */
/* ================================= */

.phc-cat-scroll{
display:flex;
align-items:center;
gap:6px;
}

/* ================================= */
/* CATEGORY WRAPPER */
/* ================================= */

.phc-cat-wrapper{
display:flex;
gap:8px;
overflow-x:auto;
padding:3px 0;
}

/* hide scrollbar */

.phc-cat-wrapper::-webkit-scrollbar{
display:none;
}

/* ================================= */
/* CATEGORY CHIP */
/* ================================= */

.phc-cat-item{
padding:8px 16px;
background:#f1f3f5;
border-radius:8px;
font-size:14px;
font-weight:500;
cursor:pointer;
white-space:nowrap;
border:1px solid #e4e6ea;
transition:0.2s;
}

.phc-cat-item:hover{
background:#e9f6f3;
}

.phc-cat-item.active{
background:#0f9d84;
color:#ffffff;
border:none;
}

/* ================================= */
/* ARROWS */
/* ================================= */

.phc-cat-arrow{
background:none;
border:none;
font-size:22px;
color:#0f9d84;
cursor:pointer;
padding:4px 6px;
}

/* ================================= */
/* TABLET */
/* ================================= */

@media (max-width:900px){

.phc-category-section{
padding:8px 15px 0 15px;
}

.phc-cat-header h3{
font-size:16px;
}

}

/* ================================= */
/* MOBILE */
/* ================================= */

@media (max-width:600px){

.phc-cat-wrapper{
gap:6px;
}

.phc-cat-item{
font-size:13px;
padding:7px 14px;
}

.phc-cat-arrow{
font-size:20px;
}

}

/* ======================= */
/* PRODUCT ROW */
/* ======================= */

.phc-category-products{
max-width:1200px;
margin:auto;
padding:10px 20px;
}

.phc-prod-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:10px;
}

.phc-product-scroll{
position:relative;
}

.phc-product-wrapper{
display:flex;
gap:16px;
overflow-x:auto;
padding:0 4px;
}

.phc-product-wrapper::-webkit-scrollbar{
display:none;
}

/* product card */

.phc-product-card{
min-width:180px;
background:white;
border-radius:8px;
padding:10px;
border:1px solid #eee;
}

/* smaller image */

.phc-product-img img{
width:100%;
height:90px;
object-fit:contain;
}

/* title */

.phc-product-title{
font-size:14px;
font-weight:600;
color:#333;
text-decoration:none;
display:block;
margin-top:6px;
}

/* meta */

.phc-product-meta{
font-size:12px;
color:#777;
margin-top:4px;
}

/* price */

.phc-product-price{
font-size:16px;
font-weight:700;
margin-top:6px;
}

/* cart */

.phc-add-btn{
background:#0f9d84;
color:white;
border:none;
padding:6px 10px;
border-radius:6px;
margin-top:8px;
cursor:pointer;
}

.phc-prod-arrow{
position:absolute;
top:50%;
transform:translateY(-50%);
background:none;
border:none;
font-size:22px;
color:#0f9d84;
cursor:pointer;
padding:4px 6px;
z-index:2;
}

.phc-prod-arrow.left{
left:-18px;
}

.phc-prod-arrow.right{
right:-18px;
}

/* ======================= */
/* New Product Layout */
/* ======================= */

.phc-product-card{

min-width:210px;
max-width:210px;

background:#fff;
border-radius:8px;
padding:12px;

border:1px solid #e9edf3;

display:flex;
flex-direction:column;

}

.phc-product-img{

height:80px;

display:flex;
align-items:center;
justify-content:center;

margin-bottom:6px;

}

.phc-product-img img{

max-height:75px;
width:auto;
object-fit:contain;

}

.phc-product-title{

font-size:14px;
font-weight:600;
color:#333;
text-decoration:none;

line-height:1.35;
min-height:36px;

overflow:hidden;

}

.phc-product-info{

display:flex;
flex-direction:column;
flex-grow:1;

}

.phc-cart-control{

margin-top:auto;

}

.phc-product-price{

font-size:18px;
font-weight:700;

margin-top:6px;

}

.phc-search-product-card{

display:flex;
align-items:flex-start;
gap:16px;

padding:18px 0;

border-bottom:1px solid #eee;

}

.phc-search-product-card .phc-product-img{

width:60px;
flex-shrink:0;

}

.phc-search-product-card .phc-product-img img{

width:60px;
height:60px;
object-fit:contain;

}

.phc-search-product-card .phc-product-info{

flex:1;

}

.phc-margin-products{
max-width:1200px;
margin:auto;
padding:10px 20px;
}

.phc-offer-products{
max-width:1200px;
margin:auto;
padding:10px 20px;
}


/* ================================= */
/* PHC SECURE FOOTER BANNER */
/* ================================= */

.phc-secure-banner{

max-width:1200px;

margin:40px auto 90px auto;

background:#f6f8fb;

border-radius:8px;

padding:18px 20px;

display:flex;

justify-content:center;

align-items:center;

gap:10px;

font-size:16px;

font-weight:500;

color:#2c3e50;

box-shadow:0 1px 3px rgba(0,0,0,0.04);

}

/* icon */

.phc-secure-icon{

font-size:18px;

}

/* ================================= */
/* TABLET */
/* ================================= */

@media (max-width:900px){

.phc-secure-banner{

margin:35px auto 90px auto;

font-size:15px;

}

}

/* ================================= */
/* MOBILE */
/* ================================= */

@media (max-width:600px){

.phc-secure-banner{

margin:30px 15px 95px 15px;

padding:16px;

font-size:14px;

text-align:center;

}

}