/*
 Theme Name:   NSS Laptop Parts
 Theme URI:    https://www.nsslaptopparts.in/
 Description:  NSS Laptop Parts child theme — SEO, schema & UX enhancements
 Author:       NSS Laptop Service Center
 Template:     miniture
 Version:      1.1.0
 Text Domain:  nss-laptop-parts
*/

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
    --nss-primary: #1a56db;
    --nss-accent:  #f97316;
    --nss-dark:    #1e293b;
    --nss-muted:   #64748b;
    --nss-light:   #f8fafc;
    --nss-border:  #e2e8f0;
    --nss-radius:  6px;
}

/* =====================================================
   TRUST BADGES
   ===================================================== */
.nss-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
}
.nss-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: var(--nss-radius);
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.nss-faq { margin: 2rem 0; }
.nss-faq__item {
    border: 1px solid var(--nss-border);
    border-radius: var(--nss-radius);
    margin-bottom: 8px;
    overflow: hidden;
}
.nss-faq__question {
    padding: 14px 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    background: var(--nss-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nss-faq__question::-webkit-details-marker { display: none; }
.nss-faq__question::after { content: '+'; font-size: 1.2rem; color: var(--nss-primary); }
details[open] .nss-faq__question::after { content: '−'; }
.nss-faq__answer {
    padding: 12px 16px;
    color: var(--nss-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid var(--nss-border);
}

/* =====================================================
   BOOKING CTA
   ===================================================== */
.nss-booking-cta {
    background: linear-gradient(135deg, #1e40af 0%, var(--nss-primary) 100%);
    color: #fff;
    border-radius: 10px;
    padding: 28px 24px;
    margin: 24px 0;
    text-align: center;
}
.nss-booking-cta h3 { color: #fff; margin: 0 0 8px; font-size: 1.2rem; }
.nss-booking-cta p  { margin: 0 0 18px; opacity: 0.9; font-size: 0.95rem; }
.nss-cta-btn {
    display: inline-block;
    background: var(--nss-accent);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--nss-radius);
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity .2s;
}
.nss-cta-btn:hover { opacity: .88; color: #fff; }


/* =====================================================
   QUICK SPECS PILLS
   ===================================================== */
.nss-quick-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 16px;
}
.nss-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--nss-light);
    border: 1px solid var(--nss-border);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.8rem;
    color: var(--nss-dark);
    white-space: nowrap;
}
.nss-spec-icon { font-size: 0.9rem; }
.nss-spec-label { color: var(--nss-muted); font-weight: 500; }
.nss-spec-value { font-weight: 700; }

/* =====================================================
   ASSURANCE STRIP
   ===================================================== */
.nss-assurance-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 16px 0;
    padding: 16px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: var(--nss-radius);
}
.nss-assurance-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #0c4a6e;
    font-weight: 500;
}
.nss-assurance-item svg {
    flex-shrink: 0;
    stroke: #0284c7;
}

/* =====================================================
   CONTENT SECTION (keyword body copy)
   ===================================================== */
.nss-content-section {
    margin: 32px 0;
    padding: 0;
}
.nss-content-inner {
    max-width: 1200px;
}
.nss-section-h2 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--nss-dark) !important;
    margin: 0 0 20px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--nss-primary);
    display: inline-block;
}
.nss-content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}
@media (max-width: 768px) {
    .nss-content-grid { grid-template-columns: 1fr; gap: 20px; }
    .nss-assurance-strip { grid-template-columns: 1fr; }
}

/* Body copy */
.nss-content-body p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 14px;
}
.nss-content-body h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--nss-dark) !important;
    margin: 20px 0 10px !important;
}
.nss-feature-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
}
.nss-feature-list li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    line-height: 1.5;
}
.nss-feature-list li:last-child { border-bottom: none; }

/* Compatibility notice */
.nss-compatibility-note {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    border-radius: var(--nss-radius);
    padding: 12px 16px;
    font-size: 0.875rem;
    color: #78350f;
    margin-top: 16px;
    line-height: 1.6;
}
.nss-compatibility-note a { color: #b45309; font-weight: 700; }

/* =====================================================
   PROCESS / HOW IT WORKS BOX
   ===================================================== */
.nss-process-box {
    background: var(--nss-light);
    border: 1px solid var(--nss-border);
    border-radius: 10px;
    padding: 20px;
    position: sticky;
    top: 80px;
}
.nss-process-box h3 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--nss-dark) !important;
    margin: 0 0 16px !important;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--nss-primary);
}
.nss-steps {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.nss-steps li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--nss-border);
}
.nss-steps li:last-child { border-bottom: none; }
.nss-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: var(--nss-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}
.nss-steps li > div { flex: 1; }
.nss-steps li strong {
    display: block;
    font-size: 0.875rem;
    color: var(--nss-dark);
    margin-bottom: 2px;
}
.nss-steps li p {
    font-size: 0.8rem !important;
    color: var(--nss-muted) !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}
