/* ==========================================================================
   Giftshappiness UI – shared design layer (header, footer, landing pages)
   Loaded after app.css. All classes are prefixed with .gh- to avoid
   collisions with the legacy Bootstrap/SCSS styles.
   ========================================================================== */

:root {
    --gh-yellow: #FFCF0D;
    --gh-yellow-soft: #FFF6CC;
    --gh-yellow-deep: #F2B800;
    --gh-green: #2E8B3E;
    --gh-green-hover: #24733A;
    --gh-pink: #FFA6CA;
    --gh-pink-soft: #FFE3EE;
    --gh-blue: #73BCFF;
    --gh-blue-soft: #E3F1FF;
    --gh-cream: #FFEB99;
    --gh-mint: #CDEFD2;
    --gh-red: #F72C25;
    --gh-dot-blue: #0D8BFF;
    --gh-dot-green: #62C370;
    --gh-ink: #242526;
    --gh-muted: #555659;
    --gh-subtle: #85888C;
    --gh-line: #E5ECF2;
    --gh-sky: #F1F8FF;
    --gh-card: #FFFFFF;
    --gh-page: #FFFFFF;
    --gh-shadow: 0 4px 14px rgba(36, 37, 38, .10);
    --gh-shadow-lg: 0 12px 32px rgba(36, 37, 38, .12);
    --gh-radius: 16px;
    --gh-radius-lg: 24px;
    --gh-font: 'Signika', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --gh-header-h: 68px;
}

/* ---------- Base helpers ---------- */
.gh, .gh-header, .gh-footer { font-family: var(--gh-font); color: var(--gh-ink); }
.gh *, .gh-header *, .gh-footer * { box-sizing: border-box; }
.gh-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.gh h1, .gh h2, .gh h3, .gh-footer h2, .gh-footer h3 { font-family: var(--gh-font); font-weight: 700; line-height: 1.15; color: var(--gh-ink); margin: 0; text-wrap: balance; }
:where(.gh, .gh-footer) p { margin: 0; line-height: 1.6; }
:where(.gh) ul, :where(.gh) ol { margin: 0; }
.gh img { max-width: 100%; height: auto; }
.gh-mark { background: linear-gradient(transparent 62%, var(--gh-yellow) 62%); padding: 0 .1em; }
.gh-eyebrow { display: inline-block; font-weight: 600; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: var(--gh-muted); }
.gh-section { padding: 64px 0; }
.gh-section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.gh-section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.gh-section-head p { margin-top: 14px; color: var(--gh-muted); font-size: 1.05rem; }
.gh-band { background: var(--gh-yellow-soft); }
.gh-band--sky { background: var(--gh-sky); }
.gh-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Buttons & links ---------- */
.gh-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    font-family: var(--gh-font); font-weight: 700; font-size: 1.1rem; line-height: 1.2;
    padding: .9rem 1.6rem; border-radius: .63rem; border: 2px solid transparent;
    background: var(--gh-green); color: #fff !important; text-decoration: none !important;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .12) !important; cursor: pointer;
    transition: background .15s, transform .15s, box-shadow .15s;
}
.gh-btn:hover { background: var(--gh-green-hover); transform: translateY(-1px); }
.gh-btn:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(0, 0, 0, .12) !important; }
.gh-btn svg { width: 1.1em; height: 1.1em; flex: none; }
.gh-btn--ghost { background: #fff; color: var(--gh-ink) !important; border-color: var(--gh-ink); box-shadow: none !important; }
.gh-btn--ghost:hover { background: var(--gh-yellow-soft); }
.gh-btn--yellow { background: var(--gh-yellow); color: var(--gh-ink) !important; }
.gh-btn--yellow:hover { background: var(--gh-yellow-deep); }
.gh-btn--sm { font-size: .95rem; padding: .55rem 1rem; box-shadow: none !important; }
.gh-btn--block { width: 100%; }
.gh-link { color: var(--gh-ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gh-yellow); }
.gh-link:hover { color: var(--gh-ink); background: var(--gh-yellow-soft); text-decoration: none; }
.gh a:focus-visible, .gh button:focus-visible, .gh summary:focus-visible,
.gh-header a:focus-visible, .gh-header button:focus-visible,
.gh-footer a:focus-visible, .gh-footer button:focus-visible, .gh-footer input:focus-visible {
    outline: 3px solid var(--gh-dot-blue); outline-offset: 3px;
}
.gh-form-inline { display: inline; margin: 0; }

/* ---------- Chips ---------- */
.gh-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; }
.gh-chips li { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .98rem; color: var(--gh-ink); }
.gh-chips svg { width: 18px; height: 18px; color: var(--gh-green); flex: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.gh-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--gh-line); }
.gh-header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--gh-header-h); }
.gh-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--gh-ink) !important; font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; flex: none; }
.gh-brand img { width: 36px; height: 36px; border-radius: 9px; display: block; }
.gh-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.gh-nav-link, .gh-nav-drop > summary {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px;
    font-weight: 600; font-size: 1rem; color: var(--gh-ink) !important; text-decoration: none !important;
    background: none; border: 0; cursor: pointer; list-style: none; white-space: nowrap;
}
.gh-nav-link:hover, .gh-nav-drop > summary:hover, .gh-nav-drop[open] > summary { background: var(--gh-yellow-soft); }
.gh-nav-link.is-active { box-shadow: inset 0 -3px 0 var(--gh-yellow); border-radius: 10px 10px 4px 4px; }
.gh-nav-link svg, .gh-nav-drop > summary svg { width: 18px; height: 18px; flex: none; }
.gh-nav-drop { position: relative; }
.gh-nav-drop > summary::-webkit-details-marker { display: none; }
.gh-nav-drop > summary .gh-caret { transition: transform .2s; }
.gh-nav-drop[open] > summary .gh-caret { transform: rotate(180deg); }
.gh-nav-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; background: #fff; border: 1px solid var(--gh-line); border-radius: var(--gh-radius); box-shadow: var(--gh-shadow-lg); padding: 8px; display: grid; gap: 2px; z-index: 1040; }
.gh-nav-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--gh-ink) !important; text-decoration: none !important; font-weight: 600; }
.gh-nav-menu a:hover { background: var(--gh-yellow-soft); }
.gh-nav-menu .gh-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.gh-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.gh-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--gh-yellow-soft); border: 2px solid var(--gh-yellow); padding: 0; cursor: pointer; }
.gh-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gh-avatar svg { width: 22px; height: 22px; }
.gh-user-menu { right: 0; left: auto; }
.gh-user-menu form { margin: 0; }
.gh-user-menu button.gh-menu-btn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--gh-ink); cursor: pointer; text-align: left; }
.gh-user-menu button.gh-menu-btn:hover { background: var(--gh-yellow-soft); }
.gh-menu-sep { height: 1px; background: var(--gh-line); margin: 6px 4px; }
.gh-menu-hello { padding: 8px 12px 4px; font-size: .9rem; color: var(--gh-muted); }
.gh-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 0; background: none; align-items: center; justify-content: center; cursor: pointer; color: var(--gh-ink); }
.gh-burger:hover { background: var(--gh-yellow-soft); }
.gh-burger svg { width: 26px; height: 26px; }
.gh-mobile-menu { border-top: 1px solid var(--gh-line); background: #fff; }
.gh-mobile-menu .gh-wrap { padding-top: 12px; padding-bottom: 20px; display: grid; gap: 4px; }
.gh-mobile-menu .gh-mm-label { font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--gh-subtle); padding: 12px 12px 4px; }
.gh-mobile-menu a, .gh-mobile-menu button.gh-menu-btn { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; font-weight: 600; font-size: 1.05rem; color: var(--gh-ink) !important; text-decoration: none !important; background: none; border: 0; width: 100%; text-align: left; font-family: inherit; cursor: pointer; }
.gh-mobile-menu a:hover, .gh-mobile-menu button.gh-menu-btn:hover { background: var(--gh-yellow-soft); }
.gh-mobile-menu .gh-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.gh-mobile-menu .gh-mm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 0 0; }
.gh-mobile-menu form { margin: 0; }

