.ye-discover-page {
    background: #edf1f5;
    color: #0f172a;
    padding-bottom: 28px;
}

.ye-discover-hero {
    min-height: 230px;
    padding: 58px 0;
    color: #fff;

    background-image:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url('/themes/shop/default/images/discoverbanner.webp');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ye-discover-hero h1 {
    margin: 0;
    text-align: center;
    font-size: 38px;
    font-weight: 600;
}

.ye-discover-hero p {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

.ye-discover-content {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 18px;
    margin-top: 24px;
    align-items: start;
}

.ye-filter-card,
.ye-listing-panel {
    border: 1px solid #dfe5ec;
    background: #fff;
    border-radius: 14px;
}

.ye-filter-form {
    padding: 16px 14px;
}

.ye-filter-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.ye-filter-top h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.ye-clear-filter {
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
}

.ye-filter-search {
    width: 100%;
    margin-top: 12px;
    border: 1px solid #d8e0e8;
    border-radius: 7px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
}

.ye-country-list {
    margin-top: 12px;
    max-height: 360px;
    overflow: auto;
    display: grid;
    gap: 8px;
    padding-right: 4px;
}

.ye-country-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #334155;
}

.ye-filter-button {
    width: 100%;
    margin-top: 14px;
    border: none;
    border-radius: 999px;
    height: 38px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #fff;
    background: #06285a;
}

.ye-listing-panel {
    padding: 14px;
}

.ye-discover-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ye-menu-chip {
    height: 36px;
    padding: 0 14px;
    border: 1px solid #dfe5ec;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    background: #fff;
    color: #334155;
}

.ye-menu-chip.is-active {
    background: #06285a;
    border-color: #06285a;
    color: #fff;
}

.ye-menu-chip.is-disabled {
    opacity: 0.58;
}

.ye-listing-search {
    margin-top: 12px;
    display: flex;
    gap: 10px;
}

.ye-listing-search input {
    height: 38px;
    border: 1px solid #d8e0e8;
    border-radius: 999px;
    padding: 0 14px;
    font-size: 13px;
    flex: 1;
}

.ye-listing-search button {
    border: none;
    border-radius: 10px;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #0b3a77;
}

.ye-store-grid {
    margin-top: 14px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ye-store-card {
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ye-store-card:hover {
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
    transform: translateY(-1px);
}

.ye-store-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #d5dce6;
}

.ye-store-card-image--placeholder {
    background: linear-gradient(135deg, #d2d8e1, #b7c0ce);
}

.ye-store-card-body {
    padding: 11px 12px 12px;
}

.ye-store-card-body h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
}

.ye-store-card-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
}

.ye-store-card-title span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ye-store-name-logo {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #d5deea;
    background: #fff;
}

.ye-store-name-logo--placeholder {
    background: linear-gradient(135deg, #d1d9e5, #b8c4d4);
}

.ye-store-card-location {
    margin-top: 0;
    font-size: 13px;
    font-weight: 600;
    color: #2e6db6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ye-store-card-description {
    margin-top: 8px;
    font-size: 12px;
    color: #334155;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ye-store-pagination {
    margin-top: 16px;
}

.ye-empty-stores {
    margin-top: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 28px;
    text-align: center;
    color: #64748b;
}

@media (max-width: 1024px) {
    .ye-discover-content {
        grid-template-columns: 1fr;
    }

    .ye-store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ye-listing-search {
        flex-direction: column;
    }

    .ye-store-grid {
        grid-template-columns: 1fr;
    }
}
