/* =====================================================================
   Bolt szűrővel (a „Bolt" design): fülek, oldalsáv, rendezés, rács
   ===================================================================== */
.tb-shophead__intro { margin: 12px 0 0; font-size: 17px; max-width: 580px; line-height: 1.5; }
.tb-bc__now { color: var(--tb-ink); font-weight: 700; }

.tb-tabs { display: flex; gap: 10px; overflow-x: auto; padding: 24px 0 6px; scrollbar-width: none; }
.tb-tabs::-webkit-scrollbar { display: none; }
.tb-tab { flex: none; height: 44px; padding: 0 20px; border-radius: var(--tb-pill); cursor: pointer; font: 700 15px var(--tb-font-body); white-space: nowrap; background: transparent; color: var(--tb-ink); border: 2px dashed #B9B2A4; }
.tb-tab:hover { border-color: var(--tb-ink); }
.tb-tab.is-active { background: var(--tb-ink); color: var(--tb-bg); border: 2px solid var(--tb-ink); }

.tb-bolt__body { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 12px; }
.tb-filters { flex: 1 1 250px; max-width: 300px; min-width: 0; background: var(--tb-white); border: 1px solid var(--tb-sand); border-radius: 28px; padding: 22px 16px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow-y: auto; }
.tb-filters__head { display: flex; justify-content: space-between; align-items: center; padding: 0 8px; }
.tb-filters__title { font-family: var(--tb-font-head); font-weight: 800; font-size: 22px; }
.tb-linkbtn { border: 0; background: transparent; font: 700 14px var(--tb-font-body); color: var(--tb-sage); text-decoration: underline; cursor: pointer; min-height: 40px; }
.tb-linkbtn[hidden] { display: none; }
.tb-fgroup { display: flex; flex-direction: column; gap: 2px; }
.tb-fgroup__t { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tb-sage); padding: 0 8px 6px; }
.tb-fgroup--toggles { border-top: 1px dashed var(--tb-sand); padding-top: 14px; }

