.ayestore-kargo-wrap {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 16px 18px;
    margin: 18px 0 18px 0;
    font-size: 13px;
    color: #1e293b;
}

.ayestore-kargo-wrap.is-reached {
    background: #f0fdf4;
    border-color: #86efac;
}

.ayestore-kargo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.ayestore-kargo-msg {
    font-size: 14px;
    line-height: 1.45;
    color: #0f172a;
}

.ayestore-kargo-pct {
    background: #ea580c;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.ayestore-kargo-wrap.is-reached .ayestore-kargo-pct {
    background: #16a34a;
}

.ayestore-kargo-track {
    width: 100%;
    height: 9px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.ayestore-kargo-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #ea580c);
    border-radius: 999px;
    transition: width 0.35s ease;
}

.ayestore-kargo-wrap.is-reached .ayestore-kargo-fill {
    background: linear-gradient(90deg, #16a34a, #22c55e);
}

.ayestore-upsell-section {
    margin-top: 14px;
}

.ayestore-upsell-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 14px;
}

.ayestore-upsell-divider::before,
.ayestore-upsell-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px dashed #d1d5db;
}

.ayestore-upsell-divider span {
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #334155;
    text-transform: uppercase;
}

.ayestore-kargo-page .ayestore-upsell-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 991px) {
    .ayestore-kargo-page .ayestore-upsell-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.ayestore-kargo-mini .ayestore-upsell-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 240px;
    overflow-y: auto;
}

.ayestore-upsell-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 10px 12px;
}

.ayestore-kargo-mini .ayestore-upsell-card {
    flex-direction: row;
    text-align: left;
    padding: 8px;
    gap: 10px;
}

.ayestore-upsell-card.is-hidden-batch {
    display: none !important;
}

.ayestore-free-pill {
    position: relative;
    z-index: 2;
    display: inline-block;
    background: #15803d;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 5px;
    margin-bottom: 6px;
}

.ayestore-upsell-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 82px;
    margin-bottom: 8px;
}

.ayestore-kargo-mini .ayestore-upsell-thumb {
    width: 46px;
    height: 46px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.ayestore-upsell-thumb img {
    max-height: 82px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.ayestore-kargo-mini .ayestore-upsell-thumb img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 4px;
}

.ayestore-upsell-name {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #1e293b;
    text-decoration: none;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ayestore-upsell-price {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.ayestore-kargo-mini .ayestore-upsell-price {
    margin-bottom: 0;
}

.ayestore-upsell-btn {
    background: #111827;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.ayestore-upsell-btn:hover {
    background: #ea580c;
}

.ayestore-upsell-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.ayestore-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.ayestore-load-more-btn {
    background: #1f2937;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ayestore-load-more-btn:hover {
    background: #111827;
}
