/*
 * CHARTER Font styling
 * –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Overridden CSS variables using “Charter” serif font family */

/* Charter webfonts loaded locally via @font-face in config.fonts.scss */

:root {  /* redefine variables at site level */

    /* Wider column width */
    --text-col-width: 46rem;

    /* "Charter" serif font */
    --entry-title-font-family: Charter;
    --entry-title-font-size: 1.75rem; /* 28px */

    --text-font-family: Charter;
    --text-font-size: 1.25rem;  /* 20 px */
    --text-line-height: 1.45;

    /* Centred main heading */
    --entry-title-text-align: center;

}

/*
 * SHOP — Grid and card styles
 * Add this block to the bottom of your charter stylesheet
 * –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Collection heading */
.collection-heading {
    text-align: center;
    margin-block: 2rem 1.5rem;
    font-family: Charter, serif;
    font-size: 1.5rem;
}

/* 2-column grid */
.shop-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 56rem;
    margin-inline: auto;
    padding-inline: 1rem;
}

/* Individual card */
.shop-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

/* Image fills card width */
.shop-card-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Card body: title, excerpt, price, button */
.shop-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.shop-card-title {
    font-family: Charter, serif;
    font-size: 1.1rem;
    margin: 0;
}

.shop-card-title a {
    text-decoration: none;
    color: inherit;
}

.shop-card-excerpt {
    font-size: 1rem;
    line-height: 1.45;
    color: #444;
    margin: 0;
}

/* Price */
.price-main {
    font-size: 1.1rem;
    font-weight: bold;
}

.price-vat {
    font-size: 0.85rem;
    color: #666;
}

/* Add to basket button */
.add_to_cart.button {
    margin-top: auto;
    padding: 0.6rem 1.2rem;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-family: Charter, serif;
    font-size: 1rem;
    cursor: pointer;
    align-self: flex-start;
}

.add_to_cart.button:hover {
    background: #444;
}

/* Single column on small screens */
@media (max-width: 600px) {
    .shop-gallery {
        grid-template-columns: 1fr;
    }
}