/* Ancient Era (-800 to 500 CE) — Greek & Roman: marble, columns, warm stone */
body.era-ancient {
    --bg-primary: #f5f0e3;
    --bg-secondary: #2C1810;
    --bg-card: #fdf9f0;
    --text-primary: #2C1810;
    --text-secondary: #5a4a38;
    --text-muted: #8a7a64;
    --accent-color: #C4A265;
    --accent-hover: #a88a50;
    --border-color: #d4c9b0;
    --heading-font: 'Cinzel', serif;
    --shadow: 0 2px 8px rgba(44,24,16,0.08);
    --shadow-lg: 0 8px 24px rgba(44,24,16,0.12);
    --greek-key-bg: url('/assets/images/greek-key.svg') repeat-x left center / auto 20px;
}

body.era-ancient {
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(196,162,101,0.03) 40px,
            rgba(196,162,101,0.03) 41px
        );
}

/* Header with Greek key band underneath */
body.era-ancient .site-header {
    background: linear-gradient(180deg, #2C1810 0%, #3d2518 100%);
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

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

body.era-ancient .era-header,
body.era-ancient .region-header {
    background: linear-gradient(135deg, #f5f0e3 0%, #e8dcc8 100%);
    border-bottom: 2px solid #C4A265;
}

/* Greek key band under section titles */
body.era-ancient .section__title {
    padding-bottom: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
}

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

/* Greek key band on product form */
body.era-ancient .product-form {
    border-radius: 0;
    border: 2px solid #d4c9b0;
    padding-top: 2.2rem;
    position: relative;
    overflow: hidden;
}

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

/* Greek key on philosopher sidebar */
body.era-ancient .philosopher-sidebar {
    border-radius: 0;
    border: 2px solid #d4c9b0;
    padding-top: 1rem;
    position: relative;
    overflow: hidden;
}

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

body.era-ancient .cart-summary {
    border-radius: 0;
    border: 2px solid #d4c9b0;
    position: relative;
    overflow: hidden;
    padding-top: 2.2rem;
}

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

/* Greek key on product meta divider */
body.era-ancient .product-page__meta {
    border-top: none;
    padding-top: 2rem;
    position: relative;
}

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

body.era-ancient .quote-card {
    border-left: 4px solid #C4A265;
    background: linear-gradient(135deg, #fdf9f0 0%, #f5f0e3 100%);
}

body.era-ancient .shirt-card {
    border: 1px solid #d4c9b0;
    border-radius: 2px;
}

body.era-ancient .btn--primary {
    background: linear-gradient(180deg, #C4A265 0%, #a88a50 100%);
    border: 1px solid #a88a50;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

body.era-ancient .btn--primary:hover {
    background: linear-gradient(180deg, #d4b275 0%, #C4A265 100%);
}

body.era-ancient .product-page__mockup {
    background: linear-gradient(160deg, #f5f0e3 0%, #e8dcc8 40%, #ddd2b8 100%);
    border: 1px solid #d4c9b0;
}

body.era-ancient .history-bar__toggle {
    background: #C4A265;
}

body.era-ancient .history-bar__toggle:hover {
    background: #a88a50;
}

/* Greek key band above footer */
body.era-ancient .site-footer {
    background: #2C1810;
    border-top: none;
    position: relative;
    padding-top: calc(1rem + 20px);
}

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