@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/nunito-latin.woff2?v=ba344451eab2") format("woff2");
}

:root {
  --ink: #14213d;
  --blue: #0a64b4;
  --muted: #4b5569;
  --border: #c5cddd;
  --page: #f7f8fc;
  --hero: #eaf3fc;
  --yellow: #fff1b8;
  --coral: #ffd9d2;
  --pale-blue: #dbe8ff;
  --purple: #ecdcff;
  --mint: #d9f2e6;
  --pink: #ffe0ef;
  --shadow: 0 1px 3px #14213d26;
  color-scheme: light;
  font-family: Nunito, Arial, sans-serif;
  font-size-adjust: from-font;
  color: var(--ink);
  background: var(--page);
}

:where(body, header, main, aside, section, footer, nav, div, ul, li, a, button, input, form, span, i, p, h1, h2, h3, h4, svg) { box-sizing: border-box; }
body { margin: 0; }
:where(h1, h2, h3, h4, p) { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button { cursor: pointer; }
input { min-inline-size: 0; color: var(--ink); background: #fff; }
input::placeholder { color: #757575; opacity: 1; }
input[type="search"] { appearance: none; }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 10; padding: 12px 16px; border-radius: 8px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-shell { max-inline-size: 2560px; margin-inline: auto; }
.desktop-copy { display: none; }
.i { inline-size: 22px; block-size: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-button { display: grid; place-items: center; inline-size: 44px; block-size: 44px; flex: none; border: 0; background: none; color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 52px; padding: 0 22px; border: 2px solid var(--blue); border-radius: 999px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 800; }
.btn:hover { text-decoration: none; }
.outline { background: #fff; color: var(--blue); }
.sub, .section-description { color: var(--muted); line-height: 1.45; }
.yellow { background: var(--yellow); }
.coral { background: var(--coral); }
.blue { background: var(--pale-blue); }
.purple { background: var(--purple); }
.mint { background: var(--mint); }
.pink { background: var(--pink); }
.site-header { position: relative; inset-block-start: 0; z-index: 5; background: #fff; border-block-end: 1px solid #e3e8f2; }
:is(.js-navigation .site-header, .site-header[data-navigation-ready]) { position: sticky; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-block-size: 59px; padding-inline: 8px; }
.logo { font-size: 22px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.logo span { color: var(--blue); }
.cart-link { display: grid; place-items: center; inline-size: 44px; block-size: 44px; color: var(--ink); }
.header-search, .account-link, .browse-column, .browse-rail, .menu-trigger, .nav-toggle { display: none; }
.primary-nav { flex-basis: 100%; order: 1; }
.primary-nav a { display: block; padding-block: 12px; color: var(--ink); font-weight: 700; }
.nav-list, .nav-submenu { list-style: none; margin: 0; padding: 0; }
.nav-list { display: grid; }
.nav-entry { display: flex; flex-wrap: wrap; align-items: center; }
.nav-entry > a { display: flex; flex: 1; align-items: center; min-block-size: 48px; padding-inline-start: 18px; line-height: 24px; }
.nav-submenu { flex-basis: 100%; padding: 0 0 8px 16px; }
.nav-submenu a { padding: 10px 12px; min-block-size: 44px; border-radius: 8px; }
.nav-submenu a:hover { background: var(--hero); }
.nav-toggle { color: var(--ink); font-weight: 700; }
.nav-toggle { align-items: center; justify-content: center; gap: 4px; min-inline-size: 44px; min-block-size: 48px; padding: 8px; border: 0; border-radius: 8px; background: transparent; line-height: 24px; }
/* Paint the label and arrow together without coloring the nested submenu. */
.nav-entry:has(> .nav-toggle) > a { border-start-start-radius: 8px; border-end-start-radius: 8px; text-decoration: none; }
.nav-entry > a + .nav-toggle { border-start-start-radius: 0; border-end-start-radius: 0; }
.nav-entry:has(> .nav-toggle[aria-expanded="true"]) > :is(a, .nav-toggle) { background: var(--hero); }
@media (hover: hover) {
  .nav-dropdown > .nav-entry:has(> a:hover, > .nav-toggle:hover) > :is(a, .nav-toggle) { background: var(--hero); }
}
.nav-toggle .i { inline-size: 16px; block-size: 16px; }
.nav-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
/* Keep the pending and interactive header identical in size, even on a slow connection. */
:is(.js-navigation .site-header, .site-header[data-navigation-ready]) .header-inner { flex-wrap: nowrap; block-size: 59px; }
:is(.js-navigation .site-header, .site-header[data-navigation-ready]) .menu-trigger { display: grid; }
:is(.js-navigation .site-header, .site-header[data-navigation-ready]) .nav-toggle { display: inline-flex; }
:is(.js-navigation .site-header, .site-header[data-navigation-ready]) .primary-nav { display: none; flex: none; order: 0; }
.js-navigation .site-header:not([data-navigation-ready]) .nav-submenu { display: none; }
:is(.menu-trigger, .nav-toggle):disabled { cursor: default; }
/* Leave room for the 60px header, 61px bottom bar, safe area, and 15px clearance. */
.site-header[data-navigation-ready] .primary-nav.is-open { display: block; position: absolute; inset: 100% 8px auto; max-block-size: calc(100dvh - 136px - env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px; border: 1px solid #e3e8f2; border-radius: 0 0 16px 16px; background: #fff; box-shadow: var(--shadow); }
.nav-submenu.is-floating { position: fixed; inset: auto; top: var(--submenu-top, 76px); left: var(--submenu-left, 8px); z-index: 6; inline-size: max-content; min-inline-size: 220px; max-inline-size: calc(100dvw - 16px); max-block-size: calc(100dvh - 96px); block-size: auto; margin: 0; padding: 8px; overflow-y: auto; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 8px 24px #14213d26; }
@supports (position-area: block-end) and (anchor-name: --nav-item) and (position-anchor: --nav-item) {
  .nav-entry:has(> #guides-submenu) { anchor-name: --guides-nav; }
  #guides-submenu { position-anchor: --guides-nav; }
  .nav-submenu.is-floating.uses-anchor[popover] { inset: auto; position-area: block-end span-inline-end; position-try-fallbacks: flip-inline, flip-block; margin-block-start: 4px; }
}
/* The Printables panel shares one navigation tree across wide and narrow layouts. */
.nav-mega { padding: 8px 0 16px 12px; }
.mega-grid { display: grid; gap: 24px; }
.mega-column { min-inline-size: 0; }
.mega-column + .mega-column { padding-block-start: 20px; border-block-start: 1px solid var(--border); }
.mega-heading { margin: 0 0 10px; color: var(--muted); font-size: 12px; font-weight: 800; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.mega-links { list-style: none; margin: 0; padding: 0; }
.mega-customization-icon { display: none; }
.mega-customization-copy { display: block; min-inline-size: 0; }
.nav-mega .mega-links a { min-block-size: 44px; padding: 10px 8px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.mega-customization li + li { margin-block-start: 6px; }
.mega-link-title, .mega-link-description { display: block; }
.mega-link-description { margin-block-start: 3px; color: var(--muted); font-size: 13px; font-weight: 400; }
.mega-demo { display: block; overflow: hidden; border-radius: 12px; background: #eef6ff; }
.mega-demo img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 8 / 5; }
.mega-featured-title { margin: 12px 0 4px; font-size: 16px; font-weight: 800; line-height: 1.4; }
.mega-featured-description { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.mega-supplies { margin: 16px 0 0; padding-block-start: 14px; border-block-start: 1px solid var(--border); font-size: 14px; font-weight: 700; line-height: 1.5; }
/* Placeholder anchors retain title typography until destinations are supplied. */
.nav-mega .mega-featured-link { display: inline; min-block-size: 0; padding: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-decoration: none; cursor: pointer; }
.nav-mega .mega-featured-link:is(:hover, :focus-visible) { background: transparent; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.nav-mega.is-floating { inline-size: min(960px, calc(100dvw - 48px)); min-inline-size: 0; max-inline-size: calc(100dvw - 48px); padding: 24px; }
.nav-mega.is-floating .mega-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); }
.nav-mega.is-floating .mega-column + .mega-column { padding-block-start: 0; border-block-start: 0; }
.nav-mega.is-floating .mega-column:not(:last-child) { padding-inline-end: 24px; border-inline-end: 1px solid var(--border); }
main { min-inline-size: 0; }
/* Share the homepage's main-column placement while leaving the side columns empty. */
.theme-directory { display: block; padding: 24px 16px 48px; }
.directory-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "search"; grid-template-rows: auto minmax(77px, auto); gap: 20px; margin-block-end: 32px; }
.directory-heading { grid-area: heading; min-inline-size: 0; align-self: center; }
.directory-heading h1 { font-size: 1.75rem; font-weight: 800; line-height: 1.2; }
.directory-count { margin-block-start: 4px; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.directory-search { grid-area: search; display: block; min-inline-size: 0; }
.directory-search label { display: block; margin-block-end: 8px; font-size: .875rem; font-weight: 700; line-height: 1.5; }
.directory-search-fields { display: flex; gap: 8px; }
.directory-search input { flex: 1; min-inline-size: 0; min-block-size: 48px; padding-inline: 16px; border: 1px solid var(--border); border-radius: 999px; font-size: 1rem; }
.directory-clear { flex: none; min-inline-size: 64px; min-block-size: 48px; padding-inline: 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); font-size: .875rem; font-weight: 700; }
.directory-clear:disabled { opacity: .5; cursor: default; }
.directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(104px, 100%), 1fr)); gap: 32px 16px; margin: 0; padding: 0; list-style: none; }
.directory-grid > li { min-inline-size: 0; }
.directory-link { display: flex; flex-direction: column; align-items: center; gap: 16px; block-size: 100%; padding: 8px 4px; border-radius: 16px; color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.625; text-align: center; overflow-wrap: anywhere; scroll-margin-block: 100px; }
.directory-icon { display: block; flex: none; inline-size: 96px; block-size: 96px; aspect-ratio: 1; object-fit: contain; border-radius: 50%; background: #fff; }
.directory-empty { margin: 0; padding-block: 48px; text-align: center; color: var(--muted); line-height: 1.6; }
.theme-directory-page .primary-nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.directory-link:hover { text-decoration: none; }
@media (hover: hover) {
  .directory-link:hover { background: var(--hero); color: var(--blue); }
  .directory-clear:enabled:hover { background: var(--hero); }
}
@media (min-width: 768px) {
  .theme-directory { padding-block: 40px 64px; }
  .directory-toolbar { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); grid-template-areas: "heading search"; grid-template-rows: minmax(77px, auto); column-gap: 32px; margin-block-end: 40px; }
  .directory-heading h1 { font-size: 2rem; }
  .directory-grid { grid-template-columns: repeat(auto-fill, minmax(min(136px, 100%), 1fr)); column-gap: 24px; }
  .directory-link { gap: 24px; padding-inline: 8px; }
  .directory-icon { inline-size: 120px; block-size: 120px; }
}
.hero { background: var(--hero); padding: 14px 16px 16px; }
.hero h1 { font-size: 22px; line-height: 1.15; font-weight: 800; margin-block-end: 12px; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; min-block-size: 48px; border: 1px solid var(--border); border-radius: 999px; padding-inline: 16px; }
.search-submit { padding: 0; inline-size: 48px; min-block-size: 48px; flex: none; }
.search-submit .mobile-copy { display: flex; }
.header-search { display: none; }
.browse-separator { display: flex; align-items: center; gap: 10px; margin-block: 14px 8px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.browse-separator::before, .browse-separator::after { content: ""; flex: 1; block-size: 1px; background: var(--border); }
.browse-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dd { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-block-size: 64px; padding: 8px 4px; border: 1.5px solid var(--blue); border-radius: 14px; background: #fff; color: var(--blue); font-weight: 800; font-size: 14px; line-height: 1.1; }
.dd > .i { inline-size: 20px; block-size: 20px; }
.dd .l { display: flex; align-items: center; gap: 2px; }
.dd .l .i { inline-size: 18px; block-size: 18px; }
.dd:hover { text-decoration: none; background: var(--hero); }
.browse-hint { font-size: 13px; line-height: 1.45; color: var(--muted); margin-block-start: 8px; text-align: center; }
.hero-browse { display: none; }
.content-section { padding: 24px 16px 0; scroll-margin-block-start: 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-block-end: 6px; gap: 8px; }
.section-heading h2, .help-heading { font-size: 20px; font-weight: 800; }
.view-all, .lk { display: inline-flex; align-items: center; min-block-size: 44px; font-size: 14px; font-weight: 800; flex: none; }
.theme-row, .content-grid, .guides-grid, .printable-products { display: flex; gap: 12px; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
:where(.theme-row, .content-grid, .guides-grid, .printable-products)::-webkit-scrollbar { display: none; }
:where(.theme-row, .content-grid, .guides-grid, .printable-products) > * { flex: none; scroll-snap-align: start; }
.th { inline-size: 92px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 700; text-align: center; line-height: 1.2; }
.theme-dot, .dot { inline-size: 56px; block-size: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 800; font-style: normal; }
.theme-icon { display: block; flex: none; inline-size: 56px; block-size: 56px; object-fit: contain; }
.th > .theme-icon, .th > .all-themes-dot { inline-size: 80px; block-size: 80px; }
.all-themes-dot { background: var(--ink); color: #fff; }
.card { display: block; color: inherit; background: #fff; border-radius: 16px; overflow: clip; box-shadow: var(--shadow); }
.card:hover { text-decoration: none; }
.content-card, .guide-card { inline-size: 164px; }
.party-photo { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center; }
.card h3 { font-size: 14px; line-height: 1.3; font-weight: 800; padding: 10px 12px 14px; }
.category { padding: 10px 12px 0; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.category-backdrop { color: #6b21a8; }
.category-food { color: #9a3412; }
.category-welcome { color: #166534; }
.category + h3 { padding-block-start: 4px; }
.placeholder { position: relative; display: flex; align-items: flex-end; padding: 10px; font-size: 12px; font-weight: 700; color: var(--ink); }
.content-card .placeholder { aspect-ratio: 3 / 4; }
.decor-media { position: relative; aspect-ratio: 2 / 3; }
.decor-photo { position: absolute; inset: 0; display: block; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: center; }
.product-badge { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; padding: 4px 8px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 800; }
.printables-groups { display: grid; gap: 24px; }
.printable-group { min-inline-size: 0; }
.printable-heading { display: flex; flex-direction: column; gap: 4px; margin-block-end: 12px; }
.printable-heading > h3 { font-size: 18px; line-height: 1.3; font-weight: 800; }
.printable-description { min-inline-size: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.printable-products { list-style: none; margin-block: 0; padding-block: 6px; scroll-padding-inline: 16px; }
.printable-products > li { min-inline-size: 0; }
.printable-product-card { inline-size: 164px; block-size: 100%; }
.printable-photo { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 1; object-fit: contain; background: #fff; }
.printable-title { padding: 10px 12px 14px; font-size: 14px; line-height: 1.3; font-weight: 800; overflow-wrap: anywhere; }
.guide-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.guide-type { display: block; border-radius: 16px; padding: 14px; }
.guide-type h3 { font-size: 16px; line-height: 1.25; font-weight: 800; }
.guide-type p { font-size: 13px; line-height: 1.4; margin-block-start: 4px; color: var(--ink); }
.guides-grid { margin-block-start: 12px; }
.guide-photo { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: center; }
.guide-card .category { color: #166534; }
.help-area { display: grid; gap: 10px; padding: 24px 16px 0; scroll-margin-block-start: 80px; }
.help-card { position: relative; border-radius: 16px; padding: 16px 50px 16px 16px; }
.help-card h3 { font-size: 17px; }
.help-card p { font-size: 14px; margin-block-start: 2px; }
.custom-designs { background: var(--pale-blue); }
.ready-made { background: var(--ink); color: #fff; }
.help-action { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding: 16px; color: inherit; }
.help-action .mobile-copy { display: flex; }
.why-panel { display: none; }
.newsletter { background: var(--yellow); padding: 24px 16px; margin: 18px -16px 0; }
.newsletter h2 { font-size: 20px; font-weight: 800; }
.newsletter p { font-size: 14px; line-height: 1.45; margin-block: 4px 14px; }
.newsletter input { inline-size: 100%; min-block-size: 48px; border: 1px solid var(--border); border-radius: 999px; padding-inline: 16px; margin-block-end: 10px; }
.newsletter .btn { inline-size: 100%; }
.site-footer { background: var(--ink); color: #fff; padding: 28px 16px; }
.footer-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.site-footer a { display: block; color: #fff; padding-block: 10px; font-size: 14px; }
.footer-groups h2 { font-size: 14px; color: #ffd44d; }
.site-footer .desktop-copy { display: none; }
.photo-credits { font-size: 12px; font-weight: 700; line-height: 1.5; color: #ffd44d; margin-block-start: 20px; }
.footer-connect { display: grid; gap: 24px; margin-block-start: 24px; padding-block-start: 24px; border-block-start: 1px solid #ffffff33; }
.footer-social h2 { font-size: 14px; font-weight: 800; color: #ffd44d; margin-block-end: 12px; }
.footer-social-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.site-footer .footer-social-link { display: inline-flex; align-items: center; justify-content: center; min-inline-size: 44px; min-block-size: 44px; padding: 11px; border: 1px solid #ffffff40; border-radius: 50%; background: var(--social-color); color: #fff; }
.footer-social-link svg { inline-size: 20px; block-size: 20px; flex: none; fill: currentColor; }
.footer-social-link[data-network="pinterest"] { --social-color: #ea575a; }
.footer-social-link[data-network="instagram"] { --social-color: #ed1376; }
.footer-social-link[data-network="facebook"] { --social-color: #557dbc; }
.footer-social-link[data-network="youtube"] { --social-color: #ff0000; }
.footer-social-link[data-network="twitter"] { --social-color: #000; }
.footer-social-link[data-network="whatsapp"] { --social-color: #5bba67; }
.footer-social-link:hover { outline: 2px solid #fff; outline-offset: 2px; }
.site-footer a:focus-visible { outline: 3px solid #ffd44d; outline-offset: 3px; }
.footer-contact { font-style: normal; font-size: 14px; line-height: 1.6; }
.site-footer .footer-phone { display: inline-flex; align-items: center; min-block-size: 44px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.legal-copy { max-inline-size: 960px; font-size: 13px; line-height: 1.6; color: var(--border); margin-block-start: 24px; }
.legal-copy strong { color: #fff; }
.footer-ownership { display: grid; gap: 4px; font-size: 12px; line-height: 1.6; color: var(--border); margin-block-start: 20px; }
.bottom-nav { position: sticky; inset-block-end: 0; z-index: 5; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-block-start: 1px solid #e3e8f2; padding-block-end: env(safe-area-inset-bottom, 0px); }
.bn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-block-size: 60px; font-size: 12px; font-weight: 800; color: var(--muted); }
.bn:hover { text-decoration: none; }

/* Shared theme directory labels and the mobile browse sheets. */
.theme-subheading { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-block: 10px 8px; }
.lt { position: sticky; inset-block-start: 0; background: #fff; padding: 10px 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .05em; color: var(--muted); }
.browse-dialog { box-sizing: border-box; inset: auto 0 0; inline-size: 100%; max-inline-size: 100%; max-block-size: calc(100dvh - 24px); margin: 0; padding: 0; border: 0; border-radius: 24px 24px 0 0; overflow: hidden; background: #fff; color: var(--ink); }
.browse-dialog[open] { display: flex; flex-direction: column; }
.browse-dialog:modal { overscroll-behavior: contain; }
.browse-dialog::backdrop { background: rgb(20 33 61 / .6); overflow: hidden; overscroll-behavior: contain; }
.sheet-handle { inline-size: 40px; block-size: 4px; border-radius: 2px; background: var(--border); margin: 8px auto 0; flex: none; }
.sheet-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px 8px 20px; flex: none; }
.sheet-header h1 { font-size: 20px; font-weight: 800; line-height: 1.2; }
.sheet-header form { flex: none; }
.sheet-description { font-size: 13px; line-height: 1.45; margin-block-start: 2px; color: var(--muted); }
.sheet-search { padding: 4px 16px 8px; flex: none; }
.sheet-search input { inline-size: 100%; min-block-size: 48px; border: 1px solid var(--border); border-radius: 12px; padding-inline: 14px; font-size: 16px; }
.sheet-scroll, .sheet-options { min-block-size: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px max(16px, env(safe-area-inset-bottom, 0px)); }
.sheet-popular { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-pill { display: inline-flex; align-items: center; gap: 6px; min-block-size: 68px; padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--ink); font-size: 15px; font-weight: 700; }
.sheet-popular + .theme-subheading { margin-block-start: 18px; }
.sheet-alphabet { display: flex; gap: 6px; overflow-x: auto; padding: 4px 4px 8px; }
.sheet-letter { flex: none; min-inline-size: 44px; min-block-size: 44px; border: 0; border-radius: 12px; background: #eef1f7; color: var(--ink); font-size: 15px; font-weight: 800; }
.sheet-link { display: flex; align-items: center; gap: 8px; min-block-size: 48px; padding-block: 8px; border-block-end: 1px solid #eef1f7; color: var(--ink); font-size: 16px; font-weight: 700; }
.sheet-link::after { content: ""; flex: none; inline-size: 8px; block-size: 8px; margin-inline: auto 6px; border-block-start: 2px solid; border-inline-end: 2px solid; transform: rotate(45deg); }
.sheet-theme-list .sheet-link { min-block-size: 72px; }
.sheet-link:hover, .sheet-pill:hover { background: var(--hero); text-decoration: none; }
.browse-dialog .theme-empty { margin-block: 12px; color: var(--muted); font-size: 14px; }
@media (width < 1200px) {
  .nav-mega .mega-heading { margin-inline-start: 6px; }
  .nav-mega .mega-link-description { display: none; }
  .nav-mega .mega-customization a { display: flex; align-items: flex-start; gap: 12px; }
  .mega-customization-icon { display: block; margin-block-start: 2px; color: var(--blue); }
  .mega-featured { display: none; }
  .mega-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .nav-mega .mega-products a { display: flex; align-items: center; block-size: 100%; border-radius: 8px; }
  .theme-row > :nth-child(n + 11 of .theme-link) { display: none; }
}

@media (width < 768px) {
  /* Align snap positions with the existing gutters instead of scrolling them away. */
  .theme-row, #parties .content-grid, #decor .content-grid { scroll-padding-inline: 16px; }
  #parties .content-grid > :nth-child(n + 6) { display: none; }
}

/* Unspecified intermediate widths keep the same content and design language. */
@media (768px <= width < 1200px) {
  .content-grid, .guides-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 0; padding-inline: 0; overflow: visible; }
  #parties .content-grid > :nth-child(n + 5) { display: none; }
  .content-card, .guide-card { inline-size: auto; }
  .guide-types { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .mobile-copy, .site-footer .mobile-copy, .menu-trigger, .mobile-browse, .popular-section, .bottom-nav { display: none; }
  .desktop-copy { display: initial; }
  .site-footer .desktop-copy { display: block; }
  .site-footer a > .desktop-copy { display: inline; }
  .header-inner { gap: 28px; padding-inline: 40px; }
  :is(.js-navigation .site-header, .site-header[data-navigation-ready]) .header-inner { block-size: 72px; }
  :is(.js-navigation .site-header, .site-header[data-navigation-ready]) .menu-trigger { display: none; }
  .logo { font-size: 28px; }
  :is(.js-navigation .site-header, .site-header[data-navigation-ready]) .primary-nav, .site-header[data-navigation-ready] .primary-nav.is-open { display: block; position: static; max-block-size: none; overflow: visible; padding: 0; border: 0; box-shadow: none; }
  :is(.js-navigation .site-header, .site-header[data-navigation-ready]) .nav-list { display: flex; align-items: center; gap: 20px; }
  :is(.js-navigation .site-header, .site-header[data-navigation-ready]) .nav-entry { flex-wrap: nowrap; }
  .nav-entry > a { padding-inline: 10px 4px; font-size: 17px; white-space: nowrap; }
  .nav-toggle { font-size: 17px; }
  .nav-entry > a + .nav-toggle { min-inline-size: 28px; padding-inline: 4px; }
  .nav-submenu a { font-size: 15px; }
  .header-search { display: flex; flex: 1; min-inline-size: 0; max-inline-size: 720px; margin-inline-start: auto; }
  .header-search input { inline-size: 100%; padding-inline: 20px; }
  .header-search .search-submit { display: none; }
  .account-link { display: inline-flex; white-space: nowrap; flex: none; }
  .btn { min-block-size: 48px; padding-inline: 24px; }
  .cart-link { display: flex; gap: 6px; inline-size: auto; block-size: auto; font-weight: 700; flex: none; }
  .page-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-areas: "browse main" "help help"; gap: 0 32px; padding: 28px 40px 56px; align-items: start; }
  .page-layout > main { grid-area: main; }
  .page-layout > .theme-directory { padding: 0; }
  /* Bound the sticky sidebar to the main content row, above the full-width help area. */
  .browse-column { grid-area: browse; display: block; align-self: stretch; min-inline-size: 0; }
  .browse-rail { position: sticky; inset-block-start: 112px; display: grid; gap: 16px; align-content: start; max-block-size: calc(100dvh - 128px); overflow-y: auto; }
  .panel { background: #fff; border-radius: 20px; padding: 20px; box-shadow: var(--shadow); }
  .panel :is(h2, h3) { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-block-end: 8px; }
  .tl { display: flex; align-items: center; gap: 8px; min-block-size: 40px; color: var(--ink); font-weight: 700; font-size: 14px; }
  .tl:hover { color: var(--blue); text-decoration: none; }
  .chip { display: inline-flex; align-items: center; min-block-size: 40px; padding-inline: 16px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-weight: 700; }
  .chip:hover { border-color: var(--blue); text-decoration: none; }
  .theme-heading { display: flex; align-items: baseline; justify-content: space-between; }
  .theme-heading .sub { font-size: 13px; font-weight: 700; }
  .theme-search-form { margin-block-end: 12px; }
  .theme-search-form input { inline-size: 100%; min-block-size: 44px; border: 1px solid var(--border); border-radius: 12px; padding-inline: 14px; }
  .theme-empty { margin: 12px 6px; font-size: 14px; color: var(--muted); }
  .panel .theme-subheading { font-size: 12px; margin-block-start: 0; }
  .popular-theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; }
  .popular-theme-grid .tl { min-block-size: 72px; padding: 8px 6px; border-radius: 8px; }
  .popular-theme-grid .tl:hover { background: var(--hero); }
  .popular-theme-grid + .theme-subheading { margin-block-start: 14px; }
  .az { max-block-size: 280px; overflow-y: auto; border-block-start: 1px solid #e3e8f2; }
  .tx, .all-themes-link { display: block; padding: 9px 6px; font-weight: 700; font-size: 14px; color: var(--ink); }
  .tx { display: flex; align-items: center; gap: 8px; min-block-size: 72px; padding-block: 8px; }
  .all-themes-link { color: var(--blue); font-weight: 800; }
  .tx:hover { background: var(--hero); text-decoration: none; }
  .az .lt { padding: 6px 6px 2px; letter-spacing: normal; }
  main, #home-content { display: grid; gap: 40px; }
  .hero { border-radius: 24px; padding: 28px 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 20px 32px; }
  .hero-heading { min-inline-size: 0; grid-column: 1; grid-row: 1; }
  .hero-body { display: none; }
  .eyebrow { display: block; font-size: 14px; font-weight: 800; color: var(--blue); letter-spacing: .04em; text-transform: uppercase; }
  .hero h1 { font-size: 2rem; line-height: 1.15; margin-block: 8px 0; }
  .search-submit .mobile-copy { display: none; }
  .hero-browse { display: grid; grid-column: 2; grid-row: 1; gap: 12px; min-inline-size: 0; }
  .hero-browse h2 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
  .hero-filter-row { display: grid; gap: 12px; }
  .hero-browse-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-inline-size: 0; }
  .hero-filter-options { display: flex; flex-wrap: wrap; flex-wrap: balance; gap: 8px; }
  .hero-filter-options .chip { min-block-size: 44px; font-size: 14px; }
  .content-section { padding: 0; scroll-margin-block-start: 100px; }
  .section-heading { align-items: baseline; margin-block-end: 16px; }
  .section-heading h2, .help-heading { font-size: 30px; }
  .section-description { display: block; line-height: 1.5; }
  .view-all { min-block-size: 0; font-size: 16px; }
  .content-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; overflow: visible; margin: 0; padding: 0; }
  .content-grid > :nth-child(n + 5) { display: none; }
  /* Keep Real Parties at two rows. */
  #parties .content-grid > :nth-child(-n + 8) { display: block; }
  .content-card, .guide-card { inline-size: auto; min-inline-size: 0; }
  .card:hover { box-shadow: 0 10px 28px #14213d33; }
  .card h3 { font-size: 17px; padding: 14px 16px 6px; }
  .placeholder { padding: 12px; font-size: 13px; }
  .product-badge { inset-block-start: 10px; inset-inline-start: 10px; padding: 4px 10px; font-size: 12px; }
  .category { padding: 12px 16px 0; }
  .category + h3 { padding-block-start: 4px; }
  .printables-groups { gap: 32px; }
  .printable-heading { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-block-end: 16px; }
  .printable-heading > h3 { font-size: 20px; }
  .printable-description { flex: 1 1 20rem; font-size: 15px; }
  .printable-products { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; overflow: visible; margin: 0; padding: 0; }
  .printable-products > :nth-child(n + 9) { display: none; }
  .printable-product-card { inline-size: auto; min-inline-size: 0; }
  .printable-title { padding: 14px 16px 16px; font-size: 17px; }
  /* Keep long product names within the compact homepage cards. */
  .printable-products .printable-title { margin-block: 8px 10px; margin-inline: 8px; padding: 0; font-size: 13px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: clip; }
  .guide-types { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .guide-type { padding: 18px 20px; color: var(--ink); }
  .guide-type h3 { font-size: 18px; line-height: 1.3; }
  .guide-type p { font-size: 14px; line-height: 1.5; }
  .guides-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; overflow: visible; margin: 24px 0 0; padding: 0; }
  .guide-card { display: flex; align-items: flex-start; }
  .guide-card .guide-photo { flex: none; inline-size: 140px; }
  .guide-body { align-self: center; min-inline-size: 0; padding: 16px 20px; }
  .guide-card .category { padding: 0; }
  .guide-card h3 { padding: 4px 0 0; font-size: 18px; }
  .help-area { grid-area: help; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 28px 0 0; }
  .help-heading { grid-column: 1 / -1; }
  .help-card { position: static; border-radius: 20px; padding: 20px; }
  .help-card h3 { font-size: 19px; }
  .help-card p { margin-block: 4px 6px; }
  .help-action { display: inline; position: static; padding: 0; color: var(--blue); font-weight: 800; }
  .ready-made .help-action { color: #ffd44d; }
  .help-action .mobile-copy { display: none; }
  .why-panel { display: block; }
  .why-panel p { color: var(--muted); font-size: 15px; line-height: 1.5; }
  .newsletter { border-radius: 20px; padding: 20px; margin: 0; box-shadow: var(--shadow); }
  .newsletter h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-block-end: 8px; }
  .newsletter p { line-height: 1.5; margin-block: 0 12px; }
  .newsletter input { padding-inline: 18px; }
  .site-footer { padding: 48px 40px 32px; }
  .footer-groups { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .site-footer a { padding-block: 5px; }
  .footer-groups h2 { margin-block-end: 6px; }
  .footer-connect { grid-template-columns: minmax(0, 1fr) auto; align-items: start; margin-block-start: 32px; }
  .footer-contact { text-align: end; }
}

/* Keep the five navigation entries and search usable on narrower desktops. */
@media (1200px <= width < 1440px) {
  .header-inner { gap: 16px; }
  :is(.js-navigation .site-header, .site-header[data-navigation-ready]) .nav-list { gap: 12px; }
}

/* The middle desktop layout gives the hero and content the full page width. */
@media (1200px <= width < 1920px) {
  .page-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "help"; }
  .browse-column { display: none; }
  .popular-section { display: block; min-inline-size: 0; container: popular-themes / inline-size; }
  .popular-section .section-heading { align-items: center; margin-block-end: 6px; }
  .popular-section .theme-row { margin-inline: 0; padding: 6px 0; overflow: visible; scroll-snap-type: none; }
  /* Nine themes plus All fit at 1200px. Reveal more only when a complete slot fits.
     N themes + All need (N + 1) * 92px + N * 12px; All is never counted as a theme. */
  .popular-section .theme-row > :nth-child(n + 10 of .theme-link) { display: none; }
  @container popular-themes (min-width: 1132px) {
    .popular-section .theme-row > :nth-child(10 of .theme-link) { display: flex; }
  }
  @container popular-themes (min-width: 1236px) {
    .popular-section .theme-row > :nth-child(11 of .theme-link) { display: flex; }
  }
  @container popular-themes (min-width: 1340px) {
    .popular-section .theme-row > :nth-child(12 of .theme-link) { display: flex; }
  }
  @container popular-themes (min-width: 1444px) {
    .popular-section .theme-row > :nth-child(13 of .theme-link) { display: flex; }
  }
  @container popular-themes (min-width: 1548px) {
    .popular-section .theme-row > :nth-child(14 of .theme-link) { display: flex; }
  }
  @container popular-themes (min-width: 1652px) {
    .popular-section .theme-row > :nth-child(15 of .theme-link) { display: flex; }
  }
  @container popular-themes (min-width: 1756px) {
    .popular-section .theme-row > :nth-child(16 of .theme-link) { display: flex; }
  }
  :is(#parties, #decor) .content-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  #parties .content-grid > :nth-child(-n + 10), #decor .content-grid > :nth-child(-n + 5) { display: block; }
}

@media (min-width: 1920px) {
  .header-inner { gap: 36px; padding-inline: 56px; }
  :is(.js-navigation .site-header, .site-header[data-navigation-ready]) .header-inner { block-size: 80px; }
  .page-layout { grid-template-columns: 340px minmax(0, 1fr) 360px; grid-template-areas: "browse main help"; gap: 40px; padding: 32px 56px; }
  /* Fill the available viewport while keeping only the theme list scrollable. */
  .browse-rail { display: flex; flex-direction: column; block-size: calc(100dvh - 128px); overflow: visible; }
  .theme-panel { display: flex; flex-direction: column; flex: 1; min-block-size: 0; }
  .theme-panel > :not(.az) { flex-shrink: 0; }
  .theme-panel .az { flex: 1; min-block-size: 0; max-block-size: none; overscroll-behavior: contain; }
  .hero h1 { font-size: 2.75rem; line-height: 1.08; }
  .content-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .content-grid > :nth-child(n + 5) { display: block; }
  #parties .content-grid > :nth-child(n + 11) { display: none; }
  .printable-products { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .printable-products > :nth-child(-n + 10) { display: block; }
  #guides .guides-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  #guides .guides-grid .guide-photo { inline-size: 35%; max-inline-size: 144px; }
  #guides .guides-grid .guide-body { padding: 12px; }
  #guides .guides-grid h3 { font-size: 16px; overflow-wrap: anywhere; }
  .help-area { position: sticky; inset-block-start: 112px; grid-template-columns: 1fr; gap: 16px; align-content: start; max-block-size: calc(100dvh - 128px); overflow-y: auto; padding: 0; }
  .help-heading { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .why-panel { grid-row: 1; }
  .site-footer { padding-inline: 56px; }
}

@media (min-width: 1920px) and (height < 820px) {
  /* Short windows use one scroll area for the whole card so every theme stays reachable. */
  .theme-panel { overflow-y: auto; overscroll-behavior: contain; }
  .theme-panel .az { flex: none; overflow: visible; }
}

/* Theme details share the directory's main track and the homepage's cards. */
.theme-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 24px 16px 48px; }
.theme-detail > .content-section { min-inline-size: 0; padding: 0; }
.theme-intro { grid-area: auto; min-inline-size: 0; }
.theme-intro-copy { margin-block-start: 20px; font-size: 1rem; line-height: 1.7; }
.theme-intro-copy > p + p { margin-block-start: 16px; }
.theme-intro-copy h2 { margin-block: 24px 12px; font-size: 1.25rem; font-weight: 800; line-height: 1.3; }
.theme-directions { display: grid; gap: 8px; margin: 0 0 20px; padding-inline-start: 24px; }
.theme-intro-copy a { text-decoration: underline; text-underline-offset: 3px; }
.theme-detail .section-heading { flex-wrap: wrap; }
.theme-detail .section-heading > div { min-inline-size: 0; }
.theme-detail .section-heading .view-all { margin-inline-start: auto; }
/* The homepage limits card counts; a theme detail exposes its entire selection. */
.theme-detail :is(#parties, #decor) .content-grid > .content-card { display: block; }
.theme-detail .guide-note { padding: 0 12px 14px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.theme-detail-page .primary-nav a[aria-current="true"] { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }

@media (min-width: 768px) {
  .theme-detail { gap: 40px; padding-block: 40px 64px; }
}
@media (min-width: 1200px) {
  .page-layout > .theme-detail { padding: 0; }
  .theme-intro-copy h2 { font-size: 1.875rem; }
  .theme-detail .guide-note { padding: 8px 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (forced-colors: active) {
  .card, .help-card, .guide-type, .panel, .newsletter { border: 1px solid CanvasText; }
  .nav-toggle[aria-expanded="true"] { outline: 2px solid Highlight; }
  .site-footer .footer-social-link { border-color: LinkText; }
  .site-footer a:focus-visible { outline-color: Highlight; }
}
