.farm-stand-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 14px;
    overflow: hidden;
    max-width: 420px;
    margin: 20px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

.farm-stand-photo img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.farm-stand-card-content {
    padding: 20px;
}

.farm-stand-name {
    margin: 0 0 6px;
    font-size: 1.6rem;
}

.farm-stand-location {
    margin: 0 0 16px;
}

.farm-stand-products,
.farm-stand-hours,
.farm-stand-shopping,
.farm-stand-payment {
    margin-top: 16px;
}

.farm-product-list,
.farm-stand-availability,
.farm-stand-shopping > div,
.farm-stand-payment > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.farm-product-tag,
.farm-info-tag,
.farm-shopping-tag,
.farm-payment-tag {
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: .86rem;
    line-height: 1.3;
}

.farm-stand-actions {
    margin-top: 20px;
}

.farm-directions-button {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid currentColor;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 600;
}

.farm-directions-button:hover {
    text-decoration: underline;
}
.farm-stand-availability {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}
.farm-stand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
}

.farm-stand-grid .farm-stand-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
}

@media (max-width: 700px) {
    .farm-stand-grid {
        grid-template-columns: 1fr;
    }
}
.farm-stand-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.farm-stand-grid > * {
    min-width: 0;
}

@media (max-width: 700px) {
    .farm-stand-grid {
        grid-template-columns: 1fr;
    }
}
.farm-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px 18px;
    margin: 20px 0 28px;
    align-items: end;
}

.farm-filter-grid > * {
    min-width: 0;
    width: 100%;
}

.farm-filter-grid select {
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .farm-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .farm-filter-grid {
        grid-template-columns: 1fr;
    }
}.farm-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 18px;
    margin: 20px 0 28px;
    align-items: end;
}

.farm-filter-grid > * {
    min-width: 0;
    width: 100%;
}

.farm-filter-grid select {
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .farm-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .farm-filter-grid {
        grid-template-columns: 1fr;
    }
}
.farm-filter-grid select {
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    padding-left: 14px;
    padding-right: 36px;
    font-size: 16px;
}
.farm-more-filter-grid {
    margin-top: 12px;
    margin-bottom: 24px;
}

.farm-more-filter-grid summary {
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 16px;
}

.farm-more-filter-grid[open] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.farm-more-filter-grid[open] summary {
    grid-column: 1 / -1;
}

.farm-more-filter-grid select {
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
}

@media (max-width: 650px) {
    .farm-more-filter-grid[open] {
        grid-template-columns: 1fr;
    }
}
.farm-stand-fallback-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.farm-stand-fallback-image {
    width: 100%;
    height: auto;
    display: block;
}
/* =========================================
   FARM STAND FULL PROFILE
   ========================================= */

.farm-stand-profile {
    max-width: 1000px;
    margin: 0 auto;
}

.farm-stand-profile .farm-profile-section {
    margin-top: 32px;
    margin-bottom: 32px;
}

.farm-stand-profile .farm-profile-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 18px;
}

.farm-stand-profile .farm-profile-section p,
.farm-stand-profile .farm-profile-section div {
    line-height: 1.6;
}

.farm-stand-profile .farm-profile-disclaimer {
    margin-top: 16px;
    font-size: 0.9em;
    line-height: 1.5;
}
/* Farm Profile Action Buttons */

.farm-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 28px;
}

.farm-profile-actions .farm-profile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid currentColor;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.2;
}

.farm-profile-actions .farm-profile-button:hover {
    text-decoration: underline;
}
/* Farm Profile Photo Galleries */

.farm-profile-photo-gallery .gallery {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px;
    margin: 0 !important;
}

.farm-profile-photo-gallery .gallery-item {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
}

.farm-profile-photo-gallery .gallery-item a {
    display: block;
}

.farm-profile-photo-gallery .gallery-item img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
}

@media (max-width: 800px) {
    .farm-profile-photo-gallery .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .farm-profile-photo-gallery .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 500px) {
    .farm-profile-photo-gallery .gallery {
        grid-template-columns: 1fr !important;
    }

    .farm-profile-photo-gallery .gallery-item img {
        height: auto;
    }
}/* Farm Stand Card Action Buttons */

.farm-card-actions {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.farm-card-actions > div {
    margin: 0;
}

.farm-card-actions a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid currentColor;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.farm-card-actions a:hover {
    text-decoration: underline;
}
/* Farm Stand Guide Filter Actions */

.farm-filter-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin: 14px 0 18px;
}

.farm-filter-actions button,
.farm-filter-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid currentColor;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.farm-filter-actions button:hover,
.farm-filter-actions a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .farm-filter-actions {
        flex-wrap: wrap;
    }

    .farm-filter-actions button,
    .farm-filter-actions a {
        flex: 1 1 100%;
    }
}