.nd-directory-header{margin-bottom:30px;padding:40px 0;text-align:center}.nd-directory-title{font-size:2.5em;margin-bottom:10px}.nd-directory-description{font-size:1.1em;color:#666}.nd-directory-filters{display:flex;gap:15px;margin-bottom:30px;margin-left:auto;margin-right:auto;width:80%;padding:20px;background:#f8f8f8;border-radius:8px;flex-wrap:wrap;align-items:center;box-sizing:border-box}.nd-directory-filter-form{display:flex;gap:10px;flex:1;flex-wrap:wrap}.nd-filter-search input{padding:10px 15px;border:1px solid #ddd;border-radius:4px;min-width:250px}.nd-filter-select select{padding:10px 15px;border:1px solid #ddd;border-radius:4px;background:#fff}.nd-filter-submit{padding:10px 25px;background:#0073aa;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:600}.nd-filter-submit:hover{background:#005177}.nd-directory-view-toggle{display:flex;gap:5px}.nd-view-btn{display:inline-flex;align-items:center;gap:5px;padding:8px 14px;background:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:13px;font-weight:500;white-space:nowrap}.nd-view-btn .dashicons{font-size:16px;width:16px;height:16px;line-height:1}.nd-view-btn.active{background:#0073aa;color:#fff;border-color:#0073aa}.nd-directory-listings[data-view=grid]{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:25px;margin-bottom:40px}.nd-directory-listings[data-view=list]{display:flex;flex-direction:column;gap:20px;margin-bottom:40px}.nd-listing-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;transition:transform .2s,box-shadow .2s}.nd-listing-card:hover{transform:translateY(-3px);box-shadow:0 5px 20px #0000001a}.nd-listing-card--free{border-top:4px solid #2196f3}.nd-listing-card--basic{border-top:4px solid #4caf50}.nd-listing-card--premium{border-top:4px solid #7c3aed}.nd-card-tier-row{margin-bottom:6px}.nd-card-social-row{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.nd-card-social-row .nelsons-dir-social-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#f0f0f1;transition:background .15s}.nd-card-social-row .nelsons-dir-social-icon:hover{background:#dcdcde}.nd-card-social-row .nelsons-dir-social-icon svg{width:14px;height:14px}.nd-card-view-btn{display:inline-block;margin-top:14px;padding:7px 18px;background:#f2b705;color:#fff;border-radius:4px;font-size:13px;font-weight:600;text-decoration:none;transition:opacity .15s}.nd-card-view-btn:hover{opacity:.88;color:#fff;text-decoration:none}.nd-directory-listings[data-view=list] .nd-listing-card{display:flex;flex-direction:row}.nd-card-thumbnail{position:relative;overflow:hidden;background:#f0f0f0}.nd-directory-listings[data-view=grid] .nd-card-thumbnail{height:200px}.nd-directory-listings[data-view=list] .nd-card-thumbnail{width:250px;flex-shrink:0}.nd-card-thumbnail img{width:100%;height:100%;object-fit:cover}.nd-card-placeholder{display:flex;align-items:center;justify-content:center;height:100%;font-size:60px;color:#ccc}.nd-card-category{position:absolute;top:10px;left:10px;padding:5px 12px;background:#000000b3;color:#fff;font-size:12px;border-radius:4px}.nd-card-content{padding:20px}.nd-card-title{margin:0 0 10px;font-size:1.3em}.nd-card-title a{text-decoration:none;color:inherit}.nd-card-title a:hover{color:#0073aa}.nd-card-excerpt{margin-bottom:15px;color:#666;line-height:1.6}.nd-card-meta{display:flex;flex-wrap:wrap;gap:15px;font-size:.9em;color:#666}.nd-card-meta>div{display:flex;align-items:center;gap:5px}.nd-price-range{color:#5cb85c;font-weight:600}.nd-listing-hero{position:relative;margin-bottom:40px;background:#f0f0f0}.nd-hero-gallery{display:grid;grid-template-columns:1fr 200px;gap:10px;max-height:500px}.nd-hero-image{overflow:hidden}.nd-hero-image img{width:100%;height:100%;object-fit:cover}.nd-hero-thumbnails{display:grid;grid-template-rows:repeat(4,1fr);gap:10px}.nd-hero-thumb{overflow:hidden;background:#f8f8f8}.nd-hero-thumb img{width:100%;height:100%;object-fit:cover}.nd-hero-content{padding:30px 0;background:linear-gradient(to bottom,rgba(0,0,0,.6),transparent);position:absolute;bottom:0;left:0;right:0;color:#fff}.nd-hero-title{margin:0 0 10px;font-size:2.5em}.nd-hero-excerpt{font-size:1.2em;opacity:.9}.nd-listing-tabs{display:flex;gap:10px;border-bottom:2px solid #e0e0e0;margin-bottom:30px}.nd-tab-btn{padding:15px 25px;background:none;border:none;border-bottom:3px solid transparent;cursor:pointer;font-size:1em;font-weight:600;color:#666}.nd-tab-btn.active{color:#0073aa;border-bottom-color:#0073aa}.nd-tab-content{display:none}.nd-tab-content.active{display:block}.nd-listing-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:25px;margin-bottom:20px}.nd-listing-card h3{margin-top:0;margin-bottom:20px;font-size:1.3em}.nd-contact-item{display:flex;align-items:flex-start;gap:10px;margin-bottom:15px}.nd-contact-item:last-child{margin-bottom:0}.nd-contact-item .dashicons{color:#0073aa;margin-top:2px}.nd-contact-item address{font-style:normal}.nd-details-grid{display:grid;gap:20px}.nd-detail-item{display:flex;gap:15px}.nd-detail-icon{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#f0f0f0;border-radius:50%}.nd-detail-content strong{display:block;margin-bottom:5px}.nd-directory-pagination{margin:40px 0;text-align:center}.nd-directory-pagination .page-numbers{display:inline-block;padding:8px 15px;margin:0 3px;background:#fff;border:1px solid #ddd;text-decoration:none;color:#333}.nd-directory-pagination .page-numbers.current{background:#0073aa;color:#fff;border-color:#0073aa}@media(max-width:768px){.nd-listing-content,.nd-hero-gallery{grid-template-columns:1fr}.nd-hero-thumbnails{grid-template-columns:repeat(4,1fr);grid-template-rows:1fr}.nd-directory-filters{flex-direction:column}.nd-directory-filter-form{width:100%}.nd-filter-search input{width:100%;min-width:0}}.nd-listing-hero{position:relative;margin-bottom:40px;background:#f0f0f0;overflow:hidden}.nd-listing-hero.has-media,.nd-listing-hero:has(.nd-hero-gallery){min-height:400px;max-height:500px}.nd-hero-gallery{display:grid;grid-template-columns:1fr 200px;gap:10px;height:500px;max-height:500px}.nd-hero-image{position:relative;overflow:hidden;height:100%;background:#f0f0f0}.nd-hero-image img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block}.nd-hero-thumbnails{display:grid;grid-template-rows:repeat(4,1fr);gap:10px;height:100%}.nd-hero-thumb{overflow:hidden;background:#f8f8f8;border-radius:4px;cursor:pointer;transition:transform .2s}.nd-hero-thumb:hover{transform:scale(1.05)}.nd-hero-thumb img{width:100%;height:100%;object-fit:cover;display:block}.nd-hero-content{position:absolute;bottom:0;left:0;right:0;padding:40px 0;background:linear-gradient(to bottom,#0000,#0006,#000c);color:#fff;z-index:10}.nd-listing-hero.no-media .nd-hero-content,.nd-listing-hero:not(:has(.nd-hero-gallery)) .nd-hero-content{position:relative;background:linear-gradient(135deg,#667eea,#764ba2);padding:60px 0}.nd-hero-title{margin:0 0 10px;font-size:2.5em;line-height:1.2;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.3);font-weight:700}.nd-hero-excerpt{font-size:1.2em;opacity:.95;line-height:1.4;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.3)}.nd-directory-container{max-width:1200px;margin:0 auto;padding:0 20px}@media(max-width:768px){.nd-hero-gallery{grid-template-columns:1fr;height:400px}.nd-hero-thumbnails{grid-template-columns:repeat(4,1fr);grid-template-rows:1fr;height:100px}.nd-hero-title{font-size:1.8em}.nd-hero-excerpt{font-size:1em}}@media(max-width:480px){.nd-listing-hero.has-media,.nd-hero-gallery{height:300px}.nd-hero-thumbnails{display:none}.nd-hero-title{font-size:1.5em}.nd-hero-content{padding:20px 0}}.nd-listing-tabs{display:block!important;width:100%;margin-bottom:30px}.nd-tab-buttons{display:flex!important;gap:5px;border-bottom:2px solid #e0e0e0;margin-bottom:20px;width:100%}.nd-tab-btn{padding:12px 24px;background:none;border:none;border-bottom:3px solid transparent;cursor:pointer;font-size:1em;color:#666;transition:all .2s;margin-bottom:-2px;font-weight:500}.nd-tab-btn:hover{color:#0073aa;background:#f8f8f8}.nd-tab-btn.active{color:#0073aa;border-bottom-color:#0073aa;font-weight:600;background:transparent}.nd-tab-content{display:none!important;width:100%;padding:20px 0}.nd-tab-content.active{display:block!important}.nd-listing-description{line-height:1.8;font-size:1.05em;color:#333;width:100%}.nd-listing-description p{margin-bottom:1.2em}.nd-listing-description p:last-child{margin-bottom:0}.nd-listing-hours{line-height:1.8;font-size:1.05em;color:#333;width:100%}.nd-listing-hours p{margin-bottom:1em}.single-nelsons_dir_listing .entry-content:not(.nd-listing-description):not(.nd-listing-hours){display:none!important}.nd-directory-single>.entry-content{display:none!important}article.nd-directory-single>p,article.nd-directory-single>div.entry-content{display:none!important}.nd-listing-main{width:100%;min-width:0}.nd-listing-content{display:grid;grid-template-columns:1fr 350px;gap:40px;margin-bottom:40px}@media(max-width:768px){.nd-listing-content{grid-template-columns:1fr}.nd-tab-buttons{flex-wrap:wrap}.nd-tab-btn{padding:10px 16px;font-size:.95em}}@media(max-width:480px){.nd-tab-buttons{flex-direction:column;border-bottom:none}.nd-tab-btn{border-bottom:1px solid #e0e0e0;border-left:3px solid transparent;padding:12px 16px;text-align:left;margin-bottom:0}.nd-tab-btn.active{border-left-color:#0073aa;border-bottom-color:#e0e0e0;background:#f8f8f8}}

/* =====================================================
   SINGLE LISTING — TIERED LAYOUT
   ===================================================== */

.nelsons-dir-single-wrap {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
    font-family: inherit;
}

/* --- Tier Badge --- */
.nelsons-dir-tier-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}
.nelsons-dir-tier-badge--free    { background: #2196f3; }
.nelsons-dir-tier-badge--basic   { background: #4caf50; }
.nelsons-dir-tier-badge--premium { background: #7c3aed; }

/* --- Breadcrumb --- */
.nelsons-dir-breadcrumb {
    font-size: 13px;
    color: #666;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.nelsons-dir-breadcrumb a { color: #2196f3; text-decoration: none; }
.nelsons-dir-breadcrumb a:hover { text-decoration: underline; }
.nelsons-dir-breadcrumb span:last-child { color: #333; }

/* --- Header Panel (2-column) --- */
.nelsons-dir-header-panel {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    align-items: start;
}

/* Left: thumbnail + info */
.nelsons-dir-header-left {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.nelsons-dir-listing-thumb {
    flex-shrink: 0;
    width: 225px;
    height: 225px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    background: #f6f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nelsons-dir-listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}
.nelsons-dir-thumb-placeholder {
    font-size: 48px;
    color: #ccc;
}

.nelsons-dir-listing-info { flex: 1; min-width: 0; }

.nelsons-dir-listing-title {
    font-size: 1.7em;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
    color: #1d2327;
}

.nelsons-dir-info-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
}
.nelsons-dir-info-row .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    color: #555;
}
.nelsons-dir-info-row address { font-style: normal; line-height: 1.5; }
.nelsons-dir-info-row a { color: #444; text-decoration: none; }
.nelsons-dir-info-row a:hover { text-decoration: underline; }

.nelsons-dir-website-link {
    color: #2196f3 !important;
    font-size: 14px;
}

/* Right: map + contact form */
.nelsons-dir-header-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.nelsons-dir-map-wrap {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
.nelsons-dir-map-wrap .nd-listing-map {
    height: 260px !important;
}

/* --- Social Icons Row --- */
.nelsons-dir-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}
.nelsons-dir-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: opacity .2s, transform .2s;
    flex-shrink: 0;
}
.nelsons-dir-social-icon:hover { opacity: .85; transform: translateY(-2px); }
.nelsons-dir-social-icon--facebook  { background: #1877f2; }
.nelsons-dir-social-icon--instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.nelsons-dir-social-icon--twitter   { background: #000; }
.nelsons-dir-social-icon--linkedin  { background: #0a66c2; }
.nelsons-dir-social-icon--tiktok    { background: #010101; }
.nelsons-dir-social-icon--youtube   { background: #ff0000; }

/* --- Contact Form Card (Premium — inside header-right) --- */
.nelsons-dir-contact-form-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}
.nelsons-dir-contact-form-card h3 {
    margin: 0 0 4px;
    font-size: 1.05em;
    font-weight: 700;
    color: #1d2327;
}
.nelsons-dir-contact-form-sub {
    font-size: 12px;
    color: #888;
    margin: 0 0 14px;
}
.nelsons-dir-contact-form__two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.nelsons-dir-contact-form__row { margin-bottom: 10px; }
.nelsons-dir-contact-form__input,
.nelsons-dir-contact-form__textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
    background: #fafafa;
    color: #333;
}
.nelsons-dir-contact-form__input:focus,
.nelsons-dir-contact-form__textarea:focus {
    outline: none;
    border-color: #7c3aed;
    background: #fff;
}
.nelsons-dir-contact-form__textarea { resize: vertical; min-height: 90px; }
.nelsons-dir-contact-form__actions { margin-top: 4px; }
.nelsons-dir-contact-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #7c3aed;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.nelsons-dir-contact-form__submit:hover { background: #6d28d9; }
.nelsons-dir-contact-form__submit:disabled { opacity: .6; cursor: not-allowed; }
.nelsons-dir-contact-form__recaptcha-note {
    font-size: 11px;
    color: #c0392b;
    margin: 8px 0 0;
}
.nelsons-dir-contact-form__response { margin-top: 10px; font-size: 13px; }
.nelsons-dir-contact-form__response--success { color: #2e7d32; }
.nelsons-dir-contact-form__response--error   { color: #c0392b; }

/* --- Free Tier: Business Information Table --- */
.nelsons-dir-biz-info-table {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
}
.nelsons-dir-biz-info-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #555;
    margin: 0 0 14px;
}
.nelsons-dir-biz-info-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.nelsons-dir-biz-info-table th {
    text-align: left;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #777;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}
.nelsons-dir-biz-info-table td {
    padding: 10px 12px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}
.nelsons-dir-biz-info-table tr:last-child td { border-bottom: none; }

/* --- Body Section (Basic/Premium) --- */
.nelsons-dir-body-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 28px;
}

.nelsons-dir-about-section h3 {
    font-size: 1em;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 12px;
}
.nelsons-dir-about-content {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}
.nelsons-dir-about-content p { margin-bottom: 1em; }
.nelsons-dir-about-content p:last-child { margin-bottom: 0; }

/* Follow Us row (Basic) */
.nelsons-dir-follow-section {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.nelsons-dir-follow-label {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

/* Gallery */
.nelsons-dir-gallery-section { margin-top: 20px; }
.nelsons-dir-gallery-label {
    font-size: 13px;
    font-weight: 700;
    color: #555;
    margin: 0 0 12px;
}
.nelsons-dir-gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}
.nelsons-dir-gallery-item {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid #e8e8e8;
}
.nelsons-dir-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s;
    display: block;
}
.nelsons-dir-gallery-item:hover img { transform: scale(1.06); }

/* Hours section */
.nelsons-dir-hours-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}
.nelsons-dir-hours-section h3 {
    font-size: 1em;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 10px;
}
.nelsons-dir-hours-content { font-size: 14px; line-height: 1.8; color: #444; }

/* --- Responsive --- */
@media (max-width: 860px) {
    .nelsons-dir-header-panel {
        grid-template-columns: 1fr;
    }
    .nelsons-dir-header-right {
        order: -1;
    }
    .nelsons-dir-map-wrap .nd-listing-map {
        height: 220px !important;
    }
}
@media (max-width: 600px) {
    .nelsons-dir-header-left { flex-direction: column; }
    .nelsons-dir-listing-thumb { width: 180px; height: 180px; }
    .nelsons-dir-contact-form__two-col { grid-template-columns: 1fr; }
    .nelsons-dir-gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .nelsons-dir-listing-title { font-size: 1.4em; }
}

/* =====================================================
   SINGLE LISTING — WEB CRAFT STUDIO LAYOUT
   ===================================================== */

/* Header Card */
.nelsons-dir-header-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
}

/* Logo Box */
.nelsons-dir-logo-box {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.nelsons-dir-logo-box img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #f9f9f9;
    padding: 6px;
    display: block;
}
.nelsons-dir-logo-placeholder {
    width: 130px;
    height: 130px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    color: #ccc;
}

/* Tier Pill */
.nelsons-dir-tier-pill {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
}
.nelsons-dir-tier-pill--free    { background: #2196f3; }
.nelsons-dir-tier-pill--basic   { background: #4caf50; }
.nelsons-dir-tier-pill--premium { background: #7c3aed; }
.nelsons-dir-tier-pill--sm { font-size: 10px; padding: 2px 8px; }

/* Title Block */
.nelsons-dir-title-block {
    flex: 1;
    min-width: 0;
}
.nelsons-dir-biz-name {
    font-size: 1.75em;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 8px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.nelsons-dir-verified-icon {
    flex-shrink: 0;
    vertical-align: middle;
}
.nelsons-dir-biz-tagline {
    font-size: 14px;
    color: #777;
    margin: 0 0 10px;
}
.nelsons-dir-price-badge {
    display: inline-block;
    padding: 3px 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Action Buttons */
.nelsons-dir-action-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.nelsons-dir-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background .2s, color .2s, border-color .2s;
    line-height: 1;
    font-family: inherit;
    background: none;
}
.nelsons-dir-btn--primary {
    background: #2196f3;
    color: #fff;
    border-color: #2196f3;
}
.nelsons-dir-btn--primary:hover { background: #1976d2; border-color: #1976d2; color: #fff; }
.nelsons-dir-btn--outline {
    background: #fff;
    color: #333;
    border-color: #d0d0d0;
}
.nelsons-dir-btn--outline:hover { border-color: #2196f3; color: #2196f3; background: #f0f7ff; }

/* Two-column layout */
.nelsons-dir-two-col {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

/* Sidebar */
.nelsons-dir-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 20px;
}
.nelsons-dir-sidebar-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 18px 18px 14px;
}
.nelsons-dir-sidebar-card h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #999;
    margin: 0 0 14px;
}
.nelsons-dir-sidebar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #333;
}
.nelsons-dir-sidebar-row:last-child { margin-bottom: 0; }
.nelsons-dir-sidebar-row--top { align-items: flex-start; }
.nelsons-dir-sidebar-row a { color: #2196f3; text-decoration: none; }
.nelsons-dir-sidebar-row a:hover { text-decoration: underline; }
.nelsons-dir-sidebar-row address { font-style: normal; line-height: 1.5; }

.nelsons-dir-sidebar-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nelsons-dir-sidebar-icon--blue { background: #e3f2fd; color: #1565c0; }
.nelsons-dir-sidebar-icon--red  { background: #fce4ec; color: #c62828; }
.nelsons-dir-sidebar-icon svg { display: block; }

.nelsons-dir-hours-snippet {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

/* Details Table (sidebar) */
.nelsons-dir-details-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.nelsons-dir-details-table th {
    text-align: left;
    font-weight: 600;
    color: #888;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    width: 45%;
    font-size: 12px;
}
.nelsons-dir-details-table td {
    padding: 6px 0 6px 8px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}
.nelsons-dir-details-table tr:last-child th,
.nelsons-dir-details-table tr:last-child td { border-bottom: none; }
.nelsons-dir-details-table a { color: #2196f3; text-decoration: none; }
.nelsons-dir-details-table a:hover { text-decoration: underline; }

/* Main Column */
.nelsons-dir-main-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}
.nelsons-dir-main-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 22px 24px;
}
.nelsons-dir-section-heading {
    font-size: 1em;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.nelsons-dir-description-content {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}
.nelsons-dir-description-content p { margin: 0 0 1em; }
.nelsons-dir-description-content p:last-child { margin-bottom: 0; }
.nelsons-dir-hours-content {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}
.nelsons-dir-contact-subtext {
    font-size: 13px;
    color: #888;
    margin: -8px 0 16px;
}
.nelsons-dir-contact-form__submit--full {
    width: 100%;
    justify-content: center;
}

/* Verified listing badge (below logo in header card) */
.nelsons-dir-verified-listing {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    color: #1565c0;
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 4px;
    padding: 4px 10px;
    margin-top: 10px;
    white-space: nowrap;
    text-transform: uppercase;
}

/* Social label inside Business Details sidebar card */
.nelsons-dir-sidebar-social { margin-top: 12px; }
.nelsons-dir-sidebar-social-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #999;
    margin: 0 0 8px;
}

/* Map in main column — taller than sidebar map */
.nelsons-dir-map-wrap--main .nd-listing-map { height: 380px !important; }

/* Responsive — single listing Web Craft Studio */
@media (max-width: 900px) {
    .nelsons-dir-two-col { grid-template-columns: 240px 1fr; }
}
@media (max-width: 720px) {
    .nelsons-dir-two-col { grid-template-columns: 1fr; }
    .nelsons-dir-sidebar { position: static; }
    .nelsons-dir-header-card { flex-direction: column; align-items: center; text-align: center; }
    .nelsons-dir-action-btns { justify-content: center; }
    .nelsons-dir-biz-name { justify-content: center; }
}
@media (max-width: 480px) {
    .nelsons-dir-logo-box img,
    .nelsons-dir-logo-placeholder { width: 100px; height: 100px; }
    .nelsons-dir-biz-name { font-size: 1.4em; }
}

/* archive grid fallback */
.nd-directory-listings[data-view=grid] {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

/* =====================================================
   LISTING CARDS — Horizontal Tier-Aware Layout
   ===================================================== */

.nelsons-dir-hcard {
    display: flex;
    background: #fff;
    border: 1px solid #dde0e4;
    border-left: 4px solid #2196f3;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow .2s, transform .15s;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
.nelsons-dir-hcard:hover {
    box-shadow: 0 6px 22px rgba(0,0,0,.13);
    transform: translateY(-2px);
}
.nelsons-dir-hcard--free    { border-left-color: #2196f3; }
.nelsons-dir-hcard--basic   { border-left-color: #4caf50; }
.nelsons-dir-hcard--premium { border-left-color: #7c3aed; }

/* Thumbnail */
.nelsons-dir-hcard__thumb {
    flex-shrink: 0;
    width: 130px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-right: 1px solid #eee;
}
.nelsons-dir-hcard__thumb a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 110px;
}
.nelsons-dir-hcard__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}
.nelsons-dir-hcard__thumb-placeholder {
    font-size: 44px;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 110px;
}
.nelsons-dir-hcard__featured-badge {
    position: absolute;
    top: 8px;
    left: 0;
    background: #4caf50;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 0 3px 3px 0;
    z-index: 1;
}
.nelsons-dir-hcard--premium .nelsons-dir-hcard__featured-badge { background: #7c3aed; }

/* Body */
.nelsons-dir-hcard__body {
    flex: 1;
    min-width: 0;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Badges row: tier pill + category pill */
.nelsons-dir-hcard__badges {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

/* Business name */
.nelsons-dir-hcard__name {
    font-size: 1.15em;
    font-weight: 700;
    color: #1d2327;
    text-decoration: none;
    line-height: 1.3;
    display: block;
    margin-bottom: 6px;
}
.nelsons-dir-hcard__name:hover { color: #2196f3; }

/* Category pill */
.nelsons-dir-hcard__cat-pill {
    display: inline-block;
    padding: 2px 9px;
    background: #f0f4ff;
    color: #2563eb;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

/* Meta rows */
.nelsons-dir-hcard__meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.nelsons-dir-hcard__meta-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #555;
}
.nelsons-dir-hcard__meta-row a { color: #555; text-decoration: none; }
.nelsons-dir-hcard__meta-row a:hover { color: #2196f3; }
.nelsons-dir-hcard__meta-icon .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #999;
    flex-shrink: 0;
}
.nelsons-dir-hcard__website-link { color: #2196f3 !important; font-weight: 500; }

/* Social icons row */
.nelsons-dir-hcard__socials {
    display: flex;
    gap: 5px;
    margin-top: 6px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 600px) {
    .nelsons-dir-hcard__thumb { width: 90px; }
    .nelsons-dir-hcard__body { padding: 12px 14px; }
    .nelsons-dir-hcard__name { font-size: 1em; }
}
@media (max-width: 420px) {
    .nelsons-dir-hcard { flex-direction: column; }
    .nelsons-dir-hcard__thumb { width: 100%; height: 130px; border-right: none; border-bottom: 1px solid #eee; }
    .nelsons-dir-hcard__thumb img { object-fit: cover; padding: 0; }
}

/* =====================================================
   GREEN VALLEY CARD — Browse /directory/ layout
   ===================================================== */

.nelsons-dir-gv-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 24px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.nelsons-dir-gv-card--free    { border-top: 4px solid #2196f3; }
.nelsons-dir-gv-card--basic   { border-top: 4px solid #4caf50; }
.nelsons-dir-gv-card--premium { border-top: 4px solid #7c3aed; }

.nelsons-dir-gv-card__tier-bar { margin-bottom: 14px; }

/* Strip the inner border/padding from header-panel when inside a GV card */
.nelsons-dir-gv-card .nelsons-dir-header-panel {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 16px;
}

/* Smaller map height inside browse cards */
.nelsons-dir-gv-card .nelsons-dir-map-wrap .nd-listing-map { height: 220px !important; }

/* Card listing title — smaller than single-page h1 */
.nelsons-dir-gv-card .nelsons-dir-listing-title {
    font-size: 1.2em;
    margin: 0 0 8px;
}
.nelsons-dir-gv-card .nelsons-dir-listing-title a {
    color: #1d2327;
    text-decoration: none;
}
.nelsons-dir-gv-card .nelsons-dir-listing-title a:hover { color: #2196f3; }

/* Strip borders from info/body sections inside the card */
.nelsons-dir-gv-card .nelsons-dir-biz-info-table {
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    margin-top: 4px;
}
.nelsons-dir-gv-card .nelsons-dir-about-section,
.nelsons-dir-gv-card .nelsons-dir-follow-section,
.nelsons-dir-gv-card .nelsons-dir-gallery-section {
    margin-top: 16px;
}
.nelsons-dir-gv-card .nelsons-dir-contact-form-card {
    margin-top: 12px;
}

/* Archive card: no right-column (no map), header-left takes full width */
.nelsons-dir-gv-card__panel--no-map {
    grid-template-columns: 1fr !important;
}
.nelsons-dir-gv-card__panel--no-map .nelsons-dir-header-left {
    width: 100%;
}

/* Read more link in archive excerpt */
.nelsons-dir-read-more {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.9em;
    color: #4caf50;
    text-decoration: none;
    font-weight: 500;
}
.nelsons-dir-read-more:hover { text-decoration: underline; }

/* View Full Listing CTA on paid archive cards */
.nelsons-dir-gv-card__cta {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e0e0e0;
}
.nelsons-dir-view-listing-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #f2b705;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .15s;
}
.nelsons-dir-view-listing-btn:hover { opacity: .88; color: #fff; text-decoration: none; }

/* About section in archive — tighter spacing */
.nelsons-dir-about-section--archive { margin-top: 16px; }
.nelsons-dir-about-section--archive h3 { margin: 0 0 8px; font-size: 1em; text-transform: uppercase; letter-spacing: .04em; color: #666; }

/* Archive gallery strip — max 3 photos */
.nelsons-dir-gallery-section--archive { margin-top: 16px; }
.nelsons-dir-gallery-grid--archive {
    display: flex;
    gap: 8px;
}
.nelsons-dir-gallery-grid--archive .nelsons-dir-gallery-item {
    display: block;
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    background: #f6f7f7;
}
.nelsons-dir-gallery-grid--archive .nelsons-dir-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .2s;
}
.nelsons-dir-gallery-grid--archive .nelsons-dir-gallery-item:hover img {
    transform: scale(1.04);
}

/* Gap between cards on the archive page */
.nd-directory-listings[data-view=list] {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

@media (max-width: 860px) {
    .nelsons-dir-gv-card .nelsons-dir-header-panel {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 600px) {
    .nelsons-dir-gv-card { padding: 16px; }
    .nelsons-dir-gv-card .nelsons-dir-header-left { flex-direction: column; }
    .nelsons-dir-gv-card .nelsons-dir-listing-thumb { width: 150px; height: 150px; }
}
