/* Final layout adjustments kept separate from the compact base stylesheet. */
.catalog {
    padding-bottom: 140px;
}

.category-preview{padding:105px 6vw 130px}.category-preview .section-head{margin-bottom:42px}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:20px}.category-card{position:relative;height:430px;overflow:hidden;grid-column:span 2}.category-card:nth-child(1),.category-card:nth-child(2){grid-column:span 3;height:500px}.category-card::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 45%,rgba(24,37,31,.75))}.category-card img{transition:transform .6s ease}.category-card:hover img{transform:scale(1.04)}.category-card>span{position:absolute;z-index:1;left:28px;right:28px;bottom:25px;color:#fff}.category-card small{display:block;text-transform:uppercase;letter-spacing:.15em;font-size:10px}.category-card strong{font:30px Prata,serif}.category-card i{float:right;font-style:normal;font-size:25px}.all-catalog{text-align:center;margin-top:45px}

.catalog-page{padding:75px 6vw 130px}.catalog-intro{max-width:670px;margin-bottom:45px}.catalog-intro h1{font:clamp(48px,6vw,76px)/1.1 Prata,serif;margin:0 0 15px}.catalog-intro p{color:#68736c;font-size:16px}.catalog-tools{display:grid;grid-template-columns:minmax(240px,1.7fr) repeat(4,minmax(130px,1fr)) auto;gap:12px;align-items:end;padding:24px;background:var(--cream)}.catalog-tools label,.search-field label{display:flex;flex-direction:column;gap:7px;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.catalog-tools input,.catalog-tools select{height:47px;width:100%;padding:0 12px;border:1px solid var(--line);background:#fff;color:var(--ink);font:13px Manrope,sans-serif}.search-field{position:relative}.search-field button{position:absolute;right:0;bottom:0;width:47px;height:47px;border:0;background:var(--ink);color:#fff;cursor:pointer}.apply-filters{height:47px;padding:0 18px;border:0;background:var(--ink);color:#fff;cursor:pointer}.reset-filters{grid-column:1/-1;color:var(--terracotta);font-size:12px}.catalog-result-head{margin:34px 0 22px;padding-bottom:12px;border-bottom:1px solid var(--line);color:#6d776f}.no-results{padding:100px 20px;text-align:center}.no-results h2{font:38px Prata,serif;margin-bottom:5px}

@media(max-width:1100px){.catalog-tools{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.category-card,.category-card:nth-child(1),.category-card:nth-child(2){grid-column:span 3;height:380px}.catalog-tools{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.category-grid,.catalog-tools{grid-template-columns:1fr}.category-card,.category-card:nth-child(1),.category-card:nth-child(2){grid-column:auto;height:390px}.catalog-page{padding:55px 5vw 90px}}

/* Catalog: sidebar filters and four-column product area. */
.catalog-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:45px;align-items:start}.catalog-sidebar{position:sticky;top:20px}.filter-title{display:flex;align-items:baseline;justify-content:space-between;padding-bottom:15px;border-bottom:1px solid var(--line)}.filter-title span{font:24px Prata,serif}.filter-title small{color:#7b857e}.catalog-sidebar .catalog-tools{display:flex;flex-direction:column;gap:20px;padding:22px 0;background:transparent}.catalog-sidebar .search-field{width:100%}.catalog-sidebar .apply-filters{width:100%}.catalog-results{min-width:0}.catalog-result-head{display:flex;align-items:center;justify-content:space-between;margin-top:0}.catalog-result-head label{display:flex;align-items:center;gap:10px;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.catalog-result-head select{height:40px;padding:0 10px;border:1px solid var(--line);background:#fff;color:var(--ink)}.catalog-results .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 18px}.catalog-results .product-image{height:300px}.catalog-results .product-name{font-size:17px}

@media(max-width:1250px){.catalog-results .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.catalog-layout{grid-template-columns:210px minmax(0,1fr);gap:28px}.catalog-results .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-results .product-image{height:280px}}
@media(max-width:700px){.catalog-layout{display:block}.catalog-sidebar{position:static;margin-bottom:35px}.catalog-sidebar .catalog-tools{display:grid;grid-template-columns:1fr 1fr}.catalog-results .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.catalog-sidebar .catalog-tools{display:flex}.catalog-result-head{align-items:flex-start;gap:12px;flex-direction:column}.catalog-results .product-grid{grid-template-columns:1fr}.catalog-results .product-image{height:410px}}

/* Refined catalog proportions. */
.catalog-layout{grid-template-columns:270px minmax(0,1fr);gap:52px}.catalog-sidebar{padding:25px;background:var(--cream)}.catalog-sidebar .catalog-tools{align-items:stretch}.catalog-sidebar .catalog-tools>label{width:100%}.catalog-sidebar .filter-title{padding-bottom:18px}.catalog-results .product-grid{align-items:start}.catalog-results .product{min-width:0}.catalog-results .product-image{height:auto;aspect-ratio:4/5;background:#ebe9e3}.catalog-results .product-image img{position:absolute;inset:0}.catalog-results .product-meta{margin-top:13px}.catalog-results .product-name{line-height:1.35;margin-top:6px}.catalog-results .price{margin-top:5px}

@media(max-width:900px){.catalog-layout{grid-template-columns:230px minmax(0,1fr);gap:28px}.catalog-sidebar{padding:18px}}
@media(max-width:700px){.catalog-layout{display:block}.catalog-sidebar{padding:22px}}

/* Compact, fully clickable catalog cards. */
.catalog-results .product-grid{row-gap:72px}.catalog-results .product-card-link{display:block;height:100%}.catalog-results .product-image{display:block;height:230px;aspect-ratio:auto;overflow:hidden}.catalog-results .product-meta,.catalog-results .product-name,.catalog-results .price{display:block}.catalog-results .product-meta{min-height:18px}.catalog-results .product-name{min-height:46px}.catalog-results .price{min-height:24px}.catalog-results .product-card-link:hover .product-name{color:var(--terracotta)}.catalog-results .product-card-link:focus-visible{outline:2px solid var(--terracotta);outline-offset:5px}.catalog-results .product-card-link:hover .product-image img{transform:scale(1.035)}

@media(max-width:1100px){.catalog-results .product-image{height:250px}}
@media(max-width:700px){.catalog-results .product-image{height:280px}}
@media(max-width:520px){.catalog-results .product-image{height:300px}.catalog-results .product-name{min-height:0}}

/* Requested card sizing adjustment. */
.catalog-results .product-image{height:288px}.catalog-results .price{font-size:25px;line-height:1.25;min-height:32px}.catalog-results .price del{font-size:15px}
@media(max-width:1100px){.catalog-results .product-image{height:313px}}
@media(max-width:700px){.catalog-results .product-image{height:350px}}
@media(max-width:520px){.catalog-results .product-image{height:375px}}

.catalog-results .product-name{min-height:23px}.catalog-results .price{margin-top:2px}

.category-filter{position:relative}.category-filter select{appearance:none;padding-right:30px}.category-filter::after{content:'';position:absolute;right:10px;bottom:20px;width:6px;height:6px;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(45deg);pointer-events:none}

.sort-filter{position:relative}.sort-filter select{appearance:none;padding-right:30px}.sort-filter::after{content:'';position:absolute;right:10px;top:15px;width:6px;height:6px;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(45deg);pointer-events:none}

.dynamic-filter{display:flex;flex-direction:column;gap:7px}.dynamic-filter>b{font-size:10px;text-transform:uppercase;letter-spacing:.08em}.dynamic-filter input,.dynamic-filter select{height:47px;width:100%;padding:0 12px;border:1px solid var(--line);background:#fff;color:var(--ink)}.filter-range{display:grid;grid-template-columns:1fr 1fr;gap:8px}

.product-attributes{margin:25px 0;border-top:1px solid var(--line)}.product-attributes>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--line)}.product-attributes dt{color:#778179}.product-attributes dd{margin:0;font-weight:600;text-align:right}

@media (max-width: 800px) {
    .catalog {
        padding-bottom: 90px;
    }
}
