.melo-catalogue{--melo-gold:#e9bd2b;--melo-border:#333;--melo-text:#e8e8e8;background:#111;color:var(--melo-text);padding:clamp(24px,5vw,72px);max-width:1440px;width:100%;margin:0 auto;box-sizing:border-box;font-family:inherit}.melo-catalogue *{box-sizing:border-box}.melo-catalogue [hidden]{display:none!important}.melo-catalogue a{color:inherit;text-decoration:none}.melo-catalogue a:focus-visible,.melo-catalogue button:focus-visible,.melo-catalogue input:focus-visible{outline:3px solid var(--melo-gold);outline-offset:5px}.melo-catalogue h1,.melo-catalogue h2,.melo-catalogue h3{color:#fff;line-height:1.16}.melo-catalogue h1{font-size:clamp(34px,5vw,64px);margin:12px 0 20px;letter-spacing:-.025em}.melo-catalogue h2{font-size:26px}.melo-catalogue p{font-size:16px;line-height:1.65;color:#c4c4c4}.melo-catalogue .melo-eyebrow{font-size:14px;letter-spacing:.12em;color:var(--melo-gold);font-weight:600}.melo-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;font-size:14px;color:#bbb;margin-bottom:36px}.melo-breadcrumb a:hover,.melo-back:hover{color:var(--melo-gold)}.melo-catalogue-heading{max-width:850px;margin-bottom:32px}.melo-back{display:inline-block;margin-bottom:28px;border-bottom:1px solid #777;padding-bottom:4px}.melo-category-grid,.melo-product-grid{list-style:none!important;margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.melo-category-grid>li,.melo-product-grid>li{margin:0}.melo-category{display:flex;height:100%;min-height:300px;flex-direction:column;justify-content:flex-end;padding:28px;border:1px solid var(--melo-border);background:#1b1b1b;transition:border-color .2s,transform .2s}.melo-category:hover{border-color:var(--melo-gold);transform:translateY(-3px)}.melo-category img{display:block;max-height:185px;width:100%;object-fit:contain;margin-bottom:24px}.melo-category h2{font-size:25px;margin:18px 0 8px}.melo-category p{margin:0;font-size:14px}.melo-category-all{border-color:var(--melo-gold);background:linear-gradient(145deg,#2a2618,#171717)}.melo-category-symbol{font-size:70px;line-height:1;color:var(--melo-gold)}.melo-search{border:1px solid var(--melo-border);padding:24px;background:#1b1b1b;margin-bottom:20px}.melo-search label{display:block;color:#fff;font-weight:600;margin-bottom:12px;font-size:16px}.melo-search>div{display:flex;gap:10px}.melo-search input[type=search]{min-width:0;flex:1;font-size:16px;padding:14px;background:#111;border:1px solid #666;color:#fff;border-radius:0}.melo-search button,.melo-button{background:var(--melo-gold);color:#111!important;font-size:16px;font-weight:600;border:0;padding:13px 22px;cursor:pointer;display:inline-block}.melo-search [data-melo-clear]{background:#333;color:#fff!important}.melo-result-count{margin:20px 0}.melo-product-card{border:1px solid var(--melo-border);background:#191919;transition:border-color .2s}.melo-product-card:hover{border-color:var(--melo-gold)}.melo-product-card>a{display:block;height:100%}.melo-card-image{background:#242424;aspect-ratio:1;padding:24px;display:flex;align-items:center;justify-content:center}.melo-card-image img{width:100%;height:100%;object-fit:contain}.melo-card-copy{padding:24px}.melo-card-copy p{font-size:13px;margin:0 0 12px}.melo-card-copy h2{font-size:25px;margin:0 0 20px}.melo-card-copy span,.melo-document span{color:var(--melo-gold);font-size:14px}.melo-empty{border:1px dashed #666;padding:32px;text-align:center}.melo-product-top{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(24px,5vw,72px);align-items:start}.melo-product-gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.melo-product-gallery button{background:#242424;border:1px solid #444;padding:10px;cursor:zoom-in;min-width:0}.melo-product-gallery .melo-gallery-main{grid-column:1/-1;aspect-ratio:1;padding:28px}.melo-product-gallery img{width:100%;height:100%;object-fit:contain}.melo-product-summary h1{font-size:clamp(32px,4.5vw,58px)}.melo-lead{white-space:pre-line}.melo-model{color:var(--melo-gold)!important}.melo-highlights{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:28px 0}.melo-highlights>div{border-top:1px solid var(--melo-border);padding-top:16px}.melo-highlights dt{font-size:14px;color:#aaa}.melo-highlights dd{font-size:21px;color:#fff;margin:8px 0}.melo-text-link{margin-left:20px;border-bottom:1px solid #999}.melo-story{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin-top:72px;padding-top:48px;border-top:1px solid var(--melo-border)}.melo-story img{width:100%;max-height:500px;object-fit:contain}.melo-section{padding-top:52px;margin-top:52px;border-top:1px solid var(--melo-border)}.melo-section>h2{margin-bottom:28px;font-size:30px}.melo-spec-table{border-collapse:collapse;width:100%;border:0;font-size:16px}.melo-spec-table th,.melo-spec-table td{border:0;border-bottom:1px solid #383838;text-align:left;padding:18px 16px;overflow-wrap:anywhere}.melo-spec-table th{color:#fff;width:45%;font-weight:500}.melo-spec-table td{color:#ccc}.melo-spec-table tr:nth-child(odd){background:#1a1a1a}.melo-doc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.melo-document{background:#1c1c1c;border:1px solid #444;padding:24px;display:flex;flex-direction:column;justify-content:flex-end;min-height:170px}.melo-document img{width:100%;height:200px;object-fit:contain;margin-bottom:20px}.melo-document h3{font-size:22px}.melo-photo-dialog{background:#161616;border:1px solid #555;padding:24px;max-width:90vw;max-height:90vh;color:#fff}.melo-photo-dialog::backdrop{background:#000d}.melo-photo-dialog img{display:block;width:auto;max-width:80vw;height:auto;max-height:74vh;object-fit:contain}.melo-photo-dialog button{display:block;margin-left:auto;background:#333;color:#fff;border:1px solid #777;padding:8px 16px;cursor:pointer}.ast-container:has(.melo-catalogue){max-width:1440px;padding:0}.ast-container:has(.melo-catalogue)>#primary{margin:0;width:100%}.ast-container:has(.melo-catalogue) .entry-header{display:none}.ast-container:has(.melo-catalogue) .entry-content{padding:0}.ast-container:has(.melo-catalogue) article{padding:0!important}.ast-container:has(.melo-catalogue) .entry-content>section{max-width:none}.melo-product{max-width:1440px}.melo-product-summary{padding-bottom:12px}@media(max-width:1000px){.melo-category-grid,.melo-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.melo-doc-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.melo-category-grid,.melo-product-grid,.melo-product-top,.melo-story,.melo-doc-grid{grid-template-columns:1fr}.melo-category{min-height:220px}.melo-search>div{flex-wrap:wrap}.melo-search input[type=search]{flex-basis:100%}.melo-search{padding:18px}.melo-breadcrumb{margin-bottom:28px}.melo-spec-table th,.melo-spec-table td{padding:14px 8px;font-size:14px}.melo-story{gap:24px}.melo-card-image{aspect-ratio:1.2}.melo-product-gallery{max-width:100%}.melo-catalogue{padding:26px 20px}}

.entry-content .melo-catalogue a{text-decoration:none!important}.melo-catalogue a::after{border:0}.melo-story:has(>div:only-child){grid-template-columns:1fr}.melo-story>div:only-child{max-width:850px}.melo-search input::placeholder{color:#aaa}

.melo-category-hero{margin-bottom:38px}.melo-category-hero-media{margin-bottom:30px}.melo-category-hero--image .melo-category-hero-media{min-height:220px;display:flex;align-items:center;justify-content:center;padding:32px;background:radial-gradient(ellipse at center,#292929,#151515);border:1px solid #333}.melo-category-hero--image .melo-category-hero-image{width:auto;max-width:min(100%,650px);height:auto;max-height:260px;object-fit:contain}.melo-category-hero--banner .melo-category-hero-media{overflow:hidden;background:#202020}.melo-category-hero--banner .melo-category-hero-image{width:100%;height:auto;aspect-ratio:3/1;object-fit:cover;display:block}.melo-category-description{max-width:900px}.melo-category-description p{font-size:18px;line-height:1.8;margin:0 0 18px}.melo-category-description a{text-decoration:underline!important;color:#e8be26}.melo-category-hero h1{margin:0 0 22px}.melo-category-hero .melo-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.melo-category-hero--image .melo-category-hero-media{min-height:160px;padding:24px}.melo-category-hero--image .melo-category-hero-image{max-height:180px}.melo-category-hero--banner picture .melo-category-hero-image{aspect-ratio:9/11}.melo-category-description p{font-size:16px}.melo-category-hero-media{margin-bottom:24px}}
/* Compact catalogue cards: a shared media ratio without stretching or cropping assets. */
.melo-category-grid,.melo-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.melo-category{min-height:240px;padding:22px;justify-content:flex-start}
.melo-category img,.melo-category>.melo-category-symbol{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:none;object-fit:contain;object-position:center;box-sizing:border-box;padding:12% 10%;margin:0 0 16px;flex:none}
.melo-category>.melo-category-symbol{display:flex;align-items:center;justify-content:center;padding:0;font-size:56px}
.melo-category h2{font-size:22px;margin:0 0 8px;overflow-wrap:anywhere}
.melo-category p{font-size:13px;margin-top:auto}
.melo-card-image{aspect-ratio:16/9;padding:12% 10%;overflow:hidden}
.melo-card-image img{display:block;min-width:0;min-height:0;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.melo-card-copy{padding:19px}.melo-card-copy h2{font-size:22px;margin-bottom:16px}
@media(max-width:1400px){.melo-category-grid,.melo-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.melo-category-grid,.melo-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.melo-category-grid,.melo-product-grid{grid-template-columns:1fr}.melo-category{min-height:0}.melo-category img,.melo-category>.melo-category-symbol{aspect-ratio:16/9}.melo-card-image{aspect-ratio:16/9}}
.melo-showcase{margin-top:80px;padding-top:56px;border-top:1px solid #393939}.melo-showcase-heading{display:flex;gap:24px;justify-content:space-between;align-items:flex-end;margin-bottom:28px}.melo-showcase-heading h2,.melo-explore-panels h2{font-size:clamp(28px,3.2vw,46px);letter-spacing:-.025em;margin:8px 0 16px}.melo-showcase-heading p{margin-bottom:0}.melo-showcase-link{display:inline-flex;align-items:center;gap:16px;border-bottom:1px solid #777;padding:8px 0;color:#eee!important}.melo-showcase-link:hover{color:var(--melo-gold)!important;border-color:var(--melo-gold)}.melo-showcase-link span{color:var(--melo-gold);font-size:24px}.melo-explore-panels{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:64px}.melo-explore-panels article{padding:clamp(24px,3vw,48px);border:1px solid #444;background:radial-gradient(ellipse at top left,#303030,#181818 75%);display:flex;flex-direction:column;align-items:flex-start}.melo-explore-panels article>div{display:flex;gap:24px;flex-wrap:wrap;margin-top:auto}.melo-explore-panels article>p:not(.melo-eyebrow){max-width:480px;margin-bottom:28px}.melo-explore-panels .melo-explore-contact{border-color:#7a682e;background:radial-gradient(ellipse at top right,#3b331c,#191815 75%)}.melo-explore-contact .melo-button{margin-top:auto}.melo-showcase .melo-card-copy h2{font-size:22px;letter-spacing:0}@media(max-width:650px){.melo-showcase{margin-top:48px;padding-top:32px}.melo-showcase-heading{display:block}.melo-showcase-heading>a{margin-top:20px}.melo-explore-panels{grid-template-columns:1fr;margin-top:40px}}
.ast-container:has(.melo-catalogue) .melo-explore-panels article{padding:clamp(24px,3vw,48px)!important;background:radial-gradient(ellipse at top left,#303030,#181818 75%)!important}.ast-container:has(.melo-catalogue) .melo-explore-panels .melo-explore-contact{background:radial-gradient(ellipse at top right,#3b331c,#191815 75%)!important}

/* Balanced rows: count includes Todos and follows visible search results. */
.melo-catalogue .melo-category-grid,.melo-catalogue .melo-product-grid{grid-template-columns:repeat(var(--melo-grid-columns,3),minmax(0,1fr));align-items:stretch}
.melo-catalogue .melo-category-grid>li,.melo-catalogue .melo-product-grid>li{min-width:0}
.melo-catalogue .melo-category h2,.melo-catalogue .melo-card-copy h2{overflow-wrap:anywhere}
@media(max-width:1000px){.melo-catalogue .melo-category-grid,.melo-catalogue .melo-product-grid{grid-template-columns:repeat(min(2,var(--melo-grid-columns,2)),minmax(0,1fr))}}
@media(max-width:600px){.melo-catalogue .melo-category-grid,.melo-catalogue .melo-product-grid{grid-template-columns:minmax(0,1fr)}}

/* The square Melo identity needs less inset than the horizontal brand logos. */
.melo-category[data-melo-category="melo-sound-of-music"] img{padding:0 10%;}
