/* ---------------------------------------------------------
   STICKY TOGGLE + FILTER BARS
--------------------------------------------------------- */

.gf-toggle-wrapper {
    position: sticky;
    top: 80px; /* adjust to match header height */
    z-index: 1000;
    background: white;
    padding: 0.5rem 0;
}

.gf-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

.gf-toggle-btn {
    padding: 0.4rem 0.8rem;
    border: 1px solid #ccc;
    background: #f7f7f7;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 4px;
}

.gf-toggle-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* Filters container */
.gf-filters-location,
.gf-filters-landform {
    position: sticky;
    top: 48px; /* sits below toggle bar */
    z-index: 999;
    background: white;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* ---------------------------------------------------------
   FILTER GROUPS
--------------------------------------------------------- */

.gf-group {
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.gf-group-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    padding: 0.3rem 0;
}

.gf-group-title {
    font-size: 0.95rem;
}

.gf-group-arrow {
    font-size: 0.8rem;
    transition: transform 0.15s ease;
}

/* Default collapsed state */
.gf-group .gf-group-arrow {
    transform: rotate(-90deg);
}

/* Expanded state */
.gf-group.open .gf-group-arrow {
    transform: rotate(0deg);
}


.gf-group-content {
    padding: 0.3rem 0 0.5rem;
    display: none;
}

.gf-filter-btn {
    padding: 0.25rem 0.6rem;
    margin: 0 0.3rem 0.3rem 0;
    border: 1px solid #ccc;
    background: #fafafa;
    cursor: pointer;
    font-size: 0.85rem;
    border-radius: 999px;
}

.gf-filter-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* ---------------------------------------------------------
   MAP MODE
--------------------------------------------------------- */

.gf-map-container {
    display: none;
    margin-top: 2.5rem;
}

/* Image Map Pro responsiveness */
.gf-map-container .imp-container,
.gf-map-container .imp-canvas,
.gf-map-container .imp-canvas-wrap,
.gf-map-container .imp-translate,
.gf-map-container .imp-scale {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
}

.gf-map-container img.imp-image {
    width: 100% !important;
    height: auto !important;
}

/* ---------------------------------------------------------
   GRID + ITEMS
--------------------------------------------------------- */

.gf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gf-item {
    position: relative;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.has-image img {
    border-radius: 6px;
    display: block;
    width: 100%;
    height: auto;
}

.gf-title {
    margin: 4px 0 0;
    line-height: 1.2;
}

.gf-series {
    display: block;
    font-size: 0.9em;     /* was 0.7em — now readable */
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gf-specific {
    display: block;
    font-size: 1.05em;     /* was 0.95em — gives it presence */
    font-weight: 600;
    line-height: 1.25;
}

/* Hover price tag */
.gf-price {
    display: none !important;
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    font-size: 0.9rem;
}

.gf-item:hover .gf-price {
    opacity: 1;
}

/* ---------------------------------------------------------
   REMOVE ADD‑TO‑CART BUTTON
--------------------------------------------------------- */

.gf-thumb-cart {
    display: none !important;
}

/* ---------------------------------------------------------
   REMOVE MODAL
--------------------------------------------------------- */

.gf-modal,
.gf-modal-content {
    display: none !important;
}

/* ---------------------------------------------------------
   RESPONSIVE BEHAVIOR
--------------------------------------------------------- */

/* Default: all groups collapsed */
.gf-group .gf-group-content {
    display: none;
}

/* When JS toggles .open, show content */
.gf-group.open .gf-group-content {
    display: block;
}

/* Arrow rotation */
.gf-group .gf-group-arrow {
    transform: rotate(-90deg);
    transition: transform 0.15s ease;
}

.gf-group.open .gf-group-arrow {
    transform: rotate(0deg);
}