/* xl - DESKTOP STYLES */ 
button[type=submit], input[type=submit], .button::before, .button--primary, .button--secondary{
	background-image:none;
	border-radius: 50px;
	font-family: 'Maleah Regular';
}

/* dynamic pages header */
/* Shorter header */
.site-header .header-navbar {
	padding-top: 10px;
	padding-bottom: 10px;
}

/* Smaller logo */
.header-logo img {
	max-height: 80px; /* adjust to taste */
	width: auto;
}


/* Navbar font */
.header-navbar__menu {
	font-size: 16px;
	font-family: 'Maleah Regular' !important;
}


.header-hero {
    background-color: #CAA374 !important;
	color: #fff;
}

.header-hero h1{
	color: #fff;
}

#user_login_modal .hp-form__action--user-register{
	visibility: collapse;
}

.hp-listing__image{aspect-ratio: 1 / 1.1 !important;}


.title::before, .content-title::before {
    height: 2px;
    background-color: #2a5554;
}



.hp-page__title::before, .hp-section__title::before , .title::before, .footer-widgets .widget__title::before, .hp-page__title::before, .hp-section__title::before, .hp-listing--view-block .hp-listing__featured-badge, .header-navbar__menu > ul > li.current-menu-item::before, .header-navbar__burger > ul > li.current-menu-item::before, 
.hp-menu--tabbed .hp-menu__item--current::before {
	height: 2px;
    background-color: #CAA374;
}

.hp-listing--view-block .hp-listing__actions--primary .hp-listing__action--favorite[data-state=active] i, .hp-listing--view-block .hp-listing__actions--secondary .hp-listing__action--favorite[data-state=active] i, .hp-listing--view-page .hp-listing__actions--primary .hp-listing__action--favorite[data-state=active] i, .hp-listing--view-page .hp-listing__actions--secondary .hp-listing__action--favorite[data-state=active] i {
    color: #ed8eac;
}

.widget--footer .widget__title::before {
    width: 30px;
    height: 1px;
}


/* Container: turn grid into a vertical chat stream */
.hp-template--messages-view-page .hp-messages.hp-grid {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 16px;
    background: #ecf7f7;
    border-radius: 12px;
	    border: 1px solid #a2bfbf5c;
}



.hp-template--messages-view-page .hp-messages .hp-grid__item {
    display: flex;
	margin-bottom: 0rem;
    max-width: 70%;
}
/* Received messages: left-aligned */
.hp-template--messages-view-page .hp-message {
	    padding: 12px 24px;
    display: flex;
    gap: 8px;
    flex-direction: column-reverse;
    align-items: flex-start;
	background: transparent;
}
.hp-template--messages-view-page .hp-message--view-block.hp-message--sent::after {
    font-size: 12px;
    right: 0px;
	top: 20px;
}
.hp-template--messages-view-page .hp-message__content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
}

