/* Customer design presets. Palette and typography remain separate settings. */
.product-card-description {
    display: none;
}

/* Editorial: imagery leads, with fewer, larger products per row. */
.layout-editorial .home-hero {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    padding-bottom: 36px;
}
.layout-editorial .hero-visual {
    grid-column: 1;
    grid-row: 1;
}
.layout-editorial .hero-copy {
    grid-column: 2;
    grid-row: 1;
    padding: 50px 0;
}
.layout-editorial .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 34px;
}
.layout-editorial .product-photo,
.layout-editorial .home-grid .product-photo {
    width: 100%;
    aspect-ratio: 4/5;
    max-height: none;
}
.layout-editorial .product-card-copy {
    padding-top: 22px;
}
.layout-editorial .product-card-copy h3 {
    font-family: var(--site-heading-font);
    font-size: 24px;
}
.layout-editorial .catalog-heading {
    padding-top: 28px;
    padding-bottom: 40px;
}

/* Gallery: a centered introduction, wide banner and square photograph grid. */
.layout-gallery .home-hero {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 36px;
}
.layout-gallery .hero-copy {
    align-items: center;
    text-align: center;
    padding: 20px 0 5px;
}
.layout-gallery .hero-copy h1 {
    max-width: 850px;
}
.layout-gallery .hero-subtitle {
    max-width: 610px;
}
.layout-gallery .hero-actions {
    justify-content: center;
}
.layout-gallery .hero-footnote {
    margin-top: 24px;
}
.layout-gallery .hero-visual {
    min-height: 0;
    height: 460px;
    width: 100%;
}
.layout-gallery .hero-visual img {
    height: 100%;
    max-height: 100%;
}
.layout-gallery .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px 26px;
}
.layout-gallery .product-photo,
.layout-gallery .home-grid .product-photo {
    width: 100%;
    aspect-ratio: 1;
    max-height: none;
}
.layout-gallery .product-card-copy {
    text-align: center;
}
.layout-gallery .section-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}
.layout-gallery .catalog-heading {
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
}

/* Catalog rows: a compact welcome and photo + description cards. */
.layout-catalog .home-hero {
    grid-template-columns: 1.6fr 1fr;
    min-height: 0;
    gap: 35px;
    padding-bottom: 28px;
}
.layout-catalog .hero-copy {
    padding: 25px 0;
}
.layout-catalog .hero-copy h1 {
    font-size: clamp(36px, 4vw, 52px);
    max-width: 650px;
    margin-bottom: 18px;
}
.layout-catalog .hero-subtitle {
    max-width: 600px;
    margin-bottom: 24px;
}
.layout-catalog .hero-footnote {
    display: none;
}
.layout-catalog .hero-visual {
    min-height: 0;
    height: 320px;
}
.layout-catalog .hero-label {
    display: none;
}
.layout-catalog .service-strip {
    margin-bottom: 42px;
}
.layout-catalog .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.layout-catalog .product-card-link {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding: 16px;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    height: 100%;
}
.layout-catalog .product-photo {
    width: 100%;
    height: 190px;
    aspect-ratio: auto;
    padding: 5px;
}
.layout-catalog .product-card-copy {
    padding: 0;
    min-width: 0;
}
.layout-catalog .product-card-copy h3 {
    font-size: 19px;
    margin-bottom: 12px;
}
.layout-catalog .product-card-description {
    display: block;
    font-size: 15px;
    line-height: 1.7;
    color: var(--site-muted);
    margin: 0 0 14px;
}
.layout-catalog .photo-label,
.layout-catalog .photo-arrow {
    display: none;
}
.layout-catalog .image-placeholder {
    font-size: 13px;
    text-align: center;
    padding: 6px;
}

@media(min-width: 992px) {
    .layout-editorial .product-layout {
        grid-template-columns: 1fr 1fr;
        gap: 65px;
    }
    .layout-gallery .product-layout {
        grid-template-columns: 1.4fr 1fr;
        gap: 50px;
    }
    .layout-catalog .product-layout {
        grid-template-columns: 1fr 1.2fr;
        gap: 45px;
    }
}
@media(max-width: 991px) {
    .layout-editorial .home-hero {
        gap: 28px;
    }
    .layout-editorial .hero-copy h1 {
        font-size: 42px;
    }
    .layout-catalog .catalog-grid,
    .layout-catalog .home-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .layout-gallery .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .layout-catalog .hero-visual {
        height: 100%;
        min-height: 240px;
    }
}
@media(max-width: 600px) {
    .layout-editorial .home-hero {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .layout-editorial .hero-visual {
        order: -1;
        aspect-ratio: 5/4;
    }
    .layout-editorial .hero-copy {
        padding: 10px 0 0;
    }
    .layout-editorial .catalog-grid,
    .layout-editorial .home-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .layout-editorial .product-card-copy h3 {
        font-size: 23px;
    }
    .layout-gallery .hero-visual {
        height: 290px;
        aspect-ratio: auto;
    }
    .layout-gallery .hero-copy {
        padding-top: 10px;
    }
    .layout-gallery .hero-copy h1 {
        font-size: 42px;
    }
    .layout-gallery .catalog-grid {
        gap: 26px 12px;
    }
    .layout-catalog .home-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    .layout-catalog .hero-copy {
        padding: 4px 0 0;
    }
    .layout-catalog .hero-visual {
        display: none;
    }
    .layout-catalog .hero-copy h1 {
        font-size: 38px;
    }
    .layout-catalog .product-card-link {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 14px;
        padding: 12px;
    }
    .layout-catalog .product-photo {
        height: 150px;
    }
    .layout-catalog .product-card-copy h3 {
        font-size: 17px;
    }
    .layout-catalog .product-card-description {
        font-size: 14px;
    }
    .layout-catalog .product-card-copy>span {
        font-size: 13px;
    }
}
