/* Public destinations and shared form materials. The /home/ carousel and its
   contrasting navigation are deliberately outside these component scopes. */
body.shared-public-page,
body.souvenna-app :is(.editorial-surface,.editorial-directory,.editorial-supplier,.pw,.geography-fields,.tradition-dropdown,.tradition-group) {
  --ph-paper:#f7f3ea;
  --ph-paper-deep:#eee7d9;
  --ph-ink:#30332a;
  --ph-olive:#62664b;
  --ph-deep:#3d4232;
  --ph-champagne:#c9b596;
  --ph-line:rgb(98 102 75 / .22);
  --ph-field:rgb(247 243 234 / .86);
  --ph-menu:rgb(247 243 234 / .94);
  --ph-ice:rgb(255 255 255 / .72);
  --ph-shadow:0 12px 32px rgb(48 51 42 / .10);
}
body.shared-public-page {
  --paper:#f7f3ea;--paper-deep:#eee7d9;--ink:#30332a;--muted:#62664b;--green:#62664b;--green-deep:#3d4232;--hair:rgb(98 102 75 / .22);
  --serif:'SV Serif','Crimson Text',Georgia,serif;
  font-family:var(--sv-sans);
  color:#30332a;
  background:#f7f3ea;
}
body.shared-public-page :is(.editorial-hub,.editorial-article,.ed-card__body) {
  font-family:var(--sv-sans);
}
body.souvenna-app #sv-shell > .sv-top {
  background:rgb(255 255 255 / .72);
  color:#30332a;
  border-bottom:1px solid rgb(48 51 42 / .12);
  box-shadow:0 4px 18px rgb(48 51 42 / .06);
  backdrop-filter:blur(20px) saturate(100%);
  -webkit-backdrop-filter:blur(20px) saturate(100%);
}

/* Public feature pages use the homepage header markup, without its body class.
   Give them their own clear glass surface instead of the opaque scroll state. */
body[data-feature-page] .site-header.complete-header {
  background:rgb(255 255 255 / .64) !important;
  background-image:none !important;
  border:1px solid rgb(255 255 255 / .8);
  border-bottom-color:rgb(48 51 42 / .16);
  border-radius:0;
  box-shadow:0 5px 22px rgb(30 36 27 / .08);
  backdrop-filter:blur(24px) saturate(100%);
  -webkit-backdrop-filter:blur(24px) saturate(100%);
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  body[data-feature-page] .site-header.complete-header { background:var(--sv-handover-card-surface) !important; }
}
@media(prefers-reduced-transparency:reduce) {
  body[data-feature-page] .site-header.complete-header {
    background:var(--sv-handover-card-surface) !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
}

/* Bridge the directory's old blush/bronze utility skins without changing its
   search, geographic defaults, taxonomy, listing status or result states. */
body.souvenna-app #main .editorial-directory,
body.souvenna-app #main .editorial-supplier {
  --directory-ink:var(--ph-ink);--directory-accent:var(--ph-olive);--directory-line:var(--ph-line);
  --pk-paper:var(--ph-paper);--pk-canvas:var(--ph-paper);--pk-card:var(--sv-handover-card-surface);
  --pk-ink:var(--ph-ink);--pk-muted:var(--ph-olive);--pk-line:var(--ph-line);
  --pk-green:var(--ph-olive);--pk-green-deep:var(--ph-deep);--pk-blush:var(--ph-paper-deep);--pk-blush-soft:var(--ph-paper);
  --sv-forest:var(--ph-olive);--sv-forest-deep:var(--ph-deep);--sv-sage:var(--ph-paper-deep);--sv-ink:var(--ph-ink);--sv-soft:var(--ph-olive);
  font-family:var(--sv-sans);
}

/* Public editorial destinations share tokens; semantic badges and photographic
   overlays retain their own treatments. No guest-designed canvas is targeted. */
