/* PetSpa-only composition on the approved Claude type, colour and card system. */
.theme-petspa { overflow-wrap: break-word; }
.theme-petspa :is(.h-display,.h1,.h2) { hyphens: none; }
.theme-petspa :is(.hero__grid,.svc-hero__grid,.svc-desc__grid,.article-columns) > * { min-width: 0; }
.theme-petspa :is(section[id],h2[id],.source-anchor) { scroll-margin-top: 112px; }
.theme-petspa .section { padding-block: 88px; }
.theme-petspa .section-head { margin-bottom: 40px; gap: 48px; }
.theme-petspa .section-head:has(> :only-child) { grid-template-columns: minmax(0,1fr); }
.theme-petspa .section-head__title { max-width: 880px; }
.theme-petspa .section-head__title > .body { max-width: 64ch; }
.theme-petspa .salon-heading-note { max-width: 55ch; margin-top: 20px; }
.theme-petspa .hero { padding-block: 72px 64px; }
.theme-petspa .hero__grid { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 64px; }
.theme-petspa .hero__title { font-size: clamp(44px,4.2vw,64px); line-height: 1.06; }
.theme-petspa .hero__desc { max-width: 42ch; margin-top: 28px; }
.theme-petspa .hero__photo { aspect-ratio: 1/1; }
.theme-petspa .hero__cta { flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.theme-petspa .hero__trust { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; margin: 48px 0 0; padding: 32px 0 0; list-style: none; }
.theme-petspa .hero__trust-item { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.theme-petspa .hero__trust-item p { font-size: 16px; line-height: 1.5; color: var(--ink-900); }
.theme-petspa .hero__trust-icon { display: inline-flex; flex: 0 0 44px; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-deep); border-radius: 12px; }
.theme-petspa .hero__location { display: inline-flex; gap: 8px; padding: 9px 12px; border-radius: 7px; color: var(--accent-deep); background: var(--accent-soft); margin-bottom: 24px; }
.theme-petspa .hero__location::before { content: none; }
.theme-petspa .ba-pair__photo { aspect-ratio: 1/1; background: #e1eef5; }
.theme-petspa .ba-pair__photo img { object-fit: contain; }
.theme-petspa .promos__grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.theme-petspa .promo-card { min-height: 220px; justify-content: center; }
.theme-petspa .promo-num { margin: 0 0 20px; font-size: 64px !important; }
.theme-petspa .promo-card .h3 { font-size: 21px; }
.theme-petspa .promo-card p { margin-top: 12px; }
.theme-petspa .reviews__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.theme-petspa .review-card { padding: 32px; }
.theme-petspa .review-card > p { line-height: 1.7; }
.theme-petspa .review-card__footer { margin-top: auto; }
.theme-petspa .svc-hero { padding-block: 40px 64px; }
.theme-petspa .svc-hero__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px; margin-top: 48px; }
.theme-petspa .svc-hero h1 { font-size: clamp(40px,4.2vw,62px) !important; line-height: 1.08; }
.theme-petspa .svc-hero__intro { margin-top: 24px; max-width: 44ch; }
.theme-petspa .svc-hero__photo { aspect-ratio: 1/1; height: auto; }
.theme-petspa .svc-hero__photo img { height: 100%; object-position: center; }
.theme-petspa .svc-desc__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px; align-items: center; }
.theme-petspa .svc-desc__photo { max-height: 560px; }
.theme-petspa .svc-desc__text > .salon-info-card { border: 0; background: transparent; padding: 20px 0 0; }
.theme-petspa .svc-desc__text .salon-info-card__number { display: none; }
.theme-petspa .svc-desc__text .salon-info-card h3 { font-size: 22px; }
.theme-petspa .salon-service-details { margin-top: 40px; align-items: start; }
.theme-petspa .salon-info-card p { max-width: 65ch; line-height: 1.75; }
.theme-petspa .salon-info-card__number { margin-bottom: 16px; }
.theme-petspa .post-card { position: relative; }
.theme-petspa .post-card__link { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.theme-petspa .post-card__link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.theme-petspa .post-card__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; }
.theme-petspa .post-card__footer { margin-top: auto; }
.theme-petspa .post-card .h4 { font-size: 18px; line-height: 1.4; }
.theme-petspa .faq-list { max-width: 900px; }
.theme-petspa .faq-answer { color: var(--ink-700); font-size: 16px; line-height: 1.7; }
.theme-petspa .faq-answer ul { display: block; padding-left: 22px; list-style: disc; }
.theme-petspa .faq-answer ul li { display: list-item; padding: 0; margin-top: 10px; line-height: 1.65; }
.theme-petspa .faq-answer ul li::before { content: none; }
.theme-petspa .faq-answer li::marker { color: var(--accent); }
.theme-petspa .faq-answer a { text-decoration: underline; text-underline-offset: 3px; }
.theme-petspa .article-header { padding-bottom: 40px; }
.theme-petspa .article-intro { margin: 24px auto 0; max-width: 64ch; }
.theme-petspa .article-cover { margin-top: 40px; }
.theme-petspa .article-cover:has(img[src*="frame_"]) { aspect-ratio: 1.88; }
.theme-petspa .article-cover img[src*="frame_"] { object-fit: contain; }
.theme-petspa .article-body-section { padding-block: 24px 72px; }
.theme-petspa .article-columns { grid-template-columns: minmax(0,720px) minmax(200px,1fr); gap: 64px; }
.theme-petspa .petspa-reading { display: block; font-size: 17px; line-height: 1.75; color: var(--ink-700); }
.theme-petspa .petspa-reading > div { margin-bottom: 28px; }
.theme-petspa .petspa-reading h2 { margin: 48px 0 20px; line-height: 1.25; }
.theme-petspa .petspa-reading > h2:first-child,.theme-petspa .petspa-reading > .source-anchor:first-child + h2 { margin-top: 0; }
.theme-petspa .petspa-reading :is(ul,ol) { display: block; margin: 20px 0; padding-left: 24px; }
.theme-petspa .petspa-reading li { display: list-item; margin-top: 12px; line-height: 1.75; list-style: disc; }
.theme-petspa .petspa-reading ol > li { list-style: decimal; }
.theme-petspa .petspa-reading li::before { content: none; }
.theme-petspa .petspa-reading li::marker { color: var(--accent); }
.theme-petspa .petspa-reading a { text-decoration: underline; text-underline-offset: 3px; }
.theme-petspa .toc-sticky { top: 112px; }
.theme-petspa .toc-list a { line-height: 1.5; }
.theme-petspa .related-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.theme-petspa .related-card { min-height: 0; }
.theme-petspa .related-card__image img[src*="frame_"] { object-fit: contain; }
.theme-petspa .related-card__body { min-width: 0; }
.theme-petspa .page-header__grid { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 56px; }
.theme-petspa.petspa-admin .page-header__grid h1 { font-size: clamp(38px,4vw,58px) !important; line-height: 1.1; }
.theme-petspa .collab-card--featured { background: var(--accent-deep); border-color: var(--accent-deep); }
.theme-petspa .collab-card--featured .body { color: #fff; }
.theme-petspa .privacy-text { max-width: 780px; gap: 0; }
.theme-petspa .privacy-contents { padding: 28px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; margin-bottom: 40px; }
.theme-petspa .privacy-contents ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 32px; }
.theme-petspa .privacy-contents li { padding: 0; font-size: 14px; line-height: 1.5; }
.theme-petspa .privacy-contents li::before { content: none; }
.theme-petspa .privacy-contents a { text-decoration: underline; text-underline-offset: 3px; }
.theme-petspa .privacy-section { margin-bottom: 40px; }
.theme-petspa .privacy-section h2 { margin: 0 0 24px; }
.theme-petspa .privacy-section p + p { margin-top: 16px; }
.theme-petspa .privacy-section :is(ul,ol) { margin-block: 20px; }
@media (max-width: 1100px) and (min-width: 769px) {
 .theme-petspa .header__inner { gap: 20px; }
 .theme-petspa .header__nav { gap: 20px; }
 .theme-petspa .hero__grid,.theme-petspa .svc-hero__grid,.theme-petspa .svc-desc__grid { gap: 40px; }
 .theme-petspa .hero__title { font-size: 44px; }
 .theme-petspa .promos__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .theme-petspa .article-columns { grid-template-columns: minmax(0,1fr) 220px; gap: 40px; }
}
@media (max-width: 768px) {
 .theme-petspa .section { padding-block: 56px; }
 .theme-petspa .section-head { grid-template-columns: minmax(0,1fr); gap: 24px; margin-bottom: 32px; }
 .theme-petspa .section-head .h1 { font-size: 34px; line-height: 1.12; }
 .theme-petspa .hero { padding-block: 36px 48px; }
 .theme-petspa .hero__grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
 .theme-petspa .hero__title { font-size: clamp(28px,8.4vw,42px); line-height: 1.12; }
 .theme-petspa .hero__desc { margin-top: 24px; }
 .theme-petspa .hero__cta { margin-top: 28px; align-items: stretch; }
 .theme-petspa .hero__cta .btn { justify-content: center; }
 .theme-petspa .hero__trust { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 20px; margin-top: 28px; padding-top: 24px; }
 .theme-petspa .hero__trust-item { flex-direction: column; gap: 12px; }
 .theme-petspa .hero__trust-item p { font-size: 15px; }
 .theme-petspa .hero__photo { aspect-ratio: 4/3; }
 .theme-petspa .ba-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
 .theme-petspa .ba-grid .ba-pair:nth-child(4),.theme-petspa .gallery__item:nth-child(7),.theme-petspa .gallery__item:nth-child(8) { display: block; }
 .theme-petspa .ba-pair__label { margin-top: 10px; }
 .theme-petspa .service-card { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 16px; padding: 18px; }
 .theme-petspa .service-card__photo { grid-row: span 2; }
 .theme-petspa .service-card__footer { display: flex; grid-column: 2; margin-top: 0; }
 .theme-petspa .service-card h3 { font-size: 20px; }
 .theme-petspa .promos__grid { grid-template-columns: minmax(0,1fr); }
 .theme-petspa .promo-card { min-height: 0; }
 .theme-petspa .promo-num { font-size: 56px !important; margin-bottom: 16px; }
 .theme-petspa .reviews__grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
 .theme-petspa .review-card { padding: 24px; }
 .theme-petspa .problem-card { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 16px; }
 .theme-petspa .problem-icon { grid-row: span 2; }
 .theme-petspa .problem-card__body { margin: 0; }
 .theme-petspa .problem-card__footer { display: flex; grid-column: 2; }
 .theme-petspa .problem-card__footer .mono-sm { display: none; }
 .theme-petspa .svc-hero { padding-block: 24px 48px; }
 .theme-petspa .svc-hero__grid,.theme-petspa .svc-desc__grid { grid-template-columns: minmax(0,1fr); gap: 32px; margin-top: 32px; }
 .theme-petspa .svc-hero h1 { font-size: 40px !important; }
 .theme-petspa .svc-hero__intro { font-size: 18px; }
 .theme-petspa .svc-desc__text > .salon-info-card { padding-top: 8px; }
 .theme-petspa .article-header { padding-bottom: 24px; }
 .theme-petspa .article-header .article-cover { margin-top: 32px; }
 .theme-petspa .article-columns { grid-template-columns: minmax(0,1fr); gap: 32px; }
 .theme-petspa .toc-sidebar { display: block; grid-row: 1; padding: 24px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; }
 .theme-petspa .toc-sticky { position: static; }
 .theme-petspa .toc-share { display: none; }
 .theme-petspa .petspa-reading { font-size: 16px; }
 .theme-petspa .petspa-reading h2 { font-size: 26px; margin-top: 36px; }
 .theme-petspa .petspa-reading li { font-size: 16px; }
 .theme-petspa .related-grid,.theme-petspa .related-grid:has(> :nth-child(4):last-child) { grid-template-columns: minmax(0,1fr); }
 .theme-petspa .page-header__grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
 .theme-petspa .privacy-contents { padding: 24px; margin-bottom: 32px; }
 .theme-petspa .privacy-contents ul { grid-template-columns: minmax(0,1fr); }
 .theme-petspa .privacy-section { margin-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
}
@media (max-width: 360px) {
 .theme-petspa.petspa-admin .page-header__grid h1 { font-size: 32px !important; }
 .theme-petspa .btn { max-width: 100%; height: auto; min-height: 56px; padding: 16px 20px; white-space: normal; justify-content: center; }
 .theme-petspa :is(.sidebar-card,.conditions-block) { min-width: 0; padding: 24px; }
}

/* Owner's common booking and location sections, confined to PetSpa. */
.theme-petspa .salon-booking__grid { gap: 64px; align-items: center; }
.theme-petspa .salon-booking h2 { font-size: clamp(34px,3.5vw,48px); line-height: 1.12; margin: 24px 0; }
.theme-petspa .petspa-booking-art { display: block; width: min(100%,360px); height: auto; margin: 0 0 20px; }
.theme-petspa .salon-booking .body-lg { max-width: 46ch; font-size: 16px; line-height: 1.65; }
.theme-petspa .salon-booking__online h3 { max-width: 15ch; }
.theme-petspa .salon-booking__online .btn { justify-content: center; }
.theme-petspa .petspa-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.theme-petspa .petspa-actions--booking { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.theme-petspa .petspa-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; line-height: 1.35; text-decoration: none; transition: filter .15s; }
.theme-petspa .petspa-action > svg { flex: 0 0 20px; width: 20px; height: 20px; }
.theme-petspa .petspa-action small { display: block; font-size: 11px; line-height: 1.4; font-weight: 400; }
.theme-petspa .petspa-action--vk { background: #e5efff; color: #1555a8; }
.theme-petspa .petspa-action--wa { background: #e3f4ea; color: #17633d; }
.theme-petspa .petspa-action--max { background: #eee8ff; color: #5b37a7; }
.theme-petspa .petspa-action--phone { background: #fff; color: var(--accent-deep); border-color: var(--hairline-strong); }
.theme-petspa .petspa-action:hover { filter: brightness(.95); }
.theme-petspa :is(.petspa-action,.petspa-map-controls button):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.theme-petspa .petspa-actions--booking .petspa-action { justify-content: flex-start; min-height: 60px; padding-inline: 18px; }
.theme-petspa .petspa-actions--compact { margin-top: 24px; gap: 8px; }
.theme-petspa .petspa-actions--compact .petspa-action { min-height: 44px; padding: 10px; gap: 7px; font-size: 12px; border-radius: 9px; }
.theme-petspa .petspa-actions--compact .petspa-action > svg { width: 16px; height: 16px; flex-basis: 16px; }
.theme-petspa .salon-contacts h2 { margin-bottom: 24px; }
.theme-petspa .petspa-location-name { font-size: 24px; line-height: 1.4; margin-bottom: 20px; color: var(--ink-1000); }
.theme-petspa .petspa-entrance { max-width: 34ch; }
.theme-petspa .petspa-map-viewport { position: relative; }
.theme-petspa .petspa-map-viewport iframe { pointer-events: none; }
.theme-petspa .petspa-map-viewport.is-active iframe { pointer-events: auto; }
.theme-petspa .petspa-map-locked { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; background: #fff; color: var(--ink-700); font-size: 12px; line-height: 1.5; border: 1px solid var(--hairline); border-radius: 8px; pointer-events: none; }
.theme-petspa .petspa-map-viewport.is-active .petspa-map-locked { display: none; }
.theme-petspa .petspa-map-controls { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--hairline); }
.theme-petspa .petspa-map-controls button { flex: 1; min-height: 44px; min-width: 150px; padding: 10px 14px; color: var(--accent-deep); background: var(--accent-tint); border: 1px solid var(--accent-soft); border-radius: 9px; font: inherit; font-size: 13px; line-height: 1.5; cursor: pointer; }
.theme-petspa .petspa-map-controls button[aria-pressed="true"] { background: var(--accent-soft); }
.theme-petspa .petspa-actions--footer { gap: 8px; }
.theme-petspa .salon-footer__grid .petspa-actions--footer .petspa-action { min-width: 44px; min-height: 44px; padding: 8px; border-radius: 9px; color: var(--ink-900); }
.theme-petspa .salon-footer__grid .petspa-action--vk { color: #1555a8; }
.theme-petspa .salon-footer__grid .petspa-action--wa { color: #17633d; }
.theme-petspa .salon-footer__grid .petspa-action--max { color: #5b37a7; }
.theme-petspa .salon-footer__grid .petspa-action--phone { color: var(--accent-deep); }
@media (max-width: 1100px) {
 .theme-petspa .salon-booking__grid { gap: 40px; }
 .theme-petspa .salon-booking__online { padding: 28px; }
}
@media (max-width: 768px) {
 .theme-petspa .salon-booking__grid { gap: 32px; }
 .theme-petspa .salon-booking h2 { font-size: 36px; }
 .theme-petspa .petspa-booking-art { width: min(100%,320px); margin-inline: auto; }
 .theme-petspa .salon-booking__online { padding: 24px; }
 .theme-petspa .salon-booking__online h3 { max-width: none; font-size: 29px; }
 .theme-petspa .petspa-actions--booking .petspa-action { padding-inline: 14px; }
 .theme-petspa .salon-contacts h2 { font-size: 36px; }
 .theme-petspa .petspa-location-name { font-size: 22px; }
 .theme-petspa .petspa-actions--footer .petspa-action { min-width: 44px; min-height: 44px; }
}
