/* ===================================================================
   Catalogue Page — Flatsome Child Theme
   =================================================================== */

/* --- Layout wrapper --- */
#fc-catalogue-page {
    padding: 24px 0 60px;
}

/* --- Breadcrumb --- */
.fc-catalogue-breadcrumb {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}
.fc-catalogue-breadcrumb a {
    color: var(--fs-color-primary);
    text-decoration: none;
}
.fc-catalogue-breadcrumb a:hover {
    text-decoration: underline;
}
.fc-breadcrumb-sep {
    margin: 0 4px;
    color: #999;
}

/* woocommerce_breadcrumb generates .woocommerce-breadcrumb */
.fc-catalogue-breadcrumb .woocommerce-breadcrumb {
    font-size: 14px;
    color: #555;
}
.fc-catalogue-breadcrumb .woocommerce-breadcrumb a {
    color: var(--fs-color-primary);
    text-decoration: none;
}

/* --- 2-column layout --- */
.fc-catalogue-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.fc-catalogue-main {
    flex: 1 1 0;
    min-width: 0;
}

.fc-catalogue-sidebar {
    flex: 0 0 260px;
    width: 260px;
}

/* --- Page title --- */
.fc-catalogue-title {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 16px;
}

/* --- Page content prose --- */
.fc-catalogue-content p {
    font-size: 15px;
    line-height: 1.75;
    color: #333;
    margin-bottom: 14px;
}

.fc-catalogue-content h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 28px 0 14px;
}

/* --- Catalogue table --- */
.fc-catalogue-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 15px;
}

.fc-catalogue-table thead tr {
    background-color: #e8f5e9;
}

.fc-catalogue-table thead th {
    padding: 12px 16px;
    font-weight: 700;
    color: #1b5e20;
    border: 1px solid #c8e6c9;
    text-align: left;
}

.fc-catalogue-table tbody tr {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.15s;
}

.fc-catalogue-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.fc-catalogue-table tbody tr:hover {
    background-color: #f1f8e9;
}

.fc-catalogue-table tbody td {
    padding: 11px 16px;
    border: 1px solid #e0e0e0;
    color: #333;
    vertical-align: middle;
}

/* Download link */
.fc-catalogue-download {
    color: var(--fs-color-primary);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.fc-catalogue-download:hover {
    text-decoration: underline;
    color: #0d5ca6;
}

/* --- Sidebar support box --- */
.fc-catalogue-support-box {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.fc-catalogue-support-title {
    background-color: var(--fs-color-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 12px 16px;
    margin: 0;
    text-transform: uppercase;
}

.fc-catalogue-support-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fc-catalogue-support-list li {
    border-bottom: 1px solid #e8e8e8;
}

.fc-catalogue-support-list li:last-child {
    border-bottom: none;
}

.fc-catalogue-support-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--fs-color-primary);
    text-decoration: none;
    transition: background-color 0.15s;
}

.fc-catalogue-support-list li a::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: var(--fs-color-primary);
    flex-shrink: 0;
}

.fc-catalogue-support-list li a:hover {
    background-color: #f0f6ff;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .fc-catalogue-layout {
        flex-direction: column;
    }

    .fc-catalogue-sidebar {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .fc-catalogue-title {
        font-size: 18px;
    }

    .fc-catalogue-table thead th,
    .fc-catalogue-table tbody td {
        padding: 9px 10px;
        font-size: 14px;
    }
}
