/* ===========================
   CharliClaire.com — Public CSS
   Minimal, mobile-first
   =========================== */

/* --- Reset / Normalize --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    color: #222;
    background: #fff;
}

img, picture, svg {
    display: block;
    max-width: 100%;
}

ul, ol {
    list-style: none;
}

a {
    color: #0055a5;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Skip Link (accessibility) --- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 1rem;
    background: #0055a5;
    color: #fff;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}

/* --- Site Header & Nav --- */
.site-header {
    border-bottom: 1px solid #ddd;
    padding: 0.75rem 1rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.site-logo {
    order: 1;
    margin-right: auto;
    color: #222;
    font-size: 1.125rem;
    font-weight: 700;
}

.site-logo:hover {
    text-decoration: none;
}

.site-cart-link {
    order: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid #0055a5;
    border-radius: 999px;
    background: #0055a5;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.site-cart-link:hover {
    background: #004080;
    border-color: #004080;
    text-decoration: none;
}

.site-cart-icon {
    font-size: 1rem;
    line-height: 1;
}

.site-cart-count {
    font-variant-numeric: tabular-nums;
}

.site-header .site-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.nav-toggle {
    order: 3;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    width: 2.7rem;
    height: 2.5rem;
    background: none;
    border: 1px solid #888;
    border-radius: 0.5rem;
    padding: 0.35rem 0.6rem;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
}

.nav-toggle span {
    display: block;
    width: 1.2rem;
    height: 2px;
    border-radius: 999px;
    background: #374151;
}

/* Mobile nav: collapsed by default */
.nav-menu {
    order: 4;
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding-top: 0.5rem;
}

.nav-menu.open {
    display: flex;
}

.nav-menu li a {
    display: block;
    padding: 0.5rem 0;
    border-top: 1px solid #eee;
}

/* Desktop: show nav inline, hide toggle */
@media (min-width: 768px) {
    .site-nav {
        flex-wrap: nowrap;
        width: 100%;
    }

    .site-logo {
        margin-right: 0;
    }

    .nav-toggle {
        display: none;
    }

    .nav-menu {
        order: 2;
        display: flex;
        width: auto;
        flex: 1 1 auto;
        justify-content: flex-start;
        flex-direction: row;
        gap: 1.25rem;
        padding-top: 0;
        margin-left: 1.5rem;
    }

    .nav-menu li a {
        border-top: none;
        padding: 0;
    }

    .site-cart-link {
        order: 3;
        margin-left: 1rem;
        flex: 0 0 auto;
        background: #fff;
        color: #0055a5;
    }

    .site-cart-link:hover {
        background: #f0f5fb;
        border-color: #0055a5;
    }
}

/* --- Main Content --- */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

@media (min-width: 768px) {
    body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    main {
        flex: 1 0 auto;
        width: 100%;
    }
}

/* --- Site Footer --- */
.site-footer {
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem 1rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    font-size: 0.875rem;
    color: #4b5563;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.footer-inner > nav {
    flex: 1 1 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
}

.footer-links a {
    color: #1f2937;
}

.footer-external a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: #1f2937;
}

.footer-external a::after {
    content: "\2197";
    font-size: 0.8em;
}

.footer-external a:hover {
    text-decoration: none;
    border-color: #9ca3af;
    background: #f9fafb;
}

.footer-copy {
    color: #6b7280;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .footer-copy {
        margin-left: auto;
        text-align: right;
    }
}

/* --- Focus States (WCAG 2.1 AA) --- */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: 2px solid #0055a5;
    outline-offset: 2px;
}

/* --- Progress Bar --- */
.progress-bar {
    background: #e0e0e0;
    border-radius: 4px;
    height: 1.25rem;
    overflow: hidden;
}

.progress-fill,
.progress-bar-fill {
    background: #0055a5;
    height: 100%;
    transition: width 0.3s ease;
}

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Product Card --- */
.product-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    padding: 0.75rem;
    position: relative;
}

.product-card:hover {
    border-color: #c8c8c8;
}

.product-card h4 {
    font-size: 1rem;
    margin: 0.5rem 0 0.25rem;
    line-height: 1.3;
}

.product-card .price {
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.product-card-image-link {
    display: block;
    color: inherit;
}

.product-card-image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    background: #f1f1f1;
}

.product-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    padding: 0.75rem;
    border-radius: 4px;
    background: #f1f1f1;
    color: #666;
    text-align: center;
    font-size: 0.9rem;
}

.shop-area-block {
    margin-top: 1.5rem;
}

