:root {
    --brand: #945012;
}

.page-wrap {
    padding: 16px 0;
}

.banner-wrapper {
    width: 100%;
    height: auto;
    margin-bottom: 16px;
    border-radius: 8px;
}

.breadcrumb {
    background: transparent;
    padding: 8px 0;
    margin-bottom: 12px;
}

.breadcrumb-item a {
    color: var(--brand);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.map-and-list {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

#map {
    height: 600px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #eef7fb;
}

@media (max-width: 992px) {
    .map-and-list {
        grid-template-columns: 1fr;
    }

    #map {
        height: 520px;
    }
}

.panel {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 12px;
}

.panel h3 {
    font-size: 16px;
    margin: 0 0 8px;
}

.controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.controls .btn, .controls select, .controls input {
    font-size: 14px;
    color: black;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    background: #fff;
}

.btn-brand {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    cursor: pointer;
}

.btn-muted {
    background: #f7f7f7;
    cursor: pointer;
}

.loading-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }
    100% {
        transform: rotate(360deg)
    }
}

.map-container {
    position: relative;
}

.gm-style img {
    border-radius: 10px;
}

.info-window {
    max-width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    padding: 14px;
    text-align: center;
    overflow: hidden;
}

.info-window img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--brand);
    margin: 0 auto 8px;
}

.info-window h3 {
    font-size: 17px;
    margin: 4px 0 6px;
    color: #222;
}

.info-window p {
    font-size: 13px;
    color: #555;
    margin: 2px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.info-window .button-container {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 8px;
}

.info-window a, .info-window button {
    text-decoration: none;
    background: var(--brand);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    border: none;
    cursor: pointer;
}

.info-window button.close-btn {
    background: #6c757d;
}

/* List */
.bakers-list {
    max-height: 600px;
    overflow: auto;
    padding-right: 6px;
}

.baker-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: box-shadow .15s ease, transform .05s ease;
}

header {
    min-height: 90px;
}

.baker-item:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.baker-item img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
}

.baker-meta {
    flex: 1;
    min-width: 0;
}

.baker-meta .name {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.baker-meta .loc {
    font-size: 12px;
    color: #666;
}

.baker-meta .dist {
    font-size: 12px;
    color: #333;
    margin-top: 2px;
}

.baker-go {
    font-size: 12px;
    color: #fff;
    background: var(--brand);
    border-radius: 8px;
    padding: 6px 8px;
    text-decoration: none;
    white-space: nowrap;
}

header {
    min-height: 90px;
}

