@import url('https://fonts.googleapis.com/css2?family=IM+Fell+English&display=swap');

/* Scaruffi-inspired overrides */

body, main {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 1.1em !important;
    line-height: 1.7 !important;
}

/* Wider reading column */
@media (min-width: 1200px) {
    .container {
        max-width: 1100px !important;
    }
}

/* Reduce the enormous default padding */
.container.pt-5 {
    padding-top: 1.5rem !important;
}

.row.mt-5.pt-5 {
    margin-top: 0.5rem !important;
    padding-top: 0 !important;
}

/* Links */
a {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-underline-offset: 0.15em !important;
}

a:hover {
    color: #cccccc !important;
}

/* Nav font and color */
nav ol.breadcrumb .breadcrumb-item a,
nav ol.breadcrumb .breadcrumb-item {
    font-family: 'IM Fell English', serif !important;
    color: #ff475f !important;
}

/* Nav — plain text links, separated by dots */
nav.breadcrumb ol, .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 0.75rem;
    font-size: 0.85em;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: " · " !important;
    color: #555 !important;
}

/* Page title — small and plain, not a giant display heading */
h1.display-3 {
    font-size: 4rem !important;
    text-transform: none !important;
    font-weight: bold !important;
    letter-spacing: 0 !important;
    line-height: 1.3 !important;
    margin-bottom: 0.4rem !important;
    margin-top: 0.5rem !important;
}

/* Post headings */
.post article h1,
.post article h2,
.post article h3,
.post article h4 {
    font-size: 1rem !important;
}

/* Remove the ↗ suffix — Scaruffi doesn't need it */
.post article a:not(.footnote-backref)::after {
    content: "" !important;
}

footer a::after {
    content: "" !important;
}

/* Tables — simple ruled */
th {
    border-bottom: 2px solid #111 !important;
    background: none !important;
    font-weight: bold;
}

td {
    border-bottom: 1px solid #ccc !important;
}

/* Lead text — less decorative */
p.lead .underline {
    background-image: none !important;
    font-style: italic;
}

/* HR — simple line, not the hatch pattern */
hr {
    background-image: none !important;
    border-top: 1px solid #aaa !important;
    height: 1px !important;
}

/* Store products */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.store-item {
    border: 1px solid #ccc;
    padding: 1rem;
}

.store-item h3 {
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
    font-weight: bold;
}

.store-item .price {
    color: #333;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.store-item p {
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
    color: #444;
}

.snipcart-add-item {
    background: #111;
    color: #fff;
    border: none;
    padding: 0.4rem 0.9rem;
    font-family: Georgia, serif;
    font-size: 0.82rem;
    cursor: pointer;
    letter-spacing: 0.03em;
}

.snipcart-add-item:hover {
    background: #333;
}

.cart-button-wrapper {
    text-align: right;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.snipcart-checkout {
    background: none;
    border: 1px solid #111;
    padding: 0.3rem 0.8rem;
    font-family: Georgia, serif;
    font-size: 0.82rem;
    cursor: pointer;
    color: #00008b;
    text-decoration: underline;
}

.snipcart-checkout:hover {
    color: #0000ff;
}