body.souvenna-app #main .editorial-surface {
  --editorial-ink:#30332a;--editorial-muted:#62664b;--editorial-linen:#f7f3ea;
  --editorial-ecru:#eee7d9;--editorial-line:rgb(98 102 75 / .22);
}
@layer glass {
  body.souvenna-app #main .editorial-surface {
    background:#f7f3ea !important;color:#30332a !important;
    font-family:var(--sv-sans) !important;
  }
  body.souvenna-app #main .editorial-surface :is(h1,h2,h3):not(.text-white):not(.supplier-intro-hero--image *):not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *) {
    color:#30332a !important;font-family:var(--sv-serif) !important;
  }
  body.souvenna-app #main .editorial-surface :is(.muted,.tiny,.hint,.stat-label,.editorial-caption):not(.text-white):not(.supplier-intro-hero--image *) { color:#62664b !important; }
  body.souvenna-app #main .editorial-surface :is(.panel,.empty):not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *) {
    color:#30332a !important;background:#f7f3ea !important;border-color:rgb(98 102 75 / .22) !important;
  }
  body.souvenna-app #main .editorial-surface .btn:not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *) {
    color:#30332a !important;border-color:rgb(98 102 75 / .32) !important;
    font-family:var(--sv-sans) !important;
  }
  body.souvenna-app #main .editorial-surface .btn--primary:not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *) {
    color:#f7f3ea !important;background:#62664b !important;border-color:#62664b !important;
  }
  body.souvenna-app #main .editorial-surface .btn--primary:hover:not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *) { background:#3d4232 !important;border-color:#3d4232 !important; }
  body.souvenna-app #main .editorial-surface :is(input:not([type=checkbox]):not([type=radio]),textarea):not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *) {
    color:#30332a !important;background:rgb(247 243 234 / .86) !important;border-color:rgb(98 102 75 / .28) !important;
  }
  body.souvenna-app #main .editorial-surface :is(input,textarea)::placeholder { color:#62664b !important; }
  body.souvenna-app #main .editorial-surface input[type=checkbox] { accent-color:#62664b !important; }
  body.souvenna-app #main .editorial-surface :is(a,button,input,textarea,summary,[tabindex]):focus-visible { outline-color:#62664b !important; }
}

/* The first glass layer already owns important form paint. Keeping these
   narrow exceptions there avoids another cascade of late page-specific skins. */
