/* Nails by Nary — premium visual refinement shared by BOTH approved templates (Classic Blush + Royal Burgundy Luxury).
   Owner authorization 2026-11-26. Layered over the unchanged Revision 4 stylesheet (nary-ui.css), which keeps every
   original animation (thumbnail rings, button rings, navigation rings, hero sweep, heart trace, promo glow, checkmark,
   sparkle rays, gift-card sheen). Each template file (classic-blush.css / royal-burgundy.css) supplies only its colours.
   Every selector is scoped to :root[data-template]; nothing here can affect the published Revision 4 pages.
   CSP-safe: no url(), no @import, no remote resources. Reduced Motion: every new movement stops (static gold borders). */

@property --pr-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes pr-ring { to { --pr-angle: 360deg; } }
@keyframes pr-line-sheen { 0% { background-position: 160% 0, 0 0; } 60%, 100% { background-position: -60% 0, 0 0; } }
@keyframes pr-glow-pulse { 0%, 100% { scale: 1 1; filter: brightness(1); } 50% { scale: 1.06 1.1; filter: brightness(1.16); } }
@keyframes pr-twinkle { 0%, 100% { scale: 0.82; opacity: 0.75; rotate: 0deg; } 50% { scale: 1.08; opacity: 1; rotate: 45deg; } }

