/* A material-led introduction and regular product rows for the tiles collection. */
.dh-tiles-collection { --collection-tint:#f2f6fa; }
.tiles-shell { overflow:hidden; border:1px solid #cddce9; border-radius:24px; background:#ffffffdc; }
body.deep-theme #main-content .dh-tiles-collection .tiles-intro { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr); align-items:center; gap:40px; margin:0; padding:40px; background:linear-gradient(120deg,#edf4fc,#f8fbfe); }
.tiles-intro-copy { min-width:0; max-width:540px; }
.tiles-eyebrow { display:block; margin-bottom:14px; color:#426a91; font-size:12px; font-weight:650; letter-spacing:1.6px; }
.tiles-intro h2 { margin:0; color:#193b64; font-size:clamp(28px,3vw,40px); font-weight:650; line-height:1.15; letter-spacing:-1px; text-wrap:balance; }
.tiles-intro p { margin:14px 0 22px; max-width:420px; color:#526983; font-size:14px; line-height:1.7; }
.tiles-browse { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:12px 20px; border-radius:8px; background:#193b64; color:#fff; font-size:14px; font-weight:600; }
.tiles-browse:hover { background:#285b8c; color:#fff; }
.tiles-materials { position:relative; height:230px; width:100%; max-width:360px; justify-self:center; }
.tiles-sample { position:absolute; width:43%; aspect-ratio:1; border:1px solid #ffffffc9; border-radius:5px; box-shadow:0 14px 24px #193b641c,inset 0 0 0 5px #ffffff30; }
.tiles-sample-light { left:5%; top:12%; transform:rotate(-12deg); background:linear-gradient(135deg,#f5f5f2 25%,#dce2e4 26%,#f2f4f3 28%,#e6ebed 68%,#c5d0d6 69%,#eef1f2 71%); }
.tiles-sample-slate { left:30%; top:4%; transform:rotate(4deg); background:repeating-linear-gradient(165deg,#a5b3be 0,#a5b3be 2px,#acb9c3 3px,#b4c0c8 8px); }
.tiles-sample-blue { left:52%; top:20%; transform:rotate(16deg); background:linear-gradient(115deg,#5784a6,#315f85); }
.tiles-materials>span { position:absolute; bottom:0; left:0; right:0; text-align:center; color:#526983; font-size:13px; letter-spacing:.5px; }
.tiles-products { padding:28px; }
.tiles-products-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.tiles-products-heading h3 { margin:0; color:#193b64; font-size:18px; font-weight:600; }
.tiles-products-heading>span { flex:none; color:#60758d; font-size:13px; }
body.deep-theme #main-content .dh-category-collection.dh-tiles-collection .dh-product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
body.deep-theme #main-content .dh-category-collection.dh-tiles-collection .dh-product-card { grid-column:auto; grid-row:auto; transform:none; border-radius:12px; }
body.deep-theme #main-content .dh-category-collection.dh-tiles-collection .dh-product-card .dh-product-image { width:100%; height:auto; min-height:0; aspect-ratio:1.15; border-radius:12px 12px 0 0; background:#f2f6fa; }
.dh-tiles-collection :is(a,button):focus-visible { outline:3px solid #285b8c; outline-offset:4px; }
@media(max-width:991px) {
    body.deep-theme #main-content .dh-tiles-collection .tiles-intro { padding:28px; gap:24px; }
    body.deep-theme #main-content .dh-category-collection.dh-tiles-collection .dh-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:575px) {
    .tiles-shell { border-radius:18px; }
    body.deep-theme #main-content .dh-tiles-collection .tiles-intro { grid-template-columns:1fr; padding:24px 20px; gap:20px; }
    .tiles-intro h2 { font-size:30px; }
    .tiles-intro p { margin:12px 0 18px; font-size:13px; }
    .tiles-materials { max-width:260px; height:170px; }
    .tiles-products { padding:18px 12px; }
    .tiles-products-heading { margin-bottom:16px; gap:8px; }
    .tiles-products-heading h3 { font-size:16px; }
    .tiles-products-heading>span { font-size:12px; }
    body.deep-theme #main-content .dh-category-collection.dh-tiles-collection .dh-product-grid { gap:10px; }
}
