/* Detail cards use the entire desktop, rather than the dock's narrow viewport. */
.dock-dialog.shop-card-dialog{width:calc(100vw - 32px);max-width:1840px;max-height:calc(100dvh - 24px)}
@media(min-width:1051px){
.shop-card-layout{grid-template-columns:clamp(260px,23vw,360px) minmax(0,1fr);gap:18px}
.shop-card-dialog .shop-profile-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1051px) and (max-height:850px){
.shop-details-card{padding:18px 20px 14px}
.shop-card-dialog .shop-profile-fields{gap:14px 18px;margin-top:14px}
.shop-card-dialog .shop-profile-fields dl>div{padding:7px;line-height:1.35}
.shop-card-dialog .shop-profile-actions{margin-top:14px}
.shop-card-brand{padding-top:12px!important;padding-bottom:12px!important}
.shop-logo-slot{width:76px;height:76px;margin-bottom:10px}
.shop-card-dialog .shop-card-brand h2{font-size:27px}
.shop-card-contacts{gap:10px;padding:12px 0}
.shop-card-socials{margin-top:12px;padding-top:10px;gap:10px}
.shop-card-footer{padding-top:16px}
}
.premium-locked.button{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;opacity:1;cursor:not-allowed;background:#e4ebf7;color:#475e82;border:1px solid #b7c8e6;box-shadow:none}
.premium-feature{min-width:0}
.shop-card-website .premium-feature{display:flex;flex-direction:column;align-items:center}
.shop-card-website .premium-locked.button{display:flex;width:100%;max-width:280px;margin-inline:auto;justify-content:center}
.premium-disclaimer{margin:7px 0 0;text-align:center;font-size:11px;font-style:italic;line-height:1.4;color:#65758e}
.shop-identity-card .premium-disclaimer{color:#b6c7e0}
.shop-profile-actions .premium-feature{display:inline-block}

/* Compact contact card inspired by the supplied shop profile reference. */
.shop-card-dialog .shop-identity-card{align-self:start;padding:16px 18px 20px;border-width:2px;border-radius:16px;background:radial-gradient(ellipse at 70% 0%,#30445b55,transparent 50%),linear-gradient(150deg,#13202f,#09111d 65%,#172b45) padding-box,linear-gradient(135deg,#d5f5ff,#596fd1 48%,#90b7d9) border-box}
.shop-card-dialog .shop-card-edition{padding-bottom:12px;border-bottom:1px solid #92adc630}
.shop-card-dialog .shop-card-edition span:first-child{font-size:17px}
.shop-card-dialog .shop-card-edition span:last-child{transform:none;letter-spacing:1px}
.shop-card-dialog .shop-card-brand{display:block;margin:0 -18px;padding:30px 18px!important;background:repeating-linear-gradient(135deg,transparent 0 22px,#a9cfff05 23px 24px);text-align:center}
.shop-card-dialog .shop-card-brand h2{font-size:clamp(25px,2.3vw,34px);line-height:1.15;letter-spacing:0;text-wrap:balance}
.shop-card-dialog .shop-card-location{margin:0 -18px;padding:8px 18px;background:linear-gradient(100deg,#3547b5,#526fe9 52%,#293d9c);font-size:11px;letter-spacing:3px;border-color:#99b8ff66}
.shop-card-dialog .shop-card-contacts{gap:14px;padding:21px 0 18px}
.shop-contact-row{display:grid;grid-template-columns:21px minmax(0,1fr);gap:12px;align-items:start}
.shop-contact-row>svg{width:20px;height:20px;color:#edf5ff;margin-top:1px}
.shop-card-dialog .shop-card-contacts p,.shop-card-dialog .shop-card-contacts a{font-size:13px;line-height:1.5;color:#edf3fb}
.shop-card-dialog .shop-card-website .button{border-radius:14px;min-height:40px;width:100%;max-width:none;background:linear-gradient(110deg,#edfaff,#bccbf4);color:#13243b;box-shadow:0 2px 0 #6081aa,inset 0 1px #fff}
.shop-card-dialog .shop-card-socials{gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid #7992b333;grid-template-columns:1fr}
.shop-social-button{box-sizing:border-box;display:grid;grid-template-columns:22px 1fr 16px;align-items:center;gap:12px;width:100%;min-height:42px;padding:9px 12px;border:1px solid #88a5c755;border-radius:8px;background:linear-gradient(110deg,#ffffff05,#ffffff02);text-decoration:none;text-align:left;font-family:inherit;font-weight:700;font-size:11px;line-height:1.3;letter-spacing:.7px}
.shop-card-dialog .shop-card-socials .shop-social-button{color:#edf3fc;font-size:11px}
.shop-social-button svg{width:22px;height:22px}.shop-social-button svg:last-child{width:16px;height:16px}
.shop-social-button:not(:disabled):hover{border-color:#abcaff;background:#42639c33}
.shop-social-button:disabled{opacity:.6;cursor:default}
.shop-social-unavailable small{display:block;margin:4px 0 0 12px;font-size:10px;color:#9aaac0}
.shop-card-dialog .shop-card-footer{margin-top:0;padding-top:24px;font-size:8px;line-height:1.5;letter-spacing:1px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Strong, readable profile typography matching the supplied reference. */
.shop-card-dialog .shop-details-card{font-family:Arial,Helvetica,sans-serif}
.shop-card-dialog .shop-details-heading h3{font-family:Arial,Helvetica,sans-serif;font-size:28px;font-weight:800;line-height:1.15;letter-spacing:-.45px;color:#142039;margin:7px 0 8px}
.shop-card-dialog .shop-card-kicker{font-size:10px;font-weight:800;letter-spacing:1.4px;color:#345384}
.shop-card-dialog .shop-details-heading p{font-size:13px;line-height:1.45;font-weight:500;color:#3d4a5e}
.shop-card-dialog .shop-profile-fields h4{font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.25;font-weight:750;letter-spacing:0;background:linear-gradient(100deg,#152440,#2e426c);padding:10px 12px}
.shop-card-dialog .shop-profile-fields h4:before{font-size:12px;font-weight:700;color:#d5e3fa}
.shop-card-dialog .shop-profile-fields dl>div{font-size:13px;line-height:1.35}
.shop-card-dialog .shop-profile-fields dt{font-weight:700;color:#1c293e}
.shop-card-dialog .shop-profile-fields dd{font-weight:500;color:#344055}
.shop-card-dialog .shop-profile-fields .profile-unanswered{color:#536176;font-weight:400}
.shop-card-dialog .shop-profile-fields .fine{font-weight:400;color:#66758a}
@media(max-width:650px){.shop-card-dialog .shop-details-heading h3{font-size:26px}.shop-card-dialog .shop-profile-fields h4{font-size:14px}}

.shop-card-dialog .shop-card-brand{padding:18px 18px 20px!important}
.premium-business-logo{width:138px;height:96px;margin:0 auto 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid #a6c4e788;border-radius:12px;background:linear-gradient(145deg,#23364b,#0c1726);box-shadow:0 6px 18px #0003,inset 0 0 0 3px #bfdcff09;color:#dbeaff}
.premium-business-logo svg{width:27px;height:27px;color:#a9caff}
.premium-business-logo span{font:700 10px/1.2 Arial,Helvetica,sans-serif;letter-spacing:1.4px}
.premium-business-logo small{font:400 10px/1.2 Arial,Helvetica,sans-serif;color:#9fbbdb}
@media(min-width:1051px) and (max-height:850px){.premium-business-logo{height:74px;width:120px;margin-bottom:12px;gap:4px}.premium-business-logo svg{width:22px;height:22px}.shop-card-dialog .shop-card-brand{padding:12px 18px 14px!important}}
.shop-card-dialog .shop-profile-fields h4:before{content:none;display:none}

.premium-business-logo img{width:100%;height:100%;object-fit:contain;padding:8px;box-sizing:border-box;border-radius:12px}
.shop-card-dialog .standard-profile{padding-top:0;padding-bottom:6px}
.shop-card-dialog .standard-profile .shop-card-brand{padding:26px 18px!important}
.shop-photo-gallery:not([hidden]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.shop-photo-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.shop-card-website .button{display:flex!important;justify-content:center;margin-inline:auto}

/* Plain package bullets flow down two columns, matching the profile example. */
.shop-card-dialog .shop-profile-fields dl>div.profile-package-row{display:block}
.shop-profile-fields .profile-package-row dd{margin:10px 0 0;width:100%}
ul.profile-package-list{display:block;columns:2;column-gap:28px;list-style:disc;margin:0 0 8px;padding-left:20px}
ul.profile-package-list li{break-inside:avoid;margin:0 0 10px;padding:0;border:0;border-radius:0;background:none;line-height:1.4}
@media(max-width:600px){ul.profile-package-list{columns:1}}

/* Premium owners share one palette across both cards. */
.shop-card-dialog .custom-profile-theme .shop-identity-card.premium-profile{background:var(--shop-theme);color:var(--shop-ink);border-color:var(--shop-theme)}
.shop-card-dialog .custom-profile-theme .premium-profile :is(h2,p,a,small,.card-not-provided,.shop-card-edition,.shop-card-footer,.shop-social-button){color:var(--shop-ink)}
.shop-card-dialog .custom-profile-theme .shop-card-location{background:rgba(0,0,0,.13);color:var(--shop-ink)}
.shop-card-dialog .custom-profile-theme .premium-profile .shop-social-button{border-color:currentColor}
.shop-card-dialog .custom-profile-theme .shop-profile-fields h4{background:var(--shop-theme);color:var(--shop-ink);border-left-color:var(--shop-theme)}

.shop-card-dialog .custom-profile-theme .premium-profile h2{text-shadow:none;color:var(--shop-ink)}

.shop-card-dialog .custom-profile-theme .premium-profile .shop-card-edition span:last-child{background:#fff;color:var(--shop-theme);border-color:#fff}
.shop-card-dialog .light-profile-theme .premium-profile .shop-card-edition span:last-child{background:#000;border-color:#000}

.shop-card-dialog .custom-profile-theme .premium-profile .shop-card-edition span:first-child{display:inline-block;padding:6px 9px;border:1px solid #fff;border-radius:4px;background:#fff;color:var(--shop-theme);line-height:1.2}
.shop-card-dialog .light-profile-theme .premium-profile .shop-card-edition span:first-child{background:#000;border-color:#000}

/* Stack shop facts beside the visible installation portfolio. */
.shop-card-dialog .shop-details-columns{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:start;margin-top:24px}
.shop-card-dialog .shop-details-columns .shop-profile-fields{display:flex;flex-direction:column;margin-top:0;gap:24px}
.profile-photo-column{min-width:0}
.profile-photo-column h4{margin:0 0 16px;padding:14px 18px;border-radius:8px;background:var(--shop-theme,#142743);color:var(--shop-ink,#fff);font-size:18px}
.profile-photo-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.profile-photo-grid img{display:block;width:100%;height:auto;border-radius:10px}
@media(max-width:760px){.shop-card-dialog .shop-details-columns{grid-template-columns:minmax(0,1fr)}}

.shop-card-dialog .custom-profile-theme .premium-profile .shop-contact-row>svg{box-sizing:content-box;width:24px;height:24px;flex-shrink:0;padding:0;border-radius:0;background:none;color:#fff;stroke-width:2.5}
.shop-card-dialog .light-profile-theme .premium-profile .shop-contact-row>svg{color:#000}