:root[data-template] {
  /* Champagne / metallic gold family (verified against the approved reference: line core #FFE1B0, brightest #FFFAD7). */
  --pr-gold-hi: #FFFCEB;
  --pr-gold-bright: #FFE3A1;
  --pr-gold: #E8C77B;
  --pr-gold-rich: #D9A441;
  --pr-gold-deep: #A9741F;
  --pr-peach: #FFB875;
  --pr-amber: #D88753;
  --pr-gold-metal: linear-gradient(135deg, #B8862E 0%, #F6D47A 20%, #FFF6D2 34%, #E7B54C 52%, #C48F33 68%, #F3D17C 84%, #FFE7A6 100%);
  --pr-line: linear-gradient(90deg, rgb(201 146 58 / 0) 0%, #C9923A 14%, #F3D27A 38%, #FFF3CF 52%, #F3D27A 66%, #C9923A 86%, rgb(201 146 58 / 0) 100%);
  --pr-line-sheen: linear-gradient(90deg, transparent 0 38%, rgb(255 253 242 / 0.95) 48%, rgb(255 214 232 / 0.85) 54%, transparent 64% 100%);
  --pr-glow: rgb(255 190 110 / 0.42);
  --pr-glow-soft: rgb(255 200 130 / 0.26);
  --pr-raspberry: linear-gradient(180deg, #D23A73 0%, #B21E57 42%, #8E1443 78%, #74103A 100%);
  --pr-raspberry-hover: linear-gradient(180deg, #DB4880 0%, #BC2660 42%, #98184A 78%, #7D133F 100%);
  --pr-ivory: #FFF8F2;
  --pr-ink: #3B1B2A;
  --pr-burgundy-ink: #59162C;
  --pr-row-pad: 10px;
  --pr-gap: 14px;
  --pr-glow-w: 26px;
}
@media (min-width: 600px) { :root[data-template] { --pr-row-pad: 12px; --pr-gap: 18px; --pr-glow-w: 40px; } }
@media (min-width: 1024px) { :root[data-template] { --pr-glow-w: 46px; } }

/* ---------- Shared premium gold-and-pink border system ----------
   One masked ring: a static metallic-gold base plus a travelling gold → ivory → pink light (border only; content never
   animates). Hosts add a warm golden glow and a refined shadow with box-shadow. Intensity scales with --pr-ring-w. */
:root[data-template] :is(.svc, .review, .promo, .work__all, .studio__watch, .hdr, .ftr__bar)::after,
:root[data-template] .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: var(--pr-ring-w, 2px);
  border-radius: inherit;
  pointer-events: none;
  background:
    conic-gradient(from var(--pr-angle), transparent 0deg 200deg, rgb(255 222 160 / 0.95) 242deg, var(--pr-gold-hi) 280deg, rgb(255 120 172 / 0.95) 316deg, transparent 352deg),
    var(--pr-gold-metal);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: pr-ring var(--pr-ring-dur, 7s) linear infinite;
  animation-delay: var(--pr-ring-delay, 0s);
}
:root[data-template] :is(.svc, .review, .promo, .work__all, .studio__watch) { position: relative; }

/* ---------- Editable metallic-gold header wordmark (premium.js sizes it from the rendered glyph box) ---------- */
:root[data-template] .brand { flex: 1 1 0; min-width: 0; margin-inline-end: 0; }
:root[data-template] .brand__name {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  font-size: 52px;                       /* no-JS default; premium.js replaces it with the measured size */
  line-height: 1;
  letter-spacing: 0.005em;
  padding-block: 0.16em;                 /* paints the gradient under ascenders/descenders … */
  margin-block: -0.16em;                 /* … without changing the header layout */
  color: var(--pr-word-solid, #D9A441);
  background: var(--pr-word-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: var(--pr-word-shadow);
  transform-origin: left center;
}
:root[data-template] .brand__name.is-two-line { white-space: normal; width: auto; line-height: 1.02; overflow-wrap: anywhere; }
@media (max-width: 899px) { :root[data-template] .brand__name { font-size: 44px; } }
@media (max-width: 599px) { :root[data-template] .brand__name { font-size: clamp(26px, 10vw, 46px); } }
:root[data-template] .brand:focus-visible { outline-offset: 4px; }

/* ---------- Header and footer bars (major panels) ---------- */
:root[data-template] .hdr { --pr-ring-w: 0 0 2px; --pr-ring-dur: 9s; box-shadow: 0 8px 20px var(--pr-glow-soft); }
@media (min-width: 1024px) {
  :root[data-template] .hdr { --pr-ring-w: 2px; border-radius: var(--radius-frame) var(--radius-frame) 0 0; }
  :root[data-template] .ftr__bar { position: relative; --pr-ring-w: 2px; border-radius: 0 0 var(--radius-frame) var(--radius-frame); }
}
:root[data-template] .ftr__bar { --pr-ring-w: 2px 0 0; --pr-ring-dur: 9s; --pr-ring-delay: -4s; }
:root[data-template] .ftr__notes { border-top: 0; position: relative; }
/* The thin purple line seen above the footer on PC was the lavender keyboard-focus outline of <main tabindex="-1"> (shown after
   the skip link or keyboard scrolling). It is an accessibility indicator, so it is kept — restyled in the template's gold, drawn
   inside the content edge, with stronger contrast than the original lavender (≥ 3:1). */
:root[data-template] main:focus-visible { outline: 3px solid var(--pr-focus); outline-offset: -3px; border-radius: 0; }
:root[data-template] .ftr__notes::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1.5px; border-radius: 2px;
  background: var(--pr-line-sheen), var(--pr-line); background-size: 260% 100%, 100% 100%; background-repeat: no-repeat;
  box-shadow: 0 0 6px var(--pr-glow); animation: pr-line-sheen 7s ease-in-out infinite;
}

/* ---------- Hero / banner (major panel) ---------- */
:root[data-template] .hero::before { --pr-ring-w: 2px; --pr-ring-dur: 10s; z-index: 3; }
:root[data-template] .hero { box-shadow: 0 10px 26px var(--pr-glow-soft); }

/* ---------- Premium section headings: OUR SERVICES · REVIEWS · OUR WORK ---------- */
:root[data-template] .section-rule {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 4.8vw, 27px);
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--pr-heading);
  text-shadow: var(--pr-heading-shadow, none);
  gap: clamp(12px, 2.6vw, 26px);
}
:root[data-template] .section-rule--sm { font-size: clamp(18px, 4.4vw, 23px); }
:root[data-template] .section-rule span,
:root[data-template] .studio__subtitle span {
  height: 2px;
  border-radius: 2px;
  background: var(--pr-line-sheen), var(--pr-line);
  background-size: 260% 100%, 100% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 0 6px var(--pr-glow), 0 1px 2px rgb(120 60 10 / 0.25);
  animation: pr-line-sheen 6s ease-in-out infinite;
}
:root[data-template] .section-rule span { width: clamp(44px, 12vw, 150px); }
:root[data-template] .section-rule span:last-child, :root[data-template] .studio__subtitle span:last-child { transform: scaleX(-1); }
:root[data-template] .studio__subtitle span { flex: 0 1 72px; transform: none; }
:root[data-template] .studio__subtitle span:last-child { transform: scaleX(-1); }

/* Services guidance: sparkles + device wording (shown on every device; touch devices read "Swipe"). */
:root[data-template] .scroll-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; font-size: 14.5px; color: var(--pr-hint); }
:root[data-template] .scroll-hint__text--touch { display: none; }
@media (hover: none), (pointer: coarse) {
  :root[data-template] .scroll-hint__text--pointer { display: none; }
  :root[data-template] .scroll-hint__text--touch { display: inline; }
}
:root[data-template] .scroll-hint__spark {
  flex: none; width: 14px; height: 14px;
  background: var(--pr-spark, radial-gradient(circle at 50% 50%, var(--pr-gold-hi) 0 18%, var(--pr-gold-bright) 34%, var(--pr-gold-rich) 70%));
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 3px var(--pr-glow));
  animation: pr-twinkle 2.8s ease-in-out infinite;
}
:root[data-template] .scroll-hint__spark:last-child { animation-delay: -1.4s; }
@media (max-width: 599px) { :root[data-template] .scroll-hint { font-size: 13.5px; margin-top: 6px; } }

/* ---------- Services: no outer category frame; cards sit directly on the page ---------- */
:root[data-template] main { overflow-x: clip; }
:root[data-template] .cat { container-type: inline-size; margin-top: 16px; }
/* The former blush/burgundy band (.cat::before) becomes the LEFT golden side glow; .cat::after is the RIGHT glow.
   Decorative only: behind the cards, never interactive, shown only towards the direction with more services. */
