
/* BANER SKLEPU */
.store-header-bg {
    background: linear-gradient(135deg, #3E0013, #5D001E);
    padding: 45px 20px;
    border-bottom: 5px solid var(--gold);
    position: relative;
    z-index: 1;

    /* KLUCZ: centrowanie jak na liście win */
    display: flex;
    justify-content: center;
    text-align: center;
}

/* wewnętrzny kontener – jak na liście win */
.store-header-inner {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.store-title {
    font-size: 1.5rem;
    margin: 0;
    color: white;
    text-shadow: 2px 2px 10px black;
    line-height: 1.1;
}

.store-meta {
    color: var(--gold);
    font-size: 0.9rem;
    margin-top: 4px;
    font-weight: bold;
}

.store-address {
    color: #ccc;
    margin-top: 5px;
    font-size: 1rem;
}

.store-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #ccc;
    border: 1px solid #555;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.2s;
}
.store-back-link:hover {
    border-color: var(--gold);
    color: white;
}

/* KONTENER GŁÓWNY */
.store-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px 30px 20px;
    position: relative;
    z-index: 2;
}

/* INFORMACJE O SKLEPIE (GRID) */
.store-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

.info-box {
    background: linear-gradient(135deg, #3E0013, #5D001E);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(212,175,55,0.25);
    color: #ddd;
}

.info-box h3 {
    color: var(--gold);
    margin-top: 0;
    border-bottom: 1px solid rgba(212,175,55,0.2);
    padding-bottom: 10px;
}

.info-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    color: #ddd;
}

.info-list i {
    color: var(--gold);
    width: 25px;
    text-align: center;
}

/* LAYOUT: FILTRY + WYNIKI (tak jak lista win) */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* SIDEBAR */
.filters-sidebar {
    background: linear-gradient(135deg, #3E0013, #5D001E);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 100px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 20;
}

.filters-sidebar::-webkit-scrollbar { width: 6px; }
.filters-sidebar::-webkit-scrollbar-track { background: rgba(255,255,255,0.08); border-radius: 3px; }
.filters-sidebar::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

.filter-section { border-bottom: 1px solid rgba(212,175,55,0.25); padding-bottom: 10px; margin-bottom: 10px; }
.filter-section:last-child { border: none; margin-bottom: 0; padding-bottom: 0; }

.accordion-btn {
    width: 100%;
    background: none;
    border: none;
    color: var(--gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.accordion-btn i { transition: 0.3s; }
.accordion-btn.active i { transform: rotate(180deg); }

.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease-out; }
.accordion-content.show { max-height: 1200px; overflow: visible; }

.custom-check {
    display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
    color: #ccc; font-size: 0.92rem; cursor: pointer; transition: 0.2s;
}
.custom-check:hover { color: white; }
.custom-check input { accent-color: var(--gold); width: 16px; height: 16px; cursor: pointer; }

.p-input {
    width: 100%;
    background: #2b2b2b;
    border: 1px solid #555;
    color: white;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 1rem;
}
.p-input:focus { border-color: var(--gold); outline: none; background: #333; }

.main-filter-btn {
    width: 100%;
    background: var(--gold);
    color: black;
    border: none;
    padding: 15px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.3s;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}
.main-filter-btn:hover { background: white; transform: translateY(-1px); }

.secondary-btn {
    width: 100%;
    background: transparent;
    color: #ddd;
    border: 1px solid #444;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.25s;
    font-weight: 600;
}
.secondary-btn:hover { border-color: var(--gold); color: white; }

.hint {
    font-size: 0.86rem;
    color: #9a9a9a;
    margin: 10px 0 0 0;
    line-height: 1.4;
}

/* WYNIKI */
.results-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.results-header h2 {
    margin: 0;
    color: #1a1a1a;
    border-left: 5px solid var(--burgundy);
    padding-left: 15px;
    font-size: 1.35rem;
}
.results-sub { color: #555; font-size: 0.95rem; }

.wines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.v-card {
    display: block;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #F0EDE8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
    transition: 0.25s;
    height: 420px;
    display: flex;
    flex-direction: column;
}
.v-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

.card-img {
    height: 320px;
    background: linear-gradient(135deg, #3E0013, #5D001E);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    overflow: hidden;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: 0.35s;
}
.v-card:hover .card-img img { transform: scale(1.04); }

.card-info {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
    justify-content: flex-end;
}
.w-name { font-size: 1.05rem; font-weight: 800; color: #1a1a1a; line-height: 1.25; }
.w-sub { font-size: 0.88rem; color: #888; }
.w-price-row { display:flex; align-items:center; justify-content:space-between; margin-top: 6px; }
.w-price { color: #5D001E; font-weight: 800; font-size: 1.1rem; }
.w-cta { font-size: 0.82rem; background: #F7F4F2; border: 1px solid #E8E4DD; padding: 6px 10px; border-radius: 8px; color: #555; }

/* MOBILE: panel filtrów */
.mobile-filters-btn {
    display: none;
    position: sticky;
    top: 85px;
    z-index: 40;
    width: 100%;
    background: linear-gradient(135deg, #3E0013, #5D001E);
    border: 1px solid rgba(212,175,55,0.25);
    color: var(--gold);
    padding: 12px 14px;
    border-radius: 12px;
    
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.filters-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #3E0013, #5D001E);
    z-index: 99;
}

.filters-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(360px, 90vw);
    background: linear-gradient(135deg, #3E0013, #5D001E);
    border-right: 1px solid #333;
    z-index: 100;
    padding: 18px;
    overflow-y: auto;
    box-shadow: 10px 0 35px rgba(0,0,0,0.6);
}

.drawer-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.drawer-title { color: var(--gold); font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.drawer-close {
    background: transparent;
    border: 1px solid #444;
    color: #ddd;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
}
.drawer-close:hover { border-color: var(--gold); color: white; }

@media (max-width: 900px) {
    .store-title { font-size: 2.2rem; }
    .store-info-grid { grid-template-columns: 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .filters-sidebar { display: none; }
    .mobile-filters-btn { display: block; }
    .store-header-bg { padding: 35px 16px; }
}