.tb-check { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 6px 8px; border: 0; background: transparent; border-radius: 12px; font: 500 15px var(--tb-font-body); color: var(--tb-ink); cursor: pointer; text-align: left; }
.tb-check:hover { background: var(--tb-sand-pale); }
.tb-check__l { flex: 1; }
.tb-check__n { font-size: 13px; color: var(--tb-muted); }
.tb-check__box { width: 22px; height: 22px; border-radius: 7px; flex: none; border: 2px solid #B9B2A4; background: var(--tb-white); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--tb-bg); }
.tb-check[aria-pressed="true"] .tb-check__box { border-color: var(--tb-ink); background: var(--tb-ink); }
.tb-check[aria-pressed="true"] .tb-check__box::after { content: "✓"; }
.tb-check--radio .tb-check__box { border-radius: 50%; box-sizing: border-box; }
.tb-check--radio[aria-pressed="true"] .tb-check__box { border: 6px solid var(--tb-ink); background: var(--tb-white); }
.tb-check--radio[aria-pressed="true"] .tb-check__box::after { content: none; }
.tb-check--switch .tb-check__box { position: relative; width: 40px; height: 24px; border-radius: 12px; border: 0; background: #D8D2C6; }
.tb-check--switch .tb-check__box::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.tb-check--switch[aria-pressed="true"] .tb-check__box { background: var(--tb-sage); }
.tb-check--switch[aria-pressed="true"] .tb-check__box::before { left: 19px; }
.tb-check--switch[aria-pressed="true"] .tb-check__box::after { content: none; }

.tb-swatchrow { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8px; }
.tb-chipc { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 6px; border-radius: var(--tb-pill); cursor: pointer; background: transparent; border: 2px dashed #C9C2B4; font: 500 14px var(--tb-font-body); color: var(--tb-ink); }
.tb-chipc[aria-pressed="true"] { background: var(--tb-bg); border: 2px solid var(--tb-ink); }
.tb-chipc__dot { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(47,58,47,.15); }

.tb-bolt__main { flex: 3 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tb-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.tb-toolbar__l { display: flex; align-items: center; gap: 12px; }
.tb-toolbar__count { font-size: 16px; }
.tb-filterbtn { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--tb-pill); border: 2px solid var(--tb-ink); background: var(--tb-bg); font: 700 15px var(--tb-font-body); color: var(--tb-ink); cursor: pointer; }
.tb-sorts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tb-sorts__l { font-size: 14px; color: var(--tb-muted); margin-right: 4px; }
.tb-sortbtn { height: 38px; padding: 0 14px; border-radius: var(--tb-pill); cursor: pointer; font: 700 14px var(--tb-font-body); background: var(--tb-white); color: var(--tb-ink); border: 1px solid var(--tb-sand); }
.tb-sortbtn[aria-pressed="true"] { background: var(--tb-ink); color: var(--tb-bg); border-color: var(--tb-ink); }

.tb-activechips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tb-activechips[hidden], .tb-emptybox[hidden], .tb-morewrap[hidden] { display: none; }
.tb-activechip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--tb-pill); border: 0; background: var(--tb-butter); font: 700 14px var(--tb-font-body); color: var(--tb-ink); cursor: pointer; }
.tb-activechip span { font-size: 16px; }

.tb-emptybox { background: var(--tb-sand-pale); border: 2px dashed var(--tb-sage-2); border-radius: var(--tb-r-lg); padding: 56px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tb-emptybox__t { font-family: var(--tb-font-head); font-weight: 800; font-size: 28px; }
.tb-emptybox > span:not(.tb-emptybox__t) { max-width: 420px; line-height: 1.5; }

.tb-bolt .tb-grid--4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tb-bolt .tb-grid.is-loading { opacity: .5; transition: opacity .15s; }
.tb-morewrap { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 12px; }
.tb-morewrap__t { font-size: 14px; color: var(--tb-muted); }

@media (max-width: 860px) {
	.tb-filters { position: static; max-width: none; flex-basis: 100%; max-height: none; }
	.tb-filters[data-open="false"] { display: none; }
	.tb-filterbtn { display: inline-flex; }
}

/* =====================================================================
   Bolt – új elrendezés: fejléc-csempék, legördülő szűrők, rendező
   ===================================================================== */
.tb-bolthead { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; padding: 20px 0 28px; }
.tb-bolthead__l { flex: 1 1 340px; max-width: 520px; min-width: 0; }
.tb-bolthead__l .tb-shophead__title { font-size: clamp(40px, 5vw, 60px); line-height: 1; }
.tb-bolthead__r { flex: 2 1 420px; min-width: 0; display: flex; align-items: center; gap: 12px; }

.tb-tiles { flex: 1; min-width: 0; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 2px; }
.tb-tiles::-webkit-scrollbar { display: none; }
.tb-tile { flex: none; width: 118px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 6px 12px; border: 2px solid transparent; border-radius: 24px; background: var(--tb-white); cursor: pointer; font: 700 13px/1.25 var(--tb-font-body); color: var(--tb-ink); text-align: center; box-shadow: 0 1px 0 var(--tb-sand); }
.tb-tile:hover { border-color: var(--tb-sage-2); }
.tb-tile.is-active { border-color: var(--tb-ink); background: var(--tb-bg); }
.tb-tile__img { display: block; width: 100%; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--tb-sand); }
.tb-tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tb-tile__l { min-height: 32px; display: flex; align-items: center; justify-content: center; }
.tb-tiles__next { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--tb-ink); background: var(--tb-bg); color: var(--tb-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tb-tiles__next:hover { background: var(--tb-ink); color: var(--tb-bg); }

/* Legördülő szűrők */
.tb-bolt .tb-select { appearance: none; -webkit-appearance: none; width: 100%; height: 46px; padding: 0 44px 0 18px; border: 2px solid var(--tb-ink); border-radius: var(--tb-pill); background-color: var(--tb-white); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232F3A2F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; font: 500 15px var(--tb-font-body); color: var(--tb-ink); cursor: pointer; }
.tb-bolt .tb-select:focus-visible { outline: 3px solid rgba(86,105,79,.45); outline-offset: 2px; }
.tb-bolt .tb-select--sort { width: auto; min-width: 210px; height: 44px; font-size: 14px; }
.tb-fgroup { gap: 8px; }
.tb-fgroup__t { padding: 0 4px; }
.tb-sortsel { display: inline-flex; }
.tb-filters { gap: 18px; }

/* Termékkártyák: fehér, lekerekített doboz a rácsban */
.tb-bolt .tb-card { background: var(--tb-white); border: 1px solid var(--tb-sand); border-radius: 26px; padding: 6px 6px 18px; gap: 10px; }
.tb-bolt .tb-card__media { border-radius: 20px; }
.tb-bolt .tb-card__body { padding: 0 8px; }

@media (max-width: 860px) {
	.tb-bolthead__r { flex-basis: 100%; }
	.tb-tile { width: 104px; }
}

/* Szélesebb bolt: 5 termékkártya egy sorban */
.tb-wrap.tb-wrap--wide { max-width: 1680px; }
.tb-bolt .tb-filters { flex: 0 0 250px; max-width: 250px; }
.tb-bolt .tb-grid--4 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1399px) { .tb-bolt .tb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .tb-bolt .tb-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tb-bolt .tb-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 860px) { .tb-bolt .tb-filters { flex-basis: 100%; max-width: none; } }

/* Végtelen görgetés */
.tb-sentinel { height: 1px; }
.tb-morewrap.is-busy .tb-morewrap__t::after { content: " – betöltés…"; }


/* Alkategóriák */
.tb-subcats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 18px; }
.tb-subcats[hidden] { display: none; }
.tb-subcats__t { font: 700 14px var(--tb-font-body); color: var(--tb-muted); margin-right: 4px; }
.tb-subpill { border: 1.5px solid var(--tb-sand); background: var(--tb-white); color: var(--tb-ink); border-radius: 999px; padding: 8px 16px; min-height: 40px; font: 500 14px var(--tb-font-body); cursor: pointer; transition: border-color .15s, background .15s; }
.tb-subpill:hover { border-color: var(--tb-sage); }
.tb-subpill.is-active { background: var(--tb-ink); border-color: var(--tb-ink); color: #fff; }
.tb-fgroup[hidden] { display: none; }