.hp-template--messages-view-page .hp-message--sent .hp-message__content {background: #2d5d5d; color: white !important;}
/* Sent messages: right-aligned, bubble color flipped */
.hp-template--messages-view-page .hp-grid__item:has(.hp-message--sent) {
    align-self: flex-end;
}
.hp-template--messages-view-page .hp-message--sent {
    background: transparent !important;
    color: #000;
	    flex-direction: column-reverse;
    align-items: flex-end;
}
.hp-template--messages-view-page .hp-message__content {
    position: relative;
}
.hp-template--messages-view-page .hp-message__content .hp-message__action--delete, .hp-template--messages-view-page .hp-message--view-block.hp-message--sent .hp-message__action--delete {
    position: relative;
	right:0; top:0;
	margin-top: 4px;
}
.hp-template--messages-view-page .hp-message__content .hp-message__action--delete i{
    color: #a3a3a3;
}


    

.hp-template--messages-view-page .hp-message--sent .hp-message__sender,
.hp-template--messages-view-page .hp-message--sent .hp-message__date {
       color: #336969;
    opacity: .6;
}

.hp-template--messages-view-page .hp-message--view-block .hp-message__sender,
.hp-template--messages-view-page .hp-message--view-block .hp-message__date {
       color: #336969;
    opacity: .6;
}


.hp-template--messages-view-page .hp-message__header{
	    display: flex;
    gap: 12px;
    flex-direction: column-reverse;
	padding-right: 0 !important;
}
.hp-template--messages-view-page .hp-message__header .hp-message__listing {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: #ffeaab;
    color: #99813a !important;
    font-weight: 500;
    text-transform: capitalize;
    padding: 6px 12px;
    font-size: 13px;
    text-align: center;
    justify-content: flex-start;
    border-radius: 20px;
}
/* Hide sender name text (avatar + bubble grouping replaces it visually) */
.hp-template--messages-view-page .hp-message__sender {
    font-size: 12px !important;
    font-weight: 600;
    margin-bottom: 2px;
}
.hp-template--messages-view-page  .hp-message__content {
    display: flex;
    flex-direction: column;
}
.hp-template--messages-view-page .hp-message__text p {
    margin: 0;
    line-height: 1.4;
}
.hp-template--messages-view-page .hp-message__date {
    font-size: 9px !important;
    opacity: 0.6;
    margin-top: 2px;
}

.hp-template--messages-view-page .hp-grid__item:has(.hp-message--sent) .hp-message--view-block .hp-message__details {
    flex-direction: column;
    align-items: flex-end;
}
/* Message input bar at the bottom, sticky style */
.hp-template--messages-view-page .hp-form--message-send {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    align-items: flex-end;
    background: #fff;
    border-radius: 24px;
    padding: 12px 12px;
    box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.1) inset, 1px -1px 1px rgba(0, 0, 0, 0.1) inset;
}
.hp-template--messages-view-page .hp-form--message-send .hp-form__fields {
    flex: 1;
}
.hp-template--messages-view-page .hp-form--message-send textarea {
    border: none;
    resize: none;
    width: 100%;
    padding: 12px;
    font-size: 14px;
}
.hp-template--messages-view-page .hp-form--message-send textarea:focus {
    outline: none;
}
.hp-template--messages-view-page .hp-form--message-send .hp-form__footer button {
    border-radius: 30px;
    width: 140px;
    height: 36px;
    padding: 0;
    font-size: 14px;
}


.hp-template--messages-view-page .hp-page__title{display : none;}


/*=========================Listings==============================*/

.hp-listing--view-block {
    border: 1px solid rgba(7, 36, 86, 0.075);
    transition: none;
	box-shadow: none;
}

.hp-listing--view-block, .hp-listing--view-block .hp-listing__image{
    border-radius: 20px;
	overflow: hidden;
}

.hp-listing__image img, .hp-listing__image video, .hp-listing__images img, .hp-listing__images video {
    object-fit: cover;
}

.tagcloud a:hover, .wp-block-tag-cloud a:hover, .hp-listing__images-carousel .slick-current img, .hp-listing--view-block.hp-listing--featured {
    border-color: #caa374;
}

.hp-listing--view-block:hover {
        box-shadow: 0 10px 50px -10px #2a555430;
}

.hp-listing--view-block.hp-listing--featured:hover {
        box-shadow: 0 10px 50px -10px #caa3744d ;
}

.hp-listing--view-block .hp-listing__featured-badge {

    background-color: #caa374;
    background-image: none;
}

.hp-listing__verified-badge, .hp-vendor__verified-badge {
    color: #CAA374;
}





.hp-vendor--view-block, .hp-listing--view-page .hp-listing__attributes--primary {
    border-radius: 20px;
    box-shadow: none; 
  
}
.hp-vendor--view-block:hover {
   box-shadow: 0 10px 50px -10px #2a555430;
}

.hp-vendor--view-block:not(:last-child) {
    margin-bottom: 0.5rem;
}



.hp-section-reviews{
	padding: 2em;
	background: #FFFBF6;
}
.hp-section-reviews .hp-review__image {
     flex: none; 
    margin-right: 1rem;
}
 .hp-section-reviews .hp-review__image img{
     width: 35px;
}
.hp-section-reviews .hp-review__author {
    font-size: 13px;
	color: #634522;
}
.hp-section-reviews .hp-rating-stars i{font-size:12px;}
.hp-section-reviews .hp-review--view-block {
	border:none;
    border-top: 1px solid rgba(7, 36, 86, 0.075);
     box-shadow: none;
     background-color: transparent;
    padding: 2rem;
}
.hp-section-reviews .hp-review__author:not(:last-child), .hp-section-reviews .hp-review__details:not(:last-child) {
    margin-bottom: .1rem;
}

.hp-section-reviews .hp-review__header {
    display: flex;
    align-items: flex-start;
}

