/* ==============================
   WRAPPER
============================== */
.gf-product-showcase {
    width: 100%;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

/* ==============================
   HEADING
============================== */
.gf-heading {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ==============================
   CATEGORY MENU
============================== */
.gf-category-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    margin-bottom: 24px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.gf-category-menu::-webkit-scrollbar {
    display: none;
}

.gf-category {
    flex: 0 0 auto;
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid #dddddd;
    border-radius: 999px;
    background: #ffffff;
    color: #222222;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.gf-category:hover {
    background: #1f6d3d;
    color: #ffffff;
    border-color: #1f6d3d;
}

.gf-category.active {
    background: #1f6d3d;
    color: #ffffff;
    border-color: #1f6d3d;
}

/* ==============================
   PRODUCT GRID
============================== */
.gf-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    margin-bottom: 24px;
}

/* ==============================
   PRODUCT CARD
============================== */
.gf-product-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.25s;
    position: relative;
}

/* ==============================
   SALE BADGE
============================== */
.gf-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.gf-product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.gf-product-image {
    display: block;
    overflow: hidden;
}

.gf-product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.gf-product-card:hover .gf-product-image img {
    transform: scale(1.04);
}

.gf-product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px;
}

.gf-product-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px;
    flex: 1;
}

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

.gf-product-title a:hover {
    color: #1f6d3d;
}

.gf-product-rating {
    margin-bottom: 8px;
}

.gf-product-rating .star-rating {
    font-size: 13px;
}

.gf-product-price {
    font-weight: 700;
    color: #1f6d3d;
    margin-bottom: 12px;
    font-size: 15px;
}

.gf-add-cart {
    display: block;
    padding: 10px;
    text-align: center;
    background: #1f6d3d;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.2s;
}

.gf-add-cart:hover {
    background: #174f2d;
    color: #fff;
}

/* ==============================
   FOOTER / EXPLORE MORE
============================== */
.gf-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 12px;
}

.gf-explore-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: #1f6d3d;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s, transform 0.15s;
}

.gf-explore-more:hover {
    background: #174f2d;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* ==============================
   LOADING STATE
============================== */
.gf-product-showcase.gf-loading .gf-product-grid {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.2s;
}

/* ==============================
   NO PRODUCTS
============================== */
.gf-no-products {
    width: 100%;
    grid-column: 1 / -1;
    padding: 40px 0;
    text-align: center;
    color: #666;
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 1024px) {
    .gf-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .gf-heading {
        font-size: 24px;
    }

    .gf-category {
        font-size: 13px;
        padding: 8px 16px;
    }

    .gf-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .gf-explore-more {
        padding: 10px 24px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .gf-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
