/* Heritage Lab -- Shared Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', Georgia, serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #faf9f7;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Victorian Ornament Styles */
.ornament {
    text-align: center;
    margin: 20px 0;
    color: #8b7355;
}
.ornament svg {
    width: 200px;
    height: auto;
}
.ornament-small svg {
    width: 120px;
}
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}
.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #c9b99a, transparent);
    max-width: 150px;
}
.divider-symbol {
    margin: 0 15px;
    color: #8b7355;
    font-size: 1.2rem;
}

/* Header */
header {
    text-align: center;
    padding: 30px 0 20px;
}
h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 25px;
    color: #3d3229;
    text-transform: uppercase;
}
.tagline {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #6b5b4f;
    font-size: 1.3rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Navigation */
nav {
    text-align: center;
    padding: 10px 0 20px;
    border-bottom: 1px solid #e5ddd3;
    margin-bottom: 20px;
}
nav a {
    color: #6b5b4f;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin: 0 15px;
}
nav a:hover {
    color: #3d3229;
}

/* Main Content */
main {
    padding: 10px 0;
}
h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    margin-top: 0;
    color: #3d3229;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}
p {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.1rem;
}

/* Collections Grid */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 30px 0 40px;
}
.product {
    background: #fff;
    padding: 30px 25px;
    border: 1px solid #e5ddd3;
    text-align: center;
    position: relative;
}
.product::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid #e5ddd3;
    pointer-events: none;
}
.product h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: #3d3229;
    letter-spacing: 1px;
}
.product p {
    font-size: 0.95rem;
    color: #6b5b4f;
    text-align: center;
    margin-bottom: 0;
}
.product-link {
    text-decoration: none;
    color: inherit;
}
.product-link .product {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-link:hover .product {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
    color: #8b7355;
}
footer a {
    color: #6b5b4f;
    text-decoration: none;
    border-bottom: 1px solid #c9b99a;
}
footer a:hover {
    color: #3d3229;
    border-bottom-color: #3d3229;
}
.links {
    margin-top: 15px;
}
.links a {
    margin: 0 15px;
}
.copyright {
    margin-top: 20px;
    font-size: 0.85rem;
}

/* Corner Ornaments */
.corner-ornament {
    position: fixed;
    width: 80px;
    height: 80px;
    opacity: 0.15;
    pointer-events: none;
}
.corner-tl { top: 20px; left: 20px; }
.corner-tr { top: 20px; right: 20px; transform: scaleX(-1); }
.corner-bl { bottom: 20px; left: 20px; transform: scaleY(-1); }
.corner-br { bottom: 20px; right: 20px; transform: scale(-1, -1); }

/* MailerLite embed */
.ml-embedded {
    max-width: 400px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    h1 { font-size: 2rem; letter-spacing: 2px; }
    .tagline { font-size: 1.1rem; }
    .corner-ornament { display: none; }
}
