/* =========================================================
   Southern Steel — taxonomy-products-categories Page
   taxonomy-products-categories.css
   ========================================================= */

:root {
    --ss-navy: #1b2a6b;
    --ss-heading: #1a1a1a;
    --ss-text: #333333;
    --ss-border: #dcdcdc;
    --ss-max-width: 1280px;
}
.tpc-banner {
    width: 100%;
    background-color: #1b2a6b;;
}
.tpc-banner img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
.pp-section {
    background: #ffffff;
    padding: 40px 24px 80px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: var(--ss-text);
}
.pp-inner {
    max-width: var(--ss-max-width);
    margin: 0 auto;
}
.pp-title {
    color: var(--ss-heading);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 24px 0;
}
.pp-toolbar {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}
.pp-search {
    display: flex;
    max-width: 420px;
    flex: 1;
    min-width: 240px;
}
.pp-search input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--ss-border);
    border-right: none;
    border-radius: 3px 0 0 3px;
    font-size: 14px;
    font-family: inherit;
    background: #ffffff;
    color: var(--ss-text);
}
.pp-search input[type="text"]:focus {
    outline: none;
}
.pp-search-btn {
    padding: 0 16px;
    border: 1px solid var(--ss-border);
    border-radius: 0 3px 3px 0;
    background: #ffffff;
    color: #555;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.2s ease;
}
.pp-search-btn:hover {
    background: #eeeeee;
}
.pp-filter {
    position: relative;
}
.pp-filter select {
    appearance: none;
    padding: 10px 34px 10px 16px;
    border: 1px solid var(--ss-border);
    border-radius: 3px;
    background: #ffffff;
    color: var(--ss-text);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    min-width: 200px;
}
.pp-filter select:focus {
    outline: none;
    border-color: var(--ss-navy);
}
.pp-filter::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}
.pp-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}
.pp-card {
    display: flex;
    border: 1px solid var(--ss-border);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.pp-card-img {
    flex: 0 0 360px;
    max-width: 360px;
}
.pp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pp-card-body {
    flex: 1;
    padding: 26px 30px;
}
.pp-card-body h2 {
    color: var(--ss-heading);
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 14px 0;
    line-height: 1.35;
}
.pp-card-body p.pp-desc {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 20px 0;
}
.pp-specs {
    margin-bottom: 20px;
}
.pp-spec-row {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}
.pp-spec-row:last-child {
    margin-bottom: 0;
}
.pp-spec-label {
    flex: 0 0 130px;
    font-weight: 700;
    color: var(--ss-heading);
}
.pp-spec-value {
    flex: 1;
}
.pp-brochure-btn {
    display: inline-block;
    border: 1px solid var(--ss-navy);
    color: var(--ss-navy);
    background: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 3px;
    transition: background 0.2s ease, color 0.2s ease;
}
.pp-brochure-btn:hover {
    background: var(--ss-navy);
    color: #ffffff;
}

@media (max-width: 900px) {
    .tpc-banner img {
        height: auto;
    }
    .pp-card {
        flex-direction: column;
    }
    .pp-card-img {
        flex: none;
        max-width: 100%;
        height: 220px;
    }
    .pp-spec-row {
        flex-direction: column;
        gap: 2px;
    }
    .pp-spec-label {
        flex: none;
    }
}

@media (max-width: 600px) {
    .tpc-banner img {
        height: auto;
    }
    .pp-section {
        padding: 30px 16px 50px;
    }
    .pp-title {
        font-size: 24px;
    }
    .pp-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .pp-search {
        max-width: 100%;
    }
    .pp-filter select {
        width: 100%;
    }
    .pp-card-body {
        padding: 20px;
    }
    .pp-card-body h2 {
        font-size: 19px;
    }
}