.hp-review__text *{font-size:16px;font-family: "Raleway", sans-serif; color: #634522;}


.hp-section-reviews h2{
	    font-size: 23px;
	color: #634522;
    font-family: 'Tan Regular';
}


.hp-listing--view-page .hp-listing__images{
    margin-bottom: 2rem;
    border-radius: 32px;
    overflow: hidden;
}

.hp-page__content {position: relative;}

.hp-listing__actions.hp-listing__actions--secondary{
	    position: absolute;
    top: 10px;
    transform: translateY(50%);
    right: 0;
}
.hp-listing--view-page .hp-listing__action--favorite span{display:none;}
.hp-listing--view-page .hp-listing__action--favorite i{font-size:28px;}


.hp-listing-category--view-block .hp-listing-category__image:not(:last-child){
    margin-bottom: 0rem;
}
.hp-listing-category--submit-block .hp-listing-category__image a::after, .hp-listing-category--view-block .hp-listing-category__image a::after {
    border-radius: 15px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.5));
}

 .hp-listing-category--view-block {
    border-radius: 15px;
    overflow: hidden !important;
}










/*=========================dashboard==================================*/

.hp-vendor__actions--secondary {
    border: none; 
    border-radius: 50px;
     box-shadow: none; 
    background-color: #d3ebeb;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 5.2%;
}
.hp-vendor__actions--secondary i, 
.hp-vendor__actions--secondary {
    color: #2a5554;
}

.widget--sidebar, .widget.hp-menu {
    border-radius: 20px;
    box-shadow: none;
}

.widget_nav_menu li a, .widget_pages li a {
    color: rgb(42 85 84 / 58%);
    transition: color .25s;
}

.hp-menu__item small {
    background-color: #2a5554;
}






.hp-table, .woocommerce table.shop_table{
	    border-collapse: separate;
	-webkit-border-horizontal-spacing: 0;
    -webkit-border-vertical-spacing: 8px;
}

.hp-table td, .hp-table th, .woocommerce table.shop_table th, .woocommerce table.shop_table td {
    padding: 1.5rem .75rem;
    
    border: none !important;
    border-width: 0;
    background: #f7fbfb;
	color: #2a5554;
    font-weight: 500;
}
table td:first-child, table th:first-child, .woocommerce table.shop_table th:first-child, .woocommerce table.shop_table td:first-child {
    padding-left: 30px;
	    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
}
table td:last-child, table th:last-child,  .woocommerce table.shop_table th:last-child, .woocommerce table.shop_table td:last-child {
    padding-right: 30px;
	    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
}


.hp-status span {
    border-radius: 15px;
}

.hp-status--publish span, .hp-status--wc-completed span {
    color: #1a5755;
    background: #b4e9db;
    border-color: transparent;
}

.hp-status--pending span, .hp-status--wc-on-hold span, .hp-status--wc-processing span {
    color: #caa374;
    border-color: #caa374;
}













#start-background-check{
	    padding: 14px 24px;
    background: #1a5755;
    color: #ffffff;
    top: 0;
    width: 100%;
    left: 0;
    outline: none;
    border: none;
    text-transform: uppercase;
    letter-spacing: 5%;
}



/* ---------- Checkout: two-column layout ---------- */
@media (min-width: 992px) {

    form.checkout {
        display: grid;
        grid-template-columns: 3fr 2fr; /* left wider than right; use 1fr 1fr for equal */
        column-gap: 40px;
        align-items: start;
    }

    /* Remove clearfix pseudo-elements so they don't take grid cells */
    form.checkout::before,
    form.checkout::after {
        display: none;
    }

    /* Error notices span the full width at the top */
    form.checkout .woocommerce-NoticeGroup {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    /* Left: customer info */
    form.checkout #customer_details {
        grid-column: 1;
        grid-row: 2 / span 2;
    }

    /* Stack billing and shipping instead of side by side */
    form.checkout #customer_details .col-1,
    form.checkout #customer_details .col-2 {
        float: none;
        width: 100%;
    }

    /* Right: order summary */
    form.checkout #order_review_heading {
        grid-column: 2;
        grid-row: 2;
        margin-top: 0;
    }

    form.checkout #order_review {
        grid-column: 2;
        grid-row: 3;
        position: sticky; /* stays visible while scrolling; remove if you don't want it */
        top: 30px;
    }
}
/* ---------- End checkout two-column layout ---------- */
}

