/* ==========================================================================
   SHARED PAGES — shop, saved, about, contact, FAQ, policies
   ========================================================================== */

.shop-page,
.static-page { padding: 3rem 0 1rem; }

/* head ---------------------------------------------------------------- */
.page-head {
    max-width: 640px;
    margin-bottom: 2.2rem;
}
.page-head h1 {
    font-size: clamp(32px, 4.8vw, 48px);
    letter-spacing: -.035em;
    margin-bottom: .7rem;
}
.page-lede { font-size: 16px; color: var(--ink-2); margin: 0; }

.page-meta {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-top: .9rem;
}

/* nav pill (Saved count) ---------------------------------------------- */
.nav-pill {
    display: inline-block;
    min-width: 18px;
    padding: 0 5px;
    margin-left: .15rem;
    border-radius: 100px;
    background: var(--accent-soft);
    color: var(--accent);
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 600;
    line-height: 17px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   FILTER BAR
   -------------------------------------------------------------------------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: .55rem .6rem .55rem 1rem;
    margin-bottom: 2.2rem;
    box-shadow: var(--shadow-sm);
}

.filter-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: .5rem;
    flex: 1 1 220px;
    min-width: 0;
    color: var(--ink-3);
}
.filter-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    outline: none;
    font-family: var(--body);
    font-size: 15px;
    color: var(--ink);
    padding: .35rem 0;
}
.filter-search input::placeholder { color: #AEB6BF; }

.filter-select {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem .5rem .3rem .85rem;
    border-left: 1px solid var(--line);
}
.filter-select > span {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.filter-select select {
    border: 0;
    background: transparent;
    outline: none;
    font-family: var(--body);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    padding: .25rem 0;
}

.filter-clear {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-3);
    padding-inline: .5rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--line);
}
.filter-clear:hover { color: var(--danger); }

@media (max-width: 767.98px) {
    .filter-bar {
        border-radius: var(--r-lg);
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
    }
    .filter-search {
        flex: 0 0 auto;
        background: var(--surface-2);
        border: 1px solid var(--line);
        border-radius: var(--r-sm);
        padding: .55rem .8rem;
    }
    .filter-select {
        border-left: 0;
        border: 1px solid var(--line);
        border-radius: var(--r-sm);
        justify-content: space-between;
        padding: .5rem .8rem;
    }
    .filter-bar .btn-solid { width: 100%; }
    .filter-clear { text-align: center; }
}

/* saved card state ----------------------------------------------------- */
.card__fav.is-saved { color: var(--danger); border-color: rgba(166, 45, 45, .3); }

.list-footer {
    display: flex;
    justify-content: center;
    padding: 2rem 0 1rem;
}

/* --------------------------------------------------------------------------
   PAGINATION
   -------------------------------------------------------------------------- */
.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--line);
}
.pager__step {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: .62rem 1.15rem;
    transition: all .2s var(--ease);
}
.pager__step:hover { border-color: var(--ink); }
.pager__step.is-off { color: #C2C8CE; border-color: var(--line-soft); pointer-events: none; }
.pager__count {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   PROSE  (policies, about copy)
   -------------------------------------------------------------------------- */
.prose-shell {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: start;
    padding-bottom: 3rem;
}

.prose-nav {
    position: sticky;
    top: 96px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.2rem;
}
.prose-nav h2 {
    font-family: var(--body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: .8rem;
}
.prose-nav ul { list-style: none; margin: 0; padding: 0; }
.prose-nav li { margin-bottom: .3rem; }
.prose-nav a {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-2);
    padding: .35rem .5rem;
    border-radius: 8px;
    transition: all .2s var(--ease);
}
.prose-nav a:hover { color: var(--accent); background: var(--accent-soft); }

.prose {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 2.4rem;
    box-shadow: var(--shadow-sm);
}
.prose section + section { margin-top: 2.2rem; }
.prose h2 {
    font-size: 22px;
    letter-spacing: -.025em;
    padding-bottom: .7rem;
    margin-bottom: .9rem;
    border-bottom: 1px solid var(--line-soft);
    scroll-margin-top: 100px;
}
.prose h3 { font-size: 17px; margin: 1.4rem 0 .4rem; }
.prose p { font-size: 15px; line-height: 1.75; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.prose li { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin-bottom: .4rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
    .prose-shell { grid-template-columns: 1fr; }
    .prose-nav { position: static; }
    .prose { padding: 1.6rem; }
}

/* --------------------------------------------------------------------------
   ABOUT
   -------------------------------------------------------------------------- */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.3rem;
    margin: 1rem 0 3.5rem;
}
.value-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.7rem 1.5rem;
    transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.value-card:hover { transform: translateY(-3px); border-color: #D8DEE4; }
.value-card__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--accent-soft);
    border: 1px solid rgba(20, 80, 63, .14);
    color: var(--accent);
    margin-bottom: 1rem;
}
.value-card h3 { font-size: 18px; margin-bottom: .35rem; }
.value-card p { font-size: 14px; margin: 0; }

.stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 3.5rem;
}
.stat-strip div { background: var(--surface); padding: 1.6rem 1.4rem; }
.stat-strip strong {
    display: block;
    font-family: var(--display);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -.035em;
    color: var(--ink);
}
.stat-strip span {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--ink);
    border-radius: var(--r-xl);
    padding: 2.4rem;
    margin-bottom: 3rem;
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: .35rem; }
.cta-band p { color: rgba(255, 255, 255, .68); font-size: 14.5px; margin: 0; max-width: 46ch; }
.cta-band .btn-solid { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.cta-band .btn-solid:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.contact-shell {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.8rem;
    align-items: start;
    padding-bottom: 3rem;
}

.contact-card,
.contact-aside {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.contact-card h2 {
    font-size: 22px;
    padding-bottom: 1rem;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid var(--line-soft);
}

.contact-card textarea {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: .8rem .95rem;
    outline: none;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.contact-card textarea:focus {
    background: var(--surface);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-note {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    background: var(--accent-soft);
    border: 1px solid rgba(20, 80, 63, .14);
    border-radius: var(--r-md);
    padding: .9rem 1rem;
    font-size: 13.5px;
    color: var(--accent-ink);
    margin-bottom: 1.4rem;
}
.contact-note svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }

.contact-aside h2 {
    font-size: 19px;
    padding-bottom: .9rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid var(--line-soft);
}
.contact-line { display: flex; gap: .8rem; padding: .7rem 0; }
.contact-line svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.contact-line dt {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.contact-line dd { margin: 0; font-size: 14.5px; color: var(--ink); }
.contact-line a:hover { color: var(--accent); }

@media (max-width: 900px) {
    .contact-shell { grid-template-columns: 1fr; }
    .contact-card, .contact-aside { padding: 1.5rem; }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list {
    max-width: 780px;
    padding-bottom: 3rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    margin-bottom: .7rem;
    overflow: hidden;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item[open] { border-color: #D5DBE1; box-shadow: var(--shadow-md); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
    cursor: pointer;
    padding: 1.15rem 1.4rem;
    font-family: var(--display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    flex-shrink: 0;
    width: 11px;
    height: 11px;
    border-right: 2px solid var(--ink-3);
    border-bottom: 2px solid var(--ink-3);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }

.faq-item .faq-answer {
    padding: 0 1.4rem 1.3rem;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink-2);
}
.faq-item .faq-answer p:last-child { margin-bottom: 0; }
