.fw-discount-icon {
    right: 15px;
    top: 15px;
}

.text-strikethrough-primary {
    text-decoration: line-through;
    text-decoration-color: #CACACA !important;
    text-decoration-thickness: 1px;
}

.text-quinary {
    color: var(--quinary) !important;
}

.fw-counter {
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    width: 100%;
}

.counter-controls {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 40px;
    border-right: 2px solid var(--primary);
    text-align: center;
}

.counter-controls button:first-child {
    border-bottom: 2px solid var(--primary);
    border-left: none;
    border-right: none;
    border-top: none;
    background: none;
    color: var(--primary);
    font-size: 1.2rem;
    width: 100%;
    padding: 0;
    line-height: 18px !important;
}

.counter-controls button:last-child {
    border: none;
    background: none;
    color: var(--primary);
    font-size: 1.2rem;
    width: 100%;
    padding: 0;
    line-height: 18px !important;
}

.counter-display {
    flex-grow: 1;
    text-align: center;
}

.counter-display input {
    text-align: center;
    border: 0 !important;
    color: var(--primary);
    font-weight: 600;
    width: 40px;
}

.add-to-cart {
    background-color: var(--primary);
    color: white;
    font-weight: bold;
    border: none;
    width: 50%;
    height: 100%;
}

.add-to-cart.disabled {
    background-color: #808080;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.7;
}

.ticket-counter.disabled {
    border-color: #808080;
}

.counter-controls.disabled {
    border-right-color: #808080;
}

.counter-controls.disabled button {
    color: #808080;
    cursor: not-allowed;
    opacity: 0.7;
}

.counter-controls.disabled button:first-child {
    border-bottom-color: #808080;
}

.counter-display.disabled {
    color: #808080 !important;
    opacity: 0.7;
}


.fw-text-18px {
    font-size: 18px !important;
}

/* ---- Filter Sidebar Cards ---- */
.category-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filter-card {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.filter-card--dark  { background-color: #000; }
.filter-card--light { background-color: #fff; }

.filter-card__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.filter-card__title {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: 25.2px;
    line-height: 1;
    flex: 1;
    min-width: 0;
    text-transform: uppercase;
}

.filter-card--dark .filter-card__title  { color: #fff; }
.filter-card--light .filter-card__title { color: #000; }

.filter-card__chevron {
    flex-shrink: 0;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.filter-card--dark .filter-card__chevron  { color: #fff; }
.filter-card--light .filter-card__chevron { color: #000; }

.filter-card__btn[aria-expanded="true"] .filter-card__chevron {
    transform: rotate(180deg);
}

/* Accordion nyitva vagy van kiválasztott gyerek → kártya fekete */
.filter-card:has(.collapse.show),
.filter-card--has-selected {
    background-color: #000;
}
.filter-card:has(.collapse.show) .filter-card__title,
.filter-card--has-selected .filter-card__title {
    color: #fff;
}
.filter-card:has(.collapse.show) .filter-card__chevron,
.filter-card--has-selected .filter-card__chevron {
    color: #fff;
}

/* ---- Pill checkboxok (leaf gyerekek az expanded kártyán belül) ---- */
.filter-checkbox-list {
    list-style: none;
    padding: 16px 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-checkbox-item {
    margin: 0;
    padding: 0;
}

.filter-checkbox-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 100%;
    text-align: left;
}

.filter-checkbox-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.filter-checkbox-btn--active .filter-checkbox-circle {
    background: #fff;
    border-color: #fff;
}

.filter-checkbox-label {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 18.9px;
    color: #fff;
    line-height: 1.3;
}

.filter-checkbox-count {
    font-size: 0.85em;
    opacity: 0.7;
}

.input-group input {
    border: #A2A2A2 1px solid !important;
    border-right: none !important;
}

.input-group-text {
    border: #A2A2A2 1px solid !important;
    border-radius: 0px !important;
}

/* Brand filter */
.brand-filter-btn {
    background: #fff;
    border-bottom: 1px solid #f0f0f0 !important;
    cursor: pointer;
    transition: background 0.15s ease;
}

.brand-filter-btn:hover {
    background: #f8f8f8;
}

.brand-filter-btn.selected {
    background: #fff5f2;
    border-left: 3px solid var(--primary) !important;
}

.brand-filter-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ---- Grid ---- */
.list5-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px 16px;
}

/* ---- Item — 2 oszlop mobilon+tableten / 4 oszlop desktopon ---- */
.list5-item {
    flex: 0 0 calc((100% - 16px) / 2);
    width: calc((100% - 16px) / 2);
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .list5-item {
        flex: 0 0 calc((100% - 48px) / 4);
        width: calc((100% - 48px) / 4);
    }
}

/* ---- Image ---- */
.list5-image-wrap {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.list5-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.list5-image-wrap:hover .list5-img {
    transform: scale(1.03);
}

.list5-badge-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 44px;
    height: 44px;
}

/* ---- Info ---- */
.list5-info {
    display: flex;
    flex-direction: column;
}

.list5-name {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 0.975rem;
    color: #404040;
    line-height: 1.45;
    margin-bottom: 0;
}

/* ---- Price ---- */
.list5-price-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.list5-price {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 30.8px;
    color: #000;
    line-height: 1.3;
}

.list5-price--sale {
    color: var(--quinary);
}

.list5-old-price {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    color: #aaa;
    text-decoration: line-through;
    text-decoration-color: #CACACA;
    text-decoration-thickness: 1px;
}

/* ---- Counter (existing styles kept) ---- */
.fw-discount-icon {
    right: 15px;
    top: 15px;
}

.text-strikethrough-primary {
    text-decoration: line-through;
    text-decoration-color: #CACACA;
    text-decoration-thickness: 1px;
}

.custom-description-bg-color {
    background: #F4F4F4 !important;
}

.custom-description-bg-color a {
    text-decoration: underline !important;
    color: black !important;
}

.custom-description-bg-color h3 {
    font-size: 50px !important;
    font-weight: 600 !important;
    font-family: "Oswald", sans-serif !important;
    text-transform: uppercase !important;
}

/* ---- Shop Paginator ---- */
.shop-pager {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 4px;
}

.shop-pager__item {
    margin: 0;
    padding: 0;
}

.shop-pager__item a,
.shop-pager__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    min-width: 37px;
    height: 44px;
    background-color: #f4f4f4;
    color: #959595;
    font-family: "Poppins", sans-serif;
    font-size: 18.9px;
    font-weight: 400;
    text-decoration: none;
    border: none;
    line-height: 1;
}

.shop-pager__item a:hover {
    background-color: #e8e8e8;
    color: #666;
    text-decoration: none;
}

.shop-pager__item--active span {
    background-color: #000;
    color: #fff;
}

.shop-pager__item--dots span {
    cursor: default;
}

.fw-webshopsubitem-akcio-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #FF0000;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 18.9px;
    padding: 8px 24px;
    text-transform: uppercase;
    z-index: 2;
    pointer-events: none;
}
