/* Homepage layout. Colours and typography inherit Zazla's theme settings. */
.nova-home--catalogue {
    background: var(--site-bg-color);
    color: var(--site-text-color);
    font-family: var(--site-main-font);
}

.nova-home--catalogue .nova-home-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--site-width, 1340px);
    margin: 0 auto;
    padding-right: 32px;
    padding-left: 32px;
}

/* Keep the uploaded campaign image intact at every screen size. */
.nova-home-hero { overflow: hidden; }
.nova-home-hero__image { display: block; width: 100%; height: auto; }

.nova-home-collection { padding: 80px 0 88px; }
.nova-home-collection .nova-home-section-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 44px;
    text-align: center;
}
.nova-home-collection .nova-home-section-intro h2 {
    max-width: 680px;
    margin: 0;
    color: var(--site-heading-color);
    font-family: var(--site-secondary-font);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.2;
}
.nova-home-collection .nova-home-section-intro p {
    max-width: 480px;
    margin: 14px 0 0;
    color: var(--site-text-color);
    font-size: 14px;
    line-height: 1.7;
}
.nova-home-section-intro::after {
    content: '';
    width: 36px;
    height: 2px;
    margin-top: 22px;
    background: var(--site-accent-color);
}

/* Keep native product-card styling; only replace the flex column sizing. */
.nova-home-collection ul.products {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 36px 24px;
    margin: 0;
}
.nova-home--catalogue .nova-home-collection ul.products > li.product {
    float: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.nova-home-collection ul.products::before,
.nova-home-collection ul.products::after { display: none; }
.nova-home-collection ul.products li.product .product-item { height: 100%; }
.nova-home-collection .woocommerce-loop-product__title { overflow-wrap: anywhere; }
.nova-home--catalogue a:focus-visible {
    outline: 2px solid var(--site-accent-color);
    outline-offset: 4px;
}

/* Delivery information uses the same neutral surface as the Shop page header. */
.nova-home-story {
    padding: 72px 0;
    border-top: 1px solid var(--site-border-color);
    border-bottom: 1px solid var(--site-border-color);
    background: var(--page-header-bg-color, var(--site-bg-color));
    color: var(--page-header-text-color, var(--site-text-color));
}
.nova-home-story__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 80px;
}
.nova-home-kicker {
    display: block;
    color: var(--site-accent-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.5;
    text-transform: uppercase;
}
.nova-home-story h2 {
    max-width: 520px;
    margin: 16px 0 20px;
    color: var(--page-header-heading-color, var(--site-heading-color));
    font-family: var(--site-secondary-font);
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.25;
}
.nova-home-story__lead > p {
    max-width: 500px;
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.8;
}
.nova-home-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    color: var(--page-header-heading-color, var(--site-heading-color));
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.5;
    text-transform: uppercase;
}
.nova-home-arrow-link:hover { color: var(--site-accent-color); }
.nova-home-arrow-link span { font-size: 18px; }
.nova-home-story__steps > div {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 6px 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--site-border-color);
}
.nova-home-story__steps > div:first-child { padding-top: 0; }
.nova-home-story__steps > div:last-child { border-bottom: 0; padding-bottom: 0; }
.nova-home-story__steps span {
    grid-row: span 2;
    color: var(--site-accent-color);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
}
.nova-home-story__steps strong {
    color: var(--page-header-heading-color, var(--site-heading-color));
    font-size: 16px;
    font-weight: 500;
}
.nova-home-story__steps p { grid-column: 2; margin: 0; font-size: 13px; line-height: 1.7; }

.nova-home-service { padding: 56px 0; }
.nova-home-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nova-home-service-grid > div { padding: 0 28px; }
.nova-home-service-grid > div + div { border-left: 1px solid var(--site-border-color); }
.nova-home-service__icon {
    display: block;
    margin-bottom: 14px;
    color: var(--site-heading-color);
    font-family: var(--site-secondary-font);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}
.nova-home-service-grid strong { display: block; color: var(--site-heading-color); font-size: 16px; font-weight: 500; }
.nova-home-service-grid p { margin: 8px 0 0; font-size: 13px; line-height: 1.7; }

@media screen and (max-width: 1023px) {
    .nova-home-collection ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nova-home-story__grid { gap: 40px; }
    .nova-home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
    .nova-home-service-grid > div:nth-child(3) { border-left: 0; }
}
@media screen and (max-width: 639px) {
    .nova-home--catalogue .nova-home-shell { padding-right: 16px; padding-left: 16px; }
    .nova-home-collection { padding: 52px 0 56px; }
    .nova-home-collection .nova-home-section-intro { margin-bottom: 32px; }
    .nova-home-section-intro::after { margin-top: 18px; }
    .nova-home-collection ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .nova-home-story { padding: 48px 0; }
    .nova-home-story__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .nova-home-service { padding: 36px 0; }
    .nova-home-service-grid { gap: 28px 16px; }
    .nova-home-service-grid > div { padding: 0; }
    .nova-home-service-grid > div + div { border-left: 0; }
    .nova-home-service-grid strong { font-size: 15px; }
}
@media screen and (max-width: 379px) {
    .nova-home-collection ul.products { grid-template-columns: minmax(0, 1fr); }
    .nova-home-service-grid { grid-template-columns: minmax(0, 1fr); }
}
