/* ============================================================
   GreenFlavoBio Product Styles
   ============================================================ */

/* All Products Page & Filter */
.gf-products-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.gf-product-filter {
    margin-bottom: 30px;
}

.gf-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.gf-filter-group select,
.gf-filter-group input[type="text"] {
    padding: 10px 14px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    min-width: 180px;
}

.gf-filter-group input[type="text"] {
    flex: 1 1 240px;
    max-width: 360px;
}

.gf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.gf-btn-primary {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}

.gf-btn-primary:hover {
    background: #1b5e20;
    border-color: #1b5e20;
}

.gf-btn-ghost {
    background: transparent;
    color: #555;
    border-color: #d0d7de;
}

.gf-btn-ghost:hover {
    background: #f6f8fa;
}

.gf-btn-outline {
    background: transparent;
    color: #2e7d32;
    border-color: #2e7d32;
    padding: 8px 16px;
}

.gf-btn-outline:hover {
    background: #2e7d32;
    color: #fff;
}

/* Product Grid */
.gf-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gf-product-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 24px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.gf-product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.gf-product-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #2e7d32;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.gf-product-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.3;
}

.gf-product-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.gf-product-title a:hover {
    color: #2e7d32;
}

.gf-product-cas {
    font-size: 14px;
    color: #666;
    margin: 0 0 16px;
    min-height: 22px;
}

.gf-product-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 16px;
    flex: 1;
}

/* Pagination */
.gf-pagination {
    margin-top: 40px;
    text-align: center;
}

.gf-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.gf-pagination .page-numbers.current,
.gf-pagination .page-numbers:hover {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}

.gf-no-results {
    padding: 40px 0;
    text-align: center;
    color: #777;
}

/* Category Rich Text Description */
.gf-category-description {
    background: #f6f8fa;
    border: 1px solid #e6e6e6;
    border-left: 4px solid #2e7d32;
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.75;
    color: #333;
}

.gf-category-description p {
    margin: 0 0 14px;
}

.gf-category-description p:last-child {
    margin-bottom: 0;
}

.gf-category-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
}

.gf-category-description figure {
    margin: 16px 0;
}

.gf-category-description figure img {
    margin: 0;
}

.gf-category-description figcaption {
    font-size: 13px;
    color: #777;
    text-align: center;
    margin-top: 6px;
}

.gf-category-description a {
    color: #2e7d32;
}

.gf-category-description h2,
.gf-category-description h3 {
    color: #1a1a1a;
    margin: 18px 0 10px;
}

/* ============================================================
   Product Detail Page
   ============================================================ */
.gf-product-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0 60px;
}

.gf-breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.gf-breadcrumb a {
    color: #2e7d32;
    text-decoration: none;
}

.gf-breadcrumb a:hover {
    text-decoration: underline;
}

.gf-breadcrumb span {
    margin: 0 8px;
    color: #94a3b8;
}

.gf-pd-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.gf-pd-cat {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #2e7d32;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.gf-pd-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px;
    line-height: 1.2;
}

.gf-pd-subtitle {
    font-size: 16px;
    color: #555;
    margin: 0 0 24px;
    line-height: 1.6;
}

.gf-pd-cta {
    display: inline-block;
    padding: 14px 28px;
    background: #2e7d32;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gf-pd-cta:hover {
    background: #1b5e20;
    transform: translateY(-2px);
}

.gf-pd-img {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.gf-pd-img img {
    width: 100%;
    height: auto;
    display: block;
}

.gf-pd-section {
    margin: 40px 0;
}

.gf-pd-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e6e6e6;
}

.gf-pd-content {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.gf-pd-content p {
    margin: 0 0 14px;
}

.gf-pd-props p {
    margin: 0 0 10px;
    font-size: 15px;
    color: #444;
}

.gf-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 0;
}

.gf-spec-table th,
.gf-spec-table td {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    text-align: left;
    font-size: 14px;
}

.gf-spec-table th {
    background: #f6f8fa;
    font-weight: 600;
    color: #333;
    width: 220px;
}

.gf-spec-table td {
    color: #555;
}

.gf-pd-inquiry {
    background: #f6f8fa;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.gf-pd-inquiry h2 {
    border-bottom: none;
    margin-bottom: 10px;
}

.gf-pd-inquiry p {
    color: #555;
    margin: 0 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .gf-pd-hero {
        grid-template-columns: 1fr;
    }

    .gf-filter-group {
        flex-direction: column;
        align-items: stretch;
    }

    .gf-filter-group input[type="text"] {
        max-width: none;
    }

    .gf-pd-title {
        font-size: 28px;
    }

    .gf-spec-table th,
    .gf-spec-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .gf-spec-table th {
        border-bottom: none;
        padding-bottom: 4px;
    }

    .gf-spec-table td {
        border-top: none;
        padding-top: 4px;
        margin-bottom: 10px;
    }
}
