/* Parametric — minimal, clean layout. Edit as needed. */

:root {
    --color-bg: #fafafa;
    --color-surface: #fff;
    --color-text: #1a1a1a;
    --color-muted: #666;
    --color-border: #e5e5e5;
    --color-accent: #2563eb;
    --font-sans: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --max-width: 960px;
    --space: 1.25rem;
    --radius: 6px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

.wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space);
}

/* Header */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space) 0;
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
    text-decoration: none;
}

.logo:hover {
    color: var(--color-accent);
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav a {
    color: var(--color-muted);
    text-decoration: none;
}

.nav a:hover {
    color: var(--color-text);
}

/* Main */
.site-main {
    min-height: 60vh;
    padding: calc(var(--space) * 2) 0;
}

/* Hero */
.hero {
    text-align: center;
    padding: calc(var(--space) * 2) 0;
}

.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.tagline {
    font-size: 1.125rem;
    color: var(--color-muted);
    margin: 0;
}

/* Product grid */
.products h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 var(--space);
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space);
}

.product-card {
    margin: 0;
}

.product-card a {
    display: block;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.product-card a:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product-placeholder {
    height: 200px;
    background: var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-size: 0.875rem;
}

.product-placeholder.large {
    height: 280px;
    min-width: 280px;
}

.product-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    padding: var(--space);
    padding-bottom: 0.25rem;
}

.product-card .price {
    padding: 0 var(--space) var(--space);
    margin: 0;
    font-weight: 600;
    color: var(--color-accent);
}

/* Product detail page */
.breadcrumb {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-bottom: var(--space);
}

.breadcrumb a {
    color: var(--color-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--color-text);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--space) * 2);
    align-items: start;
}

@media (max-width: 640px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
}

.product-media img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.product-info h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.product-info .price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-accent);
    margin: 0 0 var(--space);
}

.description {
    margin-bottom: var(--space);
}

.description p:first-child {
    margin-top: 0;
}

.paypal-embed {
    margin-top: var(--space);
}

.paypal-placeholder {
    font-size: 0.875rem;
    color: var(--color-muted);
    padding: var(--space);
    background: var(--color-border);
    border-radius: var(--radius);
}

.paypal-placeholder code {
    font-size: 0.8em;
    background: var(--color-surface);
    padding: 0.1em 0.3em;
    border-radius: 3px;
}

/* Generic page */
.page-content h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 var(--space);
}

.page-content p {
    margin: 0 0 1rem;
}

.page-content code {
    font-size: 0.9em;
    background: var(--color-border);
    padding: 0.15em 0.4em;
    border-radius: 3px;
}

.not-found {
    text-align: center;
    padding: 2rem 0;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: var(--space) 0;
    margin-top: auto;
}

.site-footer .footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space);
}

.site-footer p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-muted);
}

.site-footer .contact-links a {
    color: var(--color-muted);
    text-decoration: none;
}

.site-footer .contact-links a:hover {
    color: var(--color-accent);
}

.contact-list {
    list-style: none;
    margin: 0 0 var(--space);
    padding: 0;
}

.contact-list li {
    margin-bottom: 0.5rem;
}

.contact-list a {
    color: var(--color-accent);
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}
