/* ==========================================================================
   NadPoint — Public Vendor Storefront (/store/{slug})
   ========================================================================== */

.ndp-storefront-notfound {
    text-align: center;
    padding: 100px 20px;
    color: #8a8477;
}
.ndp-storefront-notfound i { font-size: 46px; color: #d6cfba; margin-bottom: 14px; display: block; }
.ndp-storefront-notfound h1 { color: #2b2a27; margin-bottom: 8px; }

.ndp-sf-banner {
    height: 240px;
    background: linear-gradient(135deg, #1b3022, #2d5c3e);
    background-size: cover;
    background-position: center;
    position: relative;
}
.ndp-sf-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.35));
}

.ndp-sf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: -56px;
    position: relative;
    z-index: 2;
    padding-bottom: 18px;
}
.ndp-sf-header-left { display: flex; align-items: flex-end; gap: 18px; }
.ndp-sf-logo-frame {
    width: 108px;
    height: 108px;
    border-radius: 18px;
    border: 4px solid #fff;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    overflow: hidden;
    flex: 0 0 auto;
}
.ndp-sf-logo-frame img { width: 100%; height: 100%; object-fit: cover; }

.ndp-sf-identity h1 {
    margin: 0 0 6px;
    font-size: 26px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ndp-sf-badge {
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-shadow: none;
}
.ndp-sf-badge-trusted { background: #146c34; color: #fff; }
.ndp-sf-badge-tier { background: linear-gradient(135deg, #f4c542, #c59b27); color: #2c1f00; }

.ndp-sf-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13.5px;
    color: #f1efe8;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.ndp-sf-tagline {
    margin: 0 0 8px;
    font-size: 14.5px;
    color: #f1efe8;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    font-style: italic;
}
.ndp-sf-contact-btn {
    background: var(--sf-accent, #c59b27);
    color: #fff;
    border: none;
}
.ndp-sf-contact-btn:hover { filter: brightness(1.08); }
.ndp-sf-meta-row i { margin-right: 4px; color: #e8d9a8; }
.ndp-sf-rating .fas.fa-star, .ndp-sf-rating .far.fa-star { color: #f4c542; font-size: 12px; }
.ndp-sf-rating-none { opacity: 0.85; font-style: italic; }

.ndp-sf-header-right .btn { box-shadow: 0 6px 18px rgba(0,0,0,0.2); }
.ndp-sf-header-right { display: flex; gap: 10px; }
.ndp-sf-follow-btn { background: rgba(255,255,255,0.92); color: #1b3022; border: none; }
.ndp-sf-follow-btn.is-following { background: rgba(255,255,255,0.5); color: #1b3022; }
.ndp-sf-follow-btn:hover { filter: brightness(0.97); }

.ndp-sf-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: #fff;
    border: 1px solid #ece7da;
    border-radius: 14px;
    margin-bottom: 26px;
    overflow: hidden;
}
.ndp-sf-stat {
    flex: 1;
    min-width: 130px;
    text-align: center;
    padding: 16px 12px;
    border-right: 1px solid #f0ece0;
}
.ndp-sf-stat:last-child { border-right: none; }
.ndp-sf-stat strong { display: block; font-size: 20px; color: #1b3022; }
.ndp-sf-stat span { font-size: 12px; color: #8a8477; }

.ndp-sf-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 26px;
    align-items: start;
    padding-bottom: 60px;
}

.ndp-sf-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 20px; }
.ndp-sf-card {
    background: #fff;
    border: 1px solid #ece7da;
    border-radius: 14px;
    padding: 18px;
}
.ndp-sf-card h3 { margin: 0 0 10px; font-size: 14.5px; color: #1b3022; }
.ndp-sf-card p { font-size: 13.5px; color: #55503f; line-height: 1.6; margin: 0; }

.ndp-sf-policy { border-top: 1px solid #f0ece0; padding-top: 10px; margin-top: 10px; }
.ndp-sf-policy:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.ndp-sf-policy summary { cursor: pointer; font-weight: 600; font-size: 13px; color: #2b2a27; }
.ndp-sf-policy summary i { color: var(--sf-accent, #c59b27); margin-right: 6px; }
.ndp-sf-policy p { margin-top: 8px; font-size: 13px; color: #6d6a63; }

.ndp-sf-socials { display: flex; gap: 10px; }
.ndp-sf-social {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #f4f1e8;
    color: #55503f;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}
.ndp-sf-social:hover { background: #1b3022; color: #fff; }

.ndp-sf-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.ndp-sf-search {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #ded7c6;
    border-radius: 10px;
    padding: 9px 12px;
}
.ndp-sf-search i { color: #b4ae9c; }
.ndp-sf-search input { border: none; outline: none; flex: 1; font-size: 13.5px; }
#ndp-sf-category-select, #ndp-sf-sort-select {
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid #ded7c6;
    background: #fff;
    font-size: 13.5px;
}

.ndp-sf-load-more {
    display: block;
    margin: 24px auto 0;
    background: #fff;
    border: 1px solid #ded7c6;
    border-radius: 30px;
    padding: 11px 26px;
    font-weight: 700;
    font-size: 13.5px;
    color: #1b3022;
    cursor: pointer;
}
.ndp-sf-load-more:hover { background: #f4f1e8; }

/* Contact modal */
.ndp-sf-modal {
    position: fixed;
    inset: 0;
    background: rgba(20,18,10,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}
.ndp-sf-modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 26px;
    width: 100%;
    max-width: 440px;
    position: relative;
}
.ndp-sf-modal-box h3 { margin-top: 0; }
.ndp-sf-modal-close {
    position: absolute;
    top: 14px; right: 16px;
    border: none;
    background: none;
    font-size: 22px;
    color: #b4ae9c;
    cursor: pointer;
    line-height: 1;
}
.ndp-sf-modal-close:hover { color: #2b2a27; }
#ndp-sf-contact-form .form-group { margin-bottom: 14px; }
#ndp-sf-contact-form label { display: block; font-size: 12.5px; font-weight: 600; color: #6d6a63; margin-bottom: 5px; }
#ndp-sf-contact-form input, #ndp-sf-contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ded7c6;
    font-size: 13.5px;
    box-sizing: border-box;
}
#ndp-sf-contact-status { margin-left: 10px; font-size: 12.5px; color: #146c34; }

@media (max-width: 860px) {
    .ndp-sf-body { grid-template-columns: 1fr; }
    .ndp-sf-sidebar { position: static; }
    .ndp-sf-header { margin-top: -40px; }
    .ndp-sf-logo-frame { width: 80px; height: 80px; }
    .ndp-sf-identity h1 { font-size: 20px; }
}
