/* Everafter storefront: warm ivory paper and soft blush, real invitation previews. */
html, body { overflow-x: clip; }
.root { --store-ink: #342a26; --store-paper: #fbf6ee; --store-surface: #f5e9e1; --store-line: #dbc6b8; --store-accent: #765050; --store-accent-hover: #5e3b3b; --store-button-line: #bea49b; }
.root > .nav { position: sticky; top: 0; z-index: 100; overflow: visible; background: #fbf6ee; color: #342a26; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid #e5d8ca; }
.nav .nav-inner { position: relative; min-height: 76px; max-width: 1360px; margin: auto; }
.nav .brand-button { background: none; border: 0; color: inherit; text-align: left; padding: 0; min-width: 0; }
.nav .logo { font-size: 26px; }
.nav .logo-mark, .footer .logo-mark { background: var(--store-accent); color: #fbf6ee; border: none; border-radius: 50% 50% 6px 6px; }
.nav .nav-link { border: 0; background: none; font-family: var(--font-sans); min-height: 44px; font-size: 14px; }
.nav .nav-link.active { color: var(--store-accent); }
.nav .nav-actions > button { min-height: 44px; }
.nav .nav-cta { background: var(--store-accent); color: #fff9f2; border-radius: 8px; font-size: 13px; }
.nav .nav-cta:hover { background: var(--store-accent-hover); }
.nav .nav-secondary { background: #fffaf5; border: 1px solid var(--store-button-line); padding: 9px 16px; border-radius: 8px; font: 500 13px var(--font-sans); color: var(--store-accent); cursor: pointer; }
.nav .nav-secondary:hover { background: #f3e7df; border-color: var(--store-accent); }
.nav-menu-button, .nav-mobile-links { display: none; }
.nav :is(button,a):focus-visible, .storefront-page :is(button,a,summary,[tabindex]):focus-visible, .footer a:focus-visible { outline: 2px solid #b5896e; outline-offset: 4px; }
.storefront-page { background: #fbf6ee; color: #342a26; }
.storefront-page .wrap { overflow: visible; min-width: 0; max-width: 1360px; }
.storefront-page .btn { min-height: 48px; justify-content: center; font: 500 14px/1.4 var(--font-sans); gap: 10px; border-radius: 8px; padding: 12px 22px; letter-spacing: 0; text-transform: none; }
.storefront-page .btn-primary { background: var(--store-accent); color: #fff9f2; border: 1px solid var(--store-accent); box-shadow: 0 2px 4px #562c3410; }
.storefront-page .btn-primary:hover { background: var(--store-accent-hover); border-color: var(--store-accent-hover); }
.storefront-page .btn-ghost { background: #fffaf5; border: 1px solid var(--store-button-line); color: var(--store-accent); }
.storefront-page .btn-ghost:hover { background: #f3e7df; border-color: var(--store-accent); color: var(--store-accent); }
.text-action { background: none; border: none; border-bottom: 1px solid currentColor; color: #342a26; min-height: 44px; font: 500 14px var(--font-sans); cursor: pointer; padding: 8px 0; }
.storefront-page .text-action { color: var(--store-accent); }
.storefront-page .action-arrow { display: inline-block; flex-shrink: 0; font: 400 18px/1 var(--font-sans); text-decoration: none; }
.storefront-page .sc-card-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.hero-how-link, .landing-browse-all { display: inline-flex; align-items: center; gap: 9px; }
/* Reuse the invitation's small, transparent wedding artwork. Static decoration
   stays behind the content: no extra animation, filters or pointer targets. */
.storefront-page { --wedding-arch: url("/wedding-invitations/uploads/builder-templates/Royal Pichwai/assets/event/pn-evt-ico-shaadi-x-v01.webp"); --wedding-flowers: url("/wedding-invitations/uploads/builder-templates/Royal Pichwai/assets/shared/pn-shr-div-floral-corner-top-right-x-v01.webp"); }
.invitation-hero, .landing-designs, .gallery-heading { position: relative; isolation: isolate; overflow: hidden; }
.invitation-hero > .wrap, .landing-designs > .wrap, .gallery-heading > .wrap { position: relative; z-index: 1; }
.invitation-hero::before, .invitation-hero::after, .landing-designs::before, .landing-designs::after, .gallery-heading::after { content: ""; position: absolute; z-index: 0; pointer-events: none; background-repeat: no-repeat; background-size: contain; }
.invitation-hero::before { background-image: var(--wedding-arch); width: 440px; height: 440px; left: -130px; bottom: -115px; opacity: .16; }
.invitation-hero::after { background-image: var(--wedding-flowers); width: 350px; height: 350px; top: -24px; right: -65px; opacity: .20; }
.landing-designs::before { background-image: var(--wedding-flowers); width: 280px; height: 280px; top: -40px; right: -70px; opacity: .16; }
.landing-designs::after { background-image: var(--wedding-arch); width: 400px; height: 400px; bottom: -100px; left: -120px; opacity: .12; }
.gallery-heading::after { background-image: var(--wedding-flowers); width: 260px; height: 260px; top: -50px; right: -35px; opacity: .16; }
/* The invitation itself is the desktop hero; mobile leads straight to the collection. */
.invitation-hero { background: #fbf6ee; color: #342a26; text-align: left; }
.invitation-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; padding-block: 48px 56px !important; }
.invitation-hero-copy { max-width: 660px; margin: 0; }
.hero-intro { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 20px; color: #73523a; }
.invitation-hero h1 { font: 400 clamp(44px, 5.4vw, 76px)/1.04 var(--font-serif); letter-spacing: -.025em; margin: 0 0 26px; }
.invitation-hero h1 em { font-weight: 400; color: var(--store-accent); }
.invitation-hero .hero-description { max-width: 43ch; font-size: 17px; line-height: 1.7; color: #6c5b51; margin: 0 0 28px; }
.hero-actions { display: flex; align-items: center; justify-content: flex-start; gap: 26px; flex-wrap: wrap; }
.hero-how-link { color: #6c5b51; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; padding: 12px 0; }
.hero-price-note { font-size: 12px; line-height: 1.6; margin: 16px 0 0; color: #6c5b51; }
.hero-invitation-showcase { --preview-width: 284px; --preview-scale: .7; --preview-radius: 32px; --preview-height: calc(866px * var(--preview-scale) + 4px); width: var(--preview-width); margin: 0 auto; }
.hero-invitation-showcase figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; color: #6c5b51; font-size: 13px; }
.hero-invitation-showcase figcaption > span { font: 500 25px/1.2 var(--font-serif); color: #342a26; }
.hero-invitation-showcase .text-action { font-size: 12px; border-bottom: 0; text-decoration: underline; text-underline-offset: 4px; }
.hero-invitation-deck { position: relative; height: var(--preview-height); }
.hero-invitation-slide { position: absolute; inset: 0; visibility: hidden; pointer-events: none; }
.hero-invitation-slide.is-current { visibility: visible; pointer-events: auto; animation: hero-invitation-reveal .3s ease-out; }
@keyframes hero-invitation-reveal { from { opacity: .65; } to { opacity: 1; } }
.hero-invitation-controls { display: flex; align-items: center; justify-content: center; gap: 6px; color: #6c5b51; font-size: 12px; }
.hero-invitation-controls button { min-width: 44px; min-height: 44px; padding: 8px; border: 0; background: transparent; color: #6c5b51; font: inherit; cursor: pointer; }
.hero-invitation-controls button:hover { color: #342a26; background: #f5ebe0; border-radius: 6px; }
.hero-invitation-controls .hero-rotation-toggle { margin-left: auto; text-decoration: underline; text-underline-offset: 3px; }
.landing-designs { background: #fbf6ee; }
.landing-page #templates-showcase { display: block; }
.landing-designs > .wrap { width: 100%; }
.landing-section-heading .section-kicker { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #73523a; margin-bottom: 12px; }
/* Sections have space without turning each design into a full screen. */
.landing-page .landing-section, .landing-page #templates-showcase { padding-block: 60px !important; scroll-margin-top: 92px; }
.landing-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.landing-section-heading > div { max-width: 660px; min-width: 0; }
.landing-page h2 { font: 500 clamp(32px, 3.4vw, 46px)/1.12 var(--font-serif); letter-spacing: -.025em; margin: 0 0 16px; }
.landing-page p { line-height: 1.65; }
.landing-section-heading p, .landing-faq-layout > div > p { color: #6c5b51; font-size: 15px; max-width: 60ch; margin: 0; }
.landing-browse-all { flex-shrink: 0; }
.home-design-grid, .storefront-page .showcase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 80px 48px; }
.storefront-page .showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 80px 48px; }
.home-design-card, .storefront-page .showcase-card { --preview-width: 244px; --preview-scale: .6; --preview-radius: 29px; --preview-height: calc(866px * var(--preview-scale) + 4px); display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 0; min-width: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; cursor: default; overflow: visible; }
.storefront-page .showcase-card { --preview-width: 284px; --preview-scale: .7; --preview-radius: 32px; }
.home-design-preview, .storefront-page .sc-phone-stage { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; width: var(--preview-width); height: var(--preview-height); padding: 0; background: transparent; overflow: visible; perspective: none; }
.home-design-preview .tphone, .storefront-page .showcase-card .sc-phone-stage .tphone { width: var(--preview-width); height: var(--preview-height); max-width: none; aspect-ratio: auto; flex: 0 0 var(--preview-width); }
/* A slim, even frame leaves the invitation clear from edge to edge. */
.home-design-preview .tphone-bezel, .storefront-page .showcase-card .sc-phone-stage .tphone-bezel { inset: 0 !important; padding: 0 !important; border-radius: var(--preview-radius) !important; background: #292824 !important; box-shadow: 0 0 0 1px #b6aea1, 0 3px 8px #342a2614 !important; }
.home-design-preview .tphone-screen, .storefront-page .showcase-card .sc-phone-stage .tphone-screen { inset: 2px !important; border-radius: calc(var(--preview-radius) - 2px) !important; box-shadow: none !important; }
.storefront-page .home-design-preview .tphone-bezel::after, .storefront-page .sc-phone-stage .tphone-bezel::after { content: ""; display: block !important; position: absolute; z-index: 5; width: 20%; height: 2.3%; max-height: 12px; top: 1.8%; left: 40%; transform: none; border-radius: 20px; background: #141414; box-shadow: 0 0 0 1px #ffffff14; pointer-events: none; }
.storefront-page .tphone-btn, .storefront-page .tphone-screen::after { display: none !important; }
.home-design-preview .tphone-live-frame, .storefront-page .showcase-card .sc-phone-stage .tphone-live-frame { inset: 0 auto auto 0 !important; width: 400px !important; height: 866px !important; max-width: none; transform: scale(var(--preview-scale)); transform-origin: top left; }
.home-design-details, .storefront-page .sc-meta { display: flex; flex-direction: column; justify-content: flex-start; flex: 1; width: 100%; max-width: var(--preview-width); min-width: 0; padding: 0; gap: 0; }
.home-design-title h3, .storefront-page .sc-title { font: 500 30px/1.15 var(--font-serif); color: #342a26; margin: 0 0 12px; font-style: normal; }
.home-design-price, .storefront-page .sc-price-now { font-size: 21px; font-weight: 600; color: #342a26; }
.home-design-price small, .storefront-page .sc-price-note { display: block; font-size: 11px; font-weight: 400; color: #6c5b51; margin-top: 4px; }
.home-design-details > p, .storefront-page .sc-desc { font-size: 14px; line-height: 1.6; color: #6c5b51; margin: 14px 0 18px; min-height: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.home-design-actions, .storefront-page .sc-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; }
.home-design-actions .btn, .storefront-page .sc-card-actions button { padding: 11px 8px; min-height: 46px; min-width: 0; margin: 0; font: 500 13px/1.4 var(--font-sans); border-radius: 8px; text-transform: none; letter-spacing: 0; }
.storefront-page .sc-card-actions .sc-cta-btn { background: var(--store-accent); color: #fff9f2; border: 1px solid var(--store-accent); order: -1; box-shadow: 0 2px 4px #562c3410; }
.storefront-page .sc-card-actions .sc-cta-btn:hover { background: var(--store-accent-hover); border-color: var(--store-accent-hover); color: #fff9f2; }
.storefront-page .sc-card-actions .sc-secondary-btn { color: var(--store-accent); border: 1px solid var(--store-button-line); background: #fffaf5; text-decoration: none; }
.storefront-page .sc-card-actions .sc-secondary-btn:hover { background: #f3e7df; color: var(--store-accent); border-color: var(--store-accent); }
.storefront-page .sc-price { display: block; margin: 0 0 18px; }
.storefront-page .sc-meta .sc-title { order: 0; }
.storefront-page .sc-meta .sc-price { order: 1; }
.storefront-page .sc-meta .sc-desc { order: 2; margin: 0 0 18px; }
.storefront-page .sc-meta .sc-card-actions { order: 3; }
.landing-collection-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 56px; padding: 28px 32px; background: #f5e9e1; border-radius: 12px; }
.landing-collection-cta p { color: #6c5b51; font-size: 14px; margin: 0; }
.landing-collection-cta .collection-cta-title { font: 500 30px/1.2 var(--font-serif); color: #765050; margin-bottom: 8px; }
.landing-collection-cta .btn { flex-shrink: 0; }
.landing-how { background: var(--store-paper); color: var(--store-ink); border-top: 1px solid var(--store-line); }
.landing-how .landing-section-heading p, .landing-how .landing-steps p { color: #6c5b51; }
.landing-how .landing-step-number { color: var(--store-accent); border-color: var(--store-button-line); background: var(--store-surface); }
.landing-how .landing-section-heading > div { max-width: 760px; }
.landing-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; list-style: none; padding: 0; margin: 0; }
.landing-step-number { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #cdbba9; border-radius: 50%; margin-bottom: 22px; font: 500 23px var(--font-serif); color: #342a26; }
.landing-steps h3 { font: 500 26px/1.2 var(--font-serif); margin: 0 0 12px; }
.landing-steps p { margin: 0; font-size: 14px; line-height: 1.7; color: #6c5b51; }
.landing-faq { border-top: 1px solid var(--store-line); background: var(--store-paper); }
.landing-faq-layout { display: grid; grid-template-columns: .9fr 1.2fr; gap: 64px; }
.landing-questions details { border-bottom: 1px solid #dbc6b8; }
.landing-questions summary { display: flex; justify-content: space-between; gap: 24px; align-items: center; list-style: none; padding: 19px 0; min-height: 56px; font-size: 15px; font-weight: 500; cursor: pointer; }
.landing-questions summary::-webkit-details-marker { display: none; }
.landing-questions summary span { font-size: 24px; font-weight: 400; color: var(--store-accent); transition: transform .2s ease; }
.landing-questions details[open] summary span { transform: rotate(45deg); }
.landing-questions details p { color: #6c5b51; font-size: 14px; line-height: 1.7; margin: 0 0 22px; }
/* Large real first pages lead the collection. Visible cards animate; nearby ones stay warm. */
.gallery-page .gallery-heading { padding: 56px 0 24px; background: #fbf6ee; }
.gallery-page .gallery-heading h1 { font: 500 clamp(34px,4vw,52px)/1.08 var(--font-serif); letter-spacing: -.025em; color: #342a26; max-width: 680px; margin: 0 auto 18px; }
.gallery-page .gallery-heading p { font-size: 15px; line-height: 1.7; max-width: 54ch; margin: 0 auto; color: #6c5b51; }
.gallery-page .gallery-cards-section { padding: 28px 0 72px; background: #fbf6ee; }
.gallery-page .template-category-wrap { display: block; margin: 0 0 24px; }
.storefront-page .template-category-scroll { display: flex; justify-content: center; flex-wrap: wrap; overflow: visible; gap: 8px; }
.storefront-page .template-category-pill { min-height: 44px; padding: 10px 20px; border: 1px solid #dfd0be; border-radius: 99px; background: #fbf6ee; color: #342a26; font: 500 13px var(--font-sans); text-transform: none; letter-spacing: 0; cursor: pointer; }
.storefront-page .template-category-pill.is-active { background: var(--store-accent); color: #fff9f2; border-color: var(--store-accent); }
.storefront-page .template-category-note { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 16px; font-size: 12px; line-height: 1.6; color: #6c5b51; }
.storefront-page .template-category-note span::before { content: "·"; margin-right: 10px; }
.collection-count { font-size: 12px; color: #6c5b51; margin: 24px 0 18px; }
.footer { border-top: 1px solid #e5d8ca; background: #fbf6ee; color: #6c5b51; }
.footer .footer-col span { color: #6c5b51; }
.footer .footer-col a { display: inline-flex; align-items: center; min-height: 40px; }
.public-invite-state { --bg: #fbf6ee; --ink: #342a26; --ink-soft: #6c5b51; --accent: #342a26; --font-serif: 'Cormorant Garamond', Georgia, serif; --font-sans: 'Inter Tight', sans-serif; min-height: 100dvh; display: grid; place-items: center; padding: 28px; background: #fbf6ee; color: #342a26; text-align: center; font-family: var(--font-sans); }
.public-invite-state > div { width: min(100%, 480px); }
.public-invite-state h1 { font-size: 38px; line-height: 1.1; font-weight: 500; margin: 32px 0 18px; }
.public-invite-state p { line-height: 1.7; color: #6c5b51; font-size: 15px; margin: 0 0 28px; }
.public-invite-state .btn { min-height: 48px; border-radius: 6px; background: #342a26; color: #fbf6ee; }
.public-invite-state .btn:focus-visible { outline: 2px solid #342a26; outline-offset: 4px; }
/* Keep navigation and scrolling cheap to paint. */
.storefront-page.fade-in, .storefront-page .showcase-card, .storefront-page .tphone { animation: none !important; transition: none !important; will-change: auto !important; }
.storefront-page .tphone, .storefront-page .showcase-card .sc-phone-stage .tphone { animation: none !important; filter: none !important; transform: none !important; }
.storefront-page .tphone-shadow, .storefront-page .showcase-card .sc-phone-stage .tphone-shadow { display: none !important; }
.storefront-page .showcase-card::before, .storefront-page .showcase-card::after, .storefront-page .sc-phone-stage::before { display: none; }
.storefront-page .tphone-bezel, .storefront-page .tphone-screen { will-change: auto; transform: none; }
.storefront-page .showcase-card:hover { box-shadow: none !important; border-color: #cdbba9 !important; }
.storefront-page .showcase-card { scroll-margin-top: 94px; }
@media (min-width: 1100px) and (max-width: 1279px) {
  .home-design-grid { column-gap: 40px; }
  .home-design-card { --preview-width: 224px; --preview-scale: .55; --preview-radius: 27px; }
  .storefront-page .showcase-card { --preview-width: 264px; --preview-scale: .65; --preview-radius: 30px; }
}
@media (max-width: 1099px) {
  .home-design-grid, .storefront-page .showcase-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-design-grid { column-gap: 64px; }
  .home-design-card, .storefront-page .showcase-card { --preview-width: 264px; --preview-scale: .65; --preview-radius: 30px; }
  .invitation-hero-grid { gap: 32px; }
  .hero-invitation-showcase { --preview-width: 264px; --preview-scale: .65; --preview-radius: 30px; }
  .landing-section-heading { align-items: flex-start; }
  .landing-section-heading > div { max-width: 65%; }
}
@media (max-width: 860px) {
  .invitation-hero { text-align: center; }
  .invitation-hero-grid { display: block; }
  .invitation-hero-copy { max-width: 700px; margin-inline: auto; }
  .invitation-hero .hero-description { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-invitation-showcase { display: none; }
  .landing-faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .storefront-page .showcase-grid { grid-template-columns: minmax(0,1fr); }
  .storefront-page .showcase-grid { gap: 32px; }
  .storefront-page .showcase-card { --preview-width: 164px; --preview-scale: .4; --preview-radius: 22px; display: grid; grid-template-columns: var(--preview-width) minmax(0,1fr); align-items: center; gap: 24px; padding: 22px; border: 1px solid #e5d8ca; border-radius: 12px; background: var(--store-surface); overflow: hidden; min-height: 0; }
  .storefront-page .sc-meta { max-width: none; justify-content: center; }
  .home-design-actions { grid-template-columns: 1fr 1fr; }
  .landing-steps { gap: 24px; }
}
@media (max-width: 700px) {
  .invitation-hero::before { width: 240px; height: 240px; left: -110px; bottom: -75px; opacity: .12; }
  .invitation-hero::after { width: 200px; height: 200px; right: -75px; opacity: .14; }
  .landing-designs::before { width: 200px; height: 200px; right: -80px; opacity: .12; }
  .landing-designs::after { width: 260px; height: 260px; left: -110px; opacity: .10; }
  .gallery-heading::after { width: 180px; height: 180px; right: -60px; opacity: .12; }
  .storefront-page .wrap { padding-inline: 16px; }
  .invitation-hero-grid { padding-block: 42px 38px !important; }
  .hero-intro { font-size: 10px; margin-bottom: 16px; }
  .invitation-hero h1 { font-size: clamp(39px,10.5vw,58px); margin-bottom: 20px; }
  .invitation-hero .hero-description { font-size: 15px; line-height: 1.65; margin-bottom: 22px; }
  .hero-actions { gap: 22px; }
  .hero-actions .btn { padding-inline: 18px; }
  .hero-price-note { font-size: 11px; }
  .landing-page .landing-section, .landing-page #templates-showcase { padding-block: 40px !important; }
  .landing-page h2 { font-size: 33px; }
  .landing-section-heading { flex-direction: column; gap: 20px; margin-bottom: 24px; }
  .landing-section-heading > div { max-width: 100%; }
  .landing-browse-all { align-self: flex-start; }
  .storefront-page .showcase-grid { gap: 28px; }
  .storefront-page .showcase-card { --preview-width: 132px; --preview-scale: .32; --preview-radius: 19px; display: grid !important; grid-template-columns: var(--preview-width) minmax(0,1fr) !important; gap: 18px !important; padding: 18px 14px !important; min-height: 0 !important; border-radius: 12px !important; background: var(--store-surface) !important; border-color: var(--store-line) !important; }
  .storefront-page .showcase-card .sc-phone-stage { width: var(--preview-width) !important; height: var(--preview-height) !important; padding: 0 !important; background: transparent !important; }
  .storefront-page .showcase-card .sc-phone-stage .tphone { width: var(--preview-width) !important; height: var(--preview-height) !important; max-width: var(--preview-width) !important; flex-basis: var(--preview-width); aspect-ratio: auto !important; }
  .storefront-page .showcase-card .sc-title { font-size: 26px !important; line-height: 1.12 !important; font-style: normal; margin-bottom: 12px; }
  .storefront-page .sc-price-now { font-size: 20px !important; }
  .storefront-page .sc-price-note { font-size: 11px; line-height: 1.5; }
  .storefront-page .showcase-card .sc-desc { font-size: 13px !important; line-height: 1.5 !important; margin: 14px 0 18px; -webkit-line-clamp: 2; }
  .storefront-page .showcase-card .sc-meta { gap: 0 !important; }
  .storefront-page .sc-price { margin: 0 0 10px; }
  .storefront-page .showcase-card .sc-card-actions { display: grid !important; grid-template-columns: 1fr; gap: 10px; margin-top: 0 !important; }
  .storefront-page .showcase-card .sc-card-actions button { min-height: 46px; font-size: 14px; letter-spacing: 0; text-transform: none; border-radius: 8px; }
  .storefront-page .showcase-card .sc-cta-btn { order: -1; }
  .landing-collection-cta { margin-top: 24px; }
  .landing-steps { grid-template-columns: 1fr; gap: 30px; }
  .landing-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 18px; }
  .landing-step-number { margin: 0; }
  .landing-steps h3 { font-size: 25px; }
  .gallery-page .gallery-heading { padding: 36px 0 28px; }
  .gallery-page .gallery-heading h1 { font-size: 37px; }
  .gallery-page .gallery-cards-section { padding-top: 24px; }
  .storefront-page .template-category-pill { padding-inline: 16px; }
  .footer { padding: 36px 0 24px; }
  .footer .wrap { padding-inline: 20px; }
  .footer .footer-inner { align-items: flex-start; gap: 28px; }
  .footer .footer-cols { gap: 36px; flex-wrap: wrap; }
  .footer .footer-col a { min-height: 44px; }
}
@media (max-width: 640px) {
  .nav .nav-inner { gap: 12px; padding: 10px 16px !important; min-height: 70px; }
  .nav .brand-button { font-size: 22px; gap: 8px; flex-shrink: 1; }
  .nav .brand-button > span:last-child { min-width: 0; }
  .nav .nav-actions { gap: 8px !important; }
  .nav .nav-actions .nav-cta { display: none; }
  .nav--marketing .nav-actions > button:not([data-auth-action]):not(.nav-menu-button) { display: none; }
  .nav .nav-menu-button { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 1px solid #dfd0be; border-radius: 6px; background: transparent; color: #342a26; cursor: pointer; }
  .nav-mobile-links { display: grid; padding: 8px 16px 16px; gap: 4px; border-top: 1px solid #e5d8ca; background: #fbf6ee; }
  .nav-mobile-links button { min-height: 46px; padding: 12px 10px; text-align: left; font: 500 15px var(--font-sans); border: 0; border-radius: 4px; background: transparent; color: #342a26; cursor: pointer; }
  .nav-mobile-links button:is(:hover,[aria-current="page"]) { background: #f5ebe0; }
  .nav--app .nav-inner > div:first-child { gap: 0 !important; min-width: 0; }
  .nav--app .nav-inner > div:first-child > div:empty { display: none; }
}
@media (max-width: 380px) {
  .storefront-page .wrap { padding-inline: 12px; }
  .hero-actions { gap: 14px; }
  .hero-actions .btn { font-size: 13px; padding-inline: 14px; }
  .hero-how-link { font-size: 13px; }
  .storefront-page .showcase-card { --preview-width: 112px; --preview-scale: .27; --preview-radius: 17px; gap: 12px !important; padding: 16px 12px !important; }
  .storefront-page .showcase-card .sc-title { font-size: 24px !important; }
}
/* On scroll the blush header slides out of the way and returns on an upward
   gesture. Focus and open menus always keep navigation reachable. */
.root > .nav--marketing { transition: background-color .24s ease, color .24s ease, transform .24s ease; }
.root > .nav--marketing.is-scrolled { background: #f1e3d8; color: var(--store-ink); border-bottom-color: #dbc6b8; box-shadow: 0 3px 12px #69483412; }
.root > .nav--marketing.is-hidden:not(:focus-within) { transform: translateY(-105%); }
.nav--marketing.is-scrolled .nav-link { color: #6c5b51; }
.nav--marketing.is-scrolled .nav-link:is(:hover,.active), .nav--marketing.is-scrolled .nav-menu-button { color: var(--store-accent); }
.nav--marketing.is-scrolled .nav-link.active::after { background: var(--store-accent); }
.nav--marketing.is-scrolled .logo-mark { color: var(--store-paper); background: var(--store-accent); }
.nav--marketing.is-scrolled .nav-cta { background: var(--store-accent); color: #fff9f2; }
.nav--marketing.is-scrolled .nav-cta:hover { background: var(--store-accent-hover); }
.nav--marketing.is-scrolled .nav-secondary, .nav--marketing.is-scrolled .nav-menu-button { background: #fbf6ee; color: var(--store-accent); border-color: var(--store-button-line); }
.nav--marketing.is-scrolled .nav-secondary:hover { background: #f5e9e1; }
.nav--marketing.is-scrolled .nav-profile-trigger { background: #fbf6ee; color: var(--store-accent); border-color: var(--store-button-line); }
.nav--marketing.is-scrolled .nav-mobile-links { background: #f1e3d8; border-color: #dbc6b8; }
.nav--marketing.is-scrolled .nav-mobile-links button { color: var(--store-ink); }
.nav--marketing.is-scrolled .nav-mobile-links button:is(:hover,[aria-current="page"]) { background: #e7d4c8; }
.nav--marketing.is-scrolled :is(button,a):focus-visible { outline-color: var(--store-accent); }
/* One restrained scroll reveal on the process strip, with a static fallback.
   Phone previews retain their own visibility-controlled animation budget. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .landing-how > .wrap { animation: process-arrival linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    @keyframes process-arrival { from { opacity: .65; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
  }
}
/* A two-column invitation wall on mobile. Keep the frame slim and the canvas
   at its original ratio; detailed editing actions remain in the collection. */
@media (max-width: 860px) {
  .home-design-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 24px; }
  .home-design-card { --preview-width: 264px; --preview-scale: .65; --preview-radius: 30px; gap: 14px; }
  .home-design-details { max-width: var(--preview-width); }
  .home-design-title h3 { font-size: 25px; margin-bottom: 6px; }
  .home-design-price { font-size: 15px; color: #765050; }
  .home-design-price small, .home-design-details > p, .home-design-actions .btn-primary { display: none; }
  .home-design-actions { display: block; margin-top: 4px; }
  .home-design-actions .btn-ghost { justify-content: flex-start; background: transparent; border: 0; border-radius: 0; padding: 8px 0; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
  .landing-collection-cta { padding: 22px 24px; gap: 20px; }
  .landing-collection-cta .collection-cta-title { font-size: 26px; }
}
@media (max-width: 639px) {
  .home-design-card { --preview-width: 224px; --preview-scale: .55; --preview-radius: 27px; }
  .landing-collection-cta { padding: 20px 16px; margin-top: 32px; gap: 14px; }
  .landing-collection-cta .collection-cta-title { font-size: 24px; }
  .landing-collection-cta p { font-size: 11px; line-height: 1.6; }
  .landing-collection-cta .btn { font-size: 12px; padding: 12px; max-width: 45%; }
}
@media (max-width: 519px) {
  .home-design-grid { column-gap: 20px; }
  .home-design-card { --preview-width: 204px; --preview-scale: .5; --preview-radius: 25px; }
  .home-design-title h3 { font-size: 23px; }
}
@media (max-width: 479px) {
  .home-design-card { --preview-width: 184px; --preview-scale: .45; --preview-radius: 23px; }
}
@media (max-width: 419px) {
  .home-design-grid { column-gap: 18px; }
  .home-design-card { --preview-width: 164px; --preview-scale: .4; --preview-radius: 21px; }
}
@media (max-width: 379px) {
  .home-design-grid { column-gap: 16px; }
  .home-design-card { --preview-width: 144px; --preview-scale: .35; --preview-radius: 19px; }
  .home-design-title h3 { font-size: 21px; }
  .landing-collection-cta { flex-direction: column; text-align: center; }
  .landing-collection-cta .btn { max-width: none; width: 100%; }
}
@media (max-width: 339px) {
  .home-design-card { --preview-width: 132px; --preview-scale: .32; --preview-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .storefront-page *, .storefront-page *::before, .storefront-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .root > .nav--marketing { transition: none; }
}
