/* Product Catalogue — uses the same Poppins / gold language as the main site. */
.catalogue-page {
    background: #f4efe6;
    padding: 35px 0 110px;
    overflow: hidden;
}
.brand-heading {
    align-items: center;
    justify-content: center;
    gap: 22px;
}
.brand-logo-wrap {
    width: 260px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 260px;
    text-align: center;
    margin: 0 auto 20px;
}
.brand-logo-wrap img {
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 7px 16px rgba(0, 0, 0, 0.1));
}
section.catalogue-brand {
    margin-bottom: 34px;
}
section.catalogue-brand:last-child {
    margin-bottom: 0;
}
.brand-heading-line {
    display: none;
}
.brand-heading > span {
    display: none;
}
.catalogue-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}
.catalogue-product.reverse .product-copy {
    order: 2;
}
.catalogue-product.reverse .product-media {
    order: 1;
}
.product-copy {
    padding: 15px 22px 15px 0;
}
.reverse .product-copy {
    padding: 15px 0 15px 22px;
}
.product-kicker {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 13px;
}
.catalogue-product:first-of-type {
    border-top: none;
}
.product-copy h2 {
    line-height: 1.12;
    color: #1c251e;
    margin: 0 0 20px;
    font-weight: 700;
}
.product-copy h2:after {
    content: "";
    display: block;
    width: 58px;
    height: 2px;
    background: var(--gold);
    margin-top: 17px;
}
.product-copy p {
    font-size: 14px;
    line-height: 1.85;
    color: #5e625d;
    margin: 0 0 8px;
    max-width: 570px;
}
.product-media {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-grid {
    width: 100%;
    display: grid;
    gap: 15px;
    align-items: center;
    justify-items: center;
}
.media-grid-1 {
    grid-template-columns: 1fr;
}
.media-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.media-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.media-grid-5 {
    grid-template-columns: repeat(3, 1fr);
}
.product-media figure {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    border: 1px solid #ba8558;
    border-radius: 15px;
}
/* .product-media figure img:hover{box-shadow:0 18px 45px rgba(38,33,24,.1)} */
.product-media figure img {
    width: 100%;
    height: 100%;
    max-height: 350px;
    display: block;
    position: relative;
    z-index: 2;
    transition:
        transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.45s ease;
}
.media-grid-5 img {
    max-height: 230px;
}
.media-grid-2 figure {
    min-height: 300px;
}
.placeholder-media {
    background: linear-gradient(135deg, #f8f4ec, #efe7d8) !important;
    position: relative;
}
.product-media figure:after {
    content: "";
    position: absolute;
    inset: -40%;
    background: linear-gradient(
        120deg,
        transparent 20%,
        rgba(255, 215, 140, 0.05) 32%,
        rgba(202, 164, 108, 0.28) 45%,
        rgba(255, 230, 180, 0.08) 58%,
        transparent 70%
    );
    transform: translateX(-120%) rotate(12deg);
    transition: transform 0.9s ease;
    z-index: 7;
    pointer-events: none;
    mix-blend-mode: screen;
    filter: blur(2px);
    border-radius: 0 40px 40px 40px;
}

.product-media figure:hover:after {
    transform: translateX(120%) rotate(12deg);
}
.product-media figure:hover img {
    transform: scale(1.035);
    filter: drop-shadow(0 12px 20px rgba(45, 38, 28, 0.12));
}
.media-note {
    font-size: 12px;
    letter-spacing: 0.05em;
    color: #8a806e;
    text-align: center;
    max-width: 180px;
    line-height: 1.6;
}
.catalogue-brand:before {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(202, 164, 108, 0.22), transparent);
}
.cat-list li {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(0, 0, 0, 0.66);
    padding-left: 22px;
    position: relative;
    margin-bottom: 9px;
}
.cat-list li::before {
    content: "→";
    position: absolute;
    left: 0px;
    top: 1px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
}
ul.cat-list {
    list-style-type: none;
    padding-left: 20px;
}
.catalogue-brand:first-child:before {
    display: none;
}
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
figure {
    margin: 0;
}
h4.brand-logo-text {
    text-align: center;
    color: #caa46c;
    padding: 8px 0 10px;
}
@media (max-width: 991.98px) {
    .catalogue-page {
        padding-top: 15px;
    }
    .catalogue-brand {
        padding-top: 40px;
    }
    .catalogue-brand + .catalogue-brand {
        padding-top: 70px;
    }
    .catalogue-product {
        gap: 30px;
    }
    .product-copy p {
        font-size: 13px;
    }
    .product-media {
        min-height: 280px;
    }
    .product-media figure {
        min-height: 250px;
    }
    .media-grid-5 img {
        max-height: 180px;
    }
}
@media (max-width: 767.98px) {
    .catalogue-page {
        padding-bottom: 65px;
    }
    .catalogue-product,
    .catalogue-product.reverse {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .catalogue-product.reverse .product-copy,
    .catalogue-product.reverse .product-media {
        order: initial;
    }
    .product-copy,
    .reverse .product-copy {
        padding: 0;
    }
    .product-media {
        min-height: auto;
    }
    .product-media figure,
    .media-grid-5 figure,
    .media-grid-2 figure {
        min-height: 230px;
    }
    .media-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .media-grid-5 figure:last-child {
        grid-column: 1/-1;
        max-width: 50%;
    }
    .media-grid-5 img {
        max-height: 180px;
    }
    .product-media figure {
        min-height: 230px;
        border-radius: 20px;
    }
    .product-media figure img {
        padding: 14px;
    }
    .brand-heading {
        gap: 13px;
        min-height: 105px;
    }
    .brand-logo-wrap {
        width: min(240px, 80vw);
        height: 105px;
        flex-basis: auto;
    }
    .brand-heading > span,
    .brand-heading-line {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .product-media figure,
    .product-media figure img,
    .product-media figure:before {
        transition: none;
    }
}

/* =========================================================
   BRAND SECTION SEPARATION
   Gives every brand its own subtle card/section appearance
   without changing the existing product layout.
   ========================================================= */

section.catalogue-brand {
    position: relative;
    margin-bottom: 42px;
    padding: 34px 34px 38px;
    background: rgba(255, 255, 255, 0.34);
    border: 1px solid rgba(186, 133, 88, 0.16);
    border-radius: 24px;
    box-shadow:
        0 10px 28px rgba(48, 39, 28, 0.055),
        0 2px 7px rgba(48, 39, 28, 0.035);
    isolation: isolate;
}

/* Remove the old full-width separator line. */
section.catalogue-brand::before {
    display: none;
}

/* Very subtle inner highlight for a premium paper/card feel. */
section.catalogue-brand::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    z-index: -1;
}

section.catalogue-brand:last-child {
    margin-bottom: 0;
}

/* Tablet */
@media (max-width: 991.98px) {
    section.catalogue-brand {
        margin-bottom: 30px;
        padding: 28px 26px 32px;
        border-radius: 20px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    section.catalogue-brand {
        margin-bottom: 22px;
        padding: 24px 16px 28px;
        border-radius: 18px;
        box-shadow:
            0 6px 18px rgba(48, 39, 28, 0.045),
            0 1px 5px rgba(48, 39, 28, 0.025);
    }
}

