/* ================================================================
   List4 — Figma design 2026-1 / node 156:435
   ================================================================ */

.list4-heading {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 0;
}

/* ---- Item ---- */
.list4-item {
    display: flex;
    flex-direction: column;
}

/* ---- Image ---- */
.list4-image-wrap {
    width: 100%;
    max-width: 410px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
}

.list4-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
}

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

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

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

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

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

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

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

.list4-old-price {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: #aaa;
    text-decoration: line-through;
    text-decoration-color: #CACACA;
    text-decoration-thickness: 2px;
}

/* ---- 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;
}

.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;
}


/* ---- Termék badge ikonok ---- */
.fw-product-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: row;
    z-index: 2;
    pointer-events: none;
}

.fw-product-badge {
    width: 50px;
    height: 50px;
    display: block;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .fw-product-badges {
        top: 8px;
        right: 8px;
    }

    .fw-product-badge {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 575.98px) {
    .fw-product-badge {
        width: 28px;
        height: 28px;
    }
}

.fw-laminalt-label {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(255,255,255,0.88);
    padding: 3px 8px;
    pointer-events: none;
    z-index: 2;
}
