.wholesale-table {
    width: 100%;
    max-width: 520px;
    margin-top: 12px !important;
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 14px;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 251, 235, 0.72));
    box-shadow: 0 8px 24px rgba(120, 53, 15, 0.07);
}

.wholesale-table > * > * > * {
    background: transparent !important;
}

.wholesale-table thead th {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
    color: #9a3412 !important;
    font-size: 13px;
    font-weight: 700;
}

.wholesale-table tbody td {
    padding: 10px 12px;
    border-bottom-color: rgba(245, 158, 11, 0.12);
    color: #374151 !important;
    font-size: 14px;
    vertical-align: middle;
}

.wholesale-table tbody td:first-child {
    width: 92px;
    color: #7c2d12 !important;
    font-weight: 700;
}

.wholesale-table tbody tr:last-child td {
    border-bottom: 0;
}

.wholesale-price-stack {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 10px;
    min-width: 220px;
}

.wholesale-standard-price {
    color: #4b5563;
    font-weight: 650;
    white-space: nowrap;
}

.core-price-preview {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: 999px;
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    color: #92400e;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.core-price-preview strong {
    color: #ea580c;
    font-size: 14px;
}

.core-price-preview span {
    color: #b45309;
    font-size: 11px;
    font-weight: 700;
}

.core-price-preview:hover {
    border-color: rgba(234, 88, 12, 0.42);
    color: #7c2d12;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(234, 88, 12, 0.13);
}

.is-core-active .wholesale-core-line {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.wholesale-core-price {
    color: #ea580c;
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
}

.core-discount-chip {
    padding: 3px 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fb923c, #f59e0b);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 3px 9px rgba(234, 88, 12, 0.2);
}

.wholesale-original-price {
    color: #9ca3af;
    font-size: 11px;
    text-decoration: line-through;
    white-space: nowrap;
}

.wholesale-table tfoot td {
    padding: 0;
    border-top: 1px solid rgba(245, 158, 11, 0.16);
}

.core-wholesale-cta,
.core-wholesale-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px 12px;
    color: #9a3412;
    font-size: 12px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(90deg, rgba(255, 247, 237, 0.92), rgba(254, 243, 199, 0.92));
}

.core-wholesale-cta span {
    font-size: 15px;
    transition: transform 0.18s ease;
}

.core-wholesale-cta:hover {
    color: #7c2d12;
}

.core-wholesale-cta:hover span {
    transform: translateX(3px);
}

.core-wholesale-status {
    color: #047857;
    background: linear-gradient(90deg, rgba(236, 253, 245, 0.94), rgba(254, 249, 195, 0.82));
}

@media (max-width: 575.98px) {
    .wholesale-table {
        max-width: none;
    }

    .wholesale-table thead th,
    .wholesale-table tbody td {
        padding: 9px 8px;
    }

    .wholesale-table tbody td:first-child {
        width: 72px;
    }

    .wholesale-price-stack {
        min-width: 0;
        align-items: flex-end;
        flex-direction: column;
        gap: 5px;
    }

    .core-price-preview {
        padding: 5px 7px;
        font-size: 11px;
    }
}
