.dubmat { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.dubmat-breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin: .7rem 0; font-size: .9em; }
.dubmat h2 { margin: 1.4rem 0 .55rem; }
.dubmat-navigation { margin: 2rem 0; }
.dubmat-navigation > div { display: inline-block; vertical-align: top; min-width: 12rem; margin: 0 2rem 1rem 0; }
.dubmat-navigation h3, .dubmat-collections h2 { margin-bottom: .4rem; }
.dubmat-navigation ul, .dubmat-collections ul, .dubmat-terms { padding-left: 1.1rem; }
.dubmat-search { margin: 1.5rem 0 2rem; }
.dubmat-search label { display: block; margin-bottom: .45rem; font-weight: 700; }
.dubmat-search div { display: flex; gap: .5rem; max-width: 38rem; }
.dubmat-search input { min-width: 0; flex: 1 1 auto; }
.dubmat-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.dubmat-card { display: flex; flex-direction: column; }
.dubmat-card-image { display: block; }
.dubmat-card-image img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: .55rem; box-shadow: 3px 3px 5px -1px rgba(0, 0, 0, .63); object-fit: cover; }
.dubmat-card-image:hover img { box-shadow: none; }
.dubmat .dubmat-card h2 { margin: .6rem 0 .35rem; font-family: inherit !important; font-size: 1.1em !important; font-weight: 700; line-height: 1.4; }
.dubmat-card-excerpt { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-height: 1.4; }
.dubmat-card-excerpt p { margin: 0 0 .4rem; }
.dubmat-price { margin: .5rem 0; font-weight: 700; }
.dubmat-all-link { margin: 1.5rem 0 2.5rem; font-weight: 700; }
.dubmat-material-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 1.2fr); gap: 2rem; }
.dubmat-material h1 { margin: 0 0 .2rem 0; line-height: 1.5em; }
.dubmat-material h2 { margin: 0; line-height: 1.5em; }
.dubmat-material h3 { margin: 0; }
.dubmat-gallery { display: grid; grid-auto-rows: min-content; gap: .65rem; }
.dubmat-gallery-main { display: block; width: 100%; max-width: 500px; height: auto; border-radius: .55rem; box-shadow: 3px 3px 5px -1px rgba(0, 0, 0, .63); }
.dubmat-gallery-thumbnails { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .35rem; }
.dubmat-gallery-thumbnail { min-width: 0; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: .3rem; background: transparent; cursor: pointer; }
.dubmat-gallery-thumbnail.is-active { border-color: currentColor; }
.dubmat-gallery-thumbnail img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.dubmat-facts { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; }
.dubmat-facts dt { font-weight: 700; }
.dubmat-facts dd { margin: 0; }
.dubmat-categories { margin-top: 1.25rem; }
.dubmat-categories .dubmat-terms { margin-top: .35rem; }
.dubmat-offers { margin-top: 1.5rem; }
.dubmat-offers h2 { font-size: 1.1em; }
.dubmat-offers ul { margin: .5rem 0; padding: 0; list-style: none; }
.dubmat-offers li { margin: .35rem 0; }
.dubmat-offer-link { display: inline-flex; align-items: center; gap: .45rem; }
.dubmat-offer-link img { width: 1.1rem; height: 1.1rem; object-fit: contain; }
.dubmat-material-description { margin-top: 2rem; }
.dubmat-related { margin-top: 3rem; }
@media (max-width: 1100px) { .dubmat-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 850px) { .dubmat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .dubmat-material-layout { grid-template-columns: 1fr; } .dubmat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .dubmat-search div { display: block; } .dubmat-search button { margin-top: .5rem; } }
