/* Delivered photographs use their real proportions; no logo or mat is cropped. */
.dm-practice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.dm-practice-card{margin:0;min-width:0;border:1px solid var(--dm-line);border-radius:10px;overflow:hidden;background:#fff}
.dm-practice-link{display:block;position:relative;background:#f7f6f5;text-decoration:none!important}
.dm-practice-card .dm-practice-link{aspect-ratio:4/3;overflow:hidden}
.dm-practice-card img{display:block;width:100%;height:100%;object-fit:contain}
.dm-practice-card figcaption{padding:17px 18px;line-height:1.6}
.dm-practice-card figcaption strong{display:block;font-size:15px;font-weight:600;color:#353035}
.dm-practice-card figcaption span{display:block;margin-top:5px;font-size:12px;color:#70696d}
.dm-photo-enlarge{position:absolute;right:10px;bottom:10px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #ded9db;border-radius:50%;background:#fffffff2;color:#514b4e;font-size:20px;line-height:1}
.dm-shop .dm-practice-slider .dm-home-slide img{height:290px;object-fit:contain;background:#f7f6f5;padding:0}
.dm-delivered-home{border-top:1px solid var(--dm-line)}
.dm-delivered-gallery .dm-breadcrumb{padding-top:0}
.dm-delivered-gallery h1{font-size:36px;margin:14px 0 20px}
.dm-delivered-gallery>p:first-of-type{max-width:760px;color:#70696d;margin-bottom:28px}
.dm-delivered-product{padding-top:0;padding-bottom:44px}
.dm-practice-note{font-size:12px!important;line-height:1.8!important;color:#70696d;margin:20px 0 24px!important;max-width:900px}
.dm-shop .dm-photo-dialog{width:min(1120px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:20px 22px;border:1px solid #d7d1d4;border-radius:12px;background:#fff;color:#29272a;box-shadow:0 12px 60px #0004}
.dm-photo-dialog::backdrop{background:#171417d9}
.dm-photo-dialog:not([open]){display:none}
.dm-photo-dialog button[hidden]{display:none!important}
.dm-photo-dialog .dm-photo-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px}
.dm-photo-dialog h2{font-size:20px;margin:0;line-height:1.4}
.dm-photo-dialog button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid #cfc7cc;border-radius:7px;padding:8px 14px;background:#fff;color:#423c40;font:600 14px/1.5 'Open Sans',Arial,sans-serif;cursor:pointer}
.dm-photo-dialog button:hover{background:#f1eeef}
.dm-photo-dialog .dm-photo-stage{background:#f5f4f3;border-radius:6px;min-height:180px;height:calc(100dvh - 245px);display:flex;align-items:center;justify-content:center}
.dm-photo-dialog img{display:block;margin:auto;max-width:100%;width:auto;max-height:calc(100dvh - 245px);height:auto;object-fit:contain}
.dm-photo-dialog .dm-photo-caption{margin:14px 0 12px;font-size:13px;line-height:1.7}
.dm-photo-dialog .dm-photo-nav{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dm-photo-dialog .dm-photo-count{font-size:12px;color:#70696d}
@media(min-width:761px){.dm-delivered-product .dm-practice-grid:has(>.dm-practice-card:only-child){grid-template-columns:minmax(0,520px)}}
@media(max-width:1000px) and (min-width:761px){.dm-practice-grid{gap:18px}.dm-practice-card figcaption{padding:15px}}
@media(max-width:760px){.dm-practice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dm-delivered-home .dm-practice-grid{grid-template-columns:1fr}.dm-practice-card figcaption{padding:15px}.dm-delivered-gallery h1{font-size:29px}.dm-shop .dm-practice-slider .dm-home-slide img{height:240px}.dm-delivered-home .dm-section-head>.dm-link{display:block}.dm-delivered-product{padding-bottom:30px}.dm-shop .dm-photo-dialog{width:calc(100vw - 24px);padding:14px;max-height:calc(100dvh - 24px)}.dm-photo-dialog h2{font-size:16px}.dm-photo-dialog .dm-photo-toolbar{gap:12px}.dm-photo-dialog .dm-photo-stage{height:calc(100dvh - 270px)}.dm-photo-dialog img{max-height:calc(100dvh - 270px)}.dm-photo-dialog button{font-size:12px;padding:8px 10px}.dm-photo-dialog .dm-photo-caption{font-size:12px}.dm-photo-dialog .dm-photo-nav{gap:8px}}
@media(max-width:479px){.dm-practice-grid{grid-template-columns:1fr}}
@media(max-width:760px){.dm-photo-dialog .dm-photo-stage{height:auto;min-height:180px}}
@media(prefers-reduced-motion:no-preference){.dm-practice-card{transition:border-color .2s,box-shadow .2s}.dm-practice-card:hover{border-color:#b9afb5;box-shadow:0 6px 18px #30263812}.dm-photo-enlarge{transition:background-color .2s}.dm-practice-link:hover .dm-photo-enlarge{background:#fff}}