.shop-category-block {
    margin-top: 1rem;
}

.shop-category-heading {
    margin-bottom: 0.5rem;
}

.shop-product-meta {
    color: #555;
    font-size: 0.9rem;
}

.cart-page h1 {
    margin-bottom: 1rem;
}

.cart-alert {
    padding: 0.65rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 0.9rem;
}

.cart-alert-success {
    border-color: #1f7a43;
    background: #eef9f1;
    color: #14542e;
}

.cart-alert-error {
    border-color: #b83b2c;
    background: #fff3f1;
    color: #7c2319;
}

.cart-items {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cart-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.cart-item-title {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.cart-item-meta {
    color: #555;
}

.cart-item-line-total {
    margin-top: 0.2rem;
    font-weight: 700;
}

.cart-total {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.cart-checkout-form {
    max-width: 460px;
}

.cart-checkout-note {
    margin-top: 0.35rem;
    color: #555;
}

@media (max-width: 479px) {
    .cart-item {
        flex-direction: column;
    }
}

.product-adjacent-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.5rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.product-adjacent-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 132px;
    height: 205px;
    max-height: 205px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}

.product-adjacent-card:hover {
    border-color: #c8c8c8;
}

.product-adjacent-card-image,
.product-adjacent-card-placeholder {
    display: block;
    width: 100%;
    height: 169px;
    object-fit: cover;
    object-position: top center;
    background: #f1f1f1;
}

.product-adjacent-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.72rem;
    color: #666;
    padding: 0.3rem;
    line-height: 1.2;
}

.product-adjacent-card-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    text-align: center;
    font-size: 17px;
    line-height: 1;
    font-weight: 700;
}

.product-adjacent-card-disabled {
    opacity: 0.55;
    pointer-events: none;
}

/* --- Product Gallery --- */
.product-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* --- Badge: Sold Out --- */
.badge-sold-out {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 2px;
    text-transform: uppercase;
}

/* --- Forms --- */
label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="search"],
textarea,
select {
    display: block;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #aaa;
    border-radius: 3px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #888;
    border-radius: 3px;
    background: #fff;
    color: #222;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: #f0f0f0;
}

.btn-primary {
    background: #0055a5;
    color: #fff;
    border-color: #0055a5;
}

.btn-primary:hover {
    background: #004080;
}

/* --- Home Landing Page --- */
.home-page {
    background:
        radial-gradient(circle at top left, rgba(198, 191, 214, 0.35), transparent 32%),
        linear-gradient(180deg, #f7f7fb 0%, #e8e8ed 100%);
    color: #374151;
}

.home-page main {
    max-width: 1120px;
    padding: 2rem 1rem 3rem;
}

.home-landing,
.home-story-grid,
.home-feed {
    margin-bottom: 2rem;
}

.home-landing {
    display: grid;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(171, 196, 204, 0.65);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 60px rgba(85, 92, 115, 0.12);
}

.home-kicker,
.section-label {
    margin-bottom: 0.55rem;
    color: #6c7d8d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-landing h1,
.home-story-panel h2,
.home-feed h2 {
    color: #2f3747;
    line-height: 1.1;
}

.home-landing h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.home-landing__intro p {
    max-width: 64ch;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.75;
    color: #495361;
}

.home-lead {
    font-size: 1.08rem;
}

.home-landing__actions,
.support-links {
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.home-landing__actions {
    display: grid;
    grid-template-columns: 1fr;
}

.support-links {
    display: flex;
    flex-wrap: wrap;
}

.home-landing__actions .btn,
.support-links .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.7rem 1.15rem;
}

.home-landing__actions .btn {
    width: 100%;
    min-height: 3rem;
    text-align: center;
}

.home-landing__media {
    display: grid;
    gap: 1rem;
}

.story-photo-placeholder {
    padding: 0.85rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(171, 196, 204, 0.18), rgba(198, 191, 214, 0.26));
    border: 1px dashed rgba(87, 99, 117, 0.35);
}

.story-photo-placeholder__frame {
    display: grid;
    place-items: center;
    min-height: 250px;
    padding: 1rem;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(232, 232, 237, 0.92)),
        repeating-linear-gradient(
            45deg,
            rgba(171, 196, 204, 0.18),
            rgba(171, 196, 204, 0.18) 12px,
            rgba(198, 191, 214, 0.18) 12px,
            rgba(198, 191, 214, 0.18) 24px
        );
    color: #617080;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

.story-photo-placeholder__image {
    width: 100%;
    min-height: 250px;
    max-height: 420px;
    border-radius: 18px;
    object-fit: cover;
}

.story-photo-placeholder figcaption,
.story-photo-placeholder p {
    margin-top: 0.75rem;
    color: #5a6472;
    font-size: 0.95rem;
}

.story-photo-placeholder--wide .story-photo-placeholder__frame {
    min-height: 190px;
}

.home-story-grid {
    display: grid;
    gap: 1.5rem;
}

.home-current-need {
    margin: 1.5rem 0;
}

.home-story-panel,
.home-feed {
    padding: 1.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(198, 191, 214, 0.65);
    box-shadow: 0 18px 40px rgba(85, 92, 115, 0.08);
}

.home-story-panel p {
    color: #4b5563;
    line-height: 1.7;
}

.support-focus {
    margin: 1.25rem 0 1.5rem;
}

.support-focus h3 {
    margin-bottom: 0.8rem;
    color: #2f3747;
    font-size: 1.05rem;
}

.milestone-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.support-focus-list {
    display: grid;
    gap: 0.9rem;
}

.support-focus-list li {
    position: relative;
    padding-left: 3.25rem;
    color: #43505d;
    line-height: 1.65;
}

.support-focus-list li::before {
    content: "$";
    position: absolute;
    left: 0;
    top: 0.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: #c6bfd6;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(198, 191, 214, 0.35);
}

.milestone-list li {
    position: relative;
    padding-left: 3.25rem;
    color: #43505d;
    line-height: 1.65;
}

.milestone-list li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 0.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: #abc4cc;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(171, 196, 204, 0.35);
}

