/* Expansion of the approved porcelain design: services, document catalogue,
   contacts and restrained framing for uploaded replacements. */
.header-phone { color: #2457c8; font: 700 .83rem/1.35 var(--sans); white-space: nowrap; text-decoration: none; }
.header-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-cart { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 6px; min-width: 50px; min-height: 40px; padding: 7px 10px; border: 1px solid #b9d1f1; border-radius: 11px; background: #ffffffb8; color: #2457c8; text-decoration: none; font: 750 .8rem/1 var(--sans); white-space: nowrap; }
.header-cart svg { flex: 0 0 auto; }
.header-cart:hover { background: #e9f2ff; border-color: #7ca6e8; }
.header-cart:focus-visible { outline: 3px solid #4b83e4; outline-offset: 4px; }
.header-row.has-phone { gap: 15px; }
.porcelain .header-row.has-phone .desktop-nav { gap: 14px; }
.porcelain .header-row.has-phone .desktop-nav a { font-size: .77rem; }
.porcelain .header-row.has-phone .brand-name { font-size: 14px; }
.porcelain .header-row.has-phone .header-cta { padding-inline: 12px; }
.contact-phones, .footer-phones { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; }
.contact-phones a, .footer-phones a { display: flex; flex-direction: column; gap: 4px; color: #2457c8; text-decoration: none; overflow-wrap: anywhere; }
.contact-phones a:hover strong, .footer-phones a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.contact-phones span, .footer-phones span { color: #51647e; font-size: .75rem; }
.contact-phones strong { font-size: clamp(19px,2vw,25px); line-height: 1.4; }
.footer-phones strong { font-size: .94rem; }
.porcelain .launch-section { background: radial-gradient(ellipse at 50% 15%,#e7f1ffb3,transparent 70%),#f8fafe; }
.launch-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.porcelain .launch-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(23px,2.3vw,32px); border: 1px solid #d3e3f8; border-top-color: #fff; border-radius: 20px; background: linear-gradient(150deg,#ffffffdb,#f0f6ffab); box-shadow: 0 12px 35px #577daa0e,inset 0 1px 0 #fff; }
.porcelain .launch-card:nth-child(2) { border-color: #a9c6f1; border-top-color: #fff; background: linear-gradient(150deg,#fff,#eaf3ffb0); box-shadow: 0 18px 38px #386bc015,inset 0 1px 0 #fff; }
.launch-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 28px; }
.launch-step { color: #285fd8; font-size: .8rem; font-weight: 750; letter-spacing: .1em; }
.launch-caption { color: #526780; font-size: .7rem; line-height: 1.45; text-align: right; }
.porcelain .launch-card h3 { margin-top: 23px; font-size: clamp(22px,2.1vw,28px); line-height: 1.2; letter-spacing: -.035em; }
.launch-description { color: #51647e; margin-top: 15px; font-size: .91rem; line-height: 1.65; }
.launch-features { list-style: none; margin: 23px 0 30px; padding: 0; }
.launch-features li { position: relative; padding-left: 21px; font-size: .84rem; line-height: 1.6; color: #3e5674; }
.launch-features li + li { margin-top: 11px; }
.launch-features li::before { content: ''; position: absolute; top: .6em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #6d98e1; box-shadow: 0 0 0 4px #e6effd; }
.launch-bottom { margin-top: auto; padding-top: 22px; border-top: 1px solid #d3e2f5; }
.launch-price { font-size: 1rem; font-weight: 750; color: #182c46; margin: 0 0 19px; }
.porcelain .launch-bottom .btn { width: 100%; min-height: 46px; padding-inline: 12px; font-size: .84rem; }
.launch-more { display: flex; justify-content: center; margin-top: 28px; }
.launch-note { margin-top: 25px; font-size: .86rem; color: #51647e; }
.porcelain .shop-home { padding-top: 5px; padding-bottom: 55px; }
.porcelain .shop-home-panel { display: grid; grid-template-columns: 1.12fr 1fr; gap: 60px; align-items: center; padding: clamp(25px,4vw,50px); border-radius: 21px; background: linear-gradient(125deg,#edf5ffb3,#ffffffe3); border-color: #d3e2f5; border-top-color: #fff; }
.shop-home-copy h2 { margin-top: 18px; }
.shop-home-copy .lead { margin-top: 18px; font-size: 1rem; line-height: 1.65; }
.shop-home-copy .btn { margin-top: 25px; }
.shop-home-preview { min-width: 0; }
.shop-home-empty { text-align: center; padding: 25px; color: #51647e; }
.shop-document-icon { color: #285fd8; display: inline-flex; flex-shrink: 0; }
.shop-home-empty h3 { margin-top: 19px; font-size: 22px; }
.shop-home-empty p { font-size: .88rem; }
.shop-home-item { display: flex; align-items: center; gap: 18px; padding: 20px; text-decoration: none; background: #ffffffa8; border: 1px solid #fff; border-bottom-color: #dae6f5; border-radius: 13px; color: #182c46; box-shadow: 0 8px 24px #4c74a309; }
.shop-home-item + .shop-home-item { margin-top: 12px; }
.shop-home-item > span:last-child { margin-left: auto; color: #285fd8; }
.shop-home-item strong, .shop-home-item small { display: block; }
.shop-home-item strong { font-size: .94rem; line-height: 1.45; }
.shop-home-item small { color: #51647e; margin-top: 6px; }
.shop-home-item:hover { border-color: #9dbff0; }
.shop-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.porcelain .shop-card, .porcelain .shop-summary, .porcelain .shop-order-result { min-width: 0; padding: 28px; color: #182c46; background: linear-gradient(135deg,#ffffffec,#f0f6ffad); border: 1px solid #d6e4f5; border-top-color: #fff; border-radius: 18px; box-shadow: 0 12px 35px #537bbd0f; }
.shop-card { display: flex; flex-direction: column; gap: 15px; }
.shop-card > .actions, .shop-card > .btn { margin-top: auto; }
.shop-card h2, .shop-card h3 { font-size: clamp(22px,2vw,27px); line-height: 1.2; overflow-wrap: anywhere; }
.shop-card p { margin: 0; }
.shop-cover { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; border-radius: 11px; background: #eaf2ff; }
.shop-cover img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: inherit; }
.shop-price { color: #2457c8; font-size: 1.1rem; font-weight: 750; }
.commerce-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; min-width: 0; }
.price-before { color: #65758b; font-size: .79em; font-weight: 500; text-decoration-thickness: 1px; white-space: nowrap; }
.price-current { font: inherit; font-weight: 750; color: #2457c8; }
.discount-badge { align-self: center; padding: 4px 7px; border: 1px solid #b9d1ef; border-radius: 7px; background: #e3efff; color: #2457c8; font: 750 .69rem/1.2 var(--sans); white-space: nowrap; }
.package-price { margin: 0 0 18px; font-size: 1.05rem; }
.package-buy-actions { display: grid; grid-template-columns: minmax(0,1fr); gap: 9px; }
.package-buy-actions .cart-action, .package-buy-actions .btn { width: 100%; margin: 0; }
.package-buy-actions form { margin: 0; }
.shop-section-heading { margin: 0 0 26px; max-width: 760px; }
.shop-section-heading h2 { font-size: clamp(26px,3vw,38px); margin: 10px 0 14px; }
.shop-section-heading p:not(.kicker) { color: #51647e; line-height: 1.6; }
.shop-services { margin-top: 64px; padding-top: 40px; border-top: 1px solid #d3e3f5; }
.fulfillment-tag { display: inline-flex; align-self: flex-start; padding: 5px 9px; border: 1px solid #c7daf4; border-radius: 7px; background: #edf4ff; color: #365d93; font: 650 .72rem/1.4 var(--sans); }
.fulfillment-request { color: #775d2b; background: #fff8e9; border-color: #ead9af; }
.fulfillment-download { color: #2d6b5d; background: #eaf8f2; border-color: #bfe5d6; }
.shop-availability { color: #65758b; font-size: .8rem; line-height: 1.6; }
.cart-savings { color: #2d6b5d; font-size: .85rem; font-weight: 650; }
.shop-meta { color: #51647e; font-size: .79rem; line-height: 1.6; }
.shop-empty { padding: clamp(32px,5vw,70px); border: 1px solid #d3e3f5; border-radius: 20px; background: #ffffffac; max-width: 820px; margin-inline: auto; }
.shop-empty h2 { max-width: 22ch; }
.shop-empty p { max-width: 60ch; }
.shop-empty .actions { margin-top: 25px; }
.shop-product-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.85fr); gap: 40px; align-items: start; }
.shop-product-layout > * { min-width: 0; }
.shop-product-layout .shop-cover { max-height: 420px; object-fit: contain; }
.shop-product-layout .shop-summary { position: sticky; top: 116px; }
.shop-summary h2, .shop-summary h3 { font-size: 26px; }
.shop-summary .shop-price { font-size: 1.4rem; }
.shop-summary .btn { margin-top: 15px; }
.shop-contents { padding-left: 22px; color: #425a78; }
.shop-contents li + li { margin-top: 9px; }
.shop-facts { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 10px 22px; margin: 24px 0; font-size: .87rem; }
.shop-facts dt { color: #51647e; }
.shop-facts dd { margin: 0; overflow-wrap: anywhere; color: #182c46; }
.shop-lead { color: #51647e; max-width: 65ch; font-size: 1.06rem; line-height: 1.7; }
.shop-terms { white-space: pre-wrap; overflow-wrap: anywhere; color: #51647e; font-size: .86rem; line-height: 1.7; }
.shop-stage { display: inline-flex; align-items: center; padding: 7px 12px; margin-bottom: 15px; border-radius: 99px; background: #e8f1ff; color: #2457c8; font-size: .78rem; font-weight: 700; }
.shop-order-result { max-width: 860px; margin-inline: auto; }
.shop-order-result .actions { flex-wrap: wrap; }
.shop-checkout .form-card { margin: 0; }
.porcelain .hero-photo .portrait-custom { width: 100%; height: 100%; max-width: 100%; left: 0; top: 0; object-fit: cover; object-position: center top; }
.porcelain .hero-photo .portrait-custom[data-focus="center"] { object-position: center; }
.porcelain .hero-photo .portrait-custom[data-focus="bottom"] { object-position: center bottom; }
.porcelain .about-portrait .portrait-custom { height: 550px; max-height: 75svh; width: 100%; margin-top: 0; object-fit: cover; object-position: center top; }
.porcelain .about-portrait .portrait-custom[data-focus="center"], .porcelain .business-photo img[data-focus="center"] { object-position: center; }
.porcelain .about-portrait .portrait-custom[data-focus="bottom"], .porcelain .business-photo img[data-focus="bottom"] { object-position: center bottom; }
.porcelain .business-photo img[data-focus="top"] { object-position: center top; }
@media (max-width: 1280px) {
  .porcelain .header-row.has-phone .desktop-nav, .porcelain .header-row.has-phone .header-cta { display: none; }
  .porcelain .header-row.has-phone .mobile-nav { display: block; }
  .porcelain .header-row.has-phone .mobile-nav summary { display: flex; align-items: center; gap: 8px; padding: 8px 0 8px 10px; list-style: none; cursor: pointer; font-size: .87rem; font-weight: 700; }
  .porcelain .header-row.has-phone .mobile-nav summary::-webkit-details-marker { display: none; }
  .porcelain .header-row.has-phone .mobile-nav summary::before { content: '☰'; color: #285fd8; font-size: 1.16rem; }
  .porcelain .header-row.has-phone .mobile-nav[open] summary::before { content: '×'; }
  .porcelain .header-row.has-phone .mobile-nav nav { position: absolute; left: 0; right: 0; }
  .porcelain .header-row.has-phone .mobile-nav nav a { display: block; padding: 10px 0; text-decoration: none; border-top: 1px solid #d4e1f2; }
  .header-row.has-phone .header-phone { margin-left: auto; }
}
@media (max-width: 1000px) {
  .launch-grid { gap: 14px; }
  .porcelain .launch-card { padding: 23px 19px; }
  .launch-card h3 { min-height: 2.4em; }
  .launch-caption { font-size: .65rem; }
  .shop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shop-product-layout { gap: 25px; }
}
@media (max-width: 760px) {
  .launch-grid, .shop-grid, .shop-product-layout, .porcelain .shop-home-panel { grid-template-columns: minmax(0,1fr); }
  .launch-grid { gap: 18px; }
  .porcelain .launch-card { padding: 26px; }
  .launch-card h3 { min-height: 0; font-size: 25px; }
  .launch-features { margin-bottom: 25px; }
  .launch-caption { font-size: .72rem; }
  .launch-description { margin-top: 12px; }
  .porcelain .shop-home-panel { padding: 28px; gap: 16px; }
  .shop-home-empty { padding: 28px 10px 10px; }
  .shop-home-item { padding: 17px; }
  .shop-product-layout .shop-summary { position: static; }
  .shop-product-layout .form-card { padding: 25px; }
  .shop-empty { padding: 30px 24px; }
  .shop-facts { gap: 9px 15px; }
  .porcelain .shop-card, .porcelain .shop-summary, .porcelain .shop-order-result { padding: 25px; }
}
@media (max-width: 550px) {
  .porcelain .header-row.has-phone { flex-wrap: wrap; column-gap: 9px; row-gap: 0; padding-top: 10px; }
  .header-row.has-phone .header-phone { order: 4; flex-basis: 100%; margin: 0; padding: 8px 0 10px; text-align: center; font-size: .86rem; border-top: 1px solid #d5e5f6; }
  .header-row.has-phone .brand { order: 1; flex: 1 1 auto; min-width: 0; margin-bottom: 9px; }
  .porcelain .header-row.has-phone .brand-name { font-size: 13px; white-space: normal; }
  .header-row.has-phone .header-cart { order: 2; min-width: 44px; min-height: 38px; padding: 6px 8px; gap: 4px; margin-bottom: 9px; }
  .header-row.has-phone .mobile-nav { order: 3; flex: 0 0 auto; margin-left: 0; margin-bottom: 9px; }
  .porcelain .header-row.has-phone .mobile-nav summary { padding-left: 2px; font-size: .8rem; gap: 5px; }
  .contact-phones { gap: 15px; flex-direction: column; }
  .shop-facts { grid-template-columns: minmax(0,1fr); }
  .shop-facts dd { margin-bottom: 8px; }
}
.shop-cover-empty { display: flex; align-items: center; justify-content: center; color: #6c91ca; background: linear-gradient(145deg,#e9f2ff,#f4f8ff); }
.shop-cover-empty svg { width: 64px; height: 64px; }
.shop-card-body { display: flex; flex-direction: column; flex: 1; gap: 15px; min-width: 0; }
.shop-card-body > .btn { margin-top: auto; }
.shop-facts > div { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.shop-terms h2 { font-size: 26px; margin-top: 35px; }
.shop-product-layout > div > h2 { margin-top: 32px; }
.shop-product-layout.shop-checkout { grid-template-columns: minmax(0,.85fr) minmax(0,1.2fr); }
.shop-order-result > p, .shop-order-result > h2 { overflow-wrap: anywhere; }
.shop-order-result h1 { font-size: clamp(32px,4vw,46px); }
.shop-stage { gap: 5px; flex-wrap: wrap; }
.porcelain .article-cover[data-focus="top"], .porcelain .article-image[data-focus="top"] { object-position: center top; }
.porcelain .article-cover[data-focus="center"], .porcelain .article-image[data-focus="center"] { object-position: center; }
.porcelain .article-cover[data-focus="bottom"], .porcelain .article-image[data-focus="bottom"] { object-position: center bottom; }
.admin-main .order-card > div { overflow-wrap: anywhere; }
.admin-main .order-card > summary { line-height: 1.55; }
.admin-main .order-history { margin: 0; padding-left: 22px; font-size: .85rem; }
.admin-main .order-history li + li { margin-top: 12px; }
.admin-main .order-grant { padding: 20px; margin-top: 20px; border: 1px solid #cbdcf3; border-radius: 12px; background: #f1f6fe; }
.admin-main .order-grant h3 { margin-top: 0; font-size: 23px; }
.admin-main .order-grant p { font-size: .87rem; }
.admin-main .copy-link-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-main .copy-link-row input { flex: 1 1 240px; min-width: 0; width: 100%; border: 1px solid #b9cfe8; background: #fff; padding: 11px 12px; border-radius: 8px; font: .8rem/1.5 var(--sans); }
.admin-main .copy-link-row [data-copy-status] { flex-basis: 100%; font-size: .8rem; }
.admin-main .document-upload-field { background: #f4f7fc; padding: 18px; border: 1px solid #d4e0f0; border-radius: 12px; }
.admin-main .document-upload-field .field { margin: 0; }
.admin-main .document-upload-field input[type=file] { max-width: 100%; font-size: .84rem; }
.admin-main .shop-facts { margin-top: 20px; }
@media (max-width:760px) {
  .shop-product-layout.shop-checkout { grid-template-columns: minmax(0,1fr); }
  .admin-main .order-grant { padding: 16px; }
}
