.catalogue-shell {
    min-height: 60vh;
    padding: 2.25rem 0 4rem;
    background: linear-gradient(180deg, #eef1f0 0, var(--paper) 13rem);
}

.catalogue-heading {
    max-width: 680px;
    margin-bottom: 1.75rem;
}

.catalogue-heading h1 {
    max-width: none;
    margin: 0 0 0.5rem;
    color: var(--navy-deep);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.15;
}

.product-detail-copy h1 {
    max-width: none;
    margin: 0 0 0.65rem;
    color: var(--navy-deep);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.08;
}

.catalogue-heading > p:last-child {
    max-width: 62ch;
    color: var(--muted);
}

.catalogue-kicker,
.product-card-brand {
    margin: 0 0 0.4rem;
    color: var(--coral);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.catalogue-section-heading {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.8rem;
}

.catalogue-section-heading h2 {
    font-size: 17px;
    font-weight: 600;
}

.catalogue-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 180px));
    gap: 1rem;
    justify-content: start;
}

.catalogue-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.catalogue-category-card,
.catalogue-product-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--white);
    text-decoration: none;
}

.catalogue-category-card strong,
.catalogue-product-card > a > strong,
.product-card-brand {
    display: block;
    padding: 0.75rem 0.9rem;
}

.catalogue-product-card > a {
    display: block;
    text-decoration: none;
}

.catalogue-product-card > a > strong {
    padding-top: 0;
}

.category-card-media,
.product-card-media,
.product-media-main,
.product-media-thumbnail {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    background: #f1f3f2;
}

.category-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-media img,
.product-media-main img,
.product-media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.catalogue-media-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #8b969b;
    background: repeating-linear-gradient(135deg, #edf0ef 0 12px, #e5e9e8 12px 24px);
}

.catalogue-media-fallback b {
    font-family: var(--display-font);
    font-size: clamp(2rem, 7vw, 5rem);
}

.catalogue-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.catalogue-breadcrumbs a {
    color: var(--navy);
}

.product-detail {
    max-width: var(--max-width);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 528px) minmax(300px, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.product-media-gallery {
    display: grid;
    grid-template-areas: "primary";
    grid-template-columns: minmax(0, 460px);
    width: 100%;
    max-width: 528px;
}

.product-media-gallery--with-thumbnails {
    grid-template-areas: "thumbnails primary";
    grid-template-columns: 52px minmax(0, 460px);
    gap: 0.75rem;
}

.product-media-main {
    grid-area: primary;
}

.product-media-thumbnails {
    grid-area: thumbnails;
    display: grid;
    grid-auto-rows: 52px;
    gap: 0.5rem;
    align-content: start;
}

.product-media-thumbnail {
    width: 52px;
}

.product-detail-copy {
    padding-top: 1rem;
}

.product-code {
    color: var(--muted);
    font-size: 0.8rem;
}

.product-summary {
    max-width: 58ch;
    margin-top: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.55;
}

.product-description {
    max-width: 62ch;
    color: var(--muted);
    line-height: 1.65;
}

.product-description p {
    margin: 0 0 0.9rem;
}

.catalogue-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    margin-top: 1.5rem;
    border-radius: 5px;
    background: var(--gold);
    padding: 0.65rem 1.2rem;
    color: var(--navy-deep);
    font-weight: 800;
    text-decoration: none;
}

.catalogue-empty {
    grid-column: 1 / -1;
    border: 1px dashed var(--line);
    padding: 2rem;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 900px) {
    .catalogue-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-detail-layout { grid-template-columns: 1fr; }
    .product-media-gallery { margin: 0 auto; }
}

@media (max-width: 520px) {
    .catalogue-shell { padding-top: 2rem; }
    .catalogue-heading h1 { font-size: 20px; }
    .product-detail-copy h1 { font-size: 24px; }
    .catalogue-section-heading h2 { font-size: 16px; }
    .catalogue-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalogue-product-grid { grid-template-columns: 1fr; }
    .product-media-gallery {
        grid-template-areas: "primary" "thumbnails";
        grid-template-columns: minmax(0, 1fr);
    }
    .product-media-thumbnails {
        grid-template-columns: repeat(7, minmax(0, 52px));
        grid-auto-rows: auto;
        overflow-x: auto;
    }
}