@media (max-width: 991px) {
    .gh-nav, .gh-actions .gh-hide-md { display: none !important; }
    .gh-burger { display: inline-flex; }
    .gh-header-inner { gap: 12px; min-height: 60px; }
    .gh-actions { gap: 6px; }
}
@media (min-width: 992px) {
    .gh-mobile-menu { display: none !important; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.gh-footer { background: #FFFBEA; border-top: 1px solid #F3E7B0; margin-top: 0; }
.gh-footer-news { background: var(--gh-yellow); }
.gh-footer-news .gh-wrap { display: grid; grid-template-columns: 1fr minmax(280px, 440px); gap: 20px 40px; align-items: center; padding-top: 32px; padding-bottom: 32px; }
.gh-footer-news h2 { font-size: 1.5rem; }
.gh-footer-news p { color: var(--gh-ink); margin-top: 4px; }
.gh-news-form { display: flex; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 4px 0 rgba(0,0,0,.08); }
.gh-news-form input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--gh-ink); }
.gh-news-form input:focus { outline: none; }
.gh-news-form button { flex: none; border: 0; border-radius: 8px; background: var(--gh-ink); color: #fff; padding: 0 16px; display: grid; place-items: center; cursor: pointer; }
.gh-news-form button svg { width: 22px; height: 22px; fill: currentColor; }
.gh-news-msg { grid-column: 2; font-size: .95rem; font-weight: 600; display: none; }
.gh-footer-main .gh-wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.gh-footer-brand p { color: var(--gh-muted); margin-top: 14px; max-width: 30ch; }
.gh-footer h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gh-muted); margin-bottom: 14px; }
.gh-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.gh-footer-links a, .gh-footer-links button { color: var(--gh-ink) !important; text-decoration: none !important; font-weight: 600; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.gh-footer-links a:hover, .gh-footer-links button:hover { text-decoration: underline !important; text-decoration-color: var(--gh-yellow-deep) !important; text-decoration-thickness: 3px !important; }
.gh-socials { display: flex; gap: 10px; margin-top: 18px; }
.gh-socials a { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #F3E7B0; display: grid; place-items: center; color: var(--gh-ink); }
.gh-socials a:hover { background: var(--gh-yellow); }
.gh-socials svg { width: 20px; height: 20px; }
.gh-footer-about { border-top: 1px solid #F3E7B0; }
.gh-footer-about .gh-wrap { padding-top: 36px; padding-bottom: 36px; columns: 2 360px; column-gap: 48px; font-size: .92rem; color: var(--gh-muted); }
.gh-footer-about h4 { font-family: var(--gh-font); font-size: 1rem; font-weight: 700; color: var(--gh-ink); margin: 0 0 8px; break-after: avoid; }
.gh-footer-about h5 { font-family: var(--gh-font); font-size: .92rem; font-weight: 700; color: var(--gh-ink); margin: 0 0 2px; }
.gh-footer-about p { margin: 0 0 10px; line-height: 1.6; }
.gh-footer-about ul, .gh-footer-about ol { margin: 0 0 18px; padding-left: 1.2em; }
.gh-footer-about li { margin-bottom: 6px; break-inside: avoid; }
.gh-footer-about li p { margin: 0; }
.gh-footer-about .gh-about-block { break-inside: avoid; margin-bottom: 18px; }
.gh-footer-about a { color: var(--gh-ink); font-weight: 600; }
.gh-footer-bottom { border-top: 1px solid #F3E7B0; }
.gh-footer-bottom .gh-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; font-size: .9rem; color: var(--gh-muted); }
.gh-footer-bottom a { color: var(--gh-muted); }

/* Mobile app bar (bottom) */
.gh-appbar { display: none; }
@media (max-width: 767px) {
    .gh-footer-news .gh-wrap { grid-template-columns: 1fr; }
    .gh-news-msg { grid-column: 1; }
    .gh-footer-main .gh-wrap { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 36px; }
    .gh-footer-brand { grid-column: 1 / -1; }
    .gh-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
    .gh-appbar {
        display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020;
        background: #fff; border-top: 1px solid var(--gh-line); box-shadow: 0 -4px 16px rgba(0,0,0,.06);
        padding: 6px 16px calc(6px + env(safe-area-inset-bottom, 0px));
    }
    .gh-appbar form { margin: 0; }
    .gh-appbar a, .gh-appbar button.gh-appbar-item {
        display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px; border: 0; background: none;
        font-family: var(--gh-font); font-size: .78rem; font-weight: 600; color: var(--gh-ink) !important; text-decoration: none !important; cursor: pointer;
    }
    .gh-appbar svg { width: 24px; height: 24px; }
    .gh-appbar .gh-appbar-plus { width: 56px; height: 56px; border-radius: 16px; background: var(--gh-green); color: #fff; border: 0; display: grid; place-items: center; box-shadow: 0 4px 0 rgba(0,0,0,.12); margin-top: -22px; cursor: pointer; }
    .gh-appbar .gh-appbar-plus svg { width: 28px; height: 28px; fill: #fff; }
}

/* ==========================================================================
   Landing pages (home + occasion pages)
   ========================================================================== */
.gh-hero { padding: 48px 0 40px; overflow: hidden; }
.gh-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.gh-hero-grid > div { min-width: 0; }
.gh-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
.gh-hero h1 .gh-rotator { display: inline-block; color: var(--gh-ink); }
.gh-hero-lead { font-size: 1.2rem; color: var(--gh-muted); margin: 20px 0 22px; max-width: 34rem; }
.gh-hero .gh-chips { margin-bottom: 28px; }
.gh-hero-note { margin-top: 12px; font-size: .92rem; color: var(--gh-muted); }
.gh-hero-visual { position: relative; justify-self: center; width: 100%; max-width: 520px; aspect-ratio: 1 / .9; display: grid; place-items: center; }
.gh-hero-visual::before { content: ""; position: absolute; inset: 6% 2% 4% 8%; background: var(--gh-yellow); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.gh-hero-visual img { position: relative; z-index: 1; width: 92%; height: auto; }
.gh-float-dot { position: absolute; border-radius: 50%; z-index: 2; }
.gh-hero-proof { position: absolute; z-index: 3; left: 0; bottom: 8%; background: #fff; border-radius: 14px; box-shadow: var(--gh-shadow-lg); padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; max-width: 240px; }
.gh-hero-proof svg { width: 28px; height: 28px; flex: none; color: var(--gh-green); }

/* Features */
.gh-features { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.gh-features-visual { display: grid; place-items: center; }
.gh-features-visual img { width: 100%; max-width: 440px; }
.gh-feature-list { display: grid; gap: 16px; }
.gh-feature { display: flex; gap: 18px; align-items: flex-start; background: var(--gh-card); border-radius: var(--gh-radius); padding: 22px; box-shadow: var(--gh-shadow); }
.gh-feature-icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.gh-feature-icon svg { width: 26px; height: 26px; }
.gh-feature:nth-child(1) .gh-feature-icon { background: var(--gh-cream); }
.gh-feature:nth-child(2) .gh-feature-icon { background: var(--gh-pink); }
.gh-feature:nth-child(3) .gh-feature-icon { background: var(--gh-blue); }
.gh-feature h3 { font-size: 1.2rem; margin-bottom: 4px; }
.gh-feature p { color: var(--gh-muted); }

/* Steps */
.gh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.gh-step { background: var(--gh-card); border-radius: var(--gh-radius); box-shadow: var(--gh-shadow); overflow: hidden; display: flex; flex-direction: column; }
.gh-step-visual { background: var(--gh-sky); display: grid; place-items: center; padding: 20px 20px 0; height: 220px; overflow: hidden; }
.gh-step-visual img { max-height: 210px; width: auto; }
.gh-step-body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.gh-step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gh-yellow); font-weight: 700; margin-bottom: 4px; }
.gh-step h3 { font-size: 1.25rem; }
.gh-step p { color: var(--gh-muted); }

/* Occasions */
.gh-occasions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gh-occasions--3 { grid-template-columns: repeat(3, 1fr); }
.gh-occasion { position: relative; background: var(--gh-card); border: 1px solid var(--gh-line); border-radius: var(--gh-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.gh-occasion:hover { box-shadow: var(--gh-shadow-lg); transform: translateY(-3px); }
.gh-occasion-visual { height: 170px; display: grid; place-items: center; padding-top: 12px; }
.gh-occasion-visual img { max-height: 160px; width: auto; }
.gh-occasion-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gh-occasion h3 { font-size: 1.15rem; }
.gh-occasion h3 a { color: inherit !important; text-decoration: none !important; }
.gh-occasion h3 a::after { content: ""; position: absolute; inset: 0; }
.gh-occasion p { color: var(--gh-muted); font-size: .97rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.gh-occasion .gh-more { align-self: flex-start; width: 38px; height: 38px; border-radius: 50%; background: var(--gh-yellow-soft); display: grid; place-items: center; transition: background .15s; }
.gh-occasion:hover .gh-more { background: var(--gh-yellow); }
.gh-occasion .gh-more svg { width: 18px; height: 18px; transition: transform .15s; }
.gh-occasion:hover .gh-more svg { transform: translateX(3px); }
.gh-occasion[data-tone="christmas"] .gh-occasion-visual { background: #FDE7E4; }
.gh-occasion[data-tone="wedding"] .gh-occasion-visual { background: var(--gh-pink-soft); }
.gh-occasion[data-tone="birthday"] .gh-occasion-visual { background: var(--gh-blue-soft); }
.gh-occasion[data-tone="baby"] .gh-occasion-visual { background: #E3F5E6; }
.gh-occasions-cta { text-align: center; margin-top: 32px; display: grid; justify-items: center; gap: 16px; }
.gh-occasions-cta p { max-width: 720px; font-weight: 600; font-size: 1.05rem; }

/* Example lists */
.gh-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gh-example { position: relative; background: var(--gh-card); border-radius: var(--gh-radius); box-shadow: var(--gh-shadow); overflow: hidden; text-decoration: none !important; color: var(--gh-ink) !important; transition: box-shadow .15s, transform .15s; display: block; }
.gh-example:hover { box-shadow: var(--gh-shadow-lg); transform: translateY(-3px); }
.gh-example-banner { aspect-ratio: 348 / 160; overflow: hidden; }
.gh-example-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gh-example-avatar { width: 84px; height: 84px; border-radius: 50%; border: 4px solid #fff; overflow: hidden; margin: -42px auto 0; position: relative; background: #fff; box-shadow: var(--gh-shadow); }
.gh-example-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gh-example-body { padding: 10px 18px 22px; text-align: center; display: grid; gap: 6px; }
.gh-example-body strong { font-size: 1.15rem; }
.gh-example-body span { color: var(--gh-green); font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.gh-example-body span svg { width: 16px; height: 16px; }

/* Testimonials */
.gh-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gh-quote { background: var(--gh-card); border-radius: var(--gh-radius); padding: 26px 24px; box-shadow: var(--gh-shadow); display: flex; flex-direction: column; gap: 18px; margin: 0; }
.gh-quote-stars { display: flex; gap: 2px; color: var(--gh-yellow-deep); }
.gh-quote-stars svg { width: 18px; height: 18px; fill: currentColor; }
.gh-quote blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; flex: 1; }
.gh-quote figcaption { display: flex; align-items: center; gap: 12px; }
.gh-quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.gh-quote figcaption strong { display: block; }
.gh-quote figcaption span { color: var(--gh-muted); font-size: .92rem; }

/* Long-form content (occasion pages) */
.gh-prose { max-width: 760px; margin: 0 auto; color: var(--gh-muted); font-size: 1.05rem; }
.gh-prose h2, .gh-prose h3 { color: var(--gh-ink); margin: 1.4em 0 .5em; }
.gh-prose p { margin: 0 0 1em; line-height: 1.7; }
.gh-prose ul, .gh-prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.gh-prose li { margin-bottom: .4em; }

/* Split CTA */
.gh-split { background: var(--gh-yellow); border-radius: var(--gh-radius-lg); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; padding: 48px 56px 0; overflow: hidden; position: relative; }
.gh-split > div { min-width: 0; padding-bottom: 48px; }
.gh-split h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.gh-split p { font-size: 1.1rem; margin: 12px 0 26px; }
.gh-split-visual { align-self: end; }
.gh-split-visual img { display: block; width: 100%; max-width: 460px; margin-left: auto; }

/* Story block */
.gh-story { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 820px; margin: 0 auto; text-align: center; justify-items: center; }
.gh-story h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.gh-story p { color: var(--gh-muted); font-size: 1.08rem; line-height: 1.7; }

/* FAQ */
.gh-faq { max-width: 820px; margin: 0 auto; }
.gh-faq details { border-bottom: 1px solid var(--gh-line); }
.gh-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-weight: 600; font-size: 1.1rem; color: var(--gh-ink); }
.gh-faq summary::-webkit-details-marker { display: none; }
.gh-faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--gh-yellow-soft); display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; transition: transform .2s; }
.gh-faq details[open] summary::after { transform: rotate(45deg); background: var(--gh-yellow); }
.gh-faq-answer { padding: 0 4px 22px; color: var(--gh-muted); }
.gh-faq-answer p { margin: 0 0 .6em; line-height: 1.65; }

/* Responsive */
@media (max-width: 991px) {
    .gh-occasions { grid-template-columns: repeat(2, 1fr); }
    .gh-features { grid-template-columns: 1fr; }
    .gh-features-visual img { max-width: 320px; }
    .gh-split { grid-template-columns: 1fr; padding: 40px 28px 0; }
    .gh-split > div { padding-bottom: 0; }
    .gh-split-visual img { margin: 0 auto; max-width: 380px; }
}
@media (max-width: 767px) {
    .gh-section { padding: 44px 0; }
    .gh-section-head { margin-bottom: 26px; }
    .gh-hero { padding: 20px 0 28px; }
    .gh-hero-grid { grid-template-columns: 1fr; gap: 4px; }
    .gh-hero-visual { order: -1; max-width: 300px; }
    .gh-hero-proof { display: none; }
    .gh-hero-lead { font-size: 1.08rem; margin: 14px 0 18px; }
    .gh-btn { width: 100%; }
    .gh-steps, .gh-examples, .gh-quotes { grid-template-columns: 1fr; }
    .gh-occasions--3 { grid-template-columns: 1fr; }
    .gh-split { padding: 32px 20px 0; text-align: center; }
}
@media (max-width: 520px) {
    .gh-occasions { grid-template-columns: 1fr; }
    .gh-occasion-visual { height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
    .gh *, .gh-header *, .gh-footer * { transition: none !important; animation: none !important; }
}

/* Legacy CSS colours footer icons white – force readable icon colours */
.gh-footer .gh-socials svg, .gh-footer .gh-footer-links svg { fill: var(--gh-ink) !important; color: var(--gh-ink) !important; }
.gh-footer .gh-appbar svg { fill: var(--gh-ink) !important; }
.gh-footer .gh-appbar .gh-appbar-plus svg { fill: #fff !important; }
.gh-footer .gh-news-form button svg { fill: #fff !important; }
.gh-footer-links svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }

/* ---------- Article blocks (occasion pages) ---------- */
.gh-article { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto; }
.gh-article + .gh-article { margin-top: 64px; }
.gh-article--flip { grid-template-columns: 1fr 300px; }
.gh-article--flip .gh-article-img { order: 2; }
.gh-article-img { position: relative; }
.gh-article-img::before { content: ""; position: absolute; inset: 8% -6% -6% 8%; background: var(--gh-yellow-soft); border-radius: 28px; z-index: 0; }
.gh-article-img img { position: relative; z-index: 1; width: 100%; height: auto; border-radius: 24px; display: block; box-shadow: var(--gh-shadow); }
.gh-article-body { min-width: 0; color: var(--gh-muted); font-size: 1.05rem; }
.gh-article-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.gh-article-body p, .gh-article-text p { margin: 0 0 1em; line-height: 1.7; }
.gh-article-text ul, .gh-article-text ol { margin: 0 0 1em; padding-left: 1.3em; }
.gh-checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; counter-reset: ghnum; }
.gh-checklist li { position: relative; padding-left: 36px; line-height: 1.6; }
.gh-checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--gh-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23242526' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.gh-checklist--num li::before { counter-increment: ghnum; content: counter(ghnum); background: var(--gh-yellow); display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: var(--gh-ink); }
.gh-checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.gh-checklist .baby-shower-li-title, .gh-checklist strong { color: var(--gh-ink); font-weight: 700; }
@media (max-width: 767px) {
    .gh-article, .gh-article--flip { grid-template-columns: 1fr; gap: 28px; }
    .gh-article--flip .gh-article-img { order: 0; }
    .gh-article-img { max-width: 240px; margin: 0 auto; }
    .gh-article + .gh-article { margin-top: 44px; }
    .gh-checklist--cols { grid-template-columns: 1fr; }
}

/* ---------- Simple content pages (legal, info) ---------- */
.gh-page-head { background: var(--gh-yellow-soft); padding: 56px 0 44px; position: relative; overflow: hidden; }
.gh-page-head::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--gh-yellow); opacity: .55; }
.gh-page-head .gh-wrap { position: relative; z-index: 1; }
.gh-page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-top: 8px; }
.gh-page-head p { color: var(--gh-muted); margin-top: 10px; font-size: 1.08rem; max-width: 640px; }
.gh-section--tight { padding: 48px 0 72px; }
.gh-legal { max-width: 780px; margin: 0 auto; color: var(--gh-muted); font-size: 1.02rem; line-height: 1.75; overflow-wrap: anywhere; }
.gh-legal p { margin: 0 0 1.1em; }
.gh-legal strong, .gh-legal b { color: var(--gh-ink); font-weight: 700; }
.gh-legal h2, .gh-legal h3 { color: var(--gh-ink); margin: 1.6em 0 .5em; font-size: 1.3rem; }
.gh-legal a { color: var(--gh-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gh-yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.gh-legal span { color: inherit !important; font-family: inherit !important; font-size: inherit !important; }
@media (max-width: 767px) { .gh-page-head { padding: 36px 0 30px; } .gh-page-head::after { width: 160px; height: 160px; right: -50px; top: -60px; } }

/* ==========================================================================
   Login & registration popups (legacy markup, restyled - JS untouched)
   ========================================================================== */
:is(#login_popup, .gh-register-host) .modal-container-login,
:is(#login_popup, .gh-register-host) .modal-container-register {
    font-family: var(--gh-font) !important; color: var(--gh-ink);
    background: #fff !important; border-radius: var(--gh-radius-lg) !important;
    box-shadow: 0 24px 64px rgba(36, 37, 38, .22) !important; border: 0 !important;
    max-width: 30rem !important; padding: 28px 32px 28px !important; overflow: hidden auto;
}
:is(#login_popup, .gh-register-host) .modal-container-login::before,
:is(#login_popup, .gh-register-host) .modal-container-register::before {
    content: ""; display: block; height: 6px; margin: -28px -32px 18px;
    background: linear-gradient(90deg, var(--gh-yellow) 0 55%, var(--gh-pink) 55% 75%, var(--gh-blue) 75% 90%, var(--gh-dot-green) 90%);
}
:is(#login_popup, .gh-register-host) .modal-close-container, :is(#login_popup, .gh-register-host) .modal-close-container-register { display: flex; justify-content: flex-end; margin: 0 -10px -8px 0; }
:is(#login_popup, .gh-register-host) .close-login-modal, :is(#login_popup, .gh-register-host) .close-register-modal {
    width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gh-sky) !important; display: grid; place-items: center; cursor: pointer; padding: 0;
}
:is(#login_popup, .gh-register-host) .close-login-modal:hover, :is(#login_popup, .gh-register-host) .close-register-modal:hover { background: var(--gh-yellow-soft) !important; }
:is(#login_popup, .gh-register-host) .close-login-modal .icon, :is(#login_popup, .gh-register-host) .close-register-modal .icon { width: 14px !important; height: 14px !important; max-width: 14px !important; }
:is(#login_popup, .gh-register-host) .modal-title-container p, :is(#login_popup, .gh-register-host) .modal-title-container-register p {
    font-family: var(--gh-font) !important; font-weight: 700 !important; font-size: clamp(1.5rem, 4vw, 1.9rem) !important;
    line-height: 1.15 !important; color: var(--gh-ink) !important; text-align: left !important; margin: 0 0 22px !important;
}
:is(#login_popup, .gh-register-host) .login-input-group, :is(#login_popup, .gh-register-host) .registration-input-group { position: relative; margin-bottom: 14px !important; }
:is(#login_popup, .gh-register-host) .login-input, :is(#login_popup, .gh-register-host) .registration-input {
    width: 100%; height: 52px !important; border: 1.5px solid var(--gh-line) !important; border-radius: 12px !important;
    padding: 0 16px !important; font-family: var(--gh-font) !important; font-size: 1rem !important; color: var(--gh-ink) !important;
    background: #fff !important; box-shadow: none !important; transition: border-color .15s, box-shadow .15s;
}
:is(#login_popup, .gh-register-host) .login-input:focus, :is(#login_popup, .gh-register-host) .registration-input:focus {
    outline: none; border-color: var(--gh-ink) !important; box-shadow: 0 0 0 4px var(--gh-yellow-soft) !important;
}
:is(#login_popup, .gh-register-host) .login-placeholder, :is(#login_popup, .gh-register-host) .registration-placeholder {
    font-family: var(--gh-font) !important; color: var(--gh-subtle) !important; font-size: .98rem !important; padding: 0 6px !important; left: 11px !important; border-radius: 4px;
}
:is(#login_popup, .gh-register-host) .login-forgotPassword-txt { text-align: right; margin: -2px 0 16px !important; }
:is(#login_popup, .gh-register-host) .login-forgotPassword-txt a { color: var(--gh-ink) !important; font-weight: 600; font-size: .95rem; text-decoration: underline; text-decoration-color: var(--gh-yellow-deep); text-underline-offset: 3px; }
:is(#login_popup, .gh-register-host) .login-btn, :is(#login_popup, .gh-register-host) .register-btn {
    width: 100% !important; height: 54px !important; border: 0 !important; border-radius: .63rem !important;
    background: var(--gh-green) !important; color: #fff !important; font-family: var(--gh-font) !important;
    font-weight: 700 !important; font-size: 1.1rem !important; box-shadow: 0 4px 0 rgba(0,0,0,.12) !important; cursor: pointer; transition: background .15s;
}
:is(#login_popup, .gh-register-host) .login-btn:hover, :is(#login_popup, .gh-register-host) .register-btn:hover { background: var(--gh-green-hover) !important; }
:is(#login_popup, .gh-register-host) .login-btn:disabled, :is(#login_popup, .gh-register-host) .register-btn:disabled { opacity: .7; cursor: progress; }
:is(#login_popup, .gh-register-host) .login-btn span, :is(#login_popup, .gh-register-host) .register-btn span { color: #fff !important; }
:is(#login_popup, .gh-register-host) .custom-control-label { font-family: var(--gh-font); font-size: .95rem; line-height: 1.5; color: var(--gh-muted); font-weight: 400 !important; }
:is(#login_popup, .gh-register-host) .custom-control-label a { color: var(--gh-ink) !important; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gh-yellow-deep); }
:is(#login_popup, .gh-register-host) .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--gh-green) !important; border-color: var(--gh-green) !important; }
:is(#login_popup, .gh-register-host) .form-check { margin-bottom: 10px; }
:is(#login_popup, .gh-register-host) .login-with-text, :is(#login_popup, .gh-register-host) .register-with-text { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px !important; }
:is(#login_popup, .gh-register-host) .line-left, :is(#login_popup, .gh-register-host) .line-right, :is(#login_popup, .gh-register-host) .line-left-register, :is(#login_popup, .gh-register-host) .line-right-register { flex: 1; border-top: 1px solid var(--gh-line) !important; margin: 0 !important; height: 0; }
:is(#login_popup, .gh-register-host) .line-text span, :is(#login_popup, .gh-register-host) .line-text-register span { font-family: var(--gh-font) !important; font-size: .8rem !important; letter-spacing: .06em; text-transform: uppercase; color: var(--gh-subtle) !important; white-space: nowrap; }
:is(#login_popup, .gh-register-host) .login-socials-container, :is(#login_popup, .gh-register-host) .register-socials-container { display: flex !important; justify-content: center !important; gap: 14px !important; }
:is(#login_popup, .gh-register-host) .login-socials-link, :is(#login_popup, .gh-register-host) .register-socials-link { margin: 0 !important; }
:is(#login_popup, .gh-register-host) .login-socials-link a, :is(#login_popup, .gh-register-host) .register-socials-link a {
    width: 56px; height: 56px; border-radius: 14px; border: 1.5px solid var(--gh-line); background: #fff; display: grid !important; place-items: center; transition: border-color .15s, box-shadow .15s;
}
:is(#login_popup, .gh-register-host) .login-socials-link a:hover, :is(#login_popup, .gh-register-host) .register-socials-link a:hover { border-color: var(--gh-ink); box-shadow: var(--gh-shadow); }
:is(#login_popup, .gh-register-host) .login-socials-link .icon, :is(#login_popup, .gh-register-host) .register-socials-link .icon { width: 26px !important; height: 26px !important; max-width: 26px !important; }
:is(#login_popup, .gh-register-host) .login-modal-register-container { margin-top: 22px !important; padding-top: 18px; border-top: 1px solid var(--gh-line); text-align: center; }
:is(#login_popup, .gh-register-host) .login-modal-register-container p { font-family: var(--gh-font) !important; color: var(--gh-muted) !important; margin: 0 !important; }
:is(#login_popup, .gh-register-host) .login-modal-register-container button { border: 0; background: none; padding: 0 4px; font-family: var(--gh-font); font-weight: 700; color: var(--gh-ink) !important; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
:is(#login_popup, .gh-register-host) .login-modal-register-container .signup-text { color: var(--gh-ink) !important; text-decoration: underline; text-decoration-color: var(--gh-yellow-deep); text-decoration-thickness: 3px; text-underline-offset: 3px; }
:is(#login_popup, .gh-register-host) .login-modal-register-container .icon { width: 14px !important; height: 14px !important; }
:is(#login_popup, .gh-register-host) #error-message-content, :is(#login_popup, .gh-register-host) #registration-error { color: #C62828 !important; font-size: .92rem !important; font-weight: 600; margin-top: 10px; }
.overlay#screen { background: rgba(36, 37, 38, .55) !important; opacity: 1 !important; backdrop-filter: blur(3px); z-index: 1034; }
@media (max-width: 575px) {
    :is(#login_popup, .gh-register-host) .modal-container-login, :is(#login_popup, .gh-register-host) .modal-container-register { padding: 22px 20px !important; border-radius: 20px !important; }
    :is(#login_popup, .gh-register-host) .modal-container-login::before, :is(#login_popup, .gh-register-host) .modal-container-register::before { margin: -22px -20px 14px; }
}
:is(#login_popup, .gh-register-host) .form-container, :is(#login_popup, .gh-register-host) .form-container-register, :is(#login_popup, .gh-register-host) .form-login, :is(#login_popup, .gh-register-host) .form-register,
:is(#login_popup, .gh-register-host) .modal-login-body, :is(#login_popup, .gh-register-host) .modal-register-body, :is(#login_popup, .gh-register-host) .login-btn-container, :is(#login_popup, .gh-register-host) .register-btn-container { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
:is(#login_popup, .gh-register-host) .modal-container-login, :is(#login_popup, .gh-register-host) .modal-container-register { border-top: 6px solid var(--gh-yellow) !important; }
:is(#login_popup, .gh-register-host) .modal-container-login::before, :is(#login_popup, .gh-register-host) .modal-container-register::before { display: none; }
:is(#login_popup, .gh-register-host) .login-socials-link a, :is(#login_popup, .gh-register-host) .register-socials-link a { border-radius: 14px !important; background: #fff !important; }
:is(#login_popup, .gh-register-host) .gh-brand-icon { display: block; width: 24px; height: 24px; }
:is(#login_popup, .gh-register-host) .gh-close-icon { display: block; }
:is(#login_popup, .gh-register-host) .login-socials-link, :is(#login_popup, .gh-register-host) .register-socials-link { border: 0 !important; background: none !important; border-radius: 0 !important; width: auto !important; height: auto !important; padding: 0 !important; box-shadow: none !important; }

/* ---------- Duplicate-free variants for occasion pages ---------- */
.gh-chips--hero { margin-top: 22px; }
.gh-occasions--compact .gh-occasion-visual { height: 150px; }
.gh-occasions--compact .gh-occasion-body { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 18px; }
.gh-occasions--compact .gh-occasion .gh-more { align-self: center; flex: none; }
.gh-quotes--1 { grid-template-columns: minmax(0, 560px); justify-content: center; }
.gh-quotes--2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
@media (max-width: 767px) { .gh-quotes--2 { grid-template-columns: 1fr; } }

/* ---------- Popups: compact, no inner scrolling ---------- */
:is(#login_popup, .gh-register-host) .modal-overlay-login, :is(#login_popup, .gh-register-host) .modal-overlay-register { display: flex !important; align-items: center !important; justify-content: center !important; padding: 16px !important; height: 100% !important; }
:is(#login_popup, .gh-register-host) .modal-container-login, :is(#login_popup, .gh-register-host) .modal-container-register {
    height: auto !important; max-height: none !important; overflow: visible !important;
    margin: 0 auto !important; padding: 20px 28px 22px !important; top: auto !important; transform: none !important;
}
:is(#login_popup, .gh-register-host) .modal-scroll { height: auto !important; overflow: visible !important; }
:is(#login_popup, .gh-register-host) .modal-title-container p, :is(#login_popup, .gh-register-host) .modal-title-container-register p { font-size: 1.5rem !important; margin: 0 0 16px !important; }
:is(#login_popup, .gh-register-host) .modal-close-container, :is(#login_popup, .gh-register-host) .modal-close-container-register { margin: 0 -14px -30px 0 !important; position: relative; z-index: 2; }
:is(#login_popup, .gh-register-host) .login-input-group, :is(#login_popup, .gh-register-host) .registration-input-group { margin-bottom: 10px !important; }
:is(#login_popup, .gh-register-host) .login-input, :is(#login_popup, .gh-register-host) .registration-input { height: 46px !important; }
:is(#login_popup, .gh-register-host) .login-placeholder, :is(#login_popup, .gh-register-host) .registration-placeholder { top: 12px; }
:is(#login_popup, .gh-register-host) .login-btn, :is(#login_popup, .gh-register-host) .register-btn { height: 48px !important; }
:is(#login_popup, .gh-register-host) .form-check { margin-bottom: 6px !important; }
:is(#login_popup, .gh-register-host) .custom-control-label { font-size: .88rem !important; line-height: 1.4 !important; }
:is(#login_popup, .gh-register-host) .login-forgotPassword-txt { margin: 0 0 12px !important; }
:is(#login_popup, .gh-register-host) .login-with-text, :is(#login_popup, .gh-register-host) .register-with-text { margin: 16px 0 12px !important; }
:is(#login_popup, .gh-register-host) .login-socials-link a, :is(#login_popup, .gh-register-host) .register-socials-link a { width: 48px !important; height: 48px !important; }
:is(#login_popup, .gh-register-host) .login-modal-register-container { margin-top: 14px !important; padding-top: 12px !important; }
:is(#login_popup, .gh-register-host) #registration-error:empty, :is(#login_popup, .gh-register-host) #error-message-content:empty, :is(#login_popup, .gh-register-host) #errors:empty { display: none; }
/* Small phones: show as a full-screen sheet instead of a scrolling popup */
@media (max-width: 575px) {
    :is(#login_popup, .gh-register-host) .modal-overlay-login, :is(#login_popup, .gh-register-host) .modal-overlay-register { padding: 0 !important; align-items: stretch !important; }
    :is(#login_popup, .gh-register-host) .modal-container-login, :is(#login_popup, .gh-register-host) .modal-container-register {
        width: 100% !important; max-width: none !important; min-height: 100% !important; border-radius: 0 !important;
        padding: 18px 20px calc(24px + env(safe-area-inset-bottom, 0px)) !important; overflow-y: auto !important;
    }
}

/* Registration: two-column fields on wider screens so the popup fits without scrolling */
@media (min-width: 576px) {
    :is(#login_popup, .gh-register-host) .modal-container-register { max-width: 36rem !important; }
    :is(#login_popup, .gh-register-host) .form-register { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 10px; }
    :is(#login_popup, .gh-register-host) .form-register > * { grid-column: 1 / -1; }
    :is(#login_popup, .gh-register-host) .form-register > .registration-input-group { grid-column: auto; }
}
/* ---------- Touch targets on small screens ---------- */
@media (max-width: 991px) {
    .gh-footer-links { gap: 2px; }
    .gh-footer-links a, .gh-footer-links button { display: inline-flex; align-items: center; min-height: 44px; }
    .gh-footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
    .gh .gh-link { display: inline-block; padding: 12px 0; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--gh-yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
}

/* ==========================================================================
   Auth & utility pages (forgot/reset/confirm/verify, register page,
   newsletter thanks, passcode, errors)
   ========================================================================== */
.gh-auth { position: relative; overflow: hidden; background: var(--gh-yellow-soft); min-height: calc(100vh - var(--gh-header-h) - 120px); display: grid; place-items: center; padding: 48px 16px 64px; }
.gh-auth-dot { position: absolute; border-radius: 50%; z-index: 0; }
.gh-auth-card { position: relative; z-index: 1; width: 100%; max-width: 30rem; background: #fff; border-radius: var(--gh-radius-lg); border-top: 6px solid var(--gh-yellow); box-shadow: 0 18px 48px rgba(36, 37, 38, .12); padding: 32px 32px 28px; }
.gh-auth-card--wide { max-width: 38rem; text-align: center; }
.gh-auth-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--gh-yellow-soft); display: grid; place-items: center; margin-bottom: 16px; color: var(--gh-ink); }
.gh-auth-icon svg { width: 28px; height: 28px; }
.gh-auth-card h1 { font-size: clamp(1.5rem, 4vw, 1.9rem); margin-bottom: 8px; }
.gh-auth-card h1 small { font-size: .55em; color: var(--gh-muted); font-weight: 600; }
.gh-auth-sub { color: var(--gh-muted); margin-bottom: 22px !important; }
.gh-auth-note { color: var(--gh-muted); margin-bottom: 18px !important; font-size: .98rem; }
.gh-auth-foot { margin-top: 18px !important; text-align: center; color: var(--gh-muted); }
.gh-form { display: grid; gap: 14px; margin: 0; }
.gh-field { display: grid; gap: 6px; margin: 0; font-weight: 600; font-size: .95rem; color: var(--gh-ink); }
.gh-field input {
    width: 100%; height: 50px; border: 1.5px solid var(--gh-line); border-radius: 12px; padding: 0 16px;
    font: inherit; font-weight: 400; font-size: 1rem; color: var(--gh-ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.gh-field input:focus { outline: none; border-color: var(--gh-ink); box-shadow: 0 0 0 4px var(--gh-yellow-soft); }
.gh-field input[readonly] { background: var(--gh-sky); color: var(--gh-muted); }
.gh-alert { border-radius: 12px; padding: 12px 14px; font-size: .95rem; font-weight: 600; line-height: 1.45; }
.gh-alert--success { background: #E3F5E6; color: #1E6B2C; }
.gh-alert--error { background: #FDE7E4; color: #B3261E; }
.gh-alert--auto:empty { display: none; }
.gh-textlink { background: none; border: 0; padding: 8px 4px; font: inherit; font-weight: 700; color: var(--gh-ink) !important; text-decoration: underline; text-decoration-color: var(--gh-yellow-deep); text-decoration-thickness: 3px; text-underline-offset: 3px; cursor: pointer; }
/* Error pages */
.gh-error .gh-error-code { display: block; font-size: clamp(4rem, 14vw, 7rem); font-weight: 700; line-height: 1; color: var(--gh-yellow); -webkit-text-stroke: 2px var(--gh-ink); margin-bottom: 12px; }
.gh-error .gh-error-code:empty { display: none; }
.gh-error-header h4 { font-family: var(--gh-font); font-size: clamp(1.25rem, 3vw, 1.6rem) !important; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.gh-error-header small { margin-top: 8px; font-size: .95rem; text-align: center !important; }
.gh-error .gh-btn { margin-top: 4px; }
.gh-error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--gh-line); }
.gh-error-links a { color: var(--gh-ink); font-weight: 600; font-size: .95rem; padding: 8px 0; text-decoration: underline; text-decoration-color: var(--gh-yellow-deep); text-underline-offset: 3px; }
/* Registration form rendered as a page */
.gh-register-host { position: relative; z-index: 1; width: 100%; display: grid; place-items: center; }
.gh-register-host .modal-overlay-register { position: static !important; background: none !important; width: 100% !important; height: auto !important; padding: 0 !important; }
.gh-register-host .modal-close-container-register { display: none !important; }
.gh-register-host .modal-container-register { box-shadow: 0 18px 48px rgba(36, 37, 38, .12) !important; }
@media (max-width: 575px) {
    .gh-auth { padding: 24px 12px 40px; min-height: 0; }
    .gh-auth-card { padding: 24px 20px 22px; }
    .gh-register-host .modal-container-register { min-height: 0 !important; border-radius: 20px !important; }
}

/* ==========================================================================
   Wish list app (editor + public view) - legacy markup restyled, JS untouched
   ========================================================================== */
main { font-family: var(--gh-font); }

/* Header area: banner, avatar, title, meta */
.wishlist-background .banner-image, .wishlist-background-img .banner-image, img.banner-image { border-radius: var(--gh-radius-lg) !important; object-fit: cover; }
.show-wishlist .profile-upload .rounded-circle,
img#profile_image_path { box-shadow: 0 8px 24px rgba(36, 37, 38, .14) !important; border: 5px solid #fff !important; }
.list-title, .show-wishlist-name, .show-wishlist-name p, .list-title-input-group input { font-family: var(--gh-font) !important; font-weight: 700 !important; color: var(--gh-ink) !important; letter-spacing: -.01em; }
.guest-wishlist-meta, .wishlist-meta, .show-wishlist-meta, .show-wishlist-meta-container { color: var(--gh-muted) !important; }
.guest-wishlist-meta .icon, .wishlist-meta .icon, .show-wishlist-meta .icon { opacity: .75; }

/* Warning for guests: calm notice instead of a red bar */
.guest-red-box {
    background: var(--gh-yellow-soft) !important; color: var(--gh-ink) !important; border: 1px solid #F3E2A0 !important;
    border-left: 5px solid var(--gh-yellow) !important; border-radius: 12px !important; padding: 12px 16px !important;
    font-weight: 600 !important; font-size: .95rem !important; text-align: left !important; line-height: 1.45 !important;
}
.guest-red-box a { color: var(--gh-ink) !important; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gh-yellow-deep); text-decoration-thickness: 3px; }

/* Search / add wish input */
.desktop-add-new-search-container, .mobile-add-new-container .mobile-add-new-input {
    border: 1.5px solid var(--gh-line) !important; border-radius: 14px !important; background: #fff !important;
    box-shadow: var(--gh-shadow) !important; overflow: hidden;
}
.desktop-add-new-search-container input, #mobile-add-new-input { font-family: var(--gh-font) !important; font-size: 1rem !important; color: var(--gh-ink) !important; border: 0 !important; background: transparent !important; }
.desktop-add-new-search-container:focus-within { border-color: var(--gh-ink) !important; box-shadow: 0 0 0 4px var(--gh-yellow-soft) !important; }

/* Wish cards */
.wishlist-item-container > .card, .show-wishlist-item-div > .card, .shared-wishlists-container .card {
    border: 1px solid var(--gh-line) !important; border-radius: var(--gh-radius) !important;
    box-shadow: 0 2px 10px rgba(36, 37, 38, .06) !important; overflow: hidden; transition: box-shadow .15s, transform .15s;
}
.wishlist-item-container > .card:hover, .show-wishlist-item-div > .card:hover { box-shadow: var(--gh-shadow-lg) !important; transform: translateY(-2px); }
.wish-item-top figure, .show-wishlist-item-div figure { background: none; margin: 0; }
.wish-item-name p, .wish-item-name a, .card-bottom-item-info p:first-child { font-family: var(--gh-font) !important; font-weight: 700 !important; color: var(--gh-ink) !important; font-size: 1.05rem !important; text-decoration: none !important; }
.wish-item-price p, .wish-item-price span { font-family: var(--gh-font) !important; color: var(--gh-muted) !important; }
.wish-item-price span:nth-child(2) { color: var(--gh-ink) !important; font-weight: 700; }

/* Quantity badge: pill instead of the diagonal ribbon */
.wishlist-item-container .wrap-item, .show-wishlist-item-div .wrap-item, .shared-wishlists-container .wrap-item {
    position: absolute !important; top: 12px !important; left: 12px !important; width: auto !important; height: auto !important; overflow: visible !important; z-index: 2;
}
.wishlist-item-container .ribbon, .show-wishlist-item-div .ribbon, .shared-wishlists-container .ribbon {
    position: static !important; transform: none !important; width: auto !important; min-width: 0 !important; padding: 4px 12px !important;
    border-radius: 999px !important; background: var(--gh-yellow) !important; color: var(--gh-ink) !important;
    font-family: var(--gh-font) !important; font-weight: 700 !important; font-size: .85rem !important; line-height: 1.3 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1) !important; text-align: center; top: auto !important; left: auto !important;
}
.wishlist-item-container .ribbon::before, .wishlist-item-container .ribbon::after,
.show-wishlist-item-div .ribbon::before, .show-wishlist-item-div .ribbon::after,
.shared-wishlists-container .ribbon::before, .shared-wishlists-container .ribbon::after { display: none !important; }

/* Card action buttons */
.wish-item-view-buttons, .card-bottom-buttons, .guest-show-card-bottom-buttons { gap: 10px !important; }
.wish-item-btn-open, .wish-item-btn-delete, .wish-item-btn-edit,
.card-bottom-buttons > a, .card-bottom-buttons > button, .guest-show-card-bottom-buttons > a, .guest-show-card-bottom-buttons > button {
    border-radius: 10px !important; box-shadow: none !important; border-width: 1.5px !important; font-family: var(--gh-font) !important;
    transition: background .15s, border-color .15s;
}
.wish-item-btn-open, .card-bottom-buttons > a, .guest-show-card-bottom-buttons > a { border-color: var(--gh-ink) !important; background: #fff !important; }
.wish-item-btn-open:hover, .card-bottom-buttons > a:hover, .guest-show-card-bottom-buttons > a:hover { background: var(--gh-yellow-soft) !important; }
.wish-item-btn-delete { border-color: #F3C4BF !important; background: #FFF5F4 !important; }
.wish-item-btn-delete:hover { background: #FDE7E4 !important; border-color: #E79A92 !important; }
.card-bottom-buttons > button, .guest-show-card-bottom-buttons > button { border-color: var(--gh-green) !important; background: #F1FAF2 !important; }
.card-bottom-buttons > button:hover, .guest-show-card-bottom-buttons > button:hover { background: #E3F5E6 !important; }
.wish-item-view-buttons p, .card-bottom-buttons p { font-family: var(--gh-font) !important; font-weight: 700 !important; color: var(--gh-ink) !important; }

/* "Add a new wish" card */
.card-wish-item-add-custom, .wish-item-add-container-custom > .card {
    border: 2px dashed #E9D27A !important; background: #FFFCEF !important; box-shadow: none !important; border-radius: var(--gh-radius) !important;
}
.card-wish-item-add-custom:hover, .wish-item-add-container-custom > .card:hover { background: var(--gh-yellow-soft) !important; border-color: var(--gh-yellow-deep) !important; }
.wishlists-custom-card-title, .wishlists-custom-card-title p { font-family: var(--gh-font) !important; font-weight: 700 !important; color: var(--gh-ink) !important; font-size: 1.1rem !important; }
.wishlists-custom-card-btn { border-radius: 14px !important; background: var(--gh-green) !important; box-shadow: 0 4px 0 rgba(0, 0, 0, .12) !important; }

/* Public view: tabs + description */
.show-wishlist-tabs-container { gap: 8px; }
.show-wishlist-tabs-container .btn { font-family: var(--gh-font) !important; font-weight: 700 !important; color: var(--gh-muted) !important; border: 0 !important; border-radius: 999px !important; padding: 8px 18px !important; background: transparent !important; box-shadow: none !important; }
.show-wishlist-tabs-container .btn.active, .show-wishlist-tabs-container .btn[style*="border-bottom"], .show-wishlist-tabs-container .btn:focus { color: var(--gh-ink) !important; background: var(--gh-yellow-soft) !important; }
.shared-wishlist-description-card { border-radius: var(--gh-radius) !important; border: 1px solid var(--gh-line) !important; box-shadow: none !important; }

/* Gift-finder promo card inside the list */
.card-feedback { border: 1px solid var(--gh-line) !important; border-radius: var(--gh-radius) !important; background: linear-gradient(180deg, #FFFCEF, #fff) !important; }
.feedback-buttons p { font-family: var(--gh-font) !important; color: var(--gh-ink) !important; font-weight: 700 !important; }

.guest-red-box p { background: transparent !important; color: var(--gh-ink) !important; margin: 0 !important; padding: 0 !important; text-align: left !important; font-weight: 600 !important; }
.card-bottom-item-info .chat-item-message-container, .card-bottom-item-info [class*="message"] { border-color: var(--gh-line) !important; border-radius: 12px !important; }
.card-bottom-description { border: 0 !important; background: var(--gh-sky) !important; border-radius: 12px !important; padding: 10px 12px !important; }
.card-bottom-description p:first-child { font-weight: 700 !important; color: var(--gh-ink) !important; }
.card-bottom-description p { color: var(--gh-muted) !important; font-family: var(--gh-font) !important; }
.card-bottom-item-info p:nth-child(2) { color: var(--gh-ink) !important; font-weight: 700 !important; font-family: var(--gh-font) !important; }
.card-bottom-item-info p:nth-child(2) span { color: var(--gh-muted) !important; font-weight: 400 !important; margin-left: 8px; }
.shared-wishlist-description-profile-txt { border: 0 !important; background: var(--gh-sky) !important; border-radius: 12px !important; padding: 12px 14px !important; }
.shared-wishlist-description-profile-txt p { font-family: var(--gh-font) !important; color: var(--gh-ink) !important; font-size: .98rem !important; }
.shared-wishlist-description-buttons button { border: 1.5px solid var(--gh-ink) !important; border-radius: 10px !important; background: #fff !important; box-shadow: none !important; font-family: var(--gh-font) !important; font-weight: 700 !important; }
.shared-wishlist-description-buttons button:hover { background: var(--gh-yellow-soft) !important; }

/* Quantity: only shown from 2 pieces, as a clean chip */
.ribbon.gh-qty-one { display: none !important; }
.wishlist-item-container .ribbon, .show-wishlist-item-div .ribbon, .shared-wishlists-container .ribbon {
    display: inline-flex !important; align-items: center; justify-content: center; height: 24px !important; min-height: 0 !important;
    padding: 0 9px !important; line-height: 1 !important; font-size: .8rem !important; letter-spacing: .01em; text-indent: 0 !important;
    background: var(--gh-ink) !important; color: #fff !important; box-shadow: none !important; border-radius: 8px !important;
}
.wishlist-item-container .ribbon span, .show-wishlist-item-div .ribbon span, .shared-wishlists-container .ribbon span { color: #fff !important; position: static !important; transform: none !important; display: inline-flex; align-items: center; gap: 4px; }
.shared-wishlists-container .ribbon .icon, .show-wishlist-item-div .ribbon .icon { width: 14px; height: 14px; fill: #fff; }

/* Guest "save your list" notice: plain row, no box */
.gh-save-notice { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; max-width: 1140px; margin: 8px auto 4px; padding: 14px 16px; border-top: 1px solid var(--gh-line); border-bottom: 1px solid var(--gh-line); font-family: var(--gh-font); }
.gh-save-notice-icon { width: 22px; height: 22px; flex: none; color: var(--gh-muted); }
.gh-save-notice p { flex: 1 1 320px; margin: 0; color: var(--gh-muted); font-size: .97rem; line-height: 1.45; }
.gh-save-notice p strong { color: var(--gh-ink); font-weight: 700; }
.gh-save-notice-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 575px) { .gh-save-notice-actions { width: 100%; } .gh-save-notice-actions .gh-btn { flex: 1; width: auto; } }.wishlist-item-container .ribbon.gh-qty-one, .show-wishlist-item-div .ribbon.gh-qty-one, .shared-wishlists-container .ribbon.gh-qty-one { display: none !important; }
.wishlist-item-container .bottom-buttons-container, .show-wishlist-item-div .card-bottom-unfulfilled, .show-wishlist-item-div .card-bottom-fulfilled { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }

/* ==========================================================================
   Wish list editor v2: card menu, inline editing, toast, popups, settings
   ========================================================================== */

/* ---------- Wish card: one main action (image/title -> shop), actions in menu ---------- */
#wish-infinite-scroll .item-card-body .wish-item-view-buttons { display: none !important; }
#wish-infinite-scroll .item-card-body { padding-bottom: 14px !important; }
#wish-infinite-scroll .wish-item-name a, #wish-infinite-scroll .wish-item-top figure a { cursor: pointer !important; }
#wish-infinite-scroll .wish-item-name a:hover p { text-decoration: underline; text-decoration-color: var(--gh-yellow-deep); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.gh-card-menu { position: absolute !important; top: 8px !important; right: 8px !important; z-index: 5; }
.gh-card-menu-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--gh-ink);
    display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); transition: background .15s;
}
.gh-card-menu-btn:hover, .gh-card-menu-btn[aria-expanded="true"] { background: var(--gh-yellow-soft); }
.gh-card-menu-btn:focus-visible { outline: 3px solid var(--gh-dot-blue); outline-offset: 2px; }
.gh-card-menu-list {
    position: absolute; top: 46px; right: 0; min-width: 200px; background: #fff; border: 1px solid var(--gh-line);
    border-radius: 14px; box-shadow: var(--gh-shadow-lg); padding: 6px; display: grid; gap: 2px;
}
.gh-card-menu-list[hidden] { display: none; }
.gh-card-menu-list button, .gh-card-menu-list a {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 10px;
    font-family: var(--gh-font); font-size: .98rem; font-weight: 600; color: var(--gh-ink) !important; text-decoration: none !important; cursor: pointer; text-align: left;
}
.gh-card-menu-list button:hover, .gh-card-menu-list a:hover, .gh-card-menu-list button:focus-visible, .gh-card-menu-list a:focus-visible { background: var(--gh-yellow-soft); outline: none; }
.gh-card-menu-list .gh-danger { color: #B3261E !important; }
.gh-card-menu-list .gh-danger:hover, .gh-card-menu-list .gh-danger:focus-visible { background: #FDE7E4; }

/* ---------- Delete confirmation on the card ---------- */
.wish-item-card-body-delete { padding: 20px 18px !important; gap: 14px; justify-content: center !important; text-align: center; }
.wish-item-card-body-delete .wish-item-delete-image img { max-height: 110px !important; width: auto !important; opacity: .9; }
.wish-item-card-body-delete .wish-item-delete-txt-container p:first-child { font-family: var(--gh-font) !important; font-weight: 700 !important; font-size: 1.05rem !important; color: var(--gh-ink) !important; margin-bottom: 4px !important; }
.wish-item-card-body-delete .wish-item-delete-txt-container p { font-family: var(--gh-font) !important; color: var(--gh-muted) !important; font-size: .9rem !important; }
.wish-item-card-body-delete .wish-item-card-close { display: none !important; }
.card-delete-body-buttons, .guest-card-delete-body-buttons { display: flex !important; gap: 10px !important; justify-content: center !important; }
.card-delete-body-buttons button, .guest-card-delete-body-buttons button {
    min-width: 110px; height: 42px; border-radius: 10px !important; font-family: var(--gh-font) !important; font-weight: 700 !important; box-shadow: none !important; cursor: pointer;
}
.card-delete-body-buttons button:first-child, .guest-card-delete-body-buttons button:first-child { background: #fff !important; border: 1.5px solid var(--gh-ink) !important; color: var(--gh-ink) !important; }
.card-delete-body-buttons button:last-child, .guest-card-delete-body-buttons button:last-child { background: #C62828 !important; border: 1.5px solid #C62828 !important; color: #fff !important; }
.card-delete-body-buttons button p, .guest-card-delete-body-buttons button p { color: inherit !important; margin: 0 !important; }
.card-delete-body-buttons button .icon, .guest-card-delete-body-buttons button .icon { display: none !important; }

/* ---------- Inline editing: original size + pencil hint ---------- */
#wish_list_name, #name-edit > div, #date-edit-val { position: relative; cursor: text !important; border-radius: 8px; transition: background .15s; }
#wish_list_name:hover, #name-edit:hover > div, #date-edit:hover #date-edit-val { background: var(--gh-yellow-soft); }
#wish_list_name::after, #name-edit > div::after, #date-edit-val::after {
    content: ""; display: inline-block; width: 16px; height: 16px; margin-left: 8px; vertical-align: middle; opacity: 0; transition: opacity .15s;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23242526' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z'/%3E%3Cpath d='M14 6l4 4'/%3E%3C/svg%3E") center / contain no-repeat;
}
#wish_list_name:hover::after, #name-edit:hover > div::after, #date-edit:hover #date-edit-val::after { opacity: .7; }
@media (hover: none) { #wish_list_name::after, #name-edit > div::after, #date-edit-val::after { opacity: .45; } }
#name-input {
    font-family: var(--gh-font) !important; font-weight: 700 !important; font-size: clamp(1.5rem, 3vw, 2rem) !important; line-height: 1.2 !important;
    height: auto !important; padding: 4px 10px !important; max-width: 640px !important; width: 100% !important;
    border: 0 !important; border-bottom: 3px solid var(--gh-yellow) !important; border-radius: 8px 8px 0 0 !important; background: var(--gh-yellow-soft) !important; box-shadow: none !important; color: var(--gh-ink) !important;
}
#publicname, #wish_date {
    font-family: var(--gh-font) !important; font-size: 1rem !important; height: 40px !important; padding: 4px 10px !important; max-width: 260px !important;
    border: 0 !important; border-bottom: 3px solid var(--gh-yellow) !important; border-radius: 8px 8px 0 0 !important; background: var(--gh-yellow-soft) !important; box-shadow: none !important; color: var(--gh-ink) !important;
}
#name-input:focus, #publicname:focus, #wish_date:focus { outline: none !important; }

/* ---------- "Saved" toast ---------- */
.gh-toast {
    position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 12px); opacity: 0; z-index: 2000;
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--gh-ink); color: #fff;
    font-family: var(--gh-font); font-weight: 600; box-shadow: var(--gh-shadow-lg); transition: opacity .2s, transform .2s; pointer-events: none;
}
.gh-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 767px) { .gh-toast { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- All wish list popups: one look, no inner scrolling ---------- */
:is(.modal-overlay-address, .modal-overlay-categories, .modal-overlay-create-wish-item, .modal-overlay-description, .modal-overlay-pass,
    .modal-overlay-settings, .modal-overlay-sharelink, .modal-overlay-sorting, .modal-overlay-upload-banner, .modal-overlay-wishlist-profile-cropper) {
    position: fixed !important; inset: 0 !important; width: 100% !important; height: 100% !important; display: flex !important;
    align-items: center !important; justify-content: center !important; padding: 16px !important; background: rgba(36, 37, 38, .55) !important; z-index: 1040 !important;
}
:is(.modal-container-address, .modal-container-address-shared, .modal-container-categories, .modal-container-create-wish-item, .modal-container-description,
    .modal-container-pass, .modal-container-settings, .modal-container-sharelink, .modal-container-sorting, .modal-container-upload-banner, .modal-container-wishlist-profile-cropper) {
    position: relative !important; width: 100% !important; max-width: 34rem !important; height: auto !important; min-height: 0 !important; max-height: calc(100dvh - 32px) !important;
    overflow: hidden auto !important; margin: 0 !important; top: auto !important; left: auto !important; transform: none !important;
    background: #fff !important; border: 0 !important; border-top: 6px solid var(--gh-yellow) !important; border-radius: var(--gh-radius-lg) !important;
    box-shadow: 0 24px 64px rgba(36, 37, 38, .22) !important; padding: 20px 26px 24px !important; font-family: var(--gh-font) !important; color: var(--gh-ink);
}
.modal-container-create-wish-item, .modal-container-upload-banner, .modal-container-sorting { max-width: 44rem !important; }
/* titles */
:is(.modal-container-sharelink-title, .modal-container-settings-title, .modal-container-description-title, .modal-container-sorting-title,
    .modal-container-wishlist-profile-cropper-title, .modal-create-wish-item-title, .create-wish-item-title) :is(p, h1, h2, h3, h4),
.modal-create-wish-item-title, .create-wish-item-title {
    font-family: var(--gh-font) !important; font-weight: 700 !important; font-size: 1.45rem !important; line-height: 1.2 !important;
    color: var(--gh-ink) !important; text-align: left !important; margin: 0 0 14px !important;
}
/* close buttons */
:is(.close-sharelink-modal, .close-settings-modal, .close-description-modal, .close-create-wish-item-modal, .close-sorting-modal, .create-wish-item-close-btn button) {
    width: 40px !important; height: 40px !important; border-radius: 50% !important; border: 0 !important; background: var(--gh-sky) !important;
    display: grid !important; place-items: center !important; padding: 0 !important; cursor: pointer; box-shadow: none !important;
}
:is(.close-sharelink-modal, .close-settings-modal, .close-description-modal, .close-create-wish-item-modal, .close-sorting-modal) .icon { width: 14px !important; height: 14px !important; }
/* footer buttons: back = ghost, save = green */
:is(.modal-container-categories-btn-back, .modal-container-description-btn-back, .modal-container-sorting-btn-back, .modal-container-upload-banner-btn-back) {
    height: 46px !important; min-width: 120px; border-radius: .63rem !important; border: 1.5px solid var(--gh-ink) !important; background: #fff !important;
    color: var(--gh-ink) !important; font-family: var(--gh-font) !important; font-weight: 700 !important; box-shadow: none !important;
}
:is(.modal-container-categories-btn-save, .modal-container-description-btn-save, .modal-container-sorting-btn-save, .modal-container-upload-banner-btn-save) {
    height: 46px !important; min-width: 140px; border-radius: .63rem !important; border: 0 !important; background: var(--gh-green) !important;
    color: #fff !important; font-family: var(--gh-font) !important; font-weight: 700 !important; box-shadow: 0 4px 0 rgba(0, 0, 0, .12) !important;
}
:is(.modal-container-categories-btn-back, .modal-container-description-btn-back, .modal-container-sorting-btn-back, .modal-container-upload-banner-btn-back,
    .modal-container-categories-btn-save, .modal-container-description-btn-save, .modal-container-sorting-btn-save, .modal-container-upload-banner-btn-save) :is(p, span) { color: inherit !important; margin: 0 !important; font-weight: 700 !important; }
:is(.modal-container-categories-btn-back, .modal-container-description-btn-back, .modal-container-sorting-btn-back, .modal-container-upload-banner-btn-back,
    .modal-container-categories-btn-save, .modal-container-description-btn-save, .modal-container-sorting-btn-save, .modal-container-upload-banner-btn-save) .icon { display: none !important; }
:is(.modal-container-categories-buttons, .modal-container-description-buttons, .modal-container-sorting-buttons, .modal-container-upload-banner-buttons) {
    display: flex !important; justify-content: flex-end !important; gap: 10px !important; border-top: 1px solid var(--gh-line) !important; padding-top: 14px !important; margin-top: 16px !important; background: #fff !important; box-shadow: none !important;
}
/* form fields inside popups */
:is(.modal-container-create-wish-item, .modal-container-description, .modal-container-sharelink, .modal-container-pass, .modal-container-address) :is(input[type="text"], input[type="url"], input[type="number"], input:not([type]), textarea, select) {
    font-family: var(--gh-font) !important; font-size: 1rem !important; color: var(--gh-ink) !important; border: 1.5px solid var(--gh-line) !important;
    border-radius: 12px !important; min-height: 46px; padding: 10px 14px !important; box-shadow: none !important; background: #fff !important;
}
:is(.modal-container-create-wish-item, .modal-container-description, .modal-container-sharelink, .modal-container-pass, .modal-container-address) :is(input, textarea, select):focus {
    outline: none !important; border-color: var(--gh-ink) !important; box-shadow: 0 0 0 4px var(--gh-yellow-soft) !important;
}
/* tabs in "add a wish" */
.modal-container-create-wish-tabs-container { display: flex !important; gap: 6px !important; padding: 4px !important; background: var(--gh-sky) !important; border-radius: 12px !important; margin-bottom: 14px !important; }
.modal-container-create-wish-tabLinks {
    flex: 1; border: 0 !important; background: transparent !important; border-radius: 9px !important; padding: 10px 8px !important;
    font-family: var(--gh-font) !important; font-weight: 600 !important; color: var(--gh-muted) !important; box-shadow: none !important; cursor: pointer;
}
.modal-container-create-wish-tabLinks.active { background: #fff !important; color: var(--gh-ink) !important; box-shadow: 0 1px 4px rgba(0, 0, 0, .08) !important; }
.modal-container-create-wish-tabLinks::after, .modal-container-create-wish-tabLinks.active::after { display: none !important; }
.modal-container-create-wish-tabs-contents { min-height: 0 !important; height: auto !important; }
/* mobile: bottom sheet */
@media (max-width: 575px) {
    :is(.modal-overlay-address, .modal-overlay-categories, .modal-overlay-create-wish-item, .modal-overlay-description, .modal-overlay-pass,
        .modal-overlay-settings, .modal-overlay-sharelink, .modal-overlay-sorting, .modal-overlay-upload-banner, .modal-overlay-wishlist-profile-cropper) {
        align-items: flex-end !important; padding: 0 !important;
    }
    :is(.modal-container-address, .modal-container-address-shared, .modal-container-categories, .modal-container-create-wish-item, .modal-container-description,
        .modal-container-pass, .modal-container-settings, .modal-container-sharelink, .modal-container-sorting, .modal-container-upload-banner, .modal-container-wishlist-profile-cropper) {
        max-width: none !important; border-radius: 22px 22px 0 0 !important; max-height: 92dvh !important; padding: 14px 20px calc(20px + env(safe-area-inset-bottom, 0px)) !important;
        animation: gh-sheet-up .22s ease-out;
    }
    :is(.modal-container-address, .modal-container-categories, .modal-container-create-wish-item, .modal-container-description, .modal-container-pass,
        .modal-container-settings, .modal-container-sharelink, .modal-container-sorting, .modal-container-upload-banner, .modal-container-wishlist-profile-cropper)::before {
        content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--gh-line); margin: 0 auto 10px;
    }
}
@keyframes gh-sheet-up { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .gh-toast { transition: none; } :is(.modal-container-settings, .modal-container-sharelink, .modal-container-create-wish-item) { animation: none !important; } }

/* ---------- Settings popup: free vs. locked ---------- */
.gh-settings { display: grid !important; gap: 12px !important; }
.gh-setting {
    display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 1.5px solid var(--gh-line); border-radius: 14px;
    background: #fff; text-align: left; cursor: pointer; font-family: var(--gh-font); transition: border-color .15s, background .15s;
}
.gh-setting:hover { border-color: var(--gh-ink); background: var(--gh-yellow-soft); }
.gh-setting-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--gh-yellow-soft); display: grid; place-items: center; flex: none; }
.gh-setting-icon .icon { width: 20px; height: 20px; }
.gh-setting-text { flex: 1; display: grid; gap: 2px; }
.gh-setting-text strong { font-size: 1.02rem; color: var(--gh-ink); }
.gh-setting-text span { font-size: .9rem; color: var(--gh-muted); line-height: 1.4; }
.gh-setting-chevron { flex: none; color: var(--gh-muted); }
.gh-locked { background: var(--gh-sky); border-radius: 14px; padding: 16px; display: grid; gap: 12px; }
.gh-locked-head { display: flex; align-items: center; gap: 8px; margin: 0 !important; font-weight: 700; color: var(--gh-ink); font-family: var(--gh-font); }
.gh-locked ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.gh-locked li { display: flex; align-items: center; gap: 10px; color: var(--gh-muted); font-family: var(--gh-font); font-size: .95rem; }
.gh-locked li .icon { width: 18px; height: 18px; opacity: .6; flex: none; }
.gh-locked .gh-btn { margin-top: 2px; }

/* Add/edit wish popup: compact header (title left, close right) and tabs */
.modal-create-wish-item-title { display: flex !important; flex-direction: row-reverse !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; margin: 0 0 12px !important; }
.modal-create-wish-item-title .create-wish-item-close-btn { margin: 0 !important; height: auto !important; }
.modal-create-wish-item-title .create-wish-item-title, .modal-create-wish-item-title .create-wish-item-title p { margin: 0 !important; text-align: left !important; font-size: 1.45rem !important; }
.modal-container-create-wish-tab { flex: 1 1 0; min-width: 0; }
.modal-container-create-wish-tabLinks { width: 100%; min-height: 44px !important; height: auto !important; padding: 8px 6px !important; justify-content: center !important; }
.modal-container-create-wish-tabLinks p { margin: 0 !important; font-size: .92rem !important; line-height: 1.25 !important; white-space: normal !important; text-align: center; color: inherit !important; }
/* Card menu opening upwards when there is no room below */
.gh-card-menu-list.gh-up { top: auto; bottom: 46px; }
/* card with an open menu must not clip it */
.wishlist-item-container:has(.gh-card-menu-list:not([hidden])) { position: relative; z-index: 20; }
.wishlist-item-container > .card:has(.gh-card-menu-list:not([hidden])) { overflow: visible !important; transform: none !important; }
/* popup footers are part of the flow (legacy positioned them absolutely over the content) */
:is(.modal-container-categories-buttons, .modal-container-description-buttons, .modal-container-sorting-buttons, .modal-container-upload-banner-buttons) {
    position: static !important; bottom: auto !important; left: auto !important; right: auto !important; width: auto !important;
}
.modal-container-create-wish-tabs-contents, .modal-create-wish-form-container { overflow: visible !important; height: auto !important; max-height: none !important; }
.modal-create-wish-bottom-buttons {
    position: static !important; bottom: auto !important; width: auto !important; display: flex !important; justify-content: flex-end !important; gap: 10px !important;
    border-top: 1px solid var(--gh-line) !important; padding: 14px 0 0 !important; margin-top: 16px !important; background: #fff !important; box-shadow: none !important;
}
.modal-container-create-wish-tabs-contents { padding-bottom: 0 !important; }
.modal-create-wish-form-container { flex-direction: column !important; gap: 10px !important; }
.product_add_manually { font-family: var(--gh-font) !important; font-weight: 600 !important; color: var(--gh-ink) !important; cursor: pointer; margin: 0 !important; }
:is(.modal-container-categories-btn-back, .modal-container-description-btn-back, .modal-container-sorting-btn-back, .modal-container-upload-banner-btn-back, .modal-container-categories-btn-save, .modal-container-description-btn-save, .modal-container-sorting-btn-save, .modal-container-upload-banner-btn-save), :is(.modal-container-categories-btn-back, .modal-container-categories-btn-save, .modal-container-description-btn-back, .modal-container-description-btn-save) :is(p, span) { font-size: 1rem !important; }

/* ==========================================================================
   Account area: list overviews, profile, password, onboarding popup
   ========================================================================== */
/* Page titles (my lists, shared lists, profile) */
.wishlists-overview-header, .profile-header {
    display: flex !important; align-items: center !important; gap: 14px !important; background: var(--gh-yellow-soft) !important;
    padding: 40px max(16px, calc((100% - 1108px) / 2)) 28px !important; margin: 0 !important; width: 100% !important; font-family: var(--gh-font);
}
.wishlists-overview-header .title, .profile-header .title { font-family: var(--gh-font) !important; font-weight: 700 !important; font-size: clamp(1.8rem, 4vw, 2.6rem) !important; color: var(--gh-ink) !important; line-height: 1.1 !important; }
.wishlists-overview-icon, .profile-icon { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid !important; place-items: center; flex: none; }
.wishlists-overview-icon .icon, .profile-icon .icon { width: 26px !important; height: 26px !important; }
/* Tabs as a segmented control */
.wishlists-overview-include { background: var(--gh-yellow-soft); padding: 0 max(16px, calc((100% - 1108px) / 2)) 22px; margin: 0 !important; }
.wishlists-overview-tabs-container, .profile-tabs-container {
    display: inline-flex !important; gap: 4px !important; padding: 4px !important; background: #fff !important; border-radius: 12px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06); width: auto !important; margin: 0 !important; border: 0 !important;
}
.wishlists-overview-tab, .profile-tab {
    padding: 10px 18px !important; border-radius: 9px !important; border: 0 !important; background: transparent !important; cursor: pointer;
    font-family: var(--gh-font) !important; font-weight: 600 !important; font-size: 1rem !important; color: var(--gh-muted) !important; text-decoration: none !important; box-shadow: none !important;
}
.wishlists-overview-tab span, .profile-tab span { color: inherit !important; border: 0 !important; padding: 0 !important; }
.wishlists-overview-tab.active, .profile-tab.active { background: var(--gh-yellow) !important; color: var(--gh-ink) !important; }
.wishlists-overview-tab::after, .profile-tab::after, .wishlists-overview-tab span::after { display: none !important; }
.profile-tabs-container { margin: 0 0 8px !important; }
.profile-container .profile-tabs-container { display: flex !important; width: fit-content !important; margin: 0 auto 24px !important; }

/* Overview grid + cards */
.whishlists-overview-container, .wishlists-overview-page, .wishlists-shared-overview { max-width: 1140px; margin: 0 auto; padding: 28px 16px 56px; }
.wishlists-overview-card > .card, .whislist-custom-card, .wishlists-shared-card > .card {
    border: 1px solid var(--gh-line) !important; border-radius: var(--gh-radius) !important; box-shadow: 0 2px 10px rgba(36, 37, 38, .06) !important;
    transition: box-shadow .15s, transform .15s; overflow: hidden; background: #fff !important;
}
.wishlists-overview-card:hover > .card { box-shadow: var(--gh-shadow-lg) !important; transform: translateY(-2px); cursor: pointer; }
.whislist-custom-card { border: 2px dashed #E9D27A !important; background: #FFFCEF !important; box-shadow: none !important; }
.whislist-custom-card:hover { background: var(--gh-yellow-soft) !important; border-color: var(--gh-yellow-deep) !important; }
.wishlists-overview-card .rounded-circle { border: 4px solid #fff !important; box-shadow: 0 6px 18px rgba(36, 37, 38, .14) !important; }
.wishlists-overview-card-title p, .card-info-owner-name, .card-info-owner-name p { font-family: var(--gh-font) !important; font-weight: 700 !important; color: var(--gh-ink) !important; font-size: 1.1rem !important; }
.wishlists-overview-card-buttons { display: flex !important; gap: 8px !important; justify-content: center !important; }
.wishlists-overview-card-btn-share, .wishlists-overview-card-btn-delete {
    height: 40px !important; min-width: 0 !important; padding: 0 14px !important; border-radius: 10px !important; box-shadow: none !important;
    display: inline-flex !important; align-items: center !important; gap: 6px !important; font-family: var(--gh-font) !important; font-weight: 700 !important;
}
.wishlists-overview-card-btn-share { border: 1.5px solid var(--gh-ink) !important; background: #fff !important; color: var(--gh-ink) !important; }
.wishlists-overview-card-btn-share:hover { background: var(--gh-yellow-soft) !important; }
.wishlists-overview-card-btn-delete { border: 1.5px solid #F3C4BF !important; background: #FFF5F4 !important; color: #B3261E !important; }
.wishlists-overview-card-btn-delete:hover { background: #FDE7E4 !important; }
.wishlists-overview-card-btn-share p, .wishlists-overview-card-btn-delete p { margin: 0 !important; color: inherit !important; font-size: .9rem !important; }
.wishlists-overview-card-btn-share .icon, .wishlists-overview-card-btn-delete .icon { width: 16px !important; height: 16px !important; }
.card-wishlist-info-btn { width: 36px !important; height: 36px !important; border-radius: 50% !important; border: 0 !important; background: var(--gh-sky) !important; display: grid !important; place-items: center !important; }
.wishlists-shared-card-add-url input, .url-card input { border: 1.5px solid var(--gh-line) !important; border-radius: 12px !important; min-height: 46px; font-family: var(--gh-font) !important; }

/* Profile page */
.profile-container { max-width: 760px !important; margin: 0 auto !important; padding: 0 16px 56px !important; font-family: var(--gh-font); }
.profile-container > .profile-header { margin: 0 calc(50% - 50vw) 24px !important; width: 100vw !important; padding-left: max(16px, calc((100vw - 728px) / 2)) !important; }
.profile-photo-Cotainer { border: 5px solid #fff !important; box-shadow: 0 8px 24px rgba(36, 37, 38, .14) !important; }
.profile-container .form-control, .profile-container input[type="text"], .profile-container input[type="email"], .profile-container input[type="password"], .profile-container select {
    height: 48px !important; border: 1.5px solid var(--gh-line) !important; border-radius: 12px !important; font-family: var(--gh-font) !important;
    font-size: 1rem !important; color: var(--gh-ink) !important; box-shadow: none !important; padding: 0 14px !important;
}
.profile-container .form-control:focus, .profile-container input:focus { border-color: var(--gh-ink) !important; box-shadow: 0 0 0 4px var(--gh-yellow-soft) !important; outline: none !important; }
.profile-container label { font-family: var(--gh-font) !important; font-weight: 600 !important; color: var(--gh-ink) !important; }
.update-profile button[type="submit"], .update-password-btn, .change-password-form button[type="submit"], main .container form button.btn-danger {
    height: 48px !important; padding: 0 24px !important; border-radius: .63rem !important; border: 0 !important; background: var(--gh-green) !important;
    color: #fff !important; font-family: var(--gh-font) !important; font-weight: 700 !important; box-shadow: 0 4px 0 rgba(0, 0, 0, .12) !important;
}
.delete-account-form button[type="submit"], .delete-account-container .btn { height: 48px !important; padding: 0 24px !important; border-radius: .63rem !important; border: 0 !important; background: #C62828 !important; color: #fff !important; font-weight: 700 !important; box-shadow: none !important; }

/* Legacy profile sub pages (change password / delete account) */
.list-group.rounded-xl { border-radius: var(--gh-radius) !important; overflow: hidden; border: 1px solid var(--gh-line); box-shadow: none !important; }
.list-group.rounded-xl .list-group-item { border: 0 !important; border-bottom: 1px solid var(--gh-line) !important; font-family: var(--gh-font); font-weight: 600; color: var(--gh-ink); }
.list-group.rounded-xl .list-group-item.active { background: var(--gh-yellow) !important; color: var(--gh-ink) !important; }
main .container .form-label-group .form-control { height: 48px; border-radius: 12px; border: 1.5px solid var(--gh-line); }
main .container .btn-danger, main .container form .btn-light.rounded-pill { border-radius: .63rem !important; font-weight: 700; }

/* Onboarding popup "Für welches Event ..." */
#wishlist-event-popup .modal { background: rgba(36, 37, 38, .55) !important; overflow: auto !important; }
#wishlist-event-popup .modal-content {
    border: 0 !important; border-top: 6px solid var(--gh-yellow) !important; border-radius: var(--gh-radius-lg) !important;
    box-shadow: 0 24px 64px rgba(36, 37, 38, .22) !important; padding: 12px 10px 16px; font-family: var(--gh-font);
}
#wishlist-event-popup .modal-header { border: 0 !important; padding-bottom: 6px !important; }
#wishlist-event-popup .modal-title { font-family: var(--gh-font) !important; font-weight: 700 !important; font-size: 1.45rem !important; line-height: 1.25 !important; color: var(--gh-ink) !important; }
#wishlist-event-popup select.form-control { height: 50px !important; border: 1.5px solid var(--gh-line) !important; border-radius: 12px !important; font-family: var(--gh-font) !important; font-size: 1rem !important; }
#wishlist-event-popup .ageCard, #wishlist-event-popup .cardGender { border: 1.5px solid var(--gh-line) !important; border-radius: 14px !important; box-shadow: none !important; transition: border-color .15s, background .15s; }
#wishlist-event-popup .ageCard:hover, #wishlist-event-popup .cardGender:hover { border-color: var(--gh-ink) !important; background: var(--gh-yellow-soft) !important; }
#wishlist-event-popup .ageCardTxt { font-family: var(--gh-font) !important; font-weight: 600 !important; color: var(--gh-ink) !important; }
#wishlist-event-popup .modal-body-footer, #wishlist-event-popup .modal-body p { font-family: var(--gh-font) !important; color: var(--gh-muted) !important; }
@media (max-width: 767px) {
    .wishlists-overview-header, .profile-header { padding-top: 28px !important; padding-bottom: 20px !important; }
    .wishlists-overview-tabs-container, .profile-tabs-container { display: flex !important; width: 100% !important; }
    .wishlists-overview-tab, .profile-tab { flex: 1; text-align: center; padding: 10px 8px !important; font-size: .95rem !important; }
}

.wishlists-overview-tabs-container, .profile-tabs-container { flex: none !important; max-width: 100%; }
.wishlists-overview-tab, .profile-tab { width: auto !important; flex: none !important; white-space: nowrap !important; }
.update-profile button[type="submit"] i { display: none !important; }
@media (max-width: 767px) { .wishlists-overview-tab, .profile-tab { flex: 1 1 0 !important; white-space: normal !important; } }

/* Add-wish popup: legacy JS forces a 30rem height on the fetched-product form */
#product_details, .product_details_form { height: auto !important; max-height: none !important; overflow: visible !important; }

/* Guest view: owner's description tile as a calm note */
.shared-wishlist-description-cls > .card { background: #FFFCEF !important; border-color: #F3E7B0 !important; }
.shared-wishlist-description-cls .card-body { padding: 22px !important; height: 100%; }
.shared-wishlist-description-card { display: flex !important; flex-direction: column !important; gap: 16px !important; height: 100% !important; border: 0 !important; background: none !important; padding: 0 !important; }
.shared-wishlist-description-top { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 12px !important; height: auto !important; }
.shared-wishlist-description-profile-img { width: 44px !important; height: 44px !important; border-radius: 50% !important; overflow: hidden; background: #fff !important; border: 2px solid var(--gh-yellow) !important; flex: none; display: grid; place-items: center; margin: 0 !important; }
.shared-wishlist-description-profile-img img { width: 100% !important; height: 100% !important; object-fit: cover; }
.shared-wishlist-description-profile-txt { background: none !important; border: 0 !important; padding: 0 !important; height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; margin: 0 !important; width: auto !important; }
.shared-wishlist-description-profile-txt p:first-child { font-family: var(--gh-font) !important; font-weight: 700 !important; font-size: .95rem !important; color: var(--gh-muted) !important; margin: 0 0 6px !important; }
.shared-wishlist-description-profile-txt p:last-child { font-family: var(--gh-font) !important; font-size: 1.15rem !important; line-height: 1.5 !important; color: var(--gh-ink) !important; margin: 0 !important; position: relative; padding-left: 0; }
.shared-wishlist-description-profile-txt p:last-child::before { content: "„"; font-weight: 700; color: var(--gh-yellow-deep); margin-right: 2px; }
.shared-wishlist-description-profile-txt p:last-child::after { content: "“"; font-weight: 700; color: var(--gh-yellow-deep); margin-left: 1px; }
.shared-wishlist-description-buttons { margin-top: auto !important; display: grid !important; gap: 6px !important; justify-items: start !important; }
.shared-wishlist-description-buttons button {
    height: 38px !important; width: auto !important; padding: 0 14px !important; border: 1.5px solid var(--gh-line) !important; border-radius: 10px !important;
    background: #fff !important; box-shadow: none !important; display: inline-flex !important; align-items: center !important;
}
.shared-wishlist-description-buttons button:hover { border-color: var(--gh-ink) !important; background: #fff !important; }
.shared-wishlist-description-buttons button p { display: inline-flex !important; align-items: center !important; gap: 8px !important; margin: 0 !important; font-family: var(--gh-font) !important; font-size: .92rem !important; font-weight: 700 !important; color: var(--gh-ink) !important; }
.shared-wishlist-description-buttons button .icon { width: 18px !important; height: 18px !important; }
.shared-wishlist-description-buttons > p { font-family: var(--gh-font) !important; font-size: .82rem !important; color: var(--gh-subtle) !important; margin: 0 !important; line-height: 1.4 !important; }

/* ==========================================================================
   Viewer (friends & family): card actions, fulfil form, fulfilled state
   ========================================================================== */
.card-bottom-buttons, .guest-show-card-bottom-buttons {
    display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; padding: 0 16px 16px !important; margin: 0 !important; width: 100% !important;
}
.card-bottom-buttons > a, .card-bottom-buttons > button {
    display: inline-flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
    height: 44px !important; width: 100% !important; min-width: 0 !important; padding: 0 10px !important; margin: 0 !important;
    border-radius: 10px !important; font-family: var(--gh-font) !important; text-decoration: none !important; cursor: pointer; transition: background .15s, border-color .15s;
}
.card-bottom-buttons > a { border: 1.5px solid var(--gh-ink) !important; background: #fff !important; color: var(--gh-ink) !important; }
.card-bottom-buttons > a:hover { background: var(--gh-yellow-soft) !important; }
.card-bottom-buttons > button { border: 1.5px solid var(--gh-green) !important; background: var(--gh-green) !important; color: #fff !important; box-shadow: 0 3px 0 rgba(0, 0, 0, .12) !important; }
.card-bottom-buttons > button:hover { background: var(--gh-green-hover) !important; border-color: var(--gh-green-hover) !important; }
.card-bottom-buttons > * p { margin: 0 !important; font-size: .95rem !important; font-weight: 700 !important; color: inherit !important; line-height: 1 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-bottom-buttons > * .icon { width: 18px !important; height: 18px !important; flex: none; margin: 0 !important; }
.card-bottom-buttons > * .icon + .icon { display: none !important; }
.card-bottom-buttons > * .icon:first-of-type { display: inline-block !important; }
.card-bottom-buttons > button .icon { filter: brightness(0) invert(1); }

/* "Mark as fulfilled" form on the card */
.shared-wishlist-mark-fulfilled { padding: 16px !important; gap: 10px; }
.shared-mark-fulfilled-title { font-family: var(--gh-font) !important; font-weight: 700 !important; font-size: 1.05rem !important; color: var(--gh-ink) !important; margin: 0 0 10px !important; text-align: left !important; }
.shared-mark-fulfilled-input { display: flex !important; gap: 8px !important; border: 0 !important; background: none !important; padding: 0 !important; box-shadow: none !important; height: auto !important; }
.shared-mark-fulfilled-input input {
    flex: 1; min-width: 0; height: 46px !important; border: 1.5px solid var(--gh-line) !important; border-radius: 12px !important; padding: 0 14px !important;
    font-family: var(--gh-font) !important; font-size: 1rem !important; color: var(--gh-ink) !important; background: #fff !important; box-shadow: none !important;
}
.shared-mark-fulfilled-input input:focus { outline: none !important; border-color: var(--gh-ink) !important; box-shadow: 0 0 0 4px var(--gh-yellow-soft) !important; }
.shared-mark-fulfilled-input button {
    flex: none; width: 46px !important; height: 46px !important; border-radius: 12px !important; border: 0 !important; background: var(--gh-green) !important;
    display: grid !important; place-items: center !important; padding: 0 !important; box-shadow: 0 3px 0 rgba(0, 0, 0, .12) !important; cursor: pointer;
}
.shared-mark-fulfilled-input button:hover { background: var(--gh-green-hover) !important; }
.shared-mark-fulfilled-input button .icon { display: none !important; }
.shared-mark-fulfilled-input button::after {
    content: ""; width: 22px; height: 22px; display: block;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.shared-wishlist-mark-fulfilled .modal-close-container { position: absolute; top: 8px; right: 8px; margin: 0 !important; z-index: 2; }
.bottom-unfufill-txt, .shared-mark-fulfilled-buttons > p:last-child { font-family: var(--gh-font) !important; font-size: .85rem !important; color: var(--gh-subtle) !important; line-height: 1.4 !important; margin-top: 8px !important; }

/* Fulfilled wishes: name chip inside the card, calmer look */
.show-wishlist .wrap-item, .show-wishlist .wrap { position: absolute !important; top: 12px !important; left: 12px !important; width: auto !important; height: auto !important; overflow: visible !important; z-index: 2; }
.show-wishlist .ribbon {
    position: static !important; transform: none !important; display: inline-flex !important; align-items: center; gap: 6px; height: 26px !important; padding: 0 10px !important;
    border-radius: 8px !important; background: var(--gh-ink) !important; color: #fff !important; font-family: var(--gh-font) !important; font-size: .82rem !important; font-weight: 700 !important;
    line-height: 1 !important; box-shadow: none !important; width: auto !important; top: auto !important; left: auto !important;
}
.show-wishlist .ribbon::before, .show-wishlist .ribbon::after { display: none !important; }
.show-wishlist .ribbon span { color: inherit !important; display: inline-flex; align-items: center; gap: 6px; }
.show-wishlist .ribbon:has(.icon) { background: #E3F5E6 !important; color: #1E6B2C !important; }
.show-wishlist .ribbon .icon { width: 14px !important; height: 14px !important; display: none !important; }
.show-wishlist .ribbon:has(.icon) > span:first-child::before { content: "✓"; font-weight: 700; }
.show-wishlist .ribbon.gh-qty-one { display: none !important; }
.shared-wishlist-mark-unfulfill-bottom button, .shared-wishlist-view-fulfilled .card-bottom-buttons > button {
    border: 1.5px solid var(--gh-line) !important; background: #fff !important; color: var(--gh-ink) !important; box-shadow: none !important;
}
.shared-wishlist-view-fulfilled .card-bottom-buttons > button .icon { filter: none; }
/* stronger anchoring for fulfilled cards (legacy rules are more specific there) */
#contents .wrap-item, #contents .wrap { position: absolute !important; top: 12px !important; left: 12px !important; right: auto !important; width: auto !important; height: auto !important; overflow: visible !important; z-index: 2 !important; }
#contents .ribbon {
    position: static !important; transform: none !important; display: inline-flex !important; align-items: center !important; gap: 6px !important; height: 26px !important;
    padding: 0 10px !important; border-radius: 8px !important; background: var(--gh-ink) !important; color: #fff !important; font-family: var(--gh-font) !important;
    font-size: .82rem !important; font-weight: 700 !important; line-height: 1 !important; box-shadow: none !important; width: auto !important; top: auto !important; left: auto !important;
}
#contents .ribbon::before, #contents .ribbon::after { display: none !important; }
#contents .ribbon span { color: inherit !important; display: inline-flex !important; align-items: center; gap: 6px; }
#contents .ribbon:has(.icon) { background: #E3F5E6 !important; color: #1E6B2C !important; }
#contents .ribbon .icon { display: none !important; }
#contents .ribbon:has(.icon) > span:first-child::before { content: "✓"; font-weight: 700; }
#contents .ribbon.gh-qty-one { display: none !important; }

/* Viewer card buttons: own line icons in currentColor (legacy SVGs were white-on-white) */
#contents .card-bottom-buttons > * .icon { display: none !important; }
#contents .card-bottom-buttons > a::before, #contents .card-bottom-buttons > button::before {
    content: "" !important; display: block !important; position: static !important; width: 18px !important; height: 18px !important; flex: none;
    background: currentColor !important; border: 0 !important; opacity: 1 !important; transform: none !important;
    -webkit-mask: var(--gh-ico) center / contain no-repeat; mask: var(--gh-ico) center / contain no-repeat;
}
#contents .card-bottom-buttons > a { --gh-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E"); }
#contents .card-bottom-buttons > button { --gh-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7M7.5 8a2.5 2.5 0 0 1 0-5C11 3 12 8 12 8s1-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E"); }
#contents .shared-wishlist-view-fulfilled .card-bottom-buttons > button { --gh-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14L4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 0 11H11'/%3E%3C/svg%3E"); }
#contents .shared-wishlist-view-fulfilled .card-bottom-buttons > button:hover { background: var(--gh-yellow-soft) !important; border-color: var(--gh-ink) !important; }

/* Viewer empty states (all wishes taken / no wishes / nothing fulfilled yet) */
.gh-viewer-empty[hidden] { display: none !important; }
.gh-viewer-empty {
    max-width: 560px; margin: 8px auto 64px; padding: 40px 28px; text-align: center; font-family: var(--gh-font); color: var(--gh-ink);
    background: #fff; border: 1px solid var(--gh-line); border-radius: var(--gh-radius-lg);
}
.gh-viewer-empty__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--gh-yellow-soft); color: var(--gh-ink); }
.gh-viewer-empty__icon svg { width: 30px; height: 30px; }
#gh-empty-all-done .gh-viewer-empty__icon { background: #E3F5E6; color: #1E6B2C; }
.gh-viewer-empty h2 { font-family: var(--gh-font); font-size: 1.45rem; font-weight: 700; line-height: 1.25; margin: 0 0 10px; color: var(--gh-ink); }
.gh-viewer-empty p { font-size: 1.02rem; line-height: 1.55; color: var(--gh-muted); margin: 0 auto 24px; max-width: 42ch; }
.gh-viewer-empty__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.gh-viewer-empty__actions .gh-btn { font-size: 1rem; padding: .75rem 1.3rem; }
@media (max-width: 575.98px) {
    .gh-viewer-empty { margin: 4px 16px 48px; padding: 32px 20px; }
    .gh-viewer-empty h2 { font-size: 1.25rem; }
    .gh-viewer-empty__actions { flex-direction: column; }
    .gh-viewer-empty__actions .gh-btn { width: 100%; }
}
/* inline copy sits in the flex card row */
.gh-viewer-empty--inline { flex: 1 1 360px; max-width: 640px; margin: 0 auto !important; display: flex; flex-direction: column; align-items: center; justify-content: center; }
#contents .shared-wishlists-unfulfilled:has(.shared-wishlist-description-cls) > .gh-viewer-empty--inline { margin: 0 !important; max-width: none; }
.gh-viewer-empty[data-state="gh-empty-all-done"] .gh-viewer-empty__icon { background: #E3F5E6; color: #1E6B2C; }
@media (max-width: 575.98px) { .gh-viewer-empty--inline { margin: 0 !important; flex-basis: 100%; } }
@media (max-width: 575.98px) { .gh-viewer-empty--inline { order: -1; } }

/* Viewer header actions (Beschreibung / Adresse): real outlined buttons instead of tiny sprite icons */
.show-wishlist-header-btn { display: flex !important; flex-wrap: wrap; justify-content: flex-end !important; align-items: center !important; gap: 8px !important; padding: 0 !important; min-height: 0 !important; }
.show-wishlist-header-btn button {
    display: inline-flex !important; flex-direction: row !important; align-items: center !important; gap: 8px !important; height: 40px; padding: 0 14px !important;
    border: 1.5px solid var(--gh-ink) !important; border-radius: 10px !important; background: #fff !important; color: var(--gh-ink) !important; cursor: pointer;
    font-family: var(--gh-font) !important; transition: background .15s;
}
.show-wishlist-header-btn button:hover { background: var(--gh-yellow-soft) !important; }
.show-wishlist-header-btn button:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--gh-yellow-soft); }
.show-wishlist-header-btn .gh-hdr-ico { width: 18px; height: 18px; flex: none; }
.show-wishlist-header-btn button p { margin: 0 !important; font-size: .95rem !important; font-weight: 700 !important; line-height: 1 !important; color: inherit !important; }
@media (max-width: 767.98px) { .show-wishlist-header-btn { justify-content: center !important; margin-top: 12px; } }
.show-wishlist-header-btn .gh-hdr-ico { fill: none !important; stroke: currentColor !important; }
@media (max-width: 767.98px) { .show-wishlist-header-btn { order: 10 !important; width: 100% !important; flex: 1 1 100% !important; margin: 12px 0 4px !important; } }
/* Viewer description popup: plain readable text instead of a read-only textarea */
.modal-container-description-text .gh-desc-text {
    font-family: var(--gh-font); font-size: 1.05rem; line-height: 1.6; color: var(--gh-ink); text-align: left; white-space: normal; overflow-wrap: anywhere;
    background: var(--gh-yellow-soft); border-radius: 12px; padding: 16px 18px; width: 100%; max-height: 55vh; overflow-y: auto;
}
.modal-container-description-text { width: 100% !important; display: block !important; }
.modal-container-description-title p { text-align: left !important; }

/* ---------- Round photo cropper (wishlist photo + profile photo) ---------- */
.gh-crop { max-width: 30rem !important; }
.gh-crop__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.gh-crop__head h2 { font-family: var(--gh-font); font-weight: 700; font-size: 1.4rem; line-height: 1.2; margin: 0; color: var(--gh-ink); }
.gh-crop__close { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; background: var(--gh-sky); display: grid; place-items: center; cursor: pointer; color: var(--gh-ink); }
.gh-crop__close svg { width: 18px; height: 18px; }
.gh-crop__close:hover { background: var(--gh-blue-soft); }
.gh-crop__hint { font-size: .95rem; line-height: 1.45; color: var(--gh-muted); margin: 0 0 14px; }
.gh-crop__stage {
    position: relative; width: min(100%, 420px, calc(100dvh - 340px)); min-width: 240px; aspect-ratio: 1 / 1; margin: 0 auto;
    border-radius: 16px; overflow: hidden; background: #2A2B2D; touch-action: none;
}
.gh-crop__stage > img { display: block; max-width: 100%; opacity: 0; }
.gh-crop__stage .cropper-container { border-radius: 16px; }
.gh-crop__stage .cropper-modal { background: #17181A; opacity: .62; }
.gh-crop--round .gh-crop__stage .cropper-view-box, .gh-crop--round .gh-crop__stage .cropper-face { border-radius: 50%; }
.gh-crop--banner .gh-crop__stage { aspect-ratio: 2 / 1; width: 100%; min-width: 0; }
.gh-crop--banner .gh-crop__tools { width: 100%; }
.gh-crop__stage .cropper-view-box { border-radius: 6px; }
.gh-crop__stage .cropper-view-box { outline: 0; box-shadow: 0 0 0 2px rgba(255, 255, 255, .95), 0 0 0 9999px rgba(0, 0, 0, 0); }
.gh-crop__stage .cropper-face { background: transparent; cursor: grab; }
.gh-crop__stage .cropper-face:active { cursor: grabbing; }
.gh-crop__stage .cropper-line, .gh-crop__stage .cropper-point, .gh-crop__stage .cropper-dashed, .gh-crop__stage .cropper-center { display: none !important; }
.gh-crop__loading { position: absolute; inset: 0; display: grid; place-items: center; }
.gh-crop__loading span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: gh-spin .8s linear infinite; }
@keyframes gh-spin { to { transform: rotate(360deg); } }
.gh-crop__tools { display: flex; align-items: center; gap: 10px; width: min(100%, 420px); margin: 14px auto 0; }
.gh-crop__tools input[type=range] { flex: 1; min-width: 0; height: 28px; accent-color: var(--gh-ink); cursor: pointer; margin: 0; }
.gh-crop__icon-btn {
    width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1.5px solid var(--gh-line); background: #fff; color: var(--gh-ink);
    display: grid; place-items: center; cursor: pointer; padding: 0; transition: border-color .15s, background .15s;
}
.gh-crop__icon-btn svg { width: 18px; height: 18px; }
.gh-crop__icon-btn:hover { border-color: var(--gh-ink); background: var(--gh-yellow-soft); }
.gh-crop__sep { width: 1px; height: 24px; background: var(--gh-line); flex: none; }
.gh-crop__error { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #FDECEC; color: #A3241F; font-size: .95rem; line-height: 1.4; }
.gh-crop__error[hidden] { display: none; }
.gh-crop__foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.gh-crop__foot .gh-btn { font-size: 1rem; padding: .7rem 1.4rem; }
.gh-crop__foot .gh-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.gh-crop__foot .gh-btn.is-busy { cursor: progress; }
@media (max-width: 575px) {
    .gh-crop__foot { display: grid; grid-template-columns: 1fr 1fr; }
    .gh-crop__head h2 { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .gh-crop__loading span { animation-duration: 2s; } }

/* ---------- Banner picker (account wishlists) ---------- */
.gh-banner { max-width: 40rem !important; }
.gh-banner__tabs { display: flex; gap: 4px; border-bottom: 1.5px solid var(--gh-line); margin: 6px 0 14px; overflow-x: auto; scrollbar-width: none; }
.gh-banner__tabs::-webkit-scrollbar { display: none; }
.gh-banner__tab {
    flex: none; border: 0; background: none; padding: 10px 12px; margin-bottom: -1.5px; font-family: var(--gh-font); font-size: .98rem; font-weight: 600;
    color: var(--gh-muted); border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap;
}
.gh-banner__tab:hover { color: var(--gh-ink); }
.gh-banner__tab.is-active { color: var(--gh-ink); font-weight: 700; border-bottom-color: var(--gh-yellow); }
.gh-banner__list { display: grid; gap: 10px; }
.gh-banner__list[hidden] { display: none; }
.gh-banner__option {
    position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 12px; overflow: hidden;
    aspect-ratio: 1128 / 191; outline: 3px solid transparent; outline-offset: 2px; transition: outline-color .15s;
}
.gh-banner__option img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gh-banner__option:hover { outline-color: var(--gh-line); }
.gh-banner__option.is-selected { outline-color: var(--gh-yellow); }
.gh-banner__option:focus-visible { outline-color: var(--gh-ink); }
.gh-banner__check {
    position: absolute; top: 50%; right: 12px; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--gh-yellow);
    color: var(--gh-ink); display: none; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.gh-banner__check svg { width: 16px; height: 16px; }
.gh-banner__option.is-selected .gh-banner__check { display: grid; }
.gh-banner__option.is-current::after {
    content: ""; position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9);
}
.gh-banner__upload {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 14px 0 0; padding: 14px; border: 1.5px dashed #C9D2DB;
    border-radius: 12px; background: #fff; color: var(--gh-ink); font-family: var(--gh-font); font-weight: 700; font-size: 1rem; cursor: pointer; transition: border-color .15s, background .15s;
}
.gh-banner__upload:hover { border-color: var(--gh-ink); background: var(--gh-yellow-soft); }
.gh-banner__upload svg { width: 20px; height: 20px; flex: none; }
.gh-banner__crop[hidden], .gh-banner__pick[hidden] { display: none; }

/* ---------- Editor header actions (Teilen / Einstellungen) ---------- */
.wishlist-create-settings-container.gh-editor-actions { display: flex !important; flex-wrap: wrap; justify-content: flex-end !important; align-items: center !important; gap: 8px !important; padding: 0 !important; }
.gh-editor-actions .gh-editor-btn {
    display: inline-flex !important; flex-direction: row !important; align-items: center !important; gap: 8px !important; height: 42px; padding: 0 16px !important;
    border: 1.5px solid var(--gh-ink) !important; border-radius: 10px !important; background: #fff !important; color: var(--gh-ink) !important;
    font-family: var(--gh-font) !important; font-size: .98rem !important; font-weight: 700 !important; line-height: 1 !important; cursor: pointer; transition: background .15s, transform .15s;
}
.gh-editor-actions .gh-editor-btn:hover { background: var(--gh-yellow-soft) !important; }
.gh-editor-actions .gh-editor-btn--primary { background: var(--gh-green) !important; border-color: var(--gh-green) !important; color: #fff !important; box-shadow: 0 3px 0 rgba(0, 0, 0, .12) !important; }
.gh-editor-actions .gh-editor-btn--primary:hover { background: var(--gh-green-hover) !important; border-color: var(--gh-green-hover) !important; }
.gh-editor-actions .gh-editor-btn svg { width: 18px; height: 18px; flex: none; fill: none !important; stroke: currentColor !important; }
.gh-editor-actions .gh-editor-btn span { color: inherit !important; }
.gh-editor-actions .gh-editor-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--gh-yellow-soft) !important; }
@media (max-width: 767.98px) {
    .wishlist-create-settings-container.gh-editor-actions { justify-content: center !important; width: 100% !important; margin: 12px 0 4px !important; order: 10; }
    .gh-editor-actions .gh-editor-btn { flex: 1 1 0; justify-content: center; max-width: 220px; }
}

/* ---------- Private edit link notice (guest lists) ---------- */
.gh-private {
    display: flex; gap: 14px; align-items: flex-start; max-width: 1140px; margin: 12px auto 8px; padding: 16px 18px; font-family: var(--gh-font);
    background: #FFFBEA; border: 1.5px solid #F5E3A3; border-radius: 16px; color: var(--gh-ink);
}
.gh-private__icon { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--gh-yellow); color: var(--gh-ink); display: grid; place-items: center; }
.gh-private__icon svg { width: 20px; height: 20px; }
.gh-private__body { flex: 1; min-width: 0; }
.gh-private h2 { font-family: var(--gh-font); font-size: 1.08rem; font-weight: 700; line-height: 1.3; margin: 2px 0 4px; color: var(--gh-ink); }
.gh-private p { margin: 0; font-size: .97rem; line-height: 1.5; color: var(--gh-muted); max-width: 70ch; }
.gh-private__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gh-private__actions .gh-btn { gap: 8px; }
.gh-private__actions .gh-btn svg { width: 16px; height: 16px; }
.gh-private__actions .gh-btn--ghost { background: #fff; }
.gh-private__mail { margin-top: 12px; }
.gh-private__mail[hidden] { display: none; }
.gh-private__mail-row { display: flex; gap: 8px; max-width: 460px; }
.gh-private__mail-row input {
    flex: 1; min-width: 0; height: 42px; border: 1.5px solid var(--gh-line); border-radius: 10px; padding: 0 12px; background: #fff;
    font-family: var(--gh-font); font-size: 1rem; color: var(--gh-ink);
}
.gh-private__mail-row input:focus { outline: none; border-color: var(--gh-ink); box-shadow: 0 0 0 4px var(--gh-yellow-soft); }
.gh-private .gh-private__note { font-size: .85rem; color: var(--gh-subtle); margin-top: 6px; }
.gh-private .gh-private__status { margin-top: 8px; font-size: .95rem; font-weight: 600; color: #A3241F; }
.gh-private .gh-private__status.is-ok { color: #1E6B2C; }
.gh-private__status[hidden] { display: none; }
@media (max-width: 575px) {
    .gh-private { margin: 12px 16px 8px; padding: 14px; gap: 12px; }
    .gh-private__icon { width: 34px; height: 34px; }
    .gh-private__actions .gh-btn { flex: 1 1 auto; }
    .gh-private__actions .gh-btn--yellow { flex-basis: 100%; }
}
/* fixes: mail row on phones, editor actions side by side on desktop */
.gh-private__mail-row .gh-btn { flex: none !important; }
.gh-private__mail-row input { flex: 1 1 auto; width: 100%; }
@media (min-width: 768px) {
    .wishlist-create-settings-container.gh-editor-actions { flex: 0 0 auto !important; width: auto !important; flex-wrap: nowrap; align-self: flex-start; margin-top: 10px !important; }
}
/* editor on phones: title starts below the profile circle instead of under it */
@media (max-width: 767.98px) { .wishlist-meta > .wishlist-meta-container { padding-top: 52px !important; } }
.gh-private .gh-private__mail-row .gh-btn { width: auto !important; flex: 0 0 auto !important; padding-left: 1.1rem; padding-right: 1.1rem; }
.gh-private .gh-private__mail-row input { flex: 1 1 0 !important; min-width: 0 !important; }

/* ---------- Viewer: chat panel on a wish card ---------- */
#contents :is(.shared-wishlist-unfulfilled-chat-view, .shared-wishlist-chat-fulfilled-view) { padding: 14px 16px 16px !important; gap: 10px !important; }
#contents .shared-wishlist-chat-title { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 10px !important; margin: 0 !important; }
#contents .shared-wishlist-chat-title p { margin: 0 !important; font-family: var(--gh-font) !important; font-weight: 700 !important; font-size: 1.05rem !important; text-align: left !important; color: var(--gh-ink) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#contents .shared-wishlist-chat-title .modal-close-container { position: static !important; margin: 0 !important; flex: none; }
#contents :is(.shared-wishlist-chat-container, .shared-wishlist-chat-container-fulfilled) { flex: 1 1 auto; min-height: 0; }
#contents .chat-item-no-message { display: flex !important; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; height: 100%; padding: 16px 8px; }
#contents .chat-item-no-message::before {
    content: ""; width: 52px; height: 52px; border-radius: 50%; flex: none;
    background: var(--gh-yellow-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23242526' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H8l-5 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3Cpath d='M8 8.5h8M8 12.5h5'/%3E%3C/svg%3E") center / 24px no-repeat;
}
#contents .chat-item-no-message p { margin: 0 !important; font-family: var(--gh-font) !important; font-size: .98rem !important; line-height: 1.45 !important; color: var(--gh-muted) !important; max-width: 28ch; }
#contents .shared-wishlist-chat-login { display: grid !important; gap: 8px !important; margin: 0 !important; padding: 0 !important; }
#contents .shared-wishlist-chat-login button {
    width: 100% !important; height: 44px !important; border: 0 !important; border-radius: 10px !important; background: var(--gh-yellow) !important; color: var(--gh-ink) !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; box-shadow: 0 3px 0 rgba(0, 0, 0, .12) !important; cursor: pointer;
}
#contents .shared-wishlist-chat-login button:hover { background: var(--gh-yellow-deep) !important; }
#contents .shared-wishlist-chat-login button span { color: inherit !important; font-family: var(--gh-font) !important; font-weight: 700 !important; font-size: .98rem !important; }
#contents .shared-wishlist-chat-login button .icon { width: 16px !important; height: 16px !important; filter: brightness(0) !important; }
#contents .shared-wishlist-chat-login p { margin: 0 !important; font-size: .85rem !important; line-height: 1.4 !important; color: var(--gh-subtle) !important; text-align: center !important; }
#contents .shared-wishlist-chat-title p { flex: 1 1 auto; min-width: 0; display: block !important; visibility: visible !important; opacity: 1 !important; }
#contents .shared-wishlist-chat-login, #contents .shared-wishlist-chat-reload-container, #contents .shared-wishlist-chat-input { width: auto !important; max-width: 100% !important; box-sizing: border-box !important; }
#contents .shared-wishlist-chat-title p { flex: 1 1 0 !important; width: auto !important; }
#contents .shared-wishlist-chat-title .modal-close-container { flex: 0 0 auto !important; width: auto !important; }

/* ---------- List overview cards (my lists + shared lists) ---------- */
.gh-lists {
    display: grid !important; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; align-items: stretch;
    max-width: 1140px; margin: 0 auto !important; padding: 28px 16px 64px !important; width: 100%; box-sizing: border-box;
}
.gh-lists .jscroll-inner, .gh-lists .jscroll-added { display: contents; }
.gh-lists .pagination { display: none !important; }
.gh-list-card {
    position: relative; display: flex; flex-direction: column; min-height: 300px; background: #fff; border: 1px solid var(--gh-line);
    border-radius: 18px; overflow: hidden; box-shadow: var(--gh-shadow); font-family: var(--gh-font); color: var(--gh-ink);
    transition: box-shadow .18s, transform .18s;
}
.gh-list-card:not(.gh-list-card--new):not(.gh-list-card--add):hover { box-shadow: var(--gh-shadow-lg); transform: translateY(-2px); }
.gh-list-card__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.gh-list-card__link:focus-visible { outline: 3px solid var(--gh-ink); outline-offset: -3px; }
.gh-list-card__banner { height: 88px; background: var(--gh-yellow-soft); flex: none; }
.gh-list-card__banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gh-list-card__avatar {
    width: 80px; height: 80px; margin: -42px auto 0; border-radius: 50%; border: 4px solid #fff; background: #fff; overflow: hidden; flex: none;
    box-shadow: 0 6px 16px rgba(36, 37, 38, .14);
}
.gh-list-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gh-list-card__body { flex: 1; padding: 10px 18px 0; text-align: center; }
.gh-list-card__title {
    font-family: var(--gh-font); font-size: 1.14rem; font-weight: 700; line-height: 1.25; margin: 0 0 6px; color: var(--gh-ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gh-list-card__meta { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; font-size: .92rem; line-height: 1.5; color: var(--gh-muted); }
.gh-list-card__meta > span:not(:first-child)::before { content: "\00B7"; margin: 0 7px; color: var(--gh-subtle); }
.gh-list-card__days { color: var(--gh-ink); font-weight: 600; }
.gh-list-card__muted { color: var(--gh-subtle); }
.gh-list-card__actions { position: relative; z-index: 2; display: flex; gap: 8px; padding: 16px; }
.gh-list-card__btn {
    flex: 1; min-width: 0; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px;
    border: 1.5px solid var(--gh-ink); border-radius: 10px; background: #fff; color: var(--gh-ink) !important; text-decoration: none !important;
    font-family: var(--gh-font); font-size: .95rem; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.gh-list-card__btn:hover { background: var(--gh-yellow-soft); }
.gh-list-card__btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gh-list-card__btn.is-done { border-color: #2E8B3E; background: #E3F5E6; color: #1E6B2C !important; }
.gh-list-card__btn svg, .gh-list-card__icon-btn svg { width: 18px; height: 18px; flex: none; }
.gh-list-card__icon-btn {
    width: 42px; height: 42px; flex: none; display: grid; place-items: center; padding: 0; border: 1.5px solid var(--gh-line); border-radius: 10px;
    background: #fff; color: var(--gh-muted); cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.gh-list-card__icon-btn--danger:hover, .gh-list-card__icon-btn--danger:focus-visible { color: #B3261E; border-color: #F3C4BF; background: #FFF5F4; }
.gh-list-card__btn:focus-visible, .gh-list-card__icon-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--gh-yellow-soft); }
.gh-list-card__confirm {
    position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    padding: 22px; text-align: center; background: rgba(255, 255, 255, .97);
}
.gh-list-card__confirm[hidden] { display: none; }
.gh-list-card__confirm-title { font-size: 1.08rem; font-weight: 700; margin: 0; color: var(--gh-ink); }
.gh-list-card__confirm-text { font-size: .92rem; line-height: 1.45; margin: 0; color: var(--gh-muted); max-width: 30ch; }
.gh-list-card__confirm-actions { display: flex; gap: 8px; margin-top: 12px; }
.gh-btn--danger { background: #C62828 !important; border-color: #C62828 !important; color: #fff !important; }
.gh-btn--danger:hover { background: #A61F1F !important; }

/* "new list" and "add a list from friends" cards */
.gh-list-card--new, .gh-list-card--add { border: 2px dashed #EBCB5C; background: #FFFBEA; box-shadow: none; }
.gh-list-card__new {
    flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px;
    border: 0; background: none; cursor: pointer; font-family: var(--gh-font); color: var(--gh-ink); border-radius: inherit;
}
.gh-list-card__new:focus-visible { outline: 3px solid var(--gh-ink); outline-offset: -3px; }
.gh-list-card__plus {
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--gh-green); color: #fff;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .12); transition: transform .15s, background .15s;
}
.gh-list-card__plus svg { width: 26px; height: 26px; }
.gh-list-card__new:hover .gh-list-card__plus { background: var(--gh-green-hover); transform: translateY(-1px); }
.gh-list-card__new-title { font-size: 1.1rem; font-weight: 700; }
.gh-list-card--add { align-items: center; justify-content: center; text-align: center; padding: 22px 18px; gap: 6px; }
.gh-list-card__add-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gh-yellow); color: var(--gh-ink); margin-bottom: 6px; }
.gh-list-card__add-icon svg { width: 24px; height: 24px; }
.gh-list-card__add-title { font-family: var(--gh-font); font-size: 1.08rem; font-weight: 700; line-height: 1.3; margin: 0; color: var(--gh-ink); }
.gh-list-card__add-text { font-size: .92rem; line-height: 1.45; color: var(--gh-muted); margin: 0; }
.gh-list-card__add-form { display: grid; gap: 8px; width: 100%; margin-top: 12px; }
.gh-list-card__add-form input {
    width: 100%; height: 44px; padding: 0 12px; border: 1.5px solid var(--gh-line); border-radius: 10px; background: #fff;
    font-family: var(--gh-font); font-size: 1rem; color: var(--gh-ink); box-sizing: border-box;
}
.gh-list-card__add-form input:focus { outline: none; border-color: var(--gh-ink); box-shadow: 0 0 0 4px var(--gh-yellow-soft); }
.gh-list-card__add-form .gh-btn { width: 100%; }
.gh-list-card__error { width: 100%; margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #FDECEC; color: #A3241F; font-size: .9rem; line-height: 1.4; text-align: left; }
.gh-list-card__error[hidden] { display: none; }
@media (max-width: 575.98px) {
    .gh-lists { grid-template-columns: 1fr; gap: 16px; padding: 20px 16px 48px !important; }
    .gh-list-card { min-height: 0; }
    .gh-list-card__new { padding: 28px 20px; }
}
/* the old wrappers around the grid must not add their own spacing */
#div1.whishlists-overview-container, #div1.wishlist-overview-collection-container { max-width: none !important; padding: 0 !important; margin: 0 !important; }

/* ---------- Settings: status line ---------- */
.gh-setting-text .gh-setting-status { font-style: normal; font-size: .85rem; font-weight: 700; color: #1E6B2C; display: inline-flex; align-items: center; gap: 6px; }
.gh-setting-text .gh-setting-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2E8B3E; }

/* ---------- Password popup ---------- */
.gh-pass { max-width: 30rem !important; }
.gh-pass .gh-crop__head h2 { font-size: 1.35rem; }
.gh-pass__text { font-size: .98rem; line-height: 1.5; color: var(--gh-muted); margin: 6px 0 14px; }
.gh-pass__form input {
    width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--gh-line); border-radius: 12px; background: #fff; box-sizing: border-box;
    font-family: var(--gh-font); font-size: 1.05rem; color: var(--gh-ink);
}
.gh-pass__form input:focus { outline: none; border-color: var(--gh-ink); box-shadow: 0 0 0 4px var(--gh-yellow-soft); }
.gh-pass__status { display: flex; gap: 14px; align-items: flex-start; margin: 8px 0 4px; padding: 16px; border-radius: 14px; background: #E3F5E6; }
.gh-pass__status-icon { width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fff; color: #1E6B2C; display: grid; place-items: center; }
.gh-pass__status-icon svg { width: 20px; height: 20px; }
.gh-pass__status strong { display: block; font-size: 1.02rem; color: #1E6B2C; margin-bottom: 2px; }
.gh-pass__status p { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--gh-ink); }

/* ---------- Wish search above the cards (editor, desktop) ---------- */
.desktop-add-new-search-container.gh-search {
    display: flex !important; align-items: center !important; gap: 10px; height: 56px !important; padding: 0 8px 0 16px !important;
    border: 1.5px solid var(--gh-line) !important; border-radius: 14px !important; background: #fff !important; box-shadow: var(--gh-shadow) !important;
}
.gh-search__icon { width: 20px; height: 20px; flex: none; color: var(--gh-muted); }
.gh-search input {
    flex: 1; min-width: 0; height: 100% !important; padding: 0 !important; border: 0 !important; outline: none; background: transparent !important;
    font-family: var(--gh-font) !important; font-size: 1.02rem !important; color: var(--gh-ink) !important; box-shadow: none !important;
}
.gh-search input::-webkit-search-cancel-button { cursor: pointer; }
.gh-search .gh-btn { flex: none; height: 40px; padding: 0 1.2rem !important; font-size: .98rem !important; }
.desktop-add-new-search-container.gh-search:focus-within { border-color: var(--gh-ink) !important; box-shadow: 0 0 0 4px var(--gh-yellow-soft) !important; }
.desktop-add-new-search-container.gh-search button.gh-btn { width: auto !important; min-width: 0 !important; background: var(--gh-green) !important; color: #fff !important; border: 0 !important; border-radius: 10px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; }
.desktop-add-new-search-container.gh-search button.gh-btn:hover { background: var(--gh-green-hover) !important; }

/* ==========================================================================
   Editor wish cards: compact grid on desktop, list rows on phones
   ========================================================================== */
#wish-infinite-scroll {
    display: grid !important; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px !important; align-items: stretch;
}
#wish-infinite-scroll > .jscroll-inner, #wish-infinite-scroll .jscroll-added { display: contents !important; }
#wish-infinite-scroll .pagination { display: none !important; }
#wish-infinite-scroll > * > .wishlist-item-container, #wish-infinite-scroll .wishlist-item-container,
#wish-infinite-scroll .wish-item-add-container-custom {
    width: auto !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; height: auto !important; min-height: 0 !important; flex: none !important;
}
.wishlist-item-container > .card { position: relative; height: 100% !important; min-height: 0 !important; display: flex !important; flex-direction: column !important; border-radius: 16px !important; }
.wishlist-item-container .item-card-body { display: flex !important; flex-direction: column !important; flex: 1 1 auto; height: auto !important; min-height: 0 !important; padding: 0 !important; }
.wishlist-item-container .wish-item-top { position: relative !important; margin: 0 !important; padding: 0 !important; height: auto !important; min-height: 0 !important; width: 100% !important; }
.wishlist-item-container .wish-item-top figure {
    width: 100% !important; height: 180px !important; margin: 0 !important; padding: 18px !important; box-sizing: border-box;
    display: flex !important; align-items: center !important; justify-content: center !important; background: #F6F7F9; border-radius: 15px 15px 0 0;
}
.wishlist-item-container .wish-item-top figure a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.wishlist-item-container .wish-item-top figure img {
    max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; object-fit: contain !important; mix-blend-mode: multiply;
}
.wishlist-item-container .right-three-dots { position: absolute !important; top: 10px !important; right: 10px !important; left: auto !important; margin: 0 !important; z-index: 3; }
.wishlist-item-container .wrap-item { position: absolute !important; top: 12px !important; left: 12px !important; width: auto !important; height: auto !important; z-index: 2; margin: 0 !important; }
.wishlist-item-container .wrap-item .ribbon {
    position: static !important; transform: none !important; width: auto !important; height: 26px !important; padding: 0 9px !important; border-radius: 8px !important;
    display: inline-flex !important; align-items: center; background: var(--gh-ink) !important; color: #fff !important; font: 700 .82rem/1 var(--gh-font) !important; box-shadow: none !important;
}
.wishlist-item-container .wrap-item .ribbon::before, .wishlist-item-container .wrap-item .ribbon::after { display: none !important; }
.wishlist-item-container .item-card-body > .bottom-buttons-container {
    flex: 1 1 auto; display: flex !important; flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important;
    gap: 6px !important; padding: 14px 16px 16px !important; margin: 0 !important; height: auto !important; min-height: 0 !important; text-align: left !important; width: 100% !important;
}
.wishlist-item-container .item-card-body .wish-item-name, .wishlist-item-container .item-card-body .wish-item-price { width: 100% !important; margin: 0 !important; padding: 0 !important; justify-content: flex-start !important; }
.wishlist-item-container .item-card-body .wish-item-name a { text-decoration: none !important; color: var(--gh-ink) !important; display: block; width: 100%; }
.wishlist-item-container .item-card-body .wish-item-name p {
    margin: 0 !important; font: 700 1rem/1.3 var(--gh-font) !important; color: var(--gh-ink) !important; text-align: left !important;
    white-space: normal !important; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden !important; max-width: none !important;
}
.wishlist-item-container .item-card-body .wish-item-price p { display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin: 0 !important; text-align: left !important; }
.wishlist-item-container .item-card-body .wish-item-price p span { font-family: var(--gh-font) !important; color: var(--gh-ink) !important; font-size: 1rem !important; font-weight: 700 !important; margin: 0 !important; }
.wishlist-item-container .item-card-body .wish-item-price p span:nth-child(3):not(:empty) {
    margin-left: 4px !important; padding: 2px 8px; border-radius: 6px; background: #F1F3F5; color: var(--gh-muted) !important; font-size: .8rem !important; font-weight: 600 !important;
}
.wishlist-item-container .item-card-body .wish-item-view-buttons { display: none !important; }

/* desktop "add a wish" tile matches the card height */
#wish-infinite-scroll .wish-item-add-container-custom > .card { height: 100% !important; min-height: 280px !important; }

@media (max-width: 575.98px) {
    #wish-infinite-scroll { grid-template-columns: 1fr; gap: 12px !important; }
    .wishlist-item-container .item-card-body { flex-direction: row !important; align-items: center !important; gap: 14px !important; padding: 10px !important; }
    .wishlist-item-container .wish-item-top { position: static !important; flex: none !important; width: 92px !important; }
    .wishlist-item-container .wish-item-top figure { width: 92px !important; height: 92px !important; padding: 8px !important; border-radius: 12px; }
    .wishlist-item-container .right-three-dots { top: 8px !important; right: 8px !important; }
    .wishlist-item-container .right-three-dots .gh-card-menu-btn { width: 36px !important; height: 36px !important; }
    .wishlist-item-container .wrap-item { top: 14px !important; left: 14px !important; }
    .wishlist-item-container .wrap-item .ribbon { height: 22px !important; padding: 0 7px !important; font-size: .75rem !important; }
    .wishlist-item-container .item-card-body > .bottom-buttons-container { padding: 0 40px 0 0 !important; justify-content: center !important; gap: 4px !important; }
    .wishlist-item-container .item-card-body .wish-item-name p { font-size: .98rem !important; }
}

/* phone: "add a wish" tile */
.gh-add-wish {
    grid-column: 1 / -1; display: grid !important; gap: 12px; padding: 16px !important; border: 2px dashed #EBCB5C; border-radius: 16px; background: #FFFBEA;
}
.gh-add-wish__title { margin: 0; font: 700 1.05rem/1.3 var(--gh-font); color: var(--gh-ink); }
.gh-search {
    display: flex !important; align-items: center !important; gap: 10px; height: 52px; padding: 0 6px 0 14px !important; box-sizing: border-box;
    border: 1.5px solid var(--gh-line) !important; border-radius: 12px !important; background: #fff !important; box-shadow: none !important; margin: 0 !important;
}
.gh-search:focus-within { border-color: var(--gh-ink) !important; box-shadow: 0 0 0 4px var(--gh-yellow-soft) !important; }
.gh-search input {
    flex: 1; min-width: 0; height: 100% !important; padding: 0 !important; border: 0 !important; outline: none; background: transparent !important; box-shadow: none !important;
    font-family: var(--gh-font) !important; font-size: 1rem !important; color: var(--gh-ink) !important;
}
.gh-search button.gh-btn {
    flex: none; height: 40px; width: auto !important; padding: 0 1rem !important; font-size: .95rem !important; border: 0 !important; border-radius: 10px !important;
    background: var(--gh-green) !important; color: #fff !important; display: inline-flex !important; align-items: center; justify-content: center;
}
.gh-add-wish__manual {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 16px; border: 1.5px solid var(--gh-ink); border-radius: 12px;
    background: #fff; color: var(--gh-ink); font: 700 .98rem var(--gh-font); cursor: pointer;
}
.gh-add-wish__manual svg { width: 18px; height: 18px; }
.gh-add-wish__manual:hover { background: var(--gh-yellow-soft); }

/* ==========================================================================
   Add-wish popup: product rows (search results + "get inspired")
   ========================================================================== */
.amazon-searched-items, .amazon-selected-cards { display: grid !important; gap: 8px !important; padding: 2px 0 !important; }
.amazon-selected-cards > .jscroll-inner, .amazon-selected-cards .jscroll-added { display: contents !important; }
.amazon-searched-item-card {
    width: 100% !important; margin: 0 !important; padding: 0 !important; min-height: 76px; border: 1px solid var(--gh-line) !important; border-radius: 14px !important;
    background: #fff !important; box-shadow: none !important; overflow: hidden; box-sizing: border-box; transition: border-color .15s;
}
.amazon-searched-item-card:hover { border-color: #C9D2DB !important; }
.amazon-searched-item-card .amazon-item { display: flex !important; align-items: center !important; gap: 12px !important; width: 100% !important; padding: 8px 10px 8px 8px !important; margin: 0 !important; box-sizing: border-box; }
.amazon-searched-item-card .amazon-item-img {
    width: 60px !important; height: 60px !important; min-width: 60px; flex: none !important; margin: 0 !important; padding: 6px !important; box-sizing: border-box;
    border-radius: 10px; background: #F6F7F9; display: flex !important; align-items: center; justify-content: center; overflow: hidden;
}
.amazon-searched-item-card .amazon-item-img a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.amazon-searched-item-card .amazon-item-img img { max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; object-fit: contain; mix-blend-mode: multiply; }
.amazon-searched-item-card .amazon-item-info { flex: 1 1 auto !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; display: grid !important; gap: 2px; text-align: left !important; }
.amazon-searched-item-card .amazon-item-info p { margin: 0 !important; text-align: left !important; font-family: var(--gh-font) !important; color: var(--gh-ink) !important; }
.amazon-searched-item-card .amazon-item-info p:first-child {
    font-size: .95rem !important; font-weight: 600 !important; line-height: 1.3 !important; white-space: normal !important;
    display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden !important;
}
.amazon-searched-item-card .amazon-item-info p:last-child { font-size: .95rem !important; font-weight: 700 !important; }
.amazon-searched-item-card .amazon-item-action-icon { flex: none !important; margin: 0 !important; padding: 0 !important; width: auto !important; }
.amazon-searched-item-card .amazon-item-action-icon button {
    position: relative; width: 42px !important; height: 42px !important; border-radius: 50% !important; border: 1.5px solid var(--gh-green) !important; background: #fff !important;
    color: var(--gh-green); display: grid !important; place-items: center; padding: 0 !important; cursor: pointer; transition: background .15s, color .15s;
}
.amazon-searched-item-card .amazon-item-action-icon button .icon { display: none !important; }
.amazon-searched-item-card .amazon-item-action-icon button::before {
    content: ""; width: 18px; height: 18px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.amazon-searched-item-card .amazon-item-action-icon button:hover { background: var(--gh-green) !important; color: #fff; }
.amazon-searched-item-card .amazon-item-action-icon button:has(.icon:last-child[style*="flex"]),
.amazon-searched-item-card .amazon-item-action-icon button:has(.icon:last-child[style*="block"]) { background: var(--gh-green) !important; color: #fff; }
.amazon-searched-item-card .amazon-item-action-icon button:has(.icon:last-child[style*="flex"])::before,
.amazon-searched-item-card .amazon-item-action-icon button:has(.icon:last-child[style*="block"])::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.amazon-searched-item-card .amazon-search-processing {
    align-items: center !important; gap: 10px !important; padding: 0 14px !important; min-height: 74px; background: #E3F5E6 !important; color: #1E6B2C !important;
}
.amazon-searched-item-card:has(.amazon-search-processing[style*="flex"]) { background: #E3F5E6 !important; border-color: #BFE3C6 !important; }
.amazon-searched-item-card .amazon-search-processing p { margin: 0 !important; font: 700 .95rem var(--gh-font) !important; color: #1E6B2C !important; }
.amazon-searched-item-card .amazon-search-processing .icon { width: 22px !important; height: 22px !important; fill: #2E8B3E !important; }

/* ==========================================================================
   Add-wish popup: one consistent column on every screen size
   ========================================================================== */
.modal-container-create-wish-tabs-contents, .modal-container-create-wish-tabContent,
.modal-create-wish-form-container, #product_url, .product_details_form, .modal-create-wish-form, .amazon-items-container, .amazon-selected-items-container {
    width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; box-sizing: border-box;
}
.modal-create-wish-form-container { display: flex !important; flex-direction: column !important; gap: 12px; margin-top: 14px !important; }
.modal-create-wish-form-container > #product_url { order: 1; }
.modal-create-wish-form-container > #product_add_manually { order: 2; }
.modal-create-wish-form-container > #product_details { order: 3; }
#product_url input, .modal-create-wish-form .wishlist-input-group, .modal-create-wish-form .wishlist-input { width: 100% !important; max-width: none !important; box-sizing: border-box; }
#product_url input { height: 48px !important; border-radius: 12px !important; }
.modal-create-wish-form .create_wish_item_unit_price { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; width: 100% !important; margin: 0 !important; }
.modal-create-wish-form .create_wish_item_unit_price .width-flex-50 { width: auto !important; max-width: none !important; margin: 0 !important; }
.modal-create-wish-form { display: grid !important; gap: 12px; }
.modal-create-wish-form .wishlist-input-group { margin: 0 !important; }
#product_add_manually {
    display: flex !important; align-items: center !important; justify-content: center !important; gap: 6px; width: 100%; margin: 0 !important; padding: 10px 12px !important;
    border-radius: 12px; background: var(--gh-sky); font: 700 .95rem var(--gh-font) !important; color: var(--gh-ink) !important; cursor: pointer; text-align: center;
}
#product_add_manually .icon { width: 16px !important; height: 16px !important; }
.create-item-upload-product-img { display: flex !important; justify-content: center !important; margin: 0 !important; }
.create-item-upload-product-img .product-photo-container { width: 96px !important; height: 96px !important; margin: 0 !important; }
.create-item-upload-product-img:has(img[src*="default-profile-pic"]) .icon-remove { display: none !important; }
.modal-create-wish-bottom-buttons, #modal-create-wish-bottom-buttons {
    display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; width: 100% !important; margin: 16px 0 0 !important; padding: 0 !important; box-sizing: border-box;
}
.modal-create-wish-bottom-buttons > button, #modal-create-wish-bottom-buttons > button { width: 100% !important; margin: 0 !important; }

/* ==========================================================================
   Phone app bar
   ========================================================================== */
@media (max-width: 767px) {
    .gh-appbar {
        grid-template-columns: 1fr 76px 1fr !important; padding: 0 12px calc(4px + env(safe-area-inset-bottom, 0px)) !important; height: auto;
        background: rgba(255, 255, 255, .96) !important; -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
        border-top: 1px solid var(--gh-line) !important; box-shadow: 0 -6px 24px rgba(36, 37, 38, .08) !important;
    }
    .gh-appbar .gh-appbar-item {
        display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 3px !important;
        min-height: 58px; padding: 6px 4px !important; border: 0 !important; background: none !important; text-decoration: none !important; cursor: pointer;
        color: var(--gh-muted) !important; font: 600 .74rem/1.1 var(--gh-font) !important; -webkit-tap-highlight-color: transparent;
    }
    .gh-appbar .gh-appbar-item svg {
        width: 46px !important; height: 30px !important; padding: 4px 12px; box-sizing: border-box; border-radius: 15px;
        fill: none !important; stroke: currentColor !important; transition: background .15s;
    }
    .gh-appbar .gh-appbar-item.is-active { color: var(--gh-ink) !important; }
    .gh-appbar .gh-appbar-item.is-active svg { background: var(--gh-yellow-soft); }
    .gh-appbar .gh-appbar-item:active svg { background: var(--gh-yellow-soft); }
    .gh-appbar form { display: flex; justify-content: center; }
    .gh-appbar .gh-appbar-plus {
        width: 58px !important; height: 58px !important; border-radius: 50% !important; margin: -24px auto 0 !important; border: 4px solid #fff !important;
        background: var(--gh-green) !important; color: #fff !important; display: grid !important; place-items: center !important; box-sizing: content-box;
        box-shadow: 0 6px 16px rgba(46, 139, 62, .35) !important; transition: transform .15s, background .15s;
    }
    .gh-appbar .gh-appbar-plus:active { transform: scale(.95); }
    .gh-appbar .gh-appbar-plus svg { width: 26px !important; height: 26px !important; fill: none !important; stroke: #fff !important; }
    .gh-footer .gh-appbar svg { fill: none !important; }
}
.wishlist-item-container .wrap-item .ribbon.gh-qty-one { display: none !important; }
.modal-create-wish-form-container > .modal-create-wish-bottom-buttons, .modal-create-wish-form-container > #modal-create-wish-bottom-buttons { order: 10; }
@media (max-width: 575.98px) { #wish-infinite-scroll { padding: 0 16px !important; box-sizing: border-box; } }
/* popup titles never run under the close button; scroll-up button stays inside the page */
.modal-title-container-register, .modal-title-container-login, .modal-login-title { padding-right: 52px !important; box-sizing: border-box; }
.modal-title-container-register p, .modal-title-container-login p { overflow-wrap: anywhere; }
.wishlists-create-scrollup-container { right: 0 !important; padding-right: 16px !important; box-sizing: border-box; }
@media (max-width: 575.98px) { .show-wishlist-meta .show-wishlists-info-container { margin-top: 14px !important; } }
#login_popup .modal-title-container { padding-right: 52px !important; box-sizing: border-box; }

/* ---------- All popup footers: two equal buttons inside the padding ---------- */
#popup :has(> [class*="-btn-back"]):has(> [class*="-btn-save"]) {
    display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; width: 100% !important; margin: 18px 0 0 !important; padding: 0 !important;
    position: static !important; left: auto !important; right: auto !important; bottom: auto !important; border: 0 !important; box-shadow: none !important; background: none !important;
}
#popup [class*="-btn-back"], #popup [class*="-btn-save"] {
    width: 100% !important; min-width: 0 !important; margin: 0 !important; position: static !important; left: auto !important; right: auto !important;
}
/* popups without content-driven height (sorting) must not keep empty space */
#popup :is(.modal-container-sorting, .modal-container-address, .modal-container-description, .modal-container-categories) { min-height: 0 !important; height: auto !important; }
#popup :is(.modal-sorting-body, .modal-address-body, .modal-description-body, .modal-categories-body) { min-height: 0 !important; height: auto !important; padding: 0 !important; }
/* titles of the older popups look like the new ones */
#popup :is(.modal-title-container-address, .modal-container-sorting-title, .modal-container-description-title, .modal-title-container-passCode) :is(p, h2) {
    font-family: var(--gh-font) !important; font-weight: 700 !important; font-size: 1.35rem !important; line-height: 1.2 !important; color: var(--gh-ink) !important;
    text-align: left !important; margin: 0 0 14px !important; padding-right: 48px;
}
#popup .modal-address-form { display: grid !important; gap: 10px !important; }
#popup .modal-address-form .wishlist-input-group { margin: 0 !important; width: 100% !important; }
/* viewer header: the list name uses the full width under the photo */
.show-wishlist-meta .show-wishlist-name { width: 100% !important; max-width: none !important; justify-content: center; }
@media (max-width: 575.98px) { .show-wishlist-meta .show-wishlist-name { justify-content: center; text-align: center; } }
/* viewer on phones: list title starts below the profile photo (same as the editor) */
@media (max-width: 767.98px) { .show-wishlist-meta > .show-wishlist-meta-container { padding-top: 50px !important; } .show-wishlist-meta .show-wishlists-info-container { margin-top: 0 !important; } }

/* ---------- Private link notice: compact on phones ---------- */
.gh-private__head { display: flex; align-items: center; gap: 8px; }
.gh-private__head h2 { margin: 0 !important; }
.gh-private__text { margin-top: 4px !important; }
.gh-private__info { display: none; }
@media (max-width: 575.98px) {
    .gh-private { padding: 12px 14px !important; gap: 10px !important; margin: 8px 16px 4px !important; }
    .gh-private__icon { width: 30px !important; height: 30px !important; }
    .gh-private__icon svg { width: 16px !important; height: 16px !important; }
    .gh-private h2 { font-size: 1rem !important; line-height: 1.25 !important; }
    .gh-private__head { min-height: 30px; }
    .gh-private__info {
        display: grid; place-items: center; flex: none; width: 32px; height: 32px; margin: -2px -4px -2px auto; padding: 0; border: 0; border-radius: 50%;
        background: transparent; color: var(--gh-muted); cursor: pointer;
    }
    .gh-private__info svg { width: 20px; height: 20px; }
    .gh-private__info[aria-expanded="true"] { background: #fff; color: var(--gh-ink); }
    .gh-private .gh-private__text { display: none; font-size: .92rem !important; margin-top: 6px !important; }
    .gh-private.is-open .gh-private__text { display: block; }
    .gh-private__actions { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; margin-top: 10px !important; }
    .gh-private__actions .gh-btn { flex: none !important; width: 100% !important; height: 40px; padding: 0 8px !important; font-size: .88rem !important; gap: 6px !important; }
    .gh-private__actions .gh-btn--yellow { grid-column: 1 / -1; height: 38px; }
    .gh-private__actions .gh-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- Add-a-wish: wide tile on large screens, compact tile below 768px ---------- */
.gh-add-wish { display: none !important; }
@media (max-width: 767.98px) {
    #wish-infinite-scroll .gh-add-tile--wide, .desktop-add-new-search-container { display: none !important; }
    .gh-add-wish {
        display: grid !important; grid-column: 1 / -1; gap: 10px !important; margin: 0 !important; padding: 14px !important;
        border: 1px solid #F0DC94 !important; border-radius: 16px !important; background: #FFFBEA !important; box-shadow: none !important;
    }
    .gh-add-wish__head { display: flex; align-items: center; gap: 10px; }
    .gh-add-wish__icon { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--gh-green); color: #fff; display: grid; place-items: center; }
    .gh-add-wish__icon svg { width: 16px; height: 16px; }
    .gh-add-wish__title { margin: 0 !important; font: 700 1.02rem/1.25 var(--gh-font) !important; color: var(--gh-ink) !important; }
    .gh-add-wish .gh-search--tile { height: 48px; background: #fff !important; }
    .gh-add-wish .gh-search--tile .gh-btn { height: 38px; }
    .gh-add-wish__manual {
        display: flex !important; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: auto !important; margin: 0 !important;
        padding: 2px 2px !important; border: 0 !important; border-radius: 8px; background: none !important;
        font: 600 .92rem/1.3 var(--gh-font) !important; color: var(--gh-ink) !important; text-align: left; cursor: pointer;
    }
    .gh-add-wish__manual span { text-decoration: underline; text-decoration-color: var(--gh-yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
    .gh-add-wish__manual svg { width: 18px; height: 18px; flex: none; color: var(--gh-muted); }
}
@media (max-width: 767.98px) { .desktop-add-new-search-container.gh-search, form.desktop-add-new-search-container { display: none !important; } }
@media (max-width: 767.98px) { #wish-infinite-scroll { margin-top: 14px !important; } }

/* ---------- Viewer chat (logged in): bubbles, load button, input ---------- */
#contents :is(.shared-wishlist-chat-container, .shared-wishlist-chat-container-fulfilled) { overflow-y: auto; min-height: 0; padding: 4px 2px !important; }
#contents .chat-div { display: flex; flex-direction: column; gap: 10px; height: auto !important; }
#contents .chat-item-div { margin: 0 !important; padding: 0 !important; }
#contents .chat-item-message-container {
    display: flex !important; flex-direction: row !important; align-items: flex-end !important; justify-content: flex-start !important; gap: 8px !important;
    width: 100% !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important;
}
#contents .chat-item-message-container > * { order: 0 !important; }
/* own messages (the photo comes first with .chat-order-1) sit on the right */
#contents .chat-item-message-container:has(> .chat-item-message-img.chat-order-1) { flex-direction: row-reverse !important; }
#contents .chat-item-message-img { width: 28px !important; height: 28px !important; min-width: 28px; flex: none !important; margin: 0 !important; border-radius: 50%; overflow: hidden; background: var(--gh-yellow-soft); }
#contents .chat-item-message-img img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; border-radius: 50%; }
#contents .chat-item-msg {
    max-width: 80% !important; width: auto !important; margin: 0 !important; padding: 8px 12px !important; border-radius: 14px 14px 14px 4px !important;
    background: #F1F3F5 !important; border: 0 !important; box-shadow: none !important; text-align: left !important;
}
#contents .chat-item-message-container:has(> .chat-item-message-img.chat-order-1) .chat-item-msg { background: var(--gh-yellow-soft) !important; border-radius: 14px 14px 4px 14px !important; }
#contents .chat-item-msg p { margin: 0 !important; font-family: var(--gh-font) !important; text-align: left !important; white-space: normal !important; overflow-wrap: anywhere; }
#contents .chat-item-msg p:first-child { font-size: .76rem !important; font-weight: 700 !important; color: var(--gh-muted) !important; line-height: 1.3 !important; margin-bottom: 2px !important; }
#contents .chat-item-msg p:last-child { font-size: .95rem !important; font-weight: 400 !important; color: var(--gh-ink) !important; line-height: 1.4 !important; }

#contents .shared-wishlist-chat-reload-container { display: flex !important; justify-content: center !important; margin: 0 !important; padding: 0 !important; min-height: 0 !important; }
#contents .shared-wishlist-chat-reload {
    display: inline-flex !important; align-items: center !important; gap: 6px !important; height: 32px; padding: 0 10px !important; margin: 0 !important;
    border: 0 !important; border-radius: 8px !important; background: none !important; color: var(--gh-muted) !important; cursor: pointer;
    font: 600 .85rem var(--gh-font) !important;
}
#contents .shared-wishlist-chat-reload:hover { background: #F1F3F5 !important; color: var(--gh-ink) !important; }
#contents .shared-wishlist-chat-reload span { display: inline-flex; align-items: center; gap: 6px; color: inherit !important; font: inherit !important; }
#contents .shared-wishlist-chat-reload .icon { width: 14px !important; height: 14px !important; filter: grayscale(1) brightness(.55); }
/* the chat loads its full history on open and refreshes itself (includes/gh-chat-live), so no manual button */
#contents .shared-wishlist-chat-reload-container { display: none !important; }

#contents .shared-wishlist-chat-input { display: grid !important; gap: 6px !important; margin: 0 !important; padding: 0 !important; width: 100% !important; }
#contents .shared-wishlist-chat-input .chat-input {
    display: flex !important; align-items: center !important; gap: 6px !important; height: 48px !important; padding: 4px 4px 4px 12px !important; box-sizing: border-box;
    border: 1.5px solid var(--gh-line) !important; border-radius: 12px !important; background: #fff !important; box-shadow: none !important; width: 100% !important;
}
#contents .shared-wishlist-chat-input .chat-input:focus-within { border-color: var(--gh-ink) !important; box-shadow: 0 0 0 4px var(--gh-yellow-soft) !important; }
#contents .shared-wishlist-chat-input .chat-input input {
    flex: 1 1 auto !important; min-width: 0 !important; height: 100% !important; padding: 0 !important; border: 0 !important; outline: none !important; background: transparent !important;
    box-shadow: none !important; font-family: var(--gh-font) !important; font-size: .98rem !important; color: var(--gh-ink) !important;
}
#contents .shared-wishlist-chat-input .chat-input button {
    flex: none !important; width: 38px !important; height: 38px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 10px !important;
    background: var(--gh-green) !important; color: #fff; display: grid !important; place-items: center; cursor: pointer; transition: background .15s;
}
#contents .shared-wishlist-chat-input .chat-input button:hover { background: var(--gh-green-hover) !important; }
#contents .shared-wishlist-chat-input .chat-input button .icon { display: none !important; }
#contents .shared-wishlist-chat-input .chat-input button::before {
    content: ""; width: 18px; height: 18px; background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
#contents .shared-wishlist-chat-input > p { margin: 0 !important; font-size: .82rem !important; line-height: 1.4 !important; color: var(--gh-subtle) !important; text-align: center !important; }

/* ==========================================================================
   Editor (owner + guest) from 768px: banner, title row, notice, search and
   cards share one column, so all left/right edges line up
   ========================================================================== */
@media (min-width: 768px) {
    .wishlist-create-page { --gh-col: 720px; --gh-meta-indent: 192px; }
    .wishlist-create-page ~ * { --gh-col: 720px; --gh-meta-indent: 192px; }
}
@media (min-width: 992px) {
    .wishlist-create-page, .wishlist-create-page ~ * { --gh-col: 960px; --gh-meta-indent: 272px; }
}
@media (min-width: 1200px) {
    .wishlist-create-page, .wishlist-create-page ~ * { --gh-col: 1140px; --gh-meta-indent: 304px; }
}
@media (min-width: 768px) {
    .wishlist-create-page .inner-content > .banner-image { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }

    .wishlist-create-page ~ .wishlist-meta {
        display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; align-items: flex-start !important; justify-content: space-between !important;
        gap: 12px 24px; width: calc(100% - 32px) !important; max-width: var(--gh-col) !important; margin: 0 auto !important; box-sizing: border-box;
        padding: 14px 0 22px var(--gh-meta-indent) !important; text-align: left !important; border-bottom: 1px solid var(--gh-line) !important;
    }
    .wishlist-create-page ~ .wishlist-meta > .left-empty-div { display: none !important; }
    .wishlist-create-page ~ .wishlist-meta > .wishlist-meta-container { flex: 1 1 260px !important; min-width: 0 !important; width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; order: 1 !important; }
    .wishlist-create-page ~ .wishlist-meta > .gh-editor-actions { order: 2 !important; margin: 4px 0 0 !important; align-self: flex-start !important; }
    .wishlist-create-page ~ .wishlist-meta .wishlists-create-info-container { flex-wrap: wrap !important; gap: 2px 20px !important; }
    .wishlist-create-page ~ .wishlist-meta .wishlists-create-info-container { flex-direction: row !important; justify-content: flex-start !important; align-items: center !important; width: 100% !important; margin: 0 !important; }
    .wishlist-create-page ~ .wishlist-meta .wishlists-create-title-container { justify-content: flex-start !important; width: 100% !important; }
    .wishlist-create-page ~ .wishlist-meta .wishlists-create-info-container > * { width: auto !important; flex: 0 1 auto !important; justify-content: flex-start !important; margin: 0 !important; }

    .wishlist-create-page ~ .gh-private { width: calc(100% - 32px) !important; max-width: var(--gh-col) !important; box-sizing: border-box; margin: 20px auto 0 !important; }

    .wishlist-create-page ~ .container.position-relative:has(> #div1) { width: calc(100% - 32px) !important; max-width: var(--gh-col) !important; padding: 0 !important; margin: 0 auto !important; }
    .wishlist-create-page ~ .container.position-relative > #div1 { padding: 0 !important; align-items: stretch !important; }
    .wishlist-create-page ~ .container.position-relative #wish-infinite-scroll { width: 100% !important; margin: 0 !important; padding: 0 !important; }
    .wishlist-create-page ~ .container.position-relative .desktop-add-new-search-container.gh-search { width: 100% !important; max-width: none !important; box-sizing: border-box; margin: 24px 0 20px !important; }
}