:root[data-template] .cat::before,
:root[data-template] .cat::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 46px auto 10px auto;
  width: var(--pr-glow-w);
  border-radius: 50%;
  box-shadow: none;
  pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, var(--pr-gold-hi) 0%, rgb(255 227 161 / 0.92) 20%, rgb(255 184 117 / 0.6) 44%, rgb(216 135 83 / 0.2) 70%, rgb(216 135 83 / 0) 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  animation: pr-glow-pulse 3.8s ease-in-out infinite;
}
:root[data-template] .cat::before { left: calc(var(--pr-glow-w) * -0.58); }
:root[data-template] .cat::after { right: calc(var(--pr-glow-w) * -0.58); animation-delay: -1.9s; }
:root[data-template] .cat:has(> .row.has-more-start:not(.is-expanded))::before,
:root[data-template] .cat:has(> .row.has-more-end:not(.is-expanded))::after { opacity: var(--pr-glow-on, 0.95); }
@media (max-width: 599px) { :root[data-template] .cat::before, :root[data-template] .cat::after { inset-block: 40px 8px; } }
@media (max-width: 359px) { :root[data-template] .cat::before { inset: 36px auto 8px auto; left: calc(var(--pr-glow-w) * -0.58); } }

:root[data-template] .row {
  z-index: 1;
  padding: 16px var(--pr-row-pad) 26px;
  scroll-padding-inline: var(--pr-row-pad);
  -webkit-mask-image: none;
  mask-image: none;
}
:root[data-template] .row:not(.is-expanded) { padding-inline-start: var(--pr-row-pad); scroll-padding-inline-start: var(--pr-row-pad); }
:root[data-template] .row.has-more-end, :root[data-template] .row.has-more-start, :root[data-template] .row.has-more-start.has-more-end { -webkit-mask-image: none; mask-image: none; }
:root[data-template] .row__list { gap: var(--pr-gap); }

/* Approved card counts, from the width actually available to each category (both templates):
     narrow (< 540px)                     one complete card + a partial next card
     540px – 899px, or portrait ≤ 1100px  two complete cards
     ≥ 900px (landscape tablets, desktop)  three complete cards, no partial fourth card at rest
   The first card starts at the row's own small inset; the next card begins just beyond the visible edge. */
:root[data-template] .row:not(.is-expanded) .svc { width: min(calc((100cqw - var(--pr-row-pad)) * 0.8), 340px); }
@container (min-width: 540px) {
  :root[data-template] .row:not(.is-expanded) .svc { width: calc((100cqw - 2 * var(--pr-row-pad) - var(--pr-gap)) / 2 - 1px); }
}
@container (min-width: 900px) {
  :root[data-template] .row:not(.is-expanded) .svc { width: calc((100cqw - 2 * var(--pr-row-pad) - 2 * var(--pr-gap)) / 3 - 1px); }
}
@media (orientation: portrait) and (max-width: 1100px) {
  @container (min-width: 900px) {
    :root[data-template] .row:not(.is-expanded) .svc { width: calc((100cqw - 2 * var(--pr-row-pad) - var(--pr-gap)) / 2 - 1px); }
  }
}