.section-heading {
    margin-bottom: 1rem;
}

.section-heading--inline {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.feed-link {
    color: #556b7d;
    font-weight: 700;
}

.feed-grid {
    display: grid;
    gap: 1rem;
}

.feed-card {
    padding: 1.15rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
    border: 1px solid #dbe1e8;
}

.feed-card h3 {
    margin-bottom: 0.45rem;
    color: #2f3747;
}

.feed-card p,
.feed-card time {
    color: #586373;
}

.feed-card time {
    display: inline-block;
    margin-bottom: 0.7rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.home-current-need .needs-directory-grid {
    display: grid;
    gap: 1rem;
}

.home-current-need .needs-directory-card {
    overflow: hidden;
    border: 1px solid rgba(198, 191, 214, 0.65);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 40px rgba(85, 92, 115, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-current-need .needs-directory-card:hover,
.home-current-need .needs-directory-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 26px 56px rgba(85, 92, 115, 0.16);
}

.home-current-need .needs-directory-card-link {
    display: grid;
    gap: 0;
    width: 100%;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.home-current-need .needs-directory-card-link *,
.home-current-need .needs-directory-card {
    cursor: pointer;
}

.home-current-need .needs-directory-card-link:hover,
.home-current-need .needs-directory-card-link:hover *,
.home-current-need .needs-directory-card-link:focus-visible,
.home-current-need .needs-directory-card-link:focus-visible * {
    text-decoration: none;
}

.home-current-need .needs-directory-label {
    margin: 0 0 0.65rem;
    color: #6c7d8d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-current-need .needs-directory-card h2 {
    margin: 0 0 0.8rem;
    color: #2f3747;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.home-current-need .needs-directory-card p {
    color: #495361;
    line-height: 1.75;
}

.home-current-need .needs-directory-card-media {
    display: grid;
    align-items: center;
    justify-items: center;
    background:
        radial-gradient(circle at top left, rgba(198, 191, 214, 0.28), transparent 45%),
        linear-gradient(180deg, #f4f6fb 0%, #ebeff6 100%);
    border-bottom: 1px solid rgba(198, 191, 214, 0.55);
}

.home-current-need .needs-directory-card img {
    display: block;
    width: 100%;
    height: 300px;
    max-height: 300px;
    object-fit: contain;
    padding: 1rem;
}

.home-current-need .needs-directory-card-body {
    padding: 1.4rem;
}

.home-current-need .needs-directory-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.2rem;
    color: #0055a5;
    font-weight: 700;
}

.home-current-need .needs-directory-card-cta::after {
    content: "\2192";
}

@media (min-width: 768px) {
    .home-landing {
        grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
        align-items: start;
        padding: 2rem;
    }

    .home-story-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    }

    .home-current-need .needs-directory-card-link {
        grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr);
        align-items: stretch;
    }

    .home-current-need .needs-directory-card-media {
        border-right: 1px solid rgba(198, 191, 214, 0.55);
        border-bottom: 0;
    }

    .home-current-need .needs-directory-card-body {
        padding: 1.8rem;
    }

    .feed-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 560px) {
    .home-landing__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .home-landing__actions {
        display: flex;
        flex-wrap: wrap;
    }

    .home-landing__actions .btn {
        width: auto;
    }
}

/* --- Needs --- */
.needs-index,
.need-detail {
    display: grid;
    gap: 1.5rem;
}

.needs-list {
    display: grid;
    gap: 1rem;
}

.need-card {
    padding: 1.25rem;
    border-radius: 18px;
    border: 1px solid #dbe1e8;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.need-card h2 {
    margin-bottom: 0.5rem;
    color: #2f3747;
}

.need-card p,
.progress-text,
.need-shop-stock,
.back-link {
    color: #586373;
}

.progress-text {
    margin-top: 0.65rem;
    font-size: 0.95rem;
}

.need-detail-page {
    background:
        radial-gradient(circle at top left, rgba(198, 191, 214, 0.3), transparent 28%),
        linear-gradient(180deg, #f7f7fb 0%, #ececf2 100%);
    color: #374151;
}

.need-detail-page main {
    max-width: 1120px;
    padding: 2rem 1rem 3rem;
}

.need-hero,
.need-story,
.need-shop-section,
.need-cta__card {
    border-radius: 28px;
    border: 1px solid rgba(198, 191, 214, 0.65);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 40px rgba(85, 92, 115, 0.08);
}

.need-hero {
    display: grid;
    gap: 1.5rem;
    padding: 1.5rem;
}

.need-hero h1,
.need-shop-section h2,
.need-cta h2,
.need-body h2,
.need-body h3 {
    color: #2f3747;
    line-height: 1.1;
}

.need-hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.need-summary,
.need-shop-intro,
.need-body p,
.need-body li,
.need-cta p {
    color: #495361;
    line-height: 1.75;
}

.need-summary {
    max-width: 56ch;
    margin-bottom: 1rem;
    font-size: 1.08rem;
}

.need-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.need-hero__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
}

.need-progress-card {
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(171, 196, 204, 0.16), rgba(198, 191, 214, 0.2));
    border: 1px solid rgba(171, 196, 204, 0.45);
}

.need-featured-image,
.need-featured-placeholder {
    width: 100%;
    min-height: 260px;
}

.need-featured-image {
    display: block;
    object-fit: cover;
}

.need-featured-placeholder {
    display: grid;
    place-items: center;
    padding: 1rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(232, 232, 237, 0.92)),
        repeating-linear-gradient(
            45deg,
            rgba(171, 196, 204, 0.18),
            rgba(171, 196, 204, 0.18) 12px,
            rgba(198, 191, 214, 0.18) 12px,
            rgba(198, 191, 214, 0.18) 24px
        );
    color: #617080;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

.need-progress-card__body {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
}

.need-progress-card__body h2 {
    font-size: 1.3rem;
}

.need-stats {
    display: grid;
    gap: 0.9rem;
}

.need-stats div {
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(198, 191, 214, 0.55);
}

.need-stats dt {
    margin-bottom: 0.35rem;
    color: #6c7d8d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.need-stats dd {
    color: #2f3747;
    font-size: 1rem;
    font-weight: 700;
}

.need-story,
.need-shop-section,
.need-cta__card {
    padding: 1.5rem;
}

.need-body > * + * {
    margin-top: 1rem;
}

.need-body h2 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.need-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
}

.need-body ul,
.need-body ol {
    padding-left: 1.2rem;
    list-style: initial;
}

.need-body ol {
    list-style: decimal;
}

.need-body figure,
.need-body img {
    display: block;
    width: 100%;
}

.need-body img {
    margin-top: 1rem;
    border-radius: 22px;
    max-height: 520px;
    object-fit: cover;
}

.need-body details {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid #dbe1e8;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.need-body summary {
    cursor: pointer;
    color: #2f3747;
    font-weight: 700;
}

.need-shop-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.need-shop-card .price {
    margin-top: 0.4rem;
    color: #2f3747;
    font-weight: 700;
}

.need-cta__card {
    text-align: center;
}

.need-cta__card .need-hero__actions {
    justify-content: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
}

.back-link::before {
    content: "\2190";
}

@media (min-width: 768px) {
    .needs-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .need-hero {
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
        align-items: start;
        padding: 2rem;
    }

    .need-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .need-shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
