/* store-theme.css */
:root {
    --bg-main: #171b18;
    --bg-card: #222821;
    --border-color: #343b35;

    --primary-sage: #9dad91;
    --primary-hover: #b9c8aa;
    --accent-tan: #c3a681;
    --accent-danger: #c76565;

    --text-main: #f4efe6;
    --text-muted: #c1b9aa;

    --radius-lg: 10px;
    --radius-sm: 5px;
    --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.catalog-tools {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    background: var(--bg-main);
    padding: 14px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.catalog-tools input,
.catalog-tools select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-main);
    padding: 10px 12px;
    font-size: 0.95rem;
}

.catalog-tools input {
    flex: 1;
    min-width: 220px;
}

.catalog-tools button {
    background: var(--primary-sage);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
}

/* Global Elements */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Georgia, serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    margin: 0;
    padding: 40px 20px;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.shop-hero {
    background:
        linear-gradient(
            rgba(28,34,30,.75),
            rgba(28,34,30,.75)
        ),
        url('images/stonehollow-barn.jpg') center/cover;

    color: white;
}
.shop-hero p {
    color: rgba(255,255,255,.85) !important;
}
/* Shared Premium Header */
.store-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 40px;
}

.store-title h1 {
    font-family: Georgia, serif;
    font-weight: 400;
    margin: 0 0 6px 0;
    font-size: 2.2rem;
    letter-spacing: -0.5px;
}

.store-title p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

.cart-status-link {
    text-decoration: none;
    color: var(--primary-sage);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--primary-sage);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.cart-status-link:hover {
    background-color: var(--primary-sage);
    color: #ffffff !important;
}
.featured-footer {
    border-top: 1px solid var(--border-color);
}
/* --- Global Footer Styling --- */
.store-footer {
    background-color: #111411;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
    padding: 20px 20px 30px 20px;

    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.store-footer a {
	color: var(--primary-sage);
}
.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
    color: var(--accent-tan);
    margin: 0 0 16px 0;
    font-weight: 600;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--primary-sage);
}

.footer-bottom {
    max-width: 1100px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid #f5f4f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive breakpoint for standard multi-column collapse */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .store-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    body { padding: 20px 12px; }
}