/* Frontend Styles for Pet Store Front and Directory */

.ppsi-single-store {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.ppsi-store-header {
    background: #f9fafb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}
.ppsi-store-header-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.ppsi-store-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: #e5e7eb;
    flex-shrink: 0;
}
.ppsi-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ppsi-store-info h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
}
.ppsi-store-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.ppsi-store-speciality {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}
.ppsi-store-badge {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}
.ppsi-store-about {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}
.ppsi-store-about h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.ppsi-store-promos {
    margin-bottom: 2rem;
}
.ppsi-promo-card {
    display: flex;
    background: #fef3c7;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.ppsi-promo-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}
.ppsi-promo-content {
    padding: 1rem;
    flex: 1;
}
.ppsi-promo-content h3 {
    margin: 0 0 0.5rem 0;
}
.ppsi-promo-link {
    color: #b45309;
    font-weight: 600;
    text-decoration: none;
}
.ppsi-products-section {
    margin-bottom: 2rem;
}
.ppsi-products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}
.ppsi-products-filter {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
}
.ppsi-filter-group {
    margin-bottom: 1.5rem;
}
.ppsi-filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}
.ppsi-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    font-weight: normal;
}
.ppsi-price-slider {
    margin: 1rem 0;
}
.ppsi-price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ppsi-price-inputs input {
    width: 80px;
    padding: 0.25rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}
.ppsi-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.ppsi-tags-list span {
    background: #e5e7eb;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    cursor: pointer;
}
.ppsi-filter-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}
.ppsi-filter-actions button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
#ppsi-clear-filters {
    background: #e5e7eb;
    color: #1f2937;
}
#ppsi-apply-filters {
    background: #f7a800;
    color: #1a1200;
    font-weight: 600;
}
.ppsi-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.ppsi-product-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    padding: 1rem;
    text-align: center;
}
.ppsi-product-img {
    height: 150px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.ppsi-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ppsi-product-title {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}
.ppsi-product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f7a800;
    margin-bottom: 0.75rem;
}
.ppsi-product-btn {
    display: inline-block;
    background: #1f2937;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
}
.ppsi-rescue-commitment {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

/* Directory Grid */
.ppsi-directory-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.ppsi-store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.ppsi-store-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.ppsi-store-card-img {
    height: 180px;
    overflow: hidden;
}
.ppsi-store-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ppsi-store-card-content {
    padding: 1rem;
}
.ppsi-store-card-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}
.ppsi-store-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}
.ppsi-store-card-content p {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.ppsi-store-card-link {
    color: #f7a800;
    font-weight: 600;
    text-decoration: none;
}
@media (max-width: 768px) {
    .ppsi-products-layout {
        grid-template-columns: 1fr;
    }
    .ppsi-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ppsi-store-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .ppsi-products-grid,
    .ppsi-store-grid {
        grid-template-columns: 1fr;
    }
}
