/* Suraksha Packages Custom Interface */

#suraksha-packages {
    background-color: #fafafa !important;
    padding: 60px 0;
    font-family: 'Inter', sans-serif;
}

/* Section Header styling */
.sp-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.sp-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-green);
    position: relative;
    display: inline-block;
}

.sp-subtitle::before, .sp-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--primary-green);
}
.sp-subtitle::before { left: -40px; }
.sp-subtitle::after { right: -40px; }

.sp-section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 10px 0;
}

.sp-section-header p {
    font-size: 1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Banner */
.sp-features-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-bottom: 40px;
    border: 1px solid #f1f5f9;
}

.sp-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sp-feature-icon {
    width: 40px;
    height: 40px;
    background: #f0fdf4;
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.sp-feature-text strong {
    display: block;
    font-size: 0.85rem;
    color: #0f172a;
    font-weight: 700;
}

.sp-feature-text span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
}

/* Grid Layout */
.sp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Card Styling */
.sp-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.sp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.sp-card-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.sp-icon-box {
    width: 35px;
    height: 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 4px;
    margin-right: 15px;
    clip-path: polygon(50% 0%, 100% 0, 100% 75%, 50% 100%, 0 75%, 0 0);
}

.sp-card-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
}

.sp-param-badge {
    text-align: center;
    padding: 4px 10px;
    border-radius: 6px;
}

.sp-param-badge span.num {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
}

.sp-param-badge span.lbl {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Tests List */
.sp-card-body {
    padding: 20px;
    flex: 1;
}

.sp-test-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    column-count: 2;
    column-gap: 15px;
}

.sp-test-list.single-col {
    column-count: 1;
}

.sp-test-list li {
    font-size: 0.75rem;
    color: #334155;
    font-weight: 700;
    line-height: 1.6;
    break-inside: avoid;
    margin-bottom: 4px;
}

.sp-test-list li span.num {
    display: inline-block;
    width: 20px;
    color: #64748b;
}

/* Footer Section */
.sp-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #f1f5f9;
    background: #fff;
}

.sp-total-params {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.sp-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.sp-price-mrp {
    font-size: 0.6rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
}

.sp-price-mrp span {
    display: block;
    font-size: 1.1rem;
    text-decoration: line-through;
    color: #334155;
    margin-top: 2px;
}

.sp-price-discount {
    font-size: 0.6rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
}

.sp-price-discount span {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    margin-top: 2px;
}

.sp-btn-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s;
}

.sp-btn-details:hover {
    opacity: 0.9;
    color: #fff;
}

/* Full Width Card Modification */
.sp-card-full {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 300px;
}

.sp-card-full .sp-card-header {
    border-bottom: none;
    padding-bottom: 0;
}

.sp-card-full .sp-card-body {
    grid-column: 1 / 2;
    padding-top: 10px;
}

.sp-card-full .sp-test-list {
    column-count: 3;
}

