/*
Theme Name: Astra Child
Theme URI: https://homeo-path.com/astra-child
Description: Astra Child Theme for HomeoPath
Author: Seema Gokhale
Author URI: https://homeo-path.com
Template: astra
Version: 1.0.0
*/

/* =========================================================
HomeoPath – Store Cards (Astra-safe, stable)
========================================================= */

.ast-container .hp-store-list {
list-style: none;
padding: 0;
margin: 2rem auto;
max-width: 960px;
}

/* Individual card wrapper */
.ast-container .hp-card {
margin-bottom: 2rem;
}

/* Card surface */
.ast-container .hp-card-inner {
background: #ffffff;
border-radius: 16px;
padding: 1.75rem 2rem;
display: flex;
gap: 2rem;
box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Profile photo */
.ast-container .hp-photo img {
width: 140px;
height: 140px;
border-radius: 50%;
object-fit: cover;
display: block;
}

/* Content column */
.ast-container .hp-content {
flex: 1;
}

/* Name */
.ast-container .hp-name {
margin: 0 0 0.5rem;
font-size: 1.4rem;
font-weight: 600;
}

.ast-container .hp-name a {
color: #123c22;
text-decoration: none;
}

.ast-container .hp-name a:hover {
text-decoration: underline;
}

/* Description text */
.ast-container .hp-focus,
.ast-container .hp-bestfor {
margin: 0.4rem 0;
line-height: 1.55;
color: #222;
}

/* Availability */
.ast-container .hp-availability {
margin-top: 0.75rem;
font-size: 0.95rem;
color: #4f6f60;
}

/* Action row */
.ast-container .hp-actions {
margin-top: 1.2rem;
display: flex;
gap: 1.25rem;
align-items: center;
}

/* View profile link */
.ast-container .hp-view {
color: #1d4c2d;
text-decoration: none;
font-weight: 500;
}

.ast-container .hp-view:hover {
text-decoration: underline;
}

/* Book consultation button */
.ast-container .hp-book {
background: #1d4c2d;
color: #ffffff;
padding: 0.6rem 1.4rem;
border-radius: 999px;
text-decoration: none;
font-weight: 600;
display: inline-block;
}

/* Prevent Astra link state overrides */
.ast-container .hp-book:hover,
.ast-container .hp-book:focus,
.ast-container .hp-book:active,
.ast-container .hp-book:visited {
color: #ffffff;
background: #1d4c2d;
opacity: 0.95;
text-decoration: none;
}

/* Pagination */
.ast-container .hp-pagination {
margin: 2rem auto;
text-align: center;
}

/* =========================================================
Mobile layout
========================================================= */
@media (max-width: 768px) {

.ast-container .hp-card-inner {
flex-direction: column;
text-align: center;
padding: 1.5rem 1.25rem;
}

.ast-container .hp-photo img {
margin: 0 auto;
}

.ast-container .hp-actions {
flex-direction: column;
gap: 0.75rem;
}

.ast-container .hp-book {
width: 100%;
text-align: center;
}
}