/* Glossy category cards (CSS gradients only) with the premium gold-and-pink perimeter. */
:root[data-template] [data-category="Nail Services"] {
  --pr-card: radial-gradient(110% 70% at 16% 0%, rgb(255 255 255 / 0.78), rgb(255 255 255 / 0) 56%), radial-gradient(90% 90% at 100% 100%, rgb(236 112 156 / 0.22), rgb(236 112 156 / 0) 60%), linear-gradient(158deg, #FFEEF3 0%, #FBD3E1 40%, #F5B7CC 78%, #F7C7D6 100%);
  --pr-card-deep: rgb(214 90 140 / 0.16);
}
:root[data-template] [data-category="Polish Services"] {
  --pr-card: radial-gradient(110% 70% at 16% 0%, rgb(255 255 255 / 0.8), rgb(255 255 255 / 0) 56%), radial-gradient(90% 90% at 100% 100%, rgb(160 118 222 / 0.22), rgb(160 118 222 / 0) 60%), linear-gradient(158deg, #F8F2FF 0%, #E9DBFA 40%, #D9C3F3 78%, #E4D3F7 100%);
  --pr-card-deep: rgb(140 100 200 / 0.16);
}
:root[data-template] [data-category="Pedicures"] {
  --pr-card: radial-gradient(110% 70% at 16% 0%, rgb(255 255 255 / 0.8), rgb(255 255 255 / 0) 56%), radial-gradient(90% 90% at 100% 100%, rgb(226 150 90 / 0.22), rgb(226 150 90 / 0) 60%), linear-gradient(158deg, #FFF6EA 0%, #FCE3C6 40%, #F6CEA6 78%, #F9DBBC 100%);
  --pr-card-deep: rgb(200 130 70 / 0.16);
}
:root[data-template] .svc {
  --pr-ring-w: 2px;
  --pr-ring-dur: 7.5s;
  background: var(--pr-card);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9), inset 0 -10px 20px var(--pr-card-deep), 0 0 0 1px rgb(255 236 196 / 0.35), 0 0 11px var(--pr-glow), 0 6px 12px var(--pr-card-shadow);
}
:root[data-template] .svc:nth-child(3n + 2) { --pr-ring-delay: -2.5s; }
:root[data-template] .svc:nth-child(3n + 3) { --pr-ring-delay: -5s; }
:root[data-template] .svc__name { color: var(--pr-burgundy-ink); }
:root[data-template] .svc__desc { color: var(--pr-ink); }
:root[data-template] .svc__price { color: #8C1641; }
:root[data-template] .svc__time { color: #5E4250; }
:root[data-template] .svc.pr-out::after, :root[data-template] .row.is-offscreen .svc::after { animation-play-state: paused; }

/* Thumbnail + gallery borders: same ring element and animation as Revision 4 (nb-ring, 3.2s); recoloured to bright metallic
   gold with an ivory highlight and a pink accent, plus a warm golden glow. The photograph itself is never tinted. */
:root[data-template] .thumb,
:root[data-template] .work__photo {
  background: conic-gradient(from var(--nb-angle), #E2AE4B 0deg, #F6D47A 90deg, #E2AE4B 150deg, #FFE7A6 192deg, #FFFFFF 222deg, #FF8FB8 252deg, #E9B85A 290deg, #C99234 330deg, #E2AE4B 360deg);
  box-shadow: 0 0 0 1px rgb(255 246 220 / 0.85), 0 0 10px var(--pr-glow), 0 4px 12px var(--pr-card-shadow);
}
:root[data-template] .thumb { padding: 2.5px; }

/* ---------- Appointment + Gift Card promotions ---------- */
:root[data-template] .promo {
  --pr-ring-w: 2.5px;
  --pr-ring-dur: 8s;
  /* The original 7s promo glow animation (nb-promo-glow) is kept: it animates var(--shadow-card), redefined here. */
  --shadow-card: inset 0 1px 0 rgb(255 255 255 / 0.85), 0 0 18px var(--pr-glow), 0 10px 24px var(--pr-card-shadow);
}
:root[data-template] .promo--gift { --pr-ring-delay: -4s; }
:root[data-template] .promo--book {
  background:
    radial-gradient(70% 120% at 12% 0%, rgb(255 255 255 / 0.85), rgb(255 255 255 / 0) 55%),
    radial-gradient(60% 90% at 100% 100%, rgb(246 205 160 / 0.45), rgb(246 205 160 / 0) 65%),
    linear-gradient(112deg, #FFF3F6 0%, #FBD5E2 38%, #F5B6CB 74%, #F7CDBF 100%);
}
:root[data-template] .promo--gift {
  background:
    radial-gradient(70% 120% at 12% 0%, rgb(255 255 255 / 0.85), rgb(255 255 255 / 0) 55%),
    radial-gradient(60% 90% at 100% 100%, rgb(246 218 170 / 0.4), rgb(246 218 170 / 0) 65%),
    linear-gradient(112deg, #FAF5FF 0%, #EADCFA 40%, #D9C2F3 76%, #E7D6F2 100%);
}
:root[data-template] .promo__title { color: var(--pr-burgundy-ink); }
:root[data-template] .promo__text > p { color: var(--pr-ink); }
:root[data-template] .promo--book::before, :root[data-template] .promo--gift::before { background: var(--pr-gold-metal); }

/* ---------- Buttons (Coming Soon behaviour, sizes and arrangement unchanged) ---------- */
/* Primary: raspberry-to-burgundy, ivory serif lettering, metallic gold border carrying the ORIGINAL moving light (nb-btn-ring). */
:root[data-template] .btn--primary,
:root[data-template] .promo--gift .btn--outline[data-gift],
:root[data-template] .work__all,
:root[data-template] .studio__watch {
  background: var(--pr-raspberry);
  color: var(--pr-ivory);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 1px rgb(70 0 25 / 0.45);
  border: 0;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.42), inset 0 -6px 12px rgb(60 0 22 / 0.28), 0 0 12px var(--pr-glow), 0 8px 18px rgb(90 10 40 / 0.32);
}
:root[data-template] .btn--primary[data-book]::after,
:root[data-template] .promo--gift .btn--outline[data-gift]::after {
  inset: 0;
  padding: 2px;
  opacity: 1;
  background:
    conic-gradient(from var(--nb-btn-angle), transparent 0deg 205deg, rgb(255 222 160) 250deg, #FFFFFF 288deg, rgb(255 140 186) 322deg, transparent 356deg),
    var(--pr-gold-metal);
}
@media (hover: hover) and (pointer: fine) {
  :root[data-template] :is(.work__all, .studio__watch):hover,
  :root[data-template] .btn--primary:not([aria-disabled="true"]):hover { background: var(--pr-raspberry-hover); }
}
:root[data-template] .work__all { --pr-ring-w: 2px; --pr-ring-dur: 6s; padding: 10px 26px; font-size: 15.5px; min-height: 46px; border-radius: 999px; }
:root[data-template] .studio__watch { --pr-ring-w: 2px; --pr-ring-dur: 6s; --pr-ring-delay: -3s; }
:root[data-template] .studio__watch svg { border-color: var(--pr-ivory); }
/* Secondary (Buy Gift Card in the banner and Contact): champagne-ivory with a gold border, so Book stays the primary action. */
:root[data-template] .btn--outline {
  background: linear-gradient(180deg, #FFFEFA 0%, #FCF2DF 60%, #F7E4C3 100%);
  color: #74103A;
  font-family: var(--font-display);
  font-weight: 700;
  border-color: var(--pr-gold-rich);
  box-shadow: inset 0 1px 0 #fff, 0 0 10px var(--pr-glow-soft), 0 6px 14px rgb(90 10 40 / 0.18);
}
:root[data-template] .btn--outline:is([href="/gift-cards/"], [data-gift])::after {
  background: conic-gradient(from var(--nb-btn-angle), transparent 0deg 210deg, rgb(255 140 186) 256deg, #FFFFFF 290deg, rgb(255 222 160) 322deg, transparent 356deg);
}

/* ---------- Reviews ---------- */
/* Room for the review card's golden glow inside the scrolling track; the wider gap keeps the next review fully out of view. */
:root[data-template] .reviews__track { padding: 16px 18px 26px; margin-inline: -14px; gap: 44px; }
:root[data-template] .review {
  --pr-ring-w: 2px;
  --pr-ring-dur: 8s;
  background:
    radial-gradient(90% 80% at 15% 0%, rgb(255 255 255 / 0.9), rgb(255 255 255 / 0) 60%),
    linear-gradient(170deg, #FFFBFA 0%, #FDE9EF 55%, #F8D3DF 100%);
  box-shadow: inset 0 1px 0 #fff, 0 0 12px var(--pr-glow), 0 6px 14px var(--pr-card-shadow);
}
:root[data-template] .review blockquote { color: var(--pr-burgundy-ink); font-family: var(--font-display); font-weight: 600; }
:root[data-template] .review__author { color: #6E3A4E; }
:root[data-template] .stars {
  background: linear-gradient(180deg, #FFF1B8 0%, #F7C948 45%, #D99A1C 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgb(140 80 10 / 0.35));
}
:root[data-template] .reviews__links a { color: var(--pr-link); }
:root[data-template] .rating { color: var(--pr-heading); }
/* Vertical gold divider between Reviews and Our Work (side-by-side layouts only). */
@media (min-width: 600px) {
  :root[data-template] .work { position: relative; border-inline-start: 0; }
  :root[data-template] .work::before {
    content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; pointer-events: none;
    background: linear-gradient(180deg, transparent 0 34%, rgb(255 253 242 / 0.95) 48%, rgb(255 214 232 / 0.85) 54%, transparent 66% 100%), linear-gradient(180deg, rgb(201 146 58 / 0) 0%, #C9923A 10%, #F3D27A 35%, #FFF3CF 50%, #F3D27A 65%, #C9923A 90%, rgb(201 146 58 / 0) 100%);
    background-size: 100% 260%, 100% 100%; background-repeat: no-repeat;
    box-shadow: 0 0 6px var(--pr-glow);
    animation: pr-line-vsheen 7s ease-in-out infinite;
  }
}
@keyframes pr-line-vsheen { 0% { background-position: 0 160%, 0 0; } 60%, 100% { background-position: 0 -60%, 0 0; } }

/* ---------- Our Work ---------- */
:root[data-template] .work__grid { gap: 12px; }
:root[data-template] .work__grid li:first-child .work__photo { box-shadow: 0 0 0 1px rgb(255 246 220 / 0.85), 0 0 16px var(--pr-glow), 0 6px 16px var(--pr-card-shadow); }
:root[data-template] .work__more { margin-top: 14px; }

/* ---------- Our Studio / Hours / Contact (major panels) ---------- */
:root[data-template] .info__card {
  border-color: transparent;
  background: var(--pr-panel-bg);
  box-shadow: 0 0 18px var(--pr-glow), 0 12px 28px var(--pr-card-shadow), inset 0 1px 0 rgb(255 255 255 / 0.18);
}
/* The ORIGINAL slow moving-light border (nb-btn-ring via --nb-card-ring, 10s) is kept; it now runs over a metallic-gold base. */
:root[data-template] .info__card::after {
  inset: 0;
  padding: 2.5px;
  background:
    conic-gradient(from var(--nb-btn-angle), transparent 0deg 210deg, rgb(255 222 160 / 0.95) 252deg, #FFFFFF 290deg, rgb(255 120 172 / 0.9) 324deg, transparent 356deg),
    var(--pr-gold-metal);
}
:root[data-template] .info__card::before { border-top-color: rgb(232 199 123 / 0.55); background: var(--pr-panel-curve); }
:root[data-template] .info__title, :root[data-template] .studio__subtitle { color: var(--pr-panel-title); }
:root[data-template] .info__kicker { color: var(--pr-panel-kicker); }
:root[data-template] .studio__text { color: var(--pr-panel-text); }
:root[data-template] .studio__length { color: var(--pr-panel-kicker); }
:root[data-template] .studio__length svg, :root[data-template] .studio__lotus { color: var(--pr-gold-rich); }
:root[data-template] .studio__media { box-shadow: 0 0 0 2px var(--pr-gold), 0 0 0 3.5px rgb(255 246 220 / 0.55), 0 0 18px var(--pr-glow), 0 10px 22px rgb(40 6 18 / 0.3); }
:root[data-template] .info__badge { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 0 0 1.5px var(--pr-gold), 0 0 10px var(--pr-glow), 0 6px 14px rgb(90 10 40 / 0.25); }

/* Realistic transparent flowers in the existing decorative corners (decorative: empty alt, never interactive, behind content). */
:root[data-template] .info__flower {
  position: absolute;
  z-index: -1;
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 4px 8px rgb(60 10 25 / 0.22));
}
:root[data-template] .info__flower--hours { top: 2px; right: 4px; width: clamp(84px, 24%, 118px); }
:root[data-template] .info__flower--contact { top: 4px; right: 2px; width: clamp(92px, 27%, 132px); }
:root[data-template] .info__flower--studio { right: 6px; bottom: 6px; width: clamp(96px, 20%, 132px); }
/* Narrower Our Studio panels (below 1240px): the centred Watch Salon Tour row reaches the corner, so the orchids get their own
   small strip below it instead of sitting beside it (never over the button, the video length or the text). */
@media (max-width: 1239px) {
  :root[data-template] .studio { padding-bottom: 58px; }
  :root[data-template] .info__flower--studio { width: clamp(92px, 24%, 116px); bottom: 2px; right: 8px; }
}
:root[data-template] .info__head { padding-inline-end: clamp(84px, 26%, 132px); }

/* Business Hours: one connected table (glossy rose/champagne), thin separators, serif day names, gold border. */
:root[data-template] .hours {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 18% 0%, rgb(255 255 255 / 0.85), rgb(255 255 255 / 0) 60%),
    linear-gradient(172deg, #FFF7F3 0%, #FDE4EC 48%, #F8D0DE 82%, #F8DCCB 100%);
  box-shadow: 0 0 0 1.5px var(--pr-gold-rich), 0 0 0 3px rgb(255 240 205 / 0.55), 0 0 14px var(--pr-glow), inset 0 1px 0 #fff;
}
:root[data-template] .hours th,
:root[data-template] .hours td {
  background: transparent;
  border-radius: 0;
  padding: 7px 14px;
  border-bottom: 1px solid rgb(176 92 124 / 0.24);
  color: var(--pr-ink);
}
:root[data-template] .hours tr:last-child th, :root[data-template] .hours tr:last-child td { border-bottom: 0; }
:root[data-template] .hours tr:first-child th { border-top-left-radius: 14px; }
:root[data-template] .hours tr:first-child td { border-top-right-radius: 14px; }
:root[data-template] .hours tr:last-child th { border-bottom-left-radius: 14px; }
:root[data-template] .hours tr:last-child td { border-bottom-right-radius: 14px; }
:root[data-template] .hours th { font-family: var(--font-display); font-weight: 700; font-size: 1.04em; color: var(--pr-burgundy-ink); }
:root[data-template] .hours td { text-align: right; }
/* Today's row: one continuous stronger-pink band painted on the row (not per cell), so day and time read as one line. */
:root[data-template] .hours tr.is-highlight { background: linear-gradient(90deg, rgb(232 96 146 / 0.46) 0%, rgb(240 128 168 / 0.38) 55%, rgb(246 170 196 / 0.3) 100%); }
:root[data-template] .hours tr.is-highlight th,
:root[data-template] .hours tr.is-highlight td {
  background: transparent;
  color: #4A0F24;
  font-weight: 700;
}
:root[data-template] .hours tr.is-highlight th { box-shadow: inset 3px 0 0 #C2185B; }
@media (min-width: 768px) and (max-width: 1023px) { :root[data-template] .hours th, :root[data-template] .hours td { padding: 6px 10px; } }

/* Contact: glossy light information panel with a gold edge. */
:root[data-template] .contact-list {
  background: radial-gradient(90% 80% at 15% 0%, rgb(255 255 255 / 0.95), rgb(255 255 255 / 0) 60%), linear-gradient(172deg, #FFFCFA 0%, #FDEEF2 60%, #F9E0E8 100%);
  border: 1.5px solid var(--pr-gold-rich);
  box-shadow: 0 0 0 3px rgb(255 240 205 / 0.45), 0 0 12px var(--pr-glow-soft), inset 0 1px 0 #fff;
}
:root[data-template] .contact-list strong, :root[data-template] .contact-list a { color: var(--pr-burgundy-ink); }
:root[data-template] .contact-list__icon { color: #B8436C; }
:root[data-template] .contact-list address, :root[data-template] .contact-list li { color: var(--pr-ink); }
:root[data-template] .contact-list__muted { color: #6E4B5B; }

/* ---------- Animation economy + motion preferences ---------- */
:root[data-template] .pr-offscreen :is(.svc, .review, .promo, .work__all, .studio__watch)::after,
:root[data-template] .pr-offscreen.hdr::after, :root[data-template] .pr-offscreen .ftr__bar::after,
:root[data-template] .pr-offscreen.hero::before,
:root[data-template] .pr-offscreen :is(.section-rule span, .studio__subtitle span, .scroll-hint__spark),
:root[data-template] .pr-offscreen .cat::before, :root[data-template] .pr-offscreen .cat::after,
:root[data-template] .pr-offscreen.duo .work::before, :root[data-template] .pr-offscreen .ftr__notes::before { animation-play-state: paused; }
:root[data-template].pr-hidden *, :root[data-template].pr-hidden *::before, :root[data-template].pr-hidden *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  :root[data-template] :is(.svc, .review, .promo, .work__all, .studio__watch, .hdr, .ftr__bar)::after,
  :root[data-template] .hero::before {
    animation: none;
    background: var(--pr-gold-metal);   /* attractive static metallic-gold border */
  }
  :root[data-template] .info__card::after { background: var(--pr-gold-metal); }
  :root[data-template] .btn--primary[data-book]::after, :root[data-template] .promo--gift .btn--outline[data-gift]::after { background: var(--pr-gold-metal); }
  :root[data-template] .section-rule span, :root[data-template] .studio__subtitle span, :root[data-template] .ftr__notes::before { animation: none; background: var(--pr-line); }
  :root[data-template] .work::before { animation: none; background-size: 100% 100%; background-image: linear-gradient(180deg, rgb(201 146 58 / 0) 0%, #C9923A 10%, #F3D27A 35%, #FFF3CF 50%, #F3D27A 65%, #C9923A 90%, rgb(201 146 58 / 0) 100%); }
  :root[data-template] .cat::before, :root[data-template] .cat::after { animation: none; transition: none; }
  :root[data-template] .scroll-hint__spark { animation: none; }
}

/* ======================= Final polish (owner-approved 2026-11-27, both templates) ======================= */

/* §2 Keyboard focus: the browser's lavender outline (e.g. around a focused service carousel) becomes a clearly visible,
   theme-compatible gold ring. Static and two-tone, so it never looks like an animated decorative border. Pointer use does
   not show it (:focus-visible). Colour follows the surface: light areas use a deep gold, burgundy areas the champagne gold. */
:root[data-template] :focus-visible { outline: 3px solid var(--pr-focus); outline-offset: 2px; }
:root[data-template] :is(.hero, .promo, .svc, .review, .contact-list, .hours, .nav__sub) :focus-visible { outline-color: var(--pr-focus-on-light, #8A5A12); }
:root[data-template] .ftr__bar :focus-visible, :root[data-template] .tabbar__item:focus-visible, :root[data-template] :is(.lightbox, .tour) :focus-visible { outline-color: #E8C77B; }
:root[data-template] .row:focus-visible {
  outline: 3px solid var(--pr-focus); outline-offset: 3px; border-radius: 18px;
  box-shadow: 0 0 0 3px var(--pr-focus-inner, rgb(59 10 27 / 0.55));
}

/* §6 Business Hours clock: a slow, smooth decorative second hand (not a real-time clock); same clock, size and place. */
@keyframes pr-clock-hand { to { transform: rotate(360deg); } }
:root[data-template] .hours-card__second { transform-box: view-box; transform-origin: 24px 24px; animation: pr-clock-hand 60s linear infinite; }
:root[data-template] .info.is-offscreen .hours-card__second, :root[data-template] .pr-offscreen .hours-card__second { animation-play-state: paused; }

/* §7 Footer name: the same editable display name as the header, as metallic-gold text beside the approved realistic
   cherry blossoms (desktop footer only, exactly where the logo image was; phones keep the compact navigation). */
:root[data-template] .ftr__brand { --pr-ftr-name-max: 210px; gap: 8px; color: inherit; }
:root[data-template] .ftr__flowers { display: block; flex: none; width: 70px; height: auto; max-width: none; pointer-events: none; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 2px 4px rgb(30 0 10 / 0.35)); }
:root[data-template] .ftr__name {
  display: block; max-width: var(--pr-ftr-name-max); white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.08; letter-spacing: 0.005em;
  padding-block: 0.14em; margin-block: -0.14em;
  color: #E8C77B;
  background: linear-gradient(180deg, #FFF8DA 0%, #FFE6A0 22%, #F1C25A 44%, #C98E2E 58%, #F0C766 72%, #FFE9A8 88%, #D9A441 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgb(80 30 6 / 0.6)) drop-shadow(0 2px 3px rgb(20 0 8 / 0.4));
}
:root[data-template] .ftr__name.is-two-line { white-space: normal; overflow-wrap: anywhere; }

/* §9 Footer navigation icons: champagne gold when not selected (all devices); the selected item keeps its own colours
   (Classic Blush: blush pill, burgundy icon and text; Royal Burgundy: pink pill, ivory icon and text). Labels stay white. */
:root[data-template] .tabbar__item svg { color: var(--pr-nav-icon, #E8C77B); }
:root[data-template] .tabbar__item[aria-current] svg, :root[data-template] .tabbar__item:focus-visible svg { color: currentColor; }
:root[data-template] .tabbar:has(.tabbar__item:focus-visible) .tabbar__item[aria-current]:not(:focus-visible) svg { color: var(--pr-nav-icon, #E8C77B); }
@media (hover: hover) and (pointer: fine) {
  :root[data-template] .tabbar__item:hover svg { color: currentColor; }
  :root[data-template] .tabbar:has(.tabbar__item:hover) .tabbar__item:not(:hover) svg { color: var(--pr-nav-icon, #E8C77B); }
}

/* §8 + §10 Labels on one line; compact phone navigation (same five items, ≥44px targets, SOON kept beside the Book icon,
   safe area added below the bar — Safari's own toolbar is never counted as website navigation). */
:root[data-template] .tabbar__item span { white-space: nowrap; }
@media (max-width: 599px) {
  :root[data-template] { --tabbar-h: 62px; }
  :root[data-template] .ftr__bar { padding-block: 5px calc(5px + env(safe-area-inset-bottom, 0px)); }
  :root[data-template] .tabbar__item { min-height: 50px; padding: 5px 1px 4px; grid-template-rows: 24px auto; row-gap: 2px; font-size: 12.5px; letter-spacing: -0.005em; }
  :root[data-template] .tabbar__item svg { width: 24px; height: 24px; }
  :root[data-template] .tabbar__item span { overflow-wrap: normal; }
  :root[data-template] .tabbar__soon { position: absolute; top: 0; left: 50%; margin-inline-start: 6px; justify-self: auto; }
}
/* §14 Tablets and landscape phones (fixed bar, 600–1023px): the original reserve below the page (66px) was 1px shorter than
   the bar itself (67px); it now covers the whole bar so the last footer line is never under it. The bar is unchanged. */
@media (min-width: 600px) and (max-width: 1023px) { :root[data-template] { --tabbar-h: 68px; } }
@media (max-width: 359px) {
  /* Very narrow phones / large text: a readable fallback — the label may wrap rather than shrink further. */
  :root[data-template] .tabbar__item { font-size: 12px; }
  :root[data-template] .tabbar__item span { white-space: normal; overflow-wrap: break-word; }
}

/* §11 Promotion "Book Appointment →" on one line. Where the card is too narrow for title + button side by side, the button
   moves to its own row under the text (the same arrangement already approved for 320px phones). */
:root[data-template] .promo__btn { flex-direction: row; gap: 0.32em; white-space: nowrap; padding-inline: 20px; }
:root[data-template] .promo--book { container-type: inline-size; }
@container (max-width: 559px) {
  :root[data-template] .promo--book > .promo__btn { grid-row: 2; grid-column: 2; justify-self: start; }
  :root[data-template] .promo--book > .promo__cal { grid-row: 1 / span 2; }
}
@media (max-width: 599px) {
  :root[data-template] .promo--book { grid-template-columns: auto auto minmax(0, 1fr); }
  :root[data-template] .promo--book > .promo__cal, :root[data-template] .promo--book::before { grid-row: 1 / span 2; }
  :root[data-template] .promo--book > .promo__btn { grid-column: 3; grid-row: 2; justify-self: start; padding-inline: 16px; }
}

/* §12 Decorative golden curves (Our Studio, Hours, Contact): a lower, gentler arc that stays beneath the last line of
   content (Coming Soon notes, Watch Salon Tour, video length, buttons, hours) — never over text or controls. */
:root[data-template] .info__card::before { height: 64px; bottom: -40px; }
:root[data-template] .contact-card { padding-bottom: 34px; }
@media (min-width: 1240px) { :root[data-template] .studio { padding-bottom: 34px; } }   /* narrower panels keep their 58px flower strip */

/* §13 Phones: tighter spacing between Nail Services, Polish Services and Pedicures (cards, borders and glows unchanged). */
@media (max-width: 599px) {
  :root[data-template] .cat { margin-top: 4px; }
  :root[data-template] .row { padding-top: 12px; padding-bottom: 18px; }
  :root[data-template] .cat::before, :root[data-template] .cat::after { inset-block: 38px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  :root[data-template] .hours-card__second { animation: none; }
}
