/* Services body only. Shared header/footer and global content sizes are unchanged. */
.page-services .sunrise-mobile-booking { display:none !important; }
.page-services { padding-bottom:0 !important; --sunrise-prices-offset:calc(max(var(--sunrise-header-height,88px),88px) + 16px); }
.page-services.admin-bar { --sunrise-prices-offset:calc(max(var(--sunrise-header-height,88px),88px) + 48px); }
.sunrise-services-main { padding:0 !important; max-width:none !important; }
.sunrise-services-main > .sunrise-content { width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; }
.sunrise-services-main :is(.wp-block-post-title,.sunrise-content > h1) { width:100%; max-width:none !important; margin:0 !important; padding:34px max(5.5%,calc((100% - 1150px)/2)) !important; background:var(--sunrise-blush); border-bottom:1px solid #CEAFA2; font-size:clamp(40px,4.8vw,69px); line-height:1.05; text-align:left; letter-spacing:-.045em; }
.sunrise-services-menu { width:89% !important; max-width:1150px !important; margin:0 auto !important; container:sunrise-services / inline-size; color:var(--sunrise-espresso); }
.sunrise-prices-layout { display:grid; grid-template-columns:210px minmax(0,1fr); gap:clamp(28px,6cqw,90px); padding:30px 0 46px; }
.sunrise-prices-rail { position:sticky; top:var(--sunrise-prices-offset,104px); align-self:start; border-right:1px solid var(--sunrise-border); padding-right:18px; }
.sunrise-prices-rail p { margin:0 0 10px; font-size:11px; font-weight:700; letter-spacing:.11em; text-transform:uppercase; color:#795144; }
.sunrise-services-menu nav a { display:block; padding:11px 8px; min-height:44px; border-bottom:1px solid var(--sunrise-border); text-decoration:none; color:var(--sunrise-espresso); font:500 14px/1.6 'DM Sans',sans-serif; }
.sunrise-services-menu nav a:is(:hover,[aria-current="location"]) { background:var(--sunrise-blush); color:var(--sunrise-rust); }
.sunrise-services-menu :is(a,summary):focus-visible { outline:3px solid var(--sunrise-rust); outline-offset:3px; }
.sunrise-prices-tables { min-width:0; }
.sunrise-prices-tables section { margin:0 0 38px; scroll-margin-top:var(--sunrise-prices-offset,104px); }
.sunrise-prices-tables section:focus { outline:2px solid var(--sunrise-rust); outline-offset:6px; }
.sunrise-prices-tables h2 { margin:0 0 12px; font-size:42px; line-height:1.1; font-weight:500; letter-spacing:-.035em; text-align:left; }
.sunrise-services-menu table { width:100%; border-collapse:collapse; table-layout:auto; font:400 16px/1.45 'DM Sans',sans-serif; font-variant-numeric:tabular-nums; color:var(--sunrise-espresso); }
.sunrise-services-menu table th { text-align:left; }
.sunrise-services-menu thead th { padding:7px 0; border-bottom:1px solid var(--sunrise-gold); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:#60544D; }
.sunrise-services-menu thead th:not(:first-child),.sunrise-services-menu td { text-align:right; }
.sunrise-services-menu tr[data-service-id] > * { padding:8px 0; border-bottom:1px solid var(--sunrise-border); vertical-align:top; }
.sunrise-services-menu tr[data-service-id] th { font-weight:500; overflow-wrap:normal; word-break:normal; }
.sunrise-services-menu td { width:1%; white-space:nowrap; }
.sunrise-services-menu tr[data-service-id] td:last-child { padding-left:18px; min-width:60px; color:var(--sunrise-rust); font-weight:600; }
.sunrise-services-menu .sunrise-prices-group th { padding:14px 0 5px; font-size:11px; line-height:1.5; font-weight:700; letter-spacing:.11em; text-transform:uppercase; color:#795144; }
.sunrise-services-menu th small { display:block; max-width:42ch; margin-top:4px; color:#61554D; font-size:13px; font-weight:400; line-height:1.5; }
.sunrise-prices-guides { display:flex; flex-wrap:wrap; gap:4px 20px; padding-top:6px; }
.sunrise-prices-guides a { display:inline-flex; align-items:center; gap:5px; min-height:44px; padding:10px 0; font-size:14px; color:var(--sunrise-rust); }
.sunrise-prices-mobile { display:none; }
.sunrise-prices-skip { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.sunrise-prices-skip:focus { position:fixed; left:16px; top:8px; width:auto; height:auto; overflow:visible; clip-path:none; padding:12px; background:var(--sunrise-ivory); z-index:10000; }
@container sunrise-services (max-width:730px) {
 .sunrise-prices-layout { display:block; padding-top:16px; }
 .sunrise-prices-rail { display:none; }
 .sunrise-prices-mobile { display:block; position:sticky; top:calc(var(--sunrise-prices-offset,104px) - 16px); z-index:12; border-bottom:1px solid #CBB7A6; background:var(--sunrise-ivory); }
 .sunrise-prices-mobile summary { padding:12px 0; min-height:46px; font-size:14px; font-weight:600; cursor:pointer; }
 .sunrise-prices-mobile nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 12px; padding-bottom:10px; max-height:55vh; overflow:auto; }
 .sunrise-prices-tables section { margin-bottom:30px; scroll-margin-top:calc(var(--sunrise-prices-offset,104px) + var(--sunrise-prices-nav-height,48px)); }
 .sunrise-prices-tables h2 { font-size:34px; }
 .sunrise-services-menu tr[data-service-id] th { font-size:14px; }
 .sunrise-services-menu tr[data-service-id] td:last-child { min-width:0; font-size:14px; padding-left:10px; }
 .sunrise-services-menu .sunrise-prices-group th { padding-top:11px; }
 .sunrise-prices-guides { gap:0 14px; }
}
@media(max-width:820px) { .sunrise-services-main :is(.wp-block-post-title,.sunrise-content > h1) { padding-block:23px !important; font-size:clamp(34px,8.6vw,49px); } }
/* Legacy prose links use inline flex: keep the rail one category per row. */
.sunrise-prices-rail nav { display:flex; flex-direction:column; }
.sunrise-prices-rail nav a { width:100%; }
.sunrise-services-menu thead th:nth-child(2) { padding-left:10px; }
.sunrise-services-menu thead th:last-child { padding-left:18px; }
@container sunrise-services (max-width:730px) {
 .sunrise-services-menu thead th:nth-child(2) { padding-left:8px; }
 .sunrise-services-menu thead th:last-child { padding-left:10px; }
}
/* Scripts-off fallback: the mobile admin bar is 46px, not 32px. */
@media(max-width:782px) {
 .page-services.admin-bar { --sunrise-prices-offset:calc(max(var(--sunrise-header-height,88px),88px) + 62px); }
}
/* v3.8.16 (Astra mobile UX, step 1): JS-enhanced category disclosures.
 * Only applies when services-menu.js has enhanced the menu on a narrow
 * container; without JS the expanded menu and picker stay as before. */
@container sunrise-services (max-width:730px) {
 .sunrise-services-menu.sunrise-prices-enhanced .sunrise-prices-mobile { display:none; }
 .sunrise-services-menu.sunrise-prices-enhanced .sunrise-prices-tables section { margin-bottom:0; border-bottom:1px solid var(--sunrise-border); }
 .sunrise-services-menu.sunrise-prices-enhanced .sunrise-prices-tables section.is-open { margin-bottom:26px; }
 .sunrise-services-menu.sunrise-prices-enhanced .sunrise-prices-tables h2 { margin:0; }
 .sunrise-prices-toggle { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:52px; padding:10px 2px; background:none; border:0; color:var(--sunrise-rust); font:600 19px/1.3 'DM Sans',sans-serif; letter-spacing:-.01em; text-align:left; cursor:pointer; }
 .sunrise-prices-toggle::after { content:""; flex:none; width:10px; height:10px; margin-left:14px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); transition:transform .2s ease; }
 .sunrise-prices-toggle[aria-expanded="true"]::after { transform:rotate(225deg); }
 .sunrise-services-menu.sunrise-prices-enhanced section:not(.is-open) .sunrise-prices-panel { display:none; }
 .sunrise-services-menu.sunrise-prices-enhanced .sunrise-prices-category-body .sunrise-site-photo { display:none; }
 .sunrise-seasonal-feature-toggle { display:inline-flex; align-items:center; min-height:44px; padding:8px 0; background:none; border:0; color:var(--sunrise-rust); font:600 15px/1.4 'DM Sans',sans-serif; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
 .sunrise-services-menu .sunrise-seasonal-feature.is-collapsed .sunrise-seasonal-feature-description,
 .sunrise-services-menu .sunrise-seasonal-feature.is-collapsed .sunrise-seasonal-feature-items,
 .sunrise-services-menu .sunrise-seasonal-feature.is-collapsed .sunrise-seasonal-feature-media { display:none; }
}
@media (prefers-reduced-motion:reduce) { .sunrise-prices-toggle::after { transition:none; } }

/* v3.8.32 (Astra verdict, owner approved Nov 27): align the Visit
   block at the bottom of /services/ to the price-table column.
   The shared block renders bare in the full-width Services content
   (the homepage wrap that insets it does not exist here), so it sat
   flush against the viewport edge. Same wrap as .sunrise-services-menu
   (89% / 1150px, centered); at rail widths the inner grid is offset
   by the rail (210px) + the layout gap so "Visit Sunrise Nails in
   Richfield" lines up with the service names and the Salon hours
   right edge lines up with the prices. The visit container is itself
   a container (sunrise-visit-size), so 6cqw here equals the menu's
   gap at the same wrap width. Phones keep the price list's gutters
   (89%) and the block's own stacking. Services page only — the
   shared block's content and editing controls are unchanged. */
.page-services .sunrise-v3-visit-container { width:89%; max-width:1150px; margin-inline:auto; }
@media (min-width:821px) {
 .page-services .sunrise-v3-visit-container .sunrise-v3-visit:not(.sunrise-v3-visit--wide) { margin-left:calc(210px + clamp(28px,6cqw,90px)); }
}

/* v3.8.39 (Astra revised 3-row design, owner approved Nov 28): three
   horizontal rows across the full 1150px wrapper — Address, Directions,
   Salon hours — each with a label track on the left and warm-neutral
   rules above/below, echoing the price list. Supersedes the v3.8.35
   (45/55 columns) and v3.8.38 (688px centered group) treatments: the
   owner judged both as not spread evenly across the page. The 40px
   gap above the title = last section's 38px margin + 2px layout
   padding (was 46px). Below 720px container the groups stack. */
.page-services .sunrise-prices-layout { padding-bottom:2px; }
.page-services .sunrise-v3-visit-container { margin-top:0; }
/* v3.8.40 (Astra champagne band, owner approved Nov 28): the Visit
   section gets its own full-width pale champagne band so it no longer
   reads as part of the price list. 32px ivory gap after the menu +
   32px band padding (24/24 on phones); band runs into the blush
   footer. The wide section's own bottom padding is removed — the
   band provides it. */
.page-services .sunrise-v3-visit-band { background:#F5ECE1; margin-top:32px; padding-block:32px; }
@media (max-width:719px) {
 .page-services .sunrise-v3-visit-band { margin-top:24px; padding-block:24px; }
}
.page-services .sunrise-v3-visit--wide .sunrise-v3-visit-title { font-size:34px; line-height:38px; margin:0 0 20px; }
.page-services .sunrise-v3-visit--wide h3 { font-size:24px; line-height:28px; margin:0 0 8px; }
.page-services .sunrise-v3-visit--wide .sunrise-v3-visit-rowcontent p { font-size:16px; line-height:24px; margin:0; }
.page-services .sunrise-v3-visit--wide .sunrise-v3-hours > div { padding-block:6px; font-size:15px; line-height:22px; }
@container sunrise-visit-size (min-width:720px) {
 .page-services .sunrise-v3-visit-container .sunrise-v3-visit--wide { grid-template-columns:1fr; row-gap:0; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-title { grid-column:1 / -1; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-location,
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-directions,
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-hourscol { display:grid; grid-template-columns:176px 1fr; column-gap:24px; align-items:center; padding-block:12px; border-top:1px solid #E7DDD7; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-hourscol { border-bottom:1px solid #E7DDD7; }
 .page-services .sunrise-v3-visit--wide h3 { margin:0; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-rowcontent { display:grid; grid-template-columns:repeat(3,1fr); column-gap:24px; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-address { grid-column:1 / span 2; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-rowcontent p + p { grid-column:3; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-directions .sunrise-v4-directions { display:grid; grid-template-columns:1fr 1fr; column-gap:24px; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-directions .sunrise-v4-directions a { display:flex; justify-content:space-between; align-items:center; min-height:44px; font-size:16px; line-height:22px; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-directions .sunrise-v4-directions a::after { content:"\2197"; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-hours { display:grid; grid-template-columns:repeat(3,1fr); column-gap:24px; width:auto; max-width:none; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-hours > div { display:block; grid-column:auto; border-bottom:0; padding:0; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-hours dt { font-size:15px; line-height:20px; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-hours dd { font-size:16px; line-height:22px; font-weight:600; margin-top:2px; }
}
@container sunrise-visit-size (min-width:720px) and (max-width:899px) {
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-location,
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-directions,
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-hourscol { grid-template-columns:128px 1fr; column-gap:20px; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-rowcontent,
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-directions .sunrise-v4-directions,
 .page-services .sunrise-v3-visit--wide .sunrise-v3-hours { column-gap:16px; }
}
@container sunrise-visit-size (max-width:719px) {
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-title { font-size:28px; line-height:32px; margin:0; }
 .page-services .sunrise-v3-visit--wide h3 { font-size:22px; line-height:26px; margin:0 0 6px; }
 .page-services .sunrise-v3-visit--wide { row-gap:16px; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-rowcontent p + p { margin-top:6px; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-directions .sunrise-v4-directions { display:flex; flex-direction:row; flex-wrap:wrap; gap:16px; }
 .page-services .sunrise-v3-visit--wide .sunrise-v3-visit-directions .sunrise-v4-directions a { display:inline-flex; align-items:center; min-height:44px; }
}