.sp-card-full .sp-card-footer {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    border-top: none;
    border-left: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sp-card-full .sp-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.sp-card-full.has-side-image {
    grid-template-columns: 400px 1fr 300px;
}

.sp-card-full.has-side-image .sp-card-image {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    height: 100%;
    border-bottom: none;
    border-right: 1px solid #e2e8f0;
}

.sp-card-full.has-side-image .sp-card-header {
    grid-column: 2 / 3;
}

.sp-card-full.has-side-image .sp-card-body {
    grid-column: 2 / 3;
}

.sp-card-full.has-side-image .sp-card-footer {
    grid-column: 3 / 4;
}

.sp-card-image {
    height: 200px; 
    width: 100%; 
    overflow: hidden; 
    border-bottom: 1px solid #e2e8f0;
}

.sp-card-image img {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
}/* Themes */
/* 1. Green */
.sp-theme-1 { border-color: #e2e8f0; border-top: 4px solid #10b981; }
.sp-theme-1 .sp-icon-box { background-color: #10b981; }
.sp-theme-1 .sp-card-title { color: #10b981; }
.sp-theme-1 .sp-param-badge { background-color: #ecfdf5; color: #10b981; }
.sp-theme-1 .sp-btn-details { background-color: #10b981; }
.sp-theme-1 .sp-total-params { background-color: #ecfdf5; color: #10b981; }
.sp-theme-1 .sp-price-discount span { color: #10b981; }

/* 2. Blue */
.sp-theme-2 { border-color: #e2e8f0; border-top: 4px solid #3b82f6; }
.sp-theme-2 .sp-icon-box { background-color: #3b82f6; }
.sp-theme-2 .sp-card-title { color: #3b82f6; }
.sp-theme-2 .sp-param-badge { background-color: #eff6ff; color: #3b82f6; }
.sp-theme-2 .sp-btn-details { background-color: #3b82f6; }
.sp-theme-2 .sp-total-params { background-color: #eff6ff; color: #3b82f6; }
.sp-theme-2 .sp-price-discount span { color: #3b82f6; }

/* 3. Purple */
.sp-theme-3 { border-color: #e2e8f0; border-top: 4px solid #8b5cf6; }
.sp-theme-3 .sp-icon-box { background-color: #8b5cf6; }
.sp-theme-3 .sp-card-title { color: #8b5cf6; }
.sp-theme-3 .sp-param-badge { background-color: #f5f3ff; color: #8b5cf6; }
.sp-theme-3 .sp-btn-details { background-color: #8b5cf6; }
.sp-theme-3 .sp-total-params { background-color: #f5f3ff; color: #8b5cf6; }
.sp-theme-3 .sp-price-discount span { color: #8b5cf6; }

/* 4. Pink */
.sp-theme-4 { border-color: #e2e8f0; border-top: 4px solid #ec4899; }
.sp-theme-4 .sp-icon-box { background-color: #ec4899; }
.sp-theme-4 .sp-card-title { color: #ec4899; }
.sp-theme-4 .sp-param-badge { background-color: #fdf2f8; color: #ec4899; }
.sp-theme-4 .sp-btn-details { background-color: #ec4899; }
.sp-theme-4 .sp-total-params { background-color: #fdf2f8; color: #ec4899; }
.sp-theme-4 .sp-price-discount span { color: #ec4899; }

/* 5. Orange */
.sp-theme-5 { border-color: #e2e8f0; border-top: 4px solid #f97316; }
.sp-theme-5 .sp-icon-box { background-color: #f97316; }
.sp-theme-5 .sp-card-title { color: #f97316; }
.sp-theme-5 .sp-param-badge { background-color: #fff7ed; color: #f97316; }
.sp-theme-5 .sp-btn-details { background-color: #f97316; }
.sp-theme-5 .sp-total-params { background-color: #fff7ed; color: #f97316; }
.sp-theme-5 .sp-price-discount span { color: #f97316; }

/* 6. Teal */
.sp-theme-6 { border-color: #e2e8f0; border-top: 4px solid #14b8a6; }
.sp-theme-6 .sp-icon-box { background-color: #14b8a6; }
.sp-theme-6 .sp-card-title { color: #14b8a6; }
.sp-theme-6 .sp-param-badge { background-color: #f0fdfa; color: #14b8a6; }
.sp-theme-6 .sp-btn-details { background-color: #14b8a6; }
.sp-theme-6 .sp-total-params { background-color: #f0fdfa; color: #14b8a6; }
.sp-theme-6 .sp-price-discount span { color: #14b8a6; }

/* 7. Dark Green (For wide packages) */
.sp-theme-7 { border-color: #e2e8f0; border-top: 4px solid #0f766e; }
.sp-theme-7 .sp-icon-box { background-color: #0f766e; }
.sp-theme-7 .sp-card-title { color: #0f766e; }
.sp-theme-7 .sp-param-badge { background-color: #f0fdf4; color: #0f766e; }
.sp-theme-7 .sp-btn-details { background-color: #0f766e; }
.sp-theme-7 .sp-total-params { background-color: #f0fdf4; color: #0f766e; }
.sp-theme-7 .sp-price-discount span { color: #0f766e; }

/* Responsive */
@media (max-width: 1024px) {
    .sp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sp-card-full {
        grid-template-columns: 1fr;
    }
    .sp-card-full .sp-card-body {
        grid-column: 1 / -1;
    }
    .sp-card-full .sp-card-footer {
        grid-column: 1 / -1;
        grid-row: auto;
        border-left: none;
        border-top: 1px solid #f1f5f9;
        flex-direction: column;
    }
    .sp-card-full .sp-price-row {
        flex-direction: row;
        align-items: flex-end;
    }
}

@media (max-width: 768px) {
    .sp-grid {
        grid-template-columns: 1fr;
    }
    .sp-features-banner {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .sp-test-list, .sp-card-full .sp-test-list {
        column-count: 1 !important;
    }
}
