/* bottle-search.css — crafters-beer */

.bs-wrap {
    max-width: 1020px;
    margin: 0 auto;
    background: #F7F7F7;
    font-family: inherit;
}

/* ヒーロー */
.bs-hero { padding: 24px 28px 18px; border-bottom: 1px solid #e8e4de; }
.bs-eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #C17E2B;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bs-eyebrow::before { content: ''; width: 20px; height: 1px; background: #C17E2B; display: inline-block; }
.bs-title { font-size: 24px; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.bs-sub   { font-size: 13px; color: #1a1a1a; line-height: 1.6; }

/* レイアウト */
.bs-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 600px;
    align-items: start;
}

/* フィルター列 */
.bs-filter-col {
    border-right: 1px solid #e8e4de;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 0;
}
.bs-filter-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #888780;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 0.5px solid #e8e4de;
}
.bs-filter-search {
    width: 100%;
    background: #eeeeee;
    border: 1px solid #d3d1c7;
    border-radius: 7px;
    padding: 8px 12px;
    font-size: 13px;
    color: #1a1a1a;
    outline: none;
    margin-bottom: 8px;
    box-sizing: border-box;
}
.bs-filter-search::placeholder { color: #888780; }

.bs-cb-list { display: flex; flex-direction: column; gap: 6px; max-height: 200px; overflow-y: auto; }
.bs-cb-row  { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.bs-cb {
    width: 14px;
    height: 14px;
    border: 1px solid #d3d1c7;
    border-radius: 3px;
    background: #F7F7F7;
    flex-shrink: 0;
    cursor: pointer;
}
.bs-cb.on    { background: #C17E2B; border-color: #C17E2B; }
.bs-cb-label { font-size: 13px; color: #1a1a1a; flex: 1; }
.bs-cb-count { font-size: 11px; color: #1a1a1a; }

/* スライダー */
.bs-slider-item { margin-bottom: 8px; }
.bs-slider-label-row { display: flex; justify-content: space-between; margin-bottom: 4px; }
.bs-slider-label { font-size: 13px; color: #1a1a1a; }
.bs-slider-val   { font-size: 12px; color: #C17E2B; font-weight: 500; }
.bs-slider { width: 100%; accent-color: #C17E2B; }

/* リセット */
.bs-reset {
    font-size: 12px;
    color: #1a1a1a;
    text-align: center;
    padding: 8px;
    border: 0.5px solid #d3d1c7;
    border-radius: 6px;
    cursor: pointer;
}
.bs-reset:hover { color: #C17E2B; border-color: #E2A85A; }

/* 結果列 */
.bs-result-col { padding: 16px 20px; }
.bs-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 0.5px solid #e8e4de;
}
.bs-result-count   { font-size: 13px; color: #1a1a1a; }
.bs-result-count b { font-size: 14px; color: #1a1a1a; font-weight: 700; }
.bs-sort-select {
    background: #eeeeee;
    border: 1px solid #d3d1c7;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    color: #1a1a1a;
    outline: none;
}

/* ボトルカード */
.bs-bottle-list { display: flex; flex-direction: column; gap: 8px; }
.bs-bottle-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #ffffff;
    border: 0.5px solid #e8e4de;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.bs-bottle-card:hover { background: #fdf8f2; border-color: #E2A85A; }

.bs-bottle-img {
    width: 48px;
    height: 60px;
    background: #eeeeee;
    border-radius: 6px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bs-bottle-img img  { width: 100%; height: 100%; object-fit: cover; }
.bs-img-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

.bs-bottle-body       { flex: 1; min-width: 0; }
.bs-bottle-brewery    { font-size: 11px; color: #C17E2B; letter-spacing: 0.06em; margin-bottom: 2px; }
.bs-bottle-name       { font-size: 15px; font-weight: 700; color: #1a1a1a; line-height: 1.3; margin-bottom: 6px; }
.bs-bottle-tags       { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }

.bs-tag       { font-size: 11px; padding: 3px 8px; border-radius: 8px; }
.bs-tag.amber { background: #FDF0DC; color: #7D4E0F; border: 1px solid #E2A85A; }
.bs-tag.gray  { background: #eeeeee; color: #1a1a1a; border: 1px solid #d3d1c7; }

.bs-bottle-chart { display: flex; gap: 3px; align-items: flex-end; height: 20px; }
.bs-bar    { width: 8px; border-radius: 2px 2px 0 0; background: #E2A85A; min-height: 2px; }
.bs-bar.hi { background: #C17E2B; }

.bs-bottle-meta  { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.bs-bottle-price { font-size: 14px; font-weight: 700; color: #1a1a1a; }
.bs-bottle-abv   { font-size: 12px; color: #1a1a1a; }
.bs-bottle-ibu   { font-size: 11px; color: #888780; letter-spacing: 0.04em; }
.bs-bottle-arrow { font-size: 13px; color: #C17E2B; margin-top: 4px; }
.bs-empty        { font-size: 13px; color: #1a1a1a; padding: 32px; text-align: center; }

/* スマホ用フィルターバー */
.bs-mobile-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid #e8e4de;
    background: #F7F7F7;
}
.bs-mobile-filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #eeeeee;
    border: 1px solid #d3d1c7;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    color: #1a1a1a;
    cursor: pointer;
}
.bs-mobile-badge {
    background: #C17E2B;
    color: #FDF0DC;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 8px;
}
.bs-active-chips {
    display: none;
    gap: 5px;
    flex-wrap: wrap;
    padding: 8px 16px;
    border-bottom: 1px solid #e8e4de;
}
.bs-active-chip {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 10px;
    background: #FDF0DC;
    color: #7D4E0F;
    border: 1px solid #E2A85A;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.bs-active-chip-x { font-size: 10px; color: #C17E2B; }

/* ドロワー */
.bs-drawer-overlay {
    display: none !important;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 100;
}
.bs-drawer-overlay.open { display: block !important; }

.bs-drawer {
    display: none !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #F7F7F7;
    border-radius: 16px 16px 0 0;
    z-index: 101;
    max-height: 85vh;
    overflow-y: auto;
}
.bs-drawer.open { display: block !important; }

.bs-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e8e4de;
    position: sticky;
    top: 0;
    background: #F7F7F7;
    z-index: 1;
}
.bs-drawer-title { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.bs-drawer-close { font-size: 13px; color: #888780; cursor: pointer; }
.bs-drawer-body  { padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; }
.bs-drawer-apply {
    width: 100%;
    background: #C17E2B;
    color: #FDF0DC;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 16px;
}
.bs-drawer-apply:hover { background: #7D4E0F; }

/* レスポンシブ */
@media (max-width: 640px) {
    .bs-layout        { grid-template-columns: 1fr; }
    .bs-filter-col    { display: none !important; }
    .bs-mobile-bar    { display: flex !important; }
    .bs-active-chips  { display: flex; }
    .bs-result-col    { padding: 12px 16px; }
    .bs-hero          { padding: 16px; }
    .bs-result-header { display: none !important; }
}
