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

.list4-heading {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    font-size: clamp(1.75rem, 4.5vw, 4rem);
    color: #000;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 0;
}

/* ---- Grid ---- */
.list4-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

/* ---- Item ---- */
.list4-item {
    flex: 1 0 0;
    min-width: calc(25% - 18px);
    max-width: 600px;
    display: flex;
    flex-direction: column;
}

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

.list4-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    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;
    font-size: 0.975rem;
    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;
    font-size: 30.8px;
    color: #000;
    line-height: 1.3;
}

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

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

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

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .list4-item {
        min-width: calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

@media (max-width: 575px) {
    .list4-grid {
        gap: 16px;
    }

    .list4-item {
        min-width: calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .list4-heading {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
    }
}