/* Shared 8121 business-page finish. Existing detail and editor data remain authoritative. */
.dd-business-unified main{max-width:1280px!important;width:calc(100% - 48px);margin-inline:auto;color:#253632;overflow-wrap:anywhere}
.dd-business-unified main *{box-sizing:border-box}
.dd-business-unified main a{color:#245d55}
.dd-business-unified main :is(.detail-hero,.dd-managed-resource-hero){border:1px solid #dfe8e2;border-radius:24px;background:#edf4ed;box-shadow:none;overflow:hidden}
.dd-business-kind-brand main .detail-hero{background:#edf4ed}
.dd-business-kind-training main .dd-managed-resource-hero{background:#f5eee4}
.dd-business-kind-photo main .dd-managed-resource-hero{background:#eff0f8}
.dd-business-kind-product main .detail-hero{border:0;background:transparent}
.dd-business-unified main :is(.dd-business-upcoming-events,.dd-business-event-peers,.dd-product-shelf,.dd-training-sidebar,.dd-photo-sidebar,.dd-detail-section,.dd-unmanaged-claim){border:1px solid #dfe8e2;border-radius:20px;background:white;box-shadow:none;min-width:0}
.dd-business-unified main :is(.dd-business-upcoming-events,.dd-business-event-peers,.dd-product-shelf){padding:clamp(18px,2.5vw,28px)}
.dd-business-unified main :is(.dd-business-upcoming-events,.dd-business-event-peers,.dd-product-shelf) h2{font-size:clamp(20px,2vw,26px);margin:0 0 16px}
.dd-business-unified main .dd-business-event-card{border-radius:14px;background:#eef5ef}
.dd-business-unified main :is(.dd-shop-page-columns,.dd-training-mypage-layout,.dd-photo-mypage-layout){align-items:start;gap:24px}
.dd-business-unified main :is(.dd-shop-page-sidebar,.dd-training-sidebar,.dd-photo-sidebar){min-width:0;overflow-wrap:anywhere}
.dd-business-unified main :is(.dd-shop-page-sidebar,.dd-training-sidebar,.dd-photo-sidebar) :is(dt,dd,a){overflow-wrap:anywhere;word-break:normal}
.dd-business-unified main .dd-product-shelf .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.dd-business-unified main .dd-product-card{border:1px solid #e1e9e1;border-radius:16px;background:white;overflow:hidden;min-width:0}
.dd-business-unified main .dd-product-card figure{margin:0;aspect-ratio:5/4;background:#eef3ee}
.dd-business-unified main .dd-product-card figure img{display:block;width:100%;height:100%;object-fit:contain}
.dd-business-unified main .dd-product-card-copy{padding:10px 14px 14px}
.dd-business-unified main .dd-product-card-copy h3{overflow-wrap:anywhere}
.dd-business-unified main .dd-product-card-price{font-weight:700;color:#174e43}
.dd-business-unified main .dd-product-detail-layout{align-items:start;gap:30px}
.dd-business-unified main .dd-product-detail-media{min-width:0}
.dd-business-unified main .dd-product-gallery-main{background:#eef3ee;border-radius:18px;overflow:hidden}
.dd-business-unified main .dd-product-gallery-main img{width:100%;height:auto;object-fit:contain}
.dd-business-unified main .dd-product-purchase{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:18px;border:1px solid #dfe8e2;border-radius:15px;background:#f3f7f3}
.dd-business-unified main .dd-product-purchase a{background:#296a60;color:white;padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:700}
.dd-business-unified main .dd-product-purchase button{border:1px solid #b6c6ba;border-radius:10px;background:#e5ebe6;color:#66756b;padding:10px 16px;cursor:not-allowed}
.dd-business-unified main .dd-product-purchase small{display:block;flex-basis:100%;color:#65746a}
.dd-business-unified main .dd-commerce-unavailable{color:#65746a}
.dd-business-unified main :is(.dd-owner-cta,.dd-unmanaged-claim){padding:20px 24px}
.dd-business-unified main :is(.dd-owner-cta,.dd-unmanaged-claim) a{white-space:normal}
/* Without a real cover, lead with the business name rather than a large empty illustration. */
.dd-business-kind-training main .dd-managed-resource-hero:not(.has-cover)::before,
.dd-business-kind-photo main .dd-managed-resource-hero:not(.has-cover)::before{content:none!important;display:none!important}
.dd-business-kind-training main .dd-managed-resource-hero:not(.has-cover):not(.has-profile) .dd-managed-resource-copy,
.dd-business-kind-photo main .dd-managed-resource-hero:not(.has-cover):not(.has-profile) .dd-managed-resource-copy{padding:clamp(24px,4vw,48px)!important}
.dd-business-kind-training main .dd-managed-resource-hero:not(.has-profile) .dd-managed-resource-copy::before,
.dd-business-kind-photo main .dd-managed-resource-hero:not(.has-profile) .dd-managed-resource-copy::before{content:none!important;display:none!important}
.dd-business-kind-training main .dd-managed-resource-hero:not(.has-cover),
.dd-business-kind-photo main .dd-managed-resource-hero:not(.has-cover){min-height:0!important}
.dd-business-kind-training main .dd-managed-resource-hero:not(.has-cover) h1,
.dd-business-kind-photo main .dd-managed-resource-hero:not(.has-cover) h1{font-size:clamp(30px,4vw,54px);line-height:1.22;margin:.5rem 0}
.dd-business-kind-training main .dd-managed-resource-hero:not(.has-cover) p,
.dd-business-kind-photo main .dd-managed-resource-hero:not(.has-cover) p{max-width:740px}
.dd-business-unified main .dd-managed-gallery img{max-width:100%;height:auto;object-fit:contain}
.dd-business-unified main .dd-photo-works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.dd-business-unified main .dd-training-content:empty,.dd-business-unified main .dd-photo-content:empty{display:none}
@media(max-width:900px){.dd-business-unified main .dd-product-shelf .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dd-business-unified main :is(.dd-training-mypage-layout,.dd-photo-mypage-layout){grid-template-columns:1fr}}
@media(max-width:760px){.dd-business-unified main{width:calc(100% - 32px)}.dd-business-unified main :is(.dd-business-upcoming-events,.dd-business-event-peers,.dd-product-shelf){padding:16px}.dd-business-unified main .dd-product-detail-layout{display:block}.dd-business-unified main .dd-product-purchase{flex-direction:column;align-items:stretch}.dd-business-unified main .dd-product-purchase small{flex-basis:auto}.dd-business-unified main .dd-managed-resource-hero:not(.has-cover) h1{font-size:clamp(27px,8vw,38px)}.dd-business-unified main .dd-training-sidebar,.dd-business-unified main .dd-photo-sidebar{position:static;width:100%}}
@media(max-width:390px){.dd-business-unified main .dd-product-shelf .cards{gap:8px}.dd-business-unified main .dd-product-card-copy{padding:8px}}

.dd-business-kind-product main .dd-product-gallery-empty{height:180px!important;min-height:180px!important;max-height:180px!important;display:grid;place-items:center}
@media(max-width:760px){.dd-business-kind-product main .dd-product-gallery-empty{height:150px!important;min-height:150px!important;max-height:150px!important}}

/* A single item should not sit inside a nearly empty full-width white shelf. */
.dd-business-unified main .dd-product-shelf:has(.cards>:only-child){border:0;background:transparent;box-shadow:none;padding:0}
.dd-business-unified main .dd-product-shelf:has(.cards>:only-child) .cards{display:flex;flex-wrap:wrap;gap:16px}
.dd-business-unified main .dd-product-shelf:has(.cards>:only-child) .cards>*{width:min(100%,300px)}
