/* Modern Era (1800-1950) — Industrial, structured, dark slate, serious */
body.era-modern {
    --bg-primary: #e8ecec;
    --bg-secondary: #0f1a1a;
    --bg-card: #f2f5f5;
    --text-primary: #0f1a1a;
    --text-secondary: #2d3e3e;
    --text-muted: #5a6e6e;
    --accent-color: #2F4F4F;
    --accent-hover: #1f3535;
    --border-color: #a0b4b4;
    --heading-font: 'Cinzel', serif;
    --shadow: 0 2px 8px rgba(15,26,26,0.1);
    --shadow-lg: 0 8px 24px rgba(15,26,26,0.15);
    --era-pattern: url('/assets/images/modern-grid.svg') repeat-x left center / auto 22px;
}

body.era-modern {
    background-image:
        repeating-linear-gradient(
            90deg, transparent, transparent 100px,
            rgba(47,79,79,0.02) 100px, rgba(47,79,79,0.02) 101px
        ),
        repeating-linear-gradient(
            0deg, transparent, transparent 100px,
            rgba(47,79,79,0.02) 100px, rgba(47,79,79,0.02) 101px
        );
}

body.era-modern .site-header {
    background: #0f1a1a;
    border-bottom: none;
}

body.era-modern .main-content::before {
    content: '';
    display: block;
    width: 100%;
    height: 26px;
    padding: 2px 0;
    background: var(--era-pattern);
    background-color: var(--bg-primary);
}

body.era-modern .era-header,
body.era-modern .region-header {
    background: linear-gradient(135deg, #e8ecec 0%, #d0dcdc 100%);
    border-bottom: 3px solid #2F4F4F;
}

body.era-modern .section__title {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 1.3rem;
    padding-bottom: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
}

body.era-modern .section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: var(--era-pattern);
}

body.era-modern .product-form {
    border: 1px solid #a0b4b4;
    border-radius: 0;
    border-top: 4px solid #2F4F4F;
    background: #f2f5f5;
    padding-top: 2.2rem;
    position: relative;
    overflow: hidden;
}

body.era-modern .product-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: var(--era-pattern);
}

body.era-modern .philosopher-sidebar {
    border: 1px solid #a0b4b4;
    border-top: 4px solid #2F4F4F;
    background: #f2f5f5;
    position: relative;
    overflow: hidden;
    padding-top: 1rem;
}

body.era-modern .philosopher-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: var(--era-pattern);
}

body.era-modern .cart-summary {
    border: 1px solid #a0b4b4;
    border-top: 4px solid #2F4F4F;
    background: #f2f5f5;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    padding-top: 2.2rem;
}

body.era-modern .cart-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: var(--era-pattern);
}

body.era-modern .product-page__meta {
    border-top: none;
    padding-top: 2rem;
    position: relative;
}

body.era-modern .product-page__meta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: var(--era-pattern);
}

body.era-modern .quote-card {
    border-left: 5px solid #2F4F4F;
    background: #f2f5f5;
    border-radius: 0;
}

body.era-modern .shirt-card {
    border: 1px solid #a0b4b4;
    background: #f2f5f5;
    border-radius: 2px;
}

body.era-modern .btn--primary {
    background: #2F4F4F;
    border: 2px solid #1f3535;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

body.era-modern .btn--primary:hover {
    background: #3d6363;
}

body.era-modern .product-page__mockup {
    background: linear-gradient(160deg, #e8ecec 0%, #d0dcdc 40%, #b8c8c8 100%);
    border: 1px solid #a0b4b4;
    border-radius: 4px;
}

body.era-modern .history-bar__toggle {
    background: #2F4F4F;
    border-radius: 4px 0 0 4px;
}

body.era-modern .history-bar__toggle:hover {
    background: #1f3535;
}

body.era-modern .product-page__quote {
    border-left-color: #2F4F4F;
}

body.era-modern .era-card,
body.era-modern .region-card {
    border-radius: 2px;
}

body.era-modern .site-footer {
    background: #0f1a1a;
    border-top: none;
    position: relative;
    padding-top: calc(1rem + 16px);
}

body.era-modern .site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 26px;
    padding: 2px 0;
    background: var(--era-pattern);
    background-color: var(--bg-primary);
}
