/* ── SS 304 Bolts Page Styles ── */
.ss304-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    background: linear-gradient(135deg, #f9fbf6 0%, #eef3e8 100%);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 36px;
    border: 1px solid #d6e4c4;
}

.ss304-hero-text {
    flex: 1 1 300px;
}

.ss304-hero-text h2 {
    font-size: 30px;
    color: #4f702d;
    border-left: 5px solid #4f702d;
    padding-left: 12px;
    margin-top: 0;
}

.ss304-hero-text p {
    color: #444;
    line-height: 1.8;
    font-size: 16px;
}

.ss304-hero-img {
    flex: 0 0 340px;
    max-width: 100%;
}

.ss304-hero-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
}

/* Grade cards */
.grade-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 28px 0;
}

.grade-card {
    flex: 1 1 200px;
    background: #fff;
    border-radius: 10px;
    border-top: 4px solid #4f702d;
    padding: 22px 18px;
    box-shadow: 0 3px 14px rgba(79, 112, 45, 0.10);
    text-align: center;
}

.grade-card h3 {
    color: #4f702d;
    margin: 0 0 10px;
    font-size: 20px;
}

.grade-card p {
    color: #555;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* Section heading */
.sec-heading {
    font-size: 24px;
    color: #4f702d;
    border-left: 4px solid #4f702d;
    padding-left: 10px;
    margin: 36px 0 14px;
}

/* Infographic banner */
.infographic-banner {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin: 28px 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
}

.infographic-banner img {
    width: 100%;
    display: block;
}

/* Types grid */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0 32px;
}

.type-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0ebd0;
    padding: 14px 10px 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(79, 112, 45, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(79, 112, 45, 0.16);
}

.type-card img {
    width: 239px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

.type-card span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

/* Applications list */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
}

@media (max-width: 600px) {
    .applications-grid {
        grid-template-columns: 1fr;
    }
}

/* Mech + Chem image */
.prop-image {
    width: 100%;
    border-radius: 10px;
    margin: 20px 0 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

/* Applications image */
.app-image {
    width: 100%;
    border-radius: 10px;
    margin: 20px 0 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

/* Why choose – icon list */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin: 20px 0 28px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f4f9ee;
    border-radius: 8px;
    padding: 14px 16px;
    border-left: 3px solid #4f702d;
}

.why-item .wi-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-item .wi-icon svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.why-item span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Markets strip */
.markets-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 32px;
}

.market-badge {
    background: #fff;
    color: #333;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d6e4c4;
    box-shadow: 0 2px 8px rgba(79, 112, 45, 0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}

.market-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(79, 112, 45, 0.18);
}

.market-badge img {
    width: 28px;
    height: 20px;
    border-radius: 3px;
    object-fit: cover;
    display: block;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 16px 0 28px;
    border-radius: 10px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead tr {
    background: linear-gradient(90deg, #4f702d, #3a5220);
}

table thead th {
    color: #fff;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

table tbody tr:nth-child(even) {
    background: #f4f9ee;
}

table tbody tr:nth-child(odd) {
    background: #fff;
}

table tbody tr:hover {
    background: #e8f0dc;
    transition: background 0.2s;
}

table tbody td {
    padding: 11px 16px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #e0ebd0;
}

table tbody td:first-child {
    font-weight: 600;
    color: #4f702d;
}

/* FAQ Accordion */
.faq-accordion {
    margin: 0 0 28px;
}

.faq-acc-item {
    border: 1px solid #d6e4c4;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-acc-btn {
    width: 100%;
    background: #f4f9ee;
    border: none;
    text-align: left;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-acc-btn:hover {
    background: #e8f0dc;
}

.faq-acc-btn.active {
    background: #4f702d;
    color: #fff;
}

.faq-acc-btn .faq-icon {
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-acc-btn.active .faq-icon {
    transform: rotate(45deg);
}

.faq-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s;
    padding: 0 20px;
    background: #fff;
}

.faq-acc-body.open {
    max-height: 300px;
    padding: 14px 20px;
}

.faq-acc-body p {
    margin: 0;
    color: #444;
    font-size: 15px;
    line-height: 1.7;
}

/* Quote box */
#quote {
    background: linear-gradient(135deg, #4f702d 0%, #3a5220 100%);
    color: #fff;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-top: 36px;
}

#quote h2 {
    color: #fff;
    border: none;
    padding: 0;
    font-size: 24px;
}

#quote p {
    color: #e8f0dc;
    font-size: 15px;
}

#quote .btn {
    background: #fff;
    color: #4f702d;
    font-weight: 700;
    margin-top: 10px;
}

#quote .btn:hover {
    background: #000;
    color: #fff;
}

@media (max-width: 600px) {
    .ss304-hero {
        padding: 20px;
    }

    .types-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
}