@layer glass {
  body.shared-public-page { background:#f7f3ea !important;color:#30332a !important; }
  body.souvenna-app #sv-shell > .sv-top {
    background:rgb(255 255 255 / .72) !important;
    color:#30332a !important;
    border-bottom:1px solid rgb(48 51 42 / .12) !important;
    border-radius:0 !important;
  }
  body.souvenna-app #main :is(.editorial-directory,.editorial-supplier) {
    background:#f7f3ea !important;color:#30332a !important;
    font-family:var(--sv-sans) !important;
  }
  body.souvenna-app #main .editorial-directory :is(.directory-intro,.directory-filters,.category-family) {
    background:#f7f3ea !important;color:#30332a !important;
  }
  body.souvenna-app #main .editorial-directory .directory-intro { padding-block:42px 26px !important; }
  body.souvenna-app #main .editorial-directory :is(h1,h2,h3),
  body.souvenna-app #main .editorial-supplier :is(h1,h2,h3):not(.text-white):not(.supplier-intro-hero--image *) {
    font-family:var(--sv-serif) !important;
    font-weight:400 !important;color:#30332a !important;
  }
  body.souvenna-app #main .editorial-directory :is(p,label,.muted,.small,.editorial-caption,.directory-result-count) {
    color:#62664b !important;
    font-family:var(--sv-sans) !important;
  }
  body.souvenna-app #main .editorial-directory .directory-intro h1 {
    font-size:clamp(38px,4.5vw,60px) !important;line-height:1.08 !important;letter-spacing:-.025em !important;
  }
  body.souvenna-app #main .editorial-directory .directory-intro p:not(.editorial-caption) { font-size:16px !important;line-height:1.65 !important;max-width:66ch; }
  body.souvenna-app #main .editorial-directory .directory-filters {
    background:rgb(238 231 217 / .72) !important;
    border:1px solid rgb(98 102 75 / .22) !important;border-radius:6px !important;
    box-shadow:none !important;padding:22px !important;
  }
  body.souvenna-app #main .editorial-directory :is(.vendor-card,.category-family .card) {
    background:var(--sv-handover-card-surface) !important;color:#30332a !important;border-color:rgb(98 102 75 / .22) !important;
    border-radius:6px !important;box-shadow:none !important;
  }
  body.souvenna-app #main .editorial-directory .vendor-card--text-only::before {
    background:linear-gradient(135deg,#eee7d9,#f7f3ea) !important;
  }
  body.souvenna-app #main .editorial-directory :is(.pill,.cp-chip,.ed-chip) {
    min-height:44px !important;color:#30332a !important;background:#f7f3ea !important;
    border-color:rgb(98 102 75 / .28) !important;font:400 14px/1.4 var(--sv-sans) !important;
  }
  body.souvenna-app #main .editorial-directory :is(.pill,.cp-chip,.ed-chip)[aria-pressed="true"] {
    background:#62664b !important;border-color:#62664b !important;color:#f7f3ea !important;
  }
  body.souvenna-app #main .editorial-directory :is(.btn--primary,.button--primary,.directory-search-button) {
    background:#62664b !important;border-color:#62664b !important;color:#f7f3ea !important;
    min-height:44px !important;
  }
  body.souvenna-app #main .editorial-directory .directory-card-cta { color:#3d4232 !important;min-height:44px !important;font-size:14px !important; }

  /* Native popup rows remain OS-owned. A light option palette is intentional:
     translucent native <option> windows are not reliable across browsers. */
  body.souvenna-app select:not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *),
  body.shared-public-page select:not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *) {
    color-scheme:light;
    min-height:44px !important;border:1px solid rgb(98 102 75 / .28) !important;
    border-radius:6px !important;color:#30332a !important;
    /* The shorthand used to wipe the arrow, so every choice list looked like a plain text box (Stephen, 12 Nov 2026). */
    background:rgb(247 243 234 / .86) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2362664b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px !important;
    padding-right:38px !important;
    font:400 14px/1.45 var(--sv-sans) !important;
    backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  }
  /* Dropdowns match the words around them (14px, Stephen 12 Nov 2026: "opens into different larger fonts").
     Touch screens keep 16px: iOS zooms into any field smaller than that. */
  @media (pointer: coarse) {
    body.souvenna-app select:not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *),
    body.shared-public-page select:not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *) { font-size:16px !important; }
  }
  body.souvenna-app select:not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *) option,
  body.shared-public-page select:not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *) option { color-scheme:light;background:#f7f3ea !important;color:#30332a !important; }
  body.souvenna-app :is(.tradition-dropdown,.tradition-dropdown__menu,.combo-list,[role="listbox"]):not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *),
  body.shared-public-page :is(.combo-list,[role="listbox"]):not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *) {
    color-scheme:light;background:rgb(247 243 234 / .94) !important;color:#30332a !important;
    border-color:rgb(98 102 75 / .24) !important;border-radius:6px !important;
    font:400 15px/1.55 var(--sv-sans) !important;
    backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  }
  body.souvenna-app .tradition-dropdown { --pw-ink:#30332a;--pw-mute:#62664b;--pw-card:rgb(247 243 234 / .94);--line:rgb(98 102 75 / .22); }
  body.souvenna-app :is(.tradition-dropdown__summary,.tradition-group>summary) { min-height:44px !important;padding:12px 14px !important;background:transparent !important;color:#30332a !important; }
  body.souvenna-app .tradition-dropdown__menu :is(.checkline,.muted,.small,.tiny,.tag) { color:#30332a !important; }
  body.souvenna-app .tradition-dropdown__menu .tradition-group { background:transparent !important;border-color:rgb(98 102 75 / .22) !important; }
  body.souvenna-app .tradition-dropdown__menu input[type="search"],
  body.souvenna-app .editorial-directory .directory-filters input {
    min-height:44px !important;background:rgb(247 243 234 / .86) !important;color:#30332a !important;border:1px solid rgb(98 102 75 / .28) !important;border-radius:6px !important;font:400 16px/1.45 var(--sv-sans) !important;
  }
  body.souvenna-app :is(select,.tradition-dropdown__summary,.tradition-group>summary,.combo-list [role="option"]):focus-visible,
  body.souvenna-app #main .editorial-directory :focus-visible,
  body.shared-public-page select:focus-visible {
    outline:2px solid #62664b !important;outline-offset:3px !important;
  }
}
@layer glass {
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  body.souvenna-app #sv-shell > .sv-top { background:var(--sv-handover-card-surface) !important; }
  :is(body.souvenna-app,body.shared-public-page) :is(.tradition-dropdown,.tradition-dropdown__menu,.combo-list,[role="listbox"],select):not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *) { background:#f7f3ea !important; }
}
@media(prefers-reduced-transparency:reduce) {
  body.souvenna-app #sv-shell > .sv-top { background:var(--sv-handover-card-surface) !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important; }
  :is(body.souvenna-app,body.shared-public-page) :is(.tradition-dropdown,.tradition-dropdown__menu,.combo-list,[role="listbox"],select):not(.wedding-site *):not(.studio-preview-host *):not(.invitation-stage *) { background:#f7f3ea !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important; }
}
}
@media(max-width:600px) {
  body.souvenna-app #main .editorial-directory .directory-intro { padding-block:28px 18px !important; }
  body.souvenna-app #main .editorial-directory .directory-filters { padding:16px !important; }
}
@media(prefers-reduced-motion:reduce) {
  body.souvenna-app #main .editorial-directory :is(.vendor-card,.category-family .card,.cp-card,.cp-chip) { animation:none !important;transition:none !important;transform:none !important; }
}

/* Footer markup is shared by the homepage and public destinations. An explicit
   component layer prevents the older app utility skins repainting it blush. */
@layer pskin {
html body .shared-public-footer.site-footer {
  display:block; margin:0!important; padding:60px clamp(20px,4.5vw,72px) 28px!important;
  background:#3d4232!important; color:#f7f3ea!important; border:0!important;
  border-radius:0!important; font:400 14px/1.65 var(--sv-sans)!important;
}
html body .shared-public-footer[hidden] { display:none!important; }
html body .shared-public-footer :is(a,p,span,li,small,h2) { color:#f7f3ea!important; font-family:inherit!important; }
html body .shared-public-footer :is(p,ul) { margin:0!important; padding:0!important; }
html body .shared-public-footer ul { list-style:none!important; }
html body .shared-public-footer a { display:inline-block; text-decoration:none!important; border:0!important; background:transparent!important; box-shadow:none!important; }
html body .shared-public-footer a:hover { text-decoration:underline!important; text-underline-offset:4px; }
html body .shared-public-footer a:focus-visible { outline:2px solid #f7f3ea!important; outline-offset:4px!important; }
html body .shared-public-footer h2 { font:500 13px/1.5 var(--sv-sans)!important; letter-spacing:.1em!important; text-transform:uppercase!important; margin:0 0 18px!important; }
html body .shared-public-footer li a { padding:6px 0!important; font:400 14px/1.5 var(--sv-sans)!important; letter-spacing:normal!important; }
html body .shared-public-footer .shared-public-footer__inner { display:grid; grid-template-columns:1.3fr repeat(4,1fr); gap:40px; max-width:1440px; margin:auto; }
html body .shared-public-footer .shared-public-footer__brand img { width:140px; height:60px; object-fit:contain; display:block; }
html body .shared-public-footer .shared-public-footer__brand p { margin-top:18px!important; max-width:25ch; }
html body .shared-public-footer .shared-public-footer__legal { display:flex; justify-content:space-between; align-items:start; gap:28px; max-width:1440px; margin:48px auto 0; padding-top:24px; border-top:1px solid rgb(247 243 234 / .22); font-size:12px; }
html body .shared-public-footer .shared-public-footer__legal small { white-space:nowrap; }
html body .shared-public-footer #motion-preference { max-width:1440px; margin:20px auto 0; }
@media(max-width:800px) { html body .shared-public-footer .shared-public-footer__inner { grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px; } }
@media(max-width:480px) { html body .shared-public-footer .shared-public-footer__inner { grid-template-columns:1fr; gap:30px; } html body .shared-public-footer .shared-public-footer__legal { flex-direction:column; gap:12px; } }
}

@layer pskin {
html body .shared-public-footer .site-footer__social { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:20px!important; background:transparent!important; border:0!important; border-radius:0!important; }
html body .shared-public-footer .site-footer__social a { display:flex; align-items:center; justify-content:center; width:34px; height:36px; padding:5px!important; }
html body .shared-public-footer .site-footer__social svg { width:22px; height:22px; }
html body .shared-public-footer .shared-public-footer__privacy { max-width:1440px; margin:20px auto 0!important; font-size:12px; }
@media(min-width:801px) and (max-width:1100px) { html body .shared-public-footer .shared-public-footer__inner { grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; } html body .shared-public-footer .shared-public-footer__brand { grid-column:1/-1; } }
}
html body .shared-public-footer .site-footer__social{gap:8px}
