/* store-theme.css */
:root {
    --bg-main: #1e2123;
    --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);
}
/* --- Header Area Core Realignment --- */
.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Realigns the baseline text axis perfectly to match your new logo size */
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 40px;
}
.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;
}

/* --- Enhanced Hero Layout Block --- */
.shop-hero {
    background-color: var(--bg-card); 
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
    box-shadow: var(--shadow-subtle);
    display: flex;
    align-items: center;
    overflow: hidden; /* Clips the image border beautifully to match the container radius */
    min-height: 360px;
}

/* Left Content Column */
.hero-body-content {
    flex: 1;
    padding: 50px 40px;
    text-align: left;
}

.hero-body-content h2 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 2.4rem;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-body-content p {
    color: var(--text-muted);
    margin: 0 0 24px 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Right Image Column */
.hero-media-frame {
    flex: 1;
    align-self: stretch; /* Forces image column to take up full structural height */
    border-left: 1px solid var(--border-color);
    position: relative;
}

.hero-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crops image symmetrically without compressing original ratios */
    object-position: center;
}

/* Mobile Adjustments */
@media (max-width: 850px) {
    .shop-hero {
        flex-direction: column; /* Stacks column layers vertically on smaller devices */
    }
    .hero-body-content {
        padding: 40px 24px;
    }
    .hero-media-frame {
        width: 100%;
        height: 240px; /* Restricts vertical height on mobile viewports */
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    .hero-body-content h2 {
        font-size: 1.8rem;
    }
}  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; }